/* =========================================
   1. VARIABLEN & GRUNDEINSTELLUNGEN
   ========================================= */
:root {
    --primary-olive: #a7b896;
    --dark-olive: #4a5d4e;
    --accent-gold: #c9a66b;
    --bg-cream: #f9f7f2;
    --text-main: #2d3436;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
    /* Offset für den festen Header, damit Anker-Links nicht verdeckt werden */
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-cream);
    line-height: 1.8;
}

/* Typografie */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-olive);
}

h4 {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 2.5rem;
}

/* =========================================
   2. HEADER & NAVIGATION (DESKTOP DEFAULT)
   ========================================= */
header {
    background: var(--white);
    padding: 1rem 3%;
    /* Weniger Padding seitlich = Logo weiter links & mehr Platz */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    /* height: 80px; <-- ENTFERNT, damit das große Logo Platz hat */
}

.header-container {
    display: flex;
    align-items: center;
    /* Zentriert alles vertikal zur Mitte des großen Logos */
    justify-content: space-between;
    width: 100%;
}

/* Logo Bereich */
.logo {
    display: flex;
    align-items: center;
    flex: 1;
}

.logo img {
    height: 120px;
    /* Deine neue Wunschgröße */
    width: auto;
    display: block;
}

/* Burger-Menu Icon (Desktop: UNSICHTBAR) */
.menu-toggle {
    display: none;
    /* WICHTIG: Bleibt weg auf Desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    /* Über dem Menü */
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-olive);
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* Animation für Burger-Icon (wenn offen) */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hauptnavigation */
nav#main-nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0 1.2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-olive);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-olive);
}

/* Header Actions (Sprache & Buttons) */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex: 1;
}

.lang-select {
    border: none;
    background: transparent;
    color: var(--dark-olive);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    padding: 5px;
}

/* Buttons */
.btn {
    background: var(--primary-olive);
    color: white;
    padding: 1.2rem 2.8rem;
    text-decoration: none;
    border-radius: 2px;
    transition: var(--transition);
    font-weight: bold;
    display: inline-block;
    letter-spacing: 1px;
    border: none;
}

.btn:hover {
    background: var(--dark-olive);
    color: white !important;
    transform: scale(1.05);
}

.btn-outline {
    border: 2px solid var(--primary-olive);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    margin-top: 25px;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-olive);
}

/* =========================================
   3. MOBILE & TABLET LOGIK (max-width: 992px)
   ========================================= */
@media (max-width: 992px) {

    header {
        padding: 0;
        /* Container regelt Padding */
        height: auto;
        /* Höhe flexibel machen */
    }

    .header-container {
        padding: 15px 20px;
        position: relative;
        /* Anker für das absolute Menü */
        flex-wrap: wrap;
        /* Erlaubt Umbruch falls nötig, meist aber nicht */
    }

    /* 1. Logo verkleinern */
    .logo img {
        height: 80px !important;
    }

    /* 2. Reihenfolge ändern mit Flex-Order */
    /* Wir wollen: Logo (links) --- Burger + Sprache (rechts) */

    .logo {
        order: 1;
        flex: 1;
        /* Schiebt Rest nach rechts */
    }

    .menu-toggle {
        display: flex;
        /* Burger sichtbar machen */
        order: 2;
        margin-right: 15px;
        /* Abstand zur Sprache */
    }

    .header-actions {
        order: 3;
        flex: initial;
        /* Nimmt nur Platz ein, den es braucht */
        justify-content: center;
    }

    /* 3. Navigation als Stapel (Dropdown) */
    nav#main-nav {
        display: none;
        /* Standardmäßig aus */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        flex-direction: column;
        z-index: 999;
        order: 4;
        /* Kommt technisch nach allem anderen */
    }

    /* Klasse .active wird per JS gesetzt */
    nav#main-nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        width: 100%;
        gap: 0;
        /* Reset */
    }

    .nav-list li {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    .nav-link:hover {
        background-color: var(--bg-cream);
    }
}

/* =========================================
   4. CONTENT SECTIONS (Hero, Info, Grid)
   ========================================= */

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url('../images/hero.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    font-weight: 300;
}

/* Allgemeine Sections */
.content-section {
    padding: 50px 15%;
    text-align: center;
    position: relative;
}

/* 2. DIE TRENNLINIE (Automatisch per CSS) */
.content-section::after {
    content: "";
    /* Erzeugt ein leeres Element */
    display: block;

    /* Design der Linie */
    width: 150px;
    /* Nicht volle Breite, sieht edler aus */
    height: 2px;
    /* Dicke der Linie */
    background-color: var(--primary-olive);
    /* Deine grüne Farbe */

    /* Positionierung: Mittig ganz unten */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    /* Exakte Zentrierung */
}

/* 3. AUSNAHME: Keine Linie unter dem allerletzten Abschnitt (vor dem Footer) */
.content-section:last-of-type::after {
    display: none;
}

/* Erhöhte Priorität durch Kombination von Klasse und ID */
section.content-section#info::after,
section.content-section#events::after {
    display: none !important;
    content: none !important;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.info-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-olive);
    display: inline-block;
    padding-bottom: 5px;
}


/* Map Links */
.map-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 10px;
    background: transparent;
    border: 2px solid var(--primary-olive);
    color: var(--dark-olive);
    transition: var(--transition);
}

.map-btn:hover {
    border-color: var(--dark-olive);
}

.map-btn img {
    width: 220px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.map-btn.apple img {
    height: 35px;
}

/* Menu Banner */
.menu-banner {
    background: var(--dark-olive);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.menu-banner h2 {
    color: var(--primary-olive);
    margin-bottom: 20px;
}

/* Private Events Banner */
.private-events-banner {
    background: linear-gradient(135deg, #2d3436, #1e272e);
    color: white;
    padding: 80px 10%;
    text-align: center;
}

.private-events-banner h2 {
    color: var(--primary-olive);
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.private-events-banner p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 35px;
    color: #bdc3c7;
    line-height: 1.8;
}

.private-events-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.event-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.event-icon-item:hover {
    transform: translateY(-5px);
}

.event-icon-item i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.event-icon-item span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary-olive);
}

.private-events-banner .btn {
    background: var(--primary-olive);
    color: white;
}

.private-events-banner .btn:hover {
    background: var(--dark-olive);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 4px;
}

.gallery img:hover {
    transform: scale(1.03);
}

/* Kontakt Formular Styles */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: var(--dark-olive);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-olive);
    box-shadow: 0 0 0 3px rgba(167, 184, 150, 0.2);
}

/* =========================================
   5. FOOTER
   ========================================= */
footer {
    background: #1e272e;
    color: #bdc3c7;
    padding: 80px 10% 40px;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
    text-align: left;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.85rem;
}

footer a {
    color: var(--primary-olive);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: white;
}

/* Social Icons im Footer */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    font-size: 1.4rem;
    color: var(--primary-olive);
    transition: var(--transition);
}

.social-icons a:hover {
    color: white;
    transform: scale(1.15);
}

/* =========================================
   6. WEITERE RESPONSIVE ANPASSUNGEN (Generell)
   ========================================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .content-section {
        padding: 60px 5%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-container {
        padding: 30px 20px;
    }
}

/* --- PARKING MODAL STYLES --- */
.modal-overlay {
    display: none;
    /* Standardmäßig versteckt */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Dunkler Hintergrund */
    z-index: 2000;
    /* Muss höher sein als der Header (1000) */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-olive);
}

/* Liste der Parkplätze */
.parking-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.parking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: var(--bg-cream);
    border-radius: 6px;
    text-decoration: none;
    color: var(--dark-olive);
    font-weight: bold;
    transition: var(--transition);
    border: 1px solid transparent;
}

.parking-item:hover {
    background-color: white;
    border-color: var(--primary-olive);
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.p-icon {
    background: var(--dark-olive);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-right: 10px;
}

.p-text {
    flex: 1;
    text-align: left;
}

/* --- NEUERÖFFNUNG SPECIAL --- */
.opening-card {
    border: 2px solid #c9a66b;
    /* Goldener Rand */
    background: linear-gradient(to bottom right, #ffffff, #faf7f0);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.opening-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(201, 166, 107, 0.3);
}

.btn-gold {
    background-color: #c9a66b;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    /* Rundere Buttons wirken freundlicher */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-gold:hover {
    background-color: #b08d55;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(201, 166, 107, 0.4);
}

/* --- KUBANISCHER ABEND SPECIAL --- */
.cuban-card {
    border: 2px solid #e74c3c;
    background: linear-gradient(135deg, #fff9f0 0%, #fff0e8 50%, #ffe8db 100%);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cuban-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(231, 76, 60, 0.25);
}

.cuban-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.06) 0%, transparent 70%);
    animation: cuban-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cuban-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.cuban-date {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 10px 0 15px;
    letter-spacing: 0.5px;
}

.cuban-date i {
    margin-right: 5px;
}

.btn-cuban {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-decoration: none;
}

.btn-cuban:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

/* =========================================
   7. UTILITY CLASSES (ersetzt inline styles für CSP)
   ========================================= */

/* Honeypot-Feld: unsichtbar für Benutzer, sichtbar für Bots */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* btn-outline mit dunkler Textfarbe (z.B. auf hellen Karten) */
.btn-outline-dark {
    border: 2px solid var(--primary-olive);
    color: #2d3436;
    padding: 8px 16px;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    background: var(--primary-olive);
    color: white;
}

/* Empfohlene Karte (Sessellift) */
.info-card-recommended {
    border: 2px solid var(--primary-olive);
    position: relative;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(167, 184, 150, 0.25);
}

/* Badge "Empfohlen" */
.recommended-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-olive);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Icon groß (z.B. Neueröffnungs-Stern) */
.icon-lg {
    font-size: 2rem;
    color: var(--accent-gold);
}

/* Emoji/Flag groß */
.emoji-lg {
    font-size: 3rem;
    line-height: 1;
    display: inline-block;
    margin-bottom: 10px;
}

/* Beschreibungstext in Event-Karten */
.card-desc {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.card-desc-sm {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* Section mit extra Padding oben */
.section-pt {
    padding-top: 50px;
}

/* Volle Breite Button */
.btn-full {
    width: 100%;
}

/* Modal Button breit mit Abstand */
.btn-outline-modal {
    margin-top: 20px;
    width: 100%;
}

/* =========================================
   8. LEGAL PAGES (Impressum, Datenschutz, Cookies)
   ========================================= */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 80px;
    text-align: left;
    line-height: 1.9;
    color: var(--text-main);
}

.legal-page h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--dark-olive);
    border-bottom: 3px solid var(--primary-olive);
    padding-bottom: 15px;
}

.legal-page .legal-subtitle {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--dark-olive);
}

.legal-page h3 {
    font-size: 1.15rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--dark-olive);
}

.legal-page p {
    margin-bottom: 12px;
}

.legal-page ul,
.legal-page ol {
    margin: 10px 0 20px 25px;
}

.legal-page li {
    margin-bottom: 6px;
}

.legal-page a {
    color: var(--primary-olive);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-page a:hover {
    color: var(--dark-olive);
}

.legal-page .legal-info-box {
    background: var(--bg-cream);
    border-left: 4px solid var(--primary-olive);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 6px 6px 0;
}

.legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.legal-page table th,
.legal-page table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.legal-page table th {
    background: var(--dark-olive);
    color: white;
    font-weight: 600;
}

.legal-page table tr:nth-child(even) {
    background: var(--bg-cream);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 40px 20px 60px;
    }

    .legal-page h1 {
        font-size: 1.7rem;
    }

    .legal-page table {
        font-size: 0.85rem;
    }

    .legal-page table th,
    .legal-page table td {
        padding: 8px 10px;
    }
}