/* Global */
body {
    background-color: rosybrown;
    color: rgb(92, 64, 51);
    font-family: "Roboto", sans-serif;
    margin: 0;
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px; /* Platz für Navbar */
    box-sizing: border-box;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(188, 143, 143, 0.95);
    z-index: 1000;
    font-size: 22px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-weight: 800;
    color: white;
    text-decoration: none;
}

.menu {
    display: flex;
    gap: 16px;
}

.menu-link {
    color: white;
    text-decoration: none;
    margin-left: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.menu-link:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

/* Hamburger Menu */
.nav-toggle {
    position: absolute; /* vom Layout entfernt */
    opacity: 0;         /* unsichtbar */
    width: 0;
    height: 0;
    pointer-events: none; /* klickbar bleibt über das Label */
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle-label span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.home-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.75);
    z-index: -1;
}

.hero h1 {
    position: relative;
    margin-left: 10%;
    max-width: 600px;
    font-size: 60px;
    color: white;
    text-shadow: 4px 4px rgba(0, 0, 0, 0.5);
    animation: slide-in 1.8s ease forwards;
    opacity: 0;
    line-height: 1.2;
}

.rosybrown {
    color: rosybrown;
}

@keyframes slide-in {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Sections */
h2 {
    text-align: center;
    font-size: 45px;
    margin-bottom: 20px;
}

p, .content-image, .content-image-sarah {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

p {
    margin-bottom: 20px;
    font-size: 20px;
    text-align: justify;
    padding: 0 20px;
}

.content-image {
    display: block;
    height: auto;
    width: 100%;
    border-radius: 16px;
}

.content-image-sarah {
    display: block;
    height: auto;
    width: 50%;
    border-radius: 16px;
}

.google-maps {
    width: 100%;
    max-width: 700px;
    height: 400px;
    border: 0;
    border-radius: 16px;
}

/* Über mich */
#uebermich {
    background: #fff;
    color: rgb(92, 64, 51);
    border-radius: 20px;
    max-width: 900px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-align: center;
    animation: fade-in 1.2s ease-in;
    padding: 40px 20px;
    margin: 40px auto;
}

#uebermich h2 { font-size: 48px; color: rosybrown; margin-bottom: 20px; }
#uebermich h3 { font-size: 28px; font-weight: 400; margin-bottom: 30px; color: rgb(120, 90, 70); }
#uebermich p { font-size: 18px; line-height: 1.6; text-align: justify; }

@keyframes fade-in {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    padding: 20px;
    background-color: rgba(188,143,143,0.95);
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer a {
    color: rgb(92, 64, 51);
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

footer a:hover {
    transform: scale(1.1);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu { display: none; flex-direction: column; width: 100%; background: rgba(188,143,143,0.95); padding: 20px 0; }
    .nav-toggle { display: block; }
    .nav-toggle-label { display: flex; }
    .nav-toggle:checked + .nav-toggle-label + .menu { display: flex; }
    .menu-link { font-size: 18px; padding: 10px; }
    .hero h1 { font-size: 35px; margin-left: 5%; max-width: 90%; }
    .content-image-sarah { width: 80%; margin-bottom: 20px; }

    p { font-size: 16px; padding: 0 15px; }
    #uebermich { padding: 30px 15px; max-width: 95%; margin: 20px auto; }
     #anfahrt p {
        font-size: 16px;        /* kleinere Schrift */
        padding: 0 15px;        /* Abstand links/rechts */
    }

    /* Google Maps kleiner und zentriert */
    .google-maps {
        width: 90%;             /* etwas kleiner als Bildschirmbreite */
        max-width: 500px;       /* maximale Breite */
        height: 300px;          /* kleinere Höhe */
        margin: 0 auto 20px;    /* zentrieren und Abstand nach unten */
    }
    section {
        min-height: auto;      /* statt 100vh → Höhe passt sich Inhalt an */
        padding-top: 40px;     /* weniger Abstand oben */
        padding-bottom: 40px;  /* optional: auch unten etwas Platz */
    }

    .hero {
        padding-top: 35vh;      /* Abstand nach unten */
        justify-content: flex-start; /* linksbündig horizontal */
        align-items: flex-start;     /* linksbündig vertikal */
    }

    .hero h1 {
        font-size: 35px;
        margin-left: 5%;         /* Abstand vom linken Rand */
        max-width: 90%;
        text-align: left;        /* zwingt linksbündig auf Mobile */
    }

    #öffnungszeiten .content-image {
        width: 90%;           /* Bild etwas kleiner als Bildschirm */
        max-width: 500px;     /* optional maximale Breite */
        margin: 0 auto 20px;  /* oben 0, unten 20px, zentriert */
        border-radius: 16px;  /* wie gehabt */
    }
}
