/* ===================================
   Hunsrücktanne – Theme
   Ergänzt und überschreibt styles.css. Aufbau:
   1. Farben  2. Header  3. Buttons  4. Hero  5. Titel-Ornament  6. Karten
   7. Standorte  8. Selbst sägen  9. Hoffest  10. Einblicke  11. Partner
   12. Kontakt  13. Footer & Rechtstexte  14. Chat  15. Animationen  16. Responsive
   17. Weniger Bewegung
   =================================== */

/* ===================================
   1. Farben (zentrale Markenfarben: hier ändern, um die Seite umzufärben)
   =================================== */
:root {
    --color-primary: #1f4336;
    --color-nav-text: #5f625c;
    --color-berry: #8c2433;
    --color-berry-dark: #5e1623;
    --ornament-color: var(--color-accent);
    --family-hero-image: url('../images/IMG_2598.jpeg');
}

body {
    background-image: none;
}

/* ===================================
   2. Header & Navigation
   =================================== */
.header {
    background: linear-gradient(180deg, rgba(248, 252, 248, 1) 0%, rgba(248, 252, 248, 0) 100%);
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Beim Scrollen: gleiche Höhe, etwas deckender, weicher S-Verlauf ohne Kante */
.header.scrolled {
    box-shadow: none;
    background: linear-gradient(
        180deg,
        rgba(248, 252, 248, 1) 0%,
        rgba(248, 252, 248, 0.98) 10%,
        rgba(248, 252, 248, 0.93) 20%,
        rgba(248, 252, 248, 0.84) 30%,
        rgba(248, 252, 248, 0.72) 40%,
        rgba(248, 252, 248, 0.58) 50%,
        rgba(248, 252, 248, 0.43) 60%,
        rgba(248, 252, 248, 0.29) 70%,
        rgba(248, 252, 248, 0.16) 80%,
        rgba(248, 252, 248, 0.06) 90%,
        rgba(248, 252, 248, 0) 100%
    );
}

.nav-links a {
    color: var(--color-nav-text);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Partner-Button im Menü nur am Handy (siehe Responsive) */
.nav-links .nav-cta {
    display: none;
}

/* ===================================
   3. Buttons
   =================================== */
.btn-primary,
.nav-actions .btn-secondary,
.hero .btn-primary,
.contact-form .btn-primary {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 44px;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(31, 67, 54, 0.25);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.btn-primary::before,
.nav-actions .btn-secondary::before,
.hero .btn-primary::before,
.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #ffffff;
    opacity: 0;
    transition: opacity 300ms ease;
}

.btn-primary:hover,
.nav-actions .btn-secondary:hover,
.hero .btn-primary:hover,
.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(31, 67, 54, 0.3);
}

.btn-primary:hover::before,
.nav-actions .btn-secondary:hover::before,
.hero .btn-primary:hover::before,
.contact-form .btn-primary:hover::before {
    opacity: 0.1;
}

.btn-primary:active,
.nav-actions .btn-secondary:active,
.hero .btn-primary:active,
.contact-form .btn-primary:active {
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(31, 67, 54, 0.22);
}

/* ===================================
   4. Hero
   =================================== */
.hero-background {
    background-image:
        linear-gradient(180deg, rgba(12, 24, 19, 0.22) 0%, rgba(12, 24, 19, 0.38) 58%, rgba(12, 24, 19, 0.62) 100%),
        var(--family-hero-image);
    background-attachment: scroll;
    transform-origin: 50% 42%;
    animation: heroDrift 32s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.hero-actions .btn {
    min-width: 190px;
}

.hero-actions .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(31, 67, 54, 0.18);
    backdrop-filter: blur(4px);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.26);
    color: #ffffff;
    border-color: #ffffff;
}

/* Optionale Dachzeile (data-kicker im Hero) */
.hero-kicker {
    display: inline-block;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.48);
}

/* Schnee (wird per JS erzeugt) */
.snow {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    top: -12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    animation: snowfall linear infinite;
}

/* ===================================
   5. Titel-Ornament: goldene Linien mit Stern
   =================================== */
.section-title::after,
.services .section-title::after,
.partner .section-title::after {
    content: '\2726';
    display: block;
    width: 190px;
    height: auto;
    margin: var(--spacing-sm) auto 0;
    background:
        linear-gradient(var(--ornament-color), var(--ornament-color)) left center / 72px 1px no-repeat,
        linear-gradient(var(--ornament-color), var(--ornament-color)) right center / 72px 1px no-repeat;
    color: var(--ornament-color);
    font-size: 0.85rem;
    line-height: 1;
    text-align: center;
}

/* ===================================
   6. Karten (Über uns, Produkte, Großhandel, Standorte)
   =================================== */
.about-card {
    background: #fffdf8;
    border-color: rgba(196, 163, 90, 0.3);
    border-radius: 12px;
}

.about-card:hover {
    border-color: rgba(196, 163, 90, 0.55);
}

.about-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(196, 163, 90, 0.14);
    box-shadow: inset 0 0 0 1px rgba(196, 163, 90, 0.35);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.about-card:hover .about-icon {
    transform: scale(1.1) rotate(-6deg);
    background: rgba(196, 163, 90, 0.26);
}

/* Über uns: Geschichte mit Foto und drei Kennzahlen statt Karten */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
}

.about-story-text p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.about-story-text .about-lead {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.5;
    color: var(--color-primary);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(196, 163, 90, 0.35);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-berry);
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.about-photo {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(196, 163, 90, 0.35);
    box-shadow: var(--shadow-medium);
}

.about-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* ===================================
   7. Standorte & Öffnungszeiten
   =================================== */
.standorte {
    background: var(--color-surface);
}

.standort-season {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
}

.standort-hours {
    margin-top: 0.75rem;
    font-weight: 600;
    line-height: 1.5;
}

.standort-season + .standort-hours {
    margin-top: 0.35rem;
}

.about-card .standort-season {
    color: var(--color-berry);
}

.about-card .standort-hours {
    color: var(--color-primary);
}

.standort-maps {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--color-berry);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.standort-maps:hover {
    color: var(--color-primary);
}

.standorte-hinweise {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
    margin-top: var(--spacing-md);
    color: var(--color-text);
    font-size: 0.95rem;
}

.standorte-hinweise li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.standorte-hinweise svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ===================================
   8. Selbst sägen: grüne Sektion mit leichtem Schneegestöber
   =================================== */
.services {
    --ornament-color: var(--color-accent-light);
    background:
        radial-gradient(circle at 20px 30px, rgba(255, 255, 255, 0.09) 1.5px, transparent 2px) 0 0 / 130px 130px,
        radial-gradient(circle at 85px 90px, rgba(255, 255, 255, 0.07) 2px, transparent 2.5px) 0 0 / 170px 170px,
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

/* ===================================
   9. Hoffest: Infokarte und Reel in einem Fenster, Reel bündig rechts
   =================================== */
.hoffest .event-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
    max-width: 1120px;
    padding: 0;
    overflow: hidden;
    background: var(--color-background);
    border: 1px solid rgba(196, 163, 90, 0.4);
    border-radius: 16px;
}

.hoffest .event-info {
    padding: var(--spacing-md) var(--spacing-lg);
    background: none;
    border: 0;
    border-radius: 0;
}

.event-icon {
    color: var(--color-berry);
}

.hoffest .event-icon {
    margin-bottom: 0.5rem;
}

.event-date {
    margin-bottom: var(--spacing-sm);
    color: var(--color-berry);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.event-list-title {
    margin: var(--spacing-sm) 0;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.event-features {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.event-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.event-feature:hover {
    transform: translateX(4px);
}

.event-feature--highlight {
    background: #ffffff;
    border: 1px solid rgba(196, 163, 90, 0.45);
    box-shadow: var(--shadow-soft);
}

.event-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(196, 163, 90, 0.16);
    box-shadow: inset 0 0 0 1px rgba(196, 163, 90, 0.4);
    color: var(--color-primary);
}

.event-feature--highlight .event-feature-icon {
    background: var(--color-berry);
    box-shadow: none;
    color: #ffffff;
}

.event-feature-icon svg {
    width: 22px;
    height: 22px;
}

.event-feature h4 {
    margin: 0 0 0.15rem;
    font-size: 1.15rem;
    line-height: 1.25;
}

.event-feature p {
    margin: 0;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.55;
}

.event-reel {
    width: 400px;
    min-height: 100%;
    overflow: hidden;
    background: #16372c;
}

.event-reel video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   10. Einblicke: Instagram-Galerie
   =================================== */
.einblicke {
    --ornament-color: var(--color-accent-light);
    background:
        radial-gradient(circle at 20px 30px, rgba(255, 255, 255, 0.09) 1.5px, transparent 2px) 0 0 / 130px 130px,
        radial-gradient(circle at 85px 90px, rgba(255, 255, 255, 0.07) 2px, transparent 2.5px) 0 0 / 170px 170px,
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.einblicke .section-tag {
    color: var(--color-accent-light);
}

.einblicke .section-title {
    color: #ffffff;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.insta-tile {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.insta-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.insta-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 24, 19, 0.45);
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-overlay svg {
    width: 34px;
    height: 34px;
}

.insta-tile:hover img,
.insta-tile:focus-visible img {
    transform: scale(1.06);
}

.insta-tile:hover .insta-overlay,
.insta-tile:focus-visible .insta-overlay {
    opacity: 1;
}

.insta-cta {
    margin-top: var(--spacing-md);
    text-align: center;
}

.insta-cta .btn,
.insta-cta .btn:hover {
    background: #ffffff;
    color: var(--color-primary);
}

.insta-cta .btn {
    gap: 0.6rem;
}

.insta-cta .btn svg {
    width: 20px;
    height: 20px;
}

/* ===================================
   11. Partner: festliches Weinrot mit Lichtern, Sternen und Schnee
   =================================== */
.partner {
    --ornament-color: var(--color-accent-light);
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(244, 200, 110, 0.22), rgba(244, 200, 110, 0) 70%),
        radial-gradient(circle at 8% 22%, rgba(255, 214, 130, 0.32) 0, rgba(255, 214, 130, 0.32) 5px, rgba(255, 214, 130, 0.11) 6px, rgba(255, 214, 130, 0) 15px),
        radial-gradient(circle at 18% 70%, rgba(255, 214, 130, 0.2) 0, rgba(255, 214, 130, 0.2) 8px, rgba(255, 214, 130, 0.07) 9px, rgba(255, 214, 130, 0) 24px),
        radial-gradient(circle at 31% 12%, rgba(255, 214, 130, 0.3) 0, rgba(255, 214, 130, 0.3) 4px, rgba(255, 214, 130, 0.10) 5px, rgba(255, 214, 130, 0) 12px),
        radial-gradient(circle at 47% 86%, rgba(255, 214, 130, 0.18) 0, rgba(255, 214, 130, 0.18) 6px, rgba(255, 214, 130, 0.06) 7px, rgba(255, 214, 130, 0) 18px),
        radial-gradient(circle at 64% 16%, rgba(255, 214, 130, 0.22) 0, rgba(255, 214, 130, 0.22) 7px, rgba(255, 214, 130, 0.07) 8px, rgba(255, 214, 130, 0) 21px),
        radial-gradient(circle at 78% 64%, rgba(255, 214, 130, 0.3) 0, rgba(255, 214, 130, 0.3) 5px, rgba(255, 214, 130, 0.10) 6px, rgba(255, 214, 130, 0) 15px),
        radial-gradient(circle at 90% 20%, rgba(255, 214, 130, 0.18) 0, rgba(255, 214, 130, 0.18) 9px, rgba(255, 214, 130, 0.06) 10px, rgba(255, 214, 130, 0) 27px),
        radial-gradient(circle at 94% 82%, rgba(255, 214, 130, 0.26) 0, rgba(255, 214, 130, 0.26) 5px, rgba(255, 214, 130, 0.09) 6px, rgba(255, 214, 130, 0) 15px),
        radial-gradient(circle at 56% 48%, rgba(255, 214, 130, 0.22) 0, rgba(255, 214, 130, 0.22) 3px, rgba(255, 214, 130, 0.07) 4px, rgba(255, 214, 130, 0) 9px),
        radial-gradient(circle at 4% 88%, rgba(255, 214, 130, 0.22) 0, rgba(255, 214, 130, 0.22) 6px, rgba(255, 214, 130, 0.07) 7px, rgba(255, 214, 130, 0) 18px),
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='380'%20height='380'%20viewBox='0%200%20380%20380'%3E%3Cg%20fill='%23d4b76a'%20fill-opacity='.5'%3E%3Cpath%20d='M52%2037L54.0%2042.0%2059%2044L54.0%2046.0%2052%2051L50.0%2046.0%2045%2044L50.0%2042.0z'/%3E%3Cpath%20d='M231%20113L232.4%20116.6%20236%20118L232.4%20119.4%20231%20123L229.6%20119.4%20226%20118L229.6%20116.6z'/%3E%3Cpath%20d='M318%20256L319.7%20260.3%20324%20262L319.7%20263.7%20318%20268L316.3%20263.7%20312%20262L316.3%20260.3z'/%3E%3Cpath%20d='M120%20296L121.1%20298.9%20124%20300L121.1%20301.1%20120%20304L118.9%20301.1%20116%20300L118.9%20298.9z'/%3E%3Cpath%20d='M176%208.5L177.0%2011.0%20179.5%2012L177.0%2013.0%20176%2015.5L175.0%2013.0%20172.5%2012L175.0%2011.0z'/%3E%3Cpath%20d='M346%2057L346.8%2059.2%20349%2060L346.8%2060.8%20346%2063L345.2%2060.8%20343%2060L345.2%2059.2z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 380px 380px,
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='290'%20height='290'%20viewBox='0%200%20290%20290'%3E%3Cg%20fill='%23ffffff'%20fill-opacity='.38'%3E%3Ccircle%20cx='40'%20cy='70'%20r='1.7'/%3E%3Ccircle%20cx='122'%20cy='24'%20r='1.3'/%3E%3Ccircle%20cx='210'%20cy='96'%20r='1.8'/%3E%3Ccircle%20cx='260'%20cy='200'%20r='1.4'/%3E%3Ccircle%20cx='84'%20cy='188'%20r='1.5'/%3E%3Ccircle%20cx='168'%20cy='250'%20r='1.8'/%3E%3Ccircle%20cx='20'%20cy='258'%20r='1.2'/%3E%3Ccircle%20cx='236'%20cy='30'%20r='1.2'/%3E%3C/g%3E%3Cg%20stroke='%23ffffff'%20stroke-opacity='.3'%20stroke-width='1'%20stroke-linecap='round'%20fill='none'%3E%3Cpath%20d='M150%20120v14M144%20123.5l12%207M144%20130.5l12-7'/%3E%3Cpath%20d='M60%20232v11M55%20235l10%205.5M55%20240.5l10-5.5'/%3E%3C/g%3E%3C/svg%3E") 60px 40px / 290px 290px,
        linear-gradient(165deg, #85243b 0%, #5c1627 55%, #3d0e1b 100%);
}

.partner .section-tag {
    color: var(--color-accent-light);
}

.partner-highlight {
    background: rgba(140, 36, 51, 0.07);
}

.partner-highlight strong {
    color: var(--color-berry);
}

/* ===================================
   12. Kontakt
   =================================== */
.contact-item a:hover {
    color: var(--color-primary);
}

/* ===================================
   13. Footer: Lichterkette
   =================================== */
.footer {
    position: relative;
    padding-top: calc(var(--spacing-lg) + 12px);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background:
        radial-gradient(circle at 12px 11px, #d4b76a 4px, transparent 5px),
        radial-gradient(circle at 36px 11px, #e2564f 4px, transparent 5px),
        radial-gradient(circle at 60px 11px, #f4ecd8 4px, transparent 5px),
        radial-gradient(circle at 84px 11px, #5fae82 4px, transparent 5px),
        linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.28)) 0 4px / 96px 1px no-repeat;
    background-repeat: repeat-x;
    background-size: 96px 20px;
    animation: lightsTwinkle 3.2s ease-in-out infinite;
    pointer-events: none;
}

/* Impressum & Datenschutz: schlichte Textseiten */
.legal {
    padding: 140px 0 var(--spacing-lg);
}

.legal .container {
    max-width: 760px;
}

.legal-back {
    display: inline-block;
    margin-bottom: var(--spacing-md);
    color: var(--color-berry);
    font-weight: 500;
}

.legal-back:hover {
    color: var(--color-berry-dark);
}

.legal h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.legal h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: var(--spacing-md) 0 var(--spacing-xs);
}

.legal p,
.legal li {
    line-height: 1.7;
    margin-bottom: var(--spacing-xs);
}

.legal ul {
    list-style: disc;
    padding-left: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.legal a:not(.legal-back) {
    color: var(--color-berry);
    text-decoration: underline;
}

.legal-date {
    margin-top: var(--spacing-md);
    color: var(--color-text-muted);
}

/* ===================================
   14. Chat (Fichti)
   =================================== */
.chat-backdrop {
    background: rgba(12, 24, 19, 0.5);
}

.chat-modal {
    border: 1px solid rgba(196, 163, 90, 0.35);
}

.chat-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-bottom: 2px solid var(--color-accent);
}

.chat-avatar {
    background: #ffffff;
    box-shadow: 0 0 0 2px var(--color-accent-light);
}

/* Profilbild: auf Mütze und Gesicht zoomen */
.chat-avatar img {
    object-fit: cover;
    object-position: 50% 30%;
    transform: scale(1.3);
    transform-origin: 50% 18%;
}

.chat-header-title {
    color: #ffffff;
}

.chat-status {
    color: rgba(255, 255, 255, 0.75);
}

.chat-status-dot {
    background: #6ee7a8;
}

.chat-close-btn {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: none;
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}

.chat-close-btn i,
.chat-close-btn svg {
    color: #ffffff;
}

.chat-messages {
    background: #fbf8f1;
}

.chat-message.bot .chat-message-content {
    background: #ffffff;
    border: 1px solid rgba(196, 163, 90, 0.28);
    box-shadow: 0 1px 4px rgba(26, 58, 47, 0.06);
}

.quick-reply-btn {
    border-color: rgba(196, 163, 90, 0.5);
}

.quick-reply-btn:hover {
    border-color: var(--color-primary);
}

.chat-fab .fab-label {
    border: 1px solid rgba(196, 163, 90, 0.45);
}

/* Chat-Button beim geöffneten Chat ausblenden, ohne dass Animationen neu starten */
.chat-fab.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ===================================
   15. Animationen
   =================================== */

/* Hero: Inhalte nacheinander einblenden */
.hero-content {
    animation: none;
}

.hero-content > * {
    animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > :nth-child(1) { animation-delay: 0.1s; }
.hero-content > :nth-child(2) { animation-delay: 0.3s; }
.hero-content > :nth-child(3) { animation-delay: 0.55s; }
.hero-content > :nth-child(4) { animation-delay: 0.75s; }

/* Scroll-Einblenden (Klassen setzt main.js) */
.fade-in {
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        padding 0.2s ease;
}

.service-item.fade-in {
    transform: translateX(-28px);
}

.partner-card.fade-in {
    transform: translateY(28px) scale(0.97);
}

.service-item.fade-in.visible,
.partner-card.fade-in.visible {
    transform: none;
}

/* Hover-Lift der Karten bleibt nach dem Einblenden erhalten */
.about-card.fade-in.visible:hover {
    transform: translateY(-5px);
}

/* Titel-Ornament: Linien wachsen, Stern blendet ein */
.section-header .section-title::after {
    background-size: 0 1px, 0 1px;
    color: transparent;
    transition: background-size 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s, color 0.6s ease 0.6s;
}

.section-header.visible .section-title::after {
    background-size: 72px 1px, 72px 1px;
    color: var(--ornament-color);
}

/* Maskottchen schwebt leicht, Label blendet verzögert ein */
.fab-mascot {
    animation: mascotFloat 4.5s ease-in-out infinite;
    transform-origin: 50% 90%;
}

.fab-label {
    animation: labelIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 2.2s both;
}

@keyframes heroDrift {
    from { transform: scale(1); }
    to { transform: scale(1.07); }
}

@keyframes snowfall {
    from { transform: translate3d(0, -12px, 0); }
    to { transform: translate3d(var(--drift, 30px), 110vh, 0); }
}

@keyframes lightsTwinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(-2deg); }
}

@keyframes labelIn {
    from { opacity: 0; transform: translate(10px, -50%); }
    to { opacity: 1; transform: translate(0, -50%); }
}

@keyframes menuItemIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   16. Responsive
   =================================== */

/* Tablet: Hoffest-Fenster und Über uns untereinander */
@media (max-width: 820px) {
    .about-story {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .about-photo {
        max-width: 480px;
        width: 100%;
        margin: 0 auto;
    }

    .hoffest .event-content {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hoffest .event-info {
        padding: var(--spacing-md);
    }

    .event-reel {
        width: 100%;
        aspect-ratio: 9 / 16;
    }
}

/* Smartphone */
@media (max-width: 768px) {
    /* Grundabstände */
    .container {
        padding: 0 1.25rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-tag {
        margin-bottom: 0.5rem;
    }

    /* Header: kleineres Logo, feineres Hamburger-Icon */
    .nav {
        padding: 0.5rem 1.25rem;
    }

    .logo-img {
        height: 30px;
    }

    .mobile-menu-btn {
        padding: 12px 8px;
    }

    .mobile-menu-btn span {
        width: 20px;
        height: 1.5px;
    }

    /* Mobilmenü als schwebende Karte; geöffnet wird der Header cremefarben */
    .header:has(.nav-links.active) {
        background: rgba(248, 252, 248, 0.98);
        border-bottom: 1px solid rgba(196, 163, 90, 0.35);
    }

    .nav-links {
        top: 64px;
        left: 12px;
        right: 12px;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.25rem 1.25rem;
        background: #fffdf8;
        border: 1px solid rgba(196, 163, 90, 0.4);
        border-radius: 18px;
        box-shadow: 0 18px 40px rgba(12, 24, 19, 0.28);
        transform: translateY(-12px) scale(0.98);
        transform-origin: top center;
        transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0) scale(1);
    }

    .nav-links li {
        border-bottom: 1px solid rgba(196, 163, 90, 0.28);
    }

    .nav-links li.nav-cta {
        border-bottom: 0;
    }

    .nav-links.active li {
        animation: menuItemIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .nav-links.active li:nth-child(1) { animation-delay: 0.04s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.08s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.12s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.16s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(6) { animation-delay: 0.26s; }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.95rem 0.25rem;
        color: var(--color-primary);
        font-family: var(--font-heading);
        font-size: 1.3rem;
        font-weight: 600;
    }

    .nav-links a::after {
        display: none;
    }

    /* Aktueller Abschnitt: Beerenrot mit goldenem Stern */
    .nav-links a.active {
        color: var(--color-berry);
    }

    .nav-links a.active::before {
        content: '\2726';
        order: 2;
        color: var(--color-accent);
        font-size: 0.85rem;
    }

    .nav-links .nav-cta {
        display: block;
        margin-top: 1rem;
    }

    .nav-links .nav-cta a {
        justify-content: center;
        padding: 0.85rem 1.75rem;
        border-radius: 9999px;
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
        color: #ffffff;
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(31, 67, 54, 0.25);
    }

    /* Hero-Buttons untereinander */
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: min(100%, 320px);
    }

    /* Karten: Icon links, Text rechts statt hoher Zentrierblock */
    .about-grid {
        gap: 0.875rem;
    }

    .about-card {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 1rem;
        align-items: start;
        padding: 1.25rem;
        text-align: left;
    }

    .about-icon {
        grid-row: 1 / span 2;
        width: 52px;
        height: 52px;
        margin: 0;
    }

    .about-icon i,
    .about-icon svg {
        width: 26px;
        height: 26px;
    }

    .about-card h3 {
        margin: 0 0 0.25rem;
    }

    .about-card p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .about-card:hover,
    .about-card.fade-in.visible:hover {
        transform: none;
    }

    /* Standorte: Hinweise untereinander */
    .standorte-hinweise {
        flex-direction: column;
        align-items: flex-start;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Selbst sägen: Nummer neben dem Text */
    .service-item {
        flex-direction: row;
        gap: 1rem;
        padding: 1.25rem 0;
    }

    .service-item:hover {
        padding-left: 0;
    }

    .service-number {
        min-width: 2.25rem;
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .service-content p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    /* Hoffest */
    .hoffest .event-info {
        padding: 1.5rem 1.25rem;
    }

    .event-date {
        font-size: 1.1rem;
    }

    .event-feature {
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .event-feature-icon {
        width: 40px;
        height: 40px;
    }

    .event-feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .event-feature p {
        font-size: 0.92rem;
    }

    .event-reel {
        aspect-ratio: 4 / 5;
    }

    .event-reel video {
        object-position: 50% 45%;
    }

    /* Einblicke: zwei Spalten */
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Partner */
    .partner-card {
        padding: 1.75rem 1.25rem;
    }

    .partner-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .partner-card h3 {
        font-size: 1.5rem;
    }

    .partner-highlight {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .partner-benefits {
        margin: 1.25rem auto;
    }

    /* Kontakt und Footer */
    .contact-wrapper {
        gap: 2rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .footer {
        padding-bottom: 5.5rem;
    }
}

/* Chat-Label am Handy etwas kompakter */
@media (max-width: 600px) {
    .fab-label {
        padding: 6px 11px;
        font-size: 0.8rem;
    }
}

/* Chat passt sich der echten Bildschirmhöhe an, kein Zoom beim Tippen (iOS) */
@media (max-width: 480px) {
    .chat-modal {
        height: 100dvh;
        max-height: 100dvh;
    }

    .chat-input {
        font-size: 16px;
    }

    /* Über uns: Einstieg und Kennzahlen etwas kleiner, "8 Min." bleibt in einer Zeile */
    .about-story-text .about-lead {
        font-size: 1.25rem;
    }

    .about-stat-number {
        font-size: 1.9rem;
        white-space: nowrap;
    }
}

/* Sehr kleine Handys: Hero-Titel etwas kleiner */
@media (max-width: 400px) {
    .hero-title {
        font-size: 2.15rem;
    }

    .hero-content {
        padding: 1.25rem;
    }
}

/* ===================================
   17. Wer weniger Bewegung möchte, bekommt keine
   =================================== */
@media (prefers-reduced-motion: reduce) {
    .snow {
        display: none;
    }

    .footer::before,
    .hero-content > *,
    .hero-background,
    .fab-mascot,
    .fab-label {
        animation: none;
    }

    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .section-header .section-title::after {
        background-size: 72px 1px, 72px 1px;
        color: var(--ornament-color);
        transition: none;
    }
}
