/* Globale Verhaltensweisen */
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
:root {
    --color-bg: #F9F6F0; 
    --color-bg-light: #FFFFFF; 
    --color-text: #333333;
    --color-accent: #2C3E2D; 
    --color-gold: #C8A97E; 
    --gold-gradient: linear-gradient(135deg, #C59B58 0%, #E8D0A5 50%, #B8905B 100%); 
    --font-heading: 'Playfair Display', serif;
    --font-text: 'Source Sans Pro', sans-serif;
    --transition-speed: 0.3s;
}

body { margin: 0; font-family: var(--font-text); background-color: var(--color-bg); color: var(--color-text); line-height: 1.6; overflow-x: hidden; }
body.lang-de .en { display: none; }
body.lang-en .de { display: none; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--color-accent); }
.text-center { text-align: center; }
.max-w-800 { max-width: 800px; margin: 0 auto; }
.mt-30 { margin-top: 30px; }
.mt-60 { margin-top: 60px; } 

.text-gold-gradient { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; font-style: italic; }

.hero-gold-text { 
    color: var(--color-gold) !important; 
    font-style: italic; 
    font-weight: 400; 
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); 
    background: none; 
    -webkit-text-fill-color: initial; 
    pointer-events: none; 
}
a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    pointer-events: none !important;
}

.emoji-fix { -webkit-text-fill-color: initial; background: transparent; }

/* =======================================
   HEADER & NAVIGATION
   ======================================= */
header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 5vw; 
    background-color: var(--color-bg-light); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    position: -webkit-sticky; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    margin: 0;
}
.logo img { height: 85px; max-width: 100%; } 

.header-open-info { margin-left: 20px; font-size: 1.25em; font-family: var(--font-heading); font-weight: 600; flex-grow: 1; pointer-events: none; }

nav { display: flex; align-items: center; z-index: 1500; }
nav a { text-decoration: none; color: var(--color-text); margin: 0 15px; font-weight: 600; text-transform: uppercase; font-size: 1.05em; position: relative; }
nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background: var(--gold-gradient); transition: width var(--transition-speed); }
nav a:hover::after { width: 100%; }

.mobile-nav-header { display: none; } 

.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; cursor: pointer; z-index: 2000; position: relative; }
.hamburger span { display: block; width: 100%; height: 3px; background-color: var(--color-accent); border-radius: 3px; transition: all 0.3s ease-in-out; pointer-events: none; }

/* =======================================
   ANIMATIONS-KLASSEN
   ======================================= */
.reveal-up { opacity: 0; transform: translateY(30px); transition: all 1.4s ease-out; }
.reveal-up.active { opacity: 1; transform: translateY(0); }

.reveal-scale { opacity: 0; transform: scale(0.96); transition: all 1.4s ease-out; }
.reveal-scale.active { opacity: 1; transform: scale(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (max-width: 768px) {
    .delay-1 { transition-delay: 0.05s; }
    .delay-2 { transition-delay: 0.1s; }
    .delay-3 { transition-delay: 0.15s; }
    .delay-4 { transition-delay: 0.2s; }
}

/* =======================================
   BUTTONS & BADGES
   ======================================= */
.btn { background-color: var(--color-accent); color: white !important; border: none; padding: 10px 20px; cursor: pointer; font-weight: bold; border-radius: 4px; text-decoration: none; transition: all var(--transition-speed); display: inline-block; pointer-events: auto !important; }
.btn:hover { background: var(--gold-gradient); color: #FFFFFF !important; transform: translateY(-2px); } 

.btn-hero-large { padding: 14px 30px !important; font-size: 1.25em !important; border-radius: 5px; }

.btn-gold { background: var(--gold-gradient); color: #FFFFFF; border: none; padding: 10px 20px; cursor: pointer; font-weight: bold; border-radius: 4px; text-decoration: none; transition: all var(--transition-speed); display: inline-block; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.btn-gold:hover { background: var(--color-accent); color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.3); }

#langToggle { margin-left: 15px; font-size: 1.05em; padding: 8px 15px; z-index: 1501; pointer-events: auto; }

.hero-badge {
    position: absolute;
    top: 15%;
    right: 12vw; 
    width: 160px; 
    height: 160px; 
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.8em; 
    text-transform: uppercase; 
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.2;
}
.hero-badge:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    color: #FFFFFF;
}

/* =======================================
   SECTIONS & HERO
   ======================================= */
.hero { height: 90vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url('die-sennerei-gebaeude.webp'); background-size: cover; background-position: center; z-index: 0; animation: kenBurns 20s ease-out infinite alternate; }
@keyframes kenBurns { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }

.hero-text-wrapper { z-index: 1; max-width: 900px; margin-top: -80px; transition: opacity 0.1s ease-out; }
.hero h1 { font-size: 4em; margin-bottom: 25px; color: #FFFFFF; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-lead { font-size: 1.5em; font-weight: 400; color: #FFFFFF; text-shadow: 0 2px 10px rgba(0,0,0,0.5); max-width: 800px; margin: 0 auto; line-height: 1.5; }
.hero-nowrap { display: inline-block; white-space: nowrap; }

.scroll-indicator { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; opacity: 0.8; }
.mouse { width: 28px; height: 42px; border: 2px solid var(--color-gold); border-radius: 15px; position: relative; }
.mouse::before { content: ''; position: absolute; top: 6px; left: 50%; margin-left: -2px; width: 4px; height: 8px; background: var(--color-gold); border-radius: 2px; animation: scrollAnim 1.5s infinite; }
@keyframes scrollAnim { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

.hero-curve { position: absolute; bottom: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 2; }
.hero-curve svg { position: relative; display: block; width: calc(100% + 1.3px); height: 70px; }

.content-section { padding: 80px 10vw; }
.bg-light { background-color: var(--color-bg-light); } 
.align-stretch { align-items: stretch; } 

.content-section h2 { font-size: 2.4em; margin-bottom: 20px; color: var(--color-accent) !important; }
.content-section p { font-size: 1.15em; line-height: 1.8; }
.gold-divider { width: 100%; max-width: 800px; height: 1px; background: var(--gold-gradient); margin: 0 auto 80px auto; opacity: 0.8; }

.fondue-section { 
    scroll-margin-top: 180px; 
    position: relative; 
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('Fondue.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    padding: 120px 20px; 
    text-align: center; 
    color: #FFFFFF; 
}
.fondue-section h2 { font-size: 3em; margin-bottom: 25px; font-family: var(--font-heading); color: transparent !important; }
.fondue-section p { color: #FFFFFF; font-size: 1.25em; text-shadow: 0 2px 10px rgba(0,0,0,0.6); line-height: 1.6; max-width: 800px; margin: 0 auto; }

.quality-section { position: relative; background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('see.jpg'); background-size: cover; background-position: center; background-attachment: fixed; padding: 120px 20px; text-align: center; color: #FFFFFF; }
.quality-section h2 { font-size: 3em; margin-bottom: 25px; font-family: var(--font-heading); color: transparent !important; }
.quality-section p { color: #FFFFFF; font-size: 1.25em; text-shadow: 0 2px 10px rgba(0,0,0,0.6); line-height: 1.6; max-width: 800px; margin: 0 auto; }
.qha-logo { max-width: 140px; height: auto; margin: 0 auto 25px auto; display: block; filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.4)); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }

.responsive-img { width: 100%; height: auto; display: block; object-fit: cover; }
.rounded { border-radius: 8px; }
.shadow { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.hover-zoom { transition: transform 0.4s ease; cursor: pointer; }
.hover-zoom:hover { transform: scale(1.03); }
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }

.hofladen-gallery { display: flex; flex-direction: column; gap: 20px; }
.row-portrait { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.row-landscape { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.row-landscape img { height: 220px; width: 100%; object-fit: cover; }
.cafe-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cafe-gallery img { height: 250px; width: 100%; object-fit: cover; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background-color: var(--color-bg-light); text-align: center; overflow: hidden; }
.product-card img { height: 200px; object-fit: cover; }
.product-card h4 { margin: 15px 0; font-size: 1.3em; color: var(--color-accent); }
.rounded-top { border-top-left-radius: 8px; border-top-right-radius: 8px; }

.team-card { background-color: var(--color-bg-light); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.team-img-container { width: 100%; height: auto; }
.team-card img { width: 100%; height: auto; display: block; border-top-left-radius: 8px; border-top-right-radius: 8px; }
.team-info { padding: 30px; text-align: center; }
.team-info h3 { margin: 0 0 15px 0; font-size: 1.6em; }

.animal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.animal-grid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; display: block; }

.apt-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.apt-card { background-color: var(--color-bg-light); overflow: hidden; }
.apt-card img { height: 250px; object-fit: cover; }
.apt-info { padding: 20px; text-align: center; flex-grow: 1; }
.apt-info h3 { margin: 0 0 10px 0; font-size: 1.4em; }

.season-wrapper { position: relative; text-align: center; }
.season-label { font-size: 2.6em; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; font-family: var(--font-heading); }

.gold-slogan { font-size: 2.2em; text-transform: none; letter-spacing: normal; font-family: var(--font-heading); }
.mobile-br { display: none; }
.mobile-space { display: none; } 

.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.ig-link { display: block; border-radius: 8px; overflow: hidden; }
.ig-grid img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: 100%; }

/* =======================================
   FOOTER & MAP 
   ======================================= */
#instagram { position: relative; padding-bottom: 120px; }
.footer-curve { position: absolute; bottom: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 2; }
.footer-curve svg { position: relative; display: block; width: calc(100% + 1.3px); height: 70px; }

.footer-section { padding: 90px 10vw 30px 10vw; background-color: var(--color-accent); color: #FFFFFF; }
.footer-link { color: #FFFFFF; text-decoration: none; transition: color var(--transition-speed); }
.footer-link:hover { color: var(--color-gold); }

.desktop-br { display: inline; }
.desktop-only-inline { display: inline; }
.mobile-only-inline { display: none; }
.mobile-dogs { display: none; }

.footer-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.f-title { margin-top: 0; margin-bottom: 15px; font-size: 2.2em; font-family: var(--font-heading); }
.f-text { font-size: 1.25em; line-height: 1.6; margin-bottom: 25px; margin-top: 0;}
.f-address-text { font-size: 1.15em; line-height: 1.5; margin-top: 0; margin-bottom: 5px; }
.f-subtitle { color: var(--color-gold); font-size: 1.4em; text-transform: uppercase; margin-bottom: 10px; margin-top: 0; font-family: var(--font-text); font-weight: bold; }
.f-hours-text { font-size: 1.25em; line-height: 1.8; color: #FFFFFF; margin-top: 0; }
.f-hours-text strong { font-weight: 700 !important; color: #FFFFFF; }

.f-right-title { font-family: var(--font-heading); font-size: 1.6em; margin-top: 0; margin-bottom: 15px; text-transform: none; }
.map-wrapper { background: var(--gold-gradient); padding: 1px; border-radius: 9px; width: 100%; height: 430px; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.map-wrapper:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
.map-container { flex-grow: 1; border-radius: 8px; overflow: hidden; position: relative; }
.map-container iframe { width: 100%; height: 100%; border: 0; }
.map-overlay { position: absolute; top:0; left:0; width: 100%; height: 100%; background: rgba(44,62,45,0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; pointer-events: none; }
.map-wrapper:hover .map-overlay { opacity: 1; pointer-events: auto; }

.footer-bottom { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; }
.copyright-text { font-size: 1.0em !important; opacity: 0.9; margin: 0; }
.copyright-text a:hover { opacity: 0.7; transition: opacity var(--transition-speed); }

.footer-separator { margin: 0 10px; }


/* =======================================
   RESPONSIVE: TABLET & MOBILE
   ======================================= */

@media (max-width: 1150px) {
    header { padding: 15px 20px; }
    .logo img { height: 75px; } 
    
    .header-open-info { font-size: 1.4em; text-align: center; margin: 0 15px; line-height: 1.2; z-index: 900; }
    
    nav { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 100vw; 
        height: 100vh; 
        background-color: var(--color-accent); 
        flex-direction: column; 
        align-items: center; 
        justify-content: flex-start; 
        padding-top: 22vh; 
        gap: 25px; 
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); 
        z-index: 1500; 
        overflow-y: auto;
    }
    nav.active { right: 0; }
    nav a { font-size: 1.2em; margin: 0; color: #FFFFFF; } 
    
    .mobile-nav-header { display: block; text-align: center; font-family: var(--font-heading); font-size: 1.8em; margin-bottom: 20px; line-height: 1.4; }
    #langToggle { margin-left: 0; margin-top: 10px; background: var(--gold-gradient); color: #FFFFFF; border: none; }
    
    .hamburger { display: flex; } 
    .hamburger.active span { background-color: #FFFFFF; }
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

@media (max-width: 900px) {
    .hero-badge { top: 30px; right: 30px; width: 110px; height: 110px; font-size: 1.3em; }

    .ig-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
    .product-grid, .cafe-gallery { grid-template-columns: repeat(2, 1fr); }
    .row-landscape { grid-template-columns: 1fr; }
    .row-landscape img { height: 250px; }
    .animal-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3em; }
    .hero-curve svg, .footer-curve svg { height: 40px; }
    .scroll-indicator { bottom: 60px; }
}

@media (max-width: 768px) {
    .logo img { height: 55px; } 
    
    .header-open-info { 
        font-size: clamp(1rem, 4.5vw, 1.4rem); 
        white-space: nowrap; 
        margin: 0 5px; 
    }
    
    .hero-badge { top: 15px; right: 15px; width: 72px; height: 72px; font-size: 0.85em; }

    nav { padding-top: 20vh; gap: 20px; } 
    .mobile-nav-header { font-size: 1.6em; margin-bottom: 15px; }
    nav a { font-size: 1.1em; }
    
    .btn-hero-large { padding: 10px 20px !important; font-size: 1.1em !important; border-radius: 4px; }
    .hero h1 { font-size: 2.2em; }
    .hero-lead { font-size: 1.1em; padding: 0 10px; }
    .hero-large-text { font-size: 1.3em; margin-top: 5px; } 
    
    .scroll-indicator { bottom: 50px; transform: translateX(-50%) scale(0.9); }
    
    /* Geringere Abstände für die Grids (Jahreszeiten, Team, etc.) */
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 25px; }
    
    .hofladen-gallery { gap: 10px; }
    .animal-grid, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-grid { gap: 15px; } 
    
    .row-portrait { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .row-portrait img { aspect-ratio: 4 / 5 !important; height: auto !important; object-fit: cover; width: 100%; } 

    .cafe-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cafe-gallery img { aspect-ratio: 1 / 1 !important; height: auto !important; object-fit: cover; width: 100%; }

    /* HIER GEÄNDERT: Kein zusätzlicher Abstand oben! Alles hat genau 10px Lücke. */
    .row-landscape { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 0 !important; }
    .row-landscape img { aspect-ratio: 1 / 1 !important; height: auto !important; object-fit: cover; width: 100%; }
    .row-landscape img:nth-child(3) { grid-column: span 2; aspect-ratio: 2 / 1 !important; }
    
    .gold-slogan { font-size: 1.6em !important; line-height: 1.4; padding: 0 10px; margin-bottom: 20px; margin-top: 30px; } 
    .mobile-br { display: block; } 
    
    .desktop-br { display: none; }
    .mobile-space { display: inline; } 
    
    .desktop-dogs { display: none; }
    .desktop-humans { display: none; }
    .desktop-only-inline { display: none; }
    .mobile-only-inline { display: inline; }
    
    .f-col { display: contents; } 
    .footer-blocks { display: flex; flex-direction: column; gap: 0; }
    
    .f-hours { order: 1; margin-bottom: 35px; }
    .f-hours-text { font-size: 1.1em; } 
    
    .f-findus { order: 2; margin-bottom: 25px; }
    .f-map { order: 3; margin-bottom: 0px; }
    
    .mobile-dogs { display: block; order: 4; margin-top: 20px; margin-bottom: 35px; }
    .f-address { order: 5; margin-bottom: 0; }
    
    .map-wrapper { height: 350px; }
    .f-right-title { font-size: 1.4em; }
    .footer-bottom { margin-top: 25px; padding-top: 15px; }

    .footer-separator { display: none; }
    .copyright-text { display: flex; flex-direction: column; gap: 8px; }

    .quality-section, .fondue-section { background-attachment: scroll; padding: 80px 20px; }
    .fondue-section { scroll-margin-top: 60px; }
    .quality-section h2, .fondue-section h2 { font-size: 2.2em; }
}