/* ============================================================
   Lese-Check: Testseiten, Abschluss und Auswertung (17.10.2026)
   Theresas Notizen vom 16.10.: Testinhalte ruhig und klar, Überschriften
   dürfen schön sein; kein Wort-Umbruch im Raster; Ein-Minuten-Uhr;
   „Hoppla“ und Abschluss mit Luna; Auswertung mit Ampel und Kreis.
   Alle Klassen beginnen mit „lc-“, damit nichts anderes berührt wird.
   ============================================================ */

/* Während einer Aufgabe nichts über den Test legen (z. B. „Als App installieren“) */
body.im-test #zg-install { display: none !important; }
body.im-test .seiten-fuss .apps-box { display: none !important; }   /* 17.10.2026: keine Werbung während der Aufgaben */

/* ---------- Anleitung ---------- */
.lc-dauer {
  display: inline-flex; align-items: center; gap: 8px; margin: 2px auto 14px;
  padding: 6px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--linie);
  color: var(--navy); font-weight: 700; font-size: .92rem;
}
.lc-dauer .ico { width: 18px; height: 18px; color: var(--gold-dark); }

/* ---------- Kopfleiste: Fortschritt (Weg) und Uhr getrennt ---------- */
body.lesecheck .lc-kopf { flex-wrap: wrap; row-gap: 12px; }
body.lesecheck .lc-kopf .zeitbalken { display: none; }
.lc-weg {
  flex-basis: 100%; height: 10px; border-radius: 999px; overflow: hidden;
  background: #ece6d6; box-shadow: inset 0 1px 2px rgba(27, 34, 53, .08);
}
.lc-weg-fuellung {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #d9bd5f, var(--gold) 60%, #e8cf73);
  transition: width .45s cubic-bezier(.3, .8, .3, 1);
}

/* Runde Uhr: der goldene Ring wird kleiner, je weniger Zeit bleibt */
.lc-uhr { position: relative; width: 46px; height: 46px; flex: 0 0 auto; }
.lc-uhr svg { width: 100%; height: 100%; transform: rotate(-90deg) scaleY(-1); }
.lc-uhr-grund { fill: #fff; stroke: #ece6d6; stroke-width: 7; }
.lc-uhr-ring { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset .25s linear, stroke .3s; }
.lc-uhr.knapp .lc-uhr-ring { stroke: #e2953c; }
.lc-uhr-zahl {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--navy); font-size: .95rem; font-variant-numeric: tabular-nums;
}
.lc-uhr:not(.mit-zahl) .lc-uhr-zahl { display: none; }
.lc-uhr-ico { position: absolute; inset: 13px; color: var(--gold-dark); display: flex; }
.lc-uhr-ico svg { width: 100%; height: 100%; }
.lc-uhr.mit-zahl { width: 92px; height: 92px; }
.lc-uhr.mit-zahl .lc-uhr-zahl { font-size: 1.7rem; }
.lc-uhr.mit-zahl .lc-uhr-grund, .lc-uhr.mit-zahl .lc-uhr-ring { stroke-width: 6; }
.lc-uhr.knapp.mit-zahl { animation: lcPuls 1s ease-in-out infinite; }
@keyframes lcPuls { 50% { transform: scale(1.06); } }

/* ---------- Antwortwörter: vier in einer Reihe, sichtbar zum Antippen ---------- */
body.lesecheck .wortgitter.lc-vier {
  grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px; gap: 14px;
}
body.lesecheck .lc-vier .knopf.wort {
  position: relative; min-height: 88px; padding: 18px 8px 22px;
  background: linear-gradient(180deg, #fff, #fbf7ec);
  border: 2px solid rgba(194, 164, 66, .55); border-radius: 20px;
  box-shadow: 0 5px 0 rgba(138, 106, 42, .25), 0 10px 22px rgba(27, 34, 53, .08);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); white-space: nowrap; overflow: hidden; text-overflow: clip;
}
/* kleiner Tipp-Punkt: zeigt „hier kann man antippen“ */
body.lesecheck .lc-vier .knopf.wort::after {
  content: ''; position: absolute; left: 50%; bottom: 9px; width: 18px; height: 4px; margin-left: -9px;
  border-radius: 999px; background: rgba(194, 164, 66, .45);
}
body.lesecheck .lc-vier .knopf.wort:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-3px); }
body.lesecheck .lc-vier .knopf.wort:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 rgba(138, 106, 42, .25); }
body.lesecheck .lc-vier .knopf.wort.lc-richtig { background: var(--gruen-bg); border-color: var(--gruen); color: var(--gruen); }
@media (max-width: 640px) {
  body.lesecheck .wortgitter.lc-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Blitz-Wörter: Bühne wie eine kleine Tafel */
body.lesecheck .lc-blitz {
  min-height: 132px; max-width: 560px; margin: 0 auto 22px;
  background: radial-gradient(circle at 50% 40%, #2c3756, var(--navy) 75%); border: 3px solid #d9bd5f; border-radius: 22px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .05), var(--shadow);
}
body.lesecheck .lc-blitz .blitz-wort { color: #fff; font-size: 2.6rem; letter-spacing: .02em; }
body.lesecheck .lc-blitz .blitz-leer { color: rgba(232, 201, 92, .55); }

/* ---------- Kuckuckswörter: ein ganz normaler Satz ---------- */
.lc-satzbuehne {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 34px 28px;
  max-width: 760px; margin: 0 auto;
}
.lc-satz { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.7; color: var(--tinte); text-align: center; text-wrap: balance; }
.lc-wort {
  font: inherit; color: inherit; background: none; border: 0; padding: 0 2px; margin: 0;
  border-radius: 8px; cursor: pointer; line-height: inherit; display: inline;
  transition: background .15s, box-shadow .15s;
}
@media (hover: hover) {
  .lc-wort:hover { background: #fbf3d6; box-shadow: 0 0 0 3px #fbf3d6; }
}
.lc-wort.getippt { background: var(--gold); color: var(--navy); box-shadow: 0 0 0 4px var(--gold); font-weight: 700; }
.lc-satz.gewaehlt .lc-wort:not(.getippt) { opacity: .45; }

/* ---------- Überschriften der Geschichten-Rätsel: schön, Inhalt bleibt ruhig ---------- */
.lc-titelband { text-align: center; margin: 2px auto 18px; }
.lc-titelband .titel-zier { font-size: 1.35rem; margin-bottom: 4px; }
.lc-ueberschrift {
  margin: 0; font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.2; color: var(--navy);
  letter-spacing: .01em;
}
.lc-ueberschrift.klein { font-size: 1.3rem; }
.lc-zierlinie {
  display: block; width: 160px; height: 14px; margin: 8px auto 0;
  background:
    radial-gradient(circle, var(--gold) 0 3.5px, transparent 4px) center / 14px 14px no-repeat,
    linear-gradient(90deg, transparent, var(--gold) 30%, transparent 46%, transparent 54%, var(--gold) 70%, transparent) center / 100% 2px no-repeat;
}
.lc-fragen-titel { font-size: 1.2rem; color: var(--navy); margin: 6px 0 12px; text-align: left; }
.lc-nr {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 32px; height: 32px; margin-right: 10px; border-radius: 50%;
  background: var(--navy); color: #f0dd98; font-weight: 800; font-size: 1rem; vertical-align: middle;
}
body.lesecheck .lc-fragen .frage { display: flex; align-items: center; font-weight: 700; color: var(--navy); }
body.lesecheck .lc-fragen .frage-block { background: #fff; border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(27, 34, 53, .05); }

/* Blatt für Geschichten und Lückentexte */
.lc-blatt {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow);
  padding: 22px 26px; margin: 0 0 24px; text-align: left;
}
.lc-blatt.lc-lesetext .lesetext { background: none; box-shadow: none; padding: 0; margin: 0; font-size: 1.2rem; line-height: 1.9; }

/* ---------- Lückentexte: ein Satz pro Zeile, sichtbare Lücke, Wörter darunter ---------- */
.lc-satzzeile { padding: 6px 0; }
.lc-satzzeile + .lc-satzzeile { border-top: 1px dashed #ece6d6; }
.lc-satzzeile.mit-luecke {
  background: #fbf8ef; border: 1.5px solid #efe6cc; border-radius: 16px;
  padding: 14px 16px 12px; margin: 10px 0;
}
.lc-satzzeile.mit-luecke + .lc-satzzeile, .lc-satzzeile + .lc-satzzeile.mit-luecke { border-top: 0; }
.lc-satzzeile.mit-luecke + .lc-satzzeile.mit-luecke { border-top: 1.5px solid #efe6cc; }
.lc-satztext { margin: 0; font-size: 1.25rem; line-height: 1.9; color: var(--tinte); }
.lc-geschichte .lc-satzzeile:not(.mit-luecke) .lc-satztext { font-size: 1.18rem; }
.lc-luecke {
  display: inline-block; min-width: 5.5em; margin: 0 1px; padding: 0 10px;
  border-bottom: 3px dashed var(--gold); border-radius: 8px 8px 2px 2px;
  background: rgba(194, 164, 66, .1); text-align: center; line-height: 1.5;
  vertical-align: baseline;
}
.lc-luecke.gefuellt { border-bottom-style: solid; background: #f6e9b8; font-weight: 700; color: var(--navy); }
.lc-wahl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.lc-wahlwort {
  font: inherit; font-size: 1.08rem; font-weight: 700; color: var(--tinte);
  padding: 9px 18px; min-height: 46px; border-radius: 14px; cursor: pointer;
  background: #fff; border: 2px solid rgba(194, 164, 66, .5); box-shadow: 0 3px 0 rgba(138, 106, 42, .2);
  transition: transform .12s, border-color .12s, background .12s;
}
.lc-wahlwort:hover { border-color: var(--gold); transform: translateY(-2px); }
.lc-wahlwort.gewaehlt { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ---------- Wort-Raster (Minuten-Lesen) ---------- */
.lc-laut-start { text-align: center; padding: 12px 0 6px; }
.lc-laut-start .lc-uhr { margin: 4px auto 14px; }
.lc-klein { color: var(--muted); font-size: .98rem; margin: 6px auto 16px; max-width: 52ch; }
.lc-laut-leiste {
  position: sticky; top: 8px; z-index: 4;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: rgba(255, 253, 246, .97); border: 2px solid #efe2b5; border-radius: 18px;
  padding: 10px 16px; margin: 0 0 16px; box-shadow: 0 8px 22px rgba(27, 34, 53, .08);
}
.lc-laut-uhrplatz .lc-uhr.mit-zahl { width: 68px; height: 68px; }
.lc-laut-uhrplatz .lc-uhr.mit-zahl .lc-uhr-zahl { font-size: 1.3rem; }
.lc-laut-hinweis { flex: 1 1 260px; margin: 0; font-size: .95rem; color: var(--navy); text-align: left; }
.lc-fehlerzahl {
  padding: 6px 14px; border-radius: 999px; background: var(--rot-bg); color: var(--rot); font-weight: 800; font-size: .92rem;
}
body.lesecheck .lc-raster {
  --zeichen: 10;
  font-size: 1.45rem;
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, calc(var(--zeichen) * .56em + 28px)), 1fr));
}
body.lesecheck .lc-raster .laut-wort {
  font-size: 1em; white-space: nowrap; overflow-wrap: normal; word-break: keep-all; hyphens: none;
  min-height: 58px; padding: 8px 12px; border-radius: 14px;
  background: #fff; border: 2px solid #e7dfc9; box-shadow: 0 3px 0 rgba(138, 106, 42, .14);
}
body.lesecheck .lc-raster .laut-wort.falsch { box-shadow: none; }
@media (max-width: 520px) { body.lesecheck .lc-raster { font-size: 1.15rem; } }

/* Nach der Minute: Raster wird grau, nur das angetippte Wort leuchtet */
body.lesecheck .lc-raster.stopp-modus .laut-wort {
  border-style: solid; background: #f1efe9; color: #8a8f99; border-color: #e3e0d8; box-shadow: none;
}
body.lesecheck .lc-raster.stopp-modus .laut-wort.gelesen { color: #4d5566; border-color: #d9d5ca; }
body.lesecheck .lc-raster.stopp-modus .laut-wort.falsch { color: #c0504d; background: #f6e4e3; }
body.lesecheck .lc-raster.stopp-modus .laut-wort.letztes {
  background: var(--gold); color: var(--navy); border-color: var(--gold); opacity: 1;
  box-shadow: 0 0 0 4px rgba(194, 164, 66, .35); transform: scale(1.04);
}
body.lesecheck .lc-raster.stopp-modus .laut-wort.danach { opacity: .55; }
.lc-gestoppt .lc-laut-leiste { border-color: var(--gold); background: #fff8df; }

.lc-laut-ende { text-align: center; margin: 22px 0 4px; }
.lc-stopp {
  position: sticky; bottom: 12px; z-index: 5; margin-top: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--navy); color: #fff; border-radius: 20px; padding: 16px 20px;
  box-shadow: 0 14px 36px rgba(27, 34, 53, .35); text-align: left;
  animation: lcHoch .45s cubic-bezier(.2, .9, .3, 1.2);
}
.lc-stopp-text b { display: block; font-size: 1.35rem; color: #f0dd98; }
.lc-stopp-text span { font-size: 1rem; opacity: .92; }
.lc-stopp .knopf.haupt { background: linear-gradient(180deg, #e8cf73, var(--gold)); color: var(--navy); }
.lc-stopp .knopf.haupt:disabled { opacity: .55; }
@keyframes lcHoch { from { transform: translateY(30px); opacity: 0; } }

/* Ruhiger Zweitknopf */
body.lesecheck .knopf.lc-zweit {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: #fff; color: var(--navy); border: 2px solid var(--linie); border-radius: 999px;
  padding: 11px 22px; font-weight: 700; box-shadow: 0 3px 0 rgba(138, 106, 42, .18);
}
body.lesecheck .knopf.lc-zweit .ico { width: 20px; height: 20px; color: var(--gold-dark); }
body.lesecheck .knopf.lc-zweit:hover { border-color: var(--gold); }

/* ---------- Luna im Kreis ---------- */
.lc-luna-kreis {
  width: 150px; height: 150px; margin: 4px auto 18px; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--gold); background: #fff;
  box-shadow: 0 0 0 8px rgba(194, 164, 66, .18), 0 14px 34px rgba(0, 0, 0, .3);
}
.lc-luna-kreis video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-luna-kreis.klein { width: 96px; height: 96px; margin-bottom: 12px; border-width: 3px; }
.lc-luna-kreis.gross { width: 190px; height: 190px; }

/* ---------- Hoppla ---------- */
.lc-hoppla .lc-trost { color: var(--muted); margin: 6px auto 4px; max-width: 46ch; }
.lc-hoppla .knopfreihe { margin-top: 20px; gap: 12px; flex-wrap: wrap; justify-content: center; }
.lc-hoppla .lc-luna-kreis { animation: lcWackeln 2.6s ease-in-out infinite; }
@keyframes lcWackeln { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-4deg); } 40% { transform: rotate(3deg); } 60% { transform: rotate(0); } }

/* ---------- Pause zwischen den Aufgaben ---------- */
.lc-pause h1 { font-size: 1.6rem; }

/* ---------- Abschluss: Hurra! ---------- */
.lc-konfetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 400; }
.lc-hurra { overflow: hidden; }
.lc-hurra h1 { font-size: 2.4rem; }
.lc-hurra-buehne { position: relative; width: 240px; margin: 0 auto; }
.lc-hurra-buehne .lc-luna-kreis { animation: lcHuepf 2.4s ease-in-out infinite; }
@keyframes lcHuepf { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.lc-funke {
  position: absolute; width: 22px; height: 22px; background: #f0d36e;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: lcFunkeln 1.8s ease-in-out infinite;
}
.lc-funke.f1 { top: 6px; left: 4px; }
.lc-funke.f2 { top: 40px; right: 0; width: 16px; height: 16px; animation-delay: .6s; }
.lc-funke.f3 { bottom: 26px; left: 10px; width: 14px; height: 14px; animation-delay: 1.1s; }
@keyframes lcFunkeln { 0%, 100% { transform: scale(.4) rotate(0); opacity: .3; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
.lc-sterne { display: flex; justify-content: center; gap: 14px; margin: 10px 0 18px; }
.lc-sterne svg { width: 46px; height: 46px; fill: #f0d36e; stroke: #b8952c; stroke-width: 1;
  filter: drop-shadow(0 4px 10px rgba(240, 211, 110, .5)); transform: scale(0); animation: lcStern .6s cubic-bezier(.2, 1.6, .4, 1) forwards; }
.lc-sterne svg:nth-child(1) { animation-delay: .5s; }
.lc-sterne svg:nth-child(2) { animation-delay: .8s; width: 58px; height: 58px; margin-top: -8px; }
.lc-sterne svg:nth-child(3) { animation-delay: 1.1s; }
@keyframes lcStern { to { transform: scale(1); } }

.lc-erwachsene {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  text-align: left; background: #fff; border: 2px solid #efe2b5; border-radius: 20px;
  padding: 16px 18px; margin: 4px 0 18px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(14px); animation: lcEin .6s 1.6s ease-out forwards;
}
.lc-erwachsene-text { flex: 1 1 260px; }
.lc-erwachsene-text b { display: block; font-size: 1.15rem; color: var(--navy); margin-bottom: 2px; }
.lc-erwachsene-text span { color: var(--muted); font-size: .95rem; }
@keyframes lcEin { to { opacity: 1; transform: none; } }

/* Magischer Weiter-Knopf */
.lc-magie {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin: 6px auto 4px; padding: 17px 32px; border-radius: 999px; text-decoration: none;
  font-size: 1.2rem; font-weight: 800; color: var(--navy);
  background: linear-gradient(135deg, #f7e29a, #e2c25a 45%, #f3d77d);
  box-shadow: 0 6px 0 #a98a2f, 0 14px 30px rgba(194, 164, 66, .45);
  transition: transform .15s, box-shadow .15s;
}
.lc-magie .ico { width: 24px; height: 24px; }
.lc-magie:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #a98a2f, 0 18px 36px rgba(194, 164, 66, .55); }
.lc-magie:active { transform: translateY(4px); box-shadow: 0 2px 0 #a98a2f, 0 8px 18px rgba(194, 164, 66, .4); }
.lc-magie-glanz {
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  animation: lcGlanz 2.8s ease-in-out infinite;
}
@keyframes lcGlanz { 0% { left: -60%; } 55%, 100% { left: 130%; } }

/* ---------- Auswertung ---------- */
.lc-auswertung { text-align: left; }
.lc-aw-kopf { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.lc-aw-kopf .lc-luna-kreis { margin: 0; flex: 0 0 auto; }
.lc-aw-kopf h1 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.lc-aw-kopf p { margin: 4px 0 0; color: var(--muted); }
.lc-aw-kopf .titel-zier { font-size: 1.25rem; }

.lc-ueberblick {
  display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: center;
  background: linear-gradient(135deg, #1f2943, var(--navy)); color: #fff;
  border-radius: 24px; padding: 24px 28px; margin: 8px 0 26px; box-shadow: var(--shadow-lg);
}
.lc-ueberblick-text h2 { color: #f0dd98; font-size: 1.35rem; margin: 0 0 8px; }
.lc-ueberblick-text p { margin: 0 0 14px; line-height: 1.55; color: #eef0f6; }
.lc-ueberblick-text b { color: #f7e29a; }
.lc-legende { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lc-legende li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.lc-legende i { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.lc-legende span { margin-left: auto; opacity: .75; font-size: .85rem; }

.lc-kreis { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.lc-kreis svg { width: 100%; height: 100%; overflow: visible; }
.lc-kreis svg > circle:first-child { stroke: rgba(255, 255, 255, .1); }
.lc-kreis-stueck {
  stroke-dasharray: 0 999; opacity: 0;
  animation: lcBogen 0.75s cubic-bezier(.3, .8, .3, 1) forwards;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .12));
}
@keyframes lcBogen {
  from { opacity: 1; stroke-dasharray: 0 999; }
  to { opacity: 1; stroke-dasharray: var(--laenge) 999; }
}
.lc-kreis-mitte {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1.1;
}
.lc-kreis-mitte b { font-size: 3.2rem; color: #f7e29a; }
.lc-kreis-mitte span { font-weight: 700; color: #fff; }
.lc-kreis-mitte small { margin-top: 4px; color: #c9cfdc; font-size: .78rem; }

.lc-abschnitt { font-size: 1.3rem; color: var(--navy); margin: 26px 0 14px; }
.lc-bereiche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lc-bereich {
  background: #fff; border-radius: 22px; padding: 20px 20px 18px; box-shadow: var(--shadow);
  border-top: 6px solid var(--farbe, #b9b2a2);
  opacity: 0; transform: translateY(16px); animation: lcEin .55s var(--verz, .3s) ease-out forwards;
  display: flex; flex-direction: column;
}
.lc-bereich.gruen { --farbe: #3f9a5f; }
.lc-bereich.gelb { --farbe: #e2b23c; }
.lc-bereich.rot { --farbe: #d0574f; }
.lc-bereich-kopf { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.lc-bereich-kopf small { color: var(--gold-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.lc-bereich-kopf h3 { margin: 2px 0 4px; font-size: 1.2rem; color: var(--navy); }
.lc-stand { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 800; font-size: .82rem; }
.lc-stand.gruen { background: var(--gruen-bg); color: var(--gruen); }
.lc-stand.gelb { background: var(--gelb-bg); color: var(--gelb); }
.lc-stand.rot { background: var(--rot-bg); color: var(--rot); }
.lc-stand.offen { background: #ece9e1; color: #6b6656; }
.lc-was { margin: 0 0 8px; color: var(--muted); font-size: .92rem; }
.lc-eltern { margin: 0 0 8px; font-weight: 700; color: var(--navy); line-height: 1.45; }
.lc-warum { margin: 0 0 10px; line-height: 1.55; font-size: .97rem; }
.lc-leise { color: var(--muted); font-size: .88rem; }
.lc-balken { margin: 4px 0 12px; }
.lc-balken svg { max-width: 100%; height: auto; }

/* Animierte Ampel */
.lc-ampel {
  flex: 0 0 auto; display: flex; flex-direction: column; gap: 5px; padding: 7px 6px;
  background: linear-gradient(180deg, #2a3450, var(--navy)); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 4px 10px rgba(27, 34, 53, .25);
}
.lc-ampel span { width: 18px; height: 18px; border-radius: 50%; background: #3b4560; }
.lc-ampel span.an { animation: lcLicht .5s var(--verz, .6s) ease-out forwards; }
.lc-ampel span.rot.an { --licht: #ff6b5f; }
.lc-ampel span.gelb.an { --licht: #ffcf4a; }
.lc-ampel span.gruen.an { --licht: #5fd47f; }
@keyframes lcLicht {
  to { background: var(--licht); box-shadow: 0 0 12px var(--licht), 0 0 22px var(--licht); }
}

/* Empfehlung mit Lese-Tier */
.lc-empfehlung {
  margin-top: auto; display: flex; gap: 14px; align-items: center;
  background: #fbf8ef; border: 1.5px solid #efe6cc; border-radius: 18px; padding: 12px 14px;
}
.lc-tier { width: 78px; height: 78px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold), 0 6px 14px rgba(27, 34, 53, .15); background: #fff; }
.lc-tier video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-empfehlung-text small { color: var(--gold-dark); font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.lc-empfehlung-text p { margin: 2px 0 8px; font-size: .95rem; color: var(--navy); }
.lc-uebungen { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-uebung {
  display: inline-block; padding: 6px 12px; border-radius: 999px; text-decoration: none;
  background: #fff; border: 1.5px solid rgba(194, 164, 66, .55); color: var(--navy); font-weight: 700; font-size: .86rem;
  transition: background .15s, transform .15s;
}
.lc-uebung::after { content: ' →'; color: var(--gold-dark); }
.lc-uebung:hover { background: #f6e9b8; transform: translateY(-1px); }

.lc-frei {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 24px 0 0;
  background: #fff; border: 2px dashed #e3d29a; border-radius: 20px; padding: 16px 18px;
}
.lc-frei > div:first-child { flex: 1 1 280px; }
.lc-frei b { display: block; color: var(--navy); }
.lc-frei span { color: var(--muted); font-size: .93rem; }
.lc-frei-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }

.lc-hinweis { margin: 24px 0 18px; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.lc-auswertung > .lc-magie { display: flex; width: fit-content; }

@media (max-width: 760px) {
  .lc-ueberblick { grid-template-columns: 1fr; padding: 22px 18px; }
  .lc-bereiche { grid-template-columns: 1fr; }
  .lc-aw-kopf { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .lc-bereich, .lc-erwachsene { animation: none; opacity: 1; transform: none; }
  .lc-kreis-stueck { animation: none; opacity: 1; stroke-dasharray: var(--laenge) 999; }
  .lc-ampel span.an { animation: none; background: var(--licht); }
  .lc-sterne svg { animation: none; transform: none; }
  .lc-magie-glanz, .lc-funke, .lc-hurra-buehne .lc-luna-kreis, .lc-hoppla .lc-luna-kreis { animation: none; }
}

/* ---------- Begrüßung: Luna und die drei Lese-Tiere (17.10.2026) ---------- */
.lc-begruessung { position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(120% 70% at 50% 0%, #fffaf0 0%, #fbf3df 55%, #f4e8c8 100%) !important; }
.lc-begruessung > * { position: relative; z-index: 1; }
.lc-bg-funkeln { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; }
.lc-bg-funkeln i { position: absolute; width: 16px; height: 16px; background: #f0d36e;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: lcFunkeln 2.4s ease-in-out infinite; opacity: .5; }
.lc-bg-funkeln i:nth-child(1) { top: 8%; left: 7%; }
.lc-bg-funkeln i:nth-child(2) { top: 16%; right: 9%; width: 22px; height: 22px; animation-delay: .5s; }
.lc-bg-funkeln i:nth-child(3) { top: 46%; left: 4%; width: 12px; height: 12px; animation-delay: 1s; }
.lc-bg-funkeln i:nth-child(4) { top: 58%; right: 5%; animation-delay: 1.5s; }
.lc-bg-funkeln i:nth-child(5) { bottom: 10%; left: 12%; width: 20px; height: 20px; animation-delay: .8s; }
.lc-bg-funkeln i:nth-child(6) { bottom: 14%; right: 14%; width: 12px; height: 12px; animation-delay: 1.9s; }
.lc-bg-funkeln i:nth-child(7) { top: 30%; left: 22%; width: 10px; height: 10px; animation-delay: 2.2s; }
.lc-bg-funkeln i:nth-child(8) { top: 26%; right: 24%; width: 10px; height: 10px; animation-delay: 1.2s; }

.lc-bg-szene { animation: lcSzeneEin .6s ease-out; }
@keyframes lcSzeneEin { from { opacity: 0; transform: translateY(18px); } }
.lc-bg-szene h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 2px 0 14px; }
.lc-bg-luna { animation: lcBgPlopp .8s cubic-bezier(.2, 1.5, .4, 1) both, lcHuepf 2.6s 1s ease-in-out infinite; }
@keyframes lcBgPlopp { from { transform: scale(.3); opacity: 0; } }

/* Sprechblase */
.lc-bg-blase { position: relative; max-width: 34em; margin: 4px auto 22px; padding: 18px 24px;
  background: #fff; border: 2px solid #efe2b5; border-radius: 24px; font-size: 1.15rem; line-height: 1.6;
  color: var(--navy); box-shadow: 0 10px 26px rgba(138, 106, 42, .16);
  opacity: 0; animation: lcEin .6s .7s ease-out forwards; transform: translateY(14px); }
.lc-bg-blase::before { content: ""; position: absolute; top: -13px; left: 50%; width: 22px; height: 22px; margin-left: -11px;
  background: #fff; border-left: 2px solid #efe2b5; border-top: 2px solid #efe2b5; transform: rotate(45deg); }

/* Die drei Tiere */
.lc-bg-tiere { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 10px 0 24px; }
.lc-bg-tier { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0; transform: translateY(40px) scale(.85);
  animation: lcBgTier .8s cubic-bezier(.2, 1.4, .4, 1) forwards; animation-delay: calc(.3s + var(--i) * 1.1s); }
@keyframes lcBgTier { to { opacity: 1; transform: none; } }
.lc-bg-tier-kreis { width: 170px; height: 170px; border-radius: 50%; overflow: hidden; display: block;
  border: 5px solid #fff; box-shadow: 0 0 0 5px var(--welt, #c2a442), 0 16px 34px rgba(0, 0, 0, .25); }
/* 26.10.: nur wer gerade spricht, hüpft (Klasse .redet setzt runner.js) */
.lc-bg-tier.redet .lc-bg-tier-kreis { animation: lcHuepf 2.8s ease-in-out infinite; }
.lc-bg-tier-kreis video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-bg-tier.welt-amo { --welt: #2f9bb0; --welt-hell: #def2f4; }
.lc-bg-tier.welt-gilda { --welt: #e0963c; --welt-hell: #fff1dc; }
.lc-bg-tier.welt-fabio { --welt: #d65a3c; --welt-hell: #fde6de; }
.lc-bg-tier figcaption { position: relative; background: #fff; border-radius: 20px; padding: 14px 16px;
  border: 2px solid var(--welt); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); line-height: 1.5; }
.lc-bg-tier figcaption::before { content: ""; position: absolute; top: -11px; left: 50%; width: 18px; height: 18px; margin-left: -9px;
  background: #fff; border-left: 2px solid var(--welt); border-top: 2px solid var(--welt); transform: rotate(45deg); }
.lc-bg-tier figcaption > b { display: block; color: var(--welt); font-size: 1.12rem; margin-bottom: 4px; filter: brightness(.85); }
.lc-bg-tier figcaption span { color: var(--navy); }
.lc-bg-tier figcaption span b { color: var(--welt); filter: brightness(.8); }
.lc-bg-spaet { opacity: 0; animation: lcEin .5s 3.6s ease-out forwards; }

/* Szene 3: Fragen an dich */
.lc-bg-reihe { display: flex; justify-content: center; gap: 0; margin: 4px 0 14px; }
.lc-bg-mini { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin: 0 -8px;
  border: 4px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  animation: lcBgPlopp .6s cubic-bezier(.2, 1.5, .4, 1) both, lcHuepf 2.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * .18s), calc(.8s + var(--i) * .3s); }
.lc-bg-mini.welt-amo { box-shadow: 0 0 0 3px #2f9bb0, 0 8px 20px rgba(0, 0, 0, .2); }
.lc-bg-mini.welt-gilda { box-shadow: 0 0 0 3px #e0963c, 0 8px 20px rgba(0, 0, 0, .2); width: 108px; height: 108px; z-index: 1; }
.lc-bg-mini.welt-fabio { box-shadow: 0 0 0 3px #d65a3c, 0 8px 20px rgba(0, 0, 0, .2); }
.lc-bg-mini video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-bg-text { max-width: 36em; margin: 0 auto 20px; line-height: 1.65; }
.lc-bg-tipps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 26px; }
.lc-bg-tipp { background: #fff; border: 2px solid #efe2b5; border-radius: 22px; padding: 16px 12px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: 0 8px 22px rgba(138, 106, 42, .12);
  opacity: 0; transform: translateY(20px); animation: lcEin .6s forwards; animation-delay: calc(.5s + var(--i) * .35s); }
.lc-bg-tipp img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 6px; }
.lc-bg-tipp:nth-child(1) img { animation: lcWackeln 3s 2s ease-in-out infinite; }
.lc-bg-tipp:nth-child(2) img { animation: lcBgDreh 14s linear infinite; }
@keyframes lcBgDreh { to { transform: rotate(360deg); } }
.lc-bg-tipp b { color: var(--navy); font-size: 1.08rem; white-space: nowrap; }
.lc-bg-tipp span { color: var(--muted); font-size: .95rem; line-height: 1.4; }

@media (max-width: 760px) {
  .lc-bg-tiere { grid-template-columns: 1fr; gap: 18px; }
  .lc-bg-tier { flex-direction: row; text-align: left; animation-delay: calc(.3s + var(--i) * .7s); }
  .lc-bg-tier-kreis { width: 104px; height: 104px; flex: 0 0 auto; }
  .lc-bg-tier figcaption::before { top: 50%; left: -11px; margin: -9px 0 0; transform: rotate(-45deg); }
  .lc-bg-spaet { animation-delay: 2.4s; }
  .lc-bg-tipps { grid-template-columns: 1fr; }
  .lc-bg-tipp { flex-direction: row; text-align: left; gap: 12px; flex-wrap: wrap; }
  .lc-bg-tipp img { width: 56px; height: 56px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-bg-szene, .lc-bg-luna, .lc-bg-blase, .lc-bg-tier, .lc-bg-tier-kreis, .lc-bg-spaet, .lc-bg-mini, .lc-bg-tipp, .lc-bg-tipp img, .lc-bg-funkeln i
  { animation: none !important; opacity: 1 !important; transform: none !important; }
}
@media (min-width: 900px) { body.lesecheck .buehne:has(.lc-begruessung) { max-width: 1080px; } }

/* ===== Anhören-Knopf (Stimmen im Lese-Check, 17.10.2026) ===== */
.lc-hoeren { display: inline-flex; align-items: center; gap: 8px; margin: 2px auto 14px; padding: 8px 18px 8px 12px;
  border: 1.5px solid rgba(201, 154, 58, .55); border-radius: 999px; background: linear-gradient(180deg, #fffaf0, #f6ead0);
  color: #6b5216; font: 700 .95rem/1 inherit; font-family: inherit; cursor: pointer;
  box-shadow: 0 4px 12px rgba(120, 90, 20, .15); transition: transform .15s, box-shadow .15s; }
.lc-hoeren:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(120, 90, 20, .22); }
.lc-hoeren svg { width: 22px; height: 22px; fill: #c99a3a; stroke: #c99a3a; stroke-width: 2; stroke-linecap: round; }
.lc-hoeren.spielt svg path:last-child { animation: lcWelle 1s ease-in-out infinite; }
@keyframes lcWelle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.lc-bg-szene .lc-hoeren, .lc-anleitung .lc-hoeren, .karte > .lc-hoeren { display: flex; width: max-content; }
@media (prefers-reduced-motion: reduce) { .lc-hoeren.spielt svg path:last-child { animation: none; } }
.lc-abschnitt-klein { font-size: .8rem; font-weight: 600; color: var(--muted, #6b7280); letter-spacing: 0; }

/* ===== Code-Startseite mit großer Luna und den Lese-Tieren (18.10.2026) ===== */
.karte.sc-start { display: grid; grid-template-columns: 1fr; gap: 6px; align-items: center; text-align: center;
  max-width: 920px; padding-top: 28px; position: relative; overflow: hidden; }
.sc-buehne { position: relative; width: min(280px, 62vw); aspect-ratio: 1; margin: 0 auto 6px; }
.sc-luna { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; background: #fbf4e2;
  box-shadow: 0 0 0 4px #fff, 0 0 0 8px rgba(201, 154, 58, .8), 0 18px 40px rgba(27, 34, 53, .25);
  animation: scSchweben 6s ease-in-out infinite; }
.sc-luna video, .sc-tier video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-tier { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #f3e6c6;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ring, #c99a3a), 0 10px 22px rgba(27, 34, 53, .22);
  animation: scHuepfen 4.8s ease-in-out infinite; }
.sc-amo { left: -2%; bottom: 2%; --ring: #3aa3a0; animation-delay: -.6s; }
.sc-gilda { right: -2%; bottom: 2%; --ring: #d9962b; animation-delay: -1.8s; }
.sc-fabio { right: 0; top: 0; width: 26%; --ring: #c8553d; animation-delay: -3s; }
.sc-funken i { position: absolute; width: 14px; height: 14px; background: radial-gradient(circle, #fff8d8 0 25%, #f2c94c 55%, transparent 70%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); opacity: 0;
  animation: scFunkeln 3.4s ease-in-out infinite; }
.sc-funken i:nth-child(1) { left: 8%; top: 18%; animation-delay: 0s; }
.sc-funken i:nth-child(2) { left: 48%; top: -2%; animation-delay: .7s; }
.sc-funken i:nth-child(3) { left: 92%; top: 46%; animation-delay: 1.3s; }
.sc-funken i:nth-child(4) { left: 4%; top: 62%; animation-delay: 2s; }
.sc-funken i:nth-child(5) { left: 70%; top: 92%; animation-delay: 2.6s; }
.sc-funken i:nth-child(6) { left: 30%; top: 96%; animation-delay: 1s; }
@keyframes scSchweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes scHuepfen { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-3deg); } }
@keyframes scFunkeln { 0%, 100% { opacity: 0; transform: scale(.3); } 45% { opacity: 1; transform: scale(1) rotate(40deg); } }
.sc-form { display: flex; flex-direction: column; align-items: center; }
.sc-unter { color: var(--muted, #6b7280); margin: 0 0 14px; font-size: 1rem; }
.sc-form .code-feld { max-width: 340px; width: 100%; }
/* Tablet und Laptop: Bild links, Formular rechts */
@media (min-width: 760px) {
  .karte.sc-start { grid-template-columns: 1fr 1fr; gap: 28px; padding: 38px 40px; text-align: left; }
  .sc-buehne { width: min(360px, 100%); margin: 0 auto; }
  .sc-form { align-items: flex-start; }
  .sc-form .titel-zier, .sc-form h1 { text-align: left; }
  .sc-form .fussnote { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .sc-luna, .sc-tier, .sc-funken i { animation: none; } }

/* 18.10.2026: Empfehlung am Handy – Tier oben, Übungen in voller Breite, Pfeil bleibt beim Wort */
.lc-uebung { max-width: 100%; }
.lc-uebung::after { content: '\a0→'; }   /* geschütztes Leerzeichen: Pfeil bleibt beim letzten Wort */
@media (max-width: 520px) {
  .lc-empfehlung { flex-direction: column; align-items: flex-start; text-align: left; }
  .lc-empfehlung .lc-tier { width: 64px; height: 64px; }
  .lc-empfehlung-text { width: 100%; }
}
