/* Schultrainer — ruhig, lesbar, eine Anmutung.
   Die Schrift ist durchgehend Andika: eine Leseschrift für Schriftanfänger.
   Das ist keine Geschmacksfrage — das Lernwort ist der Gegenstand, und seine
   Buchstaben müssen eindeutig sein. */
:root {
  --paper:     #ffffff;
  --surface:   #ffffff;
  --surface-2: #f5f5f4;
  --ink:       #17171a;
  --ink-soft:  #6b6b70;
  --line:      #17171a;
  --hair:      #dedede;
  --accent:    #17171a;
  --accent-ink:#ffffff;
  --good:      #17171a;
  --soso:      #9a9a9a;
  --bad:       #ffffff;
  --star:      #6b6b70;
  --warn:      #b3261e;
  --ok:        #1e7a34;
  --r: 4px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent }
html, body { margin: 0; padding: 0 }
body {
  background: var(--paper); color: var(--ink);
  font-family: Andika, "Helvetica Neue", system-ui, sans-serif;
  font-size: 18px; line-height: 1.5;
  min-height: 100dvh; overflow-x: hidden;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 8px 16px 56px }

header.top {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; max-width: 860px; margin: 0 auto;
  border-bottom: 1.5px solid var(--line);
}
header.top .brand { font-weight: 700; font-size: 22px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px }
header.top .brand .logo { width: 40px; height: 40px; display: block }
header.top .brand .wm b { color: #5b3fd1 }
header.top .spacer { flex: 1 }
.who { display: flex; align-items: center; gap: 9px; font-weight: 700 }
.who .em { display: flex; align-items: center }

h1 { font-size: clamp(25px, 4.6vw, 34px); line-height: 1.2; margin: 18px 0 6px; letter-spacing: -.02em }
h2 { font-size: 21px; margin: 26px 0 10px; letter-spacing: -.01em }
p.lead { color: var(--ink-soft); margin: 0 0 20px }

.card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); padding: 22px }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) }

button, .btn {
  font: inherit; font-weight: 700; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--ink); padding: 13px 20px;
  transition: background .12s, transform .06s;
}
button:hover:not(:disabled) { background: #f2f2f1 }
button:active:not(:disabled) { transform: translateY(1px) }
button:disabled { opacity: .38; cursor: default }
.btn-primary, .btn-good { background: var(--ink); color: #fff }
.btn-primary:hover:not(:disabled), .btn-good:hover:not(:disabled) { background: #000 }
.btn-soso { background: var(--soso); color: #fff; border-color: var(--soso) }
.btn-bad  { background: #fff; border-width: 3px }
.btn-big { font-size: 20px; padding: 18px 24px; width: 100% }
.btn-ghost { border: 0; background: transparent; color: var(--ink-soft); text-decoration: underline; padding: 10px 12px }
.btn-ghost:hover { background: transparent; color: var(--ink) }
.row { display: flex; gap: 12px; flex-wrap: wrap }
.row > * { flex: 1 1 160px }

.tile { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 18px; min-height: 108px; justify-content: center }
.tile .big { line-height: 1 }
.tile .name { font-size: 20px; font-weight: 700 }
.tile .sub { font-size: 15px; color: var(--ink-soft); font-weight: 600 }
.bar { height: 8px; background: #ededec; border-radius: 99px; overflow: hidden; margin-top: 8px }
.bar > i { display: block; height: 100%; background: var(--ink); transition: width .35s ease }

/* --- Übungsfläche ------------------------------------------------------ */
.stage { text-align: center; padding: 26px 18px 22px }
.stage .count { color: var(--ink-soft); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; font-size: 13px }
.roundname { font-weight: 700; font-size: 15px; color: var(--ink-soft); margin-top: 2px }
/* Die Bewertung am Ende eines Worts hat EINE eigene Farbe (Violett) — sonst
   ist die Gestaltung schwarz-weiss, und genau deshalb faellt sie auf. */
.stage.bewerten { --judge: #5b3fd1; --judge-tint: #f2eefe; --judge-ink: #3d2a99;
  background: var(--judge-tint); border: 4px solid var(--judge); box-shadow: inset 0 10px 0 var(--judge) }
.stage.bewerten .roundname, .stage.bewerten .task, .stage.bewerten .count { color: var(--judge-ink) }
.stage.bewerten .btn-good { background: var(--judge); border-color: var(--judge); color: #fff }
.stage.bewerten .btn-good:hover:not(:disabled) { background: var(--judge-ink) }
.stage.bewerten .btn-soso { background: #e2d9fc; border-color: var(--judge); color: var(--judge-ink) }
.stage.bewerten .btn-bad { background: #fff; border-color: var(--judge); color: var(--judge-ink) }
.task { font-size: clamp(30px, 6vw, 44px); font-weight: 800; line-height: 1.1; margin: 6px 0 14px }
.word { font-weight: 700; font-size: clamp(42px, 12vw, 88px); line-height: 1.12; margin: 26px 0 8px; word-break: break-word; letter-spacing: -.02em }
.word.w-m { font-size: clamp(30px, 7vw, 50px) }
.word.w-s { font-size: clamp(23px, 4.6vw, 33px); line-height: 1.35 }
.word.hidden-word { color: transparent; user-select: none }
.prompt { font-size: clamp(21px, 4.6vw, 28px); font-weight: 700; color: var(--ink-soft); margin: 16px 0 0 }
.example { font-size: 17px; color: var(--ink-soft); font-style: italic; margin: 8px 0 0 }
.instruct { font-size: 19px; font-weight: 700; margin: 18px 0 22px; min-height: 30px }
.blank { height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 20px, transparent 20px 32px); margin: 38px auto 32px; max-width: 420px }
.timer { height: 10px; background: #ededec; border-radius: 99px; overflow: hidden; max-width: 420px; margin: 0 auto }
.timer > i { display: block; height: 100%; background: var(--ink); width: 100% }
.speak { font-size: 34px; width: 96px; height: 96px; border-radius: 50%; margin: 12px auto 0; display: block; background: var(--ink); color: #fff; border-color: var(--ink) }
.speak:hover:not(:disabled) { background: #000 }
.speak.small { width: auto; height: auto; font-size: 16px; border-radius: 99px; padding: 11px 20px; margin: 14px auto 0 }

.pills { display: flex; gap: 6px; justify-content: center; margin: 24px 0 0; flex-wrap: wrap }
.pill { width: 14px; height: 14px; border-radius: 3px; background: #fff; border: 1.5px solid var(--line) }
.pill.done { background: var(--ink) }
.pill.soso { background: var(--soso); border-color: var(--soso) }
.pill.miss { background: #fff; border-width: 3px }
.pill.now  { background: #fff; border: 3px dashed var(--ink) }

/* --- Leitern und Schritte ---------------------------------------------- */
.ladder { display: grid; gap: 8px; margin: 16px 0 24px }
.step { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--hair); border-radius: var(--r); background: #fafafa }
.step .n { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: #fff; border: 1.5px solid var(--line) }
.step.active { border-color: var(--line); background: #fff; box-shadow: inset 4px 0 0 var(--ink) }
.step.done .n { background: var(--ink); color: #fff }
.step.clickable { cursor: pointer }
.step.clickable:hover { background: #f2f2f1 }
.step b { display: block; font-size: 17px }
.step small { color: var(--ink-soft); font-weight: 600; font-size: 14px }
.step .st-state { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--ink-soft); white-space: nowrap }

.briefnum { width: 56px; height: 56px; margin: 0 auto 8px; display: grid; place-items: center; font-size: 26px; font-weight: 700; background: var(--ink); color: #fff; border-radius: 50% }
ol.steps { text-align: left; max-width: 470px; margin: 8px auto 18px; padding-left: 24px }
ol.steps li { font-size: 17px; margin: 11px 0; line-height: 1.45 }
ol.steps li b { font-weight: 700 }

/* --- Ergebnis ----------------------------------------------------------- */
.score { font-size: 54px; font-weight: 700; letter-spacing: -.03em }
.wordlist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px }
.chip { font-size: 18px; font-weight: 700; padding: 8px 13px; border: 1.5px solid var(--hair); border-radius: var(--r); background: #fff }
.chip.star { background: var(--ink); color: #fff; border-color: var(--ink) }
.chip.soso { background: #eee }
.chip.miss { border: 3px solid var(--line) }
.note { background: #fafafa; border: 1px solid var(--hair); border-radius: var(--r); padding: 14px 16px; color: var(--ink-soft); font-size: 16px }
.hide { display: none !important }
.center { text-align: center }
.mt { margin-top: 18px }

/* --- Anmelden ------------------------------------------------------------ */
.dots { display: flex; gap: 14px; justify-content: center; margin: 16px 0 22px; height: 22px }
.dots i { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: block }
.dots i.on { background: var(--ink) }
.dots.bad i { border-color: #b3b3b3 }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
.pad button { font-size: 26px; font-weight: 700; padding: 16px 0 }
.pad button.fn { font-size: 20px; color: var(--ink-soft) }

/* --- Portion, Modus, Herkunft -------------------------------------------- */
.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); gap: 9px; margin: 10px 0 18px }
.sizes button { font-size: 22px; padding: 15px 6px }
.sizes button small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-top: 3px }
.sizes button.sel, .modes button.sel { background: var(--ink); color: #fff }
.sizes button.sel small, .modes button.sel small { color: inherit; opacity: .8 }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 18px }
.modes button { font-size: 19px; padding: 16px 12px; text-align: center }
.modes button small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 4px }
@media (max-width: 420px) { .modes { grid-template-columns: 1fr } }
.mode { display: block; padding: 14px 18px; font-weight: 700; font-size: 18px; margin: 10px 0 4px; background: #fafafa; border: 1px solid var(--hair); border-left: 5px solid var(--ink); border-radius: var(--r) }
.mode small { display: block; font-size: 15px; font-weight: 400; color: var(--ink-soft); margin-top: 4px }
.wordgroup { font-size: 15px; font-weight: 700; color: var(--ink-soft); background: #f2f2f1; border-radius: 99px; padding: 7px 15px; display: inline-block; margin: 14px 0 0; max-width: 100% }

/* --- Lernsystem ---------------------------------------------------------- */
.lernzeile { display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin: 7px 0; border: 1px solid var(--hair); border-radius: var(--r); background: #fafafa }
.lernzeile .txt { font-size: 19px; font-weight: 700; flex: 1 }
.lernzeile .de { font-size: 16px; color: var(--ink-soft) }
.lernzeile button { flex: none; padding: 8px 13px; font-size: 15px }
.verdeckt { filter: blur(7px); user-select: none }
.papier { border: 2px dashed #6c3fc4; border-radius: var(--r); padding: 12px 14px; margin: 10px 0 14px; background: #f7f3ff; font-size: 17px }
.papier button { margin-top: 8px }
.blatt-hinweis { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #6c3fc4; color: #fff; border-radius: var(--r); padding: 10px 14px; margin: 8px 0; font-size: 20px; font-weight: 700 }
.blatt-hinweis a { color: #fff; font-size: 14px; font-weight: 400 }
.step .chips { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px }
.abgleich { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin: 6px 0; border: 1px solid var(--hair); border-radius: var(--r); background: #fafafa }
.abgleich .txt { flex: 1; font-size: 17px }
.abgleich .txt small { display: block; color: var(--ink-soft); font-size: 14px }
.abgleich button { flex: none; padding: 6px 11px; font-size: 16px; opacity: .45 }
.abgleich button.an { opacity: 1; outline: 3px solid #6c3fc4 }
.tipp { background: #fff7d6; border-radius: var(--r); padding: 8px 12px; margin: 6px 0; font-size: 17px }
.lern-seite { font-size: clamp(20px, 3.4vw, 26px); font-weight: 700; line-height: 1.4; margin: 12px 0 }
.lern-seite p { margin: 0 0 10px }
.block-kopf { margin: 18px 0 4px; font-size: 18px }
.btn-mund { font-size: 26px !important }
/* The button the space bar presses carries the hint. */
#stActions .btn-primary::after, #stActions button:only-child:not(.btn-ghost)::after, #tpGo::after {
  content: 'Leertaste'; display: inline-block; margin-left: 10px; padding: 2px 8px; border: 1.5px solid currentColor;
  border-radius: 6px; font-size: 12px; font-weight: 600; opacity: .7; vertical-align: middle }
.tipp.merkhilfe { font-size: 19px; margin-top: 4px }
.ansage { text-align: center; padding: 28px 12px }
.ansage-icon { font-size: 72px; line-height: 1 }
.ansage h2 { font-size: clamp(26px, 4vw, 34px); margin: 12px 0 }
.ansage p { font-size: clamp(19px, 3vw, 23px); max-width: 560px; margin: 0 auto; line-height: 1.45 }
.phasen { display: flex; gap: 6px; margin: 0 0 10px; flex-wrap: wrap }
.phasen span { flex: 1; text-align: center; padding: 6px 8px; border-radius: 999px; background: #eee; color: #777; font-size: 15px; font-weight: 700 }
.phasen span.an { background: #6c3fc4; color: #fff }
.frage-zeile { font-size: 19px; margin: 10px 0 2px }
.blitz-an { transition: filter .3s }
.loesung.klein { font-size: 17px; margin: 0 0 8px 22px; text-decoration: none; color: #2e7d4f }
.wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 10px 0 }
.wahl-btn { font-size: 20px; padding: 14px; font-weight: 700; border: 2px solid #6c3fc4 !important; border-radius: var(--r); background: #fff; text-decoration: none !important; color: var(--ink) }
.wahl-btn.wahl-gut { background: #2e9e5b; color: #fff; border-color: #2e9e5b; opacity: 1 }
.wahl-btn.wahl-falsch { background: #fde3e1; border-color: #d33; color: #a11; text-decoration: line-through }
.diagramm-box { background: #fff; border: 1px solid var(--hair); border-radius: var(--r); padding: 8px; margin: 8px 0 }
.diagramm { display: block; width: 100%; height: auto; max-height: 62vh }
.checkliste { list-style: none; padding: 0; margin: 10px 0 }
.checkliste li { display: flex; gap: 10px; align-items: flex-start; margin: 9px 0; font-size: 17px }
.checkliste input { width: 22px; height: 22px; flex: none; margin-top: 2px }
.aufgabe { font-size: clamp(20px,4vw,26px); font-weight: 700; margin: 18px 0 }
.loesung { font-size: clamp(20px,4vw,26px); font-weight: 700; margin: 12px 0; text-decoration: underline }

/* --- Köpfe --------------------------------------------------------------- */
svg.face { display: block; image-rendering: pixelated; border: 1.5px solid var(--line); border-radius: 3px }

/* --- Formulare, Tabellen, Übersicht -------------------------------------- */
label { display: block; font-weight: 700; font-size: 15px; margin: 14px 0 6px }
input[type=text], input[type=number], input[type=password], input[type=date], select, textarea {
  font: inherit; width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink);
}
textarea { min-height: 200px; font-family: ui-monospace, Menlo, monospace; font-size: 15px; line-height: 1.6 }
table { width: 100%; border-collapse: collapse; margin-top: 10px }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--hair); vertical-align: middle }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft) }
td.w { font-size: 19px; font-weight: 700 }
.mini { padding: 7px 11px; font-size: 14px }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 700; z-index: 50 }

.ovhead { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 20px 0 6px }
.ovhead b { font-size: 17px }
.ovhead span { color: var(--ink-soft); font-weight: 600; font-size: 15px }
.ovbar { display: flex; height: 14px; background: #ededec; border-radius: 99px; overflow: hidden; margin: 6px 0 8px }
.ovbar i { display: block; height: 100% }
.ovbar .s { background: #17171a }
.ovbar .f { background: repeating-linear-gradient(45deg,#17171a 0 3px,#fff 3px 6px) }
.ovbar .w { background: #9a9a9a }
.ovbar .u { background: #d4d4d3 }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--ink-soft) }
.legend b { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 5px }
.st { font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--hair); white-space: nowrap }
.st.sitzt { background: var(--ink); color: #fff; border-color: var(--ink) }
.st.fehler { border: 2px solid var(--line) }
.st.wackelt { background: #eee }
.st.neu { color: var(--ink-soft) }

@keyframes pop { 0% { transform: scale(.94); opacity: 0 } 100% { transform: scale(1); opacity: 1 } }
.pop { animation: pop .16s ease-out }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-7px)} 75%{transform:translateX(7px)} }
.shake { animation: shake .3s }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important } }

/* --- Smartness Points ---------------------------------------------------- */
.sp {
  display: flex; align-items: baseline; gap: 6px; font-weight: 700; font-size: 15px;
  border: 1.5px solid var(--line); border-radius: 99px; padding: 5px 13px; white-space: nowrap;
}
.sp b { font-size: 18px; font-variant-numeric: tabular-nums }
.sp small { font-weight: 600; color: var(--ink-soft); font-size: 12px; margin-left: 4px }
.sp.gain { background: var(--ink); color: #fff }
.sp.gain small { color: rgba(255,255,255,.75) }
.spfloat {
  position: fixed; left: 50%; top: 52%; transform: translateX(-50%); z-index: 60; pointer-events: none;
  font-weight: 700; font-size: 30px; letter-spacing: -.02em;
}
.levelup { font-size: 19px; font-weight: 700; margin-top: 6px }

/* --- Das eigene Profil --------------------------------------------------- */
.who { border: 0; background: transparent; padding: 4px 6px; cursor: pointer; font: inherit; font-weight: 700 }
.who:hover { background: #f2f2f1; border-radius: var(--r) }
.profile { text-align: center }
.profile > div:first-child { display: flex; justify-content: center; margin-bottom: 8px }
.prsp { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 6px 0 2px }
.prsp b { font-size: clamp(46px, 11vw, 72px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums }
.prsp span { font-size: 20px; font-weight: 700; color: var(--ink-soft) }
.prlvl { color: var(--ink-soft); font-size: 16px; margin-bottom: 12px }
.profile .bar { max-width: 420px; margin: 0 auto }
.prstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 22px }
.prstats div { border: 1px solid var(--hair); border-radius: var(--r); padding: 12px 10px }
.prstats b { display: block; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums }
.prstats small { color: var(--ink-soft); font-size: 13px; font-weight: 600 }

/* --- Der Halt: der Satz steht im Mittelpunkt, die Uhr nicht --------------- */
#v-break { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center }
#v-break .card { width: 100% }
.brklob { font-weight: 700; font-size: 15px; color: var(--ink-soft); letter-spacing: .05em; margin-bottom: 14px }
#brkText { max-width: 22em; margin: 0 auto; font-size: clamp(28px, 5.5vw, 44px); font-weight: 700; line-height: 1.3 }
#brkText .satz { display: block; font: inherit }
#brkText .satz + .satz, #brkText .uebers + .satz { margin-top: 1em }
#tExample .ex-de { display: block; margin-top: .25em; font-size: .85em; color: var(--ink-soft) }
#brkText .uebers { display: block; margin-top: .3em; font-size: 17px; font-weight: 600; color: var(--ink-soft) }
#brkText .speak.small { margin-top: 12px }
.brkword { margin-top: 1em; font: inherit }
.brkdreh { font-size: clamp(20px, 3.4vw, 26px); font-weight: 800; margin-bottom: .9em; color: var(--ink) }
mark.lw { padding: 0 .18em; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-weight: 800 }
.brktimer { height: 3px; background: #ededec; border-radius: 99px; overflow: hidden; margin: 22px auto 6px; max-width: 320px }
.brktimer > i { display: block; height: 100%; background: var(--ink-soft); width: 100%; transition: none }
.brknum { font-size: 12px; color: var(--ink-soft); font-variant-numeric: tabular-nums }

/* --- Was man braucht ----------------------------------------------------- */
ul.material { list-style: none; padding: 0; margin: 6px auto 18px; max-width: 420px; text-align: left }
ul.material li { display: flex; align-items: center; gap: 12px; font-size: 19px; margin: 12px 0 }
ul.material li span {
  width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; font-weight: 700; background: var(--ink); color: #fff;
}

/* --- Hausaufgaben --------------------------------------------------------
   Die einzigen zwei Farben der Oberflaeche: was zu spaet ist, und was fertig
   ist. Beides muss ein Kind sehen, ohne zu lesen. */
.tile.hw-over { border-color: var(--warn) }
.tile.hw-over .sub { color: var(--warn) }
.tile.hw-done { border-color: var(--ok); background: #f3faf4 }
.tile.hw-done .sub { color: var(--ok) }
.hwquote {
  border-left: 5px solid var(--line); background: #fafafa; border-radius: var(--r);
  padding: 14px 18px; margin: 14px 0; font-size: 19px; line-height: 1.5;
}
.step.done .st-state { color: var(--ok) }

/* --- Schreiben mit Vorlage: links der Text, rechts die Aufgabe ----------- */
body.breit .wrap, body.breit header { max-width: 1360px }
.zwei { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; align-items: start }
.vorlage { position: sticky; top: 12px; max-height: calc(100vh - 140px); overflow-y: auto; padding: 18px 22px; border: 1px solid var(--hair); border-radius: var(--r); background: #fdfbf5 }
.vorlage h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 24px; margin: 0 0 10px }
.vorlage .absatz { display: flex; gap: 10px; align-items: flex-start }
.vorlage .absatz p { flex: 1; margin: 0 0 16px; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; line-height: 1.6 }
.vorlage .absatz button { flex: none; margin-top: 4px }
.auftrag-kopf { font-size: 20px; font-weight: 800; line-height: 1.45; padding: 14px 16px; border-left: 5px solid var(--ink); background: #fafafa; border-radius: var(--r) }
.erklaerung { padding: 12px 14px; border: 1px solid var(--hair); border-radius: var(--r) }
.erklaerung h3 { margin: 0 0 4px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft) }
.erklaerung .lernzeile .txt { font-size: 17px }
@media (max-width: 900px) {
  .zwei { grid-template-columns: 1fr }
  .vorlage { position: static; max-height: none }
}

/* --- Die Anleitung als 3D-Szene (Briefing) -------------------------------- */
.anim3d { margin: 4px 0 16px }
.anim3d .task { margin: 0 0 8px }
.anim-stage { position: relative; width: 100%; max-width: 640px; margin: 0 auto }
.anim-stage canvas { display: block; width: 100%; border-radius: var(--r) }
.anim-overlay { position: absolute; inset: 0; pointer-events: none }
.anim-lab { position: absolute; transform: translate(-50%, -50%); font-weight: 800; line-height: 1; transition: opacity .2s }
.anim-lab.nr { font-size: clamp(18px, 3.2vw, 28px); color: var(--ink) }
.anim-lab.nr.aktiv { color: #5b3fd1 }
.anim-lab.wort { font-size: clamp(16px, 2.8vw, 26px); color: var(--ink) }
.anim-lab.laut { font-size: clamp(26px, 4.6vw, 44px) }

/* --- Fokus-Modus: im Trainer nur Aufgabe, Wort, Aufforderung -------------- */
.fokus-x, .fokus-bar { display: none }
body.fokus #stopBtn, body.fokus #tGroup, body.fokus #tRound,
body.fokus #tCount, body.fokus #tInstruct { display: none !important }
/* Beim Ueben keine Navigation: von der Kopfzeile bleiben nur die SP oben links. */
body.fokus header.top > :not(#sp):not(#streak) { display: none !important }
body.fokus header.top {
  position: fixed; top: 12px; left: 12px; z-index: 30; padding: 0; margin: 0;
  border: 0; background: none; max-width: none
}
body.fokus #sp { height: 52px; align-items: center; padding: 0 18px; background: var(--surface) }
body.fokus #sp.gain { background: var(--ink) }
body.fokus .wrap { padding-top: 76px }
body.fokus .fokus-x {
  display: grid; place-items: center; position: fixed; top: 12px; right: 12px; z-index: 30;
  width: 52px; height: 52px; padding: 0; border-radius: 50%; font-size: 26px; line-height: 1;
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--hair)
}
.fokus-re { display: none }
body.fokus.wiederholbar .fokus-re {
  display: block; position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 30;
  height: 52px; padding: 0 22px; border-radius: 99px; font-size: 18px; font-weight: 700;
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--hair)
}
body.fokus .fokus-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 6px; background: #ededec; z-index: 30 }
.fokus-bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .4s ease }
.fokus-bar.bewerten i { background: #5b3fd1 }
body.fokus .stage .task { font-size: clamp(26px, 4.8vw, 40px); line-height: 1.2; margin: 4px 0 10px }
.btn-space { width: 100%; min-height: 72px; background: transparent; color: var(--ink-soft);
  border: 2px dashed var(--hair); font-size: 20px; font-weight: 700 }
.btn-space:hover:not(:disabled) { background: var(--surface-2); color: var(--ink) }
body.fokus #tActions { margin-top: 22px }

/* --- Raenge je Fach: Abzeichen oben links, Feier, Leitern im Profil ------- */
.sp { position: relative; overflow: hidden }
.sp-bar { display: none }
.sp.rang { border-color: transparent; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18) }
.sp.rang small { color: inherit; opacity: .85 }
.sp.rang .sp-bar { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(0,0,0,.18) }
.sp-bar i { display: block; height: 100%; width: 0; background: rgba(255,255,255,.9); transition: width .5s ease }
.rangfeier { position: fixed; inset: 0; z-index: 100; background: rgba(12,12,16,.92); display: grid; place-items: center; overflow: hidden }
.rf-box { text-align: center; color: #fff; padding: 24px }
.rf-fach { font-size: 22px; font-weight: 700; opacity: .8; margin-bottom: 18px }
.rf-badge { width: 190px; height: 190px; margin: 0 auto 22px; border-radius: 28px; display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255,255,255,.15), 0 18px 60px rgba(0,0,0,.5), inset 0 -14px 0 rgba(0,0,0,.18), inset 0 10px 0 rgba(255,255,255,.18) }
.rf-badge span { font-size: 84px; font-weight: 800; text-shadow: 0 3px 0 rgba(0,0,0,.2) }
.rf-name { font-size: clamp(34px, 6vw, 56px); font-weight: 800; margin-bottom: 8px }
.rf-next { font-size: 20px; opacity: .8; margin-bottom: 26px }
.rf-konfetti { position: absolute; top: 30%; width: 12px; height: 12px; border-radius: 2px }
.raenge { display: grid; gap: 14px; margin-top: 14px; text-align: left }
.rg-fach { display: flex; align-items: baseline; justify-content: space-between; font-weight: 700; margin-bottom: 6px }
.rg-fach small { font-weight: 600; color: var(--ink-soft) }
.rg-leiter { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px }
.rg-leiter i { height: 22px; border-radius: 5px; opacity: .18; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800 }
.rg-leiter i.hat { opacity: 1 }
.rg-leiter i.jetzt { outline: 3px solid var(--ink); outline-offset: 1px }

/* Welches Blatt jetzt dran ist — als Info NEBEN der Lernbox, gross und unuebersehbar */
.blatt { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 auto 14px; width: max-content;
  padding: 14px 22px; border-radius: 18px; background: #5b3fd1; color: #fff; font-weight: 700; text-align: center }
.blatt small { font-size: 17px; opacity: .9 }
.blatt b { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05 }

/* --- Streaks, Wochenmedaillen, Rangfarbe der Lernflaeche ----------------- */
.streak { display: flex; gap: 6px; font-weight: 700; font-size: 15px }
.streak span { border: 1.5px solid var(--line); border-radius: 99px; padding: 5px 11px; background: var(--surface); white-space: nowrap }
body.fokus .streak span { height: 52px; display: flex; align-items: center; padding: 0 14px; font-size: 18px }
.streakkarte { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 6px 0 18px }
.streakkarte div { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 16px; min-width: 120px }
.streakkarte b { display: block; font-size: 26px }
.streakkarte small { color: var(--ink-soft); font-weight: 600 }
.rf-medaille { font-size: 150px; line-height: 1; margin-bottom: 14px }
.wochenreihe { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; text-align: center; font-size: 26px }
.wochenreihe small { display: block; font-size: 11px; color: var(--ink-soft); font-weight: 700 }
.pokal { font-weight: 700 } .pokal span { display: inline-block; border-radius: 8px; padding: 3px 9px; margin: 3px 3px 0 0; font-size: 14px }
/* Die Lernflaeche in der Farbe des Rangs: Rand und ein Hauch Hintergrund */
body.fokus.rangfarbe .stage, body.fokus.rangfarbe #v-break .card, body.fokus.rangfarbe #v-brief .card,
body.fokus.rangfarbe #v-ready .card, body.fokus.rangfarbe #v-plan .card, body.fokus.rangfarbe #v-done .card {
  border: 0; position: relative; box-shadow: 0 0 0 6px var(--rang), 0 10px 40px color-mix(in srgb, var(--rang) 35%, transparent) }
body.fokus.rangfarbe { background: color-mix(in srgb, var(--rang) 12%, var(--bg, #fff)) }

/* --- Motivation nach langer Ruhe (three.js) ------------------------------ */
.motivation { position: fixed; inset: 0; z-index: 90; background: radial-gradient(circle at 50% 40%, #2a2a38, #0d0d12); cursor: pointer }
.motivation canvas { position: absolute; inset: 0; width: 100%; height: 100% }
.mo-text { position: absolute; left: 0; right: 0; bottom: 8vh; text-align: center; color: #fff; padding: 0 16px; pointer-events: none }
.mo-gross { font-size: clamp(28px, 4.6vw, 48px); font-weight: 800; margin-bottom: 10px }
.mo-klein { font-size: clamp(18px, 2.6vw, 26px); opacity: .88; margin-bottom: 6px }
.mo-tipp { margin-top: 18px; font-size: 16px; opacity: .55 }

.chip .wert { display: inline-block; margin-left: 7px; min-width: 22px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; text-align: center }

/* --- Punkte-Info zum Antippen ------------------------------------------- */
#sp, #streak { cursor: pointer }
.pi-box { text-align: left; max-width: 560px; width: 100% }
.pi-zeile { display: flex; gap: 16px; align-items: center; background: rgba(255,255,255,.08); border-radius: 16px; padding: 14px 16px; margin-bottom: 10px }
.pi-zeile b { display: block; font-size: 22px }
.pi-zeile small { opacity: .8; font-size: 16px }
.pi-badge { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-size: 28px; font-weight: 800; flex: none }
.pi-emoji { font-size: 44px; width: 56px; text-align: center; flex: none }
.pi-regeln { opacity: .75; font-size: 16px; margin: 6px 0 10px }
.pi-gesamt { font-weight: 700; margin-bottom: 18px }
.pi-box .rf-go { width: 100% }

/* --- Fokus: die Lernbox genau in der Mitte (waagrecht und senkrecht) ------ */
body.fokus .wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 76px; padding-bottom: 24px; box-sizing: border-box }
body.fokus #v-train { position: relative; width: 100% }
/* Breit genug: das Blatt steht rechts neben der Box, die Box bleibt in der Mitte */
@media (min-width: 1180px) {
  body.fokus #v-train .blatt { position: absolute; left: calc(100% + 24px); top: 50%; transform: translateY(-50%); margin: 0 }
}

/* Das naechste Ziel am Ende einer Runde */
.naechstes-ziel { margin: 18px 0 4px; padding: 16px 18px; border-radius: 16px; background: var(--ink); color: #fff; text-align: center }
.nz-frage { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800 }
.nz-sub { font-size: 19px; opacity: .88; margin-top: 4px }

.hero-logo { display: block; width: 120px; height: 120px; margin: 8px 0 6px }

.rechtliches { margin-top: 28px; font-size: 14px; color: var(--ink-soft) } .rechtliches a { color: inherit }

/* Bist du noch da? — liegt ueber allem, auch ueber dem Fokus-Modus. */
.nochda { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px }
.nochda-karte { background: #fff; color: var(--ink, #111); border-radius: 16px; padding: 32px 28px; max-width: 460px; width: 100%; text-align: center }
.nochda-karte h1 { font-size: 34px; margin: 0 0 12px }
.nochda-karte p { font-size: 18px; margin: 0 0 24px }
.nochda-karte .nochda-taste { font-size: 26px; margin-bottom: 14px }
.nochda-ok { font-size: 22px; padding: 16px 28px; width: 100% }
.nochda.alarm { animation: nochda-blink .5s steps(1) infinite }
@keyframes nochda-blink { 50% { background: rgba(220,0,0,.85) } }

/* Child link /k/<token>: the PIN pad is the only element, centred on the page. */
body.solo-pin header.top, body.solo-pin #tProgress { display: none }
body.solo-pin main.wrap { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding-top: 0; padding-bottom: 0 }
body.solo-pin #v-pin { width: 100% }
body.solo-pin #v-pin .card { background: none; border: 0; box-shadow: none }
body.solo-pin .pad button { font-size: 30px; padding: 20px 0 }

/* Pause (DT 2026-10-04) */
.pause-ecke { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 10px }
.pause-ecke .lernzeit { font-size: 15px; font-weight: 700; color: #6c3fc4; background: #fff; border-radius: 999px; padding: 8px 12px; box-shadow: 0 2px 8px #0002; font-variant-numeric: tabular-nums }
.pause-knopf { padding: 10px 16px; border-radius: 999px; border: 2px solid #6c3fc4; background: #fff; color: #6c3fc4; font-weight: 700; font-size: 16px; box-shadow: 0 2px 8px #0002 }
.pause-ov { position: fixed; inset: 0; z-index: 90; background: rgba(40, 24, 80, .92); display: grid; place-items: center; padding: 16px }
.pause-karte { background: #fff; border-radius: 18px; padding: 28px 24px; max-width: 460px; width: 100%; text-align: center }
.pause-karte h1 { margin: 8px 0 }
.pause-karte p { font-size: 18px }
.pause-wahl { display: flex; gap: 10px; justify-content: center; margin: 14px 0 }
.pause-wahl button { font-size: 22px; font-weight: 700; padding: 16px 18px; border-radius: 14px; border: 2px solid #6c3fc4; background: #f1edff; color: #3b2391 }
.pause-uhr { font-size: 64px; font-weight: 800; font-variant-numeric: tabular-nums; color: #6c3fc4; margin: 6px 0 }

/* Word trainer: progress between two words (DT 2026-10-04) */
.word.zwischen { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 }
.word.zwischen span { width: 22px; height: 22px; border-radius: 50%; background: #e4e0ef }
.word.zwischen span.an { background: #2e9e5b }

/* MATH step (DT 2026-10-04): the problem big and calm, the worked example as a numbered path */
.rechen-aufgabe { font-size: clamp(30px, 7vw, 46px); font-variant-numeric: tabular-nums; letter-spacing: .02em; text-align: center }
.rechen-weg { font-size: 19px; line-height: 1.6; margin: 8px 0 14px; padding-left: 26px }
.rechen-weg li { margin: 4px 0 }
.rechen-weg .frage-zeichen { display: inline-block; min-width: 1.4em; text-align: center; background: #f1ecfb; border-radius: 6px; color: #6c3fc4 }
.rechen-loesung { text-align: center; font-size: clamp(28px, 6vw, 40px) !important; font-variant-numeric: tabular-nums }

/* Focus mode on learning-system steps (DT 2026-10-04): the ✕ replaces the back link */
body.fokus #stBack { display: none }
.rechen-beispiel { margin: 4px 0 14px; padding: 12px 18px; background: #f6f2ff; border-left: 4px solid #6c3fc4; border-radius: 8px; white-space: pre-wrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(20px, 4.4vw, 28px); line-height: 1.35; overflow-x: auto }
.rechen-beispiel small { display: block; font-family: inherit; font-size: 13px; color: #6c3fc4; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; white-space: normal }
/* Worked example in columns (DT 2026-10-04): written like on paper, filled in by Sniffoo */
.spalten-buehne { display: flex; justify-content: center; margin: 6px 0 10px }
.spalten { border-collapse: collapse; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(30px, 7vw, 44px); font-variant-numeric: tabular-nums }
.spalten td { width: 1.25em; height: 1.15em; text-align: center; padding: 0 2px; border-radius: 6px }
.spalten tr.strich td { border-bottom: 3px solid var(--ink, #17171a) }
.spalten td.op { color: #6c3fc4; font-weight: 700 }
.spalten td.stelle { font-size: 13px; color: #8a86a0; font-family: inherit; height: auto }
.spalten td.klein { font-size: 18px; color: #c0392b; height: 1em; vertical-align: bottom }
.spalten td.alt { text-decoration: line-through; text-decoration-color: #c0392b; color: #8a86a0 }
.spalten td.erg { color: #2e7d4f; font-weight: 700 }
.spalten td.jetzt { background: #f1ecfb }
.rechen-weg li.jetzt { font-weight: 700 }
.spalten { width: auto !important; margin: 0 auto }
.spalten td.sinn { vertical-align: top; height: .9em; font-size: 16px }
/* Math: explain or practise (DT 2026-10-04) */
.mathe-wahl { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 8px 0 }
.mathe-karte { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 18px; border: 2px solid #e4e0ef; border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: inherit }
button.mathe-karte:hover { border-color: #6c3fc4 }
.mathe-karte b { font-size: 22px }
.mathe-karte small { color: #6b6880; font-size: 15px; line-height: 1.35 }
.mathe-karte .mk-icon { font-size: 34px }
.mk-zahlen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px }
.mk-zahlen button { min-width: 64px; font-size: 20px; font-weight: 700; padding: 10px 14px }
.mk-zahlen button { border: 2px solid #6c3fc4 !important; border-radius: 12px !important; background: #f6f2ff !important; color: #3b1f66 !important; text-decoration: none !important }
.mk-zahlen button:hover { background: #6c3fc4 !important; color: #fff !important }
.mk-gross { justify-content: center; gap: 14px; margin: 10px 0 18px }
.mk-gross button { min-width: 96px; font-size: 30px; padding: 18px 22px }

/* Start page grouped by subject (DT 2026-10-04) */
.fach-kopf { grid-column: 1 / -1; margin: 18px 0 2px; font-size: 20px; display: flex; align-items: baseline; gap: 10px }
.fach-kopf:first-child { margin-top: 0 }
.fach-kopf small { font-size: 14px; font-weight: 600; color: var(--ink-soft) }

/* ---------------------------------------------------------------------------
   TEEN (DT 2026-10-05: "Elias ist bereits 14 — das Layout sollte weniger kindisch
   sein"). From age 12 (learner.stufe = 'teen'): a plain sans-serif instead of the
   first-reader font, no mascot, no big emoji pictures, no confetti, a sober slate
   accent instead of purple, calmer headings. Content and flow stay the same. */
body.stufe-teen { font-family: "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px }
body.stufe-teen header.top .brand .logo,
body.stufe-teen .who .em,
body.stufe-teen .tile .big,
body.stufe-teen .ansage-icon,
body.stufe-teen .mathe-karte .mk-icon,
body.stufe-teen .rf-konfetti { display: none !important }
body.stufe-teen header.top .brand .wm b { color: #334155 }
body.stufe-teen .ansage h2 { font-size: clamp(22px, 3.2vw, 28px) }
body.stufe-teen .ansage p { font-size: 18px }
body.stufe-teen .lern-seite { font-size: clamp(18px, 2.6vw, 22px); font-weight: 600 }
body.stufe-teen .aufgabe { font-size: clamp(19px, 3vw, 24px) }
body.stufe-teen .phasen span.an,
body.stufe-teen .blatt-hinweis,
body.stufe-teen .zwischen span.an { background: #334155 }
body.stufe-teen .phasen span { border-radius: 6px }
body.stufe-teen .pause-knopf, body.stufe-teen .wahl-btn { border-color: #334155 !important; color: #334155 }
body.stufe-teen .pause-ecke .lernzeit { color: #334155 }
body.stufe-teen .tipp { background: #f1f5f9 }
body.stufe-teen .tipp.merkhilfe { font-size: 16px }
body.stufe-teen .diagramm circle[stroke="#6c3fc4"] { stroke: #334155 }
body.stufe-teen .papier { border: 1px solid #cbd5e1; background: #f8fafc }
body.stufe-teen .block-kopf { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; color: #475569 }

/* ERKLÄRFILM (DT 2026-10-05) — three.js scene, subtitles, simple controls */
.film-ov { position: fixed; inset: 0; z-index: 95; background: linear-gradient(#eaf2fb, #f8fafc); display: flex; flex-direction: column }
.film-bild { flex: 1; position: relative; min-height: 0 }
.film-bild canvas { display: block; width: 100%; height: 100% }
.film-labels { position: absolute; inset: 0 0 auto 0; height: calc(100% - 150px); pointer-events: none; overflow: hidden }
.film-label { position: absolute; left: 0; top: 0; background: rgba(23,23,26,.82); color: #fff; font-size: 15px; font-weight: 700; padding: 4px 10px; border-radius: 6px; white-space: nowrap; transition: opacity .4s }
.film-unten { background: #fff; border-top: 1px solid #e2e8f0; padding: 14px 20px 18px }
.film-text { font-size: clamp(19px, 2.6vw, 25px); font-weight: 700; line-height: 1.35; min-height: 2.7em; max-width: 1000px; margin: 0 auto }
.film-leiste { display: flex; align-items: center; gap: 10px; max-width: 1000px; margin: 10px auto 0 }
.film-btn { border: 2px solid #17171a; background: #fff; border-radius: 999px; width: 44px; height: 44px; font-size: 18px; cursor: pointer }
.film-punkte { flex: 1; display: flex; gap: 6px }
.film-punkte i { flex: 1; height: 6px; border-radius: 3px; background: #e2e8f0 }
.film-punkte i.an { background: #6c3fc4 }
.film-ov.teen .film-punkte i.an { background: #334155 }

/* Teilen-Knopf auf der Kachel (ab 14) */
.tile { position: relative }
.tile .teilen { position: absolute; top: 10px; right: 10px; font-size: 13px; font-weight: 700; color: var(--ink-soft); background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; padding: 4px 10px; cursor: pointer }
.tile .teilen:hover { color: var(--ink); border-color: var(--ink-soft) }
.tile:has(.teilen) .name { padding-right: 84px }

/* Teilen-Frage nach einem geschafften Teil (ab 14) — eine eigene Fokus-Fläche, kein kleines Popup */
.teilen-ov { position: fixed; inset: 0; z-index: 60; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow-y: auto }
.teilen-karte { max-width: 720px; width: 100%; text-align: center }
.teilen-karte .ansage-icon { font-size: clamp(80px, 14vw, 120px) }
.teilen-karte h2 { font-size: clamp(32px, 5.5vw, 48px); margin: 18px 0 10px }
.teilen-karte .was { font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin: 0 0 16px }
.teilen-karte p { font-size: clamp(19px, 2.8vw, 23px); line-height: 1.45; color: var(--ink-soft); max-width: 600px; margin: 0 auto }
.teilen-karte .knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px }
.teilen-karte .knoepfe button { font-size: clamp(20px, 3vw, 26px); padding: 26px 18px; border-radius: 16px; font-weight: 800 }
.teilen-karte .teilen-ja { background: #22c55e; color: #fff; border: 0 }
.teilen-karte .teilen-weiter { background: #fff; color: var(--ink); border: 3px solid var(--ink) }
.teilen-karte .knoepfe small { display: block; font-size: 14px; font-weight: 600; opacity: .7; margin-top: 4px }
@media (max-width: 520px) { .teilen-karte .knoepfe { grid-template-columns: 1fr } }
