/* Cabalu (Heinshof) – Heinshof-CI: Gold #C2A359, Dunkelgrau #4D4D4D, Pink #E50056 sparsam */
:root {
  --gold: #C2A359; --gold-d: #9C8040; --gold-h: #E7D7AE; --grau: #4D4D4D; --hell: #8C8C8C;
  --text: #2A2A2A; --pink: #E50056; --creme: #FAF6EC; --weiss: #FFFFFF; --linie: #E3DDCF;
  --gut: #4F8A3C; --gut-h: #E3F0DA; --abwurf-h: #FCE4EC;
  --kopf: 'DIN Next', 'DIN Condensed', 'DIN Alternate', 'Bahnschrift', 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --text-font: Arial, Helvetica, sans-serif;
  --radius: 16px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--creme); color: var(--text); font-family: var(--text-font); font-size: 18px; }
body { min-height: 100vh; overscroll-behavior-y: none; }
#app { max-width: 760px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; touch-action: manipulation; }
button:disabled { cursor: default; opacity: 0.45; }
h1, h2, h3 { font-family: var(--kopf); font-weight: 600; letter-spacing: 0.02em; margin: 0.6em 0 0.4em; }
h1 { font-size: 1.8rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
.sek { display: block; font-size: 0.78em; color: var(--hell); font-family: var(--text-font); font-weight: 400; letter-spacing: 0; margin-top: 2px; }
.prim { display: block; }
.lang-de .nur-en, .lang-en .nur-de { display: none; }

/* ---------- Knöpfe ---------- */
.knopf { background: var(--gold); color: var(--weiss); font-family: var(--kopf); font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 14px; box-shadow: 0 4px 0 var(--gold-d); transition: transform 0.06s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.knopf:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--gold-d); }
.knopf.gross { width: 100%; min-height: 60px; font-size: 1.3rem; margin-top: 14px; }
.knopf.klein { font-size: 0.95rem; padding: 8px 12px; min-height: 40px; text-transform: none; }
.knopf.hell { background: var(--weiss); color: var(--grau); box-shadow: 0 4px 0 var(--linie); border: 2px solid var(--linie); }
.knopf.warn { background: var(--weiss); color: var(--pink); border: 2px solid var(--pink); box-shadow: none; }
.chip { background: var(--weiss); border: 2px solid var(--linie); border-radius: 12px; padding: 10px 14px; font-size: 1rem; min-height: 48px; }
.chip.an { border-color: var(--gold); background: var(--gold-h); font-weight: 700; }
.chip.breit { width: 100%; text-align: left; }
.feld { width: 100%; font-size: 1.3rem; padding: 14px; border: 2px solid var(--linie); border-radius: 12px; background: var(--weiss); }
.feld:focus { outline: none; border-color: var(--gold); }
.feld.klein { font-size: 1rem; padding: 8px; }

/* ---------- Start ---------- */
.start { padding: 24px 16px 40px; text-align: center; }
.logo-heinshof { width: min(280px, 72vw); height: auto; margin-top: 14px; }
.start .app-name { font-size: 3.2rem; line-height: 1; margin: 22px 0 6px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-d); }
.slogan { font-family: var(--kopf); font-size: 1.2rem; color: var(--grau); margin: 0 0 18px; }
.slogan .sek { font-size: 0.8rem; }
.profile { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 14px; }
.profil-karte { background: var(--weiss); border: 2px solid var(--linie); border-radius: var(--radius); padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 150px; box-shadow: 0 4px 0 var(--linie); }
.profil-karte b { font-size: 1.15rem; }
.profil-karte small { display: flex; align-items: center; gap: 4px; color: var(--hell); }
.profil-karte.neu .plus { font-size: 3rem; color: var(--gold); line-height: 64px; }

/* ---------- Neues Profil ---------- */
.neu { padding: 16px 16px 40px; }
.zurueck { font-size: 2.2rem; color: var(--grau); width: 48px; height: 48px; }
.wahl-reihe { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl-spalte { display: flex; flex-direction: column; gap: 8px; }
.ponys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pony { background: var(--weiss); border: 2px solid var(--linie); border-radius: 14px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pony.an { border-color: var(--gold); background: var(--gold-h); }

/* ---------- Kopf und Fuß ---------- */
.kopf { position: sticky; top: 0; z-index: 5; background: var(--weiss); display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 2px solid var(--linie); }
.avatar { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.kopf-werte { display: flex; gap: 14px; align-items: center; }
.wert { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 1rem; }
.wert.coins b { font-size: 1.15rem; color: var(--gold-d); }
.fuss { position: sticky; bottom: 0; z-index: 5; background: var(--weiss); border-top: 2px solid var(--linie); display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); margin-top: auto; }
.nav { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--hell); font-size: 0.75rem; padding: 4px 10px; border-radius: 10px; min-width: 64px; }
.nav.an { color: var(--gold-d); background: var(--creme); font-weight: 700; }

/* ---------- Lernpfad ---------- */
.pfad { padding: 8px 16px 24px; }
.welt { margin: 18px 0 30px; }
.welt-kopf { background: var(--welt, var(--gold)); color: var(--weiss); border-radius: var(--radius); padding: 14px 16px; display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.welt-kopf h2 { margin: 0; font-size: 1.5rem; text-transform: uppercase; }
.welt-kopf p { margin: 4px 0 0; }
.welt-kopf .sek { color: rgba(255,255,255,0.8); }
.welt-kopf small { opacity: 0.85; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; }
.bezug { font-size: 0.72rem; background: rgba(255,255,255,0.18); border-radius: 8px; padding: 4px 8px; max-width: 46%; text-align: right; }
.parcours-name { text-align: center; color: var(--grau); font-family: var(--kopf); margin: 22px 0 6px; font-size: 1.05rem; }
.parcours-name .sek { font-size: 0.8rem; }
.knoten-zeile { display: flex; justify-content: center; align-items: center; position: relative; transform: translateX(var(--x)); margin: 10px 0; }
.knoten { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative;
  background: var(--linie); color: var(--hell); box-shadow: 0 6px 0 #CFC6B2; }
.knoten small { position: absolute; bottom: 6px; right: 12px; font-size: 0.75rem; font-weight: 700; }
.knoten.fertig { background: var(--gold); color: var(--weiss); box-shadow: 0 6px 0 var(--gold-d); }
.knoten.uebersprungen { background: var(--gold-h); color: var(--gold-d); box-shadow: 0 6px 0 #CDBA8A; }
.knoten.aktuell { background: var(--weiss); color: var(--gold-d); border: 5px solid var(--gold); box-shadow: 0 6px 0 var(--gold-d); animation: puls 1.6s infinite; }
.knoten.turnier { width: 92px; height: 92px; }
.knoten.turnier.fertig { background: var(--pink); box-shadow: 0 6px 0 #A3003E; }
.nullrunde-stern { position: absolute; top: -6px; right: -4px; color: var(--pink); font-size: 1.3rem; text-shadow: 0 0 3px #fff; }
.start-blase { position: absolute; left: calc(50% + 50px); top: 50%; transform: translateY(-50%); background: var(--grau); color: var(--weiss); font-family: var(--kopf); padding: 6px 12px; border-radius: 10px; font-size: 0.95rem; text-transform: uppercase; }
.start-blase::before { content: ''; position: absolute; left: -7px; top: 50%; transform: translateY(-50%); border: 7px solid transparent; border-left: 0; border-right-color: var(--grau); }
@keyframes puls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.belohnung-hinweis { text-align: center; color: var(--grau); font-size: 0.9rem; margin-top: 10px; background: var(--weiss); border: 2px dashed var(--gold); border-radius: 12px; padding: 8px; }
.fussnote { color: var(--hell); font-size: 0.75rem; text-align: center; }

/* ---------- Runde ---------- */
.runde { padding: 10px 16px 24px; display: flex; flex-direction: column; min-height: 100vh; }
.runde-kopf { display: flex; align-items: center; gap: 10px; }
.schliessen { font-size: 2rem; color: var(--hell); width: 44px; height: 44px; line-height: 1; }
.sprung-leiste { flex: 1; display: flex; gap: 5px; }
.sprung { flex: 1; height: 14px; border-radius: 7px; background: var(--linie); position: relative; }
.sprung.jetzt { background: var(--gold-h); outline: 2px solid var(--gold); }
.sprung.gut { background: var(--gold); }
.sprung.abwurf { background: var(--gold); background-image: repeating-linear-gradient(45deg, var(--gold) 0 6px, var(--pink) 6px 9px); }
.aufgabe { margin-top: 14px; }
.marke { display: inline-block; background: var(--gold-h); color: var(--gold-d); border-radius: 8px; padding: 2px 8px; font-size: 0.8rem; font-weight: 700; }
.frage { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; font-size: 1.45rem; line-height: 1.35; font-weight: 700; margin: 8px 0; }
.frage-text { flex: 1; }
.frage .sek { font-size: 0.72em; font-weight: 400; margin-top: 6px; }
.vorlesen { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--weiss); border: 2px solid var(--linie); color: var(--gold-d); display: flex; align-items: center; justify-content: center; }
.bild { margin: 12px 0; display: flex; justify-content: center; }
.bild .vis { max-width: 100%; height: auto; max-height: 300px; }
.bild .vis.sachbild { width: 110px; max-height: 110px; }
.antwort { margin-top: auto; }
.anzeige { background: var(--weiss); border: 3px solid var(--linie); border-radius: 14px; min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 2rem; font-weight: 700; margin: 8px 0; }
.anzeige.falsch { border-color: var(--pink); }
.anzeige.richtig { border-color: var(--gut); background: var(--gut-h); }
.anzeige small { font-size: 1.1rem; color: var(--hell); }
.anzeige.pin { letter-spacing: 0.4em; }
.tastatur { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.taste { background: var(--weiss); border: 2px solid var(--linie); border-radius: 12px; min-height: 58px; font-size: 1.6rem; font-weight: 700; box-shadow: 0 3px 0 var(--linie); }
.taste:active:not(:disabled) { transform: translateY(2px); box-shadow: none; }
.wahl.reihe { display: flex; gap: 10px; justify-content: center; }
.wahl.reihe .wahl-knopf { flex: 1; font-size: 2rem; min-height: 80px; }
.wahl.spalte { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wahl-knopf { background: var(--weiss); border: 3px solid var(--linie); border-radius: 14px; padding: 12px 10px; font-size: 1.2rem; font-weight: 700; min-height: 64px; box-shadow: 0 4px 0 var(--linie); }
.wahl-knopf .sek { font-size: 0.75em; }
.wahl-knopf.richtig { border-color: var(--gut); background: var(--gut-h); }
.wahl-knopf.falsch { border-color: var(--pink); background: var(--abwurf-h); }
.bau { display: flex; flex-direction: column; gap: 8px; }
.bau-reihe { display: flex; align-items: center; gap: 10px; background: var(--weiss); border-radius: 12px; padding: 6px 10px; border: 2px solid var(--linie); }
.bau-reihe span { flex: 1; font-weight: 700; }
.bau-reihe b { min-width: 32px; text-align: center; font-size: 1.4rem; }
.rund { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--weiss); font-size: 1.8rem; font-weight: 700; box-shadow: 0 3px 0 var(--gold-d); }
.feedback { position: sticky; bottom: 0; margin: 14px -16px -24px; padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; animation: hoch 0.2s ease-out; }
.feedback b { font-family: var(--kopf); font-size: 1.4rem; display: block; }
.feedback p { margin: 8px 0 0; font-size: 1.1rem; line-height: 1.4; }
.feedback.gut { background: var(--gut-h); color: #2F5A22; }
.feedback.gut .knopf { background: var(--gut); box-shadow: 0 4px 0 #2F5A22; }
.feedback.abwurf { background: var(--abwurf-h); color: #7A0030; }
.feedback .dreher { font-weight: 700; }
.feedback .erklaerung { font-size: 1.3rem; font-weight: 700; }
@keyframes hoch { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Ergebnis ---------- */
.ergebnis { padding: 24px 16px 40px; text-align: center; }
.ergebnis h1 { font-size: 2.2rem; text-transform: uppercase; color: var(--gold-d); }
.rosette { margin-top: 10px; }
.fehlerpunkte { font-family: var(--kopf); font-size: 1.3rem; color: var(--grau); }
.posten { list-style: none; padding: 0; margin: 16px auto; max-width: 420px; text-align: left; }
.posten li { display: flex; justify-content: space-between; align-items: center; background: var(--weiss); border-radius: 12px; padding: 10px 14px; margin: 6px 0; border: 2px solid var(--linie); }
.posten b { display: flex; align-items: center; gap: 4px; color: var(--gold-d); white-space: nowrap; }
.ueberraschung { background: var(--gold-h); border-radius: 12px; padding: 12px; font-weight: 700; }
.gutschein { display: flex; gap: 14px; align-items: center; text-align: left; background: var(--weiss); border: 3px dashed var(--pink); border-radius: var(--radius); padding: 14px; margin: 14px 0; }
.gutschein .gs-logo { width: 110px; height: auto; }
.gutschein small { color: var(--pink); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.gutschein p { margin: 4px 0; }
.eingeloest { display: inline-block; margin-top: 6px; color: var(--gut); font-weight: 700; }

/* ---------- Stall und Hofladen ---------- */
.stall, .shop, .eltern { padding: 8px 16px 24px; }
.boxen { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.box { background: var(--weiss); border: 3px solid var(--linie); border-top: 10px solid var(--grau); border-radius: 10px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.box.an { border-color: var(--gold); border-top-color: var(--gold); }
.box small { color: var(--hell); font-size: 0.8rem; text-align: center; }
.tipp, .leer { color: var(--hell); font-size: 0.9rem; }
.sattelkammer { display: flex; flex-wrap: wrap; gap: 8px; }
.ding { display: flex; align-items: center; gap: 6px; background: var(--weiss); border: 2px solid var(--linie); border-radius: 12px; padding: 6px 10px; font-size: 0.9rem; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.waren { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.ware { background: var(--weiss); border: 2px solid var(--linie); border-radius: 14px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.ware.hat { opacity: 0.75; }
.ware small { color: var(--hell); font-size: 0.8rem; }
.hat-schon { color: var(--gut); font-weight: 700; font-size: 0.9rem; }
.dialog-hinter { position: fixed; inset: 0; background: rgba(42,42,42,0.55); display: flex; align-items: flex-end; justify-content: center; z-index: 20; }
.dialog { background: var(--creme); width: 100%; max-width: 560px; border-radius: 20px 20px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); font-size: 1.2rem; }
.dialog .klein { font-size: 1rem; display: flex; align-items: center; gap: 6px; }
.dialog-knoepfe { display: flex; gap: 10px; margin-top: 12px; }
.dialog-knoepfe .knopf { flex: 1; min-height: 56px; }

/* ---------- Eltern ---------- */
.hinweis { background: var(--weiss); border-left: 5px solid var(--gold); padding: 10px 12px; border-radius: 8px; font-size: 0.95rem; }
.fehler { color: var(--pink); font-weight: 700; }
.lernstand { width: 100%; border-collapse: collapse; font-size: 0.8rem; background: var(--weiss); border-radius: 10px; overflow: hidden; }
.lernstand th, .lernstand td { padding: 6px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.lernstand th { background: var(--grau); color: var(--weiss); font-weight: 700; }
.welt-zeile td { background: var(--gold-h); font-weight: 700; }
.balken { display: inline-block; width: 60px; height: 10px; background: var(--linie); border-radius: 5px; overflow: hidden; }
.balken i { display: block; height: 100%; background: var(--gold); }
.verlauf { font-size: 0.9rem; padding-left: 18px; }
.gs-zeile { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--weiss); border-radius: 10px; padding: 8px 10px; margin: 6px 0; font-size: 0.95rem; }
.einstellungen { display: flex; flex-direction: column; gap: 10px; }
.einstellungen label { display: flex; flex-direction: column; gap: 4px; font-size: 0.95rem; }
.einstellungen label:has(input[type=checkbox]) { flex-direction: row; align-items: center; gap: 8px; }
.einstellungen select { font-size: 1rem; padding: 8px; border-radius: 10px; border: 2px solid var(--linie); background: var(--weiss); }
.einstellungen input[type=checkbox] { width: 24px; height: 24px; accent-color: var(--gold); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.quellen { color: var(--hell); font-size: 0.75rem; }

/* ---------- Sonstiges ---------- */
.warnung { background: var(--pink); color: var(--weiss); padding: 8px 12px; font-size: 0.9rem; text-align: center; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--grau); color: var(--weiss); padding: 10px 18px; border-radius: 12px; z-index: 30; font-weight: 700; max-width: 90vw; text-align: center; }
.toast .sek { color: #ddd; }
.konfetti { position: fixed; inset: 0; pointer-events: none; z-index: 40; }
.coin { vertical-align: middle; flex: none; }
.pferdkopf { flex: none; }
.pferdfoto { flex: none; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; background: var(--creme); }
/* ---------- Schulpferd, Steckbrief ---------- */
.schulpferd-karte { display: flex; align-items: center; gap: 12px; background: var(--weiss); border: 2px solid var(--linie); border-radius: var(--radius); padding: 10px 12px; margin-top: 10px; }
.schulpferd-karte div { flex: 1; display: flex; flex-direction: column; }
.schulpferd-karte small { color: var(--hell); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.schulpferd-karte b { font-family: var(--kopf); font-size: 1.3rem; }
.schulpferd-karte span { color: var(--grau); font-size: 0.85rem; }
.steckbrief { color: var(--grau) !important; font-size: 0.75rem !important; }
.box.zu, .pony.zu { opacity: 0.5; }
.pony small { color: var(--hell); font-size: 0.75rem; }
.rund-chip { min-width: 52px; }
.preis-echt { font-size: 0.75rem; color: var(--gold-d); font-weight: 700; }
.runde-kopf .pferdfoto, .runde-kopf .pferdkopf { flex: none; }

/* ---------- Heinshof-Werbung ---------- */
.werbung { display: flex; gap: 12px; align-items: center; text-align: left; background: var(--weiss); border: 2px solid var(--gold); border-radius: var(--radius); padding: 12px 14px; margin: 16px 0; color: var(--text); text-decoration: none; box-shadow: 0 3px 0 var(--gold-h); }
.werbung svg { flex: none; }
.werbung span { display: flex; flex-direction: column; gap: 2px; }
.werbung small { color: var(--gold-d); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.werbung b { font-family: var(--kopf); font-size: 1.1rem; }
.werbung em { font-style: normal; font-size: 0.9rem; color: var(--grau); }
.werbung i { font-style: normal; font-size: 0.8rem; color: var(--pink); font-weight: 700; }
.werbung.klein { margin: 10px 0 0; padding: 8px 12px; box-shadow: none; border-width: 1px; }
.werbe-fuss { margin-top: 28px; color: var(--hell); font-size: 0.85rem; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.werbe-fuss a { color: var(--gold-d); font-weight: 700; }

/* ---------- Glücksrad und Spiel-Gutschein ---------- */
.rad-hinweis { background: var(--weiss); border: 3px dashed var(--pink); border-radius: var(--radius); padding: 12px 14px; margin: 14px 0; }
.rad-hinweis p { margin: 0; font-weight: 700; }
.knopf.pink { background: var(--pink); box-shadow: 0 4px 0 #A3003E; }
.dialog-hinter.mitte { align-items: center; padding: 16px; }
.rad-dialog { border-radius: 20px; text-align: center; max-width: 380px; }
.rad-dialog h2 { margin-top: 0; text-transform: uppercase; color: var(--gold-d); }
.rad-rahmen { position: relative; width: 300px; max-width: 100%; margin: 0 auto; }
.rad { width: 100%; height: auto; display: block; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.18)); }
.rad-zeiger { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 28px solid var(--pink); filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3)); }
.klein-hinweis { font-size: 0.8rem; color: var(--hell); }
.gewonnen { color: var(--pink); text-transform: uppercase; }
.spielgutschein { position: relative; overflow: hidden; text-align: left; background: linear-gradient(135deg, #FFFDF7, #F6EDD6); border: 3px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -9px; border-radius: 14px; padding: 18px 20px 14px; margin: 14px 0; box-shadow: 0 6px 14px rgba(0,0,0,0.12); }
.sg-kopf { display: flex; align-items: center; gap: 10px; }
.sg-kopf .sg-logo { height: 30px; width: auto; }
.sg-unter { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grau); margin-top: 4px; }
.sg-nr { margin-left: auto; font-size: 0.7rem; color: var(--hell); white-space: nowrap; }
.sg-art { font-family: var(--kopf); letter-spacing: 0.4em; text-transform: uppercase; color: var(--grau); font-size: 0.85rem; margin-top: 12px; }
.sg-titel { font-family: var(--kopf); font-size: 1.6rem; color: var(--text); margin-top: 2px; }
.sg-detail { color: var(--grau); font-size: 0.95rem; }
.sg-titel, .sg-detail { max-width: 66%; }
.sg-zeile { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 8px; border-top: 1px dashed var(--gold); font-size: 0.95rem; }
.sg-fuss { font-size: 0.7rem; color: var(--hell); margin-top: 8px; }
.sg-stempel { position: absolute; right: 14px; top: 46%; transform: rotate(-14deg); border: 3px double var(--pink); color: var(--pink); border-radius: 8px; padding: 4px 10px; font-family: var(--kopf); text-transform: uppercase; letter-spacing: 0.08em; font-size: 1rem; text-align: center; opacity: 0.85; background: rgba(255,255,255,0.55); }
.sg-stempel small { display: block; font-size: 0.68rem; letter-spacing: 0.02em; text-transform: none; font-family: var(--text-font); font-weight: 700; }

/* ---------- Liga ---------- */
.liga { padding: 8px 16px 24px; }
.liga-zeile { background: var(--weiss); border-radius: 12px; padding: 10px 12px; font-weight: 700; color: var(--gut); }
.liga-zeile.aus { color: var(--grau); font-weight: 400; font-size: 0.95rem; }
.liga-kopf { display: flex; align-items: center; gap: 14px; background: var(--liga); color: var(--weiss); border-radius: var(--radius); padding: 14px 16px; }
.liga-kopf b { font-family: var(--kopf); font-size: 1.5rem; text-transform: uppercase; display: block; }
.liga-kopf small { opacity: 0.9; }
.liga-abzeichen { width: 58px; height: 58px; border-radius: 50%; background: var(--weiss); color: var(--liga); font-family: var(--kopf); font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(255,255,255,0.5); flex: none; }
.frist { font-family: var(--text-font); font-size: 0.75rem; color: var(--hell); font-weight: 400; }
.liga-tabelle { list-style: none; padding: 0; margin: 8px 0; }
.liga-tabelle li { display: flex; align-items: center; gap: 10px; background: var(--weiss); border: 2px solid var(--linie); border-radius: 12px; padding: 6px 10px; margin: 6px 0; }
.liga-tabelle li.ich { border-color: var(--gold); background: var(--gold-h); }
.liga-tabelle .rang { width: 28px; text-align: center; font-family: var(--kopf); font-size: 1.2rem; color: var(--gold-d); }
.liga-tabelle .spitz { flex: 1; font-weight: 700; }
.liga-tabelle .spitz em { font-style: normal; color: var(--weiss); border-radius: 6px; padding: 1px 6px; font-size: 0.75rem; margin-left: 4px; }
.liga-tabelle b { color: var(--gold-d); white-space: nowrap; }
.liga-tabelle li.aufstieg-linie { background: none; border: 0; border-top: 2px dashed var(--gut); border-radius: 0; color: var(--gut); font-size: 0.8rem; font-weight: 700; justify-content: center; padding: 2px; }
.spitz-wahl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.spitz-vorschau { margin: 4px 0 0; }
a.knopf { text-decoration: none; }
@media (max-width: 420px) {
  html, body { font-size: 16px; }
  .frage { font-size: 1.25rem; }
  .knoten { width: 66px; height: 66px; }
  .wahl.spalte { grid-template-columns: 1fr; }
  .bezug { display: none; }
  .kopf-werte { gap: 8px; }
  .avatar span { display: none; }
}
@media (max-width: 420px) {
  .nav { min-width: 0; padding: 4px 6px; }
  .sg-stempel { font-size: 0.85rem; right: 8px; }
  .sg-titel { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) { .knoten.aktuell { animation: none; } .feedback { animation: none; } .rad { transition-duration: 0.2s !important; } }
