body {
    margin: 0;
    font-family: Tahoma, Geneva, sans-serif;
    background-color: #f5f5f5;
    color: #222020;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #dec1ab;
    padding: 20px 0;
}

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

.logo {
    height: 85px;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px; /* Reduzierter Abstand für Button-Optik */
}

.nav-menu a {
    color: #222020;
    text-decoration: none;
    font-size: 20px; /* Etwas kleiner für bessere Button-Passform */
    background-color: #b35c1a; /* Primäre Button-Farbe */
    padding: 8px 16px; /* Innenabstand für Button-Look */
    border-radius: 5px; /* Abgerundete Ecken */
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block; /* Für gleichmäßige Button-Darstellung */
}

.nav-menu a:hover, .nav-menu a.active {
    background-color: #b97434; /* Hover/Active-Farbe */
    color: #dec1ab; /* Kontrastierende Textfarbe */
}

/* Hamburger-Menü-Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #222020;
    transition: all 0.3s ease;
}

.menu-icon {
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

/* Menü offen: X-Form */
.menu-toggle.active .menu-icon {
    background: transparent;
}

.menu-toggle.active .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .menu-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Keyvisual */
.keyvisual {
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.keyvisual-content {
    background-color: rgba(222, 193, 171, 0.75);
    padding: 20px;
    border-radius: 10px;
}

.keyvisual h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
    color: #ffffff;
    margin: 0;
}

.keyvisual p {
    font-size: 18px;
    color: #fbfaf8;
    margin: 10px 0 0;
}

/* Main Content */
main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 0;
}

.content {
    flex: 2;
    min-width: 300px;
}

.content h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
    margin-bottom: 20px;
}

.content p, .content ul {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.content ul {
    list-style: disc;
    padding-left: 20px;
}

.content .highlight {
    color: #b35c1a;
    font-style: italic;
    font-weight: bold;
}

.sidebar {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.button {
    display: block;
    background-color: #dec1ab;
    color: #222020;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
}

.button:hover {
    background-color: #222020;
    color: #dec1ab;
}

.contact-teaser {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.contact-teaser h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-link {
    color: #b35c1a;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-link i {
    font-size: 24px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.gallery-item figcaption {
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
    flex-direction: column;
}

.lightbox-img {
    max-width: 90%;
    max-height: 70%;
    border-radius: 10px;
}

.lightbox-caption {
    color: #ffffff;
    font-size: 16px;
    margin-top: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #dec1ab;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

.footer-link {
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}

footer p {
    font-size: 12px;
    line-height: 1.5;
}

/* Smart Access Menu */
.smart-access {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000; /* Über anderen Elementen */
}

.smart-access-btn {
    background-color: #222020;
    color: #dec1ab;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    pointer-events: auto; /* Sicherstellen, dass Klicks registriert werden */
    touch-action: manipulation; /* Optimieren für Touch */
}

.smart-access-btn i {
    font-size: 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222020;
    color: #ffffff;
    padding: 15px;
    display: flex; /* Flexbox beibehalten */
    align-items: center; /* Vertikale Ausrichtung */
    flex-wrap: wrap; /* Für kleine Bildschirme */
    gap: 10px; /* Abstand zwischen Text und Button */
    padding-bottom: 70px; /* Platz für Smart-Access */
    z-index: 999; /* Unter Smart-Access */
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
}

.cookie-buttons {
    display: flex; /* Flexbox für Buttons */
    align-items: center; /* Vertikale Ausrichtung */
}

.cookie-buttons button {
    background-color: #b35c1a;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px; /* Abstand vom Text */
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #dec1ab;
        padding: 10px;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 8px;
    }

    .nav-menu a {
        font-size: 16px; /* Kleinere Schrift für Mobile */
        padding: 8px; /* Kompakter */
        text-align: center;
        width: 100%;
    }

    .keyvisual {
        height: 200px; /* Kleinere Höhe */
    }

    main {
        flex-direction: column;
    }

    .content, .sidebar {
        flex: 1;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .smart-access {
        bottom: 10px; /* Anpassung für kleine Bildschirme */
        right: 10px;
    }
}

@media (max-width: 480px) {
    .keyvisual {
        height: 150px; /* Noch kleiner für sehr kleine Bildschirme */
    }

    .keyvisual h1 {
        font-size: 24px; /* Kleinere Schrift */
    }

    .keyvisual p {
        font-size: 12px;
    }

    .content h2 {
        font-size: 32px;
    }

    .gallery-img {
        height: 120px;
    }

    .smart-access-btn {
        width: 35px; /* Kleinere Buttons */
        height: 35px;
    }

    .smart-access-btn i {
        font-size: 18px; /* Anpassung der Icon-Größe */
    }
}

/* Neue Stile für die Karte */
.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 20px 0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}