* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #ffffff;
    
}

body {
    /* Background color as fallback */
    background-color: #2c3e50;
    
    /* BACKGROUND IMAGE (4:3) INSERT HERE */
    /* Replace the URL with the path to your own image, e.g. url('my-image.jpg') */
    background-image: url('media/IMG_8867.jpg'); 
    
    /* 'cover' stretches the image across the screen without distorting it */
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Darkening layer for better text readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* --- MAIN CONTENT --- */
.content {
    flex: 1; /* Takes up all available space above the footer */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2; /* Sits on top of the overlay */
    padding: 20px;
}

.content h1 {
    /* Responsive font size (grows & shrinks with the screen) */
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.content p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 600px;
    line-height: 1.5;
    color: #e0e0e0;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

/* --- FOOTER / IMPRESSUM --- */
.footer {
    z-index: 2;
    background: rgba(15, 15, 15, 0.9); /* Dark, slightly transparent background */
    padding: 30px 20px;
    font-size: 0.85rem;
    color: #cccccc;
}

.impressum {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

.impressum h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.impressum-col {
    flex: 1;
    min-width: 250px;
    line-height: 1.6;
}

.impressum-col a {
    color: #4da6ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-col a:hover {
    color: #80c1ff;
    text-decoration: underline;
}

.footer-details {
    width: 100%;
}

.footer-summary {
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    padding: 10px 0;
    color: #ffffff;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-summary::-webkit-details-marker {
    display: none;
}

.footer-summary::after {
    content: "▼";
    font-size: 0.7rem;
    transform: rotate(180deg);
    transition: transform 0.2s;
}

.footer-details[open] .footer-summary::after {
    transform: rotate(0deg);
}

.photo-credit {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .impressum {
        flex-direction: column;
        text-align: center;
    }
    .impressum-col {
        margin-bottom: 10px;
    }
    .footer {
        padding: 0 15px;
        font-size: 0.75rem;
    }
    .footer-details summary {
        padding: 15px 0;
    }
    .footer-details[open] .impressum {
        padding-top: 15px;
    }
}
