/* MindOnDigital Academy – Stil nach mindondigital.de (dunkles Navy, Gold) */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url(assets/fonts/space-grotesk-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url(assets/fonts/space-grotesk-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(assets/fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(assets/fonts/space-grotesk-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --navy: #0A1A2F;
  --navy-2: #0F2440;
  --navy-3: #16304F;
  --line: #1C3556;
  --ink: #EAF1F8;
  --muted: #93A8C2;
  --gold: #E3A94A;
  --gold-hover: #F0BB63;
  --gold-ink: #1A1206;
  --accent: #5A8CC8;
  --good: #5FBF8F;
  --mid: #E3C04A;
  --bad: #E07A6A;
  --radius: 14px;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --nav-h: 64px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--navy); color: var(--ink); }
body { font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100dvh; }
a { color: var(--gold); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* Seitenwechsel setzt den Fokus auf den Inhalt (Screenreader) – dort kein Rahmen */
#view:focus, #view:focus-visible { outline: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: 1.6rem; font-weight: 700; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0; }

/* Rahmen */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--navy) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; display: flex; align-items: center; gap: 12px; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.wordmark span { color: var(--gold); }
.wordmark small { display: block; font-family: var(--body); font-weight: 500; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.top .back { background: none; border: 0; color: var(--muted); padding: 6px 8px 6px 0; cursor: pointer; font-size: 1.3rem; line-height: 1; }
.top .spacer { flex: 1; }
.lang-chip { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: .8rem; color: var(--muted); background: none; cursor: pointer; text-transform: uppercase; letter-spacing: .06em; }
main { max-width: 720px; margin: 0 auto; padding: 18px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 18px; }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--navy-2); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom, 0px); }
.nav a { display: grid; justify-items: center; gap: 2px; padding: 9px 2px 8px; color: var(--muted); text-decoration: none; font-size: .72rem; }
.nav a svg { width: 22px; height: 22px; }
.nav a[aria-current="page"] { color: var(--gold); }

/* Bausteine */
.eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.lead { color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.stack { display: grid; gap: 10px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.panel { background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; }
.panel.gold { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); display: grid; gap: 4px; align-content: start; min-height: 96px; }
.tile:hover { border-color: var(--accent); }
.tile b { font-family: var(--display); font-weight: 600; font-size: 1rem; }
.tile span { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.list { display: grid; gap: 8px; }
.item { display: flex; gap: 12px; align-items: center; background: var(--navy-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
.item:hover { border-color: var(--accent); }
.item .grow { flex: 1; min-width: 0; }
.item .t { font-weight: 600; }
.item .s { color: var(--muted); font-size: .85rem; }
.badge { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.badge.free { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
.badge.lock { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }
.badge.done { background: color-mix(in srgb, var(--accent) 22%, transparent); color: #A9C7EA; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 11px 18px; border: 1px solid var(--line); background: var(--navy-3); color: var(--ink); cursor: pointer; text-decoration: none; font-weight: 600; font-size: .95rem; }
.btn:hover { border-color: var(--accent); }
.btn.small { padding: 7px 14px; font-size: .85rem; }
.btn.primary { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.btn.primary:hover { background: var(--gold-hover); }
.btn.ghost { background: none; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; }
.progress { height: 6px; background: var(--navy-3); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold); }
.note { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* Satz des Tages */
.quote { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.3; text-wrap: balance; }
.quote::before { content: "“"; color: var(--gold); margin-right: 2px; }
.quote::after { content: "”"; color: var(--gold); }

/* Auswahl beim Start */
.choice { display: grid; gap: 10px; }
.choice button { text-align: left; background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; display: grid; gap: 2px; }
.choice button[aria-pressed="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, var(--navy-2)); }
.choice b { font-family: var(--display); font-size: 1.05rem; }
.choice span { color: var(--muted); font-size: .88rem; }
.langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.langs button { background: var(--navy-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; }
.langs button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }

/* Karteikarte */
.card { position: relative; background: var(--navy-2); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; display: grid; gap: 14px; }
.card .persp { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card .sit { font-family: var(--display); font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.weak, .strong { border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.weak { background: color-mix(in srgb, var(--bad) 10%, transparent); border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent); }
.weak p { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--bad) 70%, transparent); color: #F1C5BD; }
.strong { background: color-mix(in srgb, var(--good) 10%, transparent); border: 1px solid color-mix(in srgb, var(--good) 35%, transparent); }
.strong p { font-weight: 600; font-size: 1.08rem; }
.lbl { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.why { color: var(--muted); }
.src { font-size: .78rem; color: var(--muted); }
.flip-btn { justify-self: start; }
.card.flipping { animation: flip .35s ease; }
@keyframes flip { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
@media (prefers-reduced-motion: reduce) { .card.flipping { animation: none; } }
.boxes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.boxes div { background: var(--navy-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 4px; text-align: center; font-variant-numeric: tabular-nums; }
.boxes b { display: block; font-family: var(--display); font-size: 1.15rem; }
.boxes span { font-size: .68rem; color: var(--muted); }

/* Szenario */
.bubble { background: var(--navy-3); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-style: italic; }
.opt { text-align: left; background: var(--navy-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.opt:hover { border-color: var(--accent); }
.opt.gut { border-color: var(--good); }
.opt.mittel { border-color: var(--mid); }
.opt.schwach { border-color: var(--bad); }
.fb { border-left: 3px solid var(--line); padding: 4px 0 4px 12px; }
.fb.gut { border-color: var(--good); } .fb.mittel { border-color: var(--mid); } .fb.schwach { border-color: var(--bad); }

/* Tests, Checklisten */
.q { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.scale label, .chk { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.scale label { justify-content: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px 4px; font-size: .85rem; text-align: center; }
.scale input { position: absolute; opacity: 0; pointer-events: none; }
.scale label:has(input:checked) { border-color: var(--gold); color: var(--gold); }
.chk input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; margin-top: 2px; }
.result { display: grid; gap: 6px; }
.result p { margin: 0; }

/* Bingo */
.bingo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.bingo button { aspect-ratio: 1; border: 1px solid var(--line); background: var(--navy-2); border-radius: 10px; padding: 3px; font-size: clamp(.58rem, 2.6vw, .82rem); line-height: 1.15; font-weight: 500; cursor: pointer; hyphens: manual; overflow-wrap: normal; word-break: normal; display: grid; place-items: center; text-align: center; }
.bingo button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); font-weight: 600; }
.bingo button.free { background: color-mix(in srgb, var(--accent) 25%, var(--navy-2)); border-color: var(--accent); font-weight: 600; }
.bingo button.win { box-shadow: 0 0 0 2px var(--ink) inset; }
.bingo-hit { text-align: center; display: grid; gap: 8px; justify-items: center; }
.bingo-hit .big { font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--gold); letter-spacing: -.02em; }
@media (prefers-reduced-motion: no-preference) { .bingo-hit .big { animation: pop .45s cubic-bezier(.2, 1.6, .4, 1); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Hefte */
.heft { display: grid; gap: 14px; }
.heft .seite { display: grid; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.heft table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.heft th, .heft td { border-bottom: 1px solid var(--line); padding: 6px 8px 6px 0; text-align: left; vertical-align: top; }
.heft th { color: var(--muted); font-weight: 600; }
.scroll-x { overflow-x: auto; }
.heft ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.heft .grid2 { display: grid; gap: 8px; }
@media (min-width: 560px) { .heft .grid2 { grid-template-columns: 1fr 1fr; } }
.heft svg { max-width: 100%; height: auto; }
.locked { opacity: .75; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.cover { width: 72px; border-radius: 6px; flex: none; }

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; z-index: 10; }
.hidden { display: none !important; }
.input { width: 100%; background: var(--navy); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; color: var(--ink); font: inherit; }
.input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.item .btn { padding: 8px 14px; font-size: .85rem; white-space: nowrap; }
.price { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--gold); }
/* Satz des Tages: Zitat, keine Karte – soll nicht nach Knopf aussehen */
.sotd { margin: 4px 0 6px; padding: 2px 0 2px 16px; border-left: 3px solid var(--gold); display: grid; gap: 6px; }
.sotd blockquote { margin: 0; }
.note.web + .note { border-top: 0; padding-top: 0; }
.note.web a { font-weight: 600; }
[hidden] { display: none !important; }
/* Große Bildschirme: untere Leiste auf Inhaltsbreite, damit sie nicht am Bildschirmrand „verschwindet“ */
@media (min-width: 820px) {
  .nav { left: 50%; right: auto; width: min(760px, 100%); transform: translateX(-50%); border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -6px 24px rgb(0 0 0 / .35); }
  .nav a { font-size: .8rem; }
}
