

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("inter-v1.woff2") format("woff2");
}
:root {
  --grund: #eef1f7;
  --text: #0c0f15;
  --leise: #5a6273;
  --sehrleise: #8a92a3;
  --glas: rgba(255, 255, 255, .58);
  --glas-stark: rgba(255, 255, 255, .82);
  --glas-rand: rgba(255, 255, 255, .75);
  --linie: rgba(12, 15, 21, .08);
  --schatten: 0 10px 34px rgba(30, 40, 70, .10), 0 1px 2px rgba(30, 40, 70, .06);
  --glanz: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25);
  --akzent: #3a63f3;
  --akzent-2: #19a7b8;
  --akzent-text: #fff;
  --gut: #17935b;
  --gut-flaeche: rgba(23, 147, 91, .12);
  --luecke: #4d5bd6;
  --luecke-flaeche: rgba(77, 91, 214, .12);
  --schwach: #c93a55;
  --schwach-flaeche: rgba(201, 58, 85, .10);
  --chip: rgba(12, 15, 21, .05);
  --sicher-oben: max(49px, env(safe-area-inset-top));
  --sicher-unten: max(27px, env(safe-area-inset-bottom));
  --start-oben: max(80px, calc(env(safe-area-inset-top) + 28px));
  --radius: 22px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --grund: #000;
    --text: #f3f5f9;
    --leise: #a0a8b8;
    --sehrleise: #6f7788;
    --glas: rgba(255, 255, 255, .065);
    --glas-stark: rgba(28, 30, 36, .86);
    --glas-rand: rgba(255, 255, 255, .11);
    --linie: rgba(255, 255, 255, .08);
    --schatten: 0 10px 34px rgba(0, 0, 0, .5);
    --glanz: inset 0 1px 0 rgba(255, 255, 255, .10);
    --akzent: #5b82ff;
    --akzent-2: #25c0cf;
    --gut: #3fcf8e;
    --gut-flaeche: rgba(63, 207, 142, .13);
    --luecke: #8b96ff;
    --luecke-flaeche: rgba(139, 150, 255, .14);
    --schwach: #ff6b86;
    --schwach-flaeche: rgba(255, 107, 134, .12);
    --chip: rgba(255, 255, 255, .07);
  }
}
:root[data-theme="dark"] {
  --grund: #000; --text: #f3f5f9; --leise: #a0a8b8; --sehrleise: #6f7788;
  --glas: rgba(255, 255, 255, .065); --glas-stark: rgba(28, 30, 36, .86); --glas-rand: rgba(255, 255, 255, .11);
  --linie: rgba(255, 255, 255, .08); --schatten: 0 10px 34px rgba(0, 0, 0, .5); --glanz: inset 0 1px 0 rgba(255, 255, 255, .10);
  --akzent: #5b82ff; --akzent-2: #25c0cf; --gut: #3fcf8e; --gut-flaeche: rgba(63, 207, 142, .13);
  --luecke: #8b96ff; --luecke-flaeche: rgba(139, 150, 255, .14); --schwach: #ff6b86; --schwach-flaeche: rgba(255, 107, 134, .12);
  --chip: rgba(255, 255, 255, .07);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--grund); color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px; line-height: 1.45; letter-spacing: -.005em;
  overflow-x: hidden; hyphens: manual; -webkit-hyphens: manual;
}
p, li, .text { text-wrap: pretty; overflow-wrap: break-word; }
h1, h2, h3, .titel { text-wrap: balance; hyphens: manual; -webkit-hyphens: manual; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }


.hintergrund { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hintergrund i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hintergrund i:nth-child(1) { width: 60vmax; height: 60vmax; left: -20vmax; top: -22vmax; background: #b9cbff; }
.hintergrund i:nth-child(2) { width: 50vmax; height: 50vmax; right: -18vmax; top: 18vh; background: #b5ece6; }
.hintergrund i:nth-child(3) { width: 46vmax; height: 46vmax; left: 10vw; bottom: -26vmax; background: #dcd0ff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hintergrund i { opacity: .12; }
}

.glas {
  background: var(--glas);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--glas-rand);
  box-shadow: var(--glanz), var(--schatten);
}

.blur-oben, .blur-unten {
  position: fixed; left: 0; right: 0; z-index: 20; pointer-events: none;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--grund) 55%, transparent);
}
.blur-oben { top: 0; height: var(--sicher-oben); }
.blur-unten { bottom: 0; height: var(--sicher-unten); z-index: 29; }

main { padding: var(--start-oben) 16px calc(var(--sicher-unten) + 104px); max-width: 1180px; margin: 0 auto; }

.kopf { margin: 0 64px 18px 0; }
.kopf .datum { margin: 0 0 2px; color: var(--leise); font-size: 14px; font-weight: 500; }
.kopf h1 { margin: 0; font-size: 34px; line-height: 1.08; font-weight: 800; letter-spacing: -.025em; }
h2.abschnitt { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--leise); font-weight: 600; margin: 26px 4px 10px; }

.hilfe-knopf {
  position: absolute; z-index: 30; right: 16px; top: max(72px, calc(env(safe-area-inset-top) + 22px));
  width: 50px; height: 50px; border-radius: 50%; font-size: 21px; font-weight: 700; cursor: pointer;
  display: grid; place-items: center;
}
.hilfe-knopf:active { transform: scale(.94); }


.karte { border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.karte h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.25; }
.karte p { margin: 0; }
.leise { color: var(--leise); }
.klein { font-size: 13px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 16px; background: var(--chip); text-decoration: none; color: inherit;
  transition: transform .15s ease, background .2s;
}
.knopf:active { transform: scale(.97); }
.knopf.primaer { background: var(--akzent); color: var(--akzent-text); box-shadow: 0 6px 18px color-mix(in srgb, var(--akzent) 35%, transparent); }
.knopf.breit { width: 100%; }
.knopf:disabled { opacity: .4; cursor: default; }
.knopf.klein { min-height: 44px; padding: 0 14px; font-size: 14px; }
.reihe { display: flex; gap: 10px; flex-wrap: wrap; }
.reihe > .knopf { flex: 1 1 140px; }


.wasjetzt {
  position: relative; overflow: hidden; width: 100%; min-height: 128px; border: 0; cursor: pointer;
  border-radius: 28px; padding: 20px 22px; text-align: left; color: #fff;
  background: linear-gradient(135deg, #3a63f3 0%, #4f56e8 45%, #19a7b8 100%);
  box-shadow: 0 16px 40px rgba(58, 99, 243, .32), inset 0 1px 0 rgba(255, 255, 255, .35);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; margin-bottom: 12px;
  transition: transform .2s cubic-bezier(.3, 1.4, .5, 1);
}
.wasjetzt:active { transform: scale(.98); }
.wasjetzt .gross { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.wasjetzt .unter { font-size: 15px; opacity: .88; }
.wasjetzt::before {
  content: ""; position: absolute; inset: -40% -10%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .35), transparent 70%);
  transform: translate(-60%, -10%); animation: schimmer 6s ease-in-out infinite;
}
.wasjetzt .stern { position: absolute; right: 20px; top: 18px; width: 38px; height: 38px; opacity: .95; }
.wasjetzt.denkt .stern { animation: drehen 0.9s cubic-bezier(.5, 0, .3, 1); }
@keyframes schimmer { 0%, 100% { transform: translate(-60%, -10%); } 50% { transform: translate(40%, 10%); } }
@keyframes drehen { to { transform: rotate(180deg) scale(1.1); } }

.empfehlung { margin-top: 0; animation: aufsteigen .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.empfehlung .marke { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--akzent); }
.empfehlung h3 { font-size: 21px; margin: 4px 0 2px; }
.empfehlung .grund { margin: 8px 0 14px; padding: 10px 12px; border-radius: 14px; background: var(--chip); font-size: 15px; }
.empfehlung .grund b { font-weight: 600; }
@keyframes aufsteigen { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }


.zeile-knopf { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; cursor: pointer; }
.zeile-knopf .sym { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); font-size: 20px; }
.zeile-knopf .mitte { flex: 1; min-width: 0; }
.zeile-knopf .mitte > b { display: block; font-size: 16px; }
.zeile-knopf .mitte > span:not(.werte) { display: block; font-size: 14px; color: var(--leise); }
.zeile-knopf .pfeil { color: var(--sehrleise); font-size: 22px; }
.werte { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.werte span { font-size: 13px; padding: 3px 9px; border-radius: 999px; background: var(--chip); color: var(--text); }


.modi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.modus { border-radius: 20px; padding: 14px; min-height: 108px; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--glas-rand); }
.modus svg { width: 28px; height: 28px; }
.modus b { font-size: 16px; line-height: 1.2; }
.modus span { font-size: 13px; color: var(--leise); line-height: 1.3; }
.modus:active, .kachel:active { transform: scale(.97); }
.modus.m-sos svg { color: #1fb5b0; }
.modus.m-weg svg { color: var(--akzent); }
.modus.m-frei svg { color: #6b6cf6; }
.modus.m-wdh svg { color: #2fb67c; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }


.level-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.level-ring { border-radius: 20px; padding: 12px 8px; text-align: center; cursor: pointer; border: 1px solid var(--glas-rand); }
.ring { position: relative; width: 58px; height: 58px; margin: 0 auto 6px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { stroke-width: 5; }
.ring .bahn { stroke: var(--chip); }
.ring .fuell { transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1); }
.ring .zahl { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 19px; }
.level-ring b { display: block; font-size: 14px; }
.level-ring span { font-size: 13px; color: var(--leise); }   

@media (max-width: 359px) { .level-ring b { font-size: 13px; line-height: 20.3px; margin: 0 -4px; white-space: nowrap; } }


.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kachel { position: relative; border-radius: 20px; padding: 14px; min-height: 132px; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--glas-rand); }
.kachel .ikon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.kachel .ikon svg { width: 22px; height: 22px; stroke-width: 2; }
.kachel b { font-size: 16px; line-height: 1.2; hyphens: manual; }
.kachel .beschr { font-size: 13px; color: var(--leise); line-height: 1.3; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 16 6 6; overflow-wrap: break-word; }
.kachel .lvl { position: absolute; top: 14px; right: 12px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--chip); }
.kachel.bald { opacity: .78; }
.kachel.bald .lvl { font-weight: 600; color: var(--leise); }
.kachel.schule { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: 12px; }
.kachel.schule .text-teil { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }


.blatt { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: center; align-items: stretch; background: rgba(0, 0, 0, .25); animation: einblenden .2s ease both; }
.blatt-innen {
  position: relative; width: 100%; height: 100%; display: flex; flex-direction: column;
  background: var(--grund); overflow: hidden; animation: hochfahren .38s cubic-bezier(.2, .9, .25, 1) backwards;   
}
.blatt-innen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: inherit; }
.blatt-kopf {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px;
  padding: calc(var(--sicher-oben) + 8px) 12px 10px;
  border-bottom: 1px solid var(--linie);
  background: color-mix(in srgb, var(--grund) 78%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.kopf-links, .kopf-rechts { min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; background: none; color: var(--akzent); font-weight: 600; font-size: 17px; cursor: pointer; border-radius: 12px; }
.kopf-links { justify-self: start; text-align: left; }
.kopf-rechts { justify-self: end; }
.kopf-links:empty { visibility: hidden; }
.kopf-mitte { text-align: center; font-weight: 700; font-size: 17px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blatt-inhalt { position: relative; flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 18px 16px calc(var(--sicher-unten) + 24px); }
.blatt-inhalt > .eng { max-width: 680px; margin: 0 auto; }
@keyframes einblenden { from { opacity: 0; } }
@keyframes sichtbar { from { opacity: 0; } to { opacity: 1; } }
@keyframes hochfahren { from { transform: translateY(40px); opacity: .3; } }


.gruppe { border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
.gruppe-titel { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--leise); margin: 0 6px 8px; font-weight: 600; }
.gruppe-fuss { font-size: 13px; color: var(--leise); margin: -10px 6px 18px; }
.eintrag { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border-bottom: 1px solid var(--linie); }
.eintrag:last-child { border-bottom: 0; }
.eintrag .name { flex: 1; min-width: 0; }
.eintrag .name small { display: block; color: var(--leise); font-size: 13px; }
.eintrag .wert { color: var(--leise); font-size: 15px; text-align: right; flex: 0 1 auto; min-width: 0; }
button.eintrag { width: 100%; border: 0; border-bottom: 1px solid var(--linie); background: none; text-align: left; cursor: pointer; }
button.eintrag:last-child { border-bottom: 0; }
.schalter { position: relative; width: 51px; height: 31px; flex: 0 0 auto; }
.schalter input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.schalter span { position: absolute; inset: 0; border-radius: 999px; background: var(--chip); transition: background .2s; box-shadow: inset 0 0 0 1px var(--linie); }
.schalter span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.3, 1.3, .5, 1); }
.schalter input:checked + span { background: var(--gut); }
.schalter input:checked + span::after { transform: translateX(20px); }
input[type="time"], input[type="date"], input[type="text"], select {
  font: inherit; font-size: 16px; color: var(--text); background: var(--chip); border: 0; border-radius: 10px; padding: 8px 10px; min-height: 40px;
}


.punkte { display: flex; gap: 6px; justify-content: center; }
.punkte i { width: 8px; height: 8px; border-radius: 50%; background: var(--chip); box-shadow: inset 0 0 0 1px var(--linie); transition: background .3s, width .3s; }
.punkte i.an { background: var(--akzent); box-shadow: none; }
.punkte i.jetzt { width: 22px; border-radius: 4px; background: var(--akzent); box-shadow: none; }
.schritt-zahl { margin-top: 4px; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--leise); font-variant-numeric: tabular-nums; }   
.check-zweit { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--chip); font-size: 16px; font-weight: 600; line-height: 1.35; }   
.schritt-marke { font-size: 13px; font-weight: 700; color: var(--akzent); text-transform: uppercase; letter-spacing: .06em; margin: 4px 0 8px; }
.frage { font-size: 22px; line-height: 1.28; font-weight: 700; margin: 0 0 18px; letter-spacing: -.01em; }
.optionen { display: flex; flex-direction: column; gap: 10px; }
.option {
  min-height: 56px; padding: 14px 16px; border-radius: 18px; text-align: left; cursor: pointer; font-size: 16px; line-height: 1.35;
  border: 1.5px solid var(--glas-rand); display: flex; gap: 12px; align-items: center;
  transition: transform .15s, border-color .2s, background .2s;
}
.option:active { transform: scale(.985); }
.option .bst { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); font-size: 13px; font-weight: 700; }
.option.gewaehlt { border-color: var(--akzent); }
.option.gewaehlt .bst { background: var(--akzent); color: #fff; }
.option.richtig { border-color: var(--gut); background: var(--gut-flaeche); }
.option.richtig .bst { background: var(--gut); color: #fff; }
.option.falsch { border-color: var(--schwach); background: var(--schwach-flaeche); }
.option.falsch .bst { background: var(--schwach); color: #fff; }
.option.teils { border-color: var(--luecke); background: var(--luecke-flaeche); }
.option.teils .bst { background: var(--luecke); color: #fff; }
.option:disabled { cursor: default; }
.option:disabled:not(.richtig):not(.falsch):not(.teils):not(.gewaehlt) { opacity: .55; }

.sicherheit { margin-top: 18px; animation: aufsteigen .3s ease both; }
.sicherheit p { margin: 0 0 8px; font-weight: 600; }
.sicherheit .chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip { min-height: 48px; border-radius: 14px; border: 1.5px solid var(--glas-rand); background: var(--glas); font-weight: 700; cursor: pointer; font-size: 15px; }
.chip:active { transform: scale(.96); }

.rueck { margin-top: 16px; padding: 14px 16px; border-radius: 18px; animation: aufsteigen .35s ease both; }
.rueck .kopfzeile { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 4px; }
.rueck.gut { background: var(--gut-flaeche); } .rueck.gut .kopfzeile { color: var(--gut); }
.rueck.luecke { background: var(--luecke-flaeche); } .rueck.luecke .kopfzeile { color: var(--luecke); }
.rueck.schwach { background: var(--schwach-flaeche); } .rueck.schwach .kopfzeile { color: var(--schwach); }
.rueck p { margin: 0; }
.rueck .zusatz { margin-top: 6px; font-size: 14px; color: var(--leise); }

.kernsatz { font-size: 23px; line-height: 1.28; font-weight: 700; margin: 0 0 16px; letter-spacing: -.01em; }
.kern-zeilen { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.kern-zeilen li { padding-left: 18px; position: relative; color: var(--text); }
.kern-zeilen li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--akzent); }

.baustein { margin: 18px 0; overflow-wrap: anywhere; }

.unten-knopf { position: sticky; bottom: calc(-1 * (var(--sicher-unten) + 24px)); padding: 26px 0 calc(var(--sicher-unten) + 24px); margin: 8px 0 calc(-1 * (var(--sicher-unten) + 24px)); background: linear-gradient(to bottom, transparent, var(--grund) 34%); z-index: 3; }
.vorlesen { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--chip); border-radius: 999px; min-height: 36px; padding: 0 12px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--text); }
.vorlesen svg { width: 18px; height: 18px; }
.vorlesen.spricht { background: var(--akzent); color: #fff; }


.ablauf { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 4px 0; }
.ablauf .s { padding: 12px 14px; border-radius: 16px; font-weight: 600; text-align: center; opacity: 0; animation: aufsteigen .5s ease forwards; }
.ablauf .p { align-self: center; height: 22px; width: 2px; margin: 2px 0; background: linear-gradient(var(--akzent), transparent); opacity: 0; animation: sichtbar .4s ease forwards; position: relative; }
.ablauf .p::after { content: ""; position: absolute; left: -4px; bottom: -2px; border: 5px solid transparent; border-top-color: var(--akzent); }
@media (min-width: 560px) {
  .ablauf { flex-direction: row; align-items: center; flex-wrap: nowrap; }
  .ablauf .s { flex: 1; }
  .ablauf .p { height: 2px; width: 26px; margin: 0 2px; background: linear-gradient(90deg, var(--akzent), transparent); }
  .ablauf .p::after { left: auto; right: -6px; bottom: -4px; border-top-color: transparent; border-left-color: var(--akzent); }
}
.balken { display: flex; flex-direction: column; gap: 10px; margin: 4px 0; }
.balken .b-titel { font-size: 13px; color: var(--leise); font-weight: 600; }
.balken .b { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 14px; }
.balken .b .bahn { grid-column: 1 / -1; height: 10px; border-radius: 6px; background: var(--chip); overflow: hidden; }
.balken .b .bahn i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--akzent), var(--akzent-2)); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.balken .b .w { font-variant-numeric: tabular-nums; font-weight: 600; }
.paare { display: flex; flex-direction: column; gap: 8px; }
.paare .pz { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; opacity: 0; animation: aufsteigen .45s ease forwards; }
.paare .pz span { padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.3; }
.paare .pz .l { background: var(--chip); }
.paare .pz .r { font-weight: 600; }
.paare .pz em { font-style: normal; color: var(--akzent); font-weight: 700; }
.mischbild { display: flex; flex-direction: column; gap: 12px; }
.mischbild .mz { display: flex; align-items: center; gap: 10px; }
.mischbild .mz b { width: 64px; font-size: 14px; flex: 0 0 auto; }
.mischbild .q { display: flex; gap: 4px; flex-wrap: wrap; }
.mischbild .q i { width: 16px; height: 16px; border-radius: 6px; opacity: 0; animation: sichtbar .3s ease forwards; }

.quellen { margin-top: 18px; font-size: 13px; color: var(--leise); }
.quellen a { color: var(--akzent); text-decoration: none; overflow-wrap: anywhere; }
.quellen p { margin: 4px 0; }


.ende { text-align: center; padding-top: 10px; }
.ende .haken { width: 76px; height: 76px; margin: 6px auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--gut-flaeche); color: var(--gut); animation: ploppen .55s cubic-bezier(.2, 1.5, .4, 1) both; }
.ende .haken svg { width: 40px; height: 40px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: zeichnen .5s .25s ease forwards; }
.ende h2 { margin: 0 0 6px; font-size: 24px; }
.xp-balken { margin: 18px auto 6px; max-width: 360px; text-align: left; }
.xp-balken .kopfzeile { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.xp-balken .bahn { height: 12px; border-radius: 8px; background: var(--chip); overflow: hidden; }
.xp-balken .bahn i { display: block; height: 100%; border-radius: 8px; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.xp-plus { display: inline-block; font-weight: 800; color: var(--gut); animation: aufsteigen .5s .6s ease both; }

.fluss-meldungen { margin: 10px 0 4px; }
.fluss-meldungen:empty { display: none; }
.fluss-meldungen p { margin: 4px 0; font-size: 14px; font-weight: 600; color: var(--leise); }
.quellen-zu > summary, .wunsch-zu > summary { list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.quellen-zu > summary::-webkit-details-marker, .wunsch-zu > summary::-webkit-details-marker { display: none; }
.quellen-zu > summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; }
.quellen-zu .pfeil, .wunsch-zu .pfeil { display: inline-block; font-size: 20px; line-height: 1; color: var(--leise); }
.quellen-zu[open] > summary .pfeil, .wunsch-zu[open] > summary .pfeil { transform: rotate(90deg); }
.wunsch-zu { padding-top: 6px; padding-bottom: 6px; }
.wunsch-zu > summary.wunsch-verdient-kopf { min-height: 44px; margin-bottom: 0; }
.wunsch-zu[open] { padding-bottom: 16px; }
.wunsch-zu .wunsch-zu-text { margin: 6px 0 12px; font-size: 14px; color: var(--leise); }
.unten-knopf.ende-fuss { margin-left: -16px; margin-right: -16px; padding-top: 14px; padding-left: 16px; padding-right: 16px; border-top: 1px solid var(--linie);
  background: color-mix(in srgb, var(--grund) 78%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
@keyframes ploppen { from { transform: scale(.3); opacity: 0; } }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }


.ueberlage { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px 16px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: einblenden .25s ease both; }
.aufstieg { width: 100%; max-width: 380px; border-radius: 30px; padding: 28px 22px 20px; text-align: center; background: var(--glas-stark); animation: hochfahren .5s cubic-bezier(.2, 1.2, .3, 1) both; }
.aufstieg .ring { width: 120px; height: 120px; margin-bottom: 14px; }
.aufstieg .ring circle { stroke-width: 7; }
.aufstieg .ring .zahl { font-size: 44px; animation: ploppen .6s 1s cubic-bezier(.2, 1.6, .4, 1) both; }
.aufstieg .marke { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.aufstieg h2 { margin: 4px 0 6px; font-size: 26px; }
.aufstieg .neu { margin: 14px 0 18px; padding: 12px; border-radius: 16px; background: var(--chip); animation: aufsteigen .5s 1.3s ease both; }


.sos-buehne { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 8px; }
.atem { position: relative; width: min(72vw, 300px); aspect-ratio: 1; margin: 18px auto 10px; }
.atem .kreis { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55), transparent 55%), linear-gradient(135deg, #25c0cf, #3a63f3); transform: scale(.55); box-shadow: 0 0 60px rgba(37, 192, 207, .35); transition: transform 1s linear; }
.atem .uhr { position: absolute; inset: -12px; transform: rotate(-90deg); }
.atem .uhr circle { stroke-width: 4; }
.atem-wort { font-size: 26px; font-weight: 800; min-height: 36px; letter-spacing: -.01em; }
.atem-unter { color: var(--leise); min-height: 22px; }


.zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.zahl-karte { border-radius: 18px; padding: 14px; }
.zahl-karte b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.zahl-karte span { font-size: 13px; color: var(--leise); }
.bericht-balken { display: flex; flex-direction: column; gap: 10px; }
.bericht-balken .b { display: grid; grid-template-columns: 92px 1fr 52px; gap: 10px; align-items: center; font-size: 14px; }
.bericht-balken .bahn { height: 10px; border-radius: 6px; background: var(--chip); overflow: hidden; }
.bericht-balken .bahn i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--akzent), var(--akzent-2)); }
.bericht-balken .w { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }


.boss-emblem { position: relative; width: 150px; height: 150px; margin: 10px auto 18px; }
.boss-emblem svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.boss-emblem .r1 { animation: kreisen 14s linear infinite; }
.boss-emblem .r2 { animation: kreisen 22s linear infinite reverse; }
.boss-emblem .kern { animation: atmen 4s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes kreisen { to { transform: rotate(360deg); } }
@keyframes atmen { 50% { transform: scale(1.06); opacity: .85; } }


.weg { position: relative; margin: 6px 0 0; padding: 0; list-style: none; }
.weg::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--linie); }
.weg li { position: relative; }
.weg button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: none; padding: 8px 0; cursor: pointer; min-height: 56px; }
.weg .knoten { position: relative; z-index: 1; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--grund); box-shadow: inset 0 0 0 2px var(--linie); color: var(--leise); }
.weg .fertig .knoten { background: var(--gut); color: #fff; box-shadow: none; }
.weg .jetzt .knoten { background: var(--akzent); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--akzent) 22%, transparent); animation: puls 2.4s ease-in-out infinite; }
.weg .bald .knoten { opacity: .5; }
.weg .t { flex: 1; min-width: 0; }
.weg .t b { display: block; font-size: 16px; }
.weg .t span { font-size: 13px; color: var(--leise); }
@keyframes puls { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--akzent) 10%, transparent); } }


.ci-reihe { margin-bottom: 18px; }
.ci-reihe .ci-kopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.ci-reihe .ci-kopf b { font-size: 17px; }
.ci-reihe .ci-kopf span { font-size: 13px; color: var(--leise); }
.skala { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.skala button { min-height: 50px; border-radius: 14px; border: 1.5px solid var(--glas-rand); background: var(--glas); font-weight: 700; font-size: 17px; cursor: pointer; transition: transform .15s, background .2s; }
.skala button.an { background: var(--akzent); color: #fff; border-color: var(--akzent); transform: scale(1.04); }
.skala.gesicht button { font-size: 24px; }
.ci-kopf b em { display: inline-block; min-width: 2ch; font-style: normal; color: var(--akzent); font-variant-numeric: tabular-nums; }
.skala.zehn { grid-template-columns: repeat(10, 1fr); gap: 4px; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; cursor: pointer; border-radius: 14px; }
.skala.zehn:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
.skala.zehn i { display: grid; place-items: center; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--glas-rand); background: var(--glas); font-style: normal; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; transition: transform .15s, background .2s; }
.skala.zehn i.drunter { background: color-mix(in srgb, var(--akzent) 16%, var(--glas)); }
.skala.zehn i.an { background: var(--akzent); color: #fff; border-color: var(--akzent); transform: scale(1.06); }


.ereignisse { font-size: 14px; }
.ereignisse .eintrag { min-height: 44px; padding: 8px 14px; align-items: flex-start; }
.ereignisse .zeit { flex: 0 0 auto; width: 84px; color: var(--leise); font-variant-numeric: tabular-nums; }

.toast { width: max-content; position: fixed; left: 50%; bottom: calc(var(--sicher-unten) + 92px); z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: var(--glas-stark); box-shadow: var(--schatten); font-size: 14px; font-weight: 600; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.an { opacity: 1; transform: translate(-50%, 0); }


.tabbar {
  --tabbar-unten: max(12px, calc(env(safe-area-inset-bottom) - 6px));
  --tabbar-text: var(--leise); --tabbar-akzent: var(--akzent);
  --tabbar-flaeche: var(--glas); --tabbar-kante: var(--glas-rand); --tabbar-schatten: var(--glanz), var(--schatten);
  --tabbar-pille: color-mix(in srgb, var(--akzent) 13%, transparent);
}


@media (min-width: 900px) {
  main { padding-left: 32px; padding-right: 32px; }
  .kopf h1 { font-size: 44px; }
  .heute-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .heute-raster h2.abschnitt:first-child { margin-top: 0; }
  .wasjetzt { min-height: 190px; padding: 28px; }
  .wasjetzt .gross { font-size: 40px; }
  .kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .kachel.schule { grid-column: span 2; }
  .modi { gap: 12px; }
  .blatt { align-items: center; padding: 32px; background: rgba(0, 0, 0, .35); }
  .blatt-innen { max-width: 820px; height: min(900px, calc(100vh - 64px)); border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); border: 1px solid var(--glas-rand); }
  .blatt-kopf { padding-top: 12px; }
  .blatt-inhalt { padding: 26px 32px 32px; }
  .woche-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  .zahlen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ich-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .tabbar { --tabbar-unten: 18px; --tabbar-hoehe: 64px; }
}
@media (min-width: 1300px) { .kacheln { grid-template-columns: repeat(5, minmax(0, 1fr)); } .kachel.schule { grid-column: span 2; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .atem .kreis { transition: transform 1s linear !important; }
}
@media (min-width: 900px) and (hover: hover) {
  .blur-oben, .blur-unten { display: none; }
  .hilfe-knopf { right: max(16px, calc((100% - 1180px) / 2 + 32px)); }
}


.eintrag textarea { flex: 1; min-width: 0; font: inherit; font-size: 16px; line-height: 1.4; color: var(--text); background: var(--chip); border: 0; border-radius: 10px; padding: 10px 12px; min-height: 88px; resize: vertical; }


.abz-zahl { margin: 4px 6px 18px; color: var(--leise); font-size: 15px; }
.abz-zahl b { color: var(--text); font-size: 28px; font-weight: 800; }
.abz-raster .abz-name { font-size: 14px; }
.abz-raster .abz.zu .abz-name { color: var(--text); }
.abz-kurz { max-width: 100%; color: var(--leise); font-size: 14px; line-height: 1.25; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.abz-toast { display: flex; align-items: center; gap: 12px; width: min(380px, calc(100% - 32px)); padding: 10px 16px 10px 10px; border-radius: 22px; text-align: left; font-weight: 400; -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); }
.abz-toast .abz { flex: none; padding: 0; min-height: 0; cursor: default; }
.abz-toast .abz-name { display: none; }
.abz-toast-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; text-wrap: pretty; }
.abz-toast-text small { color: var(--leise); font-size: 14px; font-weight: 600; }
.abz-toast-text b { font-size: 16px; font-weight: 700; }
.abz-toast-text span { color: var(--leise); font-size: 14px; line-height: 1.3; }
.abz-detail { padding-top: 12px; }
.abz-detail p + p { margin-top: 10px; }

.boss-sieg .boss-emblem { animation: boss-sieg .6s cubic-bezier(.2, 1.2, .3, 1) both; }
@keyframes boss-sieg { from { transform: scale(.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .boss-sieg .boss-emblem, .boss-sieg .boss-emblem svg, .boss-sieg .xp-plus { animation: none !important; } }

.missionen .eintrag { color: var(--text); font: inherit; font-size: 16px; line-height: 1.35; text-wrap: pretty; hyphens: auto; overflow-wrap: anywhere; }
.missionen .eintrag:disabled { opacity: 1; cursor: default; }
.m-haken { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--leise); display: grid; place-items: center; color: transparent; }
.m-haken svg { stroke-width: 3; }
.mission.erledigt .m-haken { border-color: var(--gut); background: var(--gut); color: #fff; }
.mission.jetzt .m-haken { animation: m-tick .35s cubic-bezier(.2, 1.4, .4, 1) both; }
.mission.erledigt small { color: var(--gut); }
@keyframes m-tick { from { transform: scale(.6); opacity: .4; } to { transform: scale(1); opacity: 1; } }

.kopf .serie-zeile { margin: 6px 0 0; color: var(--leise); font-size: 14px; font-weight: 600; text-wrap: pretty; }
.frisch .xp-balken { margin: 0; max-width: none; }
.bahn i[data-feder] { transform-origin: left center; transition: transform .55s cubic-bezier(.34, 1.56, .64, 1); }
.ende .ende-satz { margin: 14px 0 0; font-size: 20px; font-weight: 700; text-wrap: balance; }

#push-an { flex-wrap: wrap; row-gap: 2px; }
#push-an .name { flex-basis: 100%; }
#push-an .wert { text-align: left; font-size: 13px; text-wrap: pretty; }

.lade .heute-raster { animation: lade-atmen 1s ease-in-out infinite alternate; }
.lade .wasjetzt { cursor: default; }
.lade .karte { height: 96px; }
@keyframes lade-atmen { to { opacity: .8; } }
@media (prefers-reduced-motion: reduce) { .lade .heute-raster { animation: none; } }


html, body { overflow-x: clip; }


@media (min-width: 744px) and (max-width: 999px) { html[data-ipad] main { max-width: 700px; } }
