/* --- Global Styles & Variables --- */
:root {
    --primary-color: #2c3e50; /* Dark Blue/Grey */
    --secondary-color: #bdc3c7; /* Light Grey */
    --accent-color: #c0a062; /* Gold/Beige Accent */
    --text-color: #333;
    --light-text-color: #f8f8f8;
    --bg-color: #ffffff;
    --alt-bg-color: #f9f9f9;

    --heading-font: 'Playfair Display', serif;
    --body-font: 'Lato', sans-serif;

    --container-width: 1100px;
}

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

html {
    scroll-behavior: smooth; /* Smooth scroll for anchor links */
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px; /* Base font size */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 2.5rem; }
h3 { font-size: 1.5rem; color: var(--accent-color); }

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.content-section {
    padding: 60px 0;
}

.content-section.alt-bg {
    background-color: var(--alt-bg-color);
}

.button, .cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text-color);
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-family: var(--body-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.button:hover, .cta-button:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}


/* --- Header --- */
.site-header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 15px 0;
    position: sticky; /* Make header stick */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--light-text-color);
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
}
.logo a:hover {
    color: var(--accent-color);
}
.title-suffix {
    display: block;
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: -5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--light-text-color);
    border-bottom-color: var(--accent-color);
}

.language-switcher {
    white-space: nowrap;
}

.language-switcher a {
    font-size: 0.8rem;
    color: var(--secondary-color);
    border-bottom: none;
    margin: 0 3px;
}
.language-switcher a:hover {
    color: var(--light-text-color);
}


/* Mobile Menu Toggle */
.menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: var(--light-text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- @ Section --- */
.hero-section {
    height: 85vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
    /* Add your background image here */
    background: url('images/hero-image.jpg') no-repeat center center/cover;
    position: relative; /* Needed for overlay */
}

/* Optional Overlay for better text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust darkness */
    z-index: 1;
}

.hero-content {
    position: relative; /* Place above overlay */
    z-index: 2;
}

.hero-section h1 {
    font-size: 4.5rem; /* Larger on hero */
    color: var(--light-text-color);
    margin-bottom: 0.5rem;
}

.hero-section .subtitle {
    font-size: 1.8rem;
    font-family: var(--heading-font);
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.cta-button {
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* --- Biography Section --- */
.bio-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 30px;
    align-items: flex-start; /* Align items top */
}

.bio-image {
    flex: 0 0 250px; /* Fixed width for image */
    max-width: 250px;
    height: auto;
    border-radius: 4px; /* Slightly rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-right: 30px; /* Space between image and text */
}

.bio-content p {
    flex: 1; /* Text takes remaining space */
    margin-bottom: 1rem;
    min-width: 280px; /* Ensure text doesn't get too squeezed */
}

.bio-content .button {
    margin-top: 1rem;
    flex-basis: 100%; /* Button takes full width in the flex context */
}


/* --- Schedule Section --- */
.schedule-list li {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: center;
    gap: 10px 20px; /* Vertical and horizontal gap */
}

.schedule-list .date {
    font-weight: 700;
    color: var(--primary-color);
    flex-basis: 120px; /* Fixed width for date */
}

.schedule-list .role {
    font-style: italic;
    flex-grow: 1; /* Takes available space */
}

.schedule-list .event_name {
    flex-grow: 2; /* Takes more space */
}

.schedule-list .location {
    color: #555;
    flex-grow: 1;
    margin-right: auto;
}

.schedule-list .ticket-link {
    background-color: var(--accent-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    margin-left: auto; /* Push to the right */
}

.schedule-list .ticket-link:hover {
    background-color: var(--primary-color);
}


/* --- Repertoire Section --- */
.repertoire-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap; /* Wrap columns on smaller screens */
}
.repertoire-columns > div {
    flex: 1; /* Each column takes equal space */
    min-width: 280px; /* Minimum width before wrapping */
}

.repertoire-columns h3 {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 5px;
}

.repertoire-columns p {
    padding-left: 0; /* Reset padding */
}

.repertoire-columns p {
    margin-bottom: 0.5rem;
}
.repertoire-columns p strong {
    color: var(--primary-color);
}

/* --- Media Section --- */

#media {
    display: none !important;
}

.media-gallery {
    display: grid;
    /* Adjust columns for different screen sizes if needed */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.media-item {
    background-color: #fff; /* If on alt-bg */
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.media-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.media-item iframe,
.media-item audio,
.media-item img {
    max-width: 100%;
    display: block;
    margin-top: 10px;
}
.media-item audio {
    width: 100%; /* Make audio player take full width */
}

/* --- Contact Section --- */

.management {
    visibility: hidden;
}
.contact-info {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.contact-info > div {
    flex: 1;
    min-width: 280px;
}
.contact-info h3 {
    margin-bottom: 0.5rem;
}
.contact-info a {
    word-break: break-all; /* Prevent long emails overflowing */
}

.social-links {
    text-align: center;
    margin-top: 30px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 30px 0;
    margin-top: 40px; /* Space above footer */
    font-size: 0.9rem;
}

.site-footer p {
    margin-bottom: 10px;
}

.site-footer a {
    color: var(--secondary-color);
    margin: 0 10px;
}

.site-footer a:hover {
    color: var(--light-text-color);
}


/* --- Responsiveness --- */

/* Tablets and smaller desktops */
@media (max-width: 992px) {
    :root {
        --container-width: 90%;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .hero-section h1 { font-size: 3.5rem; }
    .hero-section .subtitle { font-size: 1.5rem; }

    .bio-image {
        flex: 0 0 200px; /* Slightly smaller image */
        max-width: 200px;
    }

    .schedule-list li {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start;
    }
     .schedule-list .ticket-link {
        margin-left: 0; /* Reset margin */
        margin-top: 10px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger icon */
        z-index: 1001; /* Ensure it's clickable */
        position: relative; /* Adjust if needed */
    }

    .main-nav ul {
        display: none; /* Hide nav links by default */
        flex-direction: column;
        position: absolute;
        top: 65px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .main-nav ul.active { /* Class added by JS */
        display: flex;
    }

    .main-nav li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }
    .main-nav a {
        padding: 10px 0;
        border-bottom: none; /* Remove bottom border for mobile */
    }
     .main-nav a:hover, .main-nav a.active {
        color: var(--accent-color); /* Highlight active/hover */
    }
     .language-switcher {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--secondary-color);
     }


    .hero-section {
        height: 70vh;
        background: url('./images/hero-image-mobile.jpg');
    }
    .hero-section h1 { font-size: 2.8rem; }
    .hero-section .subtitle { font-size: 1.2rem; }

    .bio-content {
        flex-direction: column; /* Stack image and text */
        align-items: center; /* Center image */
        text-align: center;
    }
    .bio-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .repertoire-columns, .contact-info {
        flex-direction: column; /* Stack columns */
        gap: 30px;
    }

    .media-gallery {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
     .media-item iframe {
        height: auto; /* Let aspect ratio determine height */
     }
    
    .name-title {
        visibility:hidden;
    }

    .subtitle {
        visibility: hidden;
    }
}

/* --- Cookie Banner Styles --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Dunkler Hintergrund */
    color: #fff; /* Heller Text */
    padding: 15px 20px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 1000; /* Stellt sicher, dass es über anderen Elementen liegt */
    display: none; /* Wird per JS angezeigt */
    align-items: center;
    justify-content: space-between; /* Elemente verteilen */
    flex-wrap: wrap; /* Umbruch bei kleinen Bildschirmen */
    gap: 10px; /* Abstand zwischen Text und Buttons */
}

.cookie-banner p {
    margin: 0;
    flex-grow: 1; /* Text nimmt verfügbaren Platz ein */
    font-size: 0.9em;
}

.cookie-banner a {
    color: #aaa; /* Linkfarbe */
    text-decoration: underline;
    margin-left: 5px;
}

.cookie-banner a:hover {
    color: #fff;
}

.cookie-buttons {
    display: flex;
    gap: 10px; /* Abstand zwischen Buttons */
    flex-shrink: 0; /* Verhindert Schrumpfen der Buttons */
}

/* Optional: Style für den zweiten Button (z.B. "Nur Notwendige") */
.cookie-banner .button-secondary {
    background-color: #666;
    border-color: #555;
}
.cookie-banner .button-secondary:hover {
    background-color: #777;
}

/* Klasse zum Einblenden des Banners */
.cookie-banner.show {
    display: flex;
}

/* Anpassungen für kleinere Bildschirme */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column; /* Untereinander anordnen */
        text-align: center;
    }
    .cookie-buttons {
        margin-top: 10px; /* Abstand nach oben */
    }
}

.youtube-placeholder {
    position: relative;
    width: 100%; /* Oder feste Breite wie 560px */
    max-width: 560px; /* Entspricht iframe Breite */
    aspect-ratio: 16 / 9; /* Für Video-Format */
    background-color: #eee;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 0 auto; /* Zentrieren, wenn feste Breite */
}
.youtube-placeholder-content {
     /* Style für Text und Button im Platzhalter */
}
.youtube-placeholder-content p {
    margin-bottom: 15px;
}
/* Verstecke Platzhalter, wenn iframe geladen wird (optional, wenn per JS entfernt) */
.youtube-placeholder.loaded {
    display: none;
}