/* ki-schulung-gefoerdert.de: Motiv „Förderlandkarte“ (Kachelkarte der 16 Länder) und „Kalenderblatt“ (fünf Tage Bildungsurlaub).
   Schriften lokal (Fraunces, Public Sans; SIL OFL 1.1), keine Abrufe bei Dritten. Eine Hintergrundfarbe für die ganze Seite,
   damit iPhone-Safari die Ränder hinter Status- und Adressleiste nicht in einer anderen Farbe einfriert. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --grund: #EDEFE6;
  --grund-2: #E1E5D8;
  --karte: #FBFCF7;
  --tinte: #10292A;
  --tinte-2: #3A5250;
  --signal: #B83E15;   /* 4,84:1 auf --grund, 5,45:1 auf --karte (WCAG AA) */
  --signal-dunkel: #93300F;   /* Hover und Flächen: 7,0:1 auf --grund */
  --signal-hell: #F7DCCF;
  --see: #23637F;
  --see-hell: #D7E8EF;
  --feld: #F2C14E;
  --feld-hell: #FBEDC6;
  --linie: #C3CABA;
  --schatten: 0 1px 0 rgba(16, 41, 42, .05), 0 22px 44px -26px rgba(16, 41, 42, .45);
  --kopf-h: 4.25rem;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --rand: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 1rem); background: var(--grund); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--grund); color: var(--tinte); font: 400 1.0625rem/1.68 var(--sans); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--tinte); text-decoration-color: var(--signal); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--signal-dunkel); }
:focus-visible { outline: 3px solid var(--see); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--feld); color: var(--tinte); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .55em; text-wrap: balance; }
h1, h2 { overflow-wrap: break-word; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); letter-spacing: -.025em; }
h1 em { font-style: normal; color: var(--signal); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.28rem; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .45em; }
strong, b { font-weight: 600; }
.huelle { max-width: 74rem; margin: 0 auto; padding: 0 var(--rand); }
.lesen { max-width: 46rem; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -999px; top: .5rem; background: var(--tinte); color: #fff; padding: .6rem 1rem; z-index: 99; }
.sprung:focus { left: .5rem; }
.entwurf { background: var(--feld); color: var(--tinte); text-align: center; font-size: .9rem; padding: .45rem var(--rand); font-weight: 600; }
.offen { background: var(--feld); box-shadow: 0 0 0 .15em var(--feld); border-radius: .15em; padding: 0 .1em; }
.kicker { font: 600 .9rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--see); margin-bottom: .9rem; }
.leise { color: var(--tinte-2); font-size: .95rem; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 30; background: rgba(237, 239, 230, .94); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; min-height: var(--kopf-h); gap: 1rem; }
.marke { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; text-decoration: none; font: 600 1.06rem/1.05 var(--sans); }
.marke b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.22rem; color: var(--signal); }
.marke-zeichen { display: grid; grid-template-columns: repeat(2, .78rem); gap: 3px; }
.marke-zeichen i { width: .78rem; height: .78rem; border-radius: 3px; background: var(--tinte); }
.marke-zeichen i:nth-child(2) { background: var(--signal); }
.marke-zeichen i:nth-child(3) { background: var(--see); }
.marke-zeichen i:nth-child(4) { background: var(--feld); }
.menue { display: flex; align-items: center; gap: 1.4rem; }
.menue a { text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.menue a[aria-current="page"] { color: var(--signal); }
.menue-schalter { display: none; }
.fortschritt { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(var(--fortschritt, 0)); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.35rem; border-radius: 999px; background: var(--signal); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid var(--signal); line-height: 1.2; text-align: center; transition: transform .15s ease, background .15s ease; }
.knopf:hover { color: #fff; background: var(--signal-dunkel); border-color: var(--signal-dunkel); transform: translateY(-1px); }
.knopf.hell { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.knopf.hell:hover { background: var(--tinte); color: #fff; }
.knopf.klein { min-height: 2.6rem; padding: .45rem 1rem; color: #fff; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .6rem; }
.aufruf { margin: 2rem 0 1.4rem; padding: 1.4rem 1.5rem; background: var(--karte); border: 1px solid var(--linie); border-left: 6px solid var(--signal); border-radius: 14px; max-width: 46rem; }
.aufruf .leise { margin: 0; }

/* Seitenkopf und Bühne */
.seitenkopf { padding: clamp(2.2rem, 6vw, 4.6rem) 0 clamp(1.6rem, 4vw, 2.6rem); }
.seitenkopf.mit-motiv .huelle { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.seitenkopf.mit-motiv .kopf-motiv { position: sticky; top: calc(var(--kopf-h) + 1.5rem); }
.pfad { font-size: .95rem; color: var(--tinte-2); margin-bottom: 1.1rem; }
.unterzeile { font-size: clamp(1.1rem, 1.6vw, 1.28rem); max-width: 40rem; color: var(--tinte-2); }
.kurz { background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; padding: 1.1rem 1.3rem; margin: 1.4rem 0 .8rem; max-width: 46rem; box-shadow: var(--schatten); }
.kurz p { margin: 0; }
.kurz-marke { font: 600 .9rem/1 var(--sans) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); margin-bottom: .55rem !important; }
.stand { font-size: .95rem; color: var(--tinte-2); }
.stand span { border-top: 2px solid var(--see); padding-top: .3rem; }

/* Abschnitte */
.abschnitt { padding: clamp(2.4rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--linie); }
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin: 1.4rem 0; }
.drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 1.4rem 0; }
.kachel { background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; padding: 1.3rem 1.35rem; }
.kachel h3 { margin-bottom: .45em; }
.kachel p:last-child, .kachel ul:last-child { margin-bottom: 0; }
.zahl-gross { display: block; font: 600 clamp(2rem, 4vw, 2.7rem)/1 var(--serif); color: var(--signal); margin-bottom: .45rem; }
.hinweis { background: var(--see-hell); border-radius: 12px; padding: 1rem 1.2rem; max-width: 46rem; margin: 1.2rem 0; }
.hinweis p:last-child { margin-bottom: 0; }
.warnung { background: var(--signal-hell); border-radius: 12px; padding: 1rem 1.2rem; max-width: 46rem; margin: 1.2rem 0; }
.warnung p:last-child { margin-bottom: 0; }
.merk { padding-left: 1.2rem; }
.merk li::marker { color: var(--signal); }
.quellen { font-size: .95rem; color: var(--tinte-2); max-width: 52rem; margin-top: 1.6rem; }

/* Tabellen */
.tabelle-huelle { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--linie); border-radius: 14px; background: var(--karte); }
.tabelle { width: 100%; border-collapse: collapse; font-size: .98rem; }
.tabelle caption { text-align: left; padding: .9rem 1rem; font-size: .95rem; color: var(--tinte-2); caption-side: bottom; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: .75rem 1rem; border-bottom: 1px solid var(--grund-2); }
.tabelle thead th { background: var(--tinte); color: #fff; font-weight: 600; }
.tabelle tbody th { font-weight: 600; }

/* Route (Schritte) */
.route { list-style: none; padding: 0; margin: 1.6rem 0; counter-reset: r; max-width: 48rem; position: relative; }
.route::before { content: ""; position: absolute; left: 1.15rem; top: .5rem; bottom: .5rem; width: 2px; background: repeating-linear-gradient(to bottom, var(--see) 0 8px, transparent 8px 14px); }
.wegmarke { position: relative; padding: 0 0 1.4rem 3.6rem; margin: 0; }
.w-nr { position: absolute; left: 0; top: 0; width: 2.35rem; height: 2.35rem; border-radius: 50%; display: grid; place-items: center; background: var(--karte); border: 2px solid var(--see); font: 600 1.05rem/1 var(--serif); color: var(--see); transition: background .4s ease, color .4s ease, transform .4s ease; }
.wegmarke.erreicht .w-nr { background: var(--see); color: #fff; transform: scale(1.06); }
.wegmarke h3 { margin-bottom: .3em; padding-top: .3rem; }
.wegmarke p { margin: 0; }

/* Förderlandkarte */
.foerderkarte { margin: 0; }
.karte-raster { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); gap: .45rem; max-width: 27rem; margin-left: auto; }
.foerderkarte.gross .karte-raster { max-width: 38rem; margin: 0 auto; gap: .6rem; }
.kachel-land { aspect-ratio: 1; border-radius: 12px; display: flex; flex-direction: column; justify-content: space-between; padding: .5rem .55rem; text-decoration: none; color: var(--tinte); background: var(--karte); border: 2px solid var(--linie); position: relative; overflow: hidden; }
.k-kurz { font: 600 1.15rem/1 var(--serif); letter-spacing: .02em; }
.k-name { display: none; }
.foerderkarte.gross .k-name { display: block; font-size: .875rem; line-height: 1.15; hyphens: auto; -webkit-hyphens: auto; }
.kachel-land.x-1 { grid-column: 1; }
.kachel-land.x-2 { grid-column: 2; }
.kachel-land.x-3 { grid-column: 3; }
.kachel-land.x-4 { grid-column: 4; }
.kachel-land.x-5 { grid-column: 5; }
.kachel-land.y-1 { grid-row: 1; }
.kachel-land.y-2 { grid-row: 2; }
.kachel-land.y-3 { grid-row: 3; }
.kachel-land.y-4 { grid-row: 4; }
.kachel-land.y-5 { grid-row: 5; }
.kachel-land::after { content: ""; position: absolute; inset: 0; border-radius: 10px; transform: translateY(101%); transition: transform .55s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.kachel-land.i-0::after { transition-delay: 0ms; }
.kachel-land.i-1::after { transition-delay: 55ms; }
.kachel-land.i-2::after { transition-delay: 110ms; }
.kachel-land.i-3::after { transition-delay: 165ms; }
.kachel-land.i-4::after { transition-delay: 220ms; }
.kachel-land.i-5::after { transition-delay: 275ms; }
.kachel-land.i-6::after { transition-delay: 330ms; }
.kachel-land.i-7::after { transition-delay: 385ms; }
.kachel-land.i-8::after { transition-delay: 440ms; }
.kachel-land.i-9::after { transition-delay: 495ms; }
.kachel-land.i-10::after { transition-delay: 550ms; }
.kachel-land.i-11::after { transition-delay: 605ms; }
.kachel-land.i-12::after { transition-delay: 660ms; }
.kachel-land.i-13::after { transition-delay: 715ms; }
.kachel-land.i-14::after { transition-delay: 770ms; }
.kachel-land.i-15::after { transition-delay: 825ms; }
.kachel-land > * { position: relative; z-index: 1; }
.kachel-land { isolation: isolate; }
.kachel-land.s-aktiv { border-color: var(--signal); }
.kachel-land.s-aktiv::after { background: var(--signal); }
.kachel-land.s-ausgesetzt { border-color: var(--tinte-2); }
.kachel-land.s-ausgesetzt::after { background: repeating-linear-gradient(135deg, var(--grund-2) 0 6px, var(--karte) 6px 12px); }
.kachel-land.s-unklar { border-color: var(--see); }
.kachel-land.s-unklar::after { background: var(--see-hell); }
.kachel-land.s-offen { border-style: dashed; border-color: #C9A23A; }
.kachel-land.s-offen::after { background: var(--feld-hell); }
.foerderkarte.da .kachel-land::after, html:not(.bewegt) .kachel-land::after { transform: none; }
.foerderkarte.da .kachel-land.s-aktiv, html:not(.bewegt) .kachel-land.s-aktiv { color: #fff; }
.kachel-land.markiert { outline: 3px solid var(--tinte); outline-offset: 2px; }
a.kachel-land:hover { transform: translateY(-2px); }
.legende { list-style: none; padding: 0; margin: 1rem 0 0 auto; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .9rem; max-width: 27rem; }
.foerderkarte.gross .legende { margin: 1rem auto 0; max-width: 38rem; }
.legende li { display: flex; align-items: center; gap: .4rem; margin: 0; }
.legende i { width: .95rem; height: .95rem; border-radius: 4px; display: inline-block; border: 2px solid var(--linie); }
.legende i.s-aktiv { background: var(--signal); border-color: var(--signal); }
.legende i.s-ausgesetzt { background: repeating-linear-gradient(135deg, var(--grund-2) 0 3px, var(--karte) 3px 6px); border-color: var(--tinte-2); }
.legende i.s-unklar { background: var(--see-hell); border-color: var(--see); }
.legende i.s-offen { background: var(--feld-hell); border: 2px dashed #C9A23A; }

/* Länderkarten (Übersicht) */
.laender { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin: 1.6rem 0; }
.land { background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; padding: 1.2rem 1.3rem; border-top: 6px solid var(--linie); }
.land.s-aktiv { border-top-color: var(--signal); }
.land.s-ausgesetzt { border-top-color: var(--tinte-2); }
.land.s-unklar { border-top-color: var(--see); }
.land.s-offen { border-top-color: var(--feld); }
.land h3 { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.land .pille { font: 600 .875rem/1.2 var(--sans); padding: .25rem .6rem; border-radius: 999px; background: var(--grund-2); white-space: nowrap; }
.land.s-aktiv .pille { background: var(--signal-hell); color: #8A2D0D; }
.land dl { margin: 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: .35rem .8rem; font-size: .97rem; }
.land dt { font-weight: 600; color: var(--tinte-2); }
.land dd { margin: 0; }

/* Kalenderblatt */
.kalenderblatt { margin: 0 0 0 auto; max-width: 23rem; background: var(--karte); border-radius: 16px; box-shadow: var(--schatten); border: 1px solid var(--linie); overflow: hidden; transform: rotate(1.5deg); }
.kb-kopf { display: flex; justify-content: space-between; background: var(--see); color: #fff; padding: .9rem 1.1rem; font: 600 1.35rem/1 var(--serif); }
.kb-raster { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; padding: 1rem; }
.kb-raster b { font-size: .875rem; text-align: center; color: var(--tinte-2); font-weight: 600; }
.kb-raster span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font: 600 1.05rem/1 var(--serif); background: var(--grund); position: relative; }
.kb-raster span.bu::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 3px solid var(--signal); transform: scale(.4) rotate(-20deg); opacity: 0; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), opacity .2s ease; transition-delay: calc(var(--n, 0) * 140ms); }
.kalenderblatt.da .kb-raster span.bu::after, html:not(.bewegt) .kb-raster span.bu::after { transform: none; opacity: 1; }
.kb-notiz { margin: 0; padding: 0 1.1rem 1rem; font: 400 1rem/1.3 var(--serif); color: var(--signal); }

/* Wegweiser */
.wegweiser { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.4rem; background: var(--tinte); color: #fff; border-radius: 20px; padding: clamp(1.2rem, 3vw, 2rem); margin: 1.6rem 0; }
.wegweiser a { color: #fff; text-decoration-color: var(--feld); }
.ww-feld { border: 0; padding: 0; margin: 0 0 1.2rem; }
.ww-feld legend, .ww-feld > label { display: block; font-weight: 600; margin-bottom: .5rem; font-size: 1.02rem; }
.ww-feld small { display: block; font-weight: 400; opacity: .82; font-size: .9rem; }
.wegweiser select { width: 100%; min-height: 3rem; font: 400 1rem var(--sans); padding: .55rem .8rem; border-radius: 10px; border: 2px solid #5E7B78; background: #F6F8F2; color: var(--tinte); }
.wahl { display: flex; flex-wrap: wrap; gap: .45rem; }
.wahl label { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .45rem .85rem; border-radius: 999px; border: 2px solid #5E7B78; cursor: pointer; font-size: .98rem; }
.wahl input { accent-color: var(--feld); width: 1.05rem; height: 1.05rem; margin: 0; }
.wahl label:has(input:checked) { background: var(--feld); color: var(--tinte); border-color: var(--feld); }
.ww-ergebnis { background: #F6F8F2; color: var(--tinte); border-radius: 14px; padding: 1.2rem 1.3rem; min-height: 12rem; }
.ww-ergebnis a { color: var(--tinte); text-decoration-color: var(--signal); }
.ww-ergebnis h3 { font-size: 1.12rem; margin: 0 0 .35rem; }
.ww-block { padding: .2rem 0 .9rem; margin-bottom: .9rem; border-bottom: 1px solid var(--linie); }
.ww-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.ww-block p { margin: 0 0 .4rem; }
.ww-marke { display: inline-block; font: 600 .875rem/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; margin-bottom: .45rem; }
.ww-marke.gut { background: var(--signal-hell); color: #8A2D0D; }
.ww-marke.nein { background: var(--grund-2); color: var(--tinte-2); }
.ww-marke.offen-m { background: var(--feld-hell); color: #6A5210; }
.ww-hinweis { margin: 0; color: var(--tinte-2); }
.ww-ohne-js { grid-column: 1 / -1; background: #F6F8F2; color: var(--tinte); border-radius: 14px; padding: 1rem 1.2rem; }
.ww-ohne-js a { color: var(--tinte); }

/* Fragen */
.fragen details { background: var(--karte); border: 1px solid var(--linie); border-radius: 12px; margin-bottom: .6rem; }
.fragen summary { cursor: pointer; padding: .95rem 3rem .95rem 1.15rem; font-weight: 600; list-style: none; position: relative; min-height: 2.75rem; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font: 600 1.4rem/1 var(--serif); color: var(--signal); }
.fragen details[open] summary::after { content: "−"; }
.antwort { padding: 0 1.15rem 1rem; }
.antwort p { margin: 0; }

/* Weiterlesen */
.weiter-liste { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .9rem; }
.weiter-liste li { background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; padding: 1rem 1.15rem; margin: 0; }
.weiter-liste a { display: block; font: 600 1.12rem/1.25 var(--serif); margin-bottom: .3rem; }
.weiter-liste span { font-size: .95rem; color: var(--tinte-2); }

/* Glossar */
.glossar dt { font: 600 1.2rem/1.3 var(--serif); margin-top: 1.3rem; }
.glossar dd { margin: .3rem 0 0; max-width: 46rem; }

/* Fuß */
.fuss { background: var(--tinte); color: #E6ECE6; padding: 3rem 0 6rem; margin-top: 2rem; }
.fuss a { color: #fff; text-decoration-color: var(--feld); }
.fuss h2 { font-size: 1.15rem; color: #fff; }
.fuss .spalten { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 1.6rem; }
.fuss ul { list-style: none; padding: 0; }
.fuss li { margin-bottom: .55rem; }
.fuss .klein { font-size: .9rem; opacity: .9; margin-top: 2rem; max-width: 60rem; }

/* Leiste unten (Handy) */
.leiste-unten { display: none; }

/* Bewegung beim Erscheinen: nur mit Skript */
.bewegt .auftritt { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.bewegt .auftritt.da { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .seitenkopf.mit-motiv .huelle { grid-template-columns: 1fr; }
  .seitenkopf.mit-motiv .kopf-motiv { position: static; }
  .karte-raster, .legende { margin-left: 0; }
  .kalenderblatt { margin: 0; }
  .wegweiser { grid-template-columns: 1fr; }
  .fuss .spalten { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  h1 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  h1, h2 { hyphens: auto; -webkit-hyphens: auto; }
  .menue-schalter { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem 1rem; border-radius: 999px; border: 2px solid var(--tinte); background: transparent; font: 600 1rem var(--sans); color: var(--tinte); }
  .menue { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--grund); border-bottom: 1px solid var(--linie); padding: .5rem var(--rand) 1.2rem; }
  .menue.offen-menue { display: flex; }
  .menue a { padding: .8rem 0; border-bottom: 1px solid var(--grund-2); }
  .menue .knopf { margin-top: .8rem; border-bottom: 0; }
  .zwei, .drei, .laender { grid-template-columns: 1fr; }
  .land dl { grid-template-columns: 1fr; gap: .1rem; }
  .land dd { margin-bottom: .45rem; }
  .leiste-unten { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem var(--rand) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(237, 239, 230, .97); border-top: 1px solid var(--linie); transform: translateY(110%); transition: transform .3s ease; }
  .leiste-unten .knopf { flex: 1; min-height: 2.9rem; }
  .leiste-da .leiste-unten { transform: none; }
  .stapel thead { display: none; }
  .stapel tr { display: block; border-bottom: 1px solid var(--linie); padding: .5rem 0; }
  .stapel th, .stapel td { display: block; border: 0; padding: .3rem 1rem; }
  .stapel th a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .stapel td::before { content: attr(data-spalte); display: block; font-weight: 600; font-size: .875rem; color: var(--tinte-2); }
  .kachel-land { padding: .35rem .4rem; border-radius: 9px; }
  .k-kurz { font-size: 1rem; }
  .k-name { display: none; }
  .foerderkarte.gross .k-name { display: none; }
  .fuss .spalten { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .kachel-land::after { transform: none; }
  .kachel-land.s-aktiv { color: #fff; }
  .kb-raster span.bu::after { transform: none; opacity: 1; }
}

/* Musterformulierung (Länderseiten Bildungsurlaub) */
.muster { background: var(--karte); border: 1px dashed var(--tinte-2); border-radius: 14px; padding: 1.2rem 1.4rem; max-width: 46rem; margin: 1.4rem 0; font-size: 1rem; }
.muster p { margin: 0 0 .7rem; }
.muster p:last-child { margin-bottom: 0; }
