/* KickforKids – Stylesheet
   Schriften liegen lokal (keine Verbindung zu Google Fonts). */

@font-face {
  font-family: "Baloo 2";
  src: url("/fonts/baloo-2-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --rasen: #0b6b3a;
  --rasen-dunkel: #07502b;
  --rasen-hell: #dff3e4;
  --sonne: #ffc83d;
  --sonne-text: #ffd65c; /* helleres Gelb für kleine Schrift auf Rasengrün (Kontrast 4,7:1) */
  --sonne-hell: #fff1c2;
  --tinte: #14213d;
  --tinte-weich: #47526b;
  --papier: #fff8e7;
  --weiss: #ffffff;
  --himmel: #c9ecff;
  --signal: #b3261e;
  --rand: 3px solid var(--tinte);
  --schatten: 6px 6px 0 var(--tinte);
  --radius: 18px;
  --schrift-titel: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --schrift-text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--weiss);
}
img, svg, canvas { max-width: 100%; }
h1, h2, h3, legend, .logo__text { font-family: var(--schrift-titel); line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 8vw, 5.4rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; margin-bottom: 1.5rem; }
h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--rasen); }
:focus-visible { outline: 4px solid var(--sonne); outline-offset: 3px; box-shadow: 0 0 0 7px var(--tinte); border-radius: 6px; }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--sonne); color: var(--tinte); padding: .75rem 1rem; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 1rem; }

.rahmen { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.rahmen--schmal { width: min(800px, 100% - 2.5rem); }
.klein { font-size: .94rem; color: var(--tinte-weich); }
.gross { font-size: 1.3rem; line-height: 1.45; font-weight: 600; }

/* Jede Seite füllt mindestens das Fenster, der Fuß bleibt unten */
body { display: flex; flex-direction: column; min-height: 100dvh; }
main { flex: 1; }
.seitentitel { font-size: clamp(2.3rem, 5.5vw, 3.6rem); margin-bottom: 1.6rem; }

/* ---------- Startseite: Wegweiser und Aufruf ---------- */
.wegweiser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.wegweiser__karte { display: block; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.wegweiser__karte:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--tinte); background: var(--sonne-hell); }
.wegweiser__karte p { color: var(--tinte-weich); }
.aufruf { background: var(--rasen); color: var(--weiss); border-top: var(--rand); padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
.aufruf__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.aufruf h2 { margin-bottom: .4rem; }
.aufruf p { margin: 0; font-size: 1.15rem; }

/* ---------- Vor Ort ---------- */
.pavillons { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.hinweise { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.hinweise li { position: relative; padding-left: 3.2rem; }
.hinweise li::before { content: ""; position: absolute; left: 0; top: 0; width: 2.3rem; height: 2.3rem; border: var(--rand); border-radius: 50%; background: var(--rasen) center / 60% no-repeat; }
.hinweise li.hinweise__ja::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l5 5 9-11' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hinweise li.hinweise__nein::before { background-color: var(--signal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hinweise h3 { margin-bottom: .25rem; }
.hinweise p { margin: 0; }
.regeln--unten { margin-top: 3rem; }
.gelaende__intro { max-width: 44rem; margin-bottom: 2rem; }
.hinweise--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 3rem; margin-bottom: 1.8rem; }
.abschnitt--gruen .hinweise p { color: #e3f3e8; }
.abschnitt--gruen .hinweise li::before { border-color: var(--weiss); }
.blatt__verbote { display: flex; gap: 8cqw; margin-top: 7cqw; }
.blatt__verbote svg { width: 26cqw; height: auto; }
.legende--erlaubt::before { background: #8fd19e; }
.legende--asche::before { background: #d98a6a; border-color: var(--signal); border-style: dashed; }
.legende--gesperrt::before { background: repeating-linear-gradient(45deg, var(--signal) 0 3px, #fbe3df 3px 7px); }
.lp-klein.lp-weiss { fill: var(--weiss); }

/* ---------- Hinweisseite vor der Veröffentlichung ---------- */
.bald { color: var(--weiss); background: var(--rasen) repeating-linear-gradient(90deg, transparent 0 120px, rgba(0, 0, 0, .07) 120px 240px); }
.bald__inhalt { flex: 1; display: grid; align-content: center; justify-items: start; width: min(760px, 100% - 2.5rem); margin-inline: auto; padding: clamp(2.5rem, 8vw, 5rem) 0; }
.bald .bald__logo { margin-bottom: 2.2rem; }
.bald__logo .logo__text { font-size: 2.2rem; }
.bald__text { margin: 1.8rem 0 0; font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 34rem; }
.bald__fakten { width: 100%; }
.bald__fuss { padding: 1rem 1.25rem 1.6rem; background: var(--rasen-dunkel); border-top: 2px dashed rgba(255, 255, 255, .3); }
.bald__zugang { width: min(760px, 100%); margin-inline: auto; }
.bald__zugang summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: #d9eedf; cursor: pointer; }
.bald__zugang form { display: grid; gap: .2rem; justify-items: start; max-width: 22rem; padding: .8rem 0 .4rem; }
.bald__zugang .feld { width: 100%; }
.bald__zugang .fehler { color: var(--sonne-text); }

/* ---------- Sportplatz in 3D ---------- */
.platzseite__intro { max-width: 46rem; margin-bottom: 1.8rem; }
.platz__leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; margin-bottom: 1rem; }
.platz__plan .feldwahl__knopf { min-height: 48px; padding: .4rem 1.1rem; font-size: 1rem; }
.platz__schalter { margin: 0; color: var(--weiss); }
.platz__buehne { position: relative; height: clamp(360px, 62vh, 640px); overflow: hidden; background: linear-gradient(var(--himmel), #eef9ff 55%, #e3f3df); border: var(--rand); border-radius: 24px; box-shadow: 8px 8px 0 var(--tinte); }
.platz__buehne canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.platz__buehne canvas:active { cursor: grabbing; }
.platz__buehne canvas:focus-visible { outline-offset: -6px; border-radius: 20px; }
.platz__marken { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.platz-marke { position: absolute; left: 0; top: 0; padding: .15rem .65rem; font: 800 .88rem/1.4 var(--schrift-titel); white-space: nowrap; color: var(--weiss); border: 2px solid var(--weiss); border-radius: 999px; box-shadow: 0 2px 6px rgba(20, 33, 61, .4); will-change: transform; }
.platz-marke--info { color: var(--tinte); background: var(--sonne); border-color: var(--tinte); font-size: 1rem; }
.platz-marke--ja { background: var(--rasen); }
.platz-marke--neutral { background: var(--tinte); }
.platz-marke--nein { background: var(--signal); }
.platz__steuerung { position: absolute; right: .8rem; bottom: .8rem; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.platz__steuerung button { min-width: 46px; min-height: 46px; padding: 0 .8rem; font: 800 1.4rem/1 var(--schrift-titel); color: var(--tinte); background: var(--weiss); border: var(--rand); border-radius: 12px; cursor: pointer; }
.platz__steuerung button:hover { background: var(--sonne-hell); }
.platz__steuerung .platz__text { font-size: .95rem; }
.platzseite__start { margin: 0 0 1.6rem; }
.platz-marke--eingang { background: #e8590c; }
.platz-marke--park { padding: .1rem .5rem; color: var(--weiss); background: var(--tinte); }
.platz-marke--behindert { background: #1d4ed8; }
.platz-marke--rad { background: #0e7490; }
.platz__tour { position: absolute; left: .8rem; bottom: .8rem; width: min(380px, calc(100% - 1.6rem)); padding: 1rem 1.1rem; color: var(--tinte); background: var(--weiss); border: var(--rand); border-radius: 16px; box-shadow: 5px 5px 0 var(--tinte); }
.platz__tour h2 { font-size: 1.4rem; margin: 0 0 .4rem; }
.platz__tour p { margin: 0 0 .8rem; font-size: .98rem; }
.platz__tour-nr { margin-bottom: .2rem !important; font: 700 .78rem var(--schrift-titel) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--rasen); }
.platz__tour-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.platz__tour-knoepfe .textknopf { margin-left: auto; font-weight: 700; }
.platz__tour-knoepfe .knopf[disabled] { opacity: .45; cursor: default; }
/* Während des Rundgangs rückt die Steuerung nach oben, damit sie den Text nicht verdeckt */
.platz__buehne--tour .platz__steuerung { bottom: auto; top: .8rem; }
.platz__farbe--park { background: #c9ecff; }
.platz__farbe--eingang { background: #e8590c; }
.platz__wegwahl { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1rem; }
.platz__wegwahl-titel { font: 800 1.1rem var(--schrift-titel); color: var(--weiss); }
.platz__wegwahl .feldwahl__knopf { min-width: 54px; }
.platz__weg-text { flex: 1 1 100%; margin: 0; min-height: 1.5em; font-weight: 700; color: var(--sonne-text); }
.platz__legende { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; margin: 1.4rem 0 0; padding: 0; font-weight: 700; }
.platz__legende li { display: inline-flex; align-items: center; gap: .55rem; }
.platz__farbe { width: 20px; height: 20px; border: 2px solid var(--weiss); border-radius: 5px; }
.platz__farbe--ja { background: #1fbf5f; }
.platz__farbe--nein { background: var(--signal); }
.platz__farbe--info { background: var(--sonne); }
.platz__hinweis { margin-top: 1rem; font-weight: 600; max-width: 56rem; }
.platzseite__links { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0 0; }
.schaufenster { background: var(--tinte); color: var(--weiss); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.schaufenster__innen { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.schaufenster h2 { margin-bottom: .8rem; }
.schaufenster p { font-size: 1.15rem; max-width: 34rem; }
.schaufenster__bild { display: block; width: 100%; height: auto; }

/* ---------- Spielplan ---------- */
.plan__leiste { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: .8rem; }
.plan__reiter { display: flex; flex-wrap: wrap; gap: .6rem; }
.plan__reiter button { display: grid; gap: .1rem; min-height: 52px; padding: .45rem 1rem; font: 800 1.05rem/1.2 var(--schrift-titel); text-align: left; color: var(--tinte); background: var(--weiss); border: var(--rand); border-radius: 14px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.plan__reiter small { font: 600 .8rem var(--schrift-text); color: var(--tinte-weich); }
.plan__reiter button[aria-selected="true"] { background: var(--sonne); box-shadow: 4px 4px 0 var(--tinte); transform: translate(-2px, -2px); }
.plan__reiter button[aria-selected="true"] small { color: var(--tinte); }
.plan__team { margin: 0; min-width: 220px; }
.plan__stand { margin: 0 0 1.6rem; font-size: .92rem; color: var(--tinte-weich); min-height: 1.5em; }
.plan__stand--fehler { color: var(--signal); font-weight: 700; }
.plan__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.plan__raster h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.plan__zeit { display: inline-block; margin: 1.2rem 0 .6rem; padding: .1rem .7rem; font-size: 1.15rem; background: var(--sonne); border-radius: 8px; font-variant-numeric: tabular-nums; }
.plan__zeit:first-child { margin-top: 0; }
.spielliste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.spiel-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .15rem .7rem; align-items: center; padding: .6rem .8rem; background: var(--weiss); border: 2px solid var(--tinte); border-radius: 12px; }
.spiel-zeile__feld, .spiel-zeile__runde { font-size: .8rem; font-weight: 700; color: var(--tinte-weich); text-transform: uppercase; letter-spacing: .04em; }
.spiel-zeile__feld { grid-column: 1; }
.spiel-zeile__runde { grid-column: 3; grid-row: 1; text-align: right; }
.spiel-zeile__heim { grid-column: 1; text-align: right; }
.spiel-zeile__heim, .spiel-zeile__gast { font-weight: 700; overflow-wrap: anywhere; }
.spiel-zeile__ergebnis { min-width: 4.2rem; padding: .1rem .5rem; font: 800 1.25rem var(--schrift-titel); text-align: center; color: var(--tinte-weich); background: var(--papier); border-radius: 8px; font-variant-numeric: tabular-nums; }
.ist-beendet .spiel-zeile__ergebnis { color: var(--sonne); background: var(--tinte); }
.ist-sieger { color: var(--rasen); }
.spiel-zeile .ist-mein-team { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--sonne); }
.plan__tabelle + .plan__tabelle { margin-top: 2rem; }
.plan__tabelle h3 { margin-bottom: .5rem; }
.rangliste { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--weiss); border: var(--rand); }
.rangliste th, .rangliste td { padding: .5rem .45rem; text-align: center; border-bottom: 2px solid #e3e6ec; }
.rangliste thead th { font: 700 .82rem var(--schrift-titel); text-transform: uppercase; letter-spacing: .04em; color: var(--weiss); background: var(--rasen); border-bottom: 0; }
.rangliste tbody th { text-align: left; font-weight: 700; }
.rangliste thead th:nth-child(2) { text-align: left; }
.rangliste__team { display: block; }
.rangliste__schule { display: block; font-size: .82rem; font-weight: 600; color: var(--tinte-weich); }
.rangliste__punkte { font: 800 1.1rem var(--schrift-titel); }
.rangliste tr.ist-mein-team { background: var(--sonne-hell); }
.plan__leer { max-width: 40rem; }
.plan__hinweis { margin-top: 2.5rem; max-width: 52rem; }

/* ---------- Orga-Bereich ---------- */
.orga-nav { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-weight: 700; }
.orga-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 3px solid transparent; }
.orga-nav a:hover { border-bottom-color: var(--rasen); }
.orga-nav a[aria-current="page"] { color: var(--rasen); border-bottom-color: var(--tinte); }
.orga-summen { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.orga-summen li { display: grid; gap: .1rem; padding: 1rem 1.1rem; box-shadow: 4px 4px 0 var(--tinte); }
.orga-summen b { font: 800 1.5rem/1.1 var(--schrift-titel); }
.orga-summen__titel { font: 700 .8rem var(--schrift-titel); letter-spacing: .08em; text-transform: uppercase; color: var(--rasen); }
.orga-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin-bottom: 1.2rem; }
.orga-filter .feld { margin: 0; min-width: 200px; flex: 1 1 200px; max-width: 340px; }
.orga-filter .knopf { margin-left: auto; }
.orga-filter .merken { margin: 0; }
.orga-tabelle { width: 100%; min-width: 980px; border-collapse: collapse; background: var(--weiss); border: var(--rand); font-size: .96rem; }
.orga-tabelle th, .orga-tabelle td { padding: .6rem .7rem; text-align: left; vertical-align: top; border-bottom: 2px solid #e3e6ec; }
.orga-tabelle thead th { padding: 0; background: var(--rasen); color: var(--weiss); font: 700 .85rem var(--schrift-titel); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.orga-tabelle thead th:not(:has(button)) { padding: .7rem; }
.orga-tabelle thead button { width: 100%; min-height: 44px; padding: .5rem .7rem; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; color: inherit; background: none; border: 0; cursor: pointer; }
.orga-tabelle thead button::after { content: " ↕"; opacity: .55; }
.orga-tabelle th[aria-sort="ascending"] button::after { content: " ↑"; opacity: 1; }
.orga-tabelle th[aria-sort="descending"] button::after { content: " ↓"; opacity: 1; }
.orga-tabelle tbody tr:nth-child(even) { background: #f7f9f6; }
.orga-tabelle__klein { font-size: .86rem; color: var(--tinte-weich); white-space: nowrap; }
.orga-tabelle__mitte { text-align: center !important; font-weight: 800; }
.orga-tabelle__zusatz { display: block; font-size: .86rem; color: var(--tinte-weich); }
.orga-tabelle__text { max-width: 18rem; font-size: .9rem; overflow-wrap: anywhere; }
.orga-post { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.orga-post__eintrag { box-shadow: 4px 4px 0 var(--tinte); }
.orga-post__eintrag.ist-erledigt { opacity: .6; box-shadow: none; }
.orga-post__kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-bottom: .6rem; }
.orga-post__kopf b { font: 800 1.2rem var(--schrift-titel); }
.orga-post__anliegen { padding: 0 .6rem; font: 700 .82rem/1.6 var(--schrift-titel); background: var(--sonne); border-radius: 999px; }
.orga-post__text { white-space: pre-wrap; overflow-wrap: anywhere; }
.orga-post__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.orga-post__fuss .merken { margin: 0 0 0 auto; }
@media (max-width: 900px) { .orga-summen { grid-template-columns: repeat(2, minmax(0, 1fr)); } .orga-filter .knopf { margin-left: 0; } }

/* ---------- Turnierleitung ---------- */
.leitung { padding: 2rem 0 4rem; }
.leitung__anmeldung { max-width: 26rem; }
.leitung__meldung { min-height: 1.6em; margin: 1rem 0; font-weight: 800; color: var(--rasen); }
.leitung__meldung--fehler { color: var(--signal); }
.leitung__teil { margin-top: 1rem; padding: 0 1.2rem; background: var(--weiss); border: var(--rand); border-radius: 14px; }
.leitung__teil[open] { padding-bottom: 1.2rem; }
.leitung__teil > summary { min-height: 56px; display: flex; align-items: center; font: 800 1.25rem var(--schrift-titel); cursor: pointer; }
.leitung__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 1rem; }
.leitung__knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.eingabe { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .3rem .8rem; align-items: center; padding: .8rem 0; border-top: 2px dashed #d5d9e2; }
.eingabe__kopf { grid-column: 1 / -1; font-size: .82rem; font-weight: 700; color: var(--tinte-weich); text-transform: uppercase; letter-spacing: .04em; }
.eingabe__team { margin: 0; text-align: right; overflow-wrap: anywhere; }
.eingabe__team--gast { text-align: left; }
.eingabe__tore { display: flex; align-items: center; gap: .4rem; font: 800 1.3rem var(--schrift-titel); }
.eingabe__tore input { width: 4rem; min-height: 52px; padding: .3rem; font: 800 1.4rem var(--schrift-titel); text-align: center; }
.eingabe__status { grid-column: 1 / 3; font-size: .88rem; font-weight: 700; color: var(--rasen); min-height: 1.3em; }
.eingabe__loeschen { grid-column: 3; justify-self: end; font-size: .88rem; min-height: 32px; color: var(--tinte-weich); }
.teamzeile { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, .9fr) auto; gap: .6rem; align-items: center; margin-bottom: .6rem; }

/* ---------- Teilnehmerliste (Druck) ---------- */
.druckblatt { margin-top: 2.5rem; padding: clamp(1.2rem, 3vw, 2rem); color: #000; background: #fff; border: var(--rand); border-radius: var(--radius); }
.druckblatt__kopf { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding-bottom: .8rem; border-bottom: 3px solid #000; }
.druckblatt__kopf p { margin: 0; font-size: .95rem; }
.druckblatt__kopf h2 { margin: 0; font-size: 1.8rem; }
.druckblatt__marke { font: 800 1.5rem var(--schrift-titel); }
.druckblatt__marke em { font-style: normal; color: var(--rasen); }
.druckblatt__angaben { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 1rem 0 1.2rem; }
.druckblatt__angaben div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: end; min-height: 2.4rem; }
.druckblatt__angaben dt { font-weight: 800; font-size: .9rem; white-space: nowrap; }
.druckblatt__angaben dd { margin: 0; border-bottom: 1.5px solid #000; height: 1.6rem; }
.druckblatt__tabelle { width: 100%; border-collapse: collapse; }
.druckblatt__tabelle th, .druckblatt__tabelle td { padding: .35rem .5rem; border: 1.5px solid #000; text-align: left; height: 2.1rem; }
.druckblatt__tabelle th { font-size: .85rem; background: #eee; }
.druckblatt__nr { width: 2.6rem; }
.druckblatt__foto { width: 11.5rem; }
.kasten { display: inline-block; width: .95rem; height: .95rem; border: 1.5px solid #000; vertical-align: -2px; margin-left: .3rem; }
.druckblatt__fuss { margin-top: 1rem; }
.druckblatt__fuss p { margin: 0 0 .5rem; }
.druckblatt__klein { font-size: .8rem; }
.druckblatt__unterschrift { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; margin-top: 2.6rem; }
.druckblatt__unterschrift span { padding-top: .3rem; font-size: .82rem; border-top: 1.5px solid #000; }

/* ---------- Plakat und Aushänge (Druck) ---------- */
.druckseite__knoepfe { display: flex; flex-wrap: wrap; gap: 1rem; }
/* Ein Blatt entspricht A4 abzüglich Druckrand; Schriftgrößen hängen an der Blattbreite (cqw),
   damit Vorschau und Ausdruck gleich aussehen */
.blatt { container-type: inline-size; aspect-ratio: 182 / 268; display: flex; flex-direction: column; margin-top: 2.5rem; overflow: hidden; color: var(--tinte); background: #fff; border: var(--rand); border-radius: var(--radius); }
.blatt p { margin: 0; }
.blatt__kopf { padding: 3cqw 6cqw; color: #fff; background: var(--rasen); border-bottom: .7cqw solid var(--tinte); }
.blatt__marke { font: 800 7cqw/1 var(--schrift-titel); }
.blatt__marke em { font-style: normal; color: var(--sonne); }
.blatt__unterzeile { margin-top: 1cqw !important; font: 700 2.6cqw var(--schrift-titel); letter-spacing: .04em; text-transform: uppercase; }
.blatt__mitte { padding: 4.5cqw 6cqw 0; }
.blatt__titel { margin: 0; font-size: 11cqw; line-height: 1.02; }
.blatt__titel .marker { box-shadow: .8cqw .8cqw 0 var(--tinte); border-radius: 2cqw; }
.blatt__text { margin-top: 4cqw !important; font-size: 3.1cqw; line-height: 1.45; font-weight: 600; }
.blatt__fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3cqw; margin: 4cqw 6cqw 0; padding-top: 3cqw; border-top: .5cqw dashed var(--tinte); }
.blatt__fakten dt { font: 800 2.2cqw var(--schrift-titel); letter-spacing: .08em; text-transform: uppercase; color: var(--rasen); }
.blatt__fakten dd { margin: 0; font: 800 3.1cqw/1.25 var(--schrift-titel); }
.blatt__tage { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4cqw 3cqw; margin: 3.2cqw 6cqw 3cqw; padding: 0; font-size: 2.4cqw; white-space: nowrap; font-weight: 600; }
.blatt__tage b { display: inline-block; margin-right: 1.2cqw; padding: 0 1.4cqw; font-family: var(--schrift-titel); background: var(--sonne); border-radius: 1.2cqw; }
.blatt__fuss { display: grid; grid-template-columns: 27cqw minmax(0, 1fr); gap: 5cqw; align-items: center; margin-top: auto; padding: 3.6cqw 6cqw; background: var(--sonne); border-top: .7cqw solid var(--tinte); font-size: 2.9cqw; font-weight: 600; }
.blatt__qr { padding: 1.2cqw; background: #fff; border: .6cqw solid var(--tinte); border-radius: 2cqw; line-height: 0; }
.blatt__qr svg { display: block; width: 100%; height: auto; }
.blatt__aufruf { font: 800 4.7cqw/1.05 var(--schrift-titel); margin-bottom: 1.5cqw !important; }
.blatt__adresse { font: 800 3.1cqw var(--schrift-titel); overflow-wrap: anywhere; }
.blatt__frist { margin-top: 2cqw !important; font-weight: 800; }
.blatt--aushang { align-items: center; text-align: center; }
.blatt--aushang .blatt__kopf { align-self: stretch; text-align: left; }
.blatt--aushang .blatt__titel { margin-top: 7cqw; font-size: 11.5cqw; }
.blatt__qr--gross { width: 52cqw; margin-top: 7cqw; }
.blatt--aushang .blatt__text { max-width: 76cqw; font-size: 3.5cqw; }
.blatt--aushang .blatt__adresse { margin-top: 3cqw; padding: 1cqw 3cqw; font-size: 3.4cqw; background: var(--sonne); border-radius: 99cqw; }

@media print {
  @page { size: A4; margin: 14mm; }
  .druckseite { background: #fff !important; border: 0 !important; }
  .blatt { width: 182mm; height: 266mm; aspect-ratio: auto; margin: 0; border-radius: 0; break-after: page; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .blatt:last-child { break-after: auto; }
  .kopf, .fuss, .skip, .einwilligung, .nicht-drucken { display: none !important; }
  body { display: block; min-height: 0; font-size: 11pt; background: #fff; }
  .abschnitt { padding: 0; }
  .rahmen, .rahmen--schmal { width: 100%; }
  .druckblatt { margin: 0; padding: 0; border: 0; border-radius: 0; }
  .packseite { background: #fff !important; border: 0 !important; }
  .packliste { gap: 6mm; }
  .packliste fieldset, .packliste__nein { box-shadow: none; break-inside: avoid; }
  .packpunkt { padding: 2mm 0; }
  .packpunkt input { appearance: none; -webkit-appearance: none; width: 5mm; height: 5mm; border: 1.5px solid #000; border-radius: 1mm; background: #fff; }
  .packpunkt:has(input:checked) span { color: #000; text-decoration: none; }
  .packpunkt:has(input:checked) input { background: #000; }
  .druckblatt__tabelle th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Über uns und Kontakt ---------- */
.karte__titel { font-size: 1.45rem; line-height: 1.15; margin-bottom: .6rem; }
.erfolg .karte__titel { font-size: 1.8rem; }
.steckbrief { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.steckbrief b { display: block; font: 700 .8rem var(--schrift-titel); letter-spacing: .08em; text-transform: uppercase; color: var(--rasen); }
.team { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.team .karte { text-align: center; }
.team__platzhalter, .team__bild { display: block; width: 96px; height: 96px; margin: 0 auto 1rem; border: var(--rand); border-radius: 50%; object-fit: cover; }
.team__platzhalter { background: var(--rasen-hell) repeating-linear-gradient(45deg, transparent 0 10px, rgba(11, 107, 58, .12) 10px 20px); }
.aufruf__knoepfe { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; }

/* ---------- Der Weg eines Euros ---------- */
.euroweg { position: relative; margin-top: 2.5rem; padding-left: 84px; }
.euroweg__spur { position: absolute; left: 30px; top: 0; bottom: 0; width: 8px; background: #e1dcc8; border-radius: 4px; }
.euroweg__fortschritt { position: absolute; inset: 0; background: var(--rasen); border-radius: 4px; transform-origin: top; transform: scaleY(0); }
.euroweg__muenze { position: absolute; left: 50%; top: 0; display: grid; place-items: center; width: 60px; height: 60px; margin: -30px 0 0 -30px; font: 800 1.05rem var(--schrift-titel); color: var(--tinte); background: var(--sonne); border: var(--rand); border-radius: 50%; box-shadow: 3px 3px 0 var(--tinte); will-change: transform; }
.euroweg__muenze.ist-am-ziel { background: var(--rasen); color: var(--weiss); }
.euroweg__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.2rem, 6vw, 3.6rem); }
.euroweg__schritt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1.3rem 1.4rem; background: var(--weiss); border: var(--rand); border-radius: var(--radius); transition: opacity .4s ease, transform .4s ease, box-shadow .4s ease; }
.euroweg__schritt h3 { margin-bottom: .35rem; }
.euroweg__schritt p { margin: 0; }
.euroweg__symbol { width: 44px; height: 44px; color: var(--rasen); }
/* Ohne JavaScript sind alle Schritte voll sichtbar; mit JavaScript leuchten sie auf, sobald die Münze sie erreicht */
.js .euroweg__schritt { opacity: .4; transform: translateY(10px); }
.js .euroweg__schritt.ist-erreicht { opacity: 1; transform: none; box-shadow: var(--schatten); }
.euroweg__schluss { margin: 2.5rem 0 0; }
@media (max-width: 640px) {
  .euroweg { padding-left: 58px; }
  .euroweg__spur { left: 18px; }
  .euroweg__muenze { width: 48px; height: 48px; margin: -24px 0 0 -24px; font-size: .85rem; }
  .euroweg__schritt { grid-template-columns: minmax(0, 1fr); padding: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .euroweg__schritt { opacity: 1; transform: none; }
}

/* ---------- Packliste ---------- */
.packstand { margin: 1.6rem 0 2rem; padding: 1.1rem 1.2rem; background: var(--weiss); border: var(--rand); border-radius: var(--radius); }
.packstand__balken { height: 16px; background: var(--rasen-hell); border: 2px solid var(--tinte); border-radius: 999px; overflow: hidden; }
.packstand__balken span { display: block; height: 100%; width: 0; background: var(--rasen); transition: width .3s ease; }
.packstand__text { margin: .7rem 0; font: 800 1.15rem var(--schrift-titel); }
.packstand__knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }
.packliste { display: grid; gap: 1.8rem; }
.packliste fieldset { margin: 0; padding: 1.2rem 1.4rem 1rem; }
.packliste legend { float: left; width: 100%; margin-bottom: .6rem; }
.packliste__wer { display: inline-block; margin-left: .5rem; font: 700 .85rem var(--schrift-text); color: var(--tinte-weich); }
.packpunkt { clear: both; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start; margin: 0; padding: .75rem 0; font-weight: 400; border-top: 2px dashed #d8d2bd; cursor: pointer; }
.packpunkt input { width: 28px; height: 28px; margin: 0; accent-color: var(--rasen); cursor: pointer; }
.packpunkt:has(input:checked) span { color: var(--tinte-weich); text-decoration: line-through; text-decoration-color: var(--rasen); }
.packpunkt:has(input:checked) a { text-decoration: line-through underline; }
.packliste__nein { margin-top: 1.8rem; background: #fff5f4; }
.packliste__nein .hinweise { gap: 1rem; margin-top: .8rem; }
.vorort__knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Sponsoren ---------- */
.sponsoren { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.sponsoren li { display: grid; place-items: center; min-height: 130px; padding: 1rem; text-align: center; background: var(--weiss); border: var(--rand); border-radius: var(--radius); }
.sponsoren img { max-width: 100%; height: auto; }
.sponsoren__frei { font: 700 1rem var(--schrift-titel); color: var(--tinte-weich); border-style: dashed !important; background: transparent !important; }
.drei--oben { margin-top: 0; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .7rem 1.5rem;
  font: 800 1.1rem/1 var(--schrift-titel);
  color: var(--tinte); background: var(--sonne);
  border: var(--rand); border-radius: 999px; box-shadow: 4px 4px 0 var(--tinte);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.knopf svg { width: 22px; height: 22px; }
.knopf:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--tinte); }
.knopf:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--tinte); }
.knopf--hell { background: var(--weiss); }
.knopf--klein { min-height: 44px; padding: .5rem 1.1rem; font-size: 1rem; box-shadow: 3px 3px 0 var(--tinte); }
.knopf--mini { min-height: 44px; padding: .4rem 1rem; font-size: .98rem; box-shadow: 3px 3px 0 var(--tinte); }
.knopf--breit { width: 100%; min-height: 58px; font-size: 1.2rem; }
.knopf[disabled] { opacity: .65; cursor: progress; transform: none; }
.textknopf { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--papier); border-bottom: var(--rand); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; margin: 0; }
.logo__ball { width: 40px; height: 40px; transition: transform .5s ease; }
.logo:hover .logo__ball { transform: rotate(180deg); }
.logo__text { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.01em; }
.logo__text em { font-style: normal; color: var(--rasen); }
.logo--hell .logo__text em { color: var(--sonne); }
.nav { display: flex; align-items: center; gap: 1.5rem; font-weight: 700; }
.nav a:not(.knopf) { text-decoration: none; padding: .7rem 0; border-bottom: 3px solid transparent; }
.nav a:not(.knopf):hover { border-bottom-color: var(--rasen); }
.nav a:not(.knopf)[aria-current="page"] { border-bottom-color: var(--tinte); color: var(--rasen); }
.nav .knopf[aria-current="page"] { background: var(--weiss); }
.menue-knopf { display: none; align-items: center; gap: .6rem; min-height: 44px; padding: .4rem .9rem; font: 800 1rem var(--schrift-titel); color: var(--tinte); background: var(--weiss); border: var(--rand); border-radius: 999px; cursor: pointer; }
.menue-knopf__striche, .menue-knopf__striche::before, .menue-knopf__striche::after { display: block; width: 20px; height: 3px; background: var(--tinte); border-radius: 2px; }
.menue-knopf__striche { position: relative; }
.menue-knopf__striche::before, .menue-knopf__striche::after { content: ""; position: absolute; left: 0; }
.menue-knopf__striche::before { top: -6px; }
.menue-knopf__striche::after { top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--rasen); color: var(--weiss); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 120px, rgba(0, 0, 0, .07) 120px 240px); }
.hero__kreide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__raster { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.etikett { display: inline-block; margin-bottom: 1.1rem; padding: .3rem .85rem; font: 700 .95rem/1.4 var(--schrift-titel); letter-spacing: .04em; text-transform: uppercase; color: var(--tinte); background: var(--sonne); border-radius: 14px; }
.etikett--dunkel { background: var(--rasen); color: var(--weiss); }
.marker { display: inline-block; padding: 0 .18em; color: var(--tinte); background: var(--sonne); border-radius: 12px; transform: rotate(-2deg); box-shadow: 5px 5px 0 var(--tinte); }
.hero__lead { margin: 1.6rem 0 1.8rem; font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 34rem; }
.hero__lead strong { color: var(--sonne-text); }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 1rem; }
.fakten { display: flex; flex-wrap: wrap; gap: .75rem 2.25rem; margin: 2.2rem 0 0; padding-top: 1.4rem; border-top: 2px dashed rgba(255, 255, 255, .4); }
.fakten dt { font: 700 .82rem var(--schrift-titel); letter-spacing: .08em; text-transform: uppercase; color: var(--sonne-text); }
.fakten dd { margin: 0; font: 700 1.2rem/1.3 var(--schrift-titel); }

/* ---------- Mini-Spiel ---------- */
.spiel { color: var(--tinte); background: var(--papier); border: var(--rand); border-radius: 24px; box-shadow: 8px 8px 0 var(--tinte); transform: rotate(1.2deg); overflow: hidden; }
.spiel__kopf, .spiel__fuss { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.1rem; }
.spiel__kopf { border-bottom: var(--rand); }
.spiel__fuss { border-top: var(--rand); }
.spiel__kopf p, .spiel__fuss p { margin: 0; }
.spiel__titel { font: 800 1.3rem var(--schrift-titel); }
.spiel__stand { display: flex; align-items: center; gap: .6rem; font: 700 .9rem var(--schrift-titel); letter-spacing: .06em; text-transform: uppercase; }
.spiel__stand output { min-width: 2.4ch; padding: 0 .5rem; font-size: 1.5rem; text-align: center; color: var(--sonne); background: var(--tinte); border-radius: 8px; font-variant-numeric: tabular-nums; }
.spiel__feld { display: block; width: 100%; height: clamp(250px, 34vw, 360px); background: linear-gradient(var(--himmel), #eef9ff 70%); cursor: crosshair; touch-action: manipulation; }
.spiel__fuss p { font-size: .95rem; font-weight: 700; }

/* ---------- Countdown ---------- */
.countdown { background: var(--sonne); border-block: var(--rand); padding: 1.3rem 0; }
.countdown__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.countdown p { margin: 0; }
.countdown__titel { font: 800 1.5rem var(--schrift-titel); }
.countdown__zahlen { display: flex; gap: .7rem; }
.countdown__zahlen div { min-width: 78px; padding: .4rem .5rem .5rem; text-align: center; background: var(--weiss); border: var(--rand); border-radius: 14px; }
.countdown__zahlen b { display: block; font: 800 1.9rem/1.1 var(--schrift-titel); font-variant-numeric: tabular-nums; }
.countdown__zahlen span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.abschnitt--papier { background: var(--papier); border-block: var(--rand); }
.abschnitt--gruen { background: var(--rasen-dunkel); color: var(--weiss); }
.karte { background: var(--weiss); color: var(--tinte); border: var(--rand); border-radius: var(--radius); box-shadow: var(--schatten); padding: 1.6rem; }
.karte > :last-child { margin-bottom: 0; }
.karte h3 { margin-bottom: .6rem; }
.karte--gelb { background: var(--sonne-hell); }
.karte--ruhig { background: var(--rasen-hell); box-shadow: none; }
.karte--schief { transform: rotate(1.5deg); }
.karte--schief-l { transform: rotate(-1.5deg); }
.karte__label { margin-bottom: .5rem; font: 700 .85rem var(--schrift-titel); letter-spacing: .08em; text-transform: uppercase; color: var(--rasen); }
.symbol { width: 48px; height: 48px; margin-bottom: .8rem; color: var(--rasen); }

.haken { list-style: none; margin: 1.3rem 0; padding: 0; display: grid; gap: .6rem; font-weight: 700; }
.haken li { position: relative; padding-left: 2.1rem; }
.haken li::before { content: ""; position: absolute; left: 0; top: .12em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--rasen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/78% no-repeat; }

.idee { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin-top: 3.5rem; }

/* Zeitplan */
.zeitplan { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.zeitplan li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.5rem; align-items: start; padding: 1.2rem 0; border-top: 2px dashed rgba(255, 255, 255, .3); }
.zeitplan li:first-child { border-top: 0; }
.zeitplan time { justify-self: start; padding: .15rem .8rem; font: 800 1.5rem var(--schrift-titel); color: var(--tinte); background: var(--sonne); border-radius: 10px; font-variant-numeric: tabular-nums; }
.zeitplan h3 { margin-bottom: .25rem; }
.zeitplan p { margin: 0; color: #e3f3e8; max-width: 44rem; }
.hinweis-hell { margin: 2rem 0 0; color: #e3f3e8; font-weight: 700; }

.zeitplan--tage li { grid-template-columns: 9.5rem minmax(0, 1fr); }

/* Regeln */
.regeln__intro { max-width: 44rem; margin-bottom: 2rem; }
.regeln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.regelkarten { list-style: none; counter-reset: regel; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem 2.2rem; }
.regelkarten li { counter-increment: regel; position: relative; padding: 1.1rem 0 0 3.4rem; border-top: var(--rand); }
.regelkarten li::before { content: counter(regel); position: absolute; left: 0; top: 1rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; font: 800 1.3rem var(--schrift-titel); background: var(--sonne); border: var(--rand); border-radius: 50%; }
.regelkarten h3 { margin-bottom: .35rem; }
.regelkarten p { margin: 0; color: var(--tinte-weich); }
.wahl--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.regelliste { grid-column: 1 / -1; list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.regelliste li { padding: .95rem 0; border-bottom: 2px dashed #c9cfdb; }
.regelliste b { font-family: var(--schrift-titel); font-size: 1.12rem; }

/* ---------- Anmeldung ---------- */
.anmeldung { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.anmeldung__intro { position: sticky; top: 100px; }
.formular { padding: clamp(1.3rem, 3vw, 2.2rem); }
fieldset { margin: 0 0 1.6rem; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 1rem; font-size: 1.4rem; font-weight: 800; color: var(--rasen); }
.feld { margin-bottom: 1.1rem; min-width: 0; }
.feld-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; }
.feld-reihe:has(.feld--schmal) { grid-template-columns: minmax(0, 1fr) 9.5rem; }
label, .label { display: block; margin-bottom: .35rem; font-weight: 800; }
.pflicht { color: var(--signal); }
.optional { font-weight: 600; color: var(--tinte-weich); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="time"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px; padding: .65rem .9rem;
  font: inherit; color: var(--tinte); background: var(--weiss);
  border: 2px solid var(--tinte); border-radius: 12px;
  transition: box-shadow .15s ease, border-color .15s ease;
}
textarea { resize: vertical; min-height: 96px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 0; border-color: var(--rasen); box-shadow: 0 0 0 4px var(--sonne); border-radius: 12px; }
[aria-invalid="true"] { border-color: var(--signal) !important; background: #fff5f4 !important; }
.hilfe { margin: .3rem 0 0; font-size: .9rem; color: var(--tinte-weich); }
.fehler { margin: .3rem 0 0; font-size: .93rem; font-weight: 800; color: var(--signal); }
.fehler:empty { display: none; }
.fehlerbox { margin-bottom: 1.4rem; padding: 1rem 1.2rem; background: #fff5f4; border: 2px solid var(--signal); border-radius: 12px; font-weight: 700; }
.fehlerbox ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.wahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.wahl__option { position: relative; margin: 0; cursor: pointer; }
.wahl__option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wahl__option span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: .5rem; font: 800 1.1rem var(--schrift-titel); background: var(--weiss); border: 2px solid var(--tinte); border-radius: 12px; transition: background-color .15s ease, transform .15s ease; }
.wahl__option input:checked + span { background: var(--sonne); box-shadow: 3px 3px 0 var(--tinte); transform: translate(-1px, -1px); }
.wahl__option input:focus-visible + span { box-shadow: 0 0 0 4px var(--sonne), 0 0 0 7px var(--tinte); }
.feld--check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .2rem .8rem; align-items: start; padding: 1rem; background: var(--rasen-hell); border-radius: 12px; }
.feld--check input { width: 26px; height: 26px; margin: .1rem 0 0; accent-color: var(--rasen); cursor: pointer; }
.feld--check label { margin: 0; font-weight: 700; cursor: pointer; }
.feld--check .fehler { grid-column: 2; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__fuss { margin: 1rem 0 0; }
.erfolg { grid-column: 2; text-align: left; }
.erfolg h3 { font-size: 1.8rem; }

/* ---------- Anfahrt ---------- */
.anfahrt { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.anfahrt { align-items: start; }
.adresse { font-style: normal; font-size: 1.2rem; }
.anfahrt__karten { display: grid; gap: 1.8rem; min-width: 0; }
.parken__titel { margin: 1.8rem 0 .9rem; }
.parken { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .9rem; }
.parken li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start; }
.parken__nr { display: grid; place-items: center; width: 46px; height: 46px; font: 800 1.05rem var(--schrift-titel); color: var(--weiss); background: var(--tinte); border-radius: 50%; }
.parken__sperre { padding: .8rem 1rem; background: #fff5f4; border-left: 6px solid var(--signal); border-radius: 0 12px 12px 0; }
.lageplan { margin: 0; padding: 0; overflow: hidden; }
.lageplan svg { display: block; width: 100%; height: auto; }
.lageplan figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; padding: .8rem 1.1rem; border-top: var(--rand); font-weight: 700; font-size: .95rem; }
.legende { display: inline-flex; align-items: center; gap: .5rem; }
.legende::before { content: ""; width: 20px; height: 20px; border: 2px solid var(--tinte); border-radius: 4px; }
.legende--frei::before { background: var(--himmel); }
.legende--behindert::before { background: #1d4ed8; }
.legende--helfer::before { background: var(--sonne); }
.legende--festzaun::before { height: 9px; border: 0; border-radius: 0; background: linear-gradient(#47526b, #47526b) center / 100% 3px no-repeat, repeating-linear-gradient(90deg, #47526b 0 2px, transparent 2px 7px); }
.legende--eingang::before { background: #e8590c; }
.legende--rad::before { background: #a5e3ee; border-color: #0e7490; }
.legende--weg-gruen::before, .legende--weg-lila::before { width: 26px; height: 0; border: 0; border-top: 4px dotted #15803d; border-radius: 0; background: none; }
.legende--weg-lila::before { border-top-color: #7c3aed; }
.wege { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .8rem; }
.wege li { padding-left: 1rem; border-left: 5px dotted #15803d; }
.wege .wege__lila { border-left-color: #7c3aed; }
.platz-marke--weg { background: #7c3aed; }
.platz__farbe--weg-gruen { background: #16a34a; }
.platz__farbe--weg-lila { background: #7c3aed; }
.legende--infozelt::before { background: var(--sonne); border-radius: 50% 50% 4px 4px; }
.legende--drk::before { background: var(--weiss) linear-gradient(var(--signal), var(--signal)) center / 100% 5px no-repeat; box-shadow: inset 0 0 0 0 transparent; background-image: linear-gradient(var(--signal), var(--signal)), linear-gradient(var(--signal), var(--signal)); background-size: 12px 4px, 4px 12px; background-position: center; background-repeat: no-repeat; }
.legende--zaun::before { height: 5px; border: 0; border-radius: 0; background: var(--tinte); }
.lp-mini { font: 800 12px var(--schrift-titel); fill: var(--tinte); }
.lp-p--klein { font-size: 12px; }
.lp-strasse, .lp-klein, .lp-gross, .lp-p { font-family: var(--schrift-titel); fill: var(--tinte); }
.lp-winzig { font: 800 10.5px var(--schrift-titel); fill: var(--tinte); }
.lp-strasse { font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.lp-klein { font-size: 14px; font-weight: 700; }
.lp-gross { font-size: 19px; font-weight: 800; }
.lp-p { font-size: 15px; font-weight: 800; fill: var(--weiss); }
.lp-rot { fill: var(--signal); }
.karte-box { padding: 0; overflow: hidden; min-height: 320px; display: grid; }
.karte-box__platzhalter { display: grid; justify-items: start; align-content: center; gap: .3rem; padding: clamp(1.4rem, 4vw, 2.5rem); background: var(--rasen-hell) repeating-linear-gradient(45deg, transparent 0 22px, rgba(11, 107, 58, .06) 22px 44px); }
.karte-box iframe { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }
.merken { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 0; font-weight: 700; font-size: .95rem; min-height: 44px; cursor: pointer; }
.merken input { width: 22px; height: 22px; accent-color: var(--rasen); }

/* ---------- Leaflet-Karte ---------- */
.leafletkarte { width: 100%; height: min(540px, 62dvh); z-index: 0; }
/* Auf schmalen Bildschirmen bleibt der Lageplan lesbar und lässt sich seitlich wischen */
.lageplan--breit { overflow-x: auto; }
.lageplan--breit svg { min-width: 560px; }
.lageplan--breit figcaption { position: sticky; left: 0; }
.lageplan__wischen { display: none; }
@media (max-width: 640px) { .lageplan__wischen { display: inline; } }
.leaflet-container { font-family: var(--schrift-text); }
.kartenpin-halter { overflow: visible; }
.kartenpin { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 8px)); padding: .15rem .6rem; font: 800 .9rem/1.4 var(--schrift-titel); white-space: nowrap; color: var(--weiss); background: var(--tinte); border: 2px solid var(--weiss); border-radius: 999px; box-shadow: 0 2px 6px rgba(20, 33, 61, .45); }
.kartenpin::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--weiss); }
.kartenpin--parken { background: #1b7fc4; }
.kartenpin--behindert { background: #1d4ed8; }
.kartenpin--helfer { background: #e0a100; color: var(--tinte); }
.kartenpin--drk { background: var(--signal); }
.kartenpin--spielfeld { background: var(--rasen); }
.kartenpin--info { background: var(--tinte-weich); }
.kartenlabel { padding: 0 .35rem; font: 800 .85rem/1.5 var(--schrift-titel); color: var(--tinte); background: rgba(255, 255, 255, .88); border: 0; border-radius: 6px; box-shadow: none; }
.kartenlabel::before { display: none; }
.feldnr { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: grid; place-items: center; width: 1.9rem; height: 1.9rem; font: 800 1.1rem var(--schrift-titel); color: var(--tinte); background: var(--weiss); border: 2px solid var(--tinte); border-radius: 50%; }
.feldwahl { display: flex; gap: 0; border: 2px solid var(--tinte); border-radius: 999px; overflow: hidden; background: var(--weiss); }
.feldwahl__knopf { min-height: 40px; padding: .3rem .8rem; font: 800 .85rem var(--schrift-titel); color: var(--tinte); background: var(--weiss); border: 0; cursor: pointer; }
.feldwahl__knopf + .feldwahl__knopf { border-left: 2px solid var(--tinte); }
.feldwahl__knopf[aria-pressed="true"] { background: var(--sonne); }
.feldplan { display: block; width: 100%; height: auto; margin: .9rem 0 .7rem; }
.feldplan text { font: 800 26px var(--schrift-titel); fill: var(--weiss); }
.leafletkarte--weit .kartenlabel--lang { display: none; }
.kartenlegende { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: .8rem 1.1rem; font-size: .92rem; font-weight: 700; color: var(--tinte); background: var(--weiss); border-top: var(--rand); }
.kartenlegende__zeile { display: inline-flex; align-items: center; gap: .5rem; }
.kartenlegende__farbe { flex: none; width: 14px; height: 14px; border: 2px solid var(--tinte); border-radius: 3px; }

/* ---------- Karten-Editor ---------- */
.editorseite { display: flex; flex-direction: column; min-height: 100dvh; }
.editor { flex: 1; display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: 0; }
.editor__leiste { padding: 1.4rem; background: var(--papier); border-right: var(--rand); overflow-y: auto; max-height: calc(100dvh - 73px); }
.editor__leiste h1 { font-size: 2rem; margin-bottom: .6rem; }
.editor__leiste h2 { font-size: 1.25rem; margin: 1.4rem 0 .6rem; }
.editor__karte { min-height: 520px; z-index: 0; }
.typen { display: grid; gap: .3rem; }
.typen__option { display: flex; align-items: center; gap: .6rem; min-height: 44px; margin: 0; padding: .3rem .7rem; font-weight: 700; background: var(--weiss); border: 2px solid var(--tinte); border-radius: 10px; cursor: pointer; }
.typen__option:has(input:checked) { background: var(--sonne-hell); box-shadow: 3px 3px 0 var(--tinte); }
.typen__option input { width: 20px; height: 20px; margin: 0; accent-color: var(--rasen); }
.typen__farbe { flex: none; width: 18px; height: 18px; border: 2px solid var(--tinte); border-radius: 4px; }
.auswahl { padding: 0 1rem 1rem; background: var(--weiss); border: var(--rand); border-radius: 14px; margin-top: 1.2rem; }
.editor__status { margin: .8rem 0 0; font-weight: 700; min-height: 1.6em; }
.editor__status--fehler { color: var(--signal); }
@media (max-width: 800px) {
  .editor { grid-template-columns: minmax(0, 1fr); }
  .editor__leiste { max-height: none; border-right: 0; border-bottom: var(--rand); }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .9rem; }
.faq details { background: var(--weiss); border: var(--rand); border-radius: 14px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding: .8rem 1.2rem; font: 700 1.2rem/1.25 var(--schrift-titel); cursor: pointer; list-style: none; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--tinte); border-bottom: 3px solid var(--tinte); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details[open] { box-shadow: var(--schatten); }
.faq details p { margin: 0; padding: 0 1.2rem 1.2rem; }

/* ---------- Fuß ---------- */
.fuss { background: var(--tinte); color: var(--weiss); padding: 3rem 0; }
.fuss__innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: end; }
.fuss p { margin: .5rem 0 0; color: #d5dbe8; }
.fuss nav { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; font-weight: 700; align-items: center; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Cookie-Hinweis ---------- */
.einwilligung { position: fixed; z-index: 90; left: 1rem; right: 1rem; bottom: 1rem; max-width: 620px; margin-inline: auto; max-height: calc(100dvh - 2rem); overflow: auto; padding: 1.4rem; color: var(--tinte); background: var(--weiss); border: var(--rand); border-radius: 20px; box-shadow: 8px 8px 0 var(--tinte); }
.einwilligung h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.einwilligung p { font-size: .98rem; }
.einwilligung__optionen { display: grid; gap: .7rem; margin: 1rem 0; }
.einwilligung__option { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .1rem .8rem; padding: .8rem 1rem; background: var(--papier); border-radius: 12px; }
.einwilligung__option input { width: 24px; height: 24px; margin: .15rem 0 0; accent-color: var(--rasen); }
.einwilligung__option label { margin: 0; }
.einwilligung__option p { grid-column: 2; margin: 0; font-size: .9rem; color: var(--tinte-weich); }
.einwilligung__knoepfe { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
/* Ablehnen und Zustimmen sind bewusst gleich gestaltet */
.einwilligung__knoepfe .knopf { background: var(--weiss); min-height: 50px; font-size: 1rem; padding-inline: .8rem; }
.einwilligung__links { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.4rem; margin-top: .6rem; font-size: .92rem; font-weight: 700; }

/* ---------- Rechtstexte ---------- */
.rechtstext { width: min(780px, 100% - 2.5rem); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.rechtstext h1 { font-size: clamp(2.3rem, 6vw, 3.4rem); margin-bottom: 1.5rem; }
.rechtstext h2 { font-size: 1.6rem; margin: 2.4rem 0 .7rem; }
.rechtstext h3 { font-size: 1.2rem; margin: 1.5rem 0 .4rem; }
.rechtstext ul { padding-left: 1.3rem; }
.rechtstext li { margin-bottom: .35rem; }
.rechtstext address { font-style: normal; margin-bottom: 1rem; }
.todo { padding: .05em .35em; background: var(--sonne); border-radius: 5px; font-weight: 700; }
.zurueck { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.tabelle-rahmen { overflow-x: auto; }
.rechtstext table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.rechtstext th, .rechtstext td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 2px solid #dfe3ea; }

/* ---------- Einblenden beim Scrollen ---------- */
.js .einblenden { opacity: 0; translate: 0 22px; transition: opacity .5s ease, translate .5s cubic-bezier(.2, .9, .3, 1.2); }
.js .einblenden.sichtbar { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .pavillons, .plan__raster, .schaufenster__innen { grid-template-columns: minmax(0, 1fr); }
  .menue-knopf { display: inline-flex; }
  .wegweiser, .sponsoren { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; background: var(--papier); border-bottom: var(--rand); }
  .nav.offen { display: flex; }
  .nav a:not(.knopf) { padding: .85rem 0; border-bottom: 2px dashed #d8d2bd; }
  .nav .knopf { margin-top: 1rem; }
  .kopf__innen { position: relative; }
  .hero__raster, .idee, .anmeldung, .anfahrt { grid-template-columns: minmax(0, 1fr); }
  .anmeldung__intro { position: static; }
  .erfolg { grid-column: 1; }
  .spiel { transform: none; }
  .drei { grid-template-columns: minmax(0, 1fr); }
  .regelkarten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .regeln, .regelkarten, .feld-reihe, .feld-reihe:has(.feld--schmal) { grid-template-columns: minmax(0, 1fr); }
  .wahl--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wegweiser { grid-template-columns: minmax(0, 1fr); }
  .hinweise--zwei { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: minmax(0, 1fr); }
  .platz__buehne { height: min(62vh, 108vw); }
  .platz-marke { font-size: .72rem; padding: .05rem .45rem; }
  .platz__tour { left: .5rem; bottom: .5rem; width: calc(100% - 1rem); padding: .7rem .8rem; }
  .platz__tour h2 { font-size: 1.15rem; }
  .platz__tour p { font-size: .88rem; margin-bottom: .55rem; }
  .platz__buehne { height: min(78vh, 150vw); }
  .platz-marke--info { font-size: .8rem; }
  .platz__steuerung .platz__text { font-size: .85rem; padding: 0 .6rem; }
  .plan__reiter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .plan__team { width: 100%; }
  .teamzeile { grid-template-columns: minmax(0, 1fr); padding-bottom: .8rem; border-bottom: 2px dashed #d5d9e2; }
  .druckblatt__angaben { grid-template-columns: minmax(0, 1fr); }
  .zeitplan--tage li { grid-template-columns: minmax(0, 1fr); }
  .karte--schief, .karte--schief-l { transform: none; }
  .zeitplan li { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .countdown__zahlen { width: 100%; }
  .countdown__zahlen div { flex: 1; min-width: 0; }
  .hero__knoepfe .knopf { width: 100%; }
  .einwilligung__knoepfe { grid-template-columns: minmax(0, 1fr); }
  .spiel__fuss p { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .einblenden { opacity: 1; translate: 0 0; }
}

/* ---- Helfer- und Kuchenliste ---- */
.helferstand { margin-top: 1.6rem; }
.helferstand__zahlen { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin: 0 0 .8rem; font: 800 1.15rem var(--schrift-titel); }
.helferstand__zahlen b { font-size: 1.7rem; color: var(--rasen); }
.helferstand ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.helferstand li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1rem; padding: .45rem 0; border-top: 2px dashed rgba(20, 33, 61, .2); }
.helferstand li span { color: var(--tinte-weich); }

/* ---- Neuigkeiten ---- */
.neuigkeiten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.neuigkeiten--liste { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
.neuigkeit__text { white-space: pre-line; overflow-wrap: anywhere; }
.neuigkeiten__mehr { margin-top: 1.6rem; }
.orga-news { margin-bottom: 1.6rem; max-width: 46rem; box-shadow: 4px 4px 0 var(--tinte); }

/* ---- Vorstellungsseite ---- */
.vorstellung__zahlen { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.vorstellung__zahlen li { display: grid; gap: .1rem; padding: 1rem 1.1rem; }
.vorstellung__zahlen b { font: 800 2rem/1.1 var(--schrift-titel); color: var(--rasen); }
.vorstellung__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.vorstellung__liste .karte p:last-child { margin-bottom: 0; }
.vorstellung__liste a.karte { display: block; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.vorstellung__liste a.karte:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--tinte); }

@media (max-width: 960px) {
  .neuigkeiten, .vorstellung__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .neuigkeiten--liste { grid-template-columns: minmax(0, 1fr); }
  .vorstellung__zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .neuigkeiten, .vorstellung__liste { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .wegweiser__karte:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---- Fundbüro ---- */
.fundsachen { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.fundsachen:empty { display: none; }
.fundsache h3 { margin-bottom: .3rem; overflow-wrap: anywhere; }
.fundsache p { margin: 0; color: var(--tinte-weich); }
.fundsachen__hinweis { margin-top: 1.6rem; }
@media (max-width: 960px) { .fundsachen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fundsachen { grid-template-columns: minmax(0, 1fr); } }
.fundsache__foto { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: .9rem; border: 2px solid var(--tinte); border-radius: 12px; background: var(--weiss); }
.fund-vorschau { display: block; max-width: min(260px, 100%); height: auto; margin: .8rem 0; border: 2px solid var(--tinte); border-radius: 12px; }
input[type="file"] { max-width: 100%; font: inherit; }

/* ---- Sponsoren und Texte aus dem Orga-Bereich ---- */
.sponsoren a { display: grid; place-items: center; width: 100%; height: 100%; text-decoration: none; color: inherit; }
.sponsoren img { max-height: 110px; object-fit: contain; }
.sponsoren__name { font: 800 1.25rem/1.2 var(--schrift-titel); overflow-wrap: anywhere; }
.mehrzeilig { white-space: pre-line; }
.faq details p + p { margin-top: -.5rem; }
.orga-knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.textknopf:disabled { opacity: .35; cursor: default; }

/* ---- Hauptmenü in Gruppen ---- */
.nav__gruppe { position: relative; }
.nav__titel { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 0; font: inherit; font-weight: 700; color: inherit; background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer; }
.nav__titel::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.nav__titel:hover { border-bottom-color: var(--rasen); }
.nav__titel.ist-aktiv { border-bottom-color: var(--tinte); color: var(--rasen); }
.nav__gruppe.offen .nav__titel::after { transform: rotate(225deg); margin-top: 4px; }
.nav__liste { display: none; position: absolute; top: calc(100% + 6px); left: -1rem; z-index: 60; min-width: 300px; margin: 0; padding: .5rem; list-style: none; background: var(--weiss); border: var(--rand); border-radius: 14px; box-shadow: var(--schatten); }
.nav__gruppe:last-of-type .nav__liste { left: auto; right: -1rem; }
.nav__gruppe.offen .nav__liste { display: block; }
html:not(.js) .nav__gruppe:hover .nav__liste, html:not(.js) .nav__gruppe:focus-within .nav__liste { display: block; }
.nav .nav__liste a { display: block; padding: .6rem .8rem; border: 0; border-radius: 9px; font-weight: 700; }
.nav .nav__liste a:hover { background: var(--sonne-hell); }
.nav .nav__liste a[aria-current="page"] { background: var(--rasen-hell); color: var(--rasen); }

/* Vier Menüpunkte passen auch auf Tablets nebeneinander; das Aufklappmenü kommt erst darunter */
@media (min-width: 861px) and (max-width: 1180px) {
  .menue-knopf { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 1.3rem; padding: 0; background: none; border-bottom: 0; }
  .nav .knopf { margin-top: 0; }
}
@media (max-width: 860px) {
  .nav { max-height: calc(100vh - 74px); max-height: calc(100dvh - 74px); overflow-y: auto; overscroll-behavior: contain; }
  .nav__gruppe { padding-top: .8rem; }
  .nav__titel { min-height: 0; padding: 0; border: 0; pointer-events: none; font: 700 .8rem var(--schrift-titel); letter-spacing: .08em; text-transform: uppercase; color: var(--rasen); }
  .nav__titel::after { display: none; }
  .nav__liste, .nav__gruppe:last-of-type .nav__liste { display: block; position: static; min-width: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .nav .nav__liste a { padding: .5rem 0; border-radius: 0; border-bottom: 2px dashed #d8d2bd; }
  .nav .nav__liste a:hover { background: none; }
  .nav .nav__liste a[aria-current="page"] { background: none; }
}

/* ---- Fußzeile in Spalten ---- */
.fuss__innen { align-items: start; }
.fuss__marke { flex: 1 1 260px; max-width: 380px; }
.fuss .fuss__nav { flex: 3 1 560px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; align-items: start; font-weight: 400; }
.fuss__titel { margin: 0 0 .5rem; font: 700 .8rem var(--schrift-titel); letter-spacing: .08em; text-transform: uppercase; color: var(--sonne); }
.fuss__nav ul { list-style: none; margin: 0; padding: 0; }
.fuss .fuss__nav a { display: inline-flex; min-height: 38px; align-items: center; font-weight: 700; }
.fuss__recht { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.8rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 2px solid rgba(255, 255, 255, .18); font-weight: 700; }
.fuss__recht a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss__orga { margin-left: auto; font-weight: 400; color: #d5dbe8; }
@media (max-width: 860px) {
  .fuss .fuss__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss__orga { margin-left: 0; }
}

/* ---- Startseite: Einstiege nach Zielgruppe ---- */
.einstiege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.einstieg ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.einstieg li + li { border-top: 2px dashed rgba(20, 33, 61, .2); }
.einstieg a { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 48px; padding: .4rem 0; font-weight: 700; text-decoration: none; }
.einstieg a svg { flex: none; width: 22px; height: 22px; transition: transform .15s ease; }
.einstieg a:hover { color: var(--rasen); }
.einstieg a:hover svg { transform: translateX(4px); }
@media (max-width: 960px) { .einstiege { grid-template-columns: minmax(0, 1fr); } }
/* Telefonlink in der Orga-Tabelle: groß genug zum Antippen */
a.orga-tabelle__zusatz { display: inline-block; padding: .2rem 0; }

/* ---- Anmeldecode ---- */
.codezeile { display: flex; flex-wrap: wrap; gap: .7rem; align-items: stretch; }
.codezeile input { flex: 1 1 180px; font: 800 1.25rem var(--schrift-titel); letter-spacing: .08em; text-transform: uppercase; }
.codezeile input::placeholder { letter-spacing: .04em; font-weight: 600; }
.codezeile .knopf { flex: none; }
input[readonly] { background: var(--rasen-hell); }
.code-ok { margin: .4rem 0 0; font-weight: 800; color: var(--rasen); }
.orga-code { margin: 0 0 .8rem; font: 800 1.5rem var(--schrift-titel); letter-spacing: .1em; user-select: all; }

/* ---- Instagram-Link ---- */
.insta { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-weight: 700; }
.insta svg { flex: none; width: 26px; height: 26px; }
.fuss .insta { color: var(--weiss); }
.insta--dunkel { color: var(--tinte); }
