:root {
  --nacht: #1b1033;
  --nacht2: #2d1b5e;
  --violett: #7c4dff;
  --violett-hell: #efe8ff;
  --pink: #ff5fa2;
  --tuerkis: #19b3a6;
  --tuerkis-hell: #dcf7f3;
  --gelb: #ffd23f;
  --tinte: #2a1840;
  --grau: #6b6180;
  --karte: #fffdf8;
  --rund: 26px;
  --schatten: 0 10px 30px rgba(10, 4, 30, .35);
  --zahl: 'Baloo 2', 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--tinte);
  background:
    radial-gradient(1200px 600px at 15% 110%, rgba(25, 179, 166, .28), transparent 60%),
    radial-gradient(900px 500px at 95% -10%, rgba(255, 95, 162, .25), transparent 60%),
    linear-gradient(160deg, var(--nacht2), var(--nacht));
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button:disabled { cursor: default; }

#app { min-height: 100dvh; display: flex; flex-direction: column; }

/* ---------- Kopfzeile ---------- */
.kopfzeile {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px; color: #fff;
}
.logo { font-family: var(--zahl); font-size: 1.35rem; font-weight: 700; color: #fff; letter-spacing: .2px; }
.logo b { color: var(--gelb); font-weight: 800; }
.kopf-rechts { display: flex; align-items: center; gap: 10px; }
.sterne {
  font-family: var(--zahl); font-size: 1.2rem; font-weight: 700;
  background: rgba(255, 255, 255, .12); padding: 6px 14px; border-radius: 99px;
}
.sterne.plopp { animation: plopp .5s ease; }
@keyframes plopp { 40% { transform: scale(1.25); background: rgba(255, 210, 63, .35); } }
.rund {
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center;
  transition: transform .15s, background .2s;
}
.rund:hover { background: rgba(255, 255, 255, .2); }
.rund:active { transform: scale(.92); }

/* ---------- Bühne ---------- */
.buehne {
  flex: 1; display: grid; grid-template-columns: minmax(280px, 40%) 1fr;
  gap: 18px; padding: 0 24px 22px; max-width: 1280px; width: 100%; margin: 0 auto;
}
.coach { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; }
.nova { width: 100%; max-width: 400px; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .3)); }

.blase {
  position: relative; align-self: stretch; margin: 8px 6px 14px;
  background: #fff; color: var(--tinte); border-radius: 24px; padding: 16px 20px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 800; line-height: 1.35;
  box-shadow: var(--schatten); min-height: 3.2em; opacity: 0;
}
.blase.sichtbar { opacity: 1; }
.blase::after {
  content: ''; position: absolute; left: 50%; bottom: -14px; margin-left: -14px;
  border: 14px solid transparent; border-top-color: #fff; border-bottom: 0;
}
.blase.rein { animation: rein .3s ease; }
@keyframes rein { from { transform: translateY(6px) scale(.98); opacity: .3; } }

.panel { display: flex; flex-direction: column; justify-content: center; gap: 16px; min-width: 0; }

/* ---------- Karten und Knöpfe ---------- */
.karte {
  background: var(--karte); border-radius: var(--rund); box-shadow: var(--schatten);
  padding: 30px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  animation: auf .35s ease;
}
@keyframes auf { from { transform: translateY(12px); opacity: 0; } }
.karte h1, .karte h2 { font-family: var(--zahl); margin: 0; line-height: 1.1; }
.karte h1 { font-size: 2.4rem; }
.karte h2 { font-size: 1.9rem; }
.start-emo { font-size: 3rem; }
.leise { color: var(--grau); margin: 0; font-size: 1.05rem; max-width: 34em; }
.mitte { text-align: center; color: #d9cff5; }
.titel { font-family: var(--zahl); color: #fff; font-size: 2rem; margin: 0; text-align: center; }

.feldlabel { display: flex; flex-direction: column; gap: 8px; font-weight: 800; width: 100%; max-width: 320px; }
.feldlabel input {
  font: inherit; font-size: 1.4rem; padding: 14px 18px; border-radius: 18px; text-align: center;
  border: 3px solid #e2d8ff; outline: none; background: #fff;
}
.feldlabel input:focus { border-color: var(--violett); }

.knopf {
  font-family: var(--zahl); font-weight: 800; font-size: 1.25rem;
  background: linear-gradient(180deg, #8f66ff, var(--violett)); color: #fff;
  padding: 14px 26px; border-radius: 20px; box-shadow: 0 6px 0 #5a2fd6, 0 10px 20px rgba(60, 20, 140, .3);
  transition: transform .1s, box-shadow .1s;
}
.knopf:active { transform: translateY(4px); box-shadow: 0 2px 0 #5a2fd6; }
.knopf.gross { font-size: 1.5rem; padding: 16px 34px; min-width: 240px; }
.knopf.zweit { background: #fff; color: var(--violett); box-shadow: 0 6px 0 #d8ccff; }
.knopf.zweit:active { box-shadow: 0 2px 0 #d8ccff; }
.knopf.pulsieren { animation: pulsieren 1s ease-in-out infinite; }
@keyframes pulsieren { 50% { transform: scale(1.06); } }
.link { color: var(--grau); text-decoration: underline; font-size: .95rem; padding: 4px; }
.panel > .link { color: #cfc4ef; align-self: center; }
.zeile-knoepfe { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Menü-Kacheln ---------- */
.kacheln { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kachel {
  background: var(--karte); border-radius: 22px; padding: 20px 16px; text-align: left;
  display: flex; flex-direction: column; gap: 4px; box-shadow: var(--schatten);
  border-bottom: 6px solid var(--violett); transition: transform .15s;
  animation: auf .35s ease backwards;
}
.kachel:nth-child(2) { animation-delay: .05s; } .kachel:nth-child(3) { animation-delay: .1s; } .kachel:nth-child(4) { animation-delay: .15s; }
.kachel:hover:not(:disabled) { transform: translateY(-3px) rotate(-.4deg); }
.kachel:active:not(:disabled) { transform: scale(.97); }
.kachel .emo { font-size: 2.1rem; }
.kachel b { font-family: var(--zahl); font-size: 1.35rem; line-height: 1.1; }
.kachel small { color: var(--grau); font-size: .98rem; font-weight: 700; }
.kachel.k1 { border-color: var(--pink); }
.kachel.k2 { border-color: var(--tuerkis); }
.kachel.k3 { border-color: var(--violett); }
.kachel.k4 { border-color: var(--gelb); }
.kachel:disabled { opacity: .55; }
.kacheln.klein .kachel { padding: 14px 14px; }
.kacheln.klein .kachel b { font-size: 1.15rem; }
.kacheln.klein .kachel .emo { font-size: 1.7rem; }

.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.chip {
  font-family: var(--zahl); font-weight: 800; font-size: 1.4rem; padding: 14px 0; border-radius: 18px;
  background: rgba(255, 255, 255, .12); color: #fff; border: 3px solid transparent; transition: all .15s;
}
.chip.an { background: #fff; color: var(--violett); border-color: var(--gelb); transform: translateY(-2px); }

/* ---------- Aufgabe ---------- */
.fortschritt { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.punkt { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .2); transition: all .3s; }
.punkt.fertig { background: var(--tuerkis); }
.punkt.jetzt { background: var(--pink); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(255, 95, 162, .25); }
.punkt.wdh { border: 2px dashed rgba(255, 255, 255, .6); background: transparent; }
.punkt.wdh.fertig { background: var(--tuerkis); border-style: solid; }
.punkt.wdh.jetzt { background: var(--pink); }

.aufgabe-karte {
  background: var(--karte); border-radius: var(--rund); box-shadow: var(--schatten);
  padding: 18px 22px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  border: 4px solid transparent; transition: border-color .3s, background .3s;
  animation: auf .3s ease;
}
.aufgabe-kopf { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.etikett { font-size: .85rem; font-weight: 800; color: var(--grau); background: #f1ecfa; padding: 4px 12px; border-radius: 99px; }
.frage { font-family: var(--zahl); font-weight: 800; color: var(--pink); font-size: 1.2rem; }
.aufgabe-karte.richtig { border-color: var(--tuerkis); background: #f2fffc; }
.aufgabe-karte.wackeln { animation: wackeln .45s ease; }
@keyframes wackeln { 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(3px); } }

.gleichung {
  font-family: var(--zahl); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.4rem);
  display: flex; align-items: center; justify-content: center; gap: .28em; flex-wrap: wrap; line-height: 1.1;
}
.gleichung.lang { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.gleichung.sehr-lang { font-size: clamp(1.7rem, 3.8vw, 2.8rem); }
.teil.op { color: var(--violett); }
.teil.x { color: var(--pink); font-style: italic; }
.x-zeile { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.luecke {
  min-width: 2.2em; padding: 0 .25em; border-radius: 16px; text-align: center;
  background: var(--violett-hell); border-bottom: 5px solid var(--violett); color: var(--tinte);
  display: inline-block; min-height: 1.15em;
}
.luecke.leer::after { content: '?'; color: #b9a6f5; animation: blinken 1.2s steps(2) infinite; }
@keyframes blinken { 50% { opacity: .25; } }
.luecke.stups { animation: wackeln .35s ease; }
.richtig .luecke { background: var(--tuerkis-hell); border-color: var(--tuerkis); color: #0c6e66; }
.luecke.loesung { background: #fff1d6; border-color: #ff9d4d; color: #b4530b; }
.falsch-zahl { color: #c9b8c4; text-decoration: line-through; text-decoration-thickness: 5px; text-decoration-color: var(--pink); }
.richtig-zahl { color: #0c9b8f; animation: auf .3s ease; }

.hilfe:empty { display: none; }
.hilfe { width: 100%; }
.tipp { background: #fff8dc; border-radius: 18px; padding: 12px 16px; border-left: 6px solid var(--gelb); text-align: left; animation: auf .3s ease; }
.loesung-box { background: #fff1e4; border-left-color: #ff9d4d; }
.tipp-kopf { font-weight: 800; color: #8a6a00; margin-bottom: 6px; }
.loesung-box .tipp-kopf { color: #b4530b; }
.tipp-inhalt { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.schritte { display: flex; flex-direction: column; gap: 6px; }
.schritt {
  font-family: var(--zahl); font-weight: 700; font-size: 1.35rem;
  background: #fff; border-radius: 12px; padding: 4px 14px;
  animation: schritt .4s ease backwards; animation-delay: calc(var(--i) * .7s);
}
@keyframes schritt { from { opacity: 0; transform: translateX(-10px); } }
.beispiel { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.beispiel .schritt { background: var(--violett-hell); font-size: 1.5rem; }

.punktefeld { display: inline-flex; flex-direction: column; gap: 3px; padding: 6px; background: #fff; border-radius: 12px; }
.pz { display: grid; grid-template-columns: repeat(var(--spalten), 11px); gap: 3px; }
.pz i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.pz.g0 i { background: var(--violett); }
.pz.g1 i { background: var(--pink); }
.pz.g0 + .pz.g1 { margin-top: 5px; }
.pz.weg i { background: #ddd; opacity: .5; }
.pz.weg { position: relative; margin-top: 5px; }
.pz.weg::after { content: ''; position: absolute; left: -3px; right: -3px; top: 50%; height: 3px; background: var(--pink); border-radius: 3px; }

/* ---------- Eingabe ---------- */
.eingabe { display: flex; gap: 14px; align-items: flex-start; justify-content: center; }
.eingabe.ruhig { opacity: .55; pointer-events: none; }
.ziffern { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(100%, 330px); }
.taste {
  font-family: var(--zahl); font-weight: 800; font-size: 1.9rem; height: 62px; border-radius: 18px;
  background: #fff; color: var(--tinte); box-shadow: 0 5px 0 #d9d0ee; transition: transform .08s, box-shadow .08s;
}
.taste:active { transform: translateY(4px); box-shadow: 0 1px 0 #d9d0ee; }
.taste.ok { background: var(--tuerkis); color: #fff; box-shadow: 0 5px 0 #0e7f75; }
.taste.ok:active { box-shadow: 0 1px 0 #0e7f75; }
.taste.weg { background: #f3eefb; color: var(--grau); font-size: 1.5rem; }
.extra { display: flex; flex-direction: column; gap: 10px; }
.mic.an { background: var(--pink); animation: pulsieren 1s ease-in-out infinite; }
.stimmt-knoepfe { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.stimmt-knoepfe .knopf { font-size: 1.5rem; padding: 18px 26px; min-width: 190px; }
.knopf.ja { background: linear-gradient(180deg, #2fd1c2, var(--tuerkis)); box-shadow: 0 6px 0 #0e7f75; }
.knopf.nein { background: linear-gradient(180deg, #ff7db5, var(--pink)); box-shadow: 0 6px 0 #c83a7c; }
.knopf.gewaehlt { outline: 5px solid var(--gelb); outline-offset: 3px; }
.hinweis { color: #e6ddff; margin: 0; font-weight: 700; text-align: center; }
.eingabe:has(.hinweis) { flex-direction: column; align-items: center; }

/* ---------- Ende und Pause ---------- */
.gross-zahl { font-family: var(--zahl); font-weight: 800; font-size: 5rem; line-height: 1; color: var(--violett); }
.gross-zahl span { font-size: 2.4rem; color: var(--grau); }
.bilanz { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font-weight: 800; }
.bilanz span { background: #f1ecfa; border-radius: 99px; padding: 6px 14px; }
.pause-emo { font-size: 5rem; animation: huepf-emo 1s ease-in-out infinite; }
@keyframes huepf-emo { 50% { transform: translateY(-12px) rotate(-6deg); } }
.uhr {
  --p: 0; width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--tuerkis) calc(var(--p) * 360deg), #eee6fb 0);
  transition: background .9s linear;
}
.uhr span { width: 84px; height: 84px; border-radius: 50%; background: var(--karte); display: grid; place-items: center; font-family: var(--zahl); font-size: 2.2rem; font-weight: 800; }

/* ---------- Konfetti ---------- */
.konfetti {
  position: fixed; width: 10px; height: 14px; border-radius: 3px; pointer-events: none; z-index: 50;
  animation: konfetti 1.5s cubic-bezier(.2, .7, .4, 1) forwards;
}
@keyframes konfetti {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  45% { transform: translate(calc(var(--dx) * .7), var(--dy)) rotate(calc(var(--r) * .5)); opacity: 1; }
  100% { transform: translate(var(--dx), calc(var(--dy) * -1.2)) rotate(var(--r)); opacity: 0; }
}

/* ---------- Nova-Animationen ---------- */
.nova-svg { width: 100%; height: auto; display: block; overflow: visible; }
.nova-ganz { transform-origin: 200px 470px; animation: atmen 3.4s ease-in-out infinite; }
@keyframes atmen { 50% { transform: translateY(3px) scale(1.006, .994); } }
.nova-kopf { transform-origin: 200px 340px; }
.redet .nova-kopf { animation: nicken 1.1s ease-in-out infinite; }
@keyframes nicken { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-1.8deg) translateY(-1px); } 70% { transform: rotate(1.5deg); } }
.nova-augen { transform-box: fill-box; transform-origin: center; transition: transform .07s; }
.nova-augen.zu { transform: scaleY(.08); }
.nova-pupille, .nova-braue { transition: transform .3s ease; }
.nova-winken, .nova-daumen { opacity: 0; transition: opacity .25s, transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.nova-winken { transform: translate(30px, 140px) rotate(12deg); transform-origin: 318px 470px; }
.geste-winken .nova-winken { opacity: 1; transform: none; }
.nova-hand { transform-origin: 336px 330px; }
.geste-winken .nova-hand { animation: winken .42s ease-in-out infinite alternate; }
@keyframes winken { from { transform: rotate(-16deg); } to { transform: rotate(14deg); } }
.nova-daumen { transform: translate(-30px, 140px); transform-origin: 82px 470px; }
.geste-daumen .nova-daumen { opacity: 1; transform: none; }
.huepf .nova-ganz { animation: huepf .65s ease-out, atmen 3.4s .65s ease-in-out infinite; }
@keyframes huepf { 30% { transform: translateY(-28px); } 55% { transform: translateY(0) scale(1.02, .97); } 72% { transform: translateY(-7px); } }
.nova-funken { opacity: 0; transition: opacity .3s; }
[data-stimmung="froh"] .nova-funken { opacity: 1; }
[data-stimmung="froh"] .nova-funken polygon { transform-box: fill-box; transform-origin: center; animation: funkeln 1.1s ease-in-out infinite alternate; }
[data-stimmung="froh"] .nova-funken polygon:nth-child(2) { animation-delay: .35s; }
[data-stimmung="froh"] .nova-funken polygon:nth-child(3) { animation-delay: .7s; }
@keyframes funkeln { from { transform: scale(.6) rotate(0); } to { transform: scale(1.15) rotate(25deg); } }
.nova-wange { transition: opacity .3s; }
[data-stimmung="froh"] .nova-wange { opacity: .95; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Handy und schmale Tablets ---------- */
@media (max-width: 860px) {
  .kopfzeile { padding: 10px 14px; }
  .buehne { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 0 12px 16px; gap: 12px; }
  .coach { flex-direction: row; align-items: flex-end; gap: 6px; }
  .nova { width: 128px; flex: 0 0 128px; max-width: none; margin: 0; order: 1; }
  .blase { order: 2; flex: 1; margin: 0 0 18px 10px; font-size: 1.02rem; padding: 12px 14px; min-height: 0; }
  .blase::after { left: -12px; bottom: 18px; margin: 0; border: 12px solid transparent; border-right-color: #fff; border-left: 0; }
  .panel { justify-content: flex-start; }
  .karte { padding: 22px 18px; }
  .kacheln { gap: 10px; }
  .kachel { padding: 14px 12px; }
  .kachel b { font-size: 1.15rem; }
  .taste { height: 56px; }
  .knopf.gross { min-width: 0; width: 100%; }
}
@media (max-width: 420px) {
  .kacheln { grid-template-columns: 1fr 1fr; }
  .chips { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .chip { font-size: 1.1rem; padding: 10px 0; }
  .stimmt-knoepfe .knopf { min-width: 0; flex: 1; font-size: 1.2rem; padding: 16px 12px; }
  .eingabe { gap: 8px; }
  .extra { gap: 8px; }
}

/* ---------- Schriftlich rechnen ---------- */
.kachel.breit { grid-column: span 2; flex-direction: row; align-items: center; gap: 14px; }
.kachel.breit > span:last-child { display: flex; flex-direction: column; }
.schrift-karte { gap: 12px; }
.blatt {
  --zelle: 44px;
  display: grid; grid-template-columns: repeat(var(--spalten), var(--zelle)); justify-content: center;
  background: #fff; border-radius: 14px; padding: 8px 10px 10px; box-shadow: inset 0 0 0 2px #eef2fb;
}
.sz {
  width: var(--zelle); height: var(--zelle); display: grid; place-items: center;
  font-family: var(--zahl); font-weight: 700; font-size: calc(var(--zelle) * .62); line-height: 1;
  box-shadow: inset 0 0 0 .5px #dde5f6; color: var(--tinte); transition: background .2s;
}
.sz.st0 { background: rgba(124, 77, 255, .05); }
.sz.st1 { background: rgba(25, 179, 166, .07); }
.sz.st2 { background: rgba(255, 95, 162, .05); }
.sz.kopf { height: calc(var(--zelle) * .62); font-size: calc(var(--zelle) * .3); font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--grau); box-shadow: none; border-radius: 8px 8px 0 0; }
.sz.kopf.aktiv { background: var(--pink); color: #fff; }
.sz.kz { height: calc(var(--zelle) * .55); font-size: calc(var(--zelle) * .4); box-shadow: none; color: var(--pink); }
.sz.lz { height: 5px; background: var(--tinte) !important; box-shadow: none; }
.sz.op { color: var(--violett); }
.sz.ue, .sz.neuziffer { color: var(--pink); font-weight: 800; }
.sz.platz { color: #b9a6f5; }
.sz.durch { color: #b9b0c9; text-decoration: line-through; text-decoration-color: var(--pink); text-decoration-thickness: 3px; }
.sz.strich { box-shadow: inset 0 -3px 0 var(--tinte); }
.sz.geschrieben:not(.ue):not(.neuziffer):not(.op):not(.platz) { color: #3b2a8f; }
.sz.mark { background: #fff1a8 !important; border-radius: 8px; }
.sz.ziel { box-shadow: inset 0 0 0 3px var(--pink); border-radius: 8px; }
.sz.ziel:empty::after { content: '?'; color: #f3a6c8; animation: blinken 1.2s steps(2) infinite; }
.sz.neu { animation: einschreiben .4s ease; }
.sz.runter { animation: runter .5s ease; }
.sz.gruen { background: var(--tuerkis-hell) !important; color: #0c6e66 !important; }
@keyframes einschreiben { from { transform: scale(1.8); opacity: 0; } }
@keyframes runter { from { transform: translateY(-120%); opacity: 0; } }
.schritt-zeile {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--zahl); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.3rem); min-height: 1.6em;
}
.schritt-zeile .luecke { min-width: 1.6em; }
.luecke.ok { background: var(--tuerkis-hell); border-color: var(--tuerkis); color: #0c6e66; }
.stelle-chip { font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 800; background: var(--pink); color: #fff; padding: 4px 12px; border-radius: 99px; }
.merk { font-family: 'Nunito', sans-serif; font-size: 1.05rem; font-weight: 800; background: #fff1a8; color: #7a5a00; padding: 5px 12px; border-radius: 99px; }
.merk.leer { display: none; }
.merk.plopp { animation: plopp .5s ease; }
.sf-auto { font-family: 'Nunito', sans-serif; font-size: 1.2rem; color: var(--tinte); }
.sf-fertig { color: #0c9b8f; }
.knopf.klein { font-size: 1.05rem; padding: 8px 18px; box-shadow: 0 4px 0 #5a2fd6; }
@media (max-width: 420px) {
  .blatt { padding: 6px 4px 8px; }
  .sf-auto { font-size: 1rem; }
}
@media (max-width: 860px) {
  .buehne:has(.schrift-karte) .nova { width: 92px; flex-basis: 92px; }
  .buehne:has(.schrift-karte) .blase { margin-bottom: 8px; font-size: .95rem; padding: 10px 12px; }
  .buehne:has(.schrift-karte) .panel { gap: 10px; }
  .schrift-karte { padding: 10px 10px 12px; gap: 8px; }
  .schrift-karte .schritt-zeile { font-size: 1.5rem; }
  .schrift-karte ~ .eingabe .ziffern { gap: 7px; }
  .schrift-karte ~ .eingabe .taste { height: 50px; font-size: 1.6rem; }
}
