/* Die vier Bereiche, Maß für Maß aus dem Design-Artefakt „Interessen im Mittelpunkt“.
   .u-* = ab 10 (Board U, Q), .v-* = Kinder (Board V). */

/* ---------- Farben ab 10, hell und dunkel (wie im Board) ---------- */
.app {
  /* Fächerfarben (js/lehrplan.js): Schrift, Punkte, Balken. Mindestens 4,5:1 auf Papier, Karte und Fläche */
  --fa-mathe: #2b62bd; --fa-deutsch: #ad2f7c; --fa-englisch: #6a43c0; --fa-bio: #1b7a4f;
  --fa-geschichte: #9a4529; --fa-geografie: #11707c; --fa-physik: #5f6f10; --fa-chemie: #9e520a;
  --fa-musik: #7d5500; --fa-kunst: #a2461a; --fa-technik: #44587a; --fa-sport: #0b6a70;
  --mi-blue: #28427f; --mi-insp: #56354b; --mi-clar: #284e3f; --mi-love: #874246; --mi-calm: #77667b;
  --mi-friend: #376870; --mi-joy: #955c45; --mi-grat: #5d6c48; --mi-pride: #22293d;
  --yglow: rgba(27,41,80,0.16);
}
.app[data-theme="dunkel"] {
  --fa-mathe: #93b8f5; --fa-deutsch: #f29ac0; --fa-englisch: #bba6f3; --fa-bio: #7fd1a8;
  --fa-geschichte: #ee9f84; --fa-geografie: #7fd0d8; --fa-physik: #c3d77a; --fa-chemie: #f2b066;
  --fa-musik: #f2c45a; --fa-kunst: #f6a77a; --fa-technik: #a9bcdc; --fa-sport: #7fd0d8;
  --mi-blue: #b3c1e6; --mi-insp: #e5bcd6; --mi-clar: #acd6c3; --mi-love: #feb4b6; --mi-calm: #d6c3da;
  --mi-friend: #a2d5de; --mi-joy: #fab9a0; --mi-grat: #c1d2aa; --mi-pride: #c0cae4;
  --yglow: rgba(241,199,74,0.3);
}

/* ---------- Rahmen ab 10 ---------- */
.u-app { --bg: var(--paper); --bg2: var(--paper2); --y: var(--btn); --on: var(--btn-ink); min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; }
.u-screen { width: 100%; max-width: 430px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; gap: 14px; padding: 30px 20px calc(90px + env(safe-area-inset-bottom)); }
.u-screen.has-back { padding-top: 14px; }
.u-fill { flex: 1; }
:where(.u-app) button { cursor: pointer; font: inherit; color: inherit; }
.u-app :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.u-p { font-family: Poppins, 'DM Sans', sans-serif; font-weight: 600; }
.u-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.u-head h1, .u-title { margin: 0; font-family: Poppins, sans-serif; font-weight: 600; font-size: 26px; line-height: 1.2; }
.u-pill { font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink2); white-space: nowrap; background: none; }
.u-link { font-size: 14px; color: var(--ink2); background: none; border: 0; padding: 10px 0 10px 10px; min-height: 44px; }
.u-back { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; min-height: 44px; padding: 0 8px 0 0; color: var(--ink); text-decoration: none; font-family: Poppins, sans-serif; font-weight: 600; font-size: 15px; }
.u-back svg { width: 18px; height: 18px; stroke-width: 2.2; }
.u-sub { margin: -6px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
@keyframes uIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.u-in { animation: uIn 240ms cubic-bezier(.23,1,.32,1) both; }
.u-b { transition: background-color 150ms cubic-bezier(.23,1,.32,1), transform 160ms cubic-bezier(.23,1,.32,1); }
.u-b:active { transform: scale(.97); }

/* Punkte: sitzt, wackelt, jetzt, kommt */
.d { display: inline-block; flex: none; border-radius: 999px; }
.d-full { background: var(--c); }
.d-half { background: linear-gradient(90deg, var(--c) 50%, transparent 50%); box-shadow: inset 0 0 0 2px var(--c); }
.d-ring { background: transparent; box-shadow: inset 0 0 0 2px var(--c); }
.d-now { background: var(--bg, var(--paper)); box-shadow: inset 0 0 0 2px var(--y, var(--btn)), 0 0 0 3px var(--yglow); }

/* Leiste unten */
.u-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); height: calc(74px + env(safe-area-inset-bottom)); padding: 0 max(0px, calc((100% - 430px) / 2)) env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: var(--card); }
.u-tabs a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink3); text-decoration: none; font-family: Poppins, sans-serif; font-weight: 600; font-size: 12px; }
.u-tabs a svg { width: 22px; height: 22px; }
.u-tabs a .bar { position: absolute; top: -1px; left: 24%; right: 24%; height: 3px; border-radius: 0 0 3px 3px; background: transparent; }
.u-tabs a[aria-current="page"] { color: var(--ink); }
.u-tabs a[aria-current="page"] .bar { background: var(--y); }

/* Der eine Knopf */
.u-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: var(--y); color: var(--on) !important; font-family: Poppins, sans-serif; font-weight: 600; font-size: 17px; text-decoration: none; box-shadow: 0 10px 26px -14px var(--yglow); }
.u-cta svg { width: 11px; height: 16px; flex: none; }
.u-cta.ghost { background: var(--card); color: var(--ink) !important; box-shadow: none; border: 1px solid var(--line2); font-size: 15px; min-height: 48px; }

/* Heute */
.u-termin { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--bg2); border: 0; text-align: left; width: 100%; text-decoration: none; color: inherit; }
.u-ibox { width: 40px; height: 40px; border-radius: 12px; background: var(--card); display: inline-flex; align-items: center; justify-content: center; }
.u-ibox svg, .u-ibox44 svg { width: 22px; height: 22px; }
.u-t1 { font-family: Poppins, sans-serif; font-weight: 600; font-size: 15px; line-height: 1.3; }
.u-t2 { font-size: 13px; color: var(--ink2); line-height: 1.35; }
.u-col { display: flex; flex-direction: column; min-width: 0; }
.u-big { font-family: Poppins, sans-serif; font-weight: 600; font-size: 28px; }
.u-h3row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.u-h3row h2 { margin: 0; font-family: Poppins, sans-serif; font-weight: 600; font-size: 18px; }
.u-h3row span { font-size: 14px; color: var(--ink2); }
.u-segs { display: flex; gap: 4px; height: 10px; }
.u-segs .d { flex: 1; height: 10px; }
.u-rounds { display: flex; flex-direction: column; gap: 8px; }
.u-round { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 64px; padding: 8px 12px; border-radius: 18px; background: var(--bg2); border: 0; text-align: left; width: 100%; }
.u-round.on { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line2); }
.u-ibox44 { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); }
.u-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink2); white-space: nowrap; }
.u-state .d { width: 14px; height: 14px; }

/* Meine Welt */
.u-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.u-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; font-family: Poppins, sans-serif; font-weight: 600; font-size: 14px; background: transparent; color: var(--ink); border: 1px solid var(--line2); }
.u-chip[aria-pressed="true"] { background: var(--wc); color: #ffffff !important; border-color: var(--wc); }
.u-hero { position: relative; height: 210px; flex: none; padding: 20px; border-radius: 26px; overflow: hidden; color: #ffffff; display: flex; flex-direction: column; gap: 6px; background: var(--wc); }
.u-hero .t { font-family: Poppins, sans-serif; font-weight: 600; font-size: 30px; line-height: 1.1; }
.u-hero .s { font-size: 15px; }
.u-hero svg { position: absolute; right: -6px; bottom: -14px; width: 150px; height: 150px; }
.u-path { position: relative; padding: 6px 8px 0; }
.u-path .line { position: absolute; left: 18px; right: 18px; top: 16px; height: 2px; background: var(--line); }
.u-path ol { position: relative; margin: 0; padding: 0; list-style: none; display: flex; justify-content: space-between; }
.u-path li { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 52px; }
.u-path li .d { width: 22px; height: 22px; }
.u-path li span:last-child { font-size: 12px; line-height: 1.25; text-align: center; color: var(--ink2); }
.u-path li.now span:last-child { color: var(--ink); font-weight: 600; }
.u-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.u-card .u-txt { font-size: 15px; line-height: 1.45; color: var(--ink); margin: 0; }
.u-bridge { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--bg2); font-size: 14px; color: var(--ink2); }
.u-bridge svg { width: 18px; height: 18px; flex: none; }

/* Schule */
.u-pillbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: none; font-family: Poppins, sans-serif; font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; text-decoration: none; }
.u-pillbtn svg { width: 16px; height: 16px; }
.u-count { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: end; padding: 16px; border-radius: 20px; background: var(--bg2); border: 0; text-align: left; width: 100%; color: inherit; text-decoration: none; }
.u-count .n { font-family: Poppins, sans-serif; font-weight: 600; font-size: 52px; line-height: .95; }
.u-bars { display: grid; gap: 4px; align-items: end; height: 60px; }
.u-bars > span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.u-bars i { display: block; width: 100%; border-radius: 4px; }
.u-bars b { font-weight: 400; font-size: 12px; color: var(--ink3); }
.u-subjects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.u-subj { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 18px; text-align: left; color: var(--ink); background: var(--bg2); border: 1.5px solid transparent; }
.u-subj[aria-pressed="true"] { background: var(--card); border-color: var(--line2); }
.u-subj .tp { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.u-subj .tp svg { width: 22px; height: 22px; }
.u-subj .tp span { font-size: 12px; color: var(--ink2); }
.u-subj .nm { font-family: Poppins, sans-serif; font-weight: 600; font-size: 16px; }
.u-dots { display: flex; gap: 5px; flex-wrap: wrap; }
.u-dots .d { width: 12px; height: 12px; }
.u-wchip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--bg); font-size: 14px; }
.u-wchip .d { width: 12px; height: 12px; }

/* Ich */
.u-me { display: flex; align-items: center; gap: 14px; min-height: 56px; }
.u-ava { width: 52px; height: 52px; border-radius: 999px; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-family: Poppins, sans-serif; font-weight: 600; font-size: 22px; flex: none; }
.u-map { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; background: var(--bg2); }
.u-map .grid { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 7px; }
.u-map .grid .d { aspect-ratio: 1; width: 100%; }
.u-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--ink2); }
.u-legend span { display: inline-flex; align-items: center; gap: 6px; }
.u-legend .d { width: 10px; height: 10px; }
.u-better { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.u-better .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.u-better .d { width: 14px; height: 14px; }
.u-rows { display: flex; flex-direction: column; }
.u-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 52px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; width: 100%; color: inherit; text-decoration: none; font-size: 15px; padding: 0; }
.u-row svg { width: 20px; height: 20px; color: var(--ink2); }
.u-row .v { font-size: 13px; color: var(--ink2); text-align: right; }
.u-rows .u-cap { font-family: Poppins, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); padding: 18px 0 4px; }

/* Regal (Board Q) */
.u-shelf { display: flex; flex-direction: column; gap: 8px; }
.u-shelf .nm { font-family: Poppins, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.u-books { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding: 0 6px; border-bottom: 6px solid var(--line); overflow-x: auto; overflow-y: hidden; }
.u-book { position: relative; flex: none; display: flex; align-items: flex-start; justify-content: center; padding: 12px 0 0; border: 0; border-radius: 6px 6px 2px 2px; color: #ffffff !important; writing-mode: vertical-rl; font-family: Poppins, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .02em; box-shadow: inset -3px 0 0 rgba(0,0,0,0.18); transition: transform 200ms cubic-bezier(.23,1,.32,1); overflow: hidden; white-space: nowrap; }
.u-book[aria-pressed="true"] { transform: translateY(-10px); box-shadow: 0 0 0 2px var(--y); }
.u-book i { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.18); border-radius: 0 0 2px 2px; }
.u-book[data-ink="dunkel"] { color: #17203a !important; }
.u-book[data-ink="dunkel"] i { background: rgba(23,32,58,0.14); }
.u-newbook { flex: none; width: 46px; height: 120px; border: 2px dashed var(--line2); border-radius: 6px 6px 2px 2px; display: flex; align-items: center; justify-content: center; color: var(--ink2); font-family: Poppins, sans-serif; font-weight: 600; font-size: 13px; writing-mode: vertical-rl; background: none; }
.u-detail { padding: 18px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.u-detail .hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.u-tag { flex: none; font-family: Poppins, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--bg2); color: var(--link); }
.u-tag.ai { background: var(--hint); color: var(--accent); }
.u-tag.ok { background: var(--okbg); color: var(--ok); }
.u-ch { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.u-ch li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.35; }
.u-ch li .d { width: 10px; height: 10px; }
.u-ch li span:nth-child(2) { flex: 1; }
.u-ch li span:last-child { font-size: 13px; color: var(--ink2); }
.u-note { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--bg2); font-size: 14px; line-height: 1.45; color: var(--ink); }

/* Prüfungen planen (Board Q) */
.u-exams { display: flex; flex-direction: column; gap: 6px; }
.u-exam { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.u-exam .sq { width: 12px; height: 12px; border-radius: 3px; }
.u-exam .dt { font-size: 13px; text-align: right; }
.u-exam .x { width: 32px; height: 32px; border-radius: 999px; border: 0; background: none; color: var(--ink3); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.u-exam .x svg { width: 16px; height: 16px; }
.u-chart { display: flex; flex-direction: column; gap: 6px; padding: 14px 10px 10px; border-radius: 18px; background: var(--bg2); }
.u-chart .cols, .u-chart .labs { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; }
.u-chart .cols { align-items: end; height: 92px; }
.u-chart .col { display: flex; flex-direction: column-reverse; gap: 2px; height: 92px; padding: 2px; }
.u-chart .col.today { box-shadow: inset 0 0 0 1px var(--line2); border-radius: 4px; }
.u-chart .col i { height: 16px; border-radius: 3px; }
.u-chart .labs span { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12px; line-height: 1.2; color: var(--ink2); }
.u-chart .labs span.we { color: var(--ink3); }
.u-chart .labs span.today { color: var(--ink); font-weight: 500; }
.u-chart .labs b { height: 14px; font-family: Poppins, sans-serif; font-weight: 600; font-size: 12px; }
.u-chart .leg { font-size: 12px; color: var(--ink2); }
.u-caps { display: flex; gap: 8px; }
.u-capbtn { flex: 1; min-height: 48px; border-radius: 999px; font-family: Poppins, sans-serif; font-weight: 600; font-size: 15px; background: var(--card); color: var(--ink); border: 1px solid var(--line2); }
.u-capbtn[aria-pressed="true"] { background: var(--y); color: var(--on) !important; border-color: var(--y); }
.u-toggle { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border-radius: 999px; font-family: Poppins, sans-serif; font-weight: 600; font-size: 15px; background: var(--card); color: var(--ink); border: 1px solid var(--line2); }
.u-toggle[aria-pressed="true"] { background: var(--y); color: var(--on) !important; border-color: var(--y); }
.u-plan { margin: 0; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.u-plan.ok { background: var(--okbg); box-shadow: inset 0 0 0 1px var(--ok); }
.u-plan.knapp { background: var(--hint); box-shadow: inset 0 0 0 1px var(--hint-line); }
.u-lab { font-family: Poppins, sans-serif; font-weight: 600; font-size: 14px; }

/* ---------- Kinder (Board V) ---------- */
.v-app { min-height: 100vh; min-height: 100dvh; background: #fcf9f2; color: #22293d; font-family: 'DM Sans', system-ui, sans-serif; }
.v-screen { width: 100%; max-width: 430px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; gap: 16px; padding: 30px 20px calc(104px + env(safe-area-inset-bottom)); }
:where(.v-app) button { cursor: pointer; font: inherit; color: inherit; }
.v-app :focus-visible { outline: 3px solid #3a6ce0; outline-offset: 3px; }
.v-f { font-family: Fredoka, 'DM Sans', sans-serif; font-weight: 600; }
.v-head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.v-head h1 { margin: 0; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 30px; line-height: 1.15; }
.v-head .r { display: flex; align-items: center; gap: 8px; }
.v-days { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; background: #ffffff; box-shadow: inset 0 0 0 1px #e7e0d1; }
.v-speak { width: 48px; height: 48px; border-radius: 999px; background: #ffffff; box-shadow: inset 0 0 0 1px #e7e0d1; display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 0; }
.v-speak svg { width: 24px; height: 24px; }
.v-b { transition: background-color 150ms cubic-bezier(.23,1,.32,1), transform 160ms cubic-bezier(.23,1,.32,1); }
.v-b:active { transform: scale(.96); }
@keyframes vIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.v-in { animation: vIn 260ms cubic-bezier(.23,1,.32,1) both; }
@keyframes vPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes vFloat { 0%, 100% { transform: translateY(0) rotate(6deg); } 50% { transform: translateY(-6px) rotate(6deg); } }

.v-hello { position: relative; display: flex; align-items: flex-end; gap: 4px; min-height: 140px; }
.v-hello img { flex: none; height: 120px; width: auto; margin-bottom: 4px; animation: vFloat 3.2s ease-in-out infinite; }
.v-bubble { position: relative; flex: 1; padding: 18px; border-radius: 26px; background: #ffffff; box-shadow: 0 18px 40px -28px rgba(23,32,58,0.45), inset 0 0 0 1px #e7e0d1; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 22px; line-height: 1.25; margin: 0 0 40px; }
.v-rounds { display: flex; flex-direction: column; gap: 12px; }
.v-round { display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; gap: 14px; align-items: center; min-height: 88px; padding: 10px 14px 10px 12px; border-radius: 26px; border: 0; text-align: left; width: 100%; color: #22293d; background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0) 60%), var(--rc); box-shadow: inset 0 -6px 0 rgba(34,41,61,0.16), 0 12px 22px -14px rgba(34,41,61,0.55); }
.v-round.on { box-shadow: inset 0 0 0 4px #22293d, inset 0 -6px 0 rgba(34,41,61,0.16), 0 12px 22px -14px rgba(34,41,61,0.55); }
.v-round.fin { opacity: .72; }
.v-ic64 { width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,0.65); display: inline-flex; align-items: center; justify-content: center; }
.v-ic64 svg { width: 36px; height: 36px; }
.v-round .t { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 21px; line-height: 1.15; }
.v-round .s { font-size: 15px; }
.v-mark { width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.65); box-shadow: inset 0 0 0 2px #22293d; }
.v-mark svg { width: 20px; height: 20px; opacity: 0; }
.v-round.fin .v-mark { background: #22293d; box-shadow: none; }
.v-round.fin .v-mark svg { opacity: 1; }
.v-fill { flex: 1; }
.v-cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 68px; border: 0; border-radius: 999px; background: #22293d; color: #fcf9f2 !important; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 22px; text-decoration: none; }
.v-cta2 { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 64px; border: 0; border-radius: 999px; background: #ffffff; box-shadow: inset 0 0 0 2px #847c6b, 0 5px 0 #d9d0bf; color: #22293d !important; text-decoration: none; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 19px; }

.v-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.v-chip { min-height: 64px; padding: 0 18px; border-radius: 999px; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 18px; background: #ffffff; color: #22293d; border: 2px solid #847c6b; }
.v-chip[aria-pressed="true"] { background: #22293d; color: #fcf9f2 !important; border-color: #22293d; }
.v-chip[aria-disabled="true"] { border-color: #e7e0d1; cursor: default; color: #5e6577; }
.v-map { position: relative; width: 100%; max-width: 350px; aspect-ratio: 350 / 330; flex: none; border-radius: 30px; overflow: hidden; background: var(--wc); box-shadow: inset 0 -12px 0 rgba(0,0,0,0.12), inset 0 2px 0 rgba(255,255,255,0.3), 0 20px 30px -18px rgba(34,41,61,0.6); align-self: center; }
.v-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.v-st { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: Fredoka, sans-serif; font-weight: 700; font-size: 20px; box-shadow: 0 5px 0 rgba(34,41,61,0.4); padding: 0; transition: transform 160ms cubic-bezier(.23,1,.32,1); }
.v-st.ok { background: #22293d; color: #fcf9f2; border: 3px solid #fcf9f2; }
.v-st.now { background: #fcf9f2; color: #22293d; border: 4px solid #22293d; }
.v-st.next { background: rgba(252,249,242,0.75); color: #4a5368; border: 3px dashed #4a5368; }
.v-st[aria-pressed="true"] { transform: scale(1.12); }
.v-st .pulse { position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 4px #22293d; animation: vPulse 1.8s cubic-bezier(.23,1,.32,1) infinite; pointer-events: none; }
.v-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 24px; background: #ffffff; box-shadow: inset 0 0 0 1px #e7e0d1; }
.v-card .hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v-card .nm { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 22px; }
.v-tag { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 14px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.v-tag.ok { background: #22293d; color: #fcf9f2; }
.v-tag.now { background: #7cc7a6; color: #22293d; }
.v-tag.next { background: #fcf9f2; color: #4a5368; box-shadow: inset 0 0 0 1px #e7e0d1; }
.v-card .tx { font-size: 17px; line-height: 1.4; margin: 0; }

.v-post { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 16px; border-radius: 24px; background: #ffffff; box-shadow: inset 0 0 0 1px #e7e0d1; border: 0; text-align: left; width: 100%; color: #22293d; }
.v-post .ib { width: 56px; height: 56px; border-radius: 18px; background: #f6c445; display: inline-flex; align-items: center; justify-content: center; }
.v-post .ib svg { width: 30px; height: 30px; }
.v-post .t { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; }
.v-post .s { font-size: 16px; }
.v-subjects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.v-subj { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 124px; padding: 10px 6px; border: 0; border-radius: 26px; color: #22293d; background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0) 60%), var(--rc); box-shadow: inset 0 -6px 0 rgba(34,41,61,0.16), 0 12px 22px -14px rgba(34,41,61,0.55); }
.v-subj[aria-pressed="true"] { box-shadow: inset 0 0 0 4px #22293d, inset 0 -6px 0 rgba(34,41,61,0.16), 0 12px 22px -14px rgba(34,41,61,0.55); }
.v-subj .g { width: 56px; height: 56px; border-radius: 999px; background: rgba(255,255,255,0.7); display: inline-flex; align-items: center; justify-content: center; font-family: Fredoka, sans-serif; font-weight: 700; font-size: 20px; }
.v-subj .g svg { width: 28px; height: 28px; }
.v-subj .n { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.15; text-align: center; hyphens: manual; }
.v-know { display: flex; flex-direction: column; gap: 10px; padding: 14px 18px; border-radius: 24px; background: #ffffff; box-shadow: inset 0 0 0 1px #e7e0d1; }
.v-know .h { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 18px; }
.v-kchips { display: flex; flex-wrap: wrap; gap: 8px; }
.v-kchip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #fcf9f2; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 16px; }
.v-kchip.weak { background: #dcebf8; }
.v-kchip .d { width: 16px; height: 16px; --c: #22293d; }

.v-me { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.v-ava { width: 72px; height: 72px; border-radius: 999px; background: #f4a6c0; display: inline-flex; align-items: flex-end; justify-content: center; overflow: hidden; flex: none; font-family: Fredoka, sans-serif; font-weight: 700; font-size: 34px; }
.v-ava .fig { margin-bottom: -16px; }
.v-me .n { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 26px; line-height: 1.15; }
.v-me .s { font-size: 16px; color: #4a5368; }
.v-box { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 26px; background: #ffffff; box-shadow: inset 0 0 0 1px #e7e0d1; }
.v-box .hd { display: flex; align-items: baseline; justify-content: space-between; }
.v-box .hd b { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 20px; }
.v-box .hd span { font-size: 15px; color: #4a5368; }
.v-stickers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.v-sticker { aspect-ratio: 1; border-radius: 22px; display: flex; align-items: center; justify-content: center; border: 0; padding: 0; background: var(--sc); }
.v-sticker svg { width: 42px; height: 42px; }
.v-sticker.empty { background: transparent; border: 2px dashed #cfc6b3; }
.v-sticker.gift { background: #ffffff; box-shadow: inset 0 0 0 2px #22293d, 0 5px 0 #d9d0bf; flex-direction: column; gap: 4px; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 14px; }
.v-sticker.gift svg { width: 36px; height: 36px; }
.v-better { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 24px; background: #dcebf8; }
.v-better .t { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 19px; }
.v-better .s { font-size: 15px; }
.v-better .dots { display: flex; gap: 6px; }
.v-better .d { width: 20px; height: 20px; --c: #22293d; }
.v-parents { align-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; font-size: 15px; color: #4a5368; text-decoration: none; background: none; border: 0; }
.v-parents svg { width: 20px; height: 20px; }
.v-mini { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin-top: -8px; }
.v-mini a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 14px; color: #4a5368; }

.v-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; height: calc(88px + env(safe-area-inset-bottom)); padding: 10px max(12px, calc((100% - 406px) / 2)) calc(14px + env(safe-area-inset-bottom)); background: #ffffff; border-top: 1px solid #e7e0d1; }
.v-tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 22px; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 14px; color: #4a5368; text-decoration: none; text-align: center; line-height: 1.1; }
.v-tabs a svg { width: 26px; height: 26px; }
.v-tabs a[aria-current="page"] { background: #22293d; color: #fcf9f2; }

@media (prefers-reduced-motion: reduce) {
  .u-in, .v-in { animation: uFade 150ms both; }
  .v-hello img, .v-st .pulse { animation: none; }
  .u-b, .v-b, .u-book, .v-st { transition: none; }
  .u-b:active, .v-b:active { transform: none; }
}
@keyframes uFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Lernansicht-Kopf (Board M) ---------- */
.m-frame { max-width: 520px; margin: 0 auto; }
.m-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 8px; }
.m-back { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; min-width: 0; color: var(--ink); text-decoration: none; font-family: var(--f-ui); font-weight: 600; font-size: 15px; }
.m-back svg { width: 18px; height: 18px; flex: none; }
.m-back span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-count { flex: none; font-size: 14px; color: var(--ink2); }
.m-bar { margin: 6px 20px 0; height: 8px; border-radius: 999px; background: var(--paper2); overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: 999px; background: var(--ink); transition: width 240ms cubic-bezier(.23,1,.32,1); }
.m-card { background: var(--card) !important; }
.app[data-modus="kind"] .m-card { box-shadow: 0 18px 40px -28px rgba(23,32,58,0.45), inset 0 0 0 1px #e7e0d1; }
.m-label { font-family: Poppins, 'DM Sans', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); align-self: flex-start; }
.app[data-modus="kind"] .m-label { font-family: Fredoka, sans-serif; letter-spacing: .12em; }
.m-card { align-items: flex-start; text-align: left; justify-content: center; }

/* Kinder: Knöpfe mit Kante unten wie in little champions */
.v-cta { box-shadow: inset 0 -5px 0 rgba(0,0,0,0.32), 0 12px 20px -14px rgba(34,41,61,0.7); }
.v-cta:active { transform: translateY(3px); box-shadow: inset 0 -2px 0 rgba(0,0,0,0.32); }
.v-chip { box-shadow: inset 0 -4px 0 rgba(34,41,61,0.08); }
.v-chip[aria-pressed="true"], .v-tabs a[aria-current="page"] { box-shadow: inset 0 -4px 0 rgba(0,0,0,0.3); }
.v-speak, .v-days { box-shadow: inset 0 0 0 1px #e7e0d1, inset 0 -3px 0 rgba(34,41,61,0.06); }

.app[data-modus="kind"] .m-card .q { font-family: Fredoka, sans-serif; font-size: clamp(32px, 8.6vw, 40px); line-height: 1.15; }
.app[data-modus="kind"] .m-card .q.long { font-size: clamp(26px, 6.8vw, 32px); }
.m-card .q { text-align: left; }

/* ---------- S · Eltern-Schranke als ganze Seite ---------- */
.veil.full { padding: 0; align-items: stretch; background: var(--paper); animation: fade 160ms ease-out; }
.sheet.gate { --paper: #f4f7fc; --card: #fff; --ink: #17203a; --ink2: #414c69; --ink3: #5c6680; --line: #d8e0ee; --line2: #7a85a0; --link: #28427f;
  max-width: none; max-height: none; height: 100%; border-radius: 0; box-shadow: none; background: var(--paper); color: var(--ink);
  padding: max(56px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom)); gap: 0; align-items: center; font-family: 'DM Sans', system-ui, sans-serif; animation: none; }
.app[data-theme="dunkel"] .sheet.gate { --paper: #121827; --card: #1e273a; --ink: #eee8dc; --ink2: #d3d6dd; --ink3: #bcc0c9; --line: #2d3750; --line2: #6b7590; --link: #b3c1e6; }
.sheet.gate .g-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; max-width: 340px; }
.sheet.gate .g-h { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 40px; line-height: 1.05; margin: 0 0 14px; color: var(--ink); letter-spacing: 0; }
.sheet.gate .g-sub { font-size: 15px; line-height: 1.6; color: var(--ink2); margin: 0 0 22px; }
.sheet.gate .g-dots { display: flex; justify-content: center; gap: 14px; }
.sheet.gate .g-dots i { width: 16px; height: 16px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--line2); transition: background 120ms ease-out; }
.sheet.gate .g-dots i.on { background: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.sheet.gate .g-msg { min-height: 22px; margin: 10px 0 8px; font-size: 14px; color: var(--ink2); }
.sheet.gate .g-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 334px; }
.sheet.gate .g-pad button { height: 62px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-family: Poppins, sans-serif; font-weight: 600; font-size: 22px; display: grid; place-items: center; box-shadow: 0 1px 0 rgba(23,32,58,.03); transition: transform 120ms cubic-bezier(.23,1,.32,1); }
.sheet.gate .g-pad button:active { transform: scale(.97); }
.sheet.gate .g-back { margin-top: auto; background: none; border: 0; color: var(--link); font: 500 15px/1.4 'DM Sans', sans-serif; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0 12px; }

/* ---------- Plus: Etikett, Hinweis, Vergleich (nur Eltern und Erwachsene) ---------- */
.plus-tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--hint); color: var(--accent); box-shadow: inset 0 0 0 1px var(--hint-line); font: 600 11px/1 Poppins, sans-serif; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.plus-tag svg { width: 11px; height: 11px; }
.plus-hint { background: var(--hint); box-shadow: inset 0 0 0 1px var(--hint-line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.plus-hint p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.plus-hint b { color: var(--accent); font-weight: 600; }
.plus-hint .ph-t { font: 600 16px/1.35 Poppins, sans-serif; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plus-hint .ph-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ps-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ps-num { font: 400 40px/1 'Instrument Serif', Georgia, serif; color: var(--ink); }
.plus-sheet .ps-geld { font-size: 14px; color: var(--ink2); text-align: center; margin: -4px 0 0; }
.plus-sheet ul, .plus-page ul.plain { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.plus-sheet li, .plus-page ul.plain li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.plus-sheet li svg, .plus-page ul.plain li svg { flex: none; margin-top: 3px; color: var(--ok); }
.plus-page { display: flex; flex-direction: column; gap: 18px; }
.plus-page .pp-status { display: flex; gap: 14px; align-items: center; }
.plus-page .pp-status .grow > * { display: block; }
.plus-page .pp-num { font: 400 48px/1 'Instrument Serif', Georgia, serif; color: var(--ink); }
.plus-page .pp-need { display: flex; flex-direction: column; gap: 0; }
.plus-page .pp-need > div { display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.plus-page .pp-need > div:first-child { border-top: 0; padding-top: 4px; }
.plus-page .pp-need .ic { grid-row: 1 / span 3; width: 36px; height: 36px; border-radius: 12px; background: var(--paper2); display: grid; place-items: center; color: var(--ink); }
.plus-page .pp-need .t { grid-column: 2; align-self: center; font: 600 16px/1.35 Poppins, sans-serif; color: var(--ink); }
.plus-page .pp-need .d { grid-column: 2; font-size: 15px; line-height: 1.55; color: var(--ink2); margin: 0; }
.plus-page .pp-need .bei { grid-column: 2; font-size: 14px; color: var(--accent); background: var(--hint); border-radius: 10px; padding: 6px 10px; justify-self: start; }
.plus-cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.plus-cmp th, .plus-cmp td { padding: 11px 8px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.plus-cmp thead th { border-top: 0; font: 600 13px/1.3 Poppins, sans-serif; color: var(--ink2); letter-spacing: .02em; }
.plus-cmp td:not(:first-child), .plus-cmp th:not(:first-child) { text-align: center; width: 76px; white-space: nowrap; }
.plus-cmp td:first-child { color: var(--ink); line-height: 1.4; }
.plus-cmp .ja { color: var(--ok); }
.plus-cmp .nein { color: var(--ink3); }
.plus-cmp .hl { background: color-mix(in srgb, var(--hint) 60%, transparent); }
.proto-switch { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 1px dashed var(--line2); background: transparent; color: var(--ink2); font: 500 14px/1.3 'DM Sans', sans-serif; width: 100%; text-align: left; }
.proto-switch .track { margin-left: auto; }
.wb { display: flex; flex-direction: column; gap: 12px; background: var(--card); border-radius: 18px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.wb .wb-k { font: 600 12px/1 Poppins, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.wb .wb-h { font: 400 30px/1.1 'Instrument Serif', Georgia, serif; color: var(--ink); margin: 0; }
.wb .wb-row { display: grid; grid-template-columns: minmax(104px, auto) 1fr; gap: 8px 14px; font-size: 15px; color: var(--ink2); padding-top: 10px; border-top: 1px solid var(--line); }
.wb .wb-row b { color: var(--ink); font-weight: 600; text-align: right; }
@media (prefers-reduced-motion: reduce) { .sheet.gate .g-pad button:active { transform: none; } }
.plus-sheet .ps-bei { align-self: flex-start; font-size: 14px; line-height: 1.45; color: var(--accent); background: var(--hint); box-shadow: inset 0 0 0 1px var(--hint-line); border-radius: 10px; padding: 7px 11px; }

/* ---------- R · Erster Start ---------- */
.r-main { display: flex; flex-direction: column; gap: 18px; min-height: 100dvh; padding-top: max(24px, env(safe-area-inset-top)); padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.r-top { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.r-back { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px 0 -8px -12px; color: var(--ink); border-radius: 999px; }
.r-prog { flex: 1; display: flex; gap: 6px; }
.r-prog i { flex: 1; height: 5px; border-radius: 999px; background: var(--line); transition: background 200ms cubic-bezier(.23,1,.32,1); }
.r-prog i.on { background: var(--ink); }
.r-head { display: flex; flex-direction: column; gap: 10px; }
.r-h1 { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 44px; line-height: 1.02; color: var(--ink); letter-spacing: 0; }
.r-lead { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink2); }
.r-ages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.r-ages button { min-height: 54px; border-radius: 14px; border: 1px solid var(--line2); background: transparent; color: var(--ink); font: 600 17px/1 Poppins, sans-serif; transition: transform 120ms cubic-bezier(.23,1,.32,1); }
.r-ages button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.r-ages button:active { transform: scale(.97); }
.r-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink3); }
.r-fill { flex: 1; }
.r-cta { width: 100%; min-height: 52px; border-radius: 999px; border: 0; background: var(--btn); color: var(--btn-ink); font: 600 17px/1 Poppins, sans-serif; }
.r-cta:disabled { background: var(--line); color: var(--ink2); opacity: 1; }
.r-link { align-self: center; color: var(--link); font-size: 15px; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 720px) { .r-main { max-width: 520px; margin: 0 auto; min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .r-ages button:active { transform: none; } }

/* ---------- Runde fertig (ab 10) ---------- */
.u-done { gap: 10px; padding: 18px; }
.u-done-n { font-family: Poppins, sans-serif; font-weight: 600; font-size: 20px; color: var(--ink); }
.u-done-n b { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 56px; line-height: .9; margin-right: 6px; vertical-align: -4px; }
.app[data-modus="jugend"] .u-done-n b { font-family: Poppins, sans-serif; font-weight: 700; font-size: 44px; }
.u-done-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.u-done-3 span { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--paper2); font-size: 13px; color: var(--ink2); }
.u-done-3 b { font-family: Poppins, sans-serif; font-weight: 600; font-size: 20px; color: var(--ink); }
.u-dlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.u-dlist li { display: flex; gap: 10px; align-items: center; font-size: 15px; line-height: 1.35; }
.u-dlist li .d { flex: none; }
a.u-cta { text-decoration: none; }

/* ---------- Bewegungspause (Kind) ---------- */
.k-pause { display: flex; flex-direction: column; gap: 16px; min-height: 100dvh; }
.k-pause .stage { min-height: 300px; }
.k-pause-dots { display: flex; justify-content: center; gap: 10px; }
.k-pause-dots i { width: 12px; height: 12px; border-radius: 999px; box-shadow: inset 0 0 0 2px #22293d; }
.k-pause-dots i.on { background: #22293d; }
.k-pause-card { align-items: center; }
.k-pause-ic { width: 48px; height: 48px; border-radius: 16px; background: #c9e6d8; display: grid; place-items: center; flex: none; }
.k-pause-ic svg { width: 26px; height: 26px; }

/* ---------- T · Lehrkraft ---------- */
.t-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100dvh; background: var(--paper); color: var(--ink); }
.t-side { display: flex; flex-direction: column; gap: 14px; padding: 28px 18px 22px; background: var(--card); border-right: 1px solid var(--line); position: sticky; top: 0; height: 100dvh; overflow: auto; }
.t-me { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.t-me1 { font: 600 18px/1.3 Poppins, sans-serif; }
.t-me2 { font-size: 13px; color: var(--ink2); }
.t-klassen { display: flex; flex-direction: column; gap: 8px; }
.t-kl { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); color: var(--ink); text-align: left; }
.t-kl[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--ink); border-color: var(--ink); }
.t-kl > span:last-child { display: flex; flex-direction: column; }
.t-kl1 { font: 600 15px/1.3 Poppins, sans-serif; }
.t-kl2 { font-size: 13px; color: var(--ink2); }
.t-dot { width: 14px; height: 14px; border-radius: 999px; background: var(--td, var(--ink3)); flex: none; }
.t-kl.neu { justify-content: center; min-height: 48px; border-style: dashed; font: 600 15px/1 Poppins, sans-serif; background: transparent; }
.t-fill { flex: 1; }
.t-dar { display: flex; flex-direction: column; gap: 8px; }
.t-lab { font: 600 15px/1.3 Poppins, sans-serif; }
.t-gratis { background: var(--hint); box-shadow: inset 0 0 0 1px var(--hint-line); border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.t-gratis b { font-weight: 600; display: block; font-size: 14px; }
.t-out { color: var(--link); font-size: 14px; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.t-main { display: flex; flex-direction: column; min-width: 0; }
.t-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 40px 24px; background: #4e6087; color: #f6f2ea; }
.t-band svg.contour { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; }
.t-band > * { position: relative; }
.t-band-l { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.t-h1 { margin: 0; font: 400 46px/1.02 'Instrument Serif', Georgia, serif; color: #f6f2ea; letter-spacing: 0; }
.t-sub { font-size: 15px; color: #f6f2ea; }
.t-ki { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(246,242,234,.85); color: #f6f2ea; font: 600 14px/1 Poppins, sans-serif; text-decoration: none; }
.t-ki svg { width: 16px; height: 16px; }
.t-weg { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; align-items: flex-start; }
.t-weg li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 82px; font-size: 13px; text-align: center; color: #f6f2ea; }
.t-weg li + li::before { content: ''; position: absolute; top: 21px; right: calc(50% + 24px); width: calc(100% - 48px); border-top: 2px dashed rgba(246,242,234,.7); }
.t-weg .c { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; font: 600 15px/1 Poppins, sans-serif; margin-bottom: 6px; }
.t-weg .sitzt .c { background: #f6f2ea; color: #17203a; }
.t-weg .jetzt .c { background: #1b2950; color: #f6f2ea; box-shadow: 0 0 0 3px #f6f2ea; }
.t-weg .kommt .c { border: 2px dashed rgba(246,242,234,.9); color: #f6f2ea; }
.t-weg .l { font-weight: 500; }
.t-weg .s { opacity: 1; }
.t-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 18px 40px 0; }
.t-step { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 14px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font: 600 15px/1.25 Poppins, sans-serif; }
.t-step .n { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: var(--paper2); font-size: 13px; flex: none; }
.t-step.done .n { background: color-mix(in srgb, var(--ok) 18%, var(--card)); color: var(--ok); }
.t-step[aria-current="page"] { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
.t-step[aria-current="page"] .n { background: var(--btn-ink); color: var(--btn); }
.t-body { padding: 18px 40px 40px; }
.t-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.t-h2 { font-family: Poppins, sans-serif; font-weight: 600; font-size: 24px; }
.t-form { padding: 28px; }
.t-check { background: var(--paper2); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.t-check-h { font: 600 18px/1.3 Poppins, sans-serif; }
.t-check ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.t-check a { display: flex; align-items: center; gap: 12px; min-height: 40px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; }
.t-check .n { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1.5px var(--line2); font: 600 13px/1 Poppins, sans-serif; color: var(--ink); }
.t-check .n svg { width: 15px; height: 15px; }
.t-check .done .n { box-shadow: inset 0 0 0 1.5px var(--ok); color: var(--ok); }
.t-check .cur .n { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
.t-foot { display: none; }
.t-band .t-weg li .s, .t-band .t-weg li .l { text-shadow: 0 1px 0 rgba(20,26,40,.15); }
@media (max-width: 1100px) { .t-grid { grid-template-columns: 1fr; } .t-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .t-app { grid-template-columns: 1fr; }
  .t-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 16px 14px; gap: 10px; }
  .t-side .t-fill, .t-side .t-dar, .t-side .t-gratis, .t-side .t-out { display: none; }
  .t-klassen { flex-direction: row; overflow-x: auto; padding-bottom: 2px; }
  .t-kl { width: auto; flex: none; }
  .t-band { padding: 20px 16px; gap: 16px; }
  .t-h1 { font-size: 40px; }
  .t-weg { overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
  .t-weg li { width: 68px; flex: none; }
  .t-steps { display: flex; overflow-x: auto; padding: 14px 16px 0; scroll-snap-type: x proximity; }
  .t-step { flex: none; scroll-snap-align: start; }
  .t-body { padding: 14px 16px 24px; }
  .t-form { padding: 20px; }
  .t-foot { display: flex; flex-direction: column; gap: 14px; padding: 8px 16px 28px; }
}
.sheet.gate:focus { outline: none; }

/* ---------- Schulstufe und Stoff des Jahres (Board U, Schule) ---------- */
.u-stufe { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: -6px; }
.u-stufe-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px 0 12px; border: 0; border-radius: 999px; background: var(--bg2); color: var(--ink); font-family: Poppins, sans-serif; font-weight: 600; font-size: 13px; }
.u-stufe-chip svg { width: 14px; height: 14px; }
.u-stufe-link { display: inline-flex; align-items: center; gap: 2px; min-height: 36px; padding: 0 2px 0 6px; color: var(--ink); text-decoration: none; font-family: Poppins, sans-serif; font-weight: 600; font-size: 13px; }
.u-stufe-link svg { width: 16px; height: 16px; }
.u-stufefrage { gap: 8px; }
.u-stufeja { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.u-stufeja .u-cta { min-height: 48px; font-size: 16px; }
.u-jhead { display: flex; flex-direction: column; gap: 2px; margin-top: -6px; }
.u-jhead h1 { margin: 0; font-family: Poppins, sans-serif; font-weight: 600; font-size: 26px; line-height: 1.15; }
.u-jhead span { font-size: 13px; color: var(--ink2); }
.u-fchips, .lp-chips { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.u-fchips { margin: 0 -20px; padding: 0 20px; }
.u-fchips::-webkit-scrollbar, .lp-chips::-webkit-scrollbar { display: none; }
.u-fchip { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--bg2, var(--paper2)); color: var(--ink); font-family: Poppins, sans-serif; font-weight: 600; font-size: 13px; }
.u-fchip[aria-pressed="true"] { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }
.u-fchip i { width: 10px; height: 10px; border-radius: 999px; background: var(--c); flex: none; }
.u-kap { margin: 0; padding: 2px 14px; list-style: none; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.u-kap li + li { border-top: 1px solid var(--line); }
.u-kap .k { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; box-sizing: border-box; width: 100%; min-height: 40px; padding: 4px 0; border: 0; background: none; color: var(--ink); text-align: left; }
.u-kap .k .d { width: 12px; height: 12px; }
.u-kap .k .t { font-size: 14px; line-height: 1.3; }
.u-kap .k .s { font-size: 12px; line-height: 1.3; color: var(--ink2); }
.u-kap .k .r { font-size: 12px; color: var(--ink2); white-space: nowrap; }
.u-kap .k .h { display: inline-flex; align-items: center; gap: 5px; font-family: Poppins, sans-serif; font-weight: 600; font-size: 12px; color: var(--ink); white-space: nowrap; }
.u-kap .k .h svg { width: 14px; height: 14px; }
.u-kap .k.later .t { color: var(--ink2); }
.d-leer { background: transparent; border: 1.5px dashed var(--line2); box-sizing: border-box; }
.u-jnote { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink2); }
.u-jtoggle { min-height: 48px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--ink); font-family: Poppins, sans-serif; font-weight: 600; font-size: 15px; }

/* Klasse wählen: Blatt von unten wie im Board */
.veil.bottom { padding: 0; align-items: flex-end; }
.veil.bottom .sheet.u-bottom { max-width: 430px; border-radius: 28px 28px 0 0; padding: 22px 20px 28px; gap: 10px; font-family: 'DM Sans', system-ui, sans-serif; }
@media (min-width: 640px) { .veil.bottom { align-items: center; padding: 16px; } .veil.bottom .sheet.u-bottom { border-radius: 28px; } }
.u-sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.u-sheet-h h2 { margin: 0; font-family: Poppins, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.25; }
.u-sheet-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--paper2); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.u-sheet-x svg { width: 18px; height: 18px; }
.u-sheet-t { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink2); }
.u-radio { display: flex; flex-direction: column; gap: 6px; }
.u-radio button { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 2px solid transparent; background: var(--paper2); color: var(--ink); font-family: Poppins, sans-serif; font-weight: 600; font-size: 15px; }
.u-radio button[aria-checked="true"] { background: var(--card); border-color: var(--ink); }
.u-radio button span:last-child { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 13px; color: var(--ink2); }

/* Kinder: Frage im September */
.v-stufefrage { gap: 12px; }
.v-stufeja { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v-stufeja .v-cta, .v-stufeja .v-cta2 { min-height: 60px; }

/* Eltern: Stoff der Klasse wie Board S */
.lp-sec { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.lp-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.lp-hd h2 { margin: 0; font-family: Poppins, sans-serif; font-weight: 600; font-size: 16px; }
.lp-hd span { font-size: 13px; color: var(--ink2); }
.lp-kap { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.lp-kap li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; box-sizing: border-box; min-height: 36px; padding: 3px 0; }
.lp-kap li + li { border-top: 1px solid var(--paper2); }
.lp-kap .d { width: 12px; height: 12px; }
.lp-t { display: flex; flex-direction: column; min-width: 0; font-size: 14px; line-height: 1.3; }
.lp-t small { font-size: 12px; line-height: 1.3; color: var(--ink2); }
.lp-kap li.later .lp-t > span { color: var(--ink2); }
.lp-r { font-size: 12px; color: var(--ink2); white-space: nowrap; }
.lp-heft { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0; border: 0; background: none; color: var(--ink); font-family: Poppins, sans-serif; font-weight: 600; font-size: 12px; white-space: nowrap; }
.lp-heft svg { width: 14px; height: 14px; }
.lp-now { background: var(--bolt); box-shadow: 0 0 0 2px var(--bolt-line); }
.lp-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink2); }
.lp-klassen { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-klassen button { flex: 1 1 56px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); color: var(--ink); font-family: Poppins, sans-serif; font-weight: 600; font-size: 14px; }
.lp-klassen button[aria-checked="true"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.lp-fuer { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--hint); box-shadow: inset 0 0 0 1px var(--hint-line); font-size: 14px; line-height: 1.45; }
.lp-fuer > svg { width: 20px; height: 20px; flex: none; }

/* Verbinden (Board M, Kinder) */
.mp-q { margin: 0; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 34px; line-height: 1.12; color: var(--ink); }
.mp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mp-grid > div { display: flex; flex-direction: column; gap: 10px; }
.mp { min-height: 72px; padding: 8px 12px; border-radius: 18px; background: #ffffff; color: #22293d; border: 1.5px solid #847c6b; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 19px; line-height: 1.3; }
.mp.on { border: 2.5px solid #22293d; }
.mp.ok { background: #7cc7a6; color: #22293d; border: 1.5px solid #22293d; }
.mp-msg { margin: 0; min-height: 22px; font-size: 15px; line-height: 1.5; color: var(--ink2); }

/* ---------- Kinder: Lernansicht wie Board M (2 und 3 zur Wahl, Zahlenfeld, Verbinden) ---------- */
.mk { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; padding: 16px 20px calc(22px + env(safe-area-inset-bottom)); min-height: calc(100vh - 80px); min-height: calc(100dvh - 80px); color: #22293d; }
.mk-fill { flex: 1; }
.mk-end:empty { display: none; }
.mk-end { display: flex; flex-direction: column; gap: 10px; }
.mk-q { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.mk-qt { margin: 0; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 34px; line-height: 1.12; color: #22293d; text-wrap: balance; }
.mk-qt.long { font-size: 26px; line-height: 1.2; }
.mk-test { margin: 0; padding: 10px 14px; border-radius: 14px; background: #dcebf8; color: #22293d; font-size: 14px; line-height: 1.45; }
.mk-test b { font-family: Poppins, sans-serif; font-weight: 600; }
.mk-opts { display: flex; flex-direction: column; gap: 10px; }
.mk-opt { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 16px; border-radius: 18px; text-align: left; font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 19px; line-height: 1.3; background: #ffffff; color: #22293d; border: 1.5px solid #847c6b; }
.mk-opt .l { flex: none; width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-family: Poppins, sans-serif; font-weight: 600; font-size: 13px; background: #e7e0d1; color: #22293d; }
.mk-opt.ok { background: #7cc7a6; border: 1.5px solid #22293d; }
.mk-opt.miss { background: #dcebf8; border: 1.5px dashed #847c6b; }
.mk-opt.on { border: 2.5px solid #22293d; }
.mk-opt.on .l { background: #22293d; color: #fcf9f2; }
.mk-opt[aria-disabled="true"] { cursor: default; }
.mk-out { display: flex; align-items: center; justify-content: center; min-height: 76px; border-radius: 22px; background: #ffffff; box-shadow: inset 0 0 0 2px #847c6b; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 44px; font-variant-numeric: tabular-nums; color: #22293d; }
.mk-pad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk-pad button { min-height: 58px; border-radius: 18px; background: #ffffff; color: #22293d; border: 1.5px solid #847c6b; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 26px; }
.mk-pad button[aria-disabled="true"] { cursor: default; opacity: .55; }
.mk-fb { margin: 0; padding: 14px 16px; border-radius: 16px; font-size: 16px; line-height: 1.5; color: #22293d; }
.mk-fb.ok { background: #7cc7a6; box-shadow: inset 0 0 0 1px #22293d; }
.mk-fb.soft { background: #dcebf8; }
.mk-cta { min-height: 64px; border: 0; border-radius: 999px; background: #22293d; color: #fcf9f2; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 17px; }
.mk-cta:active { transform: scale(.97); }
.app[data-modus="kind"] .m-back { font-family: Fredoka, sans-serif; font-size: 16px; }
.app[data-modus="kind"] .m-bar { background: #e7e0d1; }

/* ==========================================================================
   iPad und Desktop (1.12.2026)
   Handy unter 700 px bleibt unverändert: die Spalten-Hüllen wirken dort nicht.
   700–1023 px (iPad hoch): zwei Spalten, Leiste unten.
   ab 1024 px (iPad quer, Desktop): Leiste wird Spalte links (wie Board X1 und X3).
   ========================================================================== */
.w-cols, .w-a, .w-b { display: contents; }
.u-brand, .v-brand { display: none; }
@media (max-width: 699px) { .w-only { display: none !important; } }

/* Lerntage dieser Woche (nur iPad und Desktop) */
.u-woche { gap: 12px; }
.u-wdots { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.u-wdots > span { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.u-wdots i { display: block; width: 30px; height: 30px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--line2); }
.u-wdots .on i { background: var(--ok); box-shadow: none; }
.u-wdots .later i { box-shadow: none; border: 2px dashed var(--line2); box-sizing: border-box; }
.u-wdots b { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 12px; color: var(--ink3); }

@media (min-width: 700px) {
  .u-screen, .v-screen { max-width: 1000px; padding: 36px 32px calc(112px + env(safe-area-inset-bottom)); }
  .u-screen.has-back { padding-top: 20px; }
  .w-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 28px; align-items: start; }
  .w-cols.w-big-a { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .w-a, .w-b { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .v-screen .w-a, .v-screen .w-b { gap: 16px; }
  .w-a { grid-column: 1; grid-row: 1; }
  .w-b { grid-column: 2; grid-row: 1; }
  .w-cols .u-fill, .w-cols .v-fill { display: none; }
  /* Einspaltige Seiten (Stoff des Jahres, eigener Stoff, Set, Plus, Runde geschafft, leere Bereiche) bleiben lesbar schmal */
  .u-screen[data-v="jahr"], .u-screen[data-v="stoff"], .u-screen[data-v="set"], .u-screen[data-v="plus"], .u-screen[data-v="fertig"], .u-screen:not(:has(.w-cols)), .v-screen:not(:has(.w-cols)) { max-width: 760px; }
  /* Leisten unten: etwas breiter, weiter mittig */
  .u-tabs { padding-left: max(0px, calc((100% - 600px) / 2)); padding-right: max(0px, calc((100% - 600px) / 2)); }
  .v-tabs { padding-left: max(12px, calc((100% - 600px) / 2)); padding-right: max(12px, calc((100% - 600px) / 2)); }
  /* Größere Flächen, wo Platz ist */
  .u-hero { height: 250px; }
  .u-hero .t { font-size: 34px; }
  .u-hero svg { width: 180px; height: 180px; }
  .v-map { max-width: none; }
  /* Lernrunde: Mitte, bis 760 px */
  .m-frame, .mk { max-width: 760px; }
  .mk { padding-top: 28px; }
  .mk-qt, .mp-q { font-size: 44px; }
  .mk-qt.long { font-size: 32px; }
  .mk-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
  .mk-opt { min-height: 76px; font-size: 22px; }
  .mk-out, .mk-pad { width: 100%; max-width: 460px; margin-inline: auto; }
  .mk-pad button { min-height: 64px; font-size: 28px; }
  .mk-cta { width: 100%; max-width: 460px; align-self: center; }
  .mp-grid { gap: 14px; }
  .mp { min-height: 80px; font-size: 22px; }
  /* Kinder am iPad: alles etwas größer, Blitzi groß über der Sprechblase */
  .k-hello .v-hello { flex-direction: column; align-items: flex-start; gap: 18px; min-height: 0; padding-top: 8px; }
  .k-hello .v-hello img { height: 170px; margin: 0 0 0 12px; }
  .v-head h1 { font-size: 34px; }
  .v-round { min-height: 96px; }
  .v-round .t { font-size: 22px; }
  .v-round .s { font-size: 16px; }
  .v-bubble { font-size: 24px; }
}

@media (min-width: 1024px) {
  /* Ab 10 und Erwachsene: Spalte links mit Lernkartei oben, wie Board X3 */
  .u-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); align-items: start; }
  .u-app.solo { display: block; }
  .u-tabs { position: sticky; top: 0; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: stretch; gap: 4px; height: 100vh; height: 100dvh; padding: 28px 16px; border-top: 0; border-right: 1px solid var(--line); }
  .u-brand { display: flex; flex-direction: column; gap: 2px; padding: 6px 14px 26px; }
  .u-brand b { font-family: Poppins, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--ink); }
  .u-brand small { font-size: 13px; color: var(--ink3); }
  .u-tabs a { flex: none; flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 14px; font-size: 15px; color: var(--ink2); }
  .u-tabs a[aria-current="page"] { background: var(--bg2); color: var(--ink); }
  .u-tabs a .bar { top: 12px; bottom: 12px; left: 0; right: auto; width: 3px; height: auto; border-radius: 0 3px 3px 0; }
  .u-screen { grid-column: 2; grid-row: 1; max-width: 1120px; padding: 44px 56px 56px; gap: 16px; }
  .u-screen.has-back { padding-top: 28px; }
  .u-head h1 { font-size: 30px; }
  .w-cols { gap: 24px 36px; }

  /* Kinder: Blitzi und große Kacheln in der Spalte links, wie Board X1 */
  .v-app { display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: start; }
  .v-tabs { position: sticky; top: 0; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: stretch; gap: 10px; height: 100vh; height: 100dvh; padding: 26px 16px; border-top: 0; border-right: 1px solid #e7e0d1; }
  .v-brand { display: block; width: 58px; height: auto; margin: 0 auto 20px; }
  .v-tabs a { flex: none; min-height: 96px; font-size: 16px; }
  .v-tabs a svg { width: 30px; height: 30px; }
  .v-screen { grid-column: 2; grid-row: 1; max-width: 1120px; padding: 40px 56px 56px; gap: 20px; }
  .v-head h1 { font-size: 38px; }
  /* Heute: Blitzi groß links, Runden rechts (ab 1024 px) */
  .k-hello .v-hello img { height: 190px; }
  .k-hello .v-bubble { font-size: 26px; padding: 24px 26px; }
  .v-round { min-height: 100px; }
  .v-round .t { font-size: 23px; }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .u-tabs a:hover { background: var(--bg2); color: var(--ink); }
  .v-tabs a:not([aria-current="page"]):hover { background: #f3ecdd; }
}

/* ---------- Lesbarkeit und nächster Schritt (1.12.2026) ----------
   Begleittext 15 px, Status 14 px, Beschriftungen 13 px, nichts unter 12 px.
   Der nächste Schritt trägt die Farbe des Knopfs. Ab 1200 px wird alles 12,5 % größer. */
.u-tabs a { font-size: 13px; }
.u-t1 { font-size: 16px; }
.u-t2 { font-size: 15px; line-height: 1.4; }
.u-h3row span { font-size: 15px; }
.u-state { gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink2); }
.u-state svg { width: 16px; height: 16px; flex: none; }
.u-state.st-jetzt { min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--y); color: var(--on); font-family: Poppins, sans-serif; font-weight: 600; font-size: 13px; }
.u-round.on { background: var(--card); box-shadow: inset 0 0 0 2px var(--y); }
.u-big { display: flex; flex-direction: column; align-items: center; line-height: 1; min-width: 44px; }
.u-big b { font-weight: 600; font-size: 28px; }
.u-big small { margin-top: 3px; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 13px; color: var(--ink2); }
.u-big.txt { font-size: 17px; }
.u-termin .u-bars { grid-column: 1 / -1; height: 56px; margin-top: 4px; }
.u-bars b { font-size: 13px; color: var(--ink2); }
.u-bars .today b { color: var(--ink); font-weight: 600; }
.u-subj .tp span { font-size: 13px; }
.u-legend { font-size: 13px; }
.u-row .v { font-size: 14px; }
.u-ch li span:last-child { font-size: 14px; }
.u-exam .dt { font-size: 14px; }
.u-chart .labs span, .u-chart .labs b { font-size: 13px; }
.u-chart .leg { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 6px 4px 0; font-size: 14px; color: var(--ink2); }
.u-chart .leg > span { display: inline-flex; align-items: center; gap: 6px; }
.u-chart .leg i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.u-chart .leg b { font-family: Poppins, sans-serif; font-weight: 600; }
.r-note { font-size: 14px; color: var(--ink2); }
.u-done-3 span { font-size: 14px; }
.t-me2, .t-kl2, .t-gratis, .t-weg li { font-size: 14px; }
.u-jhead span { font-size: 14px; }
.u-kap .k .s, .u-kap .k .r, .u-kap .k .h { font-size: 13px; }
.u-jnote, .lp-note { font-size: 13px; }
.u-radio button span:last-child { font-size: 14px; }
.lp-hd span { font-size: 14px; }
.lp-t small, .lp-r { font-size: 13px; }
.u-wdots b { font-size: 13px; color: var(--ink2); }
.u-wdots .today b { color: var(--ink); font-weight: 600; }
.u-wdots .today:not(.on) i { box-shadow: inset 0 0 0 2.5px var(--ink); }
.small { font-size: 15px; }
.tiny, .label { color: var(--ink2); }
/* Kinder: die Runde, die mit „Los geht’s“ startet, zeigt ein Abspielen-Zeichen */
.v-round.on .v-mark { background: #22293d; box-shadow: none; }
.v-round.on .v-mark svg { opacity: 1; width: 18px; height: 18px; margin-left: 2px; }

/* Höhen bleiben richtig, wenn ab 1200 px vergrößert wird */
.app, .frame, .u-app, .u-screen, .v-app, .v-screen, .r-main, .k-pause, .t-app { min-height: calc(100dvh / var(--z, 1)); }
.mk { min-height: calc(100dvh / var(--z, 1) - 80px); }

@media (min-width: 700px) {
  /* Ab dem iPad folgt der Knopf dem Inhalt, statt unten am Rand zu kleben */
  .u-fill, .v-fill, .mk-fill, .r-fill { display: none; }
}
@media (min-width: 1024px) {
  .u-tabs, .v-tabs { height: calc(100dvh / var(--z, 1)); }
}
@media (min-width: 1200px) {
  .app { --z: 1.125; zoom: 1.125; }
}
/* Heute im Kalender: Wochentag fett und unterstrichen, braucht keinen Platz extra */
.u-bars .today b, .u-wdots .today b { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.u-bars b { font-size: 12px; }
@media (min-width: 900px) {
  .t-side { height: calc(100dvh / var(--z, 1)); }
}

/* ---------- Lesen → Ankreuzen → Karten (1.12.2026, abends) ---------- */
.le .le-card { align-items: stretch; justify-content: flex-start; text-align: left; gap: 12px; min-height: 0; padding: 22px 24px 22px; }
.le-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qcard .le-top .speak { position: static; }
.le-t { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.1; margin: 0 0 2px; text-wrap: balance; color: var(--ink); }
.le-card p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink); max-width: 68ch; text-wrap: pretty; }
.le-card p.tiny { font-size: 13px; color: var(--ink3); }
.le-fig { margin: 2px 0 4px; padding: 14px 12px; border-radius: 18px; background: var(--paper2); }
.le-fig svg { display: block; width: 100%; height: auto; max-height: 230px; }
.le-svg .ln { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.le-svg .ln2 { fill: none; stroke: var(--ink2); stroke-width: 2; stroke-linecap: round; }
.le-svg .hl { fill: #f1c74a; stroke: #9a7414; stroke-width: 1.5; }
.le-svg .ink { fill: var(--ink); }
.le-svg .ink2 { fill: color-mix(in srgb, var(--ink) 22%, var(--card)); }
.le-svg .soft circle { fill: color-mix(in srgb, var(--ink2) 45%, transparent); filter: blur(3.5px); }
.le-svg .hard circle { fill: var(--ink2); }
.le-svg .soft2 { fill: color-mix(in srgb, var(--ink2) 40%, var(--card)); }
.le-svg .dash { stroke: var(--ink3); stroke-width: 4; stroke-dasharray: 8 7; stroke-linecap: round; fill: none; }
.le-svg .way { stroke: var(--link); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.le-svg .lane { stroke: var(--line2); stroke-width: 2; stroke-dasharray: 10 10; fill: none; }
.le-svg .car { fill: var(--card); stroke: var(--ink); stroke-width: 2.5; }
.le-svg .gap { fill: var(--okbg); }
.le-svg text { fill: var(--ink); font-family: var(--f-body); }
.le-svg .lb { font-family: var(--f-ui); font-weight: 600; font-size: 15px; }
.le-svg .sm { font-size: 13px; fill: var(--ink2); }
.le-svg .xs { font-size: 12px; fill: var(--ink3); }
.le-merke { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--hint); border: 1px solid var(--hint-line); }
.le-merke b { font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.le-fill { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 14px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); }
.le-fh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.le-fh h2 { font-family: var(--f-ui); font-weight: 600; font-size: 20px; line-height: 1.3; margin: 0; }
.le-fh span { color: var(--ink3); font-size: 15px; white-space: nowrap; }
.le-fill > .small { margin: 0 0 4px; }
.le-row { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.le-satz { margin: 0; font-size: 17px; line-height: 1.8; }
.le-gap { display: inline-block; min-width: 76px; min-height: 1.4em; padding: 0 10px; margin: 0 2px; border-bottom: 2px solid var(--line2); text-align: center; font-weight: 600; vertical-align: bottom; }
.le-gap.ok { background: var(--okbg); color: var(--ok); border-bottom-color: var(--ok); border-radius: 6px 6px 0 0; }
.le-hak { display: inline-flex; vertical-align: -4px; margin-left: 8px; }
.le-hak svg { width: 20px; height: 20px; }
.le-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.le-w { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line2); background: var(--card); color: var(--ink); font: 600 16px/1 var(--f-ui); cursor: pointer; }
.le-w.aus { opacity: .42; cursor: default; }
@media (hover: hover) and (pointer: fine) { .le-w:not(.aus):hover { background: var(--paper2); } }
.le-hint { margin: 0; font-size: 15px; color: var(--ink2); }
.answers.long { grid-template-columns: 1fr; }
.answers.long .ans { text-align: left; padding: 14px 18px; min-height: 58px; font-size: 17px; line-height: 1.35; font-weight: 500; }
.le-modal { text-align: left; } .le-modal p { margin: 0; font-size: 16px; line-height: 1.6; }
.le-modal .le-fig { margin: 0; }
@media (min-width: 1024px) { .le .le-card { padding: 28px 32px 26px; } .le-t { font-size: 40px; } }
.le .btn[aria-disabled="true"] { background: var(--paper2); color: var(--ink2); box-shadow: inset 0 0 0 1.5px var(--line2); }
.u-kapok { display: flex; align-items: center; gap: 18px; background: var(--okbg); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.u-kapok .u-t1 { color: var(--ok); }
.u-stack { position: relative; flex: none; width: 58px; height: 66px; }
.u-stack i { position: absolute; inset: 6px 8px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1.5px var(--ok), 0 6px 12px -8px rgba(23,32,58,.4); animation: u-stack .38s cubic-bezier(.23,1,.32,1) both; }
.u-stack i:nth-child(1) { transform: rotate(-8deg); animation-delay: .05s; }
.u-stack i:nth-child(2) { transform: rotate(4deg); animation-delay: .12s; }
.u-stack i:nth-child(3) { transform: rotate(0); animation-delay: .19s; }
@keyframes u-stack { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .u-stack i { animation: u-fade .15s both; } @keyframes u-fade { from { opacity: 0; } } }
.u-card.u-kapok { flex-direction: row; align-items: center; padding: 16px 18px; }
.u-kapok .u-col { flex: 1; min-width: 0; gap: 2px; }

/* ---------- Start-Hilfe, eigener Stoff, Weg (1.12.2026, abends) ---------- */
.u-compose { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; min-height: 64px; margin-top: 10px; padding: 10px 14px; border-radius: 18px; border: 1.5px dashed var(--line2); background: var(--card); text-align: left; color: var(--ink); cursor: pointer; }
.u-compose .u-ibox { background: var(--bg2); }
.u-compose svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .u-compose:hover { border-style: solid; background: var(--bg2); } }
.u-start { gap: 10px; padding: 18px 18px 16px; }
.u-start h2 { margin: 0; font-family: Poppins, sans-serif; font-weight: 600; font-size: 22px; line-height: 1.25; }
.u-ask { display: flex; gap: 8px; }
.u-ask .input { flex: 1; min-width: 0; min-height: 52px; font-size: 17px; }
.u-ask .btn { min-height: 52px; padding: 0 20px; }
.u-sugs { display: flex; flex-wrap: wrap; gap: 8px; }
.u-sug { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 14px 4px 4px; border-radius: 14px; border: 0; background: var(--bg2); color: var(--ink); font: 600 15px/1.2 Poppins, sans-serif; text-decoration: none; cursor: pointer; }
.u-sug .u-ibox { width: 38px; height: 38px; border-radius: 11px; }
.u-sug svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .u-sug:hover { background: color-mix(in srgb, var(--ink) 8%, var(--bg2)); } }
.u-weg { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.u-weg li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 64px; padding: 10px 14px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.u-wn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 600 16px Poppins, sans-serif; color: var(--ink2); background: var(--bg2); }
.u-wn svg { width: 20px; height: 20px; }
.u-weg li.ok { background: var(--okbg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 30%, transparent); }
.u-weg li.ok .u-wn { background: var(--card); }
.u-weg li.ok .u-t2 { color: var(--ok); }
.u-weg li.now { box-shadow: inset 0 0 0 2px var(--ink); }
.u-weg li.now .u-wn { background: var(--f); color: #fff; }
/* Regal: zwei Bretter */
.u-shelf .nm small { margin-left: 8px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink3); font-size: 12px; }
.u-book.done { opacity: .72; }
.u-lese { display: flex; flex-direction: column; gap: 6px; }
.u-bar { height: 10px; border-radius: 999px; background: var(--bg2); overflow: hidden; }
.u-bar i { display: block; height: 100%; border-radius: inherit; }
.u-two { display: flex; flex-wrap: wrap; gap: 8px; }
.u-two .u-cta { flex: 1 1 180px; min-height: 48px; font-size: 15px; }
.u-ch li.ok span:last-child { color: var(--ok); font-weight: 600; }
.u-bfund { display: flex; flex-direction: column; gap: 6px; margin: 4px 0; }
.u-bhit { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 60px; padding: 8px 12px; border-radius: 14px; border: 0; background: var(--paper2); color: var(--ink); text-align: left; cursor: pointer; }
.u-bcov { width: 34px; height: 46px; border-radius: 4px 6px 6px 4px; box-shadow: inset 4px 0 0 rgba(0,0,0,.18); }
@media (hover: hover) and (pointer: fine) { .u-bhit:hover { background: color-mix(in srgb, var(--ink) 8%, var(--paper2)); } }
/* Eigener Stoff: ein Feld wie bei einem KI-Chat */
.cmp { display: flex; flex-direction: column; gap: 0; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line2), var(--sh); overflow: hidden; transition: box-shadow .15s cubic-bezier(.23,1,.32,1); }
.cmp:focus-within { box-shadow: inset 0 0 0 2px var(--focus), var(--sh); }
.cmp.drag { box-shadow: inset 0 0 0 2px var(--focus), 0 0 0 6px color-mix(in srgb, var(--focus) 18%, transparent); background: color-mix(in srgb, var(--focus) 5%, var(--card)); }
.cmp-in { display: block; width: 100%; min-height: 132px; padding: 16px 18px 8px; border: 0; outline: 0; resize: vertical; background: transparent; color: var(--ink); font: 400 17px/1.55 var(--f-body); }
.cmp-in::placeholder { color: var(--ink3); }
.cmp-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px 10px; }
.cmp-ic { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper2); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cmp-ic svg { width: 21px; height: 21px; }
.cmp-hint { flex: 1; min-width: 0; font-size: 13px; color: var(--ink3); padding-left: 4px; }
.cmp-go { min-height: 44px; padding: 0 18px; }
@media (hover: hover) and (pointer: fine) { .cmp-cam { display: none; } .cmp-ic:hover { background: color-mix(in srgb, var(--ink) 8%, var(--paper2)); } }
@media (max-width: 380px) { .cmp-hint { display: none; } }
/* Prüfungen (Erwachsene): Farbe als Fläche, Kapitel, leer erklärt */
.u-subj { background: color-mix(in srgb, var(--fc, var(--bg2)) 12%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc, var(--line)) 28%, transparent); border: 0; }
.u-subj[aria-pressed="true"] { background: color-mix(in srgb, var(--fc, var(--bg2)) 20%, var(--card)); box-shadow: inset 0 0 0 2px var(--fc, var(--line2)); }
.u-leer { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px; }
.u-leer .u-ibox { background: var(--bg2); }
.u-leer .u-two { grid-column: 1 / -1; }
.u-leer .u-two .u-cta { flex: 1 1 160px; min-height: 48px; font-size: 15px; gap: 8px; }
.u-leer .u-two .u-cta svg { width: 18px; height: 18px; }
.u-kapitel { gap: 10px; }
.u-kliste { display: flex; flex-direction: column; gap: 6px; }
.u-kl { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; min-height: 60px; padding: 8px 12px; border: 0; border-radius: 16px; background: var(--bg2); color: var(--ink); text-align: left; cursor: pointer; }
.u-kl > svg { width: 18px; height: 18px; }
.u-kl .u-wn { background: var(--card); }
.u-kl.ok { background: var(--okbg); }
.u-kl.ok .u-t2 { color: var(--ok); }
.u-kl.now { background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.u-kl.now .u-wn { background: var(--f); color: #fff; }
@media (hover: hover) and (pointer: fine) { .u-kl:hover { background: color-mix(in srgb, var(--ink) 7%, var(--bg2)); } .u-kl.ok:hover { background: color-mix(in srgb, var(--ok) 14%, var(--okbg)); } }
/* Tage gelernt: antippbar */
button.v-days { border: 0; color: #22293d; cursor: pointer; min-height: 44px; }
button.u-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; cursor: pointer; font-family: inherit; }
button.u-pill svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { button.u-pill:hover { background: var(--bg2); color: var(--ink); } }
/* Ich (ab 10): Monat, Regal-Vorschau, Einstellungen in einer Karte */
.u-me .u-pillbtn { margin-left: auto; }
.u-kal { gap: 10px; }
.u-kal > p.small { display: none; }
.u-kal .cal { max-width: 360px; }
.u-rmini { gap: 10px; text-decoration: none; color: var(--ink); }
.u-rspines { display: flex; align-items: flex-end; gap: 5px; height: 92px; padding: 0 4px; border-bottom: 5px solid var(--line); }
.u-rspines i { position: relative; width: 30px; border-radius: 4px 4px 1px 1px; overflow: hidden; display: flex; justify-content: center; }
.u-rspines b { writing-mode: vertical-rl; transform: rotate(180deg); padding: 8px 0; font: 600 11px/1 Poppins, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 100%; }
@media (hover: hover) and (pointer: fine) { .u-rmini:hover { box-shadow: inset 0 0 0 1.5px var(--line2); } }
.u-einst { gap: 2px; padding-bottom: 6px; }
.u-einst .u-row:last-child { border-bottom: 0; }
.u-step { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 8px 0; }
.u-stepb { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line2); background: var(--card); color: var(--ink); font: 600 28px/1 Poppins, sans-serif; cursor: pointer; }
.u-stepv { min-width: 80px; text-align: center; font: 400 56px/1 'Instrument Serif', Georgia, serif; color: var(--ink); }
/* Welten: große Kacheln */
.sheet.u-wsheet { max-width: 760px; }
.u-wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.u-wtile { display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 12px; align-items: center; min-height: 76px; padding: 12px; border: 0; border-radius: 18px; text-align: left; color: var(--ink); cursor: pointer; background: color-mix(in srgb, var(--fc, var(--bg2)) 12%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc, var(--line)) 30%, transparent); }
.u-wtile[aria-pressed="true"] { background: var(--okbg); box-shadow: inset 0 0 0 2px var(--ok); }
.u-wico { width: 52px; height: 52px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: var(--fc, var(--bg2)); }
.u-wico svg { width: 26px; height: 26px; }
.u-wok svg { width: 22px; height: 22px; }
.u-wtile.eigen { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line2); border: 0; outline: 1.5px dashed transparent; }
.u-wtile.eigen .u-wico { background: var(--bg2); }
@media (hover: hover) and (pointer: fine) { .u-wtile:hover { filter: brightness(.98); } }
.u-plusw { min-height: 44px; padding: 0 16px; background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.u-plusw svg { color: var(--btn-ink); }
/* Kinder: Schatzkiste mit Namen, Fortschritt erklärt, grün geschafft, Post, Knöpfe */
.v-sticker.named { flex-direction: column; gap: 4px; cursor: pointer; }
.v-sticker.named svg { width: 38px; height: 38px; }
.v-sticker .nm { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 15px; color: #22293d; }
.v-schatzinfo { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.v-schatzinfo .v-sticker { width: 120px; height: 120px; }
.v-schatzinfo .v-sticker svg { width: 56px; height: 56px; }
.v-schatzinfo p { margin: 0; font-size: 17px; }
.v-better { grid-template-columns: minmax(0, 1fr); }
.v-vers { display: flex; gap: 10px; flex-wrap: wrap; }
.v-vers > span { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.v-vers .d { width: 26px; height: 26px; --c: #22293d; }
.v-vers b { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 14px; }
.v-leg { display: flex; gap: 16px; font-size: 14px; color: #4a5368; }
.v-leg > span { display: inline-flex; align-items: center; gap: 6px; }
.v-leg .d { width: 16px; height: 16px; --c: #22293d; }
.v-kchip.ok { background: #e6f2ec; color: #2d5a4b; box-shadow: inset 0 0 0 1.5px #9fcfb6; }
.v-kchip.ok svg { width: 18px; height: 18px; }
.v-postlist { display: flex; flex-direction: column; gap: 8px; }
.v-prow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 64px; padding: 8px 14px 8px 8px; border: 0; border-radius: 20px; background: #f3ecdd; color: #22293d; text-align: left; font-family: Fredoka, sans-serif; cursor: pointer; }
.v-prow .ic { width: 44px; height: 44px; border-radius: 14px; background: #ffffff; display: inline-flex; align-items: center; justify-content: center; }
.v-prow .ic svg { width: 22px; height: 22px; }
.v-prow .ic .d { width: 22px; height: 22px; --c: #22293d; }
.v-prow .t { font-weight: 600; font-size: 19px; }
.v-prow .w { font-weight: 600; font-size: 15px; }
.v-prow.fertig { background: #e6f2ec; color: #2d5a4b; }
.v-prow.neu { background: #ffffff; box-shadow: inset 0 0 0 2px #22293d; }
.v-testbtn { flex-direction: column; gap: 2px; min-height: 72px; }
.v-testbtn small { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 14px; opacity: .85; }
.v-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.v-mbtn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 88px; padding: 10px 6px; border-radius: 22px; background: #ffffff; box-shadow: inset 0 0 0 1px #e7e0d1, inset 0 -4px 0 rgba(34,41,61,.06); color: #22293d; text-decoration: none; text-align: center; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.2; }
.v-mbtn svg { width: 28px; height: 28px; }
.v-tabeltern { display: none; }
@media (min-width: 1024px) {
  .v-tabeltern { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; min-height: 52px; border: 0; border-radius: 16px; background: none; color: #4a5368; font: 600 15px/1.2 'DM Sans', sans-serif; cursor: pointer; }
  .v-tabeltern svg { width: 20px; height: 20px; }
  .v-tabeltern:hover { background: #f3ecdd; color: #22293d; }
}
/* Eltern: Überblick ruhiger, Kalender bei Termine */
.e-jetzt { gap: 12px; }
.e-satz { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 68ch; text-wrap: pretty; }
.e-jetzt .btn svg { width: 18px; height: 18px; }
.e-kachel { text-align: left; text-decoration: none; color: inherit; border: 0; cursor: pointer; font: inherit; }
@media (hover: hover) and (pointer: fine) { .e-kachel:hover { box-shadow: var(--sh), inset 0 0 0 1.5px var(--line2); } }
.e-plus { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 15px; color: var(--ink2); }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--link); font-weight: 600; text-decoration: none; }
.back-link svg { width: 18px; height: 18px; }
.e-kal { gap: 12px; }
.e-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.e-grid .hd { font-size: 12px; font-weight: 600; color: var(--ink3); text-align: center; letter-spacing: .06em; }
.e-grid .tag { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; border-radius: 12px; background: var(--paper2); border: 0; color: var(--ink); font: inherit; }
.e-grid button.tag { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line2); cursor: pointer; }
.e-grid .tag.heute { box-shadow: inset 0 0 0 2px var(--ink); }
.e-grid .tag b { font-size: 15px; font-weight: 600; }
.e-grid .pk { display: flex; gap: 3px; }
.e-grid .pk i { width: 9px; height: 9px; border-radius: 50%; }
.e-sel { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--paper2); }
.seg button[aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(23,32,58,.15); }

/* ---------- Kinder · Schule: Hauptfächer groß, die anderen darunter kleiner ---------- */
.v-subjects2 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.v-subj2 { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 88px; padding: 8px 2px; border: 0; border-radius: 20px; color: #22293d; background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0) 60%), var(--rc); box-shadow: inset 0 -5px 0 rgba(34,41,61,0.14), 0 10px 18px -14px rgba(34,41,61,0.5); }
.v-subj2[aria-pressed="true"] { box-shadow: inset 0 0 0 3px #22293d, inset 0 -5px 0 rgba(34,41,61,0.14), 0 10px 18px -14px rgba(34,41,61,0.5); }
.v-subj2 .g { width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.7); display: inline-flex; align-items: center; justify-content: center; font-family: Fredoka, sans-serif; font-weight: 700; font-size: 16px; }
.v-subj2 .g svg { width: 22px; height: 22px; }
.v-subj2 .n { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 13px; line-height: 1.15; text-align: center; }
@media (min-width: 1024px) { .v-subj2 { min-height: 96px; } .v-subj2 .n { font-size: 14px; } }
/* Eltern · Stoff des Jahres: in der Volksschule acht Fächer, alle sichtbar statt seitlich versteckt */
.lp-chips { flex-wrap: wrap; overflow: visible; }

/* ---------- Nutzung wie bei einem KI-Chat: was diesen Monat noch geht ---------- */
.lim { display: flex; align-items: center; gap: 10px; padding: 2px 2px; color: var(--ink2); font-size: 14px; line-height: 1.45; }
.lim-t b { color: var(--ink); font-weight: 600; }
.lim-seg { display: inline-flex; gap: 4px; flex: none; }
.lim-seg i { width: 16px; height: 8px; border-radius: 4px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line2); }
.lim-seg i.an { background: var(--link); box-shadow: none; }
.lim-bar { flex: none; width: 64px; height: 8px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line2); overflow: hidden; }
.lim-bar i { display: block; height: 100%; background: var(--link); border-radius: 4px; }
.lim-voll { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 4px 12px; padding: 14px 16px; border-radius: 18px; background: var(--hint); box-shadow: inset 0 0 0 1px var(--hint-line); color: var(--ink); }
.lim-voll .lim-ic { width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--card); color: var(--accent); }
.lim-voll .lim-ic svg { width: 20px; height: 20px; }
.lim-vt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lim-h { font-weight: 600; font-size: 15px; line-height: 1.4; text-wrap: pretty; }
.lim-s { font-size: 14px; line-height: 1.5; color: var(--ink2); text-wrap: pretty; }
.lim-voll .btn { grid-column: 2; justify-self: start; margin-top: 8px; }
.lim-list { display: flex; flex-direction: column; margin-top: 6px; border-top: 1px solid var(--line); }
.lim-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lim-rt { font-size: 15px; color: var(--ink); }
.lim-rv { font-size: 14px; color: var(--ink2); text-align: right; min-width: 6.5em; font-variant-numeric: tabular-nums; }
.lim-rs { grid-column: 1 / -1; font-size: 13px; color: var(--ink3); }
.lim-ok { color: var(--ok); display: inline-flex; }
.lim-ok svg { width: 18px; height: 18px; }
@media (max-width: 420px) { .lim-row { grid-template-columns: 1fr auto; } .lim-row .lim-rv { grid-column: 1 / -1; text-align: left; } }
/* Kinder · Schule: die Kärtchen sind der Start. Antippen spielt genau das, kein extra Knopf */
button.v-kchip { border: 0; color: #22293d; min-height: 44px; padding: 0 8px 0 14px; cursor: pointer; }
button.v-kchip.ok { color: #2d5a4b; }
button.v-kchip.next { background: #fde9a8; box-shadow: inset 0 0 0 1.5px #d9b04e; padding-left: 18px; }
.v-kchip .pl { width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.8); }
.v-kchip .pl svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
@media (hover: hover) and (pointer: fine) { button.v-kchip:hover { filter: brightness(0.97); } }
button.v-kchip:active { transform: scale(0.97); }
