/* Holunderhof-Lohe – Stylesheet */
@font-face { font-family: "Inter"; src: url(/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url(/fonts/merriweather.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url(/fonts/merriweather-italic.woff2) format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --green: #4e923d;
  --green-dark: #3d7630;
  --olive: #768e20;
  --heading: #3b4251;
  --text: #5e5e5e;
  --muted: #8a8a8a;
  --bg: #ffffff;
  --bg-alt: #f4f4f4;
  --line: #e2e2e2;
  --footer-bg: #434549;
  --footer-bg-2: #36383b;
  --footer-text: #e9e9e9;
  --danger: #b5432f;
  --warn: #b7791f;
  --radius: 12px;
  --wrap: 1170px;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --shadow: 0 2px 14px rgba(0, 0, 0, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.9 var(--sans); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--heading); }
h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.35; margin: 0 0 .6em; }
h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25; margin: 1.4em 0 .8em; }
h3 { font-size: 18px; line-height: 1.6; margin: 1.2em 0 .5em; }
h4 { font-size: 15px; line-height: 1.5; margin: 1.2em 0 .4em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
strong { color: #4a4a4a; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 6px; box-shadow: var(--shadow); }
.center { text-align: center; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.lead { font-size: 16px; max-width: 760px; margin-left: auto; margin-right: auto; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.band { padding: 56px 0; }
.band--alt { background: var(--bg-alt); }
.band > .wrap > :first-child { margin-top: 0; }

/* Überschrift mit Linien links & rechts */
.title-sep { display: flex; align-items: center; gap: 18px; text-align: center; margin: 0 0 1.4em; }
.title-sep::before, .title-sep::after { content: ""; flex: 1; border-top: 1px solid currentColor; opacity: .7; }
.title-sep--light { color: #fff; }

/* Kopfzeile */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 20px; }
.logo img { width: auto; height: 70px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 4px; }
.nav a { display: block; font: 400 14.5px/1.4 var(--serif); color: var(--heading); padding: 28px 10px; border-top: 3px solid transparent; }
.nav a:hover { color: var(--green); text-decoration: none; }
.nav > ul > li > a[aria-current] { color: var(--green); border-top-color: var(--green); }
.nav .has-sub { position: relative; }
.nav__sub { position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--green); padding: 6px 0 !important; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.nav__sub a { padding: 9px 18px; border: 0; font-size: 14px; }
.nav__sub a[aria-current] { color: var(--green); }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__toggle { display: none; }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .header-inner { min-height: 68px; }
  .logo img { height: 54px; }
  .menu-btn { display: block; position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--heading); content: ""; transition: .2s; }
  .menu-btn span:first-child { top: 21px; }
  .menu-btn span:first-child::before { left: 0; top: -7px; }
  .menu-btn span:first-child::after { left: 0; top: 7px; }
  .menu-btn[aria-expanded="true"] span:first-child { background: transparent; }
  .menu-btn[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.08); max-height: calc(100vh - 68px); overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s .35s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s; }
  .nav.is-open > ul > li { animation: menu-in .45s cubic-bezier(.2,.7,.2,1) both; }
  .nav.is-open > ul > li:nth-child(2) { animation-delay: .03s; } .nav.is-open > ul > li:nth-child(3) { animation-delay: .06s; }
  .nav.is-open > ul > li:nth-child(4) { animation-delay: .09s; } .nav.is-open > ul > li:nth-child(5) { animation-delay: .12s; }
  .nav.is-open > ul > li:nth-child(6) { animation-delay: .15s; } .nav.is-open > ul > li:nth-child(7) { animation-delay: .18s; }
  .nav > ul { flex-direction: column; gap: 0; padding: 6px 0 14px; }
  .nav li { border-bottom: 1px solid #f0f0f0; }
  .nav a { padding: 12px 20px; border: 0; font-size: 16px; }
  .nav > ul > li > a[aria-current] { border: 0; }
  .nav .has-sub { display: grid; grid-template-columns: 1fr 52px; }
  .nav__toggle { display: block; border: 0; background: none; cursor: pointer; }
  .nav__toggle::after { content: ""; display: inline-block; width: 8px; height: 8px; border: solid var(--heading); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: .2s; }
  .nav__toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .nav__sub { position: static; grid-column: 1 / -1; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: #fafafa; padding: 0 !important; }
  .nav__sub.is-open { display: block; }
  .nav__sub a { padding-left: 36px; }
}

/* Kopfbild */
.hero { position: relative; min-height: clamp(220px, 34vw, 420px); background: #2c2c2c; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
/* Bild/Video ragt oben und unten über, damit beim Parallax keine Kanten sichtbar werden */
.hero__bg, .hero video { position: absolute; left: 0; right: 0; top: -22%; bottom: -22%; z-index: -1; will-change: translate; }
.hero__bg { background: center / cover no-repeat; }
.hero video { width: 100%; height: 144%; object-fit: cover; }
.hero__inner { will-change: translate, opacity; }
h1.hero__title { color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.22)); pointer-events: none; }
.hero__inner { position: relative; width: 100%; padding: 0 4%; }
.hero__title { margin: 0; font: 400 clamp(20px, 3.4vw, 34px)/1.3 var(--serif); text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 2px 22px rgba(0,0,0,.55); }
.hero__title::before, .hero__title::after { opacity: 1; box-shadow: 0 1px 6px rgba(0,0,0,.3); }
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } }

/* Raster */
.row { display: flex; flex-wrap: wrap; gap: 30px; }
.col { flex: 1 1 100%; min-width: 0; }
@media (min-width: 760px) {
  .col-1-2 { flex: 1 1 calc(50% - 30px); }
  .col-1-3 { flex: 1 1 calc(33.333% - 30px); max-width: calc(33.333% - 20px); }
  .col-2-3 { flex: 1 1 calc(66.666% - 30px); }
  .col-1-4 { flex: 1 1 calc(25% - 30px); }
  .col-3-4 { flex: 1 1 calc(75% - 30px); }
}
.align-center { align-items: center; }

/* Bilder & Galerie */
img.round { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.rounded { border-radius: var(--radius); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 5 / 4; background: #ddd; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
/* Galerie mit festen 2/4 Spalten; .gallery__wide belegt zwei Felder (z. B. Querformat), damit der Block immer voll ist */
.gallery--even { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery--even { grid-template-columns: repeat(4, 1fr); } }
.gallery .gallery__wide { grid-column: span 2; aspect-ratio: 5 / 2; }
@media (min-width: 760px) { .gallery--even .gallery__wide { aspect-ratio: auto; } }
.gallery--2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }@media (max-width: 480px) { .gallery, .gallery--2 { grid-template-columns: 1fr 1fr; gap: 6px; } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(15,15,15,.92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lb img { max-width: 100%; max-height: 100%; width: auto; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff; font: 600 14px/1 var(--sans); padding: 14px 26px; border-radius: 6px; border: 0; cursor: pointer; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
.btn--small { padding: 10px 18px; font-size: 13px; }
.btn-wrap { margin: 1.2em 0 0; }
.more { font-weight: 600; font-size: 14px; }
.more::after { content: "\00a0→"; }

/* Aufklapp-Infos (z. B. „mehr erfahren“) */
details.more-info { border-top: 1px solid var(--line); margin-top: 1em; }
details.more-info summary { cursor: pointer; padding: 10px 0; color: var(--green); font-weight: 600; font-size: 14px; list-style: none; }
details.more-info summary::-webkit-details-marker { display: none; }
details.more-info summary::before { content: "+ "; }
details.more-info[open] summary::before { content: "– "; }

/* Startseite */
.intro { display: grid; gap: 40px; align-items: center; }
@media (min-width: 760px) { .intro { grid-template-columns: 1fr 3fr; } }
.intro img.round { max-width: 240px; margin: 0 auto; }
.feature { display: grid; gap: 30px; align-items: center; max-width: 980px; margin: 0 auto; }
@media (min-width: 760px) { .feature { grid-template-columns: 2fr 3fr; gap: 50px; } }
.feature h2 { margin-top: 0; }
.feature .lead { margin: 0; }
.feature .lightbox { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature .lightbox img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s var(--ease-out); }
.feature .lightbox:hover img { transform: scale(1.04); }
.notice { background: #f1f7ee; border-left: 4px solid var(--green); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 2em; }
.notice p:last-child { margin: 0; }
.notice__title { font-weight: 700; color: var(--green); margin: 0 0 .3em; }
.hinweise .notice + .notice { margin-top: -1em; }
.notice--in { animation: notice-in .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes notice-in { from { opacity: 0; translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .notice--in { animation: none; } }
.cards { display: grid; gap: 26px; }
.card { display: grid; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 760px) { .card { grid-template-columns: 1fr 2fr; } }
.card__img { min-height: 220px; background: center / cover no-repeat; }
.card__body { padding: 24px 30px; }
.card__body h3 { font-size: 24px; margin: 0 0 .2em; }
.card__sub { color: var(--green); font-weight: 600; font-size: 14px; }
.card__body .btn-wrap { text-align: right; }

/* Öffnungszeiten */
.hours { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.hours__item h4 { margin: 0 0 .3em; font-size: 16px; }
.hours-split > div > h3 { margin-top: 0; color: var(--green); }
.hours__time { font-size: 16px; letter-spacing: .05em; color: #4a4a4a; margin: 0 0 .4em; }
.hours__note { font-size: 14px; margin: 0; }
.hours-split { display: grid; gap: 40px; }
@media (min-width: 760px) { .hours-split { grid-template-columns: 1fr 2fr; } }

/* Veranstaltungen */
.ev-month { margin-bottom: 18px; }
.ev-month__title { display: flex; align-items: center; gap: 16px; font: 500 15px/1.4 var(--sans); color: var(--muted); margin: 28px 0 10px; }
.ev-month__title::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.ev-list { list-style: none; margin: 0; padding: 0; }
.ev-date { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.ev-date__wd { font: 400 12px var(--serif); color: var(--heading); }
.ev-date__d { font: 700 26px var(--serif); color: var(--green); }
.ev-list--compact .ev a { display: grid; grid-template-columns: 56px 130px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; }
.ev-list--compact .ev a:hover { text-decoration: none; background: #fafcf9; }
.ev-list--compact .ev-time { font-size: 13px; color: var(--muted); }
.ev-list--compact .ev-title { font-weight: 600; color: var(--green); font-size: 14.5px; }
@media (max-width: 560px) {
  .ev-list--compact .ev a { grid-template-columns: 48px 1fr; row-gap: 0; }
  .ev-list--compact .ev-date { grid-row: span 2; }
}
.ev--card { display: grid; grid-template-columns: 70px 1fr; gap: 10px 26px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 22px; }
.ev--card .ev-date { padding-top: 4px; }
.ev--card .ev-title { font: 700 21px/1.35 var(--sans); margin: .2em 0 .6em; }
.ev--card .ev-title a { color: var(--green); }
.ev-meta { margin: 0; font-size: 14px; color: var(--muted); }
.ev-excerpt { font-size: 14.5px; margin-bottom: .6em; }
.ev-price { font-size: 14px; }
.ev-img { grid-column: 1 / -1; }
.ev-img img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; max-height: 260px; }
@media (min-width: 760px) {
  .ev--card { grid-template-columns: 70px 1fr 260px; }
  .ev-img { grid-column: auto; }
  .ev-img img { max-height: none; }
}
.ev-note { display: block; font-size: 13px; color: var(--muted); font-weight: 400; font-style: italic; }
.badge { display: inline-block; vertical-align: middle; font: 700 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; background: #eee; color: #555; margin-left: 4px; }
.badge--ausgebucht, .badge--abgesagt { background: #fbe9e5; color: var(--danger); }
.badge--warteliste, .badge--wenige { background: #fdf3e1; color: var(--warn); }
.empty { padding: 20px; background: var(--bg-alt); border-radius: var(--radius); text-align: center; }
.ics-all { margin-top: 30px; font-size: 14px; }
.page-programm .band { background: var(--bg-alt); }
.page-programm .ev--card { margin-bottom: 26px; }

/* Einzelveranstaltung */
.back { font-size: 14px; margin-bottom: 1.5em; }
.event__grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .event__grid { grid-template-columns: 1.7fr 1fr; } }
.event h1 .badge { font-size: 12px; }
.event__desc { font-size: 15.5px; }
.event__img { border-radius: var(--radius); width: 100%; margin-bottom: 10px; }
.event__side h2 { font-size: 18px; margin: 1.4em 0 .5em; }
.ev-dates { list-style: none; padding: 0; margin: 0 0 1em; }
.ev-dates li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ev-dt { font-weight: 600; color: #4a4a4a; display: block; }
.ev-dates .ev-time { color: var(--muted); }

/* Online-Anmeldung (assets/js/buchung.js) */
.buchung { background: #f1f7ee; border-radius: var(--radius); padding: 4px 20px 20px; margin: 0 0 1.2em; animation: notice-in .5s var(--ease-out, ease) both; }
.buchung h2 { margin-top: .9em !important; }
.buchung label { display: block; font-size: 14px; font-weight: 600; color: var(--heading); margin: 10px 0 0; }
.buchung label small { font-weight: 400; color: var(--muted); }
.buchung input[type=text], .buchung input[type=email], .buchung input[type=tel], .buchung input[type=number], .buchung textarea {
  display: block; width: 100%; margin-top: 4px; font: 15px var(--sans); color: var(--text); padding: 10px 12px; border: 1px solid #cfd8ca; border-radius: 8px; background: #fff; }
.buchung input:focus, .buchung textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.buchung input[type=number] { width: 90px; }
.buchung fieldset { border: 0; padding: 0; margin: 0; }
.buchung__termin { display: flex !important; gap: 10px; align-items: baseline; font-weight: 400 !important; padding: 8px 10px; margin: 6px 0 0 !important; background: #fff; border-radius: 8px; cursor: pointer; }
.buchung__termin input { accent-color: var(--green); }
.buchung__termin small { display: block; color: var(--green-dark); }
.buchung__termin small.is-voll { color: var(--warn); }
.buchung__check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; color: var(--text) !important; margin-top: 14px !important; }
.buchung__check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--green); }
.buchung__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.buchung .btn { margin-top: 16px; width: 100%; font-size: 15px; }
.buchung .btn:disabled { opacity: .6; cursor: default; }
.buchung__fehler { color: var(--danger); font-weight: 600; font-size: 14px; margin: 12px 0 0; }
.buchung__fehler .btn { margin-top: 10px; }
.buchung__klein { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.buchung__ok h2 { color: var(--green-dark); }
.buchung__hinweis { font-size: 14px; margin: 0; }
.ev-frei { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--green-dark); }
.ev-frei--voll { color: var(--warn); }
.badge--test { background: #e6eef8; color: #3b6ea8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.storno .btn--ghost, .buchung .btn--ghost { background: transparent; color: var(--green-dark); box-shadow: inset 0 0 0 1.5px currentColor; }
.event__cta { background: #f1f7ee; padding: 14px 18px; border-radius: var(--radius); font-size: 14.5px; }

/* Blog */
.post-list { display: grid; gap: 30px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.post-card__img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post-card__body { padding: 18px 22px 8px; }
.post-card h2 { font-size: 19px; margin: 0 0 .5em; line-height: 1.4; }
.post-card h2 a { color: var(--heading); }
.post-card p { font-size: 14px; }
.post-date { color: var(--muted); font-size: 13px; margin: 0 0 .3em; }
.post .gallery { margin: 1.5em 0; }
.post video { width: 100%; border-radius: var(--radius); background: #000; }
.page-blog .band { background: var(--bg-alt); }

/* Angebots-Kacheln, Preise, Listen */
.offer-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
/* Karten mit Aufklapp-Text nicht auf gleiche Höhe ziehen – sonst wachsen die Nachbarn leer mit */
.offer-grid:has(details) { align-items: start; }
details.more-info h4 { margin-top: .4em; }
.offer { display: block; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 0 18px; overflow: hidden; color: var(--text); }
a.offer:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,.1); }
a.offer { transition: .2s; }
.offer img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 14px; }
.offer > :not(img) { margin-left: 22px; margin-right: 22px; }
.offer h2, .offer h3 { font-size: 20px; margin-top: 0; margin-bottom: .3em; }
.offer p { font-size: 14px; margin-bottom: .4em; }
.band--alt .offer { background: #fff; }
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.price-box { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 18px 22px; }
.price-box > ul { align-self: stretch; }
/* Button immer unten links, egal wie lang Titel/Liste sind */
.price-box > p:last-child { margin: auto 0 0; padding-top: 8px; }
.price-box h3 { margin-top: 0; }
.price-box__main strong { font: 700 26px var(--serif); color: var(--green); }
.price-box ul { font-size: 14px; }
.topic-list { columns: 1; }
.topic-list li { padding: 4px 0; }
.quote { margin: 2em 0; padding: 22px 28px; border-left: 4px solid var(--green); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { font: italic 400 20px/1.5 var(--serif); color: var(--heading); margin: 0 0 .4em; }
.quote footer { font-weight: 600; }
.partner-list { list-style: none; padding: 0; }
.partner-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.post-hero { border-radius: var(--radius); width: 100%; max-height: 480px; object-fit: cover; margin-bottom: 1.5em; }

/* Startseite: „Weitere Angebote“ – quadratische Bildkacheln, Text fährt beim Hover hoch */
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.tile { position: relative; display: block; flex: 0 1 calc(33.333% - 20px); min-width: 240px; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); color: #fff; background: #333; isolation: isolate; box-shadow: var(--shadow); }
.tile:hover { text-decoration: none; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease-out, ease), filter .6s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); transition: opacity .5s; }
.tile__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; transform: translateY(calc(100% - 74px)); transition: transform .6s var(--ease-out, ease), background-color .5s; }
.tile__title { display: block; font: 400 22px/1.3 var(--serif); text-shadow: 0 1px 8px rgba(0,0,0,.35); transition: color .5s, text-shadow .5s; }
.tile__text { display: block; margin-top: 10px; font: 400 16px/1.45 var(--serif); color: var(--heading); opacity: 0; transform: translateY(12px); transition: opacity .45s .08s, transform .6s .08s var(--ease-out, ease); }
.tile:hover .tile__caption, .tile:focus-visible .tile__caption { transform: translateY(0); background: #f2f3f5; }
.tile:hover .tile__title, .tile:focus-visible .tile__title { color: var(--green); text-shadow: none; }
.tile:hover .tile__text, .tile:focus-visible .tile__text { opacity: 1; transform: none; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.08) translateY(-4%); }
.tile:hover::before { opacity: 0; }
/* Touch-Geräte ohne Hover: Text immer zeigen */
@media (hover: none) {
  .tile__caption { transform: none; background: rgba(242,243,245,.94); }
  .tile__title { color: var(--green); text-shadow: none; }
  .tile__text { opacity: 1; transform: none; font-size: 14px; }
  .tile::before { display: none; }
}
@media (max-width: 560px) { .tile { flex-basis: 100%; } }

/* Social Media */
:root { --insta: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.icon { display: inline-block; vertical-align: middle; flex: none; }

/* Kopfzeile: kleine Symbole rechts neben dem Menü */
.nav__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__social a { display: flex; align-items: center; gap: 8px; color: var(--heading); padding: 8px; border-radius: 50%; transition: color .25s, background-color .25s, transform .3s var(--ease-out, ease); }
.nav__social a:hover { text-decoration: none; transform: translateY(-1px); }
.nav__social a[aria-label^="Instagram"]:hover { color: #d6249f; background: #fdf0f6; }
.nav__social a[aria-label^="Facebook"]:hover { color: #1877f2; background: #eef4fe; }
.nav__social-label { display: none; }
@media (min-width: 961px) {
  .nav { display: flex; align-items: center; }
  .nav__social { margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line); }
}
@media (max-width: 960px) {
  /* höhere Spezifität als „.nav > ul“ (Hauptmenü-Spalte) */
  .nav > ul.nav__social { flex-direction: row; flex-wrap: wrap; padding: 14px 20px 20px; gap: 10px; }
  .nav .nav__social li { border-bottom: 0; }
  .nav__social a { border-radius: 999px; border: 1px solid var(--line); padding: 9px 16px; font: 500 15px var(--sans); }
  .nav__social-label { display: inline; }
}

/* Hinweiszeile Programm/Veranstaltungen */
.insta-hint { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--text); margin: -4px auto 18px; }
.insta-hint .icon { color: #d6249f; }
.insta-hint a { font-weight: 600; }
.event__main .insta-hint { justify-content: flex-start; margin: 14px 0 0; }

/* Fußzeile: Social-Zeile über dem Copyright */
.footer-social { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-social .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.footer-social p { margin: 0; font: 400 15px var(--serif); color: #fff; }
.footer-social ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 14px; overflow: hidden; isolation: isolate; transition: border-color .3s, transform .3s var(--ease-out, ease); }
.pill small { opacity: .65; font-size: 12.5px; }
.pill::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; }
.pill--insta::before { background: var(--insta); }
.pill--fb::before { background: #1877f2; }
.pill:hover { text-decoration: none; color: #fff; border-color: transparent; transform: translateY(-2px); }
.pill:hover::before { opacity: 1; }
.pill:hover small { opacity: .9; }

/* Café-Karte */
.menu { max-width: 860px; margin: 0 auto; }
.menu__card { position: relative; background: #fbfaf6; border: 1px solid #ece8dd; border-radius: var(--radius); padding: 34px 36px 28px; box-shadow: var(--shadow); }
.menu__card::before { content: ""; position: absolute; inset: 8px; border: 1px solid #ece8dd; border-radius: 8px; pointer-events: none; }
.menu__kicker { position: relative; text-align: center; font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--green); margin: 0 0 26px; }
.menu__groups { position: relative; display: grid; gap: 26px 30px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.menu__group h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 18px; }
.menu__group h3 svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.menu__group ul { list-style: none; margin: 0; padding: 0; }
.menu__group li { position: relative; padding: 9px 0 9px 16px; border-bottom: 1px dashed #ddd6c6; font-size: 15px; color: #4a4a4a; transition: color .25s, padding-left .35s var(--ease-out, ease); }
.menu__group li:last-child { border-bottom: 0; }
.menu__group li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #c9b98f; transition: background .25s, transform .35s var(--ease-out, ease); }
.menu__group li:hover { color: var(--green); padding-left: 20px; }
.menu__group li:hover::before { background: var(--green); transform: scale(1.4); }
.menu__note { position: relative; text-align: center; font: italic 400 15px/1.6 var(--serif); color: var(--heading); margin: 26px 0 0; padding-top: 18px; border-top: 1px solid #ece8dd; }
@media (max-width: 560px) { .menu__card { padding: 28px 22px 22px; } }

/* Logos (Kräuterpädagoge, Landerlebnisreisen) */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.logo-card { flex: 0 1 340px; display: flex; flex-direction: column; align-items: center; gap: 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; color: var(--heading); transition: transform .45s var(--ease-out, ease), box-shadow .45s; }
.logo-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.09); }
.logo-card h2 { font-size: 20px; margin: 0; text-align: center; }
.logo-card img { width: 150px; height: auto; transition: transform .5s var(--ease-out, ease); }
.logo-card:hover img { transform: scale(1.06); }

/* Karte */
.map-consent { background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23e6e6e6'/%3E%3C/svg%3E"); border-radius: var(--radius); padding: 22px; text-align: center; font-size: 13.5px; color: var(--text); }
.map-consent__route { display: block; margin-top: 10px; }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: var(--radius); display: block; }

/* Rechtstexte */
.legal h2 { font-size: 22px; }
.legal h3 { font-size: 17px; }

/* Fußzeile */
.site-footer { background: var(--footer-bg); color: var(--footer-text); font-size: 14px; margin-top: 0; }
.site-footer a, .site-footer strong { color: #fff; }
.site-footer h2 { color: #fff; font-size: 16px; margin: 0 0 1em; }
.footer-grid { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 46px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.footer-grid img { border-radius: var(--radius); }
.f-list { list-style: none; padding: 0; margin: 0 0 1em; }
.f-list li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.1); line-height: 1.5; }
.f-ev__date { color: #b9d8ae; font-weight: 600; margin-right: 4px; }
.contact { font-style: normal; margin-bottom: 1em; }
.bio { display: flex; align-items: center; gap: 12px; }
.bio img { border-radius: 4px; }
.copyright { background: var(--footer-bg-2); padding: 18px 0; font-size: 13px; }
.copyright { font-size: 14px; }
.copyright .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; }
.copyright p { margin: 0; }
.copyright__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.copyright__links a, .f-legal a { color: #cfe6c6; text-decoration: underline; text-decoration-color: rgba(207,230,198,.45); text-underline-offset: 3px; }
.copyright__links a:hover, .f-legal a:hover { color: #fff; text-decoration-color: #fff; }
.f-legal { margin: 0 0 1.2em; }
.f-legal h3 { color: #fff; font-size: 14px; margin: 0 0 .3em; }
.f-legal ul { list-style: none; margin: 0; padding: 0; }
.f-legal li { padding: 2px 0; }

/* Video-Einbettung */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }

@media (max-width: 560px) {
  .band { padding: 40px 0; }
  .ev--card { grid-template-columns: 52px 1fr; padding: 18px 16px; gap: 8px 14px; }
  .ev--card .ev-title { font-size: 18px; }
}
/* =========================================================
   Animationen – nur mit JavaScript (Klasse .js) und nur,
   wenn das System keine reduzierte Bewegung wünscht
   ========================================================= */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); --ease-soft: cubic-bezier(.4, 0, .2, 1); }

/* Weicher Seitenwechsel (Chrome/Edge/Safari; andere Browser ignorieren das) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .25s var(--ease-soft) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* Kopfzeile: beim Scrollen kompakter */
.site-header { transition: box-shadow .4s var(--ease-soft), background-color .4s; }
.logo img { transition: height .4s var(--ease-out); }
.nav > ul > li > a { transition: padding .4s var(--ease-out), color .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
@media (min-width: 961px) {
  .site-header.is-scrolled .logo img { height: 52px; }
  .site-header.is-scrolled .nav > ul > li > a { padding-top: 20px; padding-bottom: 20px; }
}

/* Menü: Linie wächst aus der Mitte */
@media (min-width: 961px) {
  .nav > ul > li > a { position: relative; border-top-color: transparent !important; }
  .nav > ul:not(.nav__social) > li > a::before { content: ""; position: absolute; left: 10px; right: 10px; top: -3px; height: 3px; background: var(--green); transform: scaleX(0); transition: transform .35s var(--ease-out); }
  .nav > ul > li > a:hover::before, .nav > ul > li > a[aria-current]::before { transform: scaleX(1); }
}
@keyframes menu-in { from { opacity: 0; transform: translateX(-12px); } }

/* Kopfbild: langsamer Zoom, Titel und Linien bauen sich auf */
.js .hero__bg { animation: hero-zoom 2.4s var(--ease-out) both; }
.js .hero video { animation: fade-in 1.2s .2s var(--ease-soft) both; }
.js .hero__title { animation: rise-in 1.1s .35s var(--ease-out) both; }
.js .hero__title::before, .js .hero__title::after { animation: line-grow 1.2s .6s var(--ease-out) both; }
.js .hero__title::before { transform-origin: right; }
.js .hero__title::after { transform-origin: left; }
@keyframes hero-zoom { from { scale: 1.08; opacity: .4; } to { scale: 1; opacity: 1; } }

/* Ken Burns: nach dem Einstieg langsam zoomen und wandern, endlos hin und zurück.
   Nutzt „transform“, Einstieg nutzt „scale“, Parallax nutzt „translate“ → alles kombiniert sich. */
.js .hero--kb .hero__bg { animation: hero-zoom 2.4s var(--ease-out) both, ken-burns 26s 2.4s ease-in-out infinite alternate; }
@keyframes ken-burns { from { transform: none; } to { transform: scale(1.12) translate(var(--kb-x, -2%), var(--kb-y, -1%)); } }

/* 3D-Tiefeneffekt: Canvas liegt im Bild-Container und erbt Ken Burns + Parallax */
.hero__depth { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease-soft); }
.hero__depth.is-ready { opacity: 1; }

/* Schwebende Pollen (Canvas, per JS gezeichnet) */
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; filter: drop-shadow(0 0 3px rgba(255,255,255,.35)); }
.js .hero__particles { animation: fade-in 2.5s 1s var(--ease-soft) both; }
.hero__inner { z-index: 1; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); letter-spacing: .06em; } }
@keyframes line-grow { from { transform: scaleX(0); } }

/* Überschriften mit Linien: Linien wachsen beim Erscheinen */
.js .title-sep[data-reveal]::before, .js .title-sep[data-reveal]::after { transform: scaleX(0); transition: transform 1.1s .15s var(--ease-out); }
.js .title-sep[data-reveal]::before { transform-origin: right; }
.js .title-sep[data-reveal]::after { transform-origin: left; }
.js .title-sep[data-reveal].is-visible::before, .js .title-sep[data-reveal].is-visible::after { transform: scaleX(1); }

/* Einblenden beim Scrollen (Attribut wird per JS gesetzt) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--reveal-delay, 0s); will-change: opacity, transform; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(.96); }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Bilder blenden weich ein, sobald sie geladen sind */
.js img.fade-img { opacity: 0; transition: opacity .7s var(--ease-soft); }
.js img.fade-img.is-loaded { opacity: 1; }
.card__img { transition: transform 1s var(--ease-out); }

/* Hover: sanftes Anheben */
.card, .post-card, .ev--card, .price-box { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.card:hover, .post-card:hover, .ev--card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.09); }
.card { overflow: hidden; }
.card:hover .card__img { transform: scale(1.04); }
.post-card__img, .ev-img { display: block; overflow: hidden; border-radius: inherit; }
.post-card__img img, .ev-img img { transition: transform .9s var(--ease-out); }
.post-card:hover .post-card__img img, .ev--card:hover .ev-img img { transform: scale(1.05); }
a.offer { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
a.offer:hover { transform: translateY(-4px); }
.offer img { transition: transform .9s var(--ease-out); }
a.offer:hover img { transform: scale(1.04); }
.gallery img { transition: transform .8s var(--ease-out), opacity .7s var(--ease-soft); }
.btn { transition: background .25s, transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(78,146,61,.28); }
.btn:active { transform: translateY(0); box-shadow: none; transition-duration: .08s; }
.more::after { display: inline-block; transition: transform .3s var(--ease-out); }
.more:hover::after { transform: translateX(4px); }
.ev-list--compact .ev a { transition: background .3s, padding .35s var(--ease-out); }
.ev-list--compact .ev a:hover { padding-left: 6px; }

/* Lightbox: weich auf- und zuziehen */
.lb { animation: fade-in .3s var(--ease-soft) both; }
.lb img { animation: lb-in .45s var(--ease-out) both; transition: opacity .25s; }
.lb.is-closing { animation: vt-out .25s var(--ease-soft) both; }
.lb img.is-switching { opacity: 0; }
@keyframes lb-in { from { opacity: 0; transform: scale(.94); } }

/* Aufklapp-Infos animiert öffnen (moderne Browser) */
details.more-info { interpolate-size: allow-keywords; }
details.more-info::details-content { height: 0; overflow: hidden; opacity: 0; transition: height .45s var(--ease-out), opacity .4s, content-visibility .45s allow-discrete; }
details.more-info[open]::details-content { height: auto; opacity: 1; }
details.more-info summary::before { display: inline-block; transition: transform .3s; }

/* Karte nach Klick einblenden */
.map-frame { animation: fade-in .6s var(--ease-soft) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js img.fade-img { opacity: 1 !important; transform: none !important; }
  @view-transition { navigation: none; }
}

@media print {
  .js [data-reveal], .js img.fade-img { opacity: 1 !important; transform: none !important; }
  .site-header, .site-footer, .hero, .menu-btn { display: none; }
}
