/* ==================================== */
/* Globale Stile & Layout-Basis         */
/* ==================================== */

/* Globale Box-Sizing-Reset für konsistentes Layout */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Grundlegende Body-Styles und Schriftarten */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #d6c6b1;
    color: #3f2f21;
    line-height: 1.8;
}

/* Haupt-Container für den Seiteninhalt */
.container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto 50px;
    background: #d6c6b1;
    padding: 50px 60px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 24px rgba(63, 47, 33, 0.12);
}

/* Überschriften */
h1 {
    font-size: 2.5rem;
    color: #4a3c2b;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: 'Georgia', serif;
}

h3 {
    font-size: 1.6rem;
    color: #5e4e3b;
    margin-top: 45px;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Georgia', serif;
}

/* Text und Listen-Stile */
.intro-text, .biografie-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #5a4b37;
}

.intro-text {
    font-size: 1.3rem;
    margin-bottom: 35px;
}

.biografie-text {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 25px;
}

li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #4e3f2f;
    font-weight: 500;
}

strong { color: #3f2f21; }

/* Link-Stile */
a {
    color: #7e5e34;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
    color: #a57c3a;
}

/* ==================================== */
/* Header & Navigation                  */
/* ==================================== */

.header {
    padding: 2rem 5%;
    background-color: #e6dace;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.main-title-container {
    text-align: center;
    padding: 0 1rem;
}

.main-logo {
    height: auto;
    width: 300px;
    margin-bottom: 0.5rem;
    display: block;
}

.subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #6a5e55;
    letter-spacing: 1.2rem;
    margin: 0 auto;
    text-align: center;
}

/* Navigationsmenü */
.main-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
    z-index: 1000;
}

.menu-item {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #5d5349;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

/* Desktop-Unterstreichung */
.menu-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #5d5349;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.menu-item:hover::after,
.menu-item.active::after,
.menu-item:focus::after {
    width: 100%;
    left: 0;
}

/* Hamburger-Menü (Mobile Ansicht) */
.menu-toggle {
    display: none;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000;
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #3f2f21;
    transition: all 0.3s ease-in-out;
}

.menu-toggle:checked ~ .hamburger-menu .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle:checked ~ .hamburger-menu .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked ~ .hamburger-menu .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ==================================== */
/* Bild- und Video-Elemente            */
/* ==================================== */

.main-image-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
}

.video-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.video-item {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #4a3c2b;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Angepasste Regeln für die Alben- und Singles-Seite */
.record-item {
    margin-bottom: 25px;
}

.record-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.record-cover {
    width: 3cm;
    height: 3cm;
    object-fit: cover;
    border-radius: 8px;
}

.record-year {
    font-size: 1.6rem;
    font-weight: 700;
    color: #4a3c2b;
    white-space: nowrap;
}

.record-title {
    margin: 0;
}

.management-image {
    max-width: 300px;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-item img.news-image {
    width: 100%;
    max-width: 50em;
    height: auto;
    max-height: 65em;
    margin-bottom: 1em;
    display: block;
    margin-left: 0; /* Setzt den linken Rand auf 0, um die Zentrierung aufzuheben */
    margin-right: auto;
    border-radius: 8px;
}/* ==================================== */
/* Footer & Formulare                   */
/* ==================================== */

.footer {
    text-align: center;
    margin-top: 70px;
    font-size: 0.95rem;
    color: #5a4b37;
    font-family: 'Poppins', sans-serif;
}

.footer a {
    color: #7e5e34;
    margin: 0 12px;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
    color: #a57c3a;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #d6c6b1;
    padding: 18px 25px;
    box-shadow: 0 -3px 12px rgba(63, 47, 33, 0.15);
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
    color: #4a3c2b;
}

.cookie-banner p { margin: 0; flex: 1; }
.cookie-banner a { color: #7e5e34; font-weight: 600; text-decoration: underline; }

.cookie-banner button {
    background: #7e5e34;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.cookie-banner button:hover { background: #a57c3a; }

/* Booking-Seite */
.booking-page {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto 50px;
    padding: 50px 60px;
    background: #d6c6b1;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 24px rgba(63, 47, 33, 0.12);
}

/* Korrigiertes Formular-Layout mit Grid */
.booking-page .booking-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px; 
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* Weist allen Elementen an, die gesamte Spaltenbreite zu nutzen */
.booking-page .booking-form > * {
    grid-column: 1 / -1; 
}

/* Korrektur: Wir steuern Abstände über das Grid, nicht über individuelle Ränder */
.booking-page .booking-form label {
    font-weight: 600;
    margin-bottom: 0;
    color: #4a3c2b;
}

.booking-page .booking-form input:not([type="checkbox"]),
.booking-page .booking-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.booking-page .booking-form input:focus,
.booking-page .booking-form textarea:focus {
    outline: none;
    border-color: #8B5E3C;
    box-shadow: 0 0 4px rgba(139, 94, 60, 0.6);
}

/*
NEUE KORREKTUR: Checkbox auf natürliche Größe setzen.
*/
.booking-page .booking-form input[type="checkbox"] {
    width: auto;
}

/* Datenschutzerklärung: Bündig links, Text direkt hinter der Checkbox */
.privacy-check {
    display: flex; 
    align-items: flex-start;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.privacy-check input[type="checkbox"] {
    margin: 0; 
    flex-shrink: 0;
    accent-color: #8B5E3C;
}

.privacy-check label {
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
    flex: 1;
}

/* Booking Button */
.booking-button {
    display: block;
    background-color: #8B5E3C;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15); 
    transition: all 0.3s ease;
    margin-top: 10px; 
}

.booking-button:hover {
    background-color: #A16B4A;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2); 
    transform: translateY(-2px);
}

.booking-button:active {
    background-color: #7C5033;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transform: translateY(0);
}

/* ==================================== */
/* Media Queries & Responsive Design    */
/* ==================================== */

@media (max-width: 768px) {
    /* Header-Anpassungen */
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .main-title-container {
        flex-grow: 1;
        text-align: left;
    }

    .main-logo {
        width: 180px;
    }

    .subtitle {
        display: none;
    }

    /* Hamburger-Menü einblenden und positionieren */
    .hamburger-menu {
        display: flex;
        position: relative;
        top: auto;
        transform: none;
        right: auto;
    }

    /* Navigationsmenü für mobile Ansicht */
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #e6dace;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        z-index: 1500;
    }
    
    .menu-item {
        padding: 15px 0;
        width: 100%;
        text-align: center;
    }

    /* Menü einblenden, wenn die Checkbox gecheckt ist */
    .menu-toggle:checked ~ .main-menu {
        display: flex;
    }
    
    /* Mobile-spezifische Markierung des aktiven Menüpunkts */
    .main-menu .menu-item.active {
        background-color: #c4b5a3;
        border-radius: 8px;
        color: #3f2f21;
    }

    .main-menu .menu-item.active::after {
        content: none;
    }

    /* Allgemeine mobile Anpassungen */
    .container, .booking-page {
        width: 95%;
        padding: 30px 20px;
    }

    .booking-page .booking-form {
        max-width: 100%;
    }

    .booking-page .booking-form .booking-button {
        width: 100%;
        text-align: center;
    }

    /* Anpassung für Video-Layout auf Mobilgeräten */
    .video-section {
        grid-template-columns: 1fr;
    }
    
    .album-cover {
        width: 100px;
        height: 100px;
    }

    .management-image {
        max-width: 100%;
    }

    /* Anpassung des Zeitachsen-Layouts für Mobilgeräte */
    .record-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .record-title {
        margin: 0;
    }

    .record-cover {
        width: 100px;
        height: 100px;
    }
}