/* ============================================================
   Gestaltung 17.10.2026 (Theresas Notizen vom 16.10.)
   Eigene Datei, damit sie nicht mit Änderungen am Lese-Check kollidiert.
   ============================================================ */

/* ---------- Wochenziel: Karten mit Bild statt schlichter Rahmenknöpfe ---------- */
.wochenziel.wz-neu {
  position: relative; overflow: hidden; margin: 14px 0 0; padding: 16px 18px 18px; gap: 8px;
  background: radial-gradient(130% 120% at 100% 0%, #fff6d8 0%, #fffdf6 55%, #fbf3dc 100%);
  border: 2px solid var(--gold); border-radius: 20px;
  box-shadow: 0 10px 24px rgba(27, 34, 53, .12), inset 0 1px 0 #fff;
}
.wz-kopf { display: flex; align-items: center; gap: 10px; }
.wz-kopf > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wz-kopf b { font-size: 1.12rem; color: var(--navy); line-height: 1.25; }
.wz-zier { font-size: 1.3rem; animation: wz-funkeln 2.4s ease-in-out infinite; }
.wz-marke { font-size: .72rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark) !important; }
.wz-wahl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.wz-karte {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px;
  padding: 14px 8px 12px; min-height: 118px; cursor: pointer; font: inherit; color: var(--navy);
  background: linear-gradient(180deg, #ffffff, #fbf4df); border: 2px solid rgba(194, 164, 66, .55); border-radius: 18px;
  box-shadow: 0 4px 0 rgba(169, 138, 47, .35), 0 8px 16px rgba(27, 34, 53, .08);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.wz-karte:hover, .wz-karte:focus-visible { transform: translateY(-4px) rotate(-1deg); border-color: var(--gold);
  box-shadow: 0 7px 0 rgba(169, 138, 47, .45), 0 14px 24px rgba(27, 34, 53, .14); outline: none; }
.wz-karte:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(169, 138, 47, .45); }
.wz-bild {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 1.7rem; line-height: 1;
  background: radial-gradient(circle at 35% 30%, #fffbe8, #f3dc94 60%, #d9b24a 100%);
  box-shadow: 0 0 0 3px #fff, 0 0 18px rgba(232, 201, 92, .75);
  animation: wz-schweben 3.2s ease-in-out infinite;
}
.wz-karte:nth-child(2) .wz-bild { animation-delay: .5s; } .wz-karte:nth-child(3) .wz-bild { animation-delay: 1s; }
.wz-bild.klein { width: 46px; height: 46px; font-size: 1.45rem; flex-shrink: 0; }
.wz-text { font-weight: 800; font-size: .95rem; line-height: 1.25; text-align: center; hyphens: none; overflow-wrap: normal; }
.wz-zahl { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; line-height: 1; }
.wz-zahl b { font-size: 1.9rem !important; color: var(--gold-dark) !important; }
.wz-zahl small { font-size: .78rem; color: var(--muted); }
.wz-felder { display: flex; gap: 8px; justify-content: center; margin-top: 4px; }
.wz-feld {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 1.3rem;
  background: #f1ead6; border: 2px dashed rgba(169, 138, 47, .45);
}
.wz-feld:not(.voll) > span { filter: grayscale(1); opacity: .3; }
.wz-feld.voll { background: radial-gradient(circle at 35% 30%, #fffbe8, #f3dc94 70%); border: 2px solid var(--gold);
  box-shadow: 0 0 14px rgba(232, 201, 92, .7); animation: wz-plopp .6s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * .12s); }
.wz-balken { height: 12px; border-radius: 999px; background: #ece4cc; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12); }
.wz-balken i { display: block; height: 100%; width: var(--pz); border-radius: 999px; min-width: 0;
  background: linear-gradient(90deg, #f0a64b, #e8c95c, #fff1b8, #e8c95c); background-size: 200% 100%;
  animation: wz-wachsen 1.1s cubic-bezier(.2, .8, .2, 1) both, schimmern 2.5s linear infinite; }
.wz-stand { text-align: center; font-weight: 700; color: var(--navy) !important; }
.wochenziel.wz-neu.fertig { border-color: var(--gruen); background: radial-gradient(130% 120% at 100% 0%, #e7f6ec, #f6fcf8 60%); }
@keyframes wz-schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes wz-funkeln { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15) rotate(12deg); } }
@keyframes wz-plopp { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wz-wachsen { from { width: 0; } }
@media (max-width: 420px) {
  .wz-wahl { gap: 7px; } .wz-karte { padding: 12px 4px 10px; min-height: 108px; }
  .wz-bild { width: 44px; height: 44px; font-size: 1.4rem; } .wz-text { font-size: .84rem; }
}

/* 20.10.2026 Theresa: „das cooler machen .. mit effekten .. vl. balken oder so? der glitzert?“
   Karten: Glanzstreifen, Funken ums Bild, glitzernde Vorschau-Balken (so viele Teile wie das Ziel hat).
   Gewähltes Ziel: dickerer Balken mit wanderndem Glitzer und einem funkelnden Stern an der Spitze. */
.wz-karte { position: relative; overflow: hidden; isolation: isolate; }
.wz-karte::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
  transform: skewX(-18deg); animation: wz-glanz 5s ease-in-out infinite;
}
.wz-karte:nth-child(2)::after { animation-delay: 1.6s; } .wz-karte:nth-child(3)::after { animation-delay: 3.2s; }
.wz-karte:hover::after, .wz-karte:focus-visible::after { animation-duration: 1.4s; animation-delay: 0s; }
.wz-glitzer { position: absolute; left: 50%; top: 8px; width: 92px; height: 70px; transform: translateX(-50%); pointer-events: none; z-index: 1; }
.wz-glitzer i, .wz-spitze {
  position: absolute; width: 18px; height: 18px; background: radial-gradient(circle, #fff 0 22%, #ffe27a 45%, #f0b429 100%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: wz-funke 2.6s ease-in-out infinite;
}
.wz-glitzer i:nth-child(1) { left: -2px; top: 4px; }
.wz-glitzer i:nth-child(2) { right: -4px; top: -2px; width: 14px; height: 14px; animation-delay: .9s; }
.wz-glitzer i:nth-child(3) { right: 4px; bottom: 2px; width: 11px; height: 11px; animation-delay: 1.7s; }
.wz-karte:nth-child(2) .wz-glitzer i { animation-delay: .4s; } .wz-karte:nth-child(3) .wz-glitzer i { animation-delay: 1.2s; }
.wz-vorschau { display: flex; gap: 4px; width: 78%; margin-top: auto; padding-top: 2px; }
.wz-vorschau i {
  flex: 1; height: 10px; border-radius: 999px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12), 0 0 6px rgba(240, 180, 41, .35);
  background: linear-gradient(90deg, #ecdcae 0%, #ecdcae 30%, #fff8d6 42%, #f5c842 50%, #fff8d6 58%, #ecdcae 70%, #ecdcae 100%);
  background-size: 300% 100%; animation: wz-glitzerlauf 2.4s linear infinite;
}
.wz-vorschau i:nth-child(2) { animation-delay: .15s; } .wz-vorschau i:nth-child(3) { animation-delay: .3s; } .wz-vorschau i:nth-child(4) { animation-delay: .45s; }
.wz-karte:hover .wz-vorschau i, .wz-karte:focus-visible .wz-vorschau i {
  background: linear-gradient(90deg, #f0a64b, #e8c95c, #fff1b8, #e8c95c); background-size: 200% 100%; animation: schimmern 1.2s linear infinite;
}

.wz-balken { position: relative; height: 20px; overflow: visible; margin: 6px 0 2px; }
.wz-balken i { position: relative; overflow: hidden; box-shadow: 0 0 12px rgba(240, 180, 41, .65);
  background: linear-gradient(90deg, #f08a24, #f5b83a, #ffe27a, #fff3c4, #ffe27a, #f5b83a); background-size: 200% 100%; }
.wz-balken i::before { content: ""; position: absolute; left: 6px; right: 6px; top: 3px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .55); }
.wz-balken i::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, #fff 0 1.2px, rgba(255, 255, 255, 0) 1.8px), radial-gradient(circle, #fffbe0 0 .9px, rgba(255, 255, 255, 0) 1.5px);
  background-size: 22px 18px, 15px 18px; background-position: 0 4px, 8px 11px; opacity: .9;
  animation: wz-glitzerwandern 2.2s linear infinite, wz-flackern 1.3s ease-in-out infinite alternate;
}
.wz-spitze { left: var(--pz); top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; z-index: 1;
  animation: wz-spitze 1.8s ease-in-out infinite; }
.wz-balken::after { content: ""; position: absolute; left: var(--pz); top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 150, .9), rgba(255, 220, 110, 0) 65%); pointer-events: none; }
.wochenziel.fertig .wz-balken::after { left: calc(100% - 4px); }
.wochenziel.fertig .wz-spitze { left: calc(100% - 4px); }

@keyframes wz-glanz { 0%, 68% { left: -70%; } 100% { left: 135%; } }
@keyframes wz-funke { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 45%, 55% { opacity: 1; transform: scale(1) rotate(45deg); } }
@keyframes wz-glitzerlauf { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@keyframes wz-glitzerwandern { from { background-position: 0 4px, 8px 11px; } to { background-position: 22px 4px, -7px 11px; } }
@keyframes wz-flackern { from { opacity: .45; } to { opacity: 1; } }
@keyframes wz-spitze { 0%, 100% { transform: scale(.85) rotate(0); } 50% { transform: scale(1.15) rotate(45deg); } }

/* ---------- Flammen-Kasten: ruhige, einheitliche Schrift ---------- */
.kette-text { text-align: left; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.kette-zeile1 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.kette-zeile1 .kette-zahl { font-size: 1.55rem; line-height: 1.15; }
.kette-zeile1 span { font-size: .95rem; color: #dfe4ef; }
.kette small, .kette .kette-klein { font-size: .86rem !important; line-height: 1.45; color: #c9cfdd; margin: 0; }
.kette small b { font-size: inherit !important; color: var(--gold-hell, #e8c95c); }
.kette .glut { color: #ffc37e !important; font-weight: 700; }
.kette-pille { align-self: flex-start; font-size: .82rem; font-weight: 700; color: #fff3cf; padding: 3px 10px; border-radius: 999px;
  background: rgba(232, 201, 92, .16); border: 1px solid rgba(232, 201, 92, .4); }
.kette .flamme { display: grid; place-items: center; width: 74px; height: 74px; flex-shrink: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 60, .35), rgba(255, 140, 40, 0) 70%); }

.kette-pille { white-space: nowrap; }
@media (max-width: 420px) {
  .kette { gap: 8px; padding: 12px 12px; }
  .kette .flamme { width: 48px; height: 48px; }
  .kette-pille { font-size: .76rem; padding: 3px 8px; }
  .kette-zeile1 .kette-zahl { font-size: 1.35rem; }
}

/* ---------- Sternenhimmel: funkelnder Himmel statt leerer Fläche ---------- */
.himmel-karte.himmel-voll {
  position: relative; overflow: hidden; min-height: 150px; padding: 16px 20px; gap: 18px;
  background: radial-gradient(120% 140% at 15% 0%, #3b4a7a 0%, #26305a 40%, #141a30 100%);
  box-shadow: 0 10px 26px rgba(20, 26, 48, .35), inset 0 0 40px rgba(120, 140, 220, .15);
}
.himmel-voll::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 201, 92, .28), rgba(232, 201, 92, 0) 70%); pointer-events: none; }
.himmel-funkeln { position: absolute; inset: 0; pointer-events: none; }
.himmel-funkeln i { position: absolute; width: var(--g); height: var(--g); border-radius: 50%; background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 246, 207, .8); opacity: .3; animation: himmel-blinken 3s ease-in-out infinite; animation-delay: var(--d); }
.himmel-voll .himmel-bild, .himmel-voll .himmel-text { position: relative; z-index: 1; }
.himmel-voll .himmel-bild { filter: drop-shadow(0 0 10px rgba(232, 201, 92, .45)); }
.himmel-reihe { display: flex; gap: 3px; font-size: 1.05rem; line-height: 1; margin: 2px 0; }
.himmel-reihe span { color: rgba(255, 255, 255, .22); }
.himmel-reihe span.an { color: #ffe27a; text-shadow: 0 0 8px rgba(255, 226, 122, .9); }
@keyframes himmel-blinken { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.2); } }

@media (prefers-reduced-motion: reduce) {
  .wz-bild, .wz-zier, .wz-feld.voll, .wz-balken i, .himmel-funkeln i { animation: none !important; }
  .wz-karte::after, .wz-glitzer, .wz-vorschau i, .wz-balken i::after, .wz-spitze { animation: none !important; }
  .wz-karte::after, .wz-glitzer { display: none; }
}

/* 20.10.2026: Der Farbfilter für den alten Fabio (heller, rosiger Grund) ist weg – der neue Fabio
   (Hoodie, Brille) hat schon einen warmen Grund und würde mit Filter zu dunkel. */

/* ---------- Kind-Startseite: am Laptop die Breite nutzen (fast randlos, höchstens 1440 px) ---------- */
@media (min-width: 960px) {
  body.training .buehne:has(.start-seite), body.training .seiten-fuss { max-width: min(1440px, 96vw); }
  body.training .buehne:has(.start-seite) { padding-left: 12px; padding-right: 12px; }
}

/* ---------- Die drei Lese-Welten (Kind-Startseite): kräftige Weltfarben, volles Bild, Glanz ----------
   Theresa 16.10.: „blass, leer und basic, ohne Wow“. Jede Welt bekommt ihre Farbe, das Tier-Video steht groß
   in einem leuchtenden Fenster, ein Glanz läuft über die Karte, der Schwerpunkt pulsiert golden. */
.start-seite .welten-titel { font-family: inherit; font-size: 1.6rem; letter-spacing: .01em;
  background: linear-gradient(90deg, #a98a2f, #e8c95c, #a98a2f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.start-seite .welt-karte { color: #fff; }
.start-seite #k-genau { background: radial-gradient(120% 80% at 50% 0%, #2f9bb0 0%, #17607a 45%, #0d3a4f 100%) padding-box !important; }
.start-seite #k-fluessig { background: radial-gradient(120% 80% at 50% 0%, #f2a54a 0%, #c86b1f 45%, #7a3b12 100%) padding-box !important; }
.start-seite #k-verstehen { background: radial-gradient(120% 80% at 50% 0%, #e0705a 0%, #a8392c 45%, #5e1c1b 100%) padding-box !important; }
/* Glanz, der langsam über die Karte zieht (statt der inneren Schattenkante) */
.start-seite .welt-karte.gold-rahmen::after { box-shadow: inset 0 2px 8px rgba(0, 0, 0, .25);
  background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .26) 50%, transparent 58%) no-repeat;
  background-size: 300% 100%; background-position: 150% 0; animation: welt-glanz 6s ease-in-out infinite; z-index: 0; }
.start-seite #k-fluessig::after { animation-delay: 2s; } .start-seite #k-verstehen::after { animation-delay: 4s; }
@keyframes welt-glanz { 0%, 65% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.start-seite .welt-karte > * { position: relative; z-index: 1; }
.start-seite .welt-karte .welt-tier { border-radius: 22px; background: #e8d3ad; border: 3px solid rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 2px rgba(232, 201, 92, .9), 0 12px 26px rgba(0, 0, 0, .35), 0 0 34px rgba(255, 226, 140, .35); object-fit: cover; }
.start-seite .welt-karte:hover .welt-tier { transform: translateY(-4px) scale(1.03); transition: transform .3s; }
.start-seite .welt-karte .tk-dim { color: #ffe9a8 !important; letter-spacing: .12em; }
.start-seite .welt-karte .welt-text b { color: #fff; font-size: 1.45rem; text-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.start-seite .welt-karte .welt-text small { color: rgba(255, 255, 255, .9); }
.start-seite .welt-karte .tk-status { background: linear-gradient(180deg, #ffe7a0, #d9b24a) !important; color: #2a2010 !important;
  box-shadow: 0 3px 0 #8a6a2a, 0 6px 14px rgba(0, 0, 0, .25) !important; }
.start-seite .welt-karte.wichtig { box-shadow: 0 14px 30px rgba(0, 0, 0, .35), 0 0 0 0 rgba(232, 201, 92, .6) !important; animation: welt-puls 2.8s ease-in-out infinite; }
@keyframes welt-puls { 50% { box-shadow: 0 14px 30px rgba(0, 0, 0, .35), 0 0 0 8px rgba(232, 201, 92, 0), 0 0 28px rgba(232, 201, 92, .55); } }
.start-seite .welt-karte [class*="schritt"] { background: rgba(255, 255, 255, .16) !important; color: #fff !important; border-color: rgba(255, 255, 255, .35) !important; }
.start-seite .welt-karte .funken { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .start-seite .welt-karte::after, .start-seite .welt-karte.wichtig { animation: none; } }

/* ============================================================
   Lese-Check-Übersicht: Zauberhimmel + Tier-Medaillons (17.10.2026)
   Nur aktiv mit body.hg-an (zauberhimmel.js setzt das, solange die Aufgaben-Kacheln zu sehen sind).
   ============================================================ */
.hg-szene { display: none; }
body.hg-an .hg-szene { display: block; position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
body.hg-an { background: #141a30; }
body.hg-an .buehne, body.hg-an .seiten-fuss, body.hg-an .kind-kopf { position: relative; z-index: 1; }
body.hg-an .kind-kopf { z-index: 5; }
body.hg-an.hg-wechsel .hg-szene { animation: hg-ein .9s ease both; }
@keyframes hg-ein { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }
.hg-teilchen { position: absolute; inset: 0; }
.hg-teilchen i { position: absolute; display: block; width: var(--g); height: var(--g); border-radius: 50%; animation-delay: var(--d); }
.hg-szene b { position: absolute; display: block; }

/* 1 Sternenhimmel: echte Sternformen, Planeten, Rakete, Sternschnuppen
   (18.10.2026: Mond entfernt; Theresa: „Sterne und keine Punkte, vielleicht auch Planeten und Raketen“) */
.hg-szene[data-szene="sterne"] { background: radial-gradient(120% 90% at 50% 0%, #34407a 0%, #1d2550 40%, #0d1229 100%); }
.hg-szene[data-szene="sterne"] i { width: calc(var(--g) * 2.3 + 5px); height: calc(var(--g) * 2.3 + 5px); border-radius: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C11 7 13 9 20 10C13 11 11 13 10 20C9 13 7 11 0 10C7 9 9 7 10 0Z' fill='%23fff7da'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 3px rgba(255, 236, 170, .9)); animation: hg-funkeln var(--t) ease-in-out infinite; animation-delay: var(--d); }
.hg-szene[data-szene="sterne"] i.st5 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 17.6l-6.4 3.5 1.4-7.1-5.3-5 7.2-.9z' fill='%23ffe39a'/%3E%3C/svg%3E"); }
.hg-planet { animation: hg-schweben 10s ease-in-out infinite; }
.hg-planet.ring { left: 3%; top: 60%; width: 170px; height: 113px; }
.hg-planet.ring svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 18px rgba(243, 215, 154, .25)); }
.hg-planet.rot { right: 7%; top: 16%; width: 58px; height: 58px; border-radius: 50%; animation-duration: 12s; animation-delay: -4s;
  background: radial-gradient(circle at 62% 64%, rgba(120, 40, 25, .45) 0 9%, transparent 10%), radial-gradient(circle at 34% 58%, rgba(120, 40, 25, .35) 0 6%, transparent 7%),
    radial-gradient(circle at 70% 34%, rgba(120, 40, 25, .3) 0 5%, transparent 6%), radial-gradient(circle at 35% 30%, #ffc2a6, #d9603f 55%, #7a2a1c);
  box-shadow: 0 0 24px rgba(217, 96, 63, .35); }
.hg-planet.klein { left: 38%; top: 9%; width: 24px; height: 24px; border-radius: 50%; animation-delay: -7s;
  background: radial-gradient(circle at 35% 30%, #d6f4ff, #5aa9c9 55%, #24557a); box-shadow: 0 0 14px rgba(120, 200, 230, .4); }
.hg-rakete { left: 0; top: 0; width: 46px; height: 92px; opacity: 0; animation: hg-rakete 24s linear infinite 4s; }
.hg-rakete svg { width: 100%; height: 100%; display: block; overflow: visible; transform: rotate(var(--rk-winkel, 45deg)); filter: drop-shadow(0 0 8px rgba(255, 200, 120, .55)); }
.hg-flamme { transform-box: fill-box; transform-origin: 50% 0; animation: hg-flackern .16s ease-in-out infinite alternate; }
.hg-schnuppe { width: 160px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); opacity: 0;
  transform: rotate(28deg); animation: hg-schnuppe 9s linear infinite; }
.hg-schnuppe.s1 { left: 8%; top: 16%; } .hg-schnuppe.s2 { left: 58%; top: 6%; animation-delay: 4.5s; }
@keyframes hg-funkeln { 0%, 100% { opacity: .3; transform: scale(.6) rotate(0deg); } 50% { opacity: 1; transform: scale(1.2) rotate(18deg); } }
@keyframes hg-schnuppe { 0%, 82% { opacity: 0; translate: 0 0; } 85% { opacity: 1; } 95% { opacity: 0; translate: 300px 160px; } 100% { opacity: 0; } }
@keyframes hg-schweben { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes hg-rakete { 0% { transform: translate(-8vw, 100vh); opacity: 0; } 3% { opacity: 1; } 38% { transform: translate(104vw, -18vh); opacity: 1; }
  39%, 100% { transform: translate(104vw, -18vh); opacity: 0; } }
@keyframes hg-flackern { to { transform: scaleY(1.35); } }

/* 2 Zauberwald: Baum-Silhouetten in zwei Reihen, Nebel, Glühwürmchen und fliegende Vögel
   (18.10.2026, Theresa: „auch Bäume und Vögel im Hintergrund, die fliegen“) */
.hg-szene[data-szene="wald"] { background: radial-gradient(110% 80% at 50% 10%, #3a7a62 0%, #1d4a38 45%, #0b2219 100%); }
.hg-baeume { left: 0; right: 0; bottom: 0; height: 44%; }
.hg-baeume svg { width: 100%; height: 100%; display: block; }
.hg-baeume.hinten { height: 56%; opacity: .75; filter: blur(1.2px); }
.hg-nebel { left: -20%; right: -20%; bottom: 10%; height: 34%; background: radial-gradient(50% 60% at 50% 60%, rgba(200, 240, 220, .2), transparent 70%);
  animation: hg-nebel 18s ease-in-out infinite alternate; }
.hg-szene[data-szene="wald"] i { background: #f6ff9a; box-shadow: 0 0 10px 4px rgba(230, 255, 120, .7); animation: hg-gluehen var(--t) ease-in-out infinite; animation-delay: var(--d); }
.hg-vogel { left: 0; width: var(--g); height: calc(var(--g) / 2); color: #07190f; opacity: .9;
  animation: hg-flug var(--t) linear infinite, hg-wippen 3.4s ease-in-out infinite; animation-delay: var(--d), var(--d); }
.hg-vogel svg { width: 100%; height: 100%; display: block; overflow: visible; transform-origin: 50% 55%; animation: hg-flattern .5s ease-in-out infinite alternate; }
.hg-vogel:nth-of-type(2n) svg { animation-duration: .62s; }
@keyframes hg-gluehen { 0%, 100% { opacity: .1; translate: 0 0; } 30% { opacity: 1; } 50% { translate: 30px -40px; } 70% { opacity: .8; } }
@keyframes hg-nebel { from { translate: -6% 0; } to { translate: 6% 0; } }
@keyframes hg-flug { from { transform: translateX(-10vw); } to { transform: translateX(110vw); } }
@keyframes hg-wippen { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes hg-flattern { from { transform: scaleY(1); } to { transform: scaleY(-.45); } }
@media (max-width: 600px) {
  .hg-planet.ring { width: 110px; height: 73px; top: 70%; } .hg-planet.rot { width: 40px; height: 40px; }
  .hg-baeume { height: 30%; } .hg-baeume.hinten { height: 40%; }
}

/* 3 Abendwiese: Sonnenuntergang, Hügel, fliegende Pusteblumen-Samen */
.hg-szene[data-szene="wiese"] { background: linear-gradient(180deg, #5b4a9a 0%, #b56a9a 38%, #f2a86b 70%, #ffd38a 100%); }
.hg-sonne { left: 50%; bottom: 22%; width: 220px; height: 220px; margin-left: -110px; border-radius: 50%;
  background: radial-gradient(circle, #fff3c4, #ffc964 60%, rgba(255, 180, 90, 0) 72%); animation: hg-pulsieren 6s ease-in-out infinite; }
.hg-huegel { bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hg-huegel.hinten { height: 32%; background: #6f8c5a; opacity: .85; left: -30%; right: 20%; }
.hg-huegel.vorn { height: 22%; background: linear-gradient(180deg, #4f7a45, #2f5233); left: 10%; right: -30%; }
.hg-szene[data-szene="wiese"] i { width: calc(var(--g) * 2.4); height: calc(var(--g) * 2.4); background: radial-gradient(circle, #fff 0 18%, rgba(255, 255, 255, .55) 20% 40%, transparent 42%);
  animation: hg-fliegen var(--t) linear infinite; animation-delay: var(--d); }
@keyframes hg-fliegen { 0% { translate: -40px 30px; opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { translate: 160px -160px; opacity: 0; } }
@keyframes hg-pulsieren { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* 4 Unterwasser: Lichtstrahlen, aufsteigende Luftblasen */
.hg-szene[data-szene="meer"] { background: linear-gradient(180deg, #1f8fa8 0%, #13617f 45%, #0a3550 100%); }
.hg-strahlen { inset: -10% 0 30% 0; background: repeating-linear-gradient(100deg, rgba(255, 255, 255, .09) 0 40px, transparent 40px 120px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); animation: hg-wiegen 10s ease-in-out infinite alternate; }
.hg-grund { left: -5%; right: -5%; bottom: 0; height: 14%; background: radial-gradient(60% 100% at 50% 100%, #d9c28a, #b39a5c 60%, transparent 62%); opacity: .6; }
.hg-szene[data-szene="meer"] i { top: 0 !important; width: calc(var(--g) * 2.2); height: calc(var(--g) * 2.2); border: 1.5px solid rgba(255, 255, 255, .7);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .7) 0 15%, rgba(255, 255, 255, .08) 40%); animation: hg-blasen var(--t) linear infinite; animation-delay: var(--d); }
@keyframes hg-blasen { from { translate: 0 110vh; } to { translate: 20px -20vh; } }
@keyframes hg-wiegen { from { translate: -4% 0; } to { translate: 4% 0; } }

/* 5 Meine Farbe: ruhig, ohne Bewegung, Farbe wählt das Kind (18.10.2026, Theresa: „ein fünfter, neutral, eine Farbe, die man wählen kann“) */
.hg-szene[data-szene="farbe"] { background-color: var(--hg-farbe, #27325a);
  background-image: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--hg-farbe, #27325a) 78%, #fff) 0%, var(--hg-farbe, #27325a) 55%, color-mix(in srgb, var(--hg-farbe, #27325a) 85%, #000) 100%); }
/* helle Farbe: Seitenfuß dunkel, sonst wäre er kaum lesbar */
body.hg-an.hg-hell .seiten-fuss, body.hg-an.hg-hell .seiten-fuss a { color: #2b3350; }

.hg-ruhig .hg-szene, .hg-ruhig .hg-szene * { animation: none !important; }

/* Übersicht auf dem Zauberhimmel: breiter, Karte wie edles Pergament */
@media (min-width: 960px) {
  body.lesecheck.hg-an .buehne { max-width: 1080px; }
  body.lesecheck.hg-an .karte > .test-kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
body.lesecheck.hg-an .buehne > .karte { background: linear-gradient(180deg, rgba(255, 252, 243, .97), rgba(248, 240, 220, .96));
  border: 2px solid rgba(216, 178, 90, .8); box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 #fff; }

/* Auswahl der Hintergründe */
.hg-wahl { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 8px auto 12px; }
.hg-wahl:empty { display: none; }
/* 18.10.2026: Titel mittig über der Reihe, mit feinen Linien links und rechts */
.hg-wahl-titel { display: flex; align-items: center; gap: 10px; width: min(100%, 420px); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark, #a98a2f); }
.hg-wahl-titel::before, .hg-wahl-titel::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(194, 164, 66, .55)); }
.hg-wahl-titel::after { background: linear-gradient(90deg, rgba(194, 164, 66, .55), transparent); }
.hg-wahl-reihe { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.hg-knopf { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 98px; padding: 6px 2px 4px; border: 0; border-radius: 14px; background: none; cursor: pointer; font: inherit; color: var(--navy); }
.hg-knopf:focus-visible { outline: 3px solid var(--gold, #c2a442); outline-offset: 2px; }
.hg-knopf small { font-size: .74rem; font-weight: 700; opacity: .75; white-space: nowrap; line-height: 1; }
.hg-kugel { position: relative; display: block; overflow: hidden; width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid #fff;
  box-shadow: 0 0 0 1.5px rgba(169, 138, 47, .5), 0 4px 10px rgba(0, 0, 0, .2); transition: transform .2s, box-shadow .2s; }
.hg-kugel svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hg-knopf:hover .hg-kugel { transform: translateY(-3px) scale(1.06); }
.hg-knopf.aktiv .hg-kugel { box-shadow: 0 0 0 3px var(--gold, #c2a442), 0 0 16px rgba(232, 201, 92, .9); transform: scale(1.08); }
.hg-knopf.aktiv small { opacity: 1; color: var(--gold-dark, #a98a2f); }
/* 18.10.2026: Sternenhimmel und Zauberwald zeigen ihre Motive als kleines Bild (SVG aus zauberhimmel.js) */
.hg-vorschau-sterne .hg-kugel { background: linear-gradient(160deg, #3a4785, #0d1229); }
.hg-vorschau-wald .hg-kugel { background: linear-gradient(180deg, #4a8a70, #1d4a38 70%, #0b2219); }
.hg-vorschau-wiese .hg-kugel { background: radial-gradient(circle at 50% 65%, #fff3c4 0 16%, transparent 18%), radial-gradient(70% 40% at 50% 100%, #4f7a45 98%, transparent), linear-gradient(180deg, #5b4a9a, #f2a86b 70%, #ffd38a); }
.hg-vorschau-meer .hg-kugel { background: radial-gradient(circle at 35% 60%, rgba(255, 255, 255, .8) 0 6%, transparent 8%), radial-gradient(circle at 65% 35%, rgba(255, 255, 255, .7) 0 4%, transparent 6%), linear-gradient(180deg, #1f8fa8, #0a3550); }
.hg-farben { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 2px; padding: 7px 12px; border-radius: 999px;
  background: rgba(194, 164, 66, .1); animation: hg-farben-ein .3s ease both; }
.hg-farben[hidden] { display: none; }
.hg-farbknopf { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 2px solid #fff; cursor: pointer;
  box-shadow: 0 0 0 1.5px rgba(169, 138, 47, .45), 0 2px 6px rgba(0, 0, 0, .18); transition: transform .15s, box-shadow .15s; }
.hg-farbknopf:hover { transform: scale(1.12); }
.hg-farbknopf.aktiv { box-shadow: 0 0 0 3px var(--gold, #c2a442), 0 0 10px rgba(232, 201, 92, .8); transform: scale(1.14); }
.hg-farbknopf:focus-visible { outline: 3px solid var(--gold, #c2a442); outline-offset: 2px; }
@keyframes hg-farben-ein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Aufgaben-Kacheln mit Tier-Medaillon und Weltfarbe (Lese-Check-Übersicht) */
body.lesecheck .test-kachel { position: relative; overflow: hidden; gap: 16px; padding: 16px 18px 16px 16px; border-width: 2px; }
body.lesecheck .test-kachel::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
body.lesecheck .test-kachel > * { position: relative; }
body.lesecheck .test-kachel.welt-gilda { border-color: rgba(230, 150, 60, .55); } body.lesecheck .test-kachel.welt-gilda::before { background: linear-gradient(110deg, #fff1dc, #fff 62%); }
body.lesecheck .test-kachel.welt-amo { border-color: rgba(40, 130, 150, .45); } body.lesecheck .test-kachel.welt-amo::before { background: linear-gradient(110deg, #def2f4, #fff 62%); }
body.lesecheck .test-kachel.welt-fabio { border-color: rgba(214, 90, 60, .45); } body.lesecheck .test-kachel.welt-fabio::before { background: linear-gradient(110deg, #fde6de, #fff 62%); }
body.lesecheck .test-kachel.welt-luna { border-color: rgba(120, 90, 190, .45); } body.lesecheck .test-kachel.welt-luna::before { background: linear-gradient(110deg, #ece4fa, #fff 62%); }
body.lesecheck .test-kachel.fertig::before { background: linear-gradient(110deg, #e3f3e8, #f6fcf8 62%); }
body.lesecheck .test-kachel:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(27, 34, 53, .18); }
.tk-medaillon { flex-shrink: 0; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; display: block;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold, #c2a442), 0 6px 14px rgba(27, 34, 53, .25); background: #e8d3ad; }
.tk-medaillon video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.25); transform-origin: 50% 22%; display: block; }
.welt-luna .tk-medaillon video { object-position: 50% 40%; transform: scale(1.1); }
body.lesecheck .test-kachel:hover:not(:disabled) .tk-medaillon { animation: tk-wackeln .6s ease; }
@keyframes tk-wackeln { 30% { transform: rotate(-6deg) scale(1.06); } 60% { transform: rotate(5deg) scale(1.06); } }
.tk-nummer { position: absolute !important; left: 8px; top: 8px; z-index: 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .78rem; font-weight: 800; color: var(--navy); background: linear-gradient(180deg, #ecd38f, #c2a442); box-shadow: 0 2px 4px rgba(0, 0, 0, .2); }
body.lesecheck .test-kachel.fertig .tk-medaillon { box-shadow: 0 0 0 2px var(--gruen, #2f7d5b), 0 6px 14px rgba(27, 34, 53, .2); }
@media (max-width: 420px) {
  .tk-medaillon { width: 54px; height: 54px; }
  .hg-wahl-reihe { gap: 2px 5px; flex-wrap: nowrap; }
  .hg-knopf { width: 61px; padding: 4px 0; }
  .hg-kugel { width: 34px; height: 34px; }
  .hg-knopf small { font-size: .62rem; white-space: normal; text-align: center; line-height: 1.12; -webkit-hyphens: manual; hyphens: manual; }
  .hg-farben { gap: 6px; padding: 6px 10px; } .hg-farbknopf { width: 26px; height: 26px; }
}

/* ============================================================
   Elternseite „Euer Überblick“ (17.10.2026): breiter, edler, Zahlen zählen hoch, Figuren statt Textwüste
   ============================================================ */
@media (min-width: 1440px) { body.training .buehne:has(.karte.eltern) { max-width: 1360px; } }
@media (min-width: 960px) {
  body.training .karte.eltern .el-tafel > .el-fortschritt { column-span: all; }
  .el-fs-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
}
.el-fortschritt { background: radial-gradient(120% 120% at 0% 0%, #2a3560 0%, #1b2442 55%, #121831 100%) !important;
  color: #e9ecf5; border: 2px solid rgba(216, 178, 90, .8) !important; box-shadow: 0 18px 40px rgba(18, 24, 49, .35) !important; }
.el-fortschritt h2 { color: #e8c95c !important; font-size: 1.35rem !important; }
.el-fortschritt .el-klein b, .el-fortschritt .el-klein { color: #ffe9a8; }
.el-fortschritt .el-text, .el-fortschritt .kal-legende { color: #cfd5e6; }
.el-fortschritt .el-hinweis { color: #cfd5e6; background: rgba(255, 255, 255, .06); border-color: rgba(232, 201, 92, .35); }
.el-fortschritt .el-hinweis a { color: #ffe9a8; }
.el-zahlen-neu { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; margin-bottom: 18px; }
@media (min-width: 600px) { .el-zahlen-neu { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.el-zahlen-neu > div { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)) !important;
  border: 1px solid rgba(232, 201, 92, .45); border-radius: 18px !important; padding: 16px 10px 14px !important; }
.ez-medaille { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 50%; font-size: 1.4rem;
  background: radial-gradient(circle at 35% 30%, #fffbe8, #f3dc94 60%, #c2a442); box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 0 18px rgba(232, 201, 92, .6); }
.el-zahlen-neu b { font-size: 2.3rem !important; color: #fff !important; text-shadow: 0 0 18px rgba(232, 201, 92, .55); font-variant-numeric: tabular-nums; }
.el-zahlen-neu b.ez-fertig { animation: ez-plopp .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ez-plopp { 50% { transform: scale(1.18); } }
.el-zahlen-neu small { color: #ffe9a8 !important; font-weight: 700; font-size: .86rem !important; }
.el-zahlen-neu small.ez-leise { color: #aeb6cc !important; font-weight: 400; font-size: .76rem !important; }
.ez-wort { white-space: nowrap; }
.el-fortschritt .kalender { max-width: none; gap: 6px; }
.el-fortschritt .kal-kopf { color: #aeb6cc; }
.el-fortschritt .kal-zelle { border-radius: 10px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #dfe4ef; }
.el-fortschritt .kal-zelle.komplett { background: radial-gradient(circle at 35% 30%, #fff3c4, #e8c95c 60%, #a98a2f); color: #1b2442; box-shadow: 0 0 12px rgba(232, 201, 92, .7); }
.el-fortschritt .kal-zelle.geuebt { background: #3d4f8a; border-color: #6b7fc0; color: #fff; }
.el-fortschritt .kal-zelle.frei { background: rgba(255, 255, 255, .03); color: #6f7894; }
.el-fortschritt .kal-zelle.zukunft { color: #59617a; }
.el-fortschritt .el-balken-zeile { color: #e9ecf5; align-items: center; }
.el-fortschritt .el-balken-zeile > span:first-child { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-width: 9.5em; }
.el-balken-tier { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #e8c95c; background: #e8d3ad; }
.el-fortschritt .el-balken { background: rgba(255, 255, 255, .12); height: 12px; border-radius: 999px; }
.el-fortschritt .el-balken > span { background: linear-gradient(90deg, #f0a64b, #e8c95c, #fff1b8); border-radius: 999px; animation: wz-wachsen 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.el-fortschritt .el-balken-zeile b { color: #ffe9a8; }

/* Deutsch als Zweitsprache: drei kurze Karten mit Figur */
.el-tipp-karten { display: grid; gap: 10px; }
.el-tipp { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(110deg, #fff6e2, #fff 70%); border: 1.5px solid rgba(194, 164, 66, .45); }
.el-tipp-tier { width: 62px; height: 62px; flex-shrink: 0; border-radius: 50%; object-fit: cover; background: #e8d3ad;
  border: 3px solid #fff; box-shadow: 0 0 0 2px #c2a442, 0 6px 12px rgba(27, 34, 53, .2); }
.el-tipp b { color: var(--navy); font-size: 1rem; }
.el-tipp p { margin: 2px 0 0; color: #4b5160; font-size: .93rem; line-height: 1.45; }

/* Lernverlauf: drei Fakten mit Figur, Beispielkurve */
.el-verlauf-fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 12px; }
.el-verlauf-fakten > span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 10px 6px;
  border-radius: 14px; background: #fbf5e6; border: 1px solid rgba(194, 164, 66, .4); }
.el-verlauf-fakten b { color: var(--navy); font-size: .95rem; }
.el-verlauf-fakten small { color: #6b6558; font-size: .78rem; line-height: 1.3; }
.el-fakt-tier { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #e8d3ad; border: 2px solid #c2a442; margin-bottom: 2px; }
.bc-beispiel { position: relative; opacity: .85; }
.bc-beispiel .bc-kurve path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: bc-zeichnen 2.2s ease forwards .3s; }
@keyframes bc-zeichnen { to { stroke-dashoffset: 0; } }
.bc-beispiel-marke { position: absolute; right: 10px; bottom: 40px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #a98a2f; background: #fff6d8; border: 1px dashed #c2a442; border-radius: 999px; padding: 2px 10px; }
@media (max-width: 480px) { .el-verlauf-fakten { grid-template-columns: 1fr; } .el-verlauf-fakten > span { flex-direction: row; text-align: left; gap: 10px; } }

/* ---------- Kind-Startseite: Deine Lese-Abenteuer (17.10.2026) ---------- */
.start-seite .abenteuer-titel { margin-top: 34px; }
.start-seite .abenteuer-unter { text-align: center; color: var(--muted); margin: -4px auto 16px; }
.abenteuer-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.abenteuer-karte { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: #fff; text-decoration: none; color: var(--navy); border: 2px solid #efe2b5;
  box-shadow: 0 10px 24px rgba(27, 34, 53, .12); transition: transform .2s, box-shadow .2s;
  opacity: 0; transform: translateY(18px); animation: abEin .6s ease-out forwards; animation-delay: calc(.15s + var(--i) * .12s); }
@keyframes abEin { to { opacity: 1; transform: none; } }
.abenteuer-karte:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(27, 34, 53, .2); }
.ab-bild { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1b2235; }
.ab-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.abenteuer-karte:hover .ab-bild img { transform: scale(1.06); }
.ab-marke { position: absolute; top: 10px; left: 10px; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 800;
  background: linear-gradient(135deg, #f7e29a, #e2c25a); color: var(--navy); box-shadow: 0 3px 10px rgba(0, 0, 0, .25); }
.ab-text { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px 15px; }
.ab-text b { font-size: 1.08rem; }
.ab-text small { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .abenteuer-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 18.10.2026: Handy – Abenteuer als Wisch-Reihe statt sechs Karten untereinander (Seite war über 6 Bildschirme lang) */
@media (max-width: 520px) {
  .abenteuer-raster { display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px 26px; padding: 4px 16px 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .abenteuer-raster::-webkit-scrollbar { display: none; }
  .abenteuer-raster .abenteuer-karte { flex: 0 0 78%; scroll-snap-align: start; }
  .start-seite .abenteuer-unter::after { content: ' Wisch zur Seite für mehr.'; }
}
@media (prefers-reduced-motion: reduce) { .abenteuer-karte { animation: none; opacity: 1; transform: none; } }
/* 29.10.2026: Karte „Kommt bald“ – sichtbar, aber nicht anklickbar */
.abenteuer-karte.bald { cursor: default; }
.abenteuer-karte.bald:hover { transform: none; box-shadow: 0 10px 24px rgba(27, 34, 53, .12); }
.abenteuer-karte.bald:hover .ab-bild img { transform: none; }
/* 18.10.2026: unter den Lese-Abenteuern – Wege zum Kurs und zu Fabios Werkstatt */
.ab-verweise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: -8px 0 22px; }
.ab-verweis { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; text-decoration: none; color: var(--navy); text-align: left;
  background: #fffdf6; border: 1.5px solid rgba(194, 164, 66, .45); transition: transform .15s, box-shadow .15s; }
.ab-verweis:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(27, 34, 53, .14); }
.ab-verweis .ico { flex-shrink: 0; display: inline-flex; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #fbeee0; color: #a5532f; }
.ab-verweis .ico svg { width: 100%; height: 100%; }
.ab-verweis > span:last-child { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ab-verweis b { font-size: .95rem; } .ab-verweis small { color: var(--muted); font-size: .8rem; }
@media (max-width: 720px) { .ab-verweise { grid-template-columns: 1fr; } }

/* 18.10.2026: Startseite zeigt nur noch den Hinweis, die Karten selbst stehen in Fabios Welt */
.abenteuer-hinweis { display: flex; align-items: center; gap: 16px; width: 100%; margin: 26px 0 22px; padding: 14px 18px 14px 14px; text-align: left;
  border-radius: 22px; border: 2px solid #efe2b5; background: linear-gradient(110deg, #fde6de, #fff 60%); color: var(--navy); font: inherit; cursor: pointer;
  box-shadow: 0 10px 24px rgba(27, 34, 53, .12); transition: transform .2s, box-shadow .2s; }
.abenteuer-hinweis:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(27, 34, 53, .2); }
.ab-hin-tier { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--gold, #c2a442), 0 6px 14px rgba(27, 34, 53, .25); background: #e8d3ad; }
.ab-hin-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ab-hin-text b { font-size: 1.15rem; }
.ab-hin-text small { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.abenteuer-hinweis .tk-status { flex-shrink: 0; }
@media (max-width: 520px) { .abenteuer-hinweis { flex-wrap: wrap; } .abenteuer-hinweis .tk-status { margin-left: auto; } }

/* 25.10.2026 Theresa: Bei Maus darüber stellt sich das Tier in zwei Sätzen vor (Sprechblase unter dem Bild, Spitze zeigt zum Tier) */
.welt-sprech { display: none; }
@media (hover: hover) {
  .start-seite .welt-karte > .welt-sprech {
    display: block; position: absolute; z-index: 4; left: 14px; right: 14px; top: 196px;
    padding: 14px 16px; border-radius: 18px; text-align: center;
    font-size: 1rem; line-height: 1.45; font-weight: 700; color: var(--navy);
    background: linear-gradient(180deg, #fffdf6, #fff3d6); border: 2px solid #e8c95c;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .32), 0 0 0 4px rgba(255, 233, 168, .25);
    opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none;
    transition: opacity .25s ease, transform .3s cubic-bezier(.2, 1.4, .4, 1);
  }
  .start-seite .welt-karte > .welt-sprech::before {
    content: ''; position: absolute; top: -11px; left: 50%; width: 20px; height: 20px; margin-left: -10px;
    background: #fffdf6; border-left: 2px solid #e8c95c; border-top: 2px solid #e8c95c; transform: rotate(45deg); border-radius: 4px 0 0 0;
  }
  .start-seite .welt-karte:hover > .welt-sprech, .start-seite .welt-karte:focus-visible > .welt-sprech { opacity: 1; transform: none; transition-delay: .25s; }
}
@media (hover: hover) and (prefers-reduced-motion: reduce) { .start-seite .welt-karte > .welt-sprech { transition: none; } }

/* ============================================================
   26.10.2026 (Theresa: „Elternseite noch stimmiger und hochwertiger vom Layout“)
   Ein Kartenstil für alle Abschnitte, ruhige Überschrift mit Unterzeile, Spalten oben bündig,
   je Karte ein goldener Hauptknopf und leise Nebenknöpfe.
   ============================================================ */
.karte.eltern .el-abschnitt:not(.el-fortschritt) {
  background: linear-gradient(180deg, #fffdf8 0%, #fff 140px);
  border: 1px solid rgba(194, 164, 66, .38); border-radius: 22px;
  padding: 22px 24px 24px; margin: 0 0 20px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 12px 30px rgba(27, 34, 53, .08);
}
.karte.eltern .el-fortschritt { border-radius: 24px; padding: 24px 26px 26px; margin: 0 0 20px; }
.karte.eltern .el-tafel { margin-top: 20px; }
.karte.eltern .el-abschnitt:not(.el-fortschritt) h2 {
  position: relative; font-size: 1.24rem; line-height: 1.25; letter-spacing: .005em;
  margin: 0 0 14px; padding-top: 14px; color: var(--navy);
}
.karte.eltern .el-abschnitt:not(.el-fortschritt) h2::before {
  content: ''; position: absolute; left: 0; top: 0; width: 34px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #e8c95c, #c2a442);
}
.karte.eltern .el-abschnitt h2 .el-unter {
  display: block; margin-top: 3px; font-size: .9rem; font-weight: 400; letter-spacing: 0; color: #6b6558;
}
.karte.eltern .el-abschnitt .el-text { font-size: .97rem; line-height: 1.6; color: #333846; }
.karte.eltern .el-abschnitt .el-text small { color: #6b6558; }
.karte.eltern .el-abschnitt:not(.el-fortschritt) .el-hinweis { border: 1px solid rgba(194, 164, 66, .28); background: #fbf6e9; }

/* Knöpfe: der erste Aufruf je Karte gold, die übrigen als ruhige Umrisse */
.karte.eltern .el-abschnitt .zeit-wahl:has(> [data-plus]) { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.karte.eltern .el-abschnitt .zeit-wahl > [data-plus] {
  min-height: 46px; padding: 9px 18px; border-radius: 999px; font-size: .95rem;
  background: #fff; border: 1.5px solid rgba(194, 164, 66, .55); color: var(--navy);
  transition: border-color .15s, background-color .15s, transform .15s;
}
.karte.eltern .el-abschnitt .zeit-wahl > [data-plus]:hover { background: #fbf6e9; border-color: #c2a442; }
.karte.eltern .el-abschnitt .zeit-wahl > [data-plus]:first-child {
  border: 0; color: var(--navy);
  background: linear-gradient(180deg, #ecd38f 0%, #c2a442 55%, #a98a2f 100%);
  box-shadow: 0 3px 0 #8a6a2a, 0 7px 16px rgba(27, 34, 53, .22);
}
.karte.eltern .el-abschnitt .zeit-wahl > [data-plus]:first-child:hover { transform: translateY(-1px); }
.karte.eltern .el-abschnitt .zeit-wahl > [data-plus="sprinthome"] {
  flex-basis: 100%; min-height: 0; padding: 4px 2px; border: 0; background: none; box-shadow: none;
  font-weight: 400; font-size: .88rem; color: #6b6558; text-align: left; text-decoration: underline; text-underline-offset: 3px;
}
.karte.eltern .el-abschnitt .zeit-wahl > [data-plus="sprinthome"]:hover { background: none; color: var(--navy); }
.karte.eltern .el-abschnitt > .aktion.gold { margin-top: 6px; border-radius: 999px; min-height: 46px; padding: 9px 22px; font-size: .95rem; }
.karte.eltern .el-abschnitt .zeit-wahl > [data-plus]:focus-visible,
.karte.eltern .el-abschnitt > .aktion:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* Lernverlauf: Faktenkacheln und Kurve im selben Ton wie die Karten */
.karte.eltern .el-verlauf-fakten { gap: 10px; margin: 0 0 16px; }
.karte.eltern .el-verlauf-fakten > span { border-radius: 16px; padding: 14px 8px 12px; background: linear-gradient(180deg, #fdf8ec, #f8efd9); }
.karte.eltern .el-fakt-tier { width: 52px; height: 52px; border: 3px solid #fff; box-shadow: 0 0 0 2px #c2a442, 0 4px 10px rgba(27, 34, 53, .15); margin-bottom: 6px; }

@media (min-width: 960px) {
  /* Zeitungsspalten oben bündig: kein Außenabstand oben, nur unten */
  body.training .karte.eltern .el-tafel:not([hidden]) { column-gap: 24px; }
  body.training .karte.eltern .el-tafel > * { margin-top: 0 !important; }
}
@media (max-width: 480px) {
  .karte.eltern .el-abschnitt:not(.el-fortschritt) { padding: 18px 16px 20px; border-radius: 18px; }
  .karte.eltern .el-abschnitt .zeit-wahl > [data-plus]:not([data-plus="sprinthome"]) { flex: 1 1 100%; }
}
/* ---------- Große Bildschirme (28.10.2026): iMac 2240×1260, 27-Zoll 2560×1440 ----------
   Vorher blieb ab 1700 px alles bei Zoom 1,3 und höchstens 1400 px Breite stehen – am iMac saß die
   Übungskarte klein in einer großen leeren Fläche. Jetzt eine Stufe größer, bei 4480 px noch eine. */
@media (min-width: 2100px) and (min-height: 1150px) {
  body.training .buehne, body.training .seiten-fuss { max-width: 1760px; }
  body.training .buehne:has(.start-seite) { max-width: min(1820px, 96vw); }
  body.training .buehne:has(.karte.eltern) { max-width: 1760px; }
  body.training .buehne > .karte { zoom: 1.55; }
  body.training .buehne > .karte.start-seite,
  body.training .buehne > .karte.bue-karte,
  body.training .buehne > .karte.eltern,
  body.training .buehne > .karte:has(> .test-kacheln) { zoom: 1.38; }
  body.kind .kind-kopf { zoom: 1.2; }
}
@media (min-width: 3400px) and (min-height: 1900px) {
  body.training .buehne, body.training .seiten-fuss { max-width: 2900px; }
  body.training .buehne:has(.start-seite), body.training .buehne:has(.karte.eltern) { max-width: 3000px; }
  body.training .buehne > .karte { zoom: 2.5; }
  body.training .buehne > .karte.start-seite,
  body.training .buehne > .karte.bue-karte,
  body.training .buehne > .karte.eltern,
  body.training .buehne > .karte:has(> .test-kacheln) { zoom: 2.25; }
  body.kind .kind-kopf { zoom: 2; }
}
/* Startseite mit der Code-Eingabe (body.lesecheck): ebenfalls eine Stufe größer */
@media (min-width: 2100px) and (min-height: 1150px) {
  body.lesecheck:not(.training) .buehne, body.lesecheck:not(.training) .seiten-fuss { zoom: 1.5; }
}
@media (min-width: 3400px) and (min-height: 1900px) {
  body.lesecheck:not(.training) .buehne, body.lesecheck:not(.training) .seiten-fuss { zoom: 2.4; }
}

/* Breite, aber flache Fenster (28.10.2026, z. B. 1800×600, 1400×500, Laptop mit wenig Höhe): Die Übungskarte
   wird etwas kleiner, damit die Antworten nicht unten aus dem Fenster ragen. Auswahl- und Übersichtsseiten scrollen wie bisher. */
@media (min-width: 900px) and (max-height: 700px) and (orientation: landscape) {
  body.training .buehne > .karte:not(.start-seite):not(.bue-karte):not(.eltern):not(:has(> .test-kacheln)) { zoom: .88; }
}
@media (min-width: 900px) and (max-height: 560px) and (orientation: landscape) {
  body.training .buehne > .karte:not(.start-seite):not(.bue-karte):not(.eltern):not(:has(> .test-kacheln)) { zoom: .78; }
  body.training .buehne { padding-top: 4px; }
}

/* 13.11.2026: Hintergründe in der ganzen Lernplattform (js/zauberhimmel.js, body.training.hg-an)
   – der alte Sternenstaub weicht der gewählten Szene; Neon-City malt neon.css selbst
   – beim Üben steht die Szene still, damit nichts vom Lesen ablenkt
   – Seitenfuß bekommt je Szene einen ruhigen Grund, damit er immer lesbar bleibt */
body.training.hg-an .sternfeld { display: none; }
html.neon body.training.hg-an .hg-szene { display: none; }
body.training.hg-still .hg-szene, body.training.hg-still .hg-szene * { animation-play-state: paused !important; }
body.training.hg-still .hg-rakete, body.training.hg-still .hg-schnuppe { display: none; }
body.training.hg-an .seiten-fuss { position: relative; z-index: 1; }
body.training.hg-an .seiten-fuss .rechtliches { display: inline-block; padding: 4px 14px; border-radius: 999px; background: rgba(11, 18, 35, .45); }
body.training.hg-an.hg-hell .seiten-fuss .rechtliches { background: rgba(255, 255, 255, .55); }
body:has(.bericht-blatt) .hg-szene { display: none !important; }
@media print { .hg-szene { display: none !important; } }
.hg-wahl-app { margin: 4px auto 10px; }
html.neon .hg-wahl-app .hg-wahl-titel { color: var(--ne-cyan, #8A7DFF); }
html.neon .hg-wahl-app .hg-knopf small { color: var(--ne-hell, #E8E3FA); }

/* 13.11.2026 (Theresa: „der gewählte Hintergrund überall … aber der Text im hellen Kästchen“): kein Schleier mehr.
   Der Hintergrund ist auf jeder Seite zu sehen und steht beim Üben still. Gelesen wird immer in den hellen Karten.
   Neon-City wird beim Üben nicht mehr abgedunkelt. */
html.neon.neon-ruhig body.training::before { background: linear-gradient(180deg, rgba(11,10,20,.12), rgba(11,10,20,.42)), url(../neon/stadt.svg?v2) center bottom/cover no-repeat, #0B0A14; }
