/* Globale Stile & Farben */
:root {
    --primary-color: #CCB9AC; /* Dein Haupt-Akzent: Warmes Beige */
    --secondary-color: #5A4E42; /* Dunkleres Braun für Kontraste */
    --background-color: #F5F0E9; /* Sanftes Creme als Hintergrund */
    --light-brown-accent: #D4C5B1; /* Hellerer brauner Akzent */
    --white-color: #fff;
    --text-color-dark: #333;
    --text-color-light: rgba(255, 255, 255, 0.9); /* Leichteres Weiß für Text auf dunklem Grund */

    /* Schriftarten */
    --font-heading: 'Playfair Display', serif; /* Für Haupt-Überschriften */
    --font-cursive: 'Dancing Script', cursive; /* Für den Willkommens-Titel */
    --font-body: 'Roboto', sans-serif; /* Für den Fließtext */
}

body {
    font-family: var(--font-body);
    line-height: 1.7; /* Leicht erhöhter Zeilenabstand für Lesbarkeit */
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color-dark);
    scroll-behavior: smooth; /* Sanftes Scrollen */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0; /* Mehr Padding für mehr Luft */
}

h1, h2, h3 {
    font-family: var(--font-heading); /* Playfair Display als Standard für Überschriften */
    color: var(--secondary-color);
    margin-bottom: 25px; /* Mehr Abstand */
}

/* Spezifische Styling für den H1 im Opener */
.opener-content .text-container h1 {
    font-family: var(--font-cursive); /* Dancing Script für den Willkommens-Titel */
    font-size: 4em; /* Deutlich größer */
    text-align: left; /* Linksbündig im Text-Container */
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* H2 für die Hauptüberschrift des Booking-Abschnitts */
#booking h2 {
    font-size: 2.5em; /* Größer */
    margin-bottom: 40px; /* Mehr Abstand */
    color: var(--secondary-color); /* Zurück zu Sekundärfarbe für Lesbarkeit auf hellem Grund */
    text-align: center; /* Überschrift zentriert */
}

p {
    margin-bottom: 20px; /* Mehr Abstand zwischen Absätzen */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline; /* Unterstrich beim Hover */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
header {
    background-color: var(--white-color);
    padding: 25px 0; /* Mehr Abstand */
    box-shadow: 0 6px 15px rgba(0,0,0,0.1); /* Stärkerer Schatten für mehr Absetzung */
    text-align: center;
    position: sticky; /* Header bleibt beim Scrollen oben */
    top: 0;
    z-index: 1000; /* Stellt sicher, dass der Header über allem liegt */
}

.logo {
    height: 70px; /* Etwas größere Logogröße */
}

/* 1. Opener Section */
#opener {
    background-color: var(--white-color);
    padding: 80px 0; /* Mehr Padding */
    text-align: center;
    position: relative; /* Für den optionalen Hintergrundpfeil */
}

.opener-content::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    /* background: url('arrow-icon.svg') no-repeat center center; */ /* Pfeil-SVG Pfad */
    background-size: contain;
    z-index: 1;
    opacity: 0.4;
}

.opener-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px; /* Mehr Abstand */
    position: relative;
    z-index: 10;
}

.portrait-container {
    flex: 0 0 280px; /* Feste Größe, etwas größer */
    width: 280px;
    height: 280px;
    border-radius: 50%; /* Rundes Portrait */
    overflow: hidden;
    border: 7px solid var(--primary-color); /* Dickerer Rand */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Stärkerer Schatten */
    transition: transform 0.3s ease-in-out;
}

.portrait-container:hover {
    transform: scale(1.03); /* Leichte Vergrößerung beim Hover */
}

.portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-container {
    flex: 1;
    max-width: 550px;
}

.text-container p {
    text-align: left;
    font-size: 1.15em; /* Größerer Text */
    color: var(--text-color-dark);
    line-height: 1.8; /* Besserer Zeilenabstand */
}

/* 2. Booking Section */
#booking {
    background-color: var(--primary-color); /* Dein warmes Beige als Hintergrund */
    padding: 100px 0; /* Mehr Padding */
    text-align: center;
    position: relative;
}

#booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px); /* Leichtes Punktmuster */
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

.booking-layout {
    display: flex;
    flex-direction: column; /* Untereinander auf kleinen Bildschirmen */
    align-items: center;
    gap: 50px; /* Mehr Abstand */
    max-width: 900px; /* Etwas breiter */
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 10;
}

.booking-image-container {
    width: 100%;
    max-width: 450px; /* Gleiche Breite wie Calendly-Wrapper */
    border-radius: 12px; /* Abgerundet wie Calendly-Widget */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2); /* Passender Schatten */
    transition: transform 0.3s ease-in-out;
}

.booking-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.booking-image {
    width: 100%;
    height: auto; /* Höhe automatisch anpassen */
    display: block; /* Verhindert zusätzlichen Platz unter dem Bild */
    object-fit: cover; /* Stellt sicher, dass das Bild gut skaliert */
    border-radius: 12px; /* Abgerundet */
}

.calendly-wrapper {
    width: 100%;
    max-width: 450px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.calendly-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.calendly-inline-widget {
    border-radius: 12px; /* Stärker abgerundet */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2); /* Stärkerer Schatten */
}

.booking-text-content {
    flex: 1;
    max-width: 450px; /* Passende Breite zum Widget */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left; /* Text linksbündig */
}

.booking-text-content p { /* Der eigentliche Text */
    color: var(--white-color);
    font-size: 1.1em; /* Etwas größer */
    text-align: left;
    line-height: 1.8; /* Noch besserer Zeilenabstand */
}

/* 3. Contact Section - Mit Hintergrundbild und überarbeitetem Layout */
#contact {
    padding: 100px 0; /* Padding für die gesamte Section */
    text-align: center;
    /* HINTERGRUNDBILD FÜR DIE GESAMTE SECTION */
    background-image: url('7115-2.jpg'); /* Das Bild als Hintergrund */
    background-size: cover; /* Bild deckt den gesamten Bereich ab */
    background-position: center center; /* Bild zentrieren */
    background-repeat: no-repeat;
    position: relative; /* Wichtig für die z-index-Positionierung der Kindelemente */
    background-color: var(--background-color); /* Fallback-Farbe, falls das Bild nicht lädt */
}

/* Der eigentliche Formular-Container mit Padding, Schatten, etc. */
.contact-form-container {
    padding: 50px; /* Padding für den Bereich, wo der Inhalt liegt */
    border-radius: 15px; /* Leichte Rundung für den Container */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Schatten für den Container */
    position: relative; /* Wird für das Overlay und z-index benötigt */
    z-index: 1; /* Stellt sicher, dass der Container über dem Abschnittshintergrund liegt */
    max-width: 700px; /* Begrenzt die Breite des Containers */
    margin: 0 auto; /* Zentriert den Container */
    display: flex; /* Verwendet Flexbox für die innere Struktur */
    flex-direction: column; /* Elemente untereinander */
    align-items: center; /* Zentriert die Elemente innerhalb des Containers */
}

/* DAS LEICHTE TRANSPARENTE GRAUE OVERLAY FÜR DEN FORMULARBEREICH */
.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Leicht transparentes Grau (RGBA: 200, 200, 200 für Grau, 0.15 für 15% Opazität) */
    background-color: rgba(200, 200, 200, 0.15); /* Sehr dezentes Grau */
    border-radius: 15px; /* Gleiche Rundung wie der Container */
    z-index: 2; /* Das Overlay liegt über dem Container-Hintergrund, aber unter dem eigentlichen Inhalt */
}

/* Die eigentlichen Inhalte (H2, P, FORM) werden über dem Overlay platziert */
.contact-form-container h2,
.contact-form-container p,
#contact form,
.contact-form-container .form-message {
    position: relative; /* Notwendig, damit z-index wirkt */
    z-index: 3;       /* Platziert diese Elemente über dem Overlay (z-index: 2) */
}

/* ANPASSUNG: Neue Farbe für die Überschrift (h2) und den Absatz (p) auf WEISS */
.contact-form-container h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--white-color); /* TEXTFARBE AUF WEISS GEÄNDERT */
    text-align: center;
    /* SCHATTEN IST BEREITS SCHWARZ (rgba(0,0,0,...)), aber mit leichter Transparenz */
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Dezenter schwarzer Schatten für die Überschrift */
}

.contact-form-container p {
    font-size: 1.1em;
    color: var(--white-color); /* TEXTFARBE AUF WEISS GEÄNDERT */
    margin-bottom: 40px;
    text-align: center;
    /* SCHATTEN IST BEREITS SCHWARZ (rgba(0,0,0,...)), aber mit leichter Transparenz */
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15); /* Etwas dezenterer schwarzer Schatten für den Absatz */
}

/* Formularfelder und Button bleiben wie im vorherigen angepassten Code */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #D4C5B1; /* Hellerer Braunrand */
    border-radius: 8px;
    box-sizing: border-box;
    font-family: var(--font-body); /* Roboto für Formularfelder */
    font-size: 1.1em; /* Größere Schrift in den Feldern */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark); /* Dunklere Schriftfarbe für die Eingabefelder */
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(204, 185, 172, 0.3); /* Sanfter Focus-Schatten */
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px; /* Mindesthöhe für Textarea */
}

#contact button {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 16px 35px; /* Größerer Button */
    border: none;
    border-radius: 8px; /* Stärkere Rundung */
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 700; /* Fetter */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    width: auto;
    margin-top: 25px; /* Mehr Abstand */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Leichter Schatten für den Button */
}

#contact button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px); /* Stärkere Bewegung beim Hover */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* Stärkerer Schatten */
}

.form-message {
    display: none; /* Standardmäßig ausgeblendet */
    margin-top: 25px; /* Mehr Abstand */
    font-weight: bold;
    padding: 15px; /* Mehr Padding */
    border-radius: 8px; /* Stärkere Rundung */
    text-align: center;
    width: 100%;
    max-width: 450px; /* Angepasst für Zentrierung des Formulars */
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05em;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1); /* Leichter Schatten */
}

.form-message.success,
.form-message.error {
    display: block; /* Hier wird es sichtbar gemacht */
}

.form-message.success {
    background-color: #e0f2e9;
    color: #0f5a23;
    border: 1px solid #a5d8b1;
}

.form-message.error {
    background-color: #fce7e8;
    color: #8f1d27;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background-color: var(--secondary-color); /* Dunkleres Braun für den Footer */
    color: var(--white-color);
    text-align: center;
    padding: 50px 0; /* Mehr Padding */
    font-size: 1em; /* Größerer Text */
}

.footer-links a {
    color: var(--white-color);
    margin: 0 15px; /* Mehr Abstand zwischen Links */
    font-weight: 500; /* Etwas fetter */
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact {
    margin-top: 20px; /* Mehr Abstand */
}

.footer-contact p {
    margin: 0;
    line-height: 2.0; /* Noch mehr Zeilenabstand */
    font-size: 0.95em; /* Etwas kleiner als Haupttext, aber gut lesbar */
}

.footer-contact a {
    color: var(--white-color);
}

.footer-contact a:hover {
    color: var(--primary-color);
}


/* Responsivität */
@media (min-width: 768px) {
    .opener-content {
        flex-direction: row;
        justify-content: space-between; /* Mehr gleichmäßige Verteilung */
        gap: 60px; /* Mehr Abstand */
    }

    .portrait-container {
        margin-right: 0; /* Kein zusätzlicher rechter Rand mehr nötig */
    }

    .text-container {
        text-align: left;
    }

    /* Booking Layout bleibt wie in der vorherigen Version */
    .booking-layout {
        flex-direction: row;
        justify-content: center;
        gap: 70px;
        align-items: flex-start;
    }

    .calendly-wrapper,
    .booking-text-content {
        max-width: 450px;
    }

    /* Kontakt Layout auf größeren Screens */
    .contact-form-container {
        flex-direction: column; /* Inhalt wieder untereinander */
        align-items: center;
        max-width: 700px; /* Begrenzt die Breite */
        padding: 50px 20px; /* Padding für den Inhaltsbereich */
    }

    .contact-form-container h2,
    .contact-form-container p {
        text-align: center; /* Titel und Text zentrieren */
    }

    #contact form {
        margin: 0 auto; /* Formular innerhalb des Containers zentriert */
        max-width: 450px; /* Begrenzt die Formularbreite */
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 2em;
    }
    .opener-content {
        flex-direction: column;
        align-items: center;
    }
    .portrait-container {
        margin-bottom: 30px;
    }
    .text-container {
        text-align: center;
    }
    .text-container h1,
    .text-container p {
        text-align: center;
    }
    header {
        padding: 20px 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    }
    .logo {
        height: 50px;
    }
    #opener {
        padding: 60px 0;
    }
    .opener-content::before {
        display: none;
    }
    #booking {
        padding: 60px 0;
    }
    .booking-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .booking-image-container,
    .calendly-wrapper,
    .booking-text-content {
        max-width: 90%;
    }
    .booking-text-content {
        text-align: center;
    }

    /* Kontakt-Layout auf kleinen Screens */
    .contact-form-container {
        flex-direction: column; /* Elemente untereinander */
        align-items: center;
        max-width: 90%; /* Volle Breite auf kleinen Screens */
        padding: 30px 20px; /* Angepasstes Padding */
    }

    .contact-form-container h2,
    .contact-form-container p {
        text-align: center; /* Überschriften und Text zentrieren */
    }

    #contact form {
        padding: 30px 20px; /* Angepasstes Padding für das Formular */
        align-items: center;
    }
    .form-group {
        max-width: 100%;
    }
    .form-message {
        max-width: 100%;
    }
    footer {
        padding: 40px 0;
    }
}