/* Puppenspiel-Werkstatt (Stand 25.11.2026)
   Gestaltung nach der Daliono-Erlebniswelt: Raleway, Daliono-Blau, Pastellflächen, runde Ecken, Breite 1280 px.
   Logische Eigenschaften (inline/block) statt left/right, damit Sprachen mit dir="rtl" ohne Umbau funktionieren. */

@font-face {
  font-family: "Raleway";
  src: url("schrift/Raleway-Variable-Latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blau: #0042a0; --blau-dunkel: #003177; --tinte: #1d2b3f; --text: #2b3136; --leise: #5b636b; --linie: #e6e2da;
  --sand: #f7f5f1; --gelb: #f6c544;
  --sky: #dbe5f2; --sky-ink: #0042a0; --sky-strong: #0042a0;
  --mint: #D5EFC8; --mint-ink: #2F5E24; --mint-strong: #4F9D3A;
  --vanilla: #FBEFB8; --vanilla-ink: #6E5208; --vanilla-strong: #E0B416;
  --rose: #FADBD0; --rose-ink: #8F2A1A; --rose-strong: #D9452F;
  --lilac: #ECDFF5; --lilac-ink: #4A3A5C; --lilac-strong: #9A6FD1;
  --apricot: #FDE3C8; --apricot-ink: #874610; --apricot-strong: #F08A24;
  --grau: #eef0f3; --grau-ink: #33415e; --grau-strong: #5b636b;
  --schrift: "Raleway", system-ui, -apple-system, "Segoe UI", "Noto Sans", "Noto Sans Arabic", Roboto, Arial, sans-serif;
  --r-gross: 28px; --r-mittel: 22px; --r-klein: 14px;
  --rahmen: 1280px; --rand: clamp(16px, 3vw, 24px);
}
.c-sky { --bg: var(--sky); --ink: var(--sky-ink); --strong: var(--sky-strong); }
.c-mint { --bg: var(--mint); --ink: var(--mint-ink); --strong: var(--mint-strong); }
.c-vanilla { --bg: var(--vanilla); --ink: var(--vanilla-ink); --strong: var(--vanilla-strong); }
.c-rose { --bg: var(--rose); --ink: var(--rose-ink); --strong: var(--rose-strong); }
.c-lilac { --bg: var(--lilac); --ink: var(--lilac-ink); --strong: var(--lilac-strong); }
.c-apricot { --bg: var(--apricot); --ink: var(--apricot-ink); --strong: var(--apricot-strong); }
.c-grau { --bg: var(--grau); --ink: var(--grau-ink); --strong: var(--grau-strong); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--blau); text-underline-offset: .18em; }
a:hover { color: var(--blau-dunkel); }
h1, h2, h3 { color: var(--tinte); font-weight: 700; line-height: 1.12; text-wrap: balance; margin: 0; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: #fff; padding: 0; z-index: 50; border-radius: 8px; }
.skip:focus { width: auto; height: auto; overflow: visible; clip-path: none; padding: .6rem 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rahmen { max-width: var(--rahmen); margin-inline: auto; padding-inline: var(--rand); }
.ic { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -.22em; }
.ic.gross { width: 40px; height: 40px; }
.klein { font-size: .875rem; color: var(--leise); }
.h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-block-end: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--tinte); text-decoration: none; }
.marke-zeichen { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blau); color: #fff; }
.marke-ic { width: 22px; height: 22px; }
.marke-text { display: flex; flex-direction: column; line-height: 1.1; }
.marke-text strong { font-size: 1.125rem; }
.marke-text small { font-size: .8125rem; color: var(--leise); font-weight: 600; }
.hauptnav { margin-inline-start: auto; }
.hauptnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hauptnav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--tinte); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.hauptnav a:hover { background: var(--sky); }
.zum-shop { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding-inline-start: 20px; border-inline-start: 1px solid var(--linie); text-decoration: none; }
.zum-shop img { display: block; height: 21px; width: auto; }
.zum-shop-text { display: inline-flex; align-items: center; gap: 4px; color: var(--leise); font-size: .75rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.zum-shop-text .ic { width: 12px; height: 12px; }
.zum-shop:hover .zum-shop-text { color: var(--blau); }
[dir="rtl"] .zum-shop-text .ic { transform: scaleX(-1); }
@media (max-width: 860px) {
  .kopf-innen { flex-wrap: wrap; gap: 8px 16px; padding-block: 10px; }
  .hauptnav { order: 3; width: 100%; margin: 0 calc(-1 * var(--rand)); overflow-x: auto; scrollbar-width: none; }
  .hauptnav ul { padding-inline: var(--rand); }
  .hauptnav a { white-space: nowrap; background: var(--sand); font-size: .875rem; }
  .zum-shop { margin-inline-start: auto; padding: 0; border: 0; }
  .zum-shop img { height: 18px; }
  .zum-shop-text { font-size: .6875rem; }
  .kopf { position: relative; z-index: 40; }
}
/* Handy: Daliono-Logo ausblenden („von Daliono“ steht im Titel), damit die Sprachauswahl in der ersten Zeile rechts bleibt */
@media (max-width: 540px) {
  .zum-shop { display: none; }
  .sprachwahl { margin-inline-start: auto; }
  .kopf-innen { column-gap: 8px; }
}

/* ---------- Bausteine ---------- */
.pill { display: inline-flex; align-items: center; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink, var(--blau)); font-size: .8125rem; font-weight: 700; line-height: 1.2; }
.pill-gelb { background: var(--gelb); color: var(--tinte); }
.pill-jetzt { background: var(--tinte); color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.knopf { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: 999px; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; }
.knopf:hover { transform: translateY(-1px); }
.knopf-primaer { background: var(--blau); color: #fff; }
.knopf-primaer:hover { background: var(--blau-dunkel); color: #fff; }
.knopf-hell { background: #fff; color: var(--tinte); }
.knopf-hell:hover { background: rgba(255,255,255,.75); color: var(--tinte); }
.knopf-klein { min-height: 40px; padding: 8px 16px; font-size: .9375rem; background: var(--tinte); color: #fff; }
.knopf-voll { width: 100%; justify-content: center; }
.kopfzeile { margin-block-end: 24px; }
.kopfzeile p { max-width: 760px; margin-block-start: 8px; color: var(--leise); }
.abschnitt { margin-block: clamp(48px, 7vw, 88px); }
.unterkopf { font-size: 1.25rem; margin: 28px 0 14px; }

/* ---------- Heldenbereich ---------- */
.held { margin-block-start: 20px; }
.held-karte { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: var(--r-gross); background: var(--bg); color: var(--tinte); }
@media (min-width: 900px) { .held-karte { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 460px; } }
.held-text { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(24px, 4.5vw, 56px); container-type: inline-size; }
.held-text h1 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.1rem); line-height: 1.04; hyphens: auto; }
.held-text .lead { font-size: 1.1875rem; line-height: 1.55; color: #33415e; max-width: 36em; margin: 0; }
.held-bild { display: flex; align-items: center; justify-content: center; padding: clamp(16px, 3vw, 32px); }
@media (max-width: 899px) { .held-bild { order: -1; padding-block-end: 0; } }   /* mobil: erst das Bild, dann der Text */
.held-bild .ill { width: 100%; max-width: 480px; height: auto; }
.held-bild .ill-emblem { max-width: 360px; }
.held-bild .foto img { display: block; width: 100%; height: auto; border-radius: var(--r-mittel); }
.fakten { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 6px 0 0; padding: 0; }
.fakten li { display: flex; flex-direction: column; padding: 10px 16px; background: rgba(255,255,255,.7); border-radius: 16px; line-height: 1.2; }
.fakten strong { font-size: 1.375rem; color: var(--blau); }
.fakten span { font-size: .8125rem; color: var(--leise); font-weight: 600; }
.krumen { font-size: .875rem; color: var(--leise); margin-block-end: 12px; }
.krumen a { color: var(--leise); }

/* ---------- Schritte ---------- */
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.schritt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; align-content: start; padding: 24px; border-radius: var(--r-mittel); background: var(--sand); }
.schritt h3 { font-size: 1.25rem; margin: 0; }
.schritt p { grid-column: 1 / -1; margin-block-start: 12px; }
.schritt p { color: var(--leise); font-size: .9875rem; }
.schritt-nr { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blau); color: #fff; font-size: 1.375rem; font-weight: 700; }
@media (min-width: 900px) {
  .schritt:not(:last-child)::after { content: ""; position: absolute; inset-block-start: 40px; inset-inline-end: -14px; width: 12px; height: 12px; border-block-start: 3px solid var(--blau); border-inline-end: 3px solid var(--blau); transform: rotate(45deg); z-index: 1; }
  [dir="rtl"] .schritt:not(:last-child)::after { transform: rotate(-135deg); }
}

/* ---------- Bausteine (Was in jedem Set steckt) ---------- */
.bausteine { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.baustein { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; align-content: start; padding: 24px; border-radius: var(--r-mittel); background: var(--bg); transition: transform .2s; }
.baustein:hover { transform: translateY(-3px); }
.baustein h3 { font-size: 1.25rem; margin: 0; }
.baustein p { grid-column: 1 / -1; margin-block-start: 12px; }
.baustein p { color: var(--ink); font-size: .9375rem; line-height: 1.5; }
.baustein-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #fff; color: var(--strong); }
.baustein-ic .ic { width: 28px; height: 28px; }

/* ---------- Set-Kacheln ---------- */
.setliste { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.setliste-4 { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.setliste-2 { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
@media (min-width: 1100px) { .setliste-4 { grid-template-columns: repeat(4, 1fr); } .setliste-2 { grid-template-columns: repeat(2, 1fr); } }
.setkachel { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r-gross); background: var(--bg); color: var(--tinte); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.setkachel:hover { color: var(--tinte); transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(29,43,63,.45); }
.setkachel-bild { display: grid; place-items: center; margin: 12px 12px 0; aspect-ratio: 4 / 3; border-radius: 20px; background: #fff; overflow: hidden; }
.setkachel-bild .ill { width: 78%; height: auto; }
.setkachel-bild .foto, .setkachel-bild .foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Kennzeichnung KI-generierter Bilder (Titelbilder: Marke im Bild; Wortkarten: Zeile unter dem Raster) */
.foto-rahmen { position: relative; display: block; width: 100%; }
.setkachel-bild .foto-rahmen { height: 100%; }
.ki-marke { position: absolute; inset-block-end: 8px; inset-inline-end: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.88); color: #33415e; font-size: .7rem; font-weight: 600; line-height: 1.5; pointer-events: none; }
.ki-zeile { margin: 8px 0 0; font-size: .75rem; color: var(--leise); text-align: end; }
.setkachel-text { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.setkachel-titel { font-size: 1.625rem; }
.setkachel-teaser { color: var(--ink); font-size: .9375rem; line-height: 1.5; }
.setkachel-fuss { display: flex; align-items: center; justify-content: space-between; margin-block-start: auto; padding-block-start: 6px; font-weight: 700; font-size: .9375rem; }
.pfeil { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tinte); color: #fff; transition: transform .15s; }
.setkachel:hover .pfeil { transform: translateX(3px); }
[dir="rtl"] .pfeil .ic, [dir="rtl"] .pfeil-klein { transform: scaleX(-1); }
[dir="rtl"] .setkachel:hover .pfeil { transform: translateX(-3px); }
.setkachel.ist-jetzt { outline: 3px solid var(--tinte); outline-offset: 3px; }
.setliste-2 .setkachel { flex-direction: row; }
.setliste-2 .setkachel-bild { flex: 0 0 42%; margin: 12px; margin-inline-end: 0; aspect-ratio: 1 / 1; align-self: center; }
@media (max-width: 560px) { .setliste-2 .setkachel { flex-direction: column; } .setliste-2 .setkachel-bild { flex: none; margin: 12px 12px 0; aspect-ratio: 4 / 3; align-self: stretch; } }

.hinweisband { display: flex; gap: 20px; align-items: flex-start; margin-block-start: 24px; padding: 24px; border-radius: var(--r-mittel); background: var(--bg); color: var(--ink); }
.hinweisband h3 { font-size: 1.25rem; margin-block-end: 6px; color: var(--tinte); }
.hinweisband .ic { color: var(--strong); }

/* ---------- Blaues Band ---------- */
.blauband { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; overflow: hidden; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--blau); color: #fff; }
@media (min-width: 900px) { .blauband { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; } }
.blauband h2 { color: #fff; margin: 14px 0 12px; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); line-height: 1.04; }
.blauband p { color: rgba(255,255,255,.9); font-size: 1.0625rem; max-width: 40em; }
.blauband-text, .blauband-punkte { position: relative; z-index: 1; }
.blauband-punkte { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.blauband-punkte li { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.12); font-weight: 600; }
.blauband-punkte .ic { color: var(--gelb); }
.blauband-deko { position: absolute; inset-inline-end: -60px; inset-block-end: -80px; width: 320px; height: 320px; }

/* ---------- Lizenz ---------- */
.lizenz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-gross); background: var(--sand); }
@media (min-width: 900px) { .lizenz { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; } }
.lizenz h2 { margin-block-end: 14px; }
.lizenz-kurz { font-weight: 700; color: var(--tinte); font-size: 1.125rem; }
.zitat-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-start: 8px; }
.zitat { flex: 1 1 min(320px, 100%); min-width: 0; overflow-wrap: anywhere; margin: 0; padding: 14px 18px; border-radius: 14px; background: #fff; border-inline-start: 4px solid var(--blau); font-size: .9375rem; }
.kopier-hinweis { margin-block-start: 10px; }
.lizenz-liste { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.lizenz-liste li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; font-weight: 600; }
.lizenz-liste .ja .ic { color: var(--mint-strong); }
.lizenz-liste .nein .ic { color: var(--rose-strong); }

/* ---------- Ratgeber ---------- */
.ratgeber { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.ratgeber-link { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border: 1px solid var(--linie); border-radius: 18px; color: var(--tinte); font-weight: 600; text-decoration: none; transition: border-color .15s, background-color .15s; }
.ratgeber-link:hover { border-color: var(--blau); background: var(--sky); color: var(--tinte); }
.ratgeber-link .ic:first-child { color: var(--blau); }
.ratgeber-link span { flex: 1; }
.pfeil-klein { color: var(--leise); }

.dahinter { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-gross); background: var(--bg); }
.dahinter h2 { margin-block-end: 14px; }
.dahinter p { max-width: 62em; color: #33415e; }

/* ---------- Set-Seite ---------- */
.eckdaten { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; list-style: none; margin: 16px 0 0; padding: 0; }
.eckdaten li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--linie); border-radius: 18px; font-size: .9375rem; line-height: 1.45; }
.eckdaten strong { display: block; color: var(--tinte); font-size: 1rem; margin-block-end: 2px; }
.eck-ic { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: var(--sand); color: var(--blau); }

.sprung { position: sticky; top: 68px; z-index: 10; margin-block-start: 24px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-block: 1px solid var(--linie); }
.sprung ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.sprung a { display: block; padding: 8px 16px; border-radius: 999px; color: var(--tinte); font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.sprung a:hover { background: var(--sand); }
.sprung a.aktiv { background: var(--tinte); color: #fff; }
@media (max-width: 860px) { .sprung { top: 0; } }
@media (min-width: 1100px) { .sprung { display: none; } }

.set-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-block-start: 40px; }
@media (min-width: 1100px) { .set-raster { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; } }
.set-haupt { min-width: 0; }
.set-seite { display: none; }
@media (min-width: 1100px) { .set-seite { display: block; } }
.seitenkarte { position: sticky; top: 92px; padding: 22px; border-radius: var(--r-mittel); background: var(--bg); }
.seitenkarte-titel { font-weight: 700; font-size: 1.25rem; color: var(--tinte); margin-block-end: 10px; }
.seitennav { list-style: none; margin: 0 0 16px; padding: 0; }
.seitennav a { display: block; padding: 8px 12px; border-radius: 12px; color: var(--tinte); font-weight: 600; text-decoration: none; }
.seitennav a:hover, .seitennav a.aktiv { background: #fff; }
.seitennav a.aktiv { box-shadow: inset 3px 0 0 var(--tinte); }
[dir="rtl"] .seitennav a.aktiv { box-shadow: inset -3px 0 0 var(--tinte); }

.block { margin-block-end: clamp(48px, 6vw, 72px); scroll-margin-top: 130px; }
.block-kopf { display: flex; gap: 16px; align-items: flex-start; margin-block-end: 22px; }
.block-kopf p { margin-block-start: 6px; color: var(--leise); max-width: 46em; }
.block-ic { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; background: var(--bg); color: var(--strong); }
.block-ic .ic { width: 26px; height: 26px; }

.vorbereitung-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.karte { padding: 22px 24px; border-radius: var(--r-mittel); background: var(--sand); }
.karte h3 { font-size: 1.0625rem; margin: 0 0 10px; }
.karte h3:not(:first-child) { margin-block-start: 20px; }
.karte p, .karte li { font-size: .9688rem; }
.rollen { display: grid; gap: 10px; list-style: none; margin: 0 0 14px; padding: 0; }
.rollen li { display: flex; gap: 12px; align-items: center; line-height: 1.35; }
.rollen strong { display: block; color: var(--tinte); }
.figurhinweis { color: var(--leise); }
.haken-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.haken-liste li { position: relative; padding-inline-start: 26px; }
.haken-liste li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: .45em; width: 12px; height: 7px; border-inline-start: 2.5px solid var(--mint-strong); border-block-end: 2.5px solid var(--mint-strong); transform: rotate(-45deg); }
[dir="rtl"] .haken-liste li::before { transform: rotate(45deg) scaleX(-1); }

.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--ink); font-weight: 700; font-size: 1.0625rem; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--bg); }
.legende { font-size: .9375rem; color: var(--leise); }
strong.wk { color: var(--blau); background: linear-gradient(transparent 62%, var(--vanilla) 62%); padding-inline: 1px; }

.spieltext { list-style: none; margin: 18px 0 0; padding: clamp(16px, 3vw, 28px); border-radius: var(--r-gross); background: var(--sand); display: grid; gap: 12px; }
.z { display: flex; gap: 12px; align-items: flex-end; max-width: 88%; }
.z-rechts { flex-direction: row-reverse; margin-inline-start: auto; }
.blase { position: relative; padding: 12px 16px; border-radius: 20px; border-end-start-radius: 6px; background: var(--bg); color: var(--tinte); line-height: 1.5; }
.z-rechts .blase { border-end-start-radius: 20px; border-end-end-radius: 6px; background: #fff; }
.rolle { font-weight: 700; color: var(--ink); }
.z-rechts .rolle { color: var(--grau-ink); }
.regie { font-style: italic; color: var(--leise); }
.regiezeile { max-width: 100%; align-items: flex-start; justify-content: center; margin-block: 4px; color: var(--leise); font-style: italic; font-size: .9688rem; text-align: center; }
.regiezeile p { margin: 0; max-width: 40em; }
.regiezeile .regie { color: inherit; }
.regie-ic { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--leise); }
.regie-ic .ic { width: 15px; height: 15px; }
@media (max-width: 600px) { .z { max-width: 100%; } .avatar { width: 32px; height: 32px; font-size: .9375rem; } }

.vers { list-style: none; margin: 0; padding: 8px; border-radius: var(--r-gross); background: var(--bg); display: grid; gap: 6px; }
.vers li { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "nr zeile" "nr bew"; column-gap: 14px; padding: 14px 18px; border-radius: 18px; background: #fff; }
@media (min-width: 760px) { .vers li { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "nr zeile bew"; align-items: center; } }
.vers-nr { grid-area: nr; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); color: var(--ink); font-weight: 700; }
.verszeile { grid-area: zeile; font-size: 1.1875rem; font-weight: 700; color: var(--tinte); line-height: 1.35; }
.bewegung { grid-area: bew; display: flex; gap: 8px; align-items: flex-start; color: var(--leise); font-size: .9375rem; line-height: 1.45; }
.bew-ic { color: var(--strong); margin-block-start: 1px; }
.quelle { font-size: .875rem; color: var(--leise); margin-block-start: 10px; }

.wortraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.wortraster li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px; border: 1.5px dashed #c9c5bb; border-radius: 16px; text-align: center; font-weight: 700; color: var(--tinte); font-size: .9688rem; line-height: 1.25; transition: transform .2s, border-color .2s; }
.wortraster li:hover { transform: rotate(-1.5deg) translateY(-2px); border-color: var(--blau); }
.wortraster li:nth-child(even):hover { transform: rotate(1.5deg) translateY(-2px); }
.wk-platz { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--sand); color: #c0bbb0; }
.wk-platz .ic { width: 30px; height: 30px; }
.wortraster.mit-bild img { display: block; width: 100%; height: auto; border-radius: 10px; }
.wk-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-block-start: 20px; }

.tipps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.tipps li { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid var(--linie); border-radius: 18px; }
.tipps p { margin: 0; font-size: .9688rem; line-height: 1.55; }
.tipp-nr { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--vanilla); color: var(--vanilla-ink); font-weight: 700; font-size: .9375rem; }
.mehr-ratgeber { display: flex; gap: 12px; align-items: center; margin-block-start: 16px; padding: 16px 20px; border-radius: 18px; background: var(--sky); }
.mehr-ratgeber .ic { color: var(--blau); }
.figuren-hinweis { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--r-mittel); background: var(--bg); color: var(--ink); }
.figuren-hinweis .ic { color: var(--strong); }
.figuren-hinweis p { margin: 0; }

.weitere { border-block-start: 1px solid var(--linie); padding-block-start: clamp(40px, 5vw, 64px); }
.setliste-schiene { grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 8px; scrollbar-width: thin; }
.setliste-schiene > li { scroll-snap-align: start; }
.setliste-schiene .setkachel-titel { font-size: 1.375rem; }

/* ---------- Fehlerseite ---------- */
.fehler { margin-block: 32px 64px; }

/* ---------- Fuß ---------- */
.fuss { margin-block-start: clamp(56px, 7vw, 96px); color: #4a545b; font-size: .9375rem; }
.welle { display: block; width: 100%; height: 40px; }
.fuss-band { background: var(--sand); padding-block: 24px 32px; }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 760px) { .fuss-raster { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.fuss-titel { font-weight: 700; color: var(--tinte); margin-block-end: 10px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fuss a { color: #4a545b; text-decoration: none; }
.fuss a:hover { color: var(--blau); text-decoration: underline; }
.fuss-klein { font-size: .875rem; color: var(--leise); }
.fuss-lizenz { margin-block-start: 28px; padding-block-start: 18px; border-block-start: 1px solid var(--linie); font-size: .875rem; }
.fuss-lizenz .ic { color: var(--mint-strong); }
.fuss-lizenz a { text-decoration: underline; }

/* ---------- Bewegung (SVG) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .a-puppe { animation: hueppen 3.2s ease-in-out infinite; transform-origin: 240px 300px; }
  .a-winken { animation: winken 1.6s ease-in-out infinite; transform-origin: 280px 246px; transform-box: view-box; }
  .a-blinzeln { animation: blinzeln 4.5s infinite; transform-origin: 240px 184px; transform-box: view-box; }
  .a-blase { animation: blase 6s ease-in-out infinite; transform-origin: 316px 192px; transform-box: view-box; }
  .a-vorhang-l { animation: vorhang 7s ease-in-out infinite; transform-origin: 30px 40px; transform-box: view-box; }
  .a-vorhang-r { animation: vorhang 7s ease-in-out infinite reverse; transform-origin: 450px 40px; transform-box: view-box; }
  .a-licht { animation: licht 3.2s ease-in-out infinite; }
  .a-schnee circle { animation: schnee 5s linear infinite; }
  .a-schnee circle:nth-child(2n) { animation-duration: 6.5s; animation-delay: -2s; }
  .a-schnee circle:nth-child(3n) { animation-duration: 4.2s; animation-delay: -3s; }
  .a-wippen { animation: wippen 2.4s ease-in-out infinite; transform-origin: 186px 90px; transform-box: view-box; }
  .a-bluete { animation: drehen 18s linear infinite; transform-origin: 120px 104px; transform-box: view-box; }
  .a-kaefer { animation: krabbeln 5s ease-in-out infinite; }
  .a-wackeln { animation: wackeln 2.8s ease-in-out infinite; transform-origin: 120px 198px; transform-box: view-box; }
  .a-blatt { animation: blatt 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .a-blatt2 { animation: blatt 7.5s ease-in-out infinite -3s; transform-box: fill-box; transform-origin: center; }
  .a-gesicht1 { animation: hueppen 3s ease-in-out infinite; transform-origin: 84px 168px; }
  .a-traene { animation: traene 3s ease-in infinite; }
  .a-herz { animation: herz 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .a-buerste { animation: putzen .9s ease-in-out infinite; }
  .a-funkeln path { animation: funkeln 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .a-funkeln path:nth-child(2) { animation-delay: -1s; }
  .a-drehen { animation: drehen 60s linear infinite; transform-origin: 100px 100px; transform-box: view-box; }
  .setkachel .ill { transition: transform .3s; }
  .setkachel:hover .ill { transform: scale(1.06) rotate(-2deg); }
  .held-text > * { animation: rein .6s ease-out both; }
  .held-text > *:nth-child(2) { animation-delay: .06s; } .held-text > *:nth-child(3) { animation-delay: .12s; }
  .held-text > *:nth-child(4) { animation-delay: .18s; } .held-text > *:nth-child(5) { animation-delay: .24s; }
  .js .sichtbar-werden { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s ease-out; }
  .js .sichtbar-werden.ist-sichtbar { opacity: 1; transform: none; }
}
@keyframes hueppen { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes winken { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-16deg); } }
@keyframes blinzeln { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes blase { 0%, 8% { opacity: 0; transform: scale(.6); } 14%, 70% { opacity: 1; transform: scale(1); } 78%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes vorhang { 0%, 100% { transform: skewX(0); } 50% { transform: skewX(1.5deg); } }
@keyframes licht { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }
@keyframes schnee { 0% { transform: translateY(-30px); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(190px); opacity: 0; } }
@keyframes wippen { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(8deg); } }
@keyframes drehen { to { transform: rotate(360deg); } }
@keyframes krabbeln { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, -14px); } }
@keyframes wackeln { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
@keyframes blatt { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-8px, 14px) rotate(-18deg); } }
@keyframes traene { 0%, 30% { transform: translateY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
@keyframes herz { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes putzen { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-8px, 4px); } }
@keyframes funkeln { 0%, 100% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes rein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Druck (Set-Seite als Spielvorlage) ---------- */
@media print {
  .skip, .kopf, .sprung, .set-seite, .knoepfe, .wk-aktion, .weitere, .fuss .welle, .fuss-raster, .held-bild, .blauband-deko, .regie-ic, .avatar, .bew-ic, .block-ic { display: none !important; }
  body { font-size: 10.5pt; color: #000; }
  .held-karte, .karte, .spieltext, .vers, .vers li, .blase, .tipps li, .figuren-hinweis, .eckdaten li, .fuss-band { background: #fff !important; border-color: #bbb; }
  .held-karte { display: block; min-height: 0; } .held-text { padding: 0; } .held-text h1 { font-size: 18pt; }
  .set-raster { display: block; margin: 0; }
  .z { max-width: 100%; display: block; } .blase { padding: 2pt 0; } .z-rechts { margin: 0; }
  .spieltext { padding: 0; gap: 3pt; }
  .block { margin-block-end: 14pt; }
  h2 { break-after: avoid; }
  .z, .vers li, .tipps li { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  strong.wk { background: none; color: #000; }
  * { animation: none !important; }
}

/* ---------- Mehrsprachigkeit ---------- */
.sprachwahl { position: relative; }
.sprachwahl summary { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--sand); color: var(--tinte); font-weight: 700; font-size: .875rem; cursor: pointer; list-style: none; }
.sprachwahl summary::-webkit-details-marker { display: none; }
.sprachwahl[open] summary { background: var(--sky); }
.sprachwahl ul { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 8px); z-index: 30; min-width: 190px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--linie); border-radius: 16px; box-shadow: 0 18px 40px -20px rgba(29,43,63,.45); }
.sprachwahl a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--tinte); text-decoration: none; font-weight: 600; }
.sprachwahl a:hover { background: var(--sand); }
.sprachwahl a[aria-current] { background: var(--sky); }
.sprachhinweis { display: flex; gap: 10px; align-items: flex-start; margin-block: clamp(40px, 5vw, 64px) 0; color: var(--leise); font-size: .875rem; line-height: 1.5; }
.sprachhinweis > .ic { flex: 0 0 auto; margin-top: 2px; color: var(--blau); }
.sprachhinweis a { color: inherit; }
.sprachhinweis + .fuss { margin-block-start: 16px; }
.wortraster small { display: block; margin-block-start: -4px; font-weight: 500; font-size: .8125rem; color: var(--leise); }
.flagge { display: inline-block; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(29,43,63,.15); vertical-align: middle; }
.flagge-text { display: inline-grid; place-items: center; background: var(--tinte); color: #fff; font-size: .5625rem; font-weight: 700; letter-spacing: .02em; }
.sprachwahl a { display: flex; align-items: center; gap: 10px; }
.sprachband ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.sprachband a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; color: var(--tinte); font-weight: 600; font-size: .875rem; text-decoration: none; border: 1px solid var(--linie); transition: transform .15s, border-color .15s; }
.sprachband a:hover { transform: translateY(-2px); border-color: var(--blau); }
.sprachband a[aria-current] { background: var(--tinte); color: #fff; border-color: var(--tinte); }
.sprachband .flagge { width: 24px; height: 24px; }
.blauband-rechts { position: relative; z-index: 1; display: grid; gap: 18px; }
.sprachband-blau a { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); }
.sprachband-blau a:hover { border-color: #fff; color: #fff; }
.sprachband-blau a[aria-current] { background: #fff; color: var(--tinte); }
.fuss-sprachen { margin-block-start: 24px; }
.fuss .sprachband a { color: var(--tinte); }
.fuss .sprachband a:hover { text-decoration: none; }
.fuss .sprachband a[aria-current] { color: #fff; }
@media print { .sprachband, .sprachwahl, .sprachhinweis { display: none !important; } }
.fehler-schwebe { position: fixed; z-index: 60; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--tinte); color: #fff; font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(29,43,63,.6); }
.fehler-dialog { width: min(520px, calc(100vw - 32px)); padding: 24px; border: 0; border-radius: var(--r-mittel); box-shadow: 0 30px 60px -20px rgba(29,43,63,.5); color: var(--text); font-family: var(--schrift); }
.fehler-dialog::backdrop { background: rgba(29,43,63,.45); }
.fehler-titel { font-size: 1.25rem; font-weight: 700; color: var(--tinte); margin: 0 0 14px; }
.fehler-label { display: block; font-weight: 700; font-size: .9375rem; margin: 12px 0 6px; color: var(--tinte); }
.fehler-zitat { margin: 0; padding: 10px 14px; border-inline-start: 4px solid var(--vanilla-strong); background: var(--sand); border-radius: 10px; font-size: .9375rem; max-height: 8em; overflow: auto; }
.fehler-dialog textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 12px; font: inherit; font-size: .9375rem; resize: vertical; }
.fehler-dialog textarea:focus { outline: 3px solid var(--sky); border-color: var(--blau); }
.fehler-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fehler-knoepfe .knopf { min-height: 42px; padding: 8px 18px; font-size: .9375rem; }
.fehler-knoepfe .knopf-hell { border-color: var(--linie); }
.fehler-klein { font-size: .8125rem; color: var(--leise); margin: 12px 0 0; }
@media print { .fehler-schwebe, .fehler-dialog, .fehler-melden { display: none !important; } }

/* ---------- Aussprache, Zusatzknöpfe ---------- */
.sprechen { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-inline-start: 6px; padding: 0; border: 0; border-radius: 50%; background: var(--sky); color: var(--blau); cursor: pointer; vertical-align: middle; }
.sprechen:hover { background: var(--blau); color: #fff; }
.wortraster .sprechen { width: 24px; height: 24px; margin: 0; }
.sprechen.ohne-stimme { background: transparent; color: #8a94a6; box-shadow: inset 0 0 0 1px #c9d1dd; }
.sprechen.ohne-stimme:hover { background: transparent; color: #5a6575; }
[data-sprechen] { position: relative; }
.sprechen-hinweis { position: absolute; z-index: 5; inset-block-start: calc(100% + 4px); inset-inline-start: 0; width: max-content; max-width: 240px; padding: 6px 10px; border-radius: 8px; background: #1d2b3f; color: #fff; font-size: .8rem; font-weight: 500; line-height: 1.35; white-space: normal; text-align: start; }
/* Knopf in fester Spalte am Kartenrand, damit die Knöpfe beider Wörter genau untereinander stehen (RTL spiegelt mit) */
.wortraster li > span[data-sprechen], .wortraster li > small[data-sprechen] { display: flex; align-items: center; justify-content: center; align-self: stretch; position: relative; min-height: 24px; padding-inline-end: 28px; text-align: center; }
.wortraster li > [data-sprechen] > .sprechen { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); }
.knopf-rand { border-color: var(--linie); }
.zusatz-aktion { margin-block-start: 10px; }
.zusatz-aktion small { font-weight: 500; color: var(--leise); }
.pdf-hinweis { flex-basis: 100%; }
@media print { .sprechen { display: none !important; } }
@page { size: A4 portrait; margin: 14mm 14mm 16mm; }
@media print {
  .sichtbar-werden, .js .sichtbar-werden { opacity: 1 !important; transform: none !important; }
  .wk-platz, .fuss-sprachen, .zusatz-aktion, .krumen { display: none !important; }
  .wortraster li { padding: 4px 6px; border-width: 1px; }
  .fuss { margin-block-start: 8mm; }
  .fuss-band { padding-block: 0; }
  .fuss-lizenz { margin: 0; padding: 2mm 0 0; }
  .eckdaten li { padding: 3mm; }
}
/* Zielsprache (zweite Sprache) über dem Wortraster */
.ziel-wahl { margin: 0 0 14px; }
.ziel-wahl label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--sand); font-size: .9375rem; font-weight: 600; }
.ziel-wahl .ic { width: 18px; height: 18px; color: var(--blau); }
.ziel-wahl select { font: inherit; font-weight: 500; padding: 6px 10px; border: 1px solid var(--linie); border-radius: 999px; background: #fff; color: var(--tinte); }
.wortraster .ziel-wort { color: var(--leise); }
@media print { .ziel-wahl { display: none !important; } }
/* Bento-Raster (Hinweise für Fachkräfte u. a.): Spaltenzahl je Kachel setzt bauen.py nach Textlänge (b2/b3/b4/b6) */
.bento { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento > .b4, .bento > .b6 { grid-column: span 2; } }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento > .b2 { grid-column: span 2; } .bento > .b3 { grid-column: span 3; }
  .bento > .b4 { grid-column: span 4; } .bento > .b6 { grid-column: span 6; }
}
.tipps.bento li { background: #fff; }
.tipps.bento li.b4, .tipps.bento li.b6 { background: var(--sand); border-color: transparent; }
@media print { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .bento > li { grid-column: auto !important; } }
/* Welle 2: Textabschnitte als Bento-Kacheln, häufige Fragen, Stückseite */
.w2-abschnitte { display: grid; gap: 16px; }
.w2-kachel { padding: 24px 26px; border-radius: var(--r-mittel); background: #fff; border: 1px solid var(--linie); }
.w2-kachel.b4, .w2-kachel.b6 { background: var(--sand); border-color: transparent; }
.w2-kachel h2 { font-size: 1.25rem; margin: 0 0 10px; }
.w2-kachel p { margin: 0 0 10px; line-height: 1.6; }
.w2-kachel p:last-child { margin-bottom: 0; }
.w2-kachel .haken-liste { margin-block-start: 6px; }
.w2-haupt { display: grid; gap: 8px; max-width: 980px; }
.w2-emblem { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-mittel); background: #fff; color: var(--blau); }
.w2-emblem .ic { width: 30%; height: auto; }
.faq { display: grid; gap: 10px; }
.faq-eintrag { border: 1px solid var(--linie); border-radius: 16px; background: #fff; }
.faq-eintrag summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style-position: inside; }
.faq-eintrag p { margin: 0; padding: 0 20px 16px; line-height: 1.6; color: #33415e; }
.z-kinder .blase { font-style: italic; }
.nachgespraech li { font-size: 1.03rem; }
@media print { .faq-eintrag { border: 0; } .faq-eintrag p { padding: 0 0 8px; } .faq-eintrag[open] summary ~ *, .faq-eintrag summary ~ * { display: block; } }
.wortraster li { cursor: pointer; }
.wortraster li:hover { box-shadow: 0 0 0 2px var(--blau) inset; }
/* Kacheln nach Textmenge: kurze Rollen-Kachel oben (Rollen nebeneinander), lange Kachel darunter zweispaltig */
.vorbereitung-raster { grid-template-columns: minmax(0, 1fr); }
.vorbereitung-raster .rollen { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 20px; }
.karte.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 32px; }
.karte.zwei-spalten > div > h3:first-child { margin-top: 0; }
@media (min-width: 760px) { .karte.zwei-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Eckdaten: lange Angabe doppelt breit, damit die Reihe gleichmäßig hoch bleibt */
@media (min-width: 900px) {
  .eckdaten { grid-template-columns: repeat(var(--eck-spalten, 4), minmax(0, 1fr)); }
  .eckdaten li.breit { grid-column: span 2; }
}
.eckdaten:has(li.breit) { --eck-spalten: 5; }
.eckdaten:has(li.breit ~ li.breit) { --eck-spalten: 6; }
@media print { .wortraster:not(.ausmal-raster) img, .wortraster:not(.ausmal-raster) picture { display: none !important; } }
/* Sprachwahl wie auf daliono.de: Weltkugel + Kürzel, Liste mit Sprachnamen, keine Flaggen */
.sprachwahl summary .ic { width: 18px; height: 18px; }
.sprachwahl a { justify-content: space-between; }
.sprachwahl .haken-aktiv { width: 16px; height: 16px; color: var(--blau); }
.kuerzel { display: inline-grid; place-items: center; min-width: 22px; height: 18px; padding: 0 4px; border-radius: 4px; background: #e8ecf3; color: #33415e; font-size: .625rem; font-weight: 700; letter-spacing: .02em; }
/* Kacheln: nur der Titel ist Link, die ganze Kachel bleibt anklickbar */
.setkachel { position: relative; }
.kachel-link { color: inherit; text-decoration: none; }
.kachel-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.kachel-link:focus-visible { outline: none; }
.setkachel:has(.kachel-link:focus-visible) { outline: 3px solid var(--blau); outline-offset: 3px; }
.shopblock { display: grid; gap: 16px 32px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-gross); background: var(--bg); }
@media (min-width: 900px) { .shopblock { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.shopblock p { margin: 8px 0 0; }
.shopblock-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
/* ---------- Fachkräfte-Seite: Überblick, Abschnitte mit Bildern ---------- */
.fach-ueberblick ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.fach-ueberblick a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 16px; border-radius: 18px; background: var(--bg); color: var(--tinte); text-decoration: none; font-weight: 600; font-size: .9375rem; line-height: 1.3; transition: transform .2s; }
.fach-ueberblick a:hover { transform: translateY(-3px); }
.fach-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--strong, var(--blau)); flex: none; }
.fach-ic .ic { width: 24px; height: 24px; }
.fach-inhalt { display: grid; gap: clamp(28px, 4vw, 48px); padding-block: 12px 40px; }
.fach-abschnitt { display: grid; gap: 14px; max-width: 1000px; }
.fach-kopf { display: flex; align-items: center; gap: 14px; }
.fach-kopf .fach-ic { background: var(--bg); }
.fach-kopf .h2 { margin: 0; }
.fach-text p { margin: 0 0 10px; line-height: 1.65; max-width: 70ch; }
@media (min-width: 900px) { .fach-zwei { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } .fach-zwei .fach-kopf { grid-column: 1 / -1; } }
.fach-blase { position: relative; margin: 0; padding: 22px 24px 22px 74px; border-radius: 24px 24px 24px 6px; background: var(--bg); }
.fach-blase .fach-ic { position: absolute; inset-inline-start: 18px; top: 20px; }
[dir="rtl"] .fach-blase { padding: 22px 74px 22px 24px; border-radius: 24px 24px 6px 24px; }
.fach-blase blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; font-weight: 600; color: var(--tinte); }
.fach-schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.fach-schritte li { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: var(--sand); }
.fach-schritte p { margin: 0; line-height: 1.5; }
.fach-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.fach-karten li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border: 1.5px dashed #c9c5bb; border-radius: 14px; font-weight: 700; text-align: center; }
.fach-karten img { width: 100%; height: auto; max-width: 96px; }
.fach-sprachen { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.fach-sprachen li { padding: 6px 14px; border-radius: 999px; background: var(--sky); font-weight: 600; }
.fach-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.fach-liste li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; line-height: 1.5; }
.fach-liste-kreuz li { background: #FADBD0; }
.fach-liste-haken li { background: #D5EFC8; }
.fach-li-ic { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; flex: none; }
.fach-li-ic .ic { width: 16px; height: 16px; }
.fach-liste-kreuz .fach-li-ic { color: #8F2A1A; } .fach-liste-haken .fach-li-ic { color: #2F5E24; }
/* Usability-Test 26.11.: größere Tippfläche der Lautsprecher, Kopfbild mobil kleiner, Navigation mobil umbrechen */
.sprechen { position: relative; }
.sprechen::after { content: ""; position: absolute; inset: -10px; }
@media (max-width: 860px) {
  .hauptnav { overflow: visible; }
  .hauptnav ul { flex-wrap: wrap; row-gap: 6px; }
  .held-bild .foto-rahmen, .held-bild .foto img { max-height: 34vh; }
  .held-bild .foto img { width: 100%; object-fit: cover; }
}

.wortraster .ziel-wort { font-size: .9rem; color: #33415e; }
.wortraster .ziel-wort[lang="ar"] { font-size: 1.05rem; }
/* ---------- Ausmalbilder ---------- */
.ausmal-band { display: grid; gap: 18px 32px; align-items: end; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-gross); background: var(--bg); }
@media (min-width: 900px) { .ausmal-band { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.ausmal-band h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.1; margin: 12px 0 10px; }
.ausmal-aktion { display: grid; gap: 12px; justify-items: start; }
.ausmal-aktion .ziel-wahl { margin: 0; }
.ausmal-raster { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.ausmal-raster li { padding: 14px; background: #fff; border: 1.5px solid var(--linie); border-style: solid; }
.ausmal-raster img { display: block; width: 100%; height: auto; }
.ausmal-raster li > span[data-sprechen] { font-size: 1.15rem; }
.ausmal-fuss { margin-top: 14px; font-size: .8rem; color: var(--leise); text-align: center; }
@media print {
  @page { size: A4 portrait; margin: 10mm; }
  body.ausmal .kopf, body.ausmal .fuss, body.ausmal .ausmal-kopf, body.ausmal .skip, body.ausmal .sprechen { display: none !important; }
  .ausmal-raster { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6mm !important; margin: 0; }
  .ausmal-raster li { height: 128mm; padding: 4mm; border: 1px dashed #9aa3af; border-radius: 4mm; break-inside: avoid; justify-content: space-between; cursor: default; box-shadow: none !important; }
  .ausmal-raster picture { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
  .ausmal-raster img { width: auto; max-width: 100%; max-height: 104mm; }
  .ausmal-raster picture { order: -1; }
  .ausmal-raster li > span[data-sprechen] { font-size: 18pt; padding: 0; }
  .ausmal-raster .ziel-wort { font-size: 12pt; }
  .ausmal-fuss { font-size: 7pt; }
}
/* Rückmelde-Kasten am Seitenende (alle Sprachen) */
.feedback { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 18px; align-items: center; margin-block: 32px 8px; padding: 22px 24px; border-radius: var(--r-gross); background: var(--sand); }
.feedback-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #fff; color: var(--blau); }
.feedback-titel { margin: 0 0 4px; font-weight: 700; font-size: 1.1rem; }
.feedback p { margin: 0; }
.feedback-knoepfe { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .feedback { grid-template-columns: auto minmax(0, 1fr) auto; } .feedback-knoepfe { grid-column: auto; } }
.fehler-intro { margin: 0 0 12px; color: #33415e; }
@media print { .feedback { display: none !important; } }
/* Schiene „Weitere Sets/Stücke“: Platz für Anheben, Rahmen „Passt gerade“ und Fokusrahmen (sonst oben abgeschnitten) */
.setliste-schiene { padding: 10px 6px 14px; margin-inline: -6px; scroll-padding-inline: 6px; }

/* vom Bauskript ergänzt: Schrift für weitere Sprachen */
@font-face { font-family: "Raleway"; src: url("schrift/Raleway-Variable-LatinExt.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; src: url("schrift/Raleway-Variable-Cyrillic.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
