/* --- BASIS & FARBEN --- */
:root { 
    --primary: #3b4d36; /* Alpin-Grün */
    --accent: #8b7355;  /* Natur-Braun */
    --heading-brown: #4a3525; /* Elegantes Dunkelbraun für Überschriften */
    --bg: #fdfbf7;      /* Warmes Off-White */
    --text: #2c2c2c;
    --white: #ffffff; 
    --transition: all 0.4s ease; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--bg); 
    color: var(--text); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

h1, h2, h3 { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--heading-brown);
    font-weight: 300; 
    letter-spacing: 1px;
}

/* --- NAVIGATION --- */
header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    padding: 20px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 1000; 
    background: linear-gradient(to bottom, rgba(50, 35, 25, 0.7), transparent); 
    transition: var(--transition); 
}

.logo img { height: 60px; transition: var(--transition); }

nav ul { list-style: none; display: flex; gap: 30px; }

nav a { 
    color: var(--white); 
    text-decoration: none; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 1.5px; 
    transition: var(--transition); 
}

nav a:hover { color: var(--accent); }

.mobile-nav-toggle { display: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* --- HERO & SUB-HERO --- */
.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: var(--white); 
    position: relative; 
    overflow: hidden;
}

.sub-hero { 
    height: 60vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: var(--white); 
    position: relative; 
    overflow: hidden;
}

.hero::before, .sub-hero::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: rgba(50, 35, 25, 0.4); 
    z-index: 1;
}

.hero-content, .sub-hero-content { 
    position: relative; 
    z-index: 10; 
    max-width: 900px; 
    padding: 0 20px; 
}

.hero h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); margin-bottom: 10px; color: var(--white); font-weight: 300; letter-spacing: 6px; text-transform: uppercase; }
.sub-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 10px; margin-top: 50px; color: var(--white); font-weight: 300; letter-spacing: 4px; }

.hero p, .sub-hero p { 
    font-size: 1.2rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 30px; 
}

/* --- BUTTONS --- */
.btn-group { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.btn { 
    padding: 16px 40px; 
    text-decoration: none; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    font-weight: 500;
    letter-spacing: 2px; 
    border: 1px solid var(--white); 
    border-radius: 0;
    color: var(--white); 
    transition: all 0.6s ease; 
    backdrop-filter: blur(5px); 
}

.btn:hover { background: var(--white); color: var(--primary); }

/* Dunkle Buttons für helle Hintergründe */
.btn-dark {
    background: var(--heading-brown);
    border-color: var(--heading-brown);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* --- CONTENT SECTIONS --- */
.section-padding { padding: 120px 5%; max-width: 1400px; margin: 0 auto; }

.text-center { text-align: center; max-width: 800px; margin: 0 auto 50px auto; }
.text-center h2 { font-size: 2.8rem; color: var(--heading-brown); margin-bottom: 25px; }
.text-center p { font-size: 1.15rem; color: #555; line-height: 1.8; }

/* --- VIDEO BACKGROUND --- */
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    min-height: 100%;
    min-width: 177.77vh; /* 16:9 Aspect Ratio */
    z-index: 0;
    pointer-events: none;
}

.video-background iframe {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* --- PILLARS (Startseite) --- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: transparent; padding: 0 5%; margin-top: -80px; position: relative; z-index: 20; max-width: 1600px; margin-left: auto; margin-right: auto; }

.pillar-item { 
    position: relative; 
    height: 65vh; 
    overflow: hidden; 
    text-decoration: none; 
    color: var(--white); 
}

.pillar-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s ease; }
.pillar-item:hover img { transform: scale(1.03); }

.pillar-content { 
    position: absolute; 
    bottom: 0; left: 0; right: 0; 
    padding: 60px 30px 40px; 
    background: linear-gradient(to top, rgba(20, 15, 10, 0.95) 0%, rgba(20, 15, 10, 0.6) 60%, transparent 100%); 
    text-align: center; 
}

.pillar-content h3 { font-size: 1.8rem; margin-bottom: 15px; letter-spacing: 2px; color: var(--white); font-weight: 300; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }

/* --- SPLIT FEATURE (Bild & Text) --- */
.split-feature { display: flex; align-items: center; gap: 100px; margin-bottom: 120px; }
.split-feature:nth-child(even) { flex-direction: row-reverse; }

.split-image { flex: 1; border-radius: 0; overflow: hidden; box-shadow: none; display: flex; }
.split-image picture { width: 100%; display: block; }
.split-image img { width: 100%; max-height: 500px; object-fit: cover; display: block; transition: transform 2s ease; }
.split-image:hover img { transform: scale(1.02); }

.split-text { flex: 1; }
.split-text h3 { font-size: 2.2rem; color: var(--heading-brown); margin-bottom: 25px; font-weight: 300; letter-spacing: 1px; }
.split-text p { font-size: 1.05rem; color: #666; line-height: 1.9; margin-bottom: 15px; }

/* --- GALERIEN --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); grid-auto-rows: 250px; gap: 20px; }

.food-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 60px; }
.food-item { background: transparent; border-radius: 0; overflow: hidden; box-shadow: none; }
.food-item img { width: 100%; height: 350px; object-fit: cover; }
.food-item img { transition: transform 2s ease; }
.food-item:hover img { transform: scale(1.02); }
.food-info { padding: 30px; text-align: center; }

.event-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.event-gallery img { width: 100%; height: 250px; object-fit: cover; border-radius: 0; }

.gallery-item { overflow: hidden; border-radius: 0; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s ease; }
.gallery-item:hover img { transform: scale(1.03); filter: brightness(0.95); }

/* --- LIGHTBOX --- */
#lightbox {
    position: fixed;
    z-index: 2000;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

/* --- INFO & FOOTER --- */
.info-strip { 
    background: var(--primary); 
    color: var(--white); 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    text-align: center; 
    padding: 80px 5%; 
}

.info-box h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--accent); }

.info-panel { 
    background: transparent; 
    padding: 50px; 
    border-radius: 0; 
    box-shadow: none; 
    border: 1px solid rgba(0,0,0,0.06); 
    margin-top: 50px; 
}
.info-panel h3 { color: var(--heading-brown); margin-bottom: 25px; font-size: 1.8rem; font-weight: 300; letter-spacing: 1px; }
.info-panel li { margin-bottom: 10px; padding-left: 25px; position: relative; list-style-type: none; }
.info-panel li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

/* --- ÖFFNUNGSZEITEN --- */
.hours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; }
.hours-box { background: transparent; padding: 50px 30px; text-align: center; border-radius: 0; box-shadow: none; border: 1px solid rgba(0,0,0,0.06); border-bottom: 2px solid var(--accent); }
.hours-box h3 { color: var(--heading-brown); font-size: 1.2rem; margin-bottom: 10px; }
.hours-box p { font-size: 1.1rem; color: #555; font-weight: 500; }

/* --- EVENTKALENDER PLATZHALTER --- */
.calendar-placeholder {
    background: transparent;
    border: 1px dashed rgba(0,0,0,0.2);
    border-radius: 0;
    padding: 60px 20px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: #777;
}
.calendar-placeholder .calendar-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* --- FORMULARE --- */
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--heading-brown);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background: transparent;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(139, 115, 85, 0.3);
}
.radio-group label {
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #555;
}

footer { background: #2a1c13; color: #d0c5b8; padding: 100px 5% 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 50px; margin-bottom: 80px; }
.footer-col h4 { color: var(--white); margin-bottom: 25px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: inherit; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 40px; text-align: center; font-size: 0.85rem; letter-spacing: 1px; color: rgba(255,255,255,0.5); }

/* --- COOKIE BANNER --- */
#cookie-banner {
    position: fixed;
    bottom: -150%;
    left: 0;
    width: 100%;
    background: rgba(42, 28, 19, 0.98);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 20px 5%;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    transition: bottom 0.6s ease-in-out;
}
#cookie-banner.show { bottom: 0; }
.cookie-text { flex: 1; min-width: 300px; font-size: 0.9rem; line-height: 1.5; color: #d0c5b8; }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie { padding: 10px 20px; font-size: 0.8rem; cursor: pointer; border: none; }
.btn-cookie-decline { 
    background: transparent; 
    border: 1px solid #d0c5b8; 
    color: #d0c5b8; 
}
.btn-cookie-decline:hover { background: #d0c5b8; color: var(--heading-brown); }

/* --- STICKY WIDGET --- */
.sticky-widget {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}
.widget-btn {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    border-radius: 30px 0 0 30px;
    text-decoration: none;
    transition: width 0.3s ease;
    padding-left: 14px;
    overflow: hidden;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.15);
}
.sticky-widget:hover .widget-btn { width: 160px; }
.widget-text {
    color: var(--white);
    font-weight: 600;
    margin-left: 15px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}
.sticky-widget:hover .widget-text { opacity: 1; }
.wa-btn { background: var(--heading-brown); }
.mail-btn { background: #6b4d36; }
.phone-btn { background: var(--accent); }
.map-btn { background: var(--primary); }

/* --- SCROLL ANIMATIONEN --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 1024px) {
    .pillars { grid-template-columns: 1fr; }
    .pillar-item { height: 60vh; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .info-strip { grid-template-columns: 1fr; gap: 60px; }
    .food-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    header { padding: 15px 20px; flex-wrap: nowrap; }
    .mobile-nav-toggle { display: block; z-index: 1001; position: relative; }
    .logo { z-index: 1001; position: relative; }
    nav { 
        display: flex; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(25, 18, 13, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 120px;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s ease;
        z-index: 1000;
        margin-top: 0;
    }
    nav.active { opacity: 1; visibility: visible; transform: translateY(0); box-shadow: none; }
    nav ul { flex-direction: column; gap: 35px; align-items: center; }
    nav a { font-size: 1.4rem; font-weight: 300; letter-spacing: 3px; }
    
    .hero { height: 60vh; min-height: 400px; }
    .hero h1 { font-size: 2.2rem; letter-spacing: 3px; }
    .sub-hero h1 { font-size: 2rem; letter-spacing: 2px; }
    .text-center h2 { font-size: 2rem; }
    
    .pillar-item { height: 35vh; min-height: 250px; }

    .split-feature, .split-feature:nth-child(even) { flex-direction: column; text-align: left; gap: 40px; margin-bottom: 80px; }
    .split-image img { max-height: 350px; }
    .event-gallery { grid-template-columns: 1fr; }
    .section-padding { padding: 70px 20px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .form-container, .info-panel, .hours-box { padding: 30px 20px !important; }
    
    .widget-btn { width: 45px; height: 45px; transform: translateX(4px); padding-left: 10px; }
    .widget-btn svg { width: 22px; height: 22px; }
    .sticky-widget:hover .widget-btn { width: 140px; }
    .widget-text { font-size: 0.85rem; margin-left: 10px; }
}

/* --- HIRSCH MASKOTTCHEN --- */
#hirsch-mascot {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 10000; /* Höher als das Cookie-Banner (9999) */
    display: inline-flex;
    align-items: center;
    pointer-events: none; /* Klicks gehen durch die Box hindurch */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#hirsch-mascot.show {
    opacity: 1;
    transform: translateY(0);
}

#hirsch-mascot .hirsch-box {
    height: 200px;
    display: block;
    margin-right: 25px;
    pointer-events: auto; /* Hirsch bleibt klickbar/sichtbar für Events */
}

#hirsch-mascot .hirsch-box img {
    height: 100%;
    width: auto;
    display: block;
    transform-origin: bottom center;
    animation: atmen 4s ease-in-out infinite;
}

@keyframes atmen {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.02) rotate(1.5deg); }
}

#hirsch-mascot .sprechblase {
    position: relative;
    background: #48572e;
    color: #ffffff;
    padding: 15px 30px 15px 20px; /* Rechts mehr Platz für das X */
    border-radius: 15px;
    max-width: 220px;
    display: inline-block; 
    filter: drop-shadow(0 6px 12px rgba(72, 87, 46, 0.3));
    top: -20px; 
    pointer-events: auto;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#hirsch-mascot .sprechblase.show {
    opacity: 1;
    transform: scale(1);
}

#hirsch-mascot .sprechblase::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 100%;
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #48572e;
}

#hirsch-mascot .sprechblase .close-bubble {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease;
    line-height: 1;
    font-weight: bold;
}

#hirsch-mascot .sprechblase .close-bubble.show {
    opacity: 1;
}

#mascot-text {
    transition: opacity 0.3s ease;
}

#mascot-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 700;
}

#hirsch-mascot .sprechblase p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

/* Skalierung für Smartphones, damit er nicht zu viel Platz wegnimmt */
@media (max-width: 768px) {
    #hirsch-mascot {
        bottom: 30px; /* Etwas höher, wegen nativer Handy-Browserleisten */
        left: 10px;
    }
    #hirsch-mascot .hirsch-box {
        height: 110px;
        margin-right: 10px;
    }
    #hirsch-mascot .sprechblase {
        padding: 10px 20px 10px 15px;
        max-width: 145px;
        top: -15px;
    }
    #hirsch-mascot .sprechblase p {
        font-size: 11px;
    }
}