/* Wurzelkinder – Website
   Farben und Schrift nach dem Jubiläums-Flyer: Papiergrund, Waldgrün, Rostrot, Erdbraun.
   Überschriften: Amatic SC, Text: Nunito (beide selbst gehostet). */

@font-face { font-family: 'Amatic SC'; font-weight: 400; font-display: swap; src: url('../fonts/amatic-sc-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Amatic SC'; font-weight: 700; font-display: swap; src: url('../fonts/amatic-sc-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url('../fonts/nunito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 400; font-style: italic; font-display: swap; src: url('../fonts/nunito-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url('../fonts/nunito-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('../fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('../fonts/nunito-latin-800-normal.woff2') format('woff2'); }

:root { color-scheme: only light;
  --papier: #FAF8EE;
  --papier-2: #F1EBD8;
  --karte: #FFFDF6;
  --linie: #E6DCC2;
  --sand: #D0BE98;
  --gruen: #45755D;
  --gruen-dunkel: #2F5240;
  --gruen-hell: #EDEEDD;
  --rost: #994435;
  --rost-dunkel: #7A3326;
  --rosa: #F4E6DA;
  --erde: #8A5A4F;
  --text: #4A4A43;
  --text-leise: #6B6457;
  --schatten: 0 10px 28px rgba(74, 58, 40, 0.12);
  --rund: 22px;
  --breite: 1240px;
  --display: 'Amatic SC', 'Comic Sans MS', cursive;
  --sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--papier); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
html, body { overflow-x: clip; }
main { overflow-x: clip; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-dunkel); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rost); }
:focus-visible { outline: 3px solid var(--rost); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.springen { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gruen-dunkel); color: #fff; padding: 10px 16px; border-radius: 10px; }
.springen:focus { top: 12px; color: #fff; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.fd { font-family: var(--display); font-weight: 700; letter-spacing: 0.02em; }
.augenbraue { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--gruen); margin: 0 0 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0.02em; color: var(--gruen-dunkel); margin: 0; }
.h1 { font-size: clamp(56px, 7vw, 104px); line-height: 0.95; color: var(--rost); }
.h2 { font-size: clamp(44px, 4.6vw, 68px); line-height: 1; color: var(--rost); }
.h3 { font-size: 32px; line-height: 1.05; }

/* ---------------------------------------------------------------- Knöpfe */
.knopf, .prose a.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; background: var(--gruen); color: #FFFDF6; font-weight: 700; text-decoration: none; border: 2px solid var(--gruen); cursor: pointer; font-family: var(--sans); font-size: 16px; }
.knopf:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: #fff; }
.knopf--rost { background: var(--rost); border-color: var(--rost); }
.knopf--rost:hover { background: var(--rost-dunkel); border-color: var(--rost-dunkel); }
.knopf--rahmen { background: transparent; color: var(--gruen-dunkel); }
.knopf--rahmen:hover { background: var(--gruen); color: #fff; }
.knopf--klein { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }
.pfeil-link { font-weight: 700; text-decoration: none; }
.pfeil-link::after { content: ' →'; }

/* ------------------------------------------------------------------ Kopf */
.kopf { position: sticky; top: 0; z-index: 30; background: rgba(250, 248, 238, 0.96); backdrop-filter: blur(6px); border-bottom: 2px dotted var(--sand); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; }
.kopf__logo img { height: 68px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__panel { display: flex; align-items: center; }
.nav__liste { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__punkt { position: relative; }
.nav__link { display: flex; align-items: center; gap: 5px; padding: 12px 10px; font-weight: 700; font-size: 15.5px; color: var(--gruen-dunkel); text-decoration: none; border-radius: 12px; white-space: nowrap; }
.nav__link:hover, .nav__punkt:focus-within > .nav__link, .nav__link[aria-current="page"], .nav__punkt.ist-aktiv > .nav__link { color: var(--rost); }
.nav__link svg { width: 12px; height: 12px; }
.nav__unter { position: absolute; top: calc(100% - 4px); left: 0; min-width: 270px; list-style: none; margin: 0; padding: 10px; background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; box-shadow: var(--schatten); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__punkt:hover > .nav__unter, .nav__punkt:focus-within > .nav__unter { opacity: 1; visibility: visible; transform: none; }
.nav__unter a { display: block; padding: 9px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--text); }
.nav__unter a:hover, .nav__unter a[aria-current="page"] { background: var(--gruen-hell); color: var(--gruen-dunkel); }
.nav__cta { margin-left: 10px; }
.nav__schalter { display: none; }

/* ------------------------------------------------------------ Startseite */
.start-held { position: relative; padding: 80px 0 120px; }
.start-held__raster { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.start-held__text { position: relative; flex: 1 1 440px; min-width: 0; padding-left: 40px; }
.start-held__text p.einleitung { font-size: 20px; max-width: 34ch; margin: 0 0 32px; }
.start-held__bilder { position: relative; flex: 1 1 500px; min-width: 0; height: 560px; margin-right: 40px; } /* Gegenstück zum Text-Einzug: Block sitzt mittig */
.foto-blob { position: absolute; left: 0; top: 30px; width: 68%; height: 470px; object-fit: cover; border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; box-shadow: 0 18px 40px rgba(74, 58, 40, 0.18); }
.foto-abzug { position: absolute; width: 40%; height: 230px; object-fit: cover; border: 10px solid #FFFDF6; box-shadow: 0 10px 24px rgba(74, 58, 40, 0.18); }
.foto-abzug--1 { right: 0; top: 0; transform: rotate(3deg); }
.foto-abzug--2 { right: 4%; bottom: 0; transform: rotate(-4deg); width: 38%; }
.deko { position: absolute; pointer-events: none; user-select: none; }
.deko--ast { left: 0; top: 0; width: clamp(150px, 13vw, 260px); }
.deko--reh { left: 0; bottom: 0; width: clamp(140px, 12vw, 240px); }
.deko--rotkehlchen { right: 0; top: 0; width: clamp(130px, 11vw, 220px); }
.start-held .deko { z-index: 0; }
.start-held__raster { z-index: 1; }
.deko--schmetterling { width: 70px; transform: rotate(12deg); right: 12%; top: -40px; }
.deko--eichhoernchen { right: 0; bottom: 0; width: 300px; }

.blick { background: var(--papier-2); border-top: 2px dotted var(--sand); border-bottom: 2px dotted var(--sand); }
.blick__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding: 36px 24px; text-align: center; }
.blick__punkt { display: flex; flex-direction: column; gap: 2px; }
.blick__label { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6E5E44; }
.blick__wert { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.05; color: var(--gruen-dunkel); }

.abschnitt { padding: 104px 0; position: relative; }
.abschnitt--gruen { background: var(--gruen-hell); }
.abschnitt__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 44px; }
.abschnitt__kopf--mitte { justify-content: center; text-align: center; }

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.karte p { margin: 0; }
.karte__icon { width: 34px; height: 34px; color: var(--gruen); }
a.karte { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); color: inherit; }

.beitraege { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.beitrag-karte { background: var(--karte); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; box-shadow: 0 6px 18px rgba(74, 58, 40, 0.08); transition: transform .15s, box-shadow .15s; }
.beitrag-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); color: inherit; }
.beitrag-karte__bild { height: 200px; width: 100%; object-fit: cover; object-position: top; background: var(--papier-2); }
.beitrag-karte__leer { height: 200px; display: grid; place-items: center; background: var(--papier-2); }
.beitrag-karte__leer img { width: 120px; opacity: .9; }
.beitrag-karte__text { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.beitrag-karte__datum { font-size: 14px; color: var(--text-leise); }
.beitrag-karte__titel { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.05; color: var(--gruen-dunkel); }
.beitrag-karte__pdf { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--erde); }

.einladung { position: relative; background: var(--rosa); border-radius: 36px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; overflow: hidden; }
.einladung__text { flex: 1 1 460px; min-width: 0; max-width: 640px; position: relative; z-index: 1; }
.einladung__text p { font-size: 19px; max-width: 46ch; margin: 0 0 26px; }
.einladung__motiv { position: absolute; right: -40px; bottom: -40px; width: 200px; height: auto; pointer-events: none; }

/* -------------------------------------------------------------- Seitenkopf */
.seitenkopf { position: relative; padding: 56px 0 48px; border-bottom: 2px dotted var(--sand); overflow: hidden; }
.seitenkopf__raster { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.seitenkopf__text { flex: 1 1 520px; min-width: 0; position: relative; z-index: 1; }
.seitenkopf__bild { flex: 0 1 460px; min-width: 0; height: 300px; width: 100%; object-fit: cover; border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; box-shadow: 0 18px 40px rgba(74, 58, 40, 0.16); }
.seitenkopf .deko--ast { left: auto; right: 0; top: 0; width: 220px; transform: scaleX(-1); opacity: .95; }
.seitenkopf--mit-bild .deko--ast { display: none; }
.krumen { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; font-weight: 600; color: var(--text-leise); }
.krumen li + li::before { content: '›'; margin-right: 6px; color: var(--sand); }
.krumen a { color: var(--text-leise); text-decoration: none; }
.krumen a:hover { color: var(--rost); }
.unternav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; padding: 0; }
.unternav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--karte); border: 1px solid var(--linie); text-decoration: none; font-weight: 700; font-size: 15px; color: var(--gruen-dunkel); }
.unternav a:hover { border-color: var(--gruen); }
.unternav a[aria-current="page"] { background: var(--gruen); border-color: var(--gruen); color: #fff; }

/* ---------------------------------------------------------- Inhaltsseiten */
.inhalt { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding: 64px 0 104px; align-items: start; }
.inhalt--breit { grid-template-columns: minmax(0, 1fr); }
.seitenleiste { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 18px; }
.infokasten { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 24px; }
.infokasten h2 { font-size: 30px; margin-bottom: 8px; }
.infokasten p { margin: 0 0 6px; }
.infokasten--gruen { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: #F4F1E4; }
.infokasten--gruen h2 { color: #FFFDF6; }
.infokasten--gruen a { color: #FFFDF6; }
.infokasten ul { list-style: none; margin: 0; padding: 0; }
.infokasten li a { display: block; padding: 7px 0; border-bottom: 1px dotted var(--linie); text-decoration: none; font-weight: 600; }
.infokasten li:last-child a { border-bottom: 0; }
.infokasten li a[aria-current="page"] { color: var(--rost); }

.prose { max-width: 760px; font-size: 18px; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.05em; }
.prose h2 { font-size: 46px; line-height: 1.05; color: var(--rost); margin: 1.4em 0 .4em; }
.prose h3 { font-size: 34px; line-height: 1.1; margin: 1.3em 0 .35em; }
.prose h4 { font-family: var(--sans); font-size: 18px; margin: 1.2em 0 .3em; color: var(--gruen-dunkel); }
.prose strong.hl { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.1; color: var(--gruen-dunkel); margin-top: .3em; letter-spacing: .02em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose ul.liste { list-style: none; padding: 0; }
.prose ul.liste li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.prose ul.liste li::before { content: ''; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; background: url('../img/blatt.svg') center / contain no-repeat; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: 18px; margin: 1.4em 0; box-shadow: 0 8px 24px rgba(74, 58, 40, 0.12); }
.prose p > img:first-child:not(:only-child) { float: right; max-width: 45%; margin: .2em 0 1em 1.5em; }
.prose figure { margin: 1.6em 0; }
.prose figure img { margin: 0; width: 100%; }
.prose hr { border: 0; border-top: 2px dotted var(--sand); margin: 2em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sand); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 17px; background: var(--karte); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--linie); }
.prose th { text-align: left; background: var(--gruen-hell); color: var(--gruen-dunkel); font-weight: 800; padding: 12px 16px; }
.prose td { padding: 11px 16px; border-top: 1px solid var(--linie); vertical-align: top; }
.prose td p { margin: 0 0 4px; }
.prose td strong.hl { font-size: 26px; margin: 0; }
.prose details { background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; margin: 0 0 12px; }
.prose summary { cursor: pointer; list-style: none; padding: 16px 56px 16px 22px; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--gruen-dunkel); position: relative; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--gruen-hell); display: grid; place-items: center; font-family: var(--sans); font-size: 22px; line-height: 32px; text-align: center; color: var(--gruen-dunkel); }
.prose details[open] summary::after { content: '–'; }
.prose details > *:not(summary) { margin-left: 22px; margin-right: 22px; }
.prose details > table { width: calc(100% - 44px); } /* 100 % + Seitenabstand lief über den Kasten hinaus */
.prose details > *:last-child { margin-bottom: 20px; }
.prose a[href$=".pdf"] { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 14px; background: var(--karte); border: 1px solid var(--linie); text-decoration: none; font-weight: 700; margin: 4px 8px 4px 0; }
.prose a[href$=".pdf"]::before { content: 'PDF'; font-size: 11px; font-weight: 800; letter-spacing: .06em; background: var(--rost); color: #fff; border-radius: 6px; padding: 2px 6px; }
.prose a[href$=".pdf"]:hover { border-color: var(--rost); }

.kinder-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 40px; }
.kinder-karten a { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--rund); background: var(--karte); border: 1px solid var(--linie); text-decoration: none; color: inherit; }
.kinder-karten a:hover { border-color: var(--gruen); box-shadow: var(--schatten); }
.kinder-karten strong { font-family: var(--display); font-size: 32px; line-height: 1.05; color: var(--gruen-dunkel); }
.kinder-karten span { color: var(--text-leise); font-size: 15px; }

/* -------------------------------------------------------------------- Team */
.team-intro { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
.team-intro p { max-width: 52ch; margin: 0; font-size: 19px; }
.team-gruppe { position: relative; margin-bottom: 88px; }
.team-gruppe__kopf { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.team-gruppe__kopf .h2 { white-space: nowrap; }
.team-gruppe__linie { flex: 1; border-top: 2px dotted var(--sand); }
.team-gruppe__zahl { font-weight: 700; color: var(--text-leise); white-space: nowrap; }
.team-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 36px 28px; }
.mensch { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.mensch__foto { position: relative; width: 210px; height: 230px; margin-bottom: 14px; }
.mensch__foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; box-shadow: 0 14px 30px rgba(74, 58, 40, 0.18); }
.mensch:nth-child(3n+2) .mensch__foto img { border-radius: 55% 45% 52% 48% / 45% 55% 45% 55%; }
.mensch:nth-child(3n+3) .mensch__foto img { border-radius: 42% 58% 50% 50% / 50% 48% 52% 50%; }
.mensch__platzhalter { width: 100%; height: 100%; border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; background: var(--papier-2); display: grid; place-items: center; }
.mensch__platzhalter img { width: 60%; height: auto; box-shadow: none; border-radius: 0; }
.mensch__blatt { position: absolute; right: -6px; bottom: 8px; width: 46px; height: 46px; border-radius: 50%; background: var(--karte); box-shadow: 0 4px 12px rgba(74, 58, 40, 0.16); display: grid; place-items: center; }
.mensch__blatt img { width: 26px; height: 26px; box-shadow: none; border-radius: 0; }
.mensch__name { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; color: var(--rost); }
.mensch__rolle { font-weight: 700; color: var(--gruen-dunkel); font-size: 16px; line-height: 1.35; max-width: 28ch; }
.mensch__seit { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--erde); background: var(--rosa); border-radius: 999px; padding: 3px 12px; }
.mensch__ueber { margin: 8px 0 0; font-style: italic; color: var(--text-leise); max-width: 30ch; font-size: 16px; }
.mensch--leitung .mensch__foto { width: 240px; height: 260px; }
.leitung-band { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: var(--karte); border: 1px solid var(--linie); border-radius: 32px; padding: 36px 44px; margin-bottom: 80px; }
.leitung-band .mensch { flex: 0 0 auto; }
.leitung-band__text { flex: 1 1 360px; }
.leitung-band__text p { margin: 0 0 14px; font-size: 18px; }

/* ----------------------------------------------------------------- Termine */
.termine { display: flex; flex-direction: column; gap: 18px; }
.termin { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 26px 28px; }
.termin__datum { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--rost); color: #FFFDF6; border-radius: 18px; padding: 14px 8px; text-align: center; height: max-content; }
.termin__tag { font-family: var(--display); font-size: 56px; line-height: .9; font-weight: 700; }
.termin__monat { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.termin__jahr { font-size: 13px; opacity: .85; }
.termin__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; color: var(--erde); font-size: 15px; margin: 4px 0 10px; }
.termin__text > *:last-child { margin-bottom: 0; }
.termin--vorbei { opacity: .75; }
.termin--vorbei .termin__datum { background: var(--sand); color: var(--gruen-dunkel); }

/* ------------------------------------------------------------------ Bilder */
.alben { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.album-karte { position: relative; display: block; text-decoration: none; color: inherit; }
.album-karte__stapel { position: relative; height: 280px; }
.album-karte__stapel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 10px solid #FFFDF6; box-shadow: 0 10px 24px rgba(74, 58, 40, 0.18); }
.album-karte__stapel img:nth-child(2) { transform: rotate(-4deg); }
.album-karte__stapel img:nth-child(3) { transform: rotate(3deg); }
.album-karte__text { padding: 18px 6px 0; }
.album-karte__text strong { display: block; font-family: var(--display); font-size: 36px; line-height: 1.05; color: var(--gruen-dunkel); }
.galerie { columns: 4 240px; column-gap: 16px; }
.galerie__punkt { break-inside: avoid; margin: 0 0 16px; display: block; border-radius: 16px; overflow: hidden; position: relative; background: var(--papier-2); cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.galerie__punkt img { width: 100%; transition: transform .3s; }
.galerie__punkt:hover img { transform: scale(1.03); }
.galerie__video { position: absolute; inset: 0; display: grid; place-items: center; }
.galerie__video span { width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 253, 246, 0.92); display: grid; place-items: center; box-shadow: var(--schatten); }
.leuchtkasten { position: fixed; inset: 0; z-index: 100; background: rgba(28, 36, 30, 0.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.leuchtkasten.ist-offen { display: flex; }
.leuchtkasten img, .leuchtkasten video { max-width: 100%; max-height: 100%; border-radius: 12px; }
.leuchtkasten button { position: absolute; background: rgba(255, 253, 246, 0.14); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.leuchtkasten button:hover { background: rgba(255, 253, 246, 0.28); }
.leuchtkasten__zu { top: 16px; right: 16px; }
.leuchtkasten__zurueck { left: 14px; top: 50%; }
.leuchtkasten__vor { right: 14px; top: 50%; }

/* ---------------------------------------------------------------- Beitrag */
.beitrag-seiten { display: flex; flex-direction: column; gap: 22px; margin: 0 0 30px; }
.beitrag-seiten img { width: 100%; border-radius: 14px; box-shadow: 0 10px 30px rgba(74, 58, 40, 0.16); background: #fff; }
.jahre { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 36px; padding: 0; }
.jahre a { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--linie); background: var(--karte); font-weight: 700; text-decoration: none; }
.jahre a[aria-current="true"] { background: var(--gruen); color: #fff; border-color: var(--gruen); }
.seitenwahl { display: flex; justify-content: center; gap: 12px; margin-top: 48px; }

/* ----------------------------------------------------------- Kontakt/Karte */
.kontakt-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-bottom: 40px; }
.kontakt-karte { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 28px; }
.kontakt-karte .h3 { margin-bottom: 8px; }
.kontakt-karte p { margin: 0 0 4px; }
.kontakt-karte a { font-weight: 700; }
.karte-rahmen { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--linie); background: var(--papier-2); height: 440px; margin-bottom: 36px; }
.karte-rahmen iframe { width: 100%; height: 100%; border: 0; }
.karte-hinweis { font-size: 14px; color: var(--text-leise); margin: -24px 0 36px; }

.partner { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.partner a, .partner div { display: grid; place-items: center; height: 140px; padding: 20px; background: #fff; border: 1px solid var(--linie); border-radius: 18px; }
.partner img { max-height: 90px; width: auto; }
.leer { background: var(--karte); border: 1px dashed var(--sand); border-radius: var(--rund); padding: 40px; text-align: center; }
.leer p { margin: 0 auto; max-width: 46ch; }

/* -------------------------------------------------------------------- Fuß */
.fuss { background: var(--erde); color: #FBF5EC; padding: 64px 0 28px; margin-top: 0; }
.fuss a { color: #FBF5EC; }
.fuss__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px; }
.fuss__raster > div { display: flex; flex-direction: column; gap: 4px; }
.fuss__titel { font-weight: 800; }
.fuss__gruss { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; color: #FFFDF6; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px dotted #C9A89C; font-size: 14px; }

p.augenbraue, .team-intro p.augenbraue, .leitung-band__text p.augenbraue, .einladung__text p.augenbraue { font-size: 30px; margin: 0 0 6px; max-width: none; }

/* ------------------------------------------------- Film auf der Startseite */
.film-fenster { position: relative; padding: 96px 0 8px; }
.film-fenster__kopf { text-align: center; margin-bottom: 36px; position: relative; z-index: 1; }
.film-fenster__rahmen { position: relative; z-index: 1; border: 12px solid #FFFDF6; border-radius: 36px; overflow: hidden; box-shadow: 0 24px 60px rgba(74, 58, 40, 0.22); aspect-ratio: 1280 / 536; background: var(--gruen-dunkel); }
.film-fenster__film { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-fenster__unter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; color: var(--text-leise); font-size: 15px; }
.film-fenster .deko--ast { left: 0; top: 40px; width: clamp(140px, 13vw, 240px); }
.film-fenster .deko--rotkehlchen { right: 0; top: 20px; width: clamp(130px, 12vw, 220px); }
.film-pause { position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 253, 246, 0.9); color: var(--gruen-dunkel); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); }
.film-pause:hover { background: #fff; }
.film-pause .symbol-pause { display: none; }
.film-pause.laeuft .symbol-pause { display: inline; }
.film-pause.laeuft .symbol-play { display: none; }
@media (max-width: 760px) {
  .film-fenster { padding-top: 56px; }
  .film-fenster__rahmen { border-width: 7px; border-radius: 22px; }
  .film-fenster .deko--ast { display: none; }
  .film-fenster .deko--rotkehlchen { width: 90px; top: 10px; }
}

/* ------------------------------------- Kopf: Logo mittig, Menü geteilt */
@media (min-width: 1281px) {
  .kopf__innen { position: relative; display: block; min-height: 124px; }
  .kopf__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
  .kopf__logo img { height: 100px; }
  .nav, .nav__panel { display: block; }
  .kopf .huelle { max-width: 1440px; }
  .nav__panel { display: grid; grid-template-columns: minmax(0, 1fr) 410px minmax(0, 1fr); align-items: center; min-height: 124px; }
  .nav__liste--links { grid-column: 1; justify-self: end; }
  .nav__rechts { grid-column: 3; justify-self: start; display: flex; align-items: center; gap: 4px; }
  .nav__link { padding: 12px 9px; font-size: 15.5px; }
  .nav__cta { margin-left: 8px; }
  .nav__cta .knopf { min-height: 44px; padding: 10px 20px; }
}
@media (min-width: 1281px) and (max-width: 1440px) {
  .kopf__logo img { height: 86px; }
  .nav__panel { grid-template-columns: minmax(0, 1fr) 330px minmax(0, 1fr); }
  .nav__link { padding: 12px 7px; font-size: 15px; }
  .nav__cta { margin-left: 4px; }
  .nav__cta .knopf { padding: 10px 16px; }
}

/* --------------------------------------------------------------- Responsiv */
@media (max-width: 1280px) {
  /* Kopf: Menüknopf links, Logo mittig, rechts gleich breiter Leerraum */
  .kopf__innen { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; }
  .nav { grid-column: 1; grid-row: 1; }
  .kopf__logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .nav__schalter { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gruen-dunkel); color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .nav__schalter svg { width: 20px; height: 20px; overflow: visible; }
  .nav__schalter path { transform-box: fill-box; transform-origin: center; transition: transform .25s ease, opacity .2s ease; }
  .nav.ist-offen .nav__schalter .m1 { transform: translateY(5px) rotate(45deg); }
  .nav.ist-offen .nav__schalter .m2 { opacity: 0; }
  .nav.ist-offen .nav__schalter .m3 { transform: translateY(-5px) rotate(-45deg); }
  .kopf { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--papier); }
  /* Panel: oben an der Unterkante des Kopfs (per JS gesetzt), scrollt für sich, ohne die Seite mitzuziehen */
  .nav__panel { position: fixed; top: var(--kopf-unten, 92px); left: 0; right: 0; bottom: 0; height: auto; background: var(--papier); padding: 18px 20px calc(40px + env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; display: none; flex-direction: column; align-items: stretch; z-index: 40; }
  /* Nur html sperren: overflow am body macht ihn zum Scroll-Container und der klebende Kopf springt weg */
  html.menue-offen { overflow: hidden; }
  .nav.ist-offen .nav__panel { display: flex; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__punkt { border-bottom: 2px dotted var(--linie); }
  .nav__link { font-family: var(--display); font-size: 34px; padding: 10px 4px; justify-content: space-between; }
  .nav__link svg { display: none; }
  .nav__unter { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 4px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .nav__unter a { padding: 7px 0; font-size: 16px; }
  .nav__cta { margin: 24px 0 0; display: flex; }
  .nav__cta .knopf { width: 100%; }
  .nav__rechts { display: block; }
}
@media (max-width: 1180px) {
  .inhalt { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .seitenleiste { position: static; }
}
@media (max-width: 1280px) {
  .start-held .deko--ast, .start-held .deko--reh { opacity: .35; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .huelle { padding: 0 16px; }
  .kopf__innen { min-height: 76px; }
  .kopf__logo img { height: 52px; }
  .nav__unter { grid-template-columns: 1fr; }
  .start-held { padding: 36px 0 56px; }
  .start-held__text { padding-left: 0; }
  .start-held__bilder { margin-right: 0; }
  .start-held__bilder { height: 380px; flex-basis: 100%; }
  .foto-blob { height: 320px; width: 76%; top: 20px; }
  .foto-abzug { height: 150px; width: 44%; border-width: 7px; }
  .deko--ast, .deko--reh, .deko--schmetterling { display: none; }
  .deko--rotkehlchen { width: 100px; }
  .abschnitt { padding: 64px 0; }
  .einladung { padding: 32px 22px 200px; border-radius: 26px; }
  .einladung__motiv { right: -24px; width: 120px; bottom: -80px; }
  .deko--eichhoernchen { width: 180px; right: 0; }
  .seitenkopf { padding: 32px 0 28px; }
  .seitenkopf__bild { height: 210px; flex-basis: 100%; }
  .seitenkopf .deko--ast { width: 130px; }
  .inhalt { padding: 36px 0 64px; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 38px; }
  /* Fließtext oben auf der Seite ruhiger */
  .start-held__text p.einleitung { font-size: 17px; max-width: none; margin-bottom: 26px; }
  .einladung__text p, .team-intro p { font-size: 16.5px; }
  .leitung-band__text p { font-size: 16px; }
  /* Auf einen Blick: kompakte Zeilen statt vier großer Blöcke untereinander */
  .blick__raster { grid-template-columns: 1fr; gap: 0; padding: 14px 16px; text-align: left; }
  .blick__punkt { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px dotted var(--sand); }
  .blick__punkt:last-child { border-bottom: 0; }
  .blick__label { font-size: 11.5px; letter-spacing: .07em; flex: 0 0 auto; }
  .blick__wert { font-size: 25px; text-align: right; }
  .prose p > img:first-child:not(:only-child) { float: none; max-width: 100%; margin: 1em 0; }
  .prose table { display: block; overflow-x: auto; }
  .prose details > *:not(summary) { margin-left: 16px; margin-right: 16px; }
  .prose details > table { width: calc(100% - 32px); }
  .termin { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .termin__datum { flex-direction: row; gap: 10px; justify-content: flex-start; padding: 10px 16px; width: max-content; }
  .termin__tag { font-size: 34px; }
  .leitung-band { padding: 26px 20px; }
  .team-gruppe__kopf .h2 { white-space: normal; }
  .leuchtkasten { padding: 56px 8px; }
  .karte-rahmen { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------ Aquarell-Motive am Rand */
main[data-motive] { position: relative; }
.motive { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.motiv { position: absolute; display: block; object-fit: contain; user-select: none; }
.motiv--l { left: 0; object-position: left top; --raus: -38%; }
.motiv--r { right: 0; object-position: right top; --raus: 38%; }
.motiv { --sx: 1; --x: var(--raus); --dreh: 0deg; opacity: 0;
  transform: translateX(var(--x)) rotate(var(--dreh)) scaleX(var(--sx));
  transition: transform 1.2s cubic-bezier(.65, 0, .35, 1), opacity .9s cubic-bezier(.65, 0, .35, 1); }
.motiv--l { --dreh: -4deg; }
.motiv--r { --dreh: 4deg; }
.motiv--gespiegelt { --sx: -1; }
.motiv.ist-da { --x: 0; --dreh: 0deg; opacity: 1; }
.motiv.sofort { transition: none; }
/* Seite verlassen: Motive fahren zurück an den Rand, Inhalt blendet sanft aus */
body.geht .motiv { --x: var(--raus); --dreh: 0deg; opacity: 0; transition-duration: .28s, .24s; transition-delay: 0s !important; transition-timing-function: cubic-bezier(.65, 0, .35, 1); }
body.geht main > :not(.motive), body.geht .fuss { opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .2s ease; }
/* Seite betreten: Inhalt blendet sanft ein (Gegenstück zu body.geht) */
@keyframes wk-einblenden { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
main > :not(.motive), .fuss { animation: wk-einblenden .22s cubic-bezier(.65, 0, .35, 1) backwards; }
@media (prefers-reduced-motion: reduce) {
  .motiv { opacity: 1; --x: 0; --dreh: 0deg; }
  main > :not(.motive), .fuss { animation: none; }
}
@media print { .motive { display: none; } }
