/* kids.axaix.app: Designsystem. Hell, farbig, große Klickflächen, ruhige Typografie. */
:root {
  --sonne: #FFD166; --himmel: #4CC9F0; --minze: #06D6A0; --beere: #F72585; --lila: #9D4EDD; --orange: #FB8500; --rosa: #FF8FAB; --gras: #80ED99;
  --tinte: #2B2D42; --tinte-2: #4a4d66; --tinte-3: #7c7f96; --linie: #e9e6f2; --papier: #fffdf8; --papier-2: #fff6e5; --weiss: #fff;
  --akzent: var(--orange); --akzent-dunkel: #d96f00; --akzent-hell: #fff1dd;
  --ok: #0aa36e; --ok-hell: #dff8ee; --warn: #d9480f; --warn-hell: #ffe3d6; --info-hell: #e3f6fd;
  --radius: 18px; --radius-klein: 12px; --radius-gross: 28px;
  --schatten: 0 6px 20px rgba(43, 45, 66, .08); --schatten-hoch: 0 12px 34px rgba(43, 45, 66, .14);
  --kopf: 'Fredoka', 'Nunito', system-ui, sans-serif; --text: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --breite: 1100px; --rand: 16px; --nav-unten: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.55; color: var(--tinte); background: var(--papier); min-height: 100dvh; display: flex; flex-direction: column; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent-dunkel); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--akzent); }
h1, h2, h3, h4 { font-family: var(--kopf); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; color: var(--tinte); letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); } h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); } h3 { font-size: 1.2rem; } h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3em; } li { margin-bottom: .3em; }
small, .klein { font-size: .9rem; color: var(--tinte-2); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tinte); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--himmel); outline-offset: 3px; border-radius: 6px; }

/* Kopf und Navigation */
.kopf { position: sticky; top: 0; z-index: 40; background: rgba(255, 253, 248, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 10px var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--kopf); font-weight: 700; font-size: 1.45rem; color: var(--tinte); text-decoration: none; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; gap: 4px; }
.nav-a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: var(--tinte-2); text-decoration: none; font-weight: 700; font-size: .98rem; min-height: 44px; }
.nav-a:hover { background: var(--akzent-hell); color: var(--tinte); }
.nav-a.aktiv { background: var(--tinte); color: #fff; }
.nav-a .avatar { --avs: 28px; }
.nav-oben { display: none; }
.nav-unten { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--linie); display: grid; grid-template-columns: repeat(5, 1fr); height: var(--nav-unten); padding-bottom: env(safe-area-inset-bottom); }
.nav-unten .nav-a { flex-direction: column; justify-content: center; gap: 1px; padding: 4px 2px; border-radius: 0; font-size: .7rem; min-height: 0; background: none; color: var(--tinte-3); overflow: hidden; }
.nav-unten .nav-a span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nav-unten .nav-a.aktiv { color: var(--akzent-dunkel); }
.nav-unten .nav-emoji { font-size: 1.35rem; line-height: 1.1; }
.nav-oben .nav-emoji { font-size: 1.1rem; }
@media (min-width: 820px) { .nav-oben { display: flex; } .nav-unten { display: none; } }

/* Hauptbereich */
.haupt { flex: 1; width: 100%; max-width: var(--breite); margin: 0 auto; padding: 22px var(--rand) 40px; padding-bottom: calc(40px + var(--nav-unten)); }
@media (min-width: 820px) { .haupt { padding-bottom: 60px; padding-top: 32px; } }
.haupt-breit { max-width: 1320px; }
.abschnitt { margin: 0 0 38px; }
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.abschnitt-kopf h2 { margin: 0; }
.abschnitt-kopf a { font-weight: 700; white-space: nowrap; }

/* Fuß */
.fuss { background: var(--tinte); color: #d9dbe8; margin-top: auto; padding: 32px var(--rand) 28px; padding-bottom: calc(28px + var(--nav-unten)); }
@media (min-width: 820px) { .fuss { padding-bottom: 28px; } }
.fuss-innen { max-width: var(--breite); margin: 0 auto; }
.fuss-marke { font-family: var(--kopf); font-size: 1.15rem; color: #fff; margin-bottom: 12px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 14px; }
.fuss a { color: #fff; font-weight: 700; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss-klein { font-size: .85rem; color: #aab0c8; margin: 0; }

/* Knöpfe */
.knopf, button.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 0; background: var(--akzent); color: #fff; font-family: var(--kopf); font-size: 1.08rem; font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--akzent-dunkel); transition: transform .08s, box-shadow .08s, background .15s; -webkit-tap-highlight-color: transparent; }
.knopf:hover { background: #ff9a2e; color: #fff; }
.knopf:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--akzent-dunkel); }
.knopf-2 { background: #fff; color: var(--tinte); border: 2px solid var(--linie); box-shadow: 0 4px 0 var(--linie); }
.knopf-2:hover { background: var(--papier-2); color: var(--tinte); }
.knopf-2:active { box-shadow: 0 1px 0 var(--linie); }
.knopf-minze { background: var(--minze); box-shadow: 0 4px 0 #04a97e; } .knopf-minze:hover { background: #22e3b0; }
.knopf-himmel { background: var(--himmel); box-shadow: 0 4px 0 #1fa9d6; color: var(--tinte); } .knopf-himmel:hover { background: #6ed6f5; color: var(--tinte); }
.knopf-beere { background: var(--beere); box-shadow: 0 4px 0 #c40d63; } .knopf-beere:hover { background: #ff4aa0; }
.knopf-klein { min-height: 38px; padding: 6px 14px; font-size: .95rem; box-shadow: 0 3px 0 var(--akzent-dunkel); }
.knopf-2.knopf-klein { box-shadow: 0 3px 0 var(--linie); }
.knopf-gross { min-height: 58px; padding: 14px 32px; font-size: 1.25rem; }
.knopf-breit { width: 100%; }
.knopf[disabled], .knopf[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.knopf-leise { background: none; border: 0; box-shadow: none; color: var(--tinte-2); font-family: var(--text); font-weight: 700; padding: 6px 10px; min-height: 40px; cursor: pointer; border-radius: 999px; }
.knopf-leise:hover { background: var(--akzent-hell); color: var(--tinte); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Karten */
.karte { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 20px; border: 1px solid var(--linie); }
.karte-farbig { background: var(--papier-2); border-color: #ffe4b8; }
.karte + .karte { margin-top: 14px; }
.raster { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.raster-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .raster-2 { grid-template-columns: 1fr 1fr; } }
.raster-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .raster-3 { grid-template-columns: repeat(3, 1fr); } }

/* Buchkarten und Cover */
.cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius-klein); background: var(--papier-2); box-shadow: 0 4px 14px rgba(43, 45, 66, .16); }
.cover-gross { width: min(220px, 55vw); }
.buchkarte { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--tinte); padding: 10px; border-radius: var(--radius); background: #fff; border: 1px solid var(--linie); transition: transform .12s, box-shadow .12s; }
.buchkarte:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); color: var(--tinte); }
.buchkarte-titel { font-family: var(--kopf); font-weight: 600; font-size: 1rem; line-height: 1.2; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.buchkarte-autor { font-size: .85rem; color: var(--tinte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.regal-reihe { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 -4px; }
.regal-reihe .buchkarte { flex: 0 0 150px; scroll-snap-align: start; }
.regal-reihe::-webkit-scrollbar { height: 8px; } .regal-reihe::-webkit-scrollbar-thumb { background: var(--linie); border-radius: 8px; }

/* Sterne */
.sterne { display: inline-flex; gap: 1px; font-size: 1.15rem; line-height: 1; color: #e2dfe9; vertical-align: middle; }
.sterne .an { color: #ffb703; text-shadow: 0 1px 0 #d98f00; }
.sterne-klein { font-size: .95rem; }
.sterne-anzahl { font-size: .85rem; color: var(--tinte-3); }
.sternwahl { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; border: 0; padding: 0; margin: 0; }
.sternwahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sternwahl label { font-size: 2.4rem; line-height: 1; color: #e2dfe9; cursor: pointer; padding: 2px; transition: transform .1s, color .1s; user-select: none; }
.sternwahl label:hover, .sternwahl label:hover ~ label, .sternwahl input:checked ~ label { color: #ffb703; }
.sternwahl label:hover { transform: scale(1.15); }
.sternwahl input:focus-visible + label { outline: 3px solid var(--himmel); border-radius: 8px; }

/* Pillen */
.pille { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; background: var(--papier-2); color: var(--tinte-2); font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pille-thema:hover { background: var(--akzent-hell); color: var(--tinte); }
.pille-will { background: var(--info-hell); color: #106f8f; } .pille-lese { background: #fff1dd; color: #a05500; } .pille-gelesen { background: var(--ok-hell); color: #087a52; }
.pille-gross { font-size: 1rem; padding: 8px 16px; min-height: 42px; }
.pillen { display: flex; flex-wrap: wrap; gap: 8px; }
.pille-wahl { position: relative; }
.pille-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pille-wahl span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; min-height: 44px; border-radius: 999px; background: #fff; border: 2px solid var(--linie); font-weight: 700; cursor: pointer; }
.pille-wahl input:checked + span { background: var(--tinte); color: #fff; border-color: var(--tinte); }
.pille-wahl input:focus-visible + span { outline: 3px solid var(--himmel); }

/* Avatar */
.avatar { display: inline-flex; align-items: center; justify-content: center; width: var(--avs, 40px); height: var(--avs, 40px); border-radius: 50%; background: var(--av, var(--sonne)); font-size: calc(var(--avs, 40px) * .55); line-height: 1; flex: 0 0 auto; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08); }
.avatar-gross { --avs: 96px; }
.avatar-wahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; }
.avatar-wahl label { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 50%; font-size: 2rem; background: var(--papier-2); cursor: pointer; border: 3px solid transparent; }
.avatar-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.avatar-wahl input:checked + span, .avatar-wahl label:has(input:checked) { border-color: var(--tinte); background: var(--sonne); }
.avatar-wahl input:focus-visible + span, .avatar-wahl label:has(input:focus-visible) { outline: 3px solid var(--himmel); }
.farb-wahl { display: flex; flex-wrap: wrap; gap: 10px; }
.farb-wahl label { position: relative; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; }
.farb-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.farb-wahl label:has(input:checked) { border-color: var(--tinte); box-shadow: 0 0 0 3px #fff inset; }

/* Meldungen und leere Zustände */
.flash { padding: 14px 18px; border-radius: var(--radius-klein); margin-bottom: 18px; font-weight: 700; background: var(--ok-hell); color: #0a6b4a; border-left: 6px solid var(--ok); }
.flash-fehler { background: var(--warn-hell); color: #8f2f06; border-left-color: var(--warn); }
.flash-info { background: var(--info-hell); color: #0b5d7a; border-left-color: var(--himmel); }
.leer { text-align: center; padding: 36px 18px; background: var(--papier-2); border-radius: var(--radius); }
.leer-emoji { font-size: 3rem; margin-bottom: 8px; }
.leer h3 { margin-bottom: 6px; } .leer p { color: var(--tinte-2); max-width: 420px; margin: 0 auto 16px; }
.hinweis { background: var(--info-hell); border-radius: var(--radius-klein); padding: 12px 16px; font-size: .95rem; }
.fehler { color: #a3300a; font-weight: 700; }

/* Formulare */
.formular { display: grid; gap: 18px; max-width: 560px; }
.feld { display: grid; gap: 6px; }
.feld label, .feld .label { font-family: var(--kopf); font-weight: 600; font-size: 1.05rem; }
.feld .erklaerung { font-size: .9rem; color: var(--tinte-2); }
input[type="text"], input[type="search"], input[type="password"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 14px; min-height: 50px; border-radius: 14px; border: 2px solid var(--linie); background: #fff; color: var(--tinte); }
input:focus, select:focus, textarea:focus { border-color: var(--himmel); outline: none; box-shadow: 0 0 0 4px rgba(76, 201, 240, .25); }
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.zaehler { font-size: .85rem; color: var(--tinte-3); text-align: right; }
.suchfeld { display: flex; gap: 8px; }
.suchfeld input { flex: 1; border-radius: 999px; padding-left: 20px; }
.suchfeld .knopf { flex: 0 0 auto; }
.wahl-reihe { display: flex; flex-wrap: wrap; gap: 8px; }
.kasten { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-klein); background: var(--papier-2); }
.kasten input[type="checkbox"] { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--akzent); flex: 0 0 auto; }

/* Startseite / Hero */
.hero { display: grid; gap: 22px; align-items: center; padding: 10px 0 26px; }
@media (min-width: 820px) { .hero { grid-template-columns: 1.05fr 1fr; gap: 40px; padding: 20px 0 40px; } }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 700; }
.hero h1 .bunt { background: linear-gradient(90deg, var(--orange), var(--beere)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.15rem; color: var(--tinte-2); max-width: 520px; }
.hero img { border-radius: var(--radius-gross); }
.hero .knoepfe { margin-top: 8px; }
.vorteile { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .vorteile { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .vorteile { grid-template-columns: repeat(4, 1fr); } }
.vorteil { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--linie); }
.vorteil-emoji { font-size: 2.2rem; margin-bottom: 8px; }
.vorteil h3 { margin-bottom: 4px; }
.vorteil p { font-size: .95rem; color: var(--tinte-2); }
.themen-raster { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.thema-kachel { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--k, var(--papier-2)); color: var(--tinte); text-decoration: none; font-family: var(--kopf); font-weight: 600; min-height: 96px; transition: transform .12s; }
.thema-kachel:hover { transform: translateY(-3px); color: var(--tinte); }
.thema-kachel .emoji { font-size: 1.9rem; }

/* Buchseite */
.buch-kopf { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .buch-kopf { grid-template-columns: 220px 1fr; gap: 30px; } }
.buch-meta { color: var(--tinte-2); font-size: .95rem; }
.buch-meta span + span::before { content: " · "; }
.status-wahl { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.status-wahl .knopf { min-height: 46px; }
.status-wahl .knopf.aktiv { background: var(--tinte); box-shadow: 0 4px 0 #14152a; }

/* Empfehlungen und Kommentare */
.empfehlung { display: grid; gap: 12px; background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--linie); }
.empfehlung-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.empfehlung-kopf .name { font-weight: 800; }
.empfehlung-kopf .zeit { color: var(--tinte-3); font-size: .85rem; }
.empfehlung-buch { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--tinte); background: var(--papier-2); border-radius: var(--radius-klein); padding: 10px; }
.empfehlung-buch .cover { width: 54px; flex: 0 0 auto; box-shadow: none; }
.empfehlung-buch b { font-family: var(--kopf); font-weight: 600; }
.empfehlung-text { font-size: 1.08rem; white-space: pre-line; }
.empfehlung-fuss { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.herz-knopf { background: #fff; border: 2px solid var(--linie); border-radius: 999px; min-height: 40px; padding: 4px 14px; font: inherit; font-weight: 800; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.herz-knopf.an { border-color: var(--beere); background: #ffe6f1; color: #b00b5a; }
.herz-knopf:hover { border-color: var(--beere); }
.kommentare { display: grid; gap: 10px; margin-top: 8px; }
.kommentar { display: flex; gap: 10px; align-items: flex-start; }
.kommentar-blase { background: var(--papier-2); border-radius: 4px 16px 16px 16px; padding: 10px 14px; flex: 1; }
.kommentar-blase .name { font-weight: 800; font-size: .92rem; margin-right: 6px; }
.kommentar-blase .zeit { color: var(--tinte-3); font-size: .8rem; }
.kommentar-blase p { margin: 4px 0 0; }
.melden { font-size: .8rem; color: var(--tinte-3); background: none; border: 0; cursor: pointer; padding: 4px 6px; font-family: inherit; }
.melden:hover { color: var(--warn); text-decoration: underline; }

/* Profil, Regal, Abzeichen, Fortschritt */
.profil-kopf { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.profil-kopf h1 { margin: 0; }
.zahlen { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.zahl { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 14px 10px; text-align: center; }
.zahl b { display: block; font-family: var(--kopf); font-size: 1.8rem; font-weight: 700; color: var(--akzent-dunkel); line-height: 1.1; }
.zahl span { font-size: .85rem; color: var(--tinte-2); }
.fortschritt { height: 16px; background: var(--linie); border-radius: 999px; overflow: hidden; }
.fortschritt > span { display: block; height: 100%; background: linear-gradient(90deg, var(--minze), var(--himmel)); border-radius: 999px; transition: width .4s; }
.abzeichen-liste { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.abzeichen { text-align: center; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 14px 8px; }
.abzeichen .emoji { font-size: 2.2rem; }
.abzeichen b { display: block; font-family: var(--kopf); font-weight: 600; font-size: .95rem; margin-top: 4px; }
.abzeichen small { display: block; font-size: .78rem; color: var(--tinte-3); }
.abzeichen.offen { opacity: .45; filter: grayscale(1); }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; }
.tabs a { flex: 0 0 auto; padding: 10px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--linie); font-weight: 800; text-decoration: none; color: var(--tinte-2); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.tabs a.aktiv { background: var(--tinte); color: #fff; border-color: var(--tinte); }

/* Suche */
.treffer-liste { display: grid; gap: 10px; }
.treffer { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 10px; }
.treffer .cover { width: 64px; box-shadow: none; }
.treffer b { font-family: var(--kopf); font-weight: 600; display: block; }
.treffer small { display: block; color: var(--tinte-2); }
@media (max-width: 480px) { .treffer { grid-template-columns: 56px 1fr; } .treffer form, .treffer .knopf { grid-column: 1 / -1; } }

/* Textseiten (Eltern, Regeln, Recht) */
.text { max-width: 720px; }
.text h2 { margin-top: 1.6em; }
.text .kurz { background: var(--papier-2); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 24px; }
.text .kurz h2 { margin-top: 0; font-size: 1.2rem; }
.text table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.text th, .text td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--linie); vertical-align: top; }

/* Kleinkram */
.reihe { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rechts { margin-left: auto; }
.mitte { text-align: center; }
.abstand { height: 18px; }
.versteckt { display: none !important; }
.install-hinweis { display: none; }
.install-hinweis.zeigen { display: flex; gap: 12px; align-items: center; }
.laedt { opacity: .6; pointer-events: none; }
@keyframes hops { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hops { animation: hops 1.6s ease-in-out infinite; }

/* Scanner, Spoiler, Sternwort */
.scanner { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 4 / 3; max-width: 520px; }
.scanner video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scanner-rahmen { position: absolute; inset: 18% 12%; border: 4px solid rgba(255, 255, 255, .85); border-radius: 14px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .25); pointer-events: none; }
.scanner.gefunden .scanner-rahmen { border-color: var(--minze); }
.spoiler summary { cursor: pointer; font-weight: 800; padding: 10px 14px; background: var(--papier-2); border-radius: var(--radius-klein); list-style: none; }
.spoiler summary::-webkit-details-marker { display: none; }
.spoiler[open] summary { margin-bottom: 8px; }
.stern-wort { display: inline-block; margin-left: 10px; font-family: var(--kopf); font-weight: 600; font-size: 1.1rem; color: var(--akzent-dunkel); vertical-align: middle; min-height: 1.4em; }
form.inline { display: inline; }
.erklaerung .pille { cursor: pointer; border: 0; font: inherit; font-size: .82rem; font-weight: 700; }
