/* --- GLOBALE VARIABLEN & RESET --- */
:root {
    --primary-burgundy: #6F0827;
    --accent-gold: #B58C67;
    --dark-bg: #161b20;
    --sidebar-width: 280px;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: var(--dark-bg);
    color: #fff;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, .font-serif { font-family: 'Cormorant Garamond', serif; }
.font-script { font-family: 'Mrs Saint Delafield', cursive; color: var(--accent-gold); font-size: 3rem; }
.text-gold { color: var(--accent-gold); }

/* --- SIDEBAR --- */
.sidebar {
    position: fixed; top: 0; left: 0; height: 100vh; width: var(--sidebar-width);
    background-color: var(--primary-burgundy); padding: 2rem; z-index: 1000;
    display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
    box-shadow: 5px 0 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.logo-wrapper img { max-width: 140px; margin-bottom: 20px; }

/* Hamburger Menu Button (Standardmäßig unsichtbar) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 1.8rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.nav-btn, .nav-link-custom {
    background: none; border: none; color: rgba(255,255,255,0.8);
    text-transform: uppercase; letter-spacing: 2px; margin: 8px 0;
    cursor: pointer; font-size: 1.1rem; transition: 0.3s; display: block; width: 100%; text-decoration: none;
}

.nav-btn:hover, .nav-btn.active, .nav-link-custom:hover, .nav-link-custom.active {
    color: #fff; transform: translateX(5px); text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* --- RECHTLICHE LINKS (SIDEBAR FOOTER) --- */
.legal-links {
    margin-top: 30px;
    padding-top: 20px;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.legal-link {
    display: block; color: rgba(255,255,255,0.5); font-size: 0.85rem;
    text-decoration: none; margin-bottom: 8px; text-transform: uppercase;
    letter-spacing: 1px; transition: 0.3s;
}

.legal-link:hover, .legal-link.active { color: #fff; }

/* --- PAGE CONTENT WRAPPER --- */
.page-content {
    margin-left: var(--sidebar-width);
    padding: 80px 40px;
    min-height: 100vh;
}

/* --- INDEX.HTML: SLIDER STYLES --- */
.outer-wrapper {
    margin-left: var(--sidebar-width); width: calc(100vw - var(--sidebar-width));
    height: 100vh; overflow: hidden; position: relative; background-color: #000;
}
.horizontal-track { display: flex; flex-direction: row; height: 100%; width: max-content; will-change: transform; }
.section-slide {
    height: 100vh; flex-shrink: 0; position: relative;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    border-right: 1px solid rgba(0,0,0,0.5); box-shadow: -10px 0 20px rgba(0,0,0,0.5);
}
.slide-full { width: calc(100vw - var(--sidebar-width)); min-width: calc(100vw - var(--sidebar-width)); }
.slide-narrow { width: 85vw; min-width: 85vw; }

/* Index Backgrounds */
.slide-home { background: url('images/001.jpeg') no-repeat center center/cover; }
.slide-food { background: url('images/002.jpeg') no-repeat center center/cover; }
.slide-drinks { background: url('images/003.jpeg') no-repeat center center/cover; }
.slide-hotel { background: url('images/006.jpg') no-repeat center center/cover; }
.slide-contact { background-color: var(--primary-burgundy); }

.overlay {
    background: rgba(0,0,0,0.5); padding: 3rem; text-align: center;
    backdrop-filter: blur(5px); border: 1px solid rgba(181, 140, 103, 0.4);
    max-width: 600px; opacity: 0; transform: translateY(20px); transition: all 0.8s ease 0.3s;
}
.section-slide.in-view .overlay { opacity: 1; transform: translateY(0); }

/* TITEL ANPASSUNG */
.main-title { font-size: 3.5rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

.scroll-hint { position: absolute; bottom: 30px; right: 50px; color: white; animation: bounce 2s infinite; z-index: 10; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateX(0);} 40% {transform: translateX(-15px);} 60% {transform: translateX(-7px);} }

/* --- MENU & CONTENT STYLES --- */
.menu-category { margin-bottom: 70px; scroll-margin-top: 20px; }
.menu-item { margin-bottom: 25px; position: relative; }
.item-header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dotted rgba(255,255,255,0.2); padding-bottom: 5px; margin-bottom: 5px; }
.item-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: #fff; padding-right: 10px; background-color: var(--dark-bg); z-index: 1; }
.item-price { font-family: 'Jost', sans-serif; font-weight: 500; color: var(--accent-gold); font-size: 1.2rem; padding-left: 10px; background-color: var(--dark-bg); z-index: 1; white-space: nowrap; }
.item-desc { font-size: 0.9rem; color: rgba(255,255,255,0.6); font-style: italic; max-width: 95%; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
.menu-nav { text-align: center; margin-bottom: 40px; flex-wrap: wrap; display: flex; justify-content: center; gap: 15px; }
.menu-nav a { color: rgba(255,255,255,0.6); text-decoration: none; text-transform: uppercase; font-size: 0.85rem; transition: 0.3s; white-space: nowrap; }
.menu-nav a:hover { color: var(--accent-gold); }
.drink-header { display: flex; align-items: baseline; border-bottom: 1px dotted rgba(255,255,255,0.2); padding-bottom: 5px; margin-bottom: 5px; }
.drink-title { flex-grow: 1; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: #fff; padding-right: 10px; background-color: var(--dark-bg); z-index: 1; }
.drink-price { width: 70px; text-align: right; font-family: 'Jost', sans-serif; font-weight: 500; color: var(--accent-gold); font-size: 1.1rem; background-color: var(--dark-bg); z-index: 1; }

/* --- HOTEL STYLES --- */
.hotel-hero { height: 60vh; background: url('images/006.jpg') center/cover; position: relative; display: flex; align-items: center; justify-content: center; }
.hotel-hero::after { content:''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4); }
.hero-text { position: relative; z-index: 2; text-align: center; }
.price-card { background: #222; padding: 20px; border: 1px solid #333; height: 100%; }
.price-big { font-size: 2.5rem; color: var(--accent-gold); font-family: 'Cormorant Garamond', serif; }
.gallery-img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.3s; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); }
.gallery-img:hover { transform: scale(1.03); opacity: 0.9; }
.coming-soon-box { background: rgba(255, 255, 255, 0.05); border: 2px dashed var(--accent-gold); padding: 50px; text-align: center; border-radius: 5px; }

/* --- RECHTLICHES (Impressum Boxen) --- */
.impressum-box { border-left: 1px solid var(--accent-gold); padding-left: 30px; margin-bottom: 40px; }
.impressum-box h2 { font-size: 1.5rem; color: var(--accent-gold); margin-bottom: 20px; font-family: 'Cormorant Garamond', serif; text-transform: uppercase; letter-spacing: 1px; }
.impressum-box p { color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 15px; }
.impressum-box strong { color: #fff; font-weight: 500; }
.impressum-box a { color: #fff; text-decoration: none; border-bottom: 1px dotted var(--accent-gold); transition: 0.3s; }
.impressum-box a:hover { color: var(--accent-gold); border-bottom-style: solid; }

/* --- MOBILE RESPONSIVE (Handy & Tablet) --- */
@media (max-width: 991px) {
    
    /* 1. Sidebar Leiste (Geschlossen) */
    .sidebar { 
        position: fixed; 
        width: 100%; 
        height: 80px; /* Fixe Höhe der Leiste */
        padding: 0 20px; /* Abstand links/rechts */
        flex-direction: row; 
        flex-wrap: nowrap; 
        justify-content: space-between; /* Logo links, Button rechts */
        align-items: center; /* Vertikal zentrieren */
        overflow: hidden; 
        background-color: var(--primary-burgundy);
        transition: height 0.4s ease;
    }
    
    /* 2. Sidebar (Geöffnet) */
    .sidebar.open {
        height: 100vh; /* Vollbild */
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 20px;
        overflow-y: auto;
    }

    /* 3. Logo Anpassung - Damit es nicht abgeschnitten wird */
    .sidebar .logo-wrapper {
        height: 80px; 
        display: flex;
        align-items: center;
        transition: all 0.3s;
    }

    .sidebar .logo-wrapper img { 
        max-height: 50px; /* WICHTIG: Kleiner als die Leiste (80px) */
        width: auto; 
        max-width: 160px; 
        margin-bottom: 0; 
        object-fit: contain;
    }
    
    /* Wenn offen: Logo zentrieren */
    .sidebar.open .logo-wrapper {
        width: 100%;
        justify-content: center;
        height: auto;
        margin-bottom: 30px;
    }

    /* 4. Hamburger Button - Positionierung */
    .menu-toggle { 
        display: block !important; 
        position: absolute;
        top: 50%; /* Mitte der Leiste */
        transform: translateY(-50%); /* Exakte vertikale Mitte */
        right: 20px;
        z-index: 1100;
        background: none;
        border: none;
        color: var(--accent-gold);
        font-size: 1.8rem;
        cursor: pointer;
    }
    
    /* Button muss oben bleiben, wenn Menü offen ist */
    .sidebar.open .menu-toggle {
        top: 40px; /* Feste Position wenn offen */
        transform: none;
    }

    /* 5. Navigation - ZWINGEND ausblenden wenn zu */
    .sidebar nav { 
        display: none !important; /* !important überschreibt Bootstrap */
        width: 100%;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    /* 6. Navigation - Einblenden wenn offen */
    .sidebar.open nav { 
        display: flex !important; 
        flex-direction: column;
        opacity: 1;
        margin-top: 10px;
        padding-bottom: 50px;
    }

    /* Größere Links für Touchscreens */
    .nav-btn {
        font-size: 1.4rem;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    /* Content Abstand */
    .page-content { margin-left: 0; padding: 100px 20px 40px 20px; }
    .menu-nav { display: none; }
    
    /* Index Fixes */
    .outer-wrapper { margin-left: 0; width: 100%; height: auto; overflow: visible; padding-top: 80px; }
    .horizontal-track { flex-direction: column; width: 100%; height: auto; transform: none !important; }
    .section-slide { width: 100% !important; min-width: 100% !important; height: 80vh; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .slide-contact { height: auto; padding: 50px 0; }
    .main-title { font-size: 2rem; } 
    .impressum-box { border-left: none; padding-left: 0; border-top: 1px solid var(--accent-gold); padding-top: 30px; }
}

/* FIX: Damit man nach Schließen des Modals wieder klicken kann */
body:not(.modal-open) .modal-backdrop {
    display: none !important;
    pointer-events: none !important;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Startet versteckt */
    left: 0;
    width: 100%;
    background-color: #0b0e11; /* Sehr dunkles Grau */
    border-top: 2px solid var(--accent-gold);
    color: #fff;
    padding: 20px;
    z-index: 2000; /* Muss über allem liegen */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    transition: bottom 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    flex: 1;
    min-width: 280px;
}

.cookie-text a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    padding: 8px 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-gold);
    background: transparent;
    color: var(--accent-gold);
    cursor: pointer;
    transition: 0.3s;
}

.btn-cookie:hover {
    background: var(--accent-gold);
    color: #fff;
}

.btn-cookie.accept {
    background: var(--accent-gold);
    color: #fff;
}

.btn-cookie.accept:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Sichtbarer Zustand */
.cookie-banner.show {
    bottom: 0;
}