/* ==========================================================================
   So lerne ich! · Spiele-Generator
   Farben und Schriften nach „So-lerne-ich_Markenfarben": viel Creme, deutlich Lila,
   Türkis, Gelb und Rot nur als Akzent. Bausteine wie auf der Website (Pillen-Knöpfe, Titel in Baloo 2).
   ========================================================================== */

/* Markenschriften wie auf der Website: Baloo 2 für Titel, Andika für Text und Aufgaben (Andika ist für Leseanfänger
   gemacht). Vom eigenen Server, nicht von Google (Datenschutz). Lizenz SIL OFL 1.1, siehe fonts/OFL-*.txt. */
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo2.woff2") format("woff2"); font-weight: 400 800; font-display: swap;  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo2-ext.woff2") format("woff2"); font-weight: 400 800; 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; }   /* ă ș ț (Google Fonts latin-ext, OFL) */
@font-face { font-family: "Andika"; src: url("../fonts/andika-regular.woff2") format("woff2"); font-weight: 400 600; font-display: swap;  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Andika"; src: url("../fonts/andika-regular-ext.woff2") format("woff2"); font-weight: 400 600; 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; }   /* ă ș ț (Google Fonts latin-ext, OFL) */
@font-face { font-family: "Andika"; src: url("../fonts/andika-bold.woff2") format("woff2"); font-weight: 700 900; font-display: swap;  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Andika"; src: url("../fonts/andika-bold-ext.woff2") format("woff2"); font-weight: 700 900; 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; }   /* ă ș ț (Google Fonts latin-ext, OFL) */

:root {
  --creme: #FDFBF7;
  --lila: #33123F;
  --lila-hell: #F1EAF4;
  --lila-linie: #DCCFE2;
  --tuerkis: #17B2C3;
  --tuerkis-dunkel: #0E7F8B;
  --tuerkis-hell: #E4F6F8;
  --gelb: #F8BD00;
  --gelb-hell: #FFF3CC;
  --rot: #E14E35;
  --leise: #5E4A69;

  --titel: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --lauf: "Andika", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 22px;
  --radius-klein: 14px;
  --schatten: 0 10px 30px -12px rgba(51, 18, 63, .28);
  --schatten-klein: 0 4px 14px -6px rgba(51, 18, 63, .24);
  --sanft: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { accent-color: var(--tuerkis-dunkel); caret-color: var(--tuerkis-dunkel); scrollbar-color: var(--lila-linie) transparent; }
::selection { background: var(--gelb-hell); color: var(--lila); }

body {
  margin: 0;
  background: var(--creme);
  color: var(--lila);
  font-family: var(--lauf);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: var(--titel); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 3px; border-radius: 8px; }

svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.rahmen { width: min(1260px, 100% - 2rem); margin-inline: auto; }

/* ---------- Kopf ---------- */

.kopf { padding-top: 1.1rem; }
.kopf-innen { display: flex; align-items: center; gap: 1.1rem; }
.logo { width: 84px; height: 84px; flex: none; mix-blend-mode: multiply; }
.logo-lat { width: 210px; height: auto; mix-blend-mode: normal; }   /* sigla lată Seeds of Curiosity */
.kopf-text { min-width: 0; }
.kopf h1 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); letter-spacing: -.01em; }
.kopf p { color: var(--leise); max-width: 46ch; margin-top: .25rem; }
/* Das Maskottchen-Bild hat einen hellen Hintergrund: Es verschmilzt mit der Fläche und läuft am Rand weich aus. */
.waldgeist {
  margin-left: auto; width: auto; height: 116px; flex: none; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}
/* Der vierfarbige Balken von den Arbeitsblättern */
.farbband { display: flex; height: 6px; width: min(1260px, 100% - 2rem); margin: .9rem auto 0; border-radius: 6px; overflow: hidden; }
.farbband i { flex: 1; }
.farbband i:nth-child(1) { background: var(--lila); }
.farbband i:nth-child(2) { background: var(--tuerkis); }
.farbband i:nth-child(3) { background: var(--rot); }
.farbband i:nth-child(4) { background: var(--gelb); }

/* ---------- Aufteilung: Einstellungen links, Vorschau rechts ---------- */

.werkbank { display: grid; grid-template-columns: minmax(330px, 430px) minmax(0, 1fr); gap: 2rem; align-items: start; padding: 1.75rem 0 2.5rem; }

.einstellungen { background: var(--lila-hell); border-radius: var(--radius); padding: 1.5rem; }
.einstellungen section + section { margin-top: 1.6rem; padding-top: 1.5rem; border-top: 2px solid var(--lila-linie); }
.einstellungen h2, .leiste h2 { font-size: 1.3rem; }

.feld { margin-top: 1.05rem; }
.feldname { display: block; font-weight: 800; font-size: .92rem; margin-bottom: .45rem; }
.hinweis { color: var(--leise); font-size: .88rem; line-height: 1.45; margin-top: .5rem; max-width: 46ch; }
.hinweis:empty { display: none; }

/* Spielauswahl */
.spiele { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .9rem; }
.spiel { position: relative; display: block; cursor: pointer; }
.spiel input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.spiel-karte {
  display: block; height: 100%; background: var(--creme); border-radius: var(--radius-klein); padding: .55rem .55rem .7rem;
  box-shadow: var(--schatten-klein); transition: transform .2s var(--sanft), box-shadow .2s var(--sanft);
}
.spiel:hover .spiel-karte { transform: translateY(-2px); box-shadow: var(--schatten); }
.spiel-bild { display: block; aspect-ratio: 4 / 3; border-radius: 9px; background: var(--tuerkis-hell); overflow: hidden; padding: .5rem; }
.spiel-bild img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(51, 18, 63, .3)); }
.spiel-name { display: block; font-family: var(--titel); font-weight: 500; font-size: 1.05rem; line-height: 1.2; margin: .6rem .2rem 0; }
.spiel-info { display: block; color: var(--leise); font-size: .8rem; line-height: 1.35; margin: .15rem .2rem 0; }
/* Gewähltes Spiel: türkiser Rand und der vierfarbige Balken */
.spiel-name::after {
  content: ""; display: block; height: 4px; width: 0; margin-top: .3rem; border-radius: 4px;
  background: linear-gradient(to right, var(--lila) 25%, var(--tuerkis) 25% 50%, var(--rot) 50% 75%, var(--gelb) 75%);
  transition: width .35s var(--sanft);
}
.spiel input:checked + .spiel-karte { box-shadow: 0 0 0 3px var(--tuerkis-dunkel), var(--schatten); }
.spiel input:checked + .spiel-karte .spiel-name::after { width: 3.4rem; }
.spiel input:focus-visible + .spiel-karte { outline: 3px solid var(--tuerkis); outline-offset: 4px; }

/* Auswahl aus wenigen Möglichkeiten: Pillen */
.wahl { display: flex; flex-wrap: wrap; gap: .4rem; }
.wahl label { position: relative; }
.wahl input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wahl span {
  display: block; padding: .5rem 1.05rem; border-radius: 999px; background: var(--creme);
  font-family: var(--titel); font-weight: 500; font-size: 1rem; line-height: 1.25;
  box-shadow: inset 0 0 0 2px var(--lila-linie); transition: background .15s, color .15s, box-shadow .15s;
}
.wahl label:hover span { box-shadow: inset 0 0 0 2px var(--lila); }
.wahl input:checked + span { background: var(--lila); color: var(--creme); box-shadow: inset 0 0 0 2px var(--lila); }
.wahl input:focus-visible + span { outline: 3px solid var(--tuerkis); outline-offset: 3px; }
/* Gesperrt, weil es mit der übrigen Auswahl nicht geht. Die Erklärung steht im Hinweis darunter. */
.wahl input:disabled { cursor: not-allowed; }
.wahl input:disabled + span { opacity: .42; box-shadow: inset 0 0 0 2px var(--lila-linie); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.wahl label:hover input:disabled + span { box-shadow: inset 0 0 0 2px var(--lila-linie); }

/* Baukasten: die Rechnung als Satz, z. B. „zweistellig · mal · einstellig" */
.satz { display: flex; flex-wrap: wrap; gap: .4rem; }
.auswahl.klein select { width: auto; padding: .55rem 2.1rem .55rem .85rem; font-size: 1rem; }
.auswahl.klein svg { right: .75rem; }
.auswahl select option:disabled { color: #A898AF; }

/* Aufgabentyp */
.auswahl { position: relative; }
.auswahl select {
  width: 100%; appearance: none; -webkit-appearance: none; background: var(--creme); border: 2px solid var(--lila-linie);
  border-radius: var(--radius-klein); padding: .7rem 2.7rem .7rem 1rem; font-weight: 700; line-height: 1.3; cursor: pointer;
  text-overflow: ellipsis; transition: border-color .15s;
}
.auswahl select:hover { border-color: var(--lila); }
.auswahl svg { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; pointer-events: none; }
.zusatz { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; margin-top: .55rem; color: var(--leise); font-size: .88rem; line-height: 1.4; }
.marke { background: var(--tuerkis-hell); color: var(--tuerkis-dunkel); font-weight: 800; font-size: .8rem; padding: .2rem .65rem; border-radius: 999px; white-space: nowrap; }
.marke:empty { display: none; }

/* Beispielaufgaben */
.feldkopf { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.feldkopf .feldname { margin-bottom: 0; }
.beispiele dl { margin: .5rem 0 0; background: var(--creme); border-radius: var(--radius-klein); padding: .35rem 1rem; }
.beispiele dl div { display: flex; align-items: baseline; gap: 1rem; padding: .42rem 0; }
.beispiele dl div + div { border-top: 1px solid var(--lila-hell); }
.beispiele dt { width: 4.4rem; flex: none; color: var(--leise); font-size: .84rem; font-weight: 700; }
.beispiele.frei dt { display: none; }
.beispiele dd { margin: 0; font-weight: 800; font-size: 1.08rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Anzahl Blätter */
.zaehler { display: inline-flex; align-items: center; gap: .35rem; background: var(--creme); border-radius: 999px; padding: .25rem; box-shadow: inset 0 0 0 2px var(--lila-linie); }
.zaehler button { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--lila-hell); transition: background .15s, color .15s; }
.zaehler button:hover:not(:disabled) { background: var(--lila); color: var(--creme); }
.zaehler button:disabled { opacity: .4; cursor: default; }
.zaehler input { width: 2.8rem; border: 0; background: none; text-align: center; font-family: var(--titel); font-weight: 600; font-size: 1.25rem; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.zaehler input::-webkit-outer-spin-button, .zaehler input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap;
  font-family: var(--titel); font-weight: 500; font-size: 1.05rem; line-height: 1.2;
  padding: .75rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s var(--sanft), box-shadow .15s, background .15s;
}
.knopf:hover:not(:disabled) { transform: translateY(-2px); }
.knopf:active:not(:disabled) { transform: translateY(1px); }
.knopf:disabled { opacity: .6; cursor: progress; }
.knopf-gelb { background: var(--gelb); color: var(--lila); box-shadow: 0 5px 0 -1px #C99600; }
.knopf-rahmen { background: transparent; border-color: var(--lila); padding: .5rem 1.05rem; font-size: .98rem; }
.knopf-rahmen:hover:not(:disabled) { background: var(--lila-hell); }

.leise {
  display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; padding: .3rem .1rem;
  color: var(--tuerkis-dunkel); font-weight: 800; font-size: .9rem; text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 4px; transition: text-decoration-color .15s;
}
.leise:hover { text-decoration-color: currentColor; }
.einstellungen .leise { color: var(--lila); }   /* Türkis wäre auf dem hellen Lila zu schwach lesbar */

/* ---------- Probe-Ansicht für die Werkstatt (?probe=1): nur das Blatt, mit eingezeichneten Feldern ---------- */
.probe .kopf, .probe .einstellungen, .probe .leiste, .probe .abschluss, .probe .fuss, .probe .merkzettel { display: none; }
.probe { padding-bottom: 0; }
.probe .rahmen { width: 100%; }
.probe .werkbank { grid-template-columns: minmax(0, 1fr); padding: 0; }
.probe .tisch { padding: 0; border-radius: 0; background: #fff; }
.probe .papier { box-shadow: none; width: 100%; }
.probe .papier canvas { width: 100%; max-height: none; }

/* ---------- Vorschau ---------- */

.vorschau { position: sticky; top: 1rem; min-width: 0; }
.leiste { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-bottom: .9rem; }
.leiste .leise { margin-left: auto; }
.reiter { display: flex; flex-wrap: wrap; gap: .35rem; }
.reiter button {
  border: 0; border-radius: 999px; background: var(--lila-hell); padding: .35rem .9rem;
  font-family: var(--titel); font-weight: 500; font-size: .95rem; transition: background .15s, color .15s;
}
.reiter button:hover { background: var(--lila-linie); }
.reiter button[aria-selected="true"] { background: var(--tuerkis-dunkel); color: #fff; }

.tisch { position: relative; background: var(--tuerkis-hell); border-radius: var(--radius); padding: clamp(.9rem, 2.4vw, 1.75rem); display: grid; place-items: center; min-height: 18rem; }
.papier { line-height: 0; background: #fff; border-radius: 3px; box-shadow: 0 22px 44px -22px rgba(51, 18, 63, .55), 0 2px 7px rgba(51, 18, 63, .14); transition: opacity .2s; }
.papier canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: max(18rem, calc(100vh - 15.5rem)); border-radius: 3px; }
.papier.neu { animation: hinlegen .5s var(--sanft); }
@keyframes hinlegen {
  from { transform: translateY(14px) rotate(-.7deg); box-shadow: 0 34px 50px -24px rgba(51, 18, 63, .4), 0 2px 7px rgba(51, 18, 63, .1); }
  to { transform: none; }
}
.tisch.laedt .papier { opacity: .35; }
.zustand { position: absolute; inset: auto 1rem 1rem; text-align: center; font-weight: 700; color: var(--tuerkis-dunkel); }
.zustand:empty { display: none; }
.tisch.fehler .papier { display: none; }
.tisch.fehler .zustand { position: static; color: var(--lila); max-width: 34ch; }

.merkzettel { margin-top: .8rem; background: var(--gelb-hell); border-radius: var(--radius-klein); padding: .7rem 1rem; font-size: .92rem; line-height: 1.45; }

/* Zusammenfassung und der eine gelbe Knopf: steht über der Vorschau, damit er immer zu sehen ist */
.abschluss {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; margin-bottom: 1.1rem;
  background: var(--lila); color: var(--creme); border-radius: var(--radius); padding: .95rem 1.1rem .95rem 1.4rem;
}
.abschluss-text { flex: 1 1 14rem; min-width: 0; display: grid; gap: .1rem; }
.abschluss-text strong { font-family: var(--titel); font-weight: 500; font-size: 1.08rem; line-height: 1.3; }
.abschluss-text span { color: #D9CBE0; font-size: .88rem; }
.abschluss .knopf-gelb { box-shadow: 0 5px 0 -1px #A87E00; }
.abschluss :focus-visible { outline-color: var(--gelb); }

.fuss { color: var(--leise); font-size: .85rem; padding-bottom: 2rem; }

/* ---------- Zugang auf der Webseite: kostenlose Downloads und Freischalt-Code (js/zugang.js) ---------- */
.zugang-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .8rem; margin: -.35rem 0 1rem; padding: 0 .5rem; font-size: .9rem; font-weight: 700; color: var(--leise); }
.zugang-zeile[hidden] { display: none; }
.zugang-zeile.offen { color: var(--tuerkis-dunkel); }
.zugang-zeile.offen span::before { content: "✓ "; }
.zugang-dialog {
  width: min(31rem, calc(100vw - 2rem)); max-width: none; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--creme); color: var(--lila); box-shadow: 0 30px 70px -20px rgba(51, 18, 63, .55);
}
.zugang-dialog::backdrop { background: rgba(51, 18, 63, .55); }
.zugang-form { position: relative; display: grid; gap: .65rem; padding: 1.6rem 1.6rem 1.4rem; }
.zugang-form h2 { font-family: var(--titel); font-weight: 600; font-size: 1.45rem; line-height: 1.2; padding-right: 2.6rem; }
.zugang-form p { line-height: 1.5; }
.zugang-form .z-leer { font-weight: 800; }
.zugang-form .z-leer[hidden] { display: none; }
.zugang-form label { font-weight: 800; font-size: .92rem; margin-top: .35rem; }
.zugang-form input {
  font: inherit; font-weight: 700; letter-spacing: .05em; color: var(--lila); background: #FFFDFA;
  padding: .75rem .9rem; border: 2px solid var(--lila-linie); border-radius: var(--radius-klein);
}
.zugang-form input:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 2px; border-color: var(--lila); }
.zugang-form .hinweis { margin-top: 0; }
.z-meldung { font-weight: 700; font-size: .92rem; }
.z-meldung:empty { display: none; }
.z-meldung.fehler { color: #A8291B; }
.z-meldung.gut { color: var(--tuerkis-dunkel); }
.z-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .2rem; }
.z-knoepfe a { text-decoration: none; color: var(--lila); }
.knopf-lila { background: var(--lila); color: var(--creme); box-shadow: 0 5px 0 -1px #1C0824; }
.z-zu { position: absolute; top: .9rem; right: .9rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--lila-hell); color: var(--lila); }
.z-zu:hover { background: var(--lila-linie); }
.z-zu svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 980px) {
  .werkbank { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: 1.25rem; }
  .vorschau { position: static; }
  .spiele { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
  .papier canvas { max-height: none; }
  /* Auf Handy und Tablet bleibt der Knopf am unteren Rand stehen, egal wo man gerade ist. */
  .abschluss { position: fixed; left: .6rem; right: .6rem; bottom: .6rem; z-index: 5; margin: 0; box-shadow: 0 14px 30px -10px rgba(51, 18, 63, .6); }
  .abschluss-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body { padding-bottom: 6.5rem; }
}
@media (max-width: 640px) {
  .waldgeist { display: none; }
  .logo { width: 64px; height: 64px; }
  .kopf p { font-size: .98rem; }
  .einstellungen { padding: 1.1rem; border-radius: 18px; }
  .abschluss { padding: .7rem .8rem .8rem 1rem; border-radius: 18px; gap: .5rem; }
  .abschluss-text { flex-basis: 100%; }
  .abschluss-text span { display: none; }
  .abschluss .knopf { flex: 1 1 100%; padding-block: .65rem; }
  .leiste .leise { margin-left: 0; }
  body { padding-bottom: 8.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print { .kopf, .einstellungen, .leiste, .abschluss, .fuss, .merkzettel { display: none; } .tisch { background: none; padding: 0; } }

/* ---------- Wunsch-Formular „Nicht das Passende dabei?" (js/wunsch.js), ganz unten in der linken Spalte ---------- */
.wunsch .hinweis a { color: var(--lila); font-weight: 700; text-underline-offset: 3px; }
.wunsch textarea, .wunsch input[type="email"] {
  display: block; width: 100%; font: inherit; color: var(--lila); background: var(--creme);
  padding: .7rem .9rem; border: 2px solid var(--lila-linie); border-radius: var(--radius-klein);
}
.wunsch textarea { resize: vertical; min-height: 5.5rem; line-height: 1.45; }
.wunsch textarea:hover, .wunsch input[type="email"]:hover { border-color: var(--lila); }
.wunsch textarea:focus-visible, .wunsch input[type="email"]:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 2px; border-color: var(--lila); }
.wunsch textarea::placeholder { color: #8C7A96; }
.wunsch-unten { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.05rem; }
.wunsch-meldung { flex: 1 1 12rem; font-weight: 700; font-size: .9rem; line-height: 1.4; }
.wunsch-meldung:empty { display: none; }
.wunsch-meldung.fehler { color: #A8291B; }
.wunsch-meldung.gut { color: var(--lila); }
.wunsch-meldung.gut::before { content: "✓ "; color: var(--tuerkis-dunkel); }
.wunsch-versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Erklärung zum Aufgabentyp unter den Beispielen (Aufgabe / Schreibweisen / Tipp) */
.erklaerung { display: grid; gap: .35rem; margin-top: .6rem; background: var(--creme); border: 2px solid var(--tuerkis); border-radius: var(--radius-klein); padding: .6rem .9rem; font-size: .88rem; line-height: 1.45; }
.erklaerung:empty { display: none; }
.erklaerung b { font-weight: 800; }
