/* =========================================
   1. GRUNDEINSTELLUNGEN
   ========================================= */
   :root {
    --gold: #cfa670;
    --dark: #0b0b0b;
    --white: #ffffff;
    --line-color: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--white);
    margin: 0;
    overflow-x: hidden;
}

a { text-decoration: none; transition: 0.3s; color: white; }
a:hover { color: var(--gold); }

/* Typo Helfer */
.ls-2 { letter-spacing: 2px; }
.text-gold { color: var(--gold) !important; }

/* =========================================
   2. SIDEBAR DEKO
   ========================================= */
.sidebar-left {
    position: absolute; 
    top: 0; 
    left: 40px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}

.vertical-line {
    width: 1px;
    height: 150px;
    background-color: rgba(255,255,255,0.2);
    margin-bottom: 30px;
}

.rotated-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}

/* =========================================
   3. HEADER
   ========================================= */
header {
    position: fixed;
    top: 0; width: 100%;
    height: 130px;
    z-index: 1000;
    transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%);
}

header.scrolled {
    background-color: rgba(0,0,0,0.98);
    height: 90px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Logo sitzt unten auf der Linie */
    height: 100%;
    padding: 0 80px; 
    padding-bottom: 25px;
}

header.scrolled .nav-container {
    padding-bottom: 0;
    align-items: center;
}

.nav-group {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line-color);
    transition: all 0.3s ease;
}

.nav-group.right { justify-content: flex-end; }

header.scrolled .nav-group {
    border-bottom: none;
    padding-bottom: 0;
}

.nav-link {
    color: var(--white) !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
}
.nav-link:hover { color: var(--gold) !important; }

/* LOGO MITTE */
.logo-wrapper {
    flex: 0 0 auto; 
    z-index: 10;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: -10px; /* Logo überlappt die Linie leicht */
    transition: all 0.4s ease;
}

.logo-img {
    height: 100px; /* Großes Logo initial */
    width: auto;
    transition: all 0.4s ease;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

header.scrolled .logo-wrapper { margin-bottom: 0; }
header.scrolled .logo-img { height: 60px; }

/* MOBILE */
.navbar-toggler { display: none; border: none; color: white; font-size: 1.5rem; background: none; }
.mobile-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #000; display: flex; flex-direction: column; 
    justify-content: center; align-items: center; z-index: 999;
    transform: translateY(-100%); transition: transform 0.3s ease;
}
.mobile-menu.show { transform: translateY(0); }
.mobile-menu a { font-size: 1.5rem; margin: 20px 0; font-weight: 700; letter-spacing: 2px; color: white; }

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute; top:0; left:0; width:100%; height:100%;
    
    /* HIER DEIN BILD: restaurant-hero.jpg */
    background: url('../images/restaurant-hero.jpg') no-repeat center center;
    
    background-size: cover;
    z-index: -1;
    animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 0;
}

.hero-content {
    position: relative; z-index: 2; padding-top: 100px;
}

.hero-divider {
    width: 60px; height: 3px; background: var(--gold); margin: 0 auto 30px auto;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 5px;
    margin-bottom: 25px;
    text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.1); } }

/* =========================================
   5. CONTENT SECTIONS
   ========================================= */
section { padding: 100px 0; }
.bg-black-soft { background-color: #0e0e0e; }

.section-title { font-size: 3rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.section-subtitle { color: var(--gold); font-size: 12px; letter-spacing: 4px; font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 10px; }

/* About Image Frame */
.about-img-wrap { position: relative; padding: 20px; }
.about-frame {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: 2px solid var(--gold); transform: translate(-20px, -20px); z-index: 0;
}
.about-img { position: relative; z-index: 1; width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* --- MENU TABS --- */
.nav-tabs { 
    border: none; 
    margin-bottom: 50px; 
    justify-content: center; 
}

.nav-tabs .nav-link { 
    border: none; 
    background: transparent; 
    color: #888; 
    font-size: 1rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    padding: 10px 30px;
    transition: 0.3s;
}

.nav-tabs .nav-link:hover { color: #fff; }

.nav-tabs .nav-link.active { 
    color: var(--gold) !important; 
    background-color: transparent !important; 
    border-color: transparent !important;
    border-bottom: 2px solid var(--gold) !important;
    font-weight: 800;
}

/* Menu Items */
.menu-item { margin-bottom: 30px; }
.menu-head { 
    display: flex; 
    justify-content: space-between; 
    border-bottom: 1px solid #222; 
    padding-bottom: 8px; 
    margin-bottom: 8px; 
}
.menu-name { font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; color: #ffffff; }
.menu-price { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.menu-desc { font-size: 0.9rem; color: #aaa; font-weight: 300; }

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    height: 350px; 
    display: block;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(207, 166, 112, 0.8);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.gallery-overlay i { color: white; font-size: 2.5rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Footer */
footer {
    position: relative; padding: 100px 0; color: white;
    
    /* HIER DEIN BILD: adriatic.jpg (als atmosphärischer Abschluss) */
    background: url('../images/adriatic.jpg') no-repeat center center;
    
    background-size: cover;
}
.footer-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.9); z-index: 0; }
.footer-content { position: relative; z-index: 1; }

/* Lightbox adjustment */
.modal-backdrop.show { opacity: 0.95 !important; }

/* =========================================
   6. RESPONSIVE (Ganz unten in der CSS Datei)
   ========================================= */
@media (max-width: 991px) {
    /* Navbar Anpassungen */
    .nav-container { padding: 0 20px; align-items: center; padding-bottom: 0; height: 80px; }
    .nav-group { display: none; }
    
    .logo-wrapper { padding: 0; margin-bottom: 0; }
    .logo-img { height: 50px; }
    
    .sidebar-left { display: none; }
    .navbar-toggler { display: block; }
    
    /* Header Hintergrund mobil */
    header { background-color: rgba(0,0,0,0.95); height: 80px; }

    /* --- HIER IST DER FIX FÜR GASTFREUNDSCHAFT --- */
    
    /* 1. Hero Titel kleiner machen */
    .hero-title { 
        font-size: 2.5rem; /* War vorher 3rem oder 5rem */
    }

    /* 2. Sektions-Überschriften (Gastfreundschaft) verkleinern */
    .section-title { 
        font-size: 1.8rem; /* Deutlich kleiner als Desktop (3rem) */
        word-wrap: break-word; /* Erzwingt Umbruch, falls immer noch zu lang */
        hyphens: auto; /* Trennt Wörter automatisch (Gastfreund-schaft) */
    }
    
    /* 3. Abstände mobil anpassen */
    section { padding: 60px 0; }
    .about-img-wrap { padding: 0; margin-bottom: 30px; }
    .about-frame { display: none; } /* Rahmen mobil ausblenden, spart Platz */
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Immer ganz oben */
    transform: translateY(100%); /* Startet versteckt unter dem Bildrand */
    transition: transform 0.5s ease-in-out;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.cookie-banner.show {
    transform: translateY(0); /* Fährt nach oben */
}