:root {
  --bg: #fbf5ee;
  --card: #fffdf9;
  --ink: #14213d;
  --muted: #566480;
  --line: #ece3d6;
  --primary: #1b3a6b;
  --primary-deep: #0f2447;
  --primary-soft: #e9eef7;
  --accent: #f0624d;
  --accent-deep: #d94d39;
  --accent-soft: #fdebe6;
  --teal: #1c6b66;
  --teal-soft: #d2eeea;
  --serif: "Fraunces", "Playfair Display", "Georgia", "Times New Roman", serif;
  --ok: #2e7d4f;
  --ok-soft: #e3f3ea;
  --warn: #b7791f;
  --warn-soft: #fbf1dc;
  --err: #b3362e;
  --err-soft: #f9e5e3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,33,61,.05), 0 10px 30px rgba(20,33,61,.07);
  --radius-lg: 22px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.5; }
a { color: var(--primary); }
button { font: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; letter-spacing: -.015em; }
h2 { font-family: var(--serif); }
h2 { font-size: 1.25rem; font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: .4rem 0 .8rem; }
code { background: var(--primary-soft); padding: 0 .3em; border-radius: 4px; font-size: .95em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tr { font-weight: 600; color: var(--primary); }

/* Layout */
.app { display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: .7rem 1rem; background: rgba(251,245,238,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar .brand { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: -.01em; }
.topbar .brand span { color: var(--accent); }
.topbar nav { display: none; gap: .25rem; }
.topbar nav a, .bottomnav a { text-decoration: none; color: var(--muted); padding: .45rem .8rem; border-radius: 10px; font-weight: 500; }
.topbar nav a.active { background: none; color: var(--ink); border-bottom: 2.5px solid var(--accent); border-radius: 0; }
.bottomnav a.active { background: var(--accent-soft); color: var(--accent-deep); }
.topbar .right { display: flex; gap: .4rem; align-items: center; }
main { padding: 1rem; max-width: 960px; width: 100%; margin: 0 auto; padding-bottom: 5.5rem; }
.bottomnav { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-around; background: var(--card); border-top: 1px solid var(--line); padding: .4rem .3rem calc(.4rem + env(safe-area-inset-bottom)); z-index: 10; }
.bottomnav a { display: flex; flex-direction: column; align-items: center; font-size: .78rem; gap: .1rem; padding: .35rem .6rem; }
.bottomnav a .ico { font-size: 1.2rem; }
@media (min-width: 760px) {
  .topbar nav { display: flex; }
  .bottomnav { display: none; }
  main { padding: 1.5rem 1.25rem 3rem; }
  html { font-size: 18px; }
}

/* Cards */
.card { background: var(--card); border-radius: var(--radius-lg); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
a.card { transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20,33,61,.06), 0 16px 40px rgba(20,33,61,.12); }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.card.accent { border-left: 4px solid var(--accent); }
.row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: .7rem; }
.grid2 { display: grid; grid-template-columns: 1fr; gap: .8rem; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }

/* Buttons */
.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem 1.05rem; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-weight: 550; min-height: 44px; }
.btn:hover { border-color: var(--primary); }
.btn.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn.primary:hover { background: var(--primary-deep); }
.btn.accent { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 8px 20px rgba(240,98,77,.3); }
.btn.accent:hover { background: var(--accent-deep); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--primary); }
.btn.small { padding: .35rem .7rem; min-height: 36px; font-size: .9rem; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ok { background: var(--ok); color: #fff; border-color: var(--ok); }
.btn.warn { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
.btn.err { background: var(--err-soft); border-color: var(--err); color: var(--err); }

/* Inputs */
.field { margin: .6rem 0; }
.field label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .25rem; }
input[type=text], input[type=number], textarea, select { width: 100%; font: inherit; font-size: 1.1rem; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); }
input[type=text]:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
input.inline { width: auto; min-width: 5ch; max-width: 12ch; display: inline-block; padding: .3rem .5rem; font-size: 1.1rem; text-align: center; }
textarea { min-height: 90px; resize: vertical; }
.keybar { display: flex; gap: .35rem; flex-wrap: wrap; margin: .35rem 0; }
.keybar button { min-width: 42px; min-height: 42px; border-radius: 9px; border: 1px solid var(--line); background: var(--primary-soft); color: var(--primary); font-size: 1.15rem; font-weight: 600; cursor: pointer; }
.keybar button:active { background: var(--primary); color: #fff; }
.keybar .hint { font-size: .78rem; color: var(--muted); align-self: center; margin-left: .3rem; }

/* Feedback */
.fb { border-radius: 11px; padding: .8rem 1rem; margin: .7rem 0; }
.fb.ok { background: var(--ok-soft); border-left: 4px solid var(--ok); }
.fb.warn { background: var(--warn-soft); border-left: 4px solid var(--warn); }
.fb.err { background: var(--err-soft); border-left: 4px solid var(--err); }
.fb .cmp { font-family: inherit; font-size: 1.15rem; margin: .4rem 0; }
.fb .cmp div { padding: .15rem 0; }
mark.err { background: #f7c9c5; color: var(--err); border-radius: 3px; padding: 0 .1em; }
mark.ok { background: #c8ead6; color: var(--ok); border-radius: 3px; padding: 0 .1em; }
.tag { display: inline-block; font-size: .75rem; padding: .15rem .5rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 600; vertical-align: middle; }
.tag.teal { background: var(--teal-soft); color: var(--teal); font-size: .85rem; padding: .3rem .7rem; }
.tag.new { background: #eee; color: #666; }
.tag.seen { background: #eef0f3; color: #556; }
.tag.copied { background: var(--warn-soft); color: var(--warn); }
.tag.recalled { background: #e2ecf7; color: var(--primary); }
.tag.sure { background: var(--ok-soft); color: var(--ok); }
.tag.shaky { background: var(--err-soft); color: var(--err); }
.tag.src { background: #f3eef9; color: #6b4a9b; }
.tag.self { background: var(--warn-soft); color: var(--warn); }

/* Progress */
.bar { height: 10px; background: #e9e8e3; border-radius: 999px; overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; }
.bar i.sure { background: var(--ok); } .bar i.recalled { background: #4a7bb7; } .bar i.copied { background: #e0b25d; } .bar i.seen { background: #c5cad2; } .bar i.shaky { background: var(--err); }
.legend { display: flex; gap: .8rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .3rem; vertical-align: middle; }
.steps { display: flex; gap: .3rem; margin: .5rem 0 1rem; }
.steps i { flex: 1; height: 6px; border-radius: 3px; background: #e2e0da; }
.steps i.done { background: var(--ok); } .steps i.cur { background: var(--accent); }

/* Lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list li a { text-decoration: none; color: inherit; flex: 1; }
.list li a.btn { flex: 0 0 auto; color: var(--ink); }
.list .title { font-weight: 550; }
.list .sub { font-size: .85rem; color: var(--muted); }
.vocab { list-style: none; padding: 0; margin: 0; }
.vocab li { display: grid; grid-template-columns: 1fr auto; gap: .3rem .7rem; padding: .55rem 0; border-top: 1px solid var(--line); align-items: center; }
.vocab li:first-child { border-top: 0; }
.vocab .de { color: var(--muted); font-size: .9rem; }

/* Tables (Grammatik) */
.tbl { border-collapse: collapse; width: 100%; margin: .6rem 0 1rem; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--muted); font-weight: 600; font-size: .85rem; }

/* Übungen */
.ex { max-width: 640px; }
.ex .big { font-size: 1.9rem; font-weight: 700; color: var(--primary); letter-spacing: -.01em; }
.ex .prompt { font-size: 1.3rem; font-weight: 600; margin: .5rem 0; }
.ex .meta { color: var(--muted); font-size: .9rem; }
.media { background: linear-gradient(135deg, #e6eef9, #fff0e3); border-radius: 16px; min-height: 90px; display: flex; align-items: center; justify-content: center; color: #8d9ab0; font-size: .85rem; margin: -.4rem -.5rem .9rem; overflow: hidden; }
.media.square { aspect-ratio: 1; max-height: 320px; margin: 0 auto 1rem; width: 100%; max-width: 320px; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: var(--primary-soft); }
.thumb.missing { display: none; }
.dialog-line { display: flex; gap: .7rem; margin: .6rem 0; }
.dialog-line .who { min-width: 70px; font-size: .8rem; color: var(--muted); padding-top: .45rem; }
.dialog-line .bubble { background: var(--primary-soft); border-radius: 14px; padding: .6rem .9rem; flex: 1; }
.dialog-line.you .bubble { background: var(--accent-soft); }
.dialog-line .bubble .de { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.options { display: grid; gap: .5rem; margin: .6rem 0; }
.options button { text-align: left; font-size: 1.05rem; }
.chips { display: flex; gap: .45rem; flex-wrap: wrap; margin: .5rem 0; min-height: 48px; }
.chip { padding: .45rem .8rem; border-radius: 10px; border: 1.5px solid var(--primary); background: #fff; color: var(--primary); font-weight: 600; font-size: 1.1rem; cursor: pointer; }
.chip.used { opacity: .3; pointer-events: none; }
.build { min-height: 54px; border: 1.5px dashed var(--line); border-radius: 11px; padding: .5rem .7rem; font-size: 1.3rem; font-weight: 600; color: var(--primary); display: flex; gap: .3rem; flex-wrap: wrap; align-items: center; }
.build .chip { font-size: 1.2rem; }

/* Memory */
.memgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .8rem 0; }
@media (min-width: 560px) { .memgrid { grid-template-columns: repeat(4, 1fr); } }
.memcard { aspect-ratio: 4/3; border-radius: 11px; border: 1.5px solid var(--line); background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: .4rem; font-weight: 600; cursor: pointer; font-size: .95rem; user-select: none; transition: transform .15s; }
.memcard.open { background: #fff; color: var(--ink); border-color: var(--primary); }
.memcard.open.tr { color: var(--primary); }
.memcard.done { background: var(--ok-soft); color: var(--ok); border-color: var(--ok); cursor: default; }
.memcard.wrong { background: var(--err-soft); color: var(--err); border-color: var(--err); }

/* Karteikarte */
.flash { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 2rem 1.3rem; text-align: center; min-height: 220px; display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.flash .front { font-size: 1.6rem; font-weight: 650; }
.flash .back { font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.flash .ex { font-size: 1rem; color: var(--muted); }
.grade { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; margin-top: .8rem; }

/* Sonstiges */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 55%, #2c5a9a 100%); color: #fff; border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; margin-bottom: 1.2rem; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 16px 40px rgba(15,36,71,.25); }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,36,71,.05) 0%, rgba(15,36,71,.75) 100%); }
.hero > * { position: relative; z-index: 1; }
.hero .kicker { color: #ffb067; font-weight: 650; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
@media (min-width: 760px) { .hero { min-height: 260px; padding: 2rem 2rem; } .hero h1 { font-size: 2.3rem; } }
.hero h1 { color: #fff; }
.hero .muted { color: #d6e0ef; }
.hero .btn.accent { margin-top: .6rem; }
.counter { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.counter div { background: var(--card); border-radius: 12px; padding: .8rem; text-align: center; box-shadow: var(--shadow); }
.counter b { display: block; font-size: 1.6rem; color: var(--primary); }
.counter span { font-size: .8rem; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 5.2rem; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; font-size: .9rem; z-index: 50; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }
@media (min-width: 760px) { .toast { bottom: 1.5rem; } }
details { border: 1px solid var(--line); border-radius: 10px; padding: .5rem .8rem; margin: .5rem 0; background: #fff; }
summary { cursor: pointer; font-weight: 550; color: var(--primary); }
.why { font-size: .85rem; color: var(--muted); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.breadcrumb a { color: var(--muted); }
.pill-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.pill-row .btn.small.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.explain-body p:last-child { margin-bottom: 0; }
.hidden { display: none !important; }
.center { text-align: center; }
.timer { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; }

/* Anklickbare Wörter mit Sprachausgabe */
button.say { background: none; border: 0; padding: 0 .1em; font: inherit; font-weight: 650; color: var(--primary); cursor: pointer; border-bottom: 1.5px dotted var(--primary); border-radius: 0; }
button.say .ico { font-size: .75em; margin-left: .25em; opacity: .7; }
button.say:active { color: var(--accent); }

/* Kapitelkacheln */
.tile { display: block; text-decoration: none; color: inherit; background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 1rem; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20,33,61,.06), 0 16px 40px rgba(20,33,61,.12); }
.tile .img { height: 150px; background: linear-gradient(135deg, var(--primary) 0%, #2c5a9a 60%, var(--accent) 140%); position: relative; }
.tile .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .img .nr { position: absolute; left: 1rem; bottom: .8rem; color: #fff; font-weight: 750; font-size: 2rem; text-shadow: 0 2px 10px rgba(0,0,0,.35); letter-spacing: -.03em; }
.tile .body { padding: .9rem 1.2rem 1rem; }
@media (min-width: 760px) { .tile .img { height: 190px; } }
.lesson-row { display: flex; align-items: center; gap: .8rem; }
.lesson-row .num { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: .9rem; }
.lesson-row .num.done { background: var(--ok-soft); color: var(--ok); }
.lesson-row .num.cur { background: var(--accent); color: #fff; }
.flash img.fimg { width: 140px; height: 140px; object-fit: cover; border-radius: 16px; margin: 0 auto .3rem; display: block; }
.counter b { color: var(--accent); }

/* ---------- Startseite ---------- */
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.start-head h1 { font-size: 2.2rem; margin-bottom: .1rem; }
.start-head p { font-family: var(--serif); color: var(--primary); font-size: 1.15rem; margin: 0 0 1rem; }
.start-hero { display: grid; grid-template-columns: 1fr; background: linear-gradient(135deg, #fff6ec, #fdeedd); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 1.6rem; }
.start-hero .text { padding: 1.4rem 1.3rem 1.5rem; }
.start-hero .kicker { color: #2a8f88; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; }
.start-hero h2 { font-size: 2rem; line-height: 1.1; margin-bottom: .5rem; letter-spacing: -.02em; }
.start-hero .sub { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 1rem; }
.start-hero .facts { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.2rem; font-family: var(--serif); font-size: 1rem; }
.start-hero .facts .sep { width: 1.5px; height: 22px; background: var(--primary); opacity: .4; }
.start-hero .img { position: relative; min-height: 220px; background: linear-gradient(135deg, #2c5a9a, #1b3a6b 60%, #f0624d 150%); }
.start-hero .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.start-hero .actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.start-hero .actions .btn.accent { font-size: 1.1rem; padding: .8rem 1.6rem; border-radius: 12px; font-family: var(--serif); }
.start-hero .actions a.plain { color: var(--ink); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.start-hero .minutes { display: none; gap: .4rem; margin-top: .8rem; }
.start-hero .minutes.open { display: flex; }
@media (min-width: 760px) {
  .start-hero { grid-template-columns: 1.2fr 1fr; }
  .start-hero .text { padding: 2.2rem 2rem 2.2rem; }
  .start-hero h2 { font-size: 2.6rem; }
  .start-hero .img { min-height: 340px; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); margin-left: -2rem; }
}
.section-head { margin: 1.4rem 0 .8rem; }
.section-head h2 { font-size: 1.7rem; margin-bottom: 0; }
.section-head p { font-family: var(--serif); color: var(--primary); margin: 0; }
.tiles { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile3 { display: grid; grid-template-columns: 96px 1fr; gap: .9rem; align-items: center; background: var(--card); border-radius: 18px; padding: .8rem; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.tile3:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20,33,61,.06), 0 16px 40px rgba(20,33,61,.12); }
.tile3 .pic { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--teal-soft), #fdeedd); }
.tile3 .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile3 h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 .15rem; }
.tile3 p { margin: 0 0 .5rem; font-family: var(--serif); font-size: .95rem; }
@media (min-width: 760px) and (max-width: 1000px) { .tile3 { grid-template-columns: 1fr; } .tile3 .pic { width: 100%; height: 120px; } }
.path { background: var(--card); border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr; gap: .8rem; align-items: center; }
@media (min-width: 760px) { .path { grid-template-columns: auto 1fr; gap: 2rem; } }
.path h2 { font-size: 1.6rem; margin: 0; }
.path ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; position: relative; gap: .3rem; }
.path ol::before { content: ""; position: absolute; left: 12%; right: 12%; top: 13px; height: 2px; background: var(--primary); opacity: .35; }
.path li { position: relative; flex: 1; text-align: center; font-family: var(--serif); font-size: .9rem; color: var(--muted); min-width: 0; }
.path li .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #b9bfd0; background: var(--card); margin: 0 auto .35rem; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
.path li.done .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.path li.cur { color: var(--ink); font-weight: 700; }
.path li.cur .dot { background: var(--accent); border-color: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
.path li span { display: block; padding: 0 .2rem; line-height: 1.2; }
.path a { text-decoration: none; color: inherit; }

/* Vereinfachte Startseite */
.start-hero .dur { margin-top: 1rem; font-family: var(--serif); color: var(--muted); font-size: 1rem; }
.start-hero .dur a { white-space: nowrap; cursor: pointer; color: var(--muted); text-decoration: none; padding: .2rem .1rem; }
.start-hero .dur a.cur { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); }
.start-hero .dur .dot { margin: 0 .5rem; }
.start-hero .sub { font-size: 1.2rem; line-height: 1.45; }
.start-hero .actions .btn.accent { font-size: 1.2rem; padding: .9rem 1.9rem; }
.tile3 h3 { align-self: center; }
.path-now { margin-top: 1rem; font-family: var(--serif); }
.path-now a { color: var(--ink); }
.tile .img .nr { font-size: 1.4rem; }
.tile .img { background: linear-gradient(135deg, #1b3a6b 0%, #2c5a9a 60%, #f0624d 150%); }

/* ---------- Kursübersicht ---------- */
.chapter { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 1.4rem; }
.chapter .banner { position: relative; height: 220px; background: linear-gradient(135deg, #1b3a6b, #2c5a9a); }
.chapter .banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.chapter .banner .shade { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, rgba(15,36,71,0) 0%, rgba(15,36,71,.55) 55%, rgba(15,36,71,.85) 100%); }
.chapter .banner .caption { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem; color: #fff; }
.chapter .banner h2 { color: #fff; font-size: 1.6rem; margin: 0 0 .15rem; text-shadow: none; }
.chapter .banner .progress { font-size: .95rem; color: #dbe5f3; }
.chapter .body { padding: 1rem 1.2rem 1.1rem; }
.chapter .goal { font-size: 1.05rem; margin: 0 0 .7rem; }
.lessons { list-style: none; margin: 0; padding: 0; }
.lessons li + li { border-top: 1px solid var(--line); }
.lesson { display: grid; grid-template-columns: 40px 1fr auto; gap: .9rem; align-items: center; padding: .85rem .6rem; min-height: 60px; margin: 0 -.6rem; border-radius: 14px; text-decoration: none; color: inherit; transition: background .15s; }
.lesson:hover { background: #f6efe6; }
.lesson:active { background: #efe5d8; }
.lesson:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; background: #f6efe6; }
.lesson .num { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.lesson.done .num { background: var(--ok-soft); color: var(--ok); }
.lesson .name { font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
.lesson .meta { font-size: .95rem; color: var(--muted); margin-top: .1rem; }
.lesson .go { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.lesson .arrow { font-size: 1.3rem; color: var(--primary); }
.lesson.next { background: var(--teal-soft); margin: .3rem -.6rem; }
.lesson.next:hover, .lesson.next:focus-visible { background: #c3e7e2; }
.lesson.next .num { background: var(--accent); color: #fff; }
.lesson.next .hint { font-weight: 700; color: var(--teal); font-size: .95rem; }
.lesson.next .arrow { color: var(--accent); font-size: 1.5rem; }
@media (min-width: 760px) { .chapter .banner { height: 300px; } .chapter .banner h2 { font-size: 2rem; } .chapter .body { padding: 1.2rem 1.6rem 1.3rem; } }
@media (max-width: 480px) { .lesson .hint { display: none; } }

/* Druck (Tandem-Blatt) */
@media print { .topbar, .bottomnav, .toast, .breadcrumb, .btn, button.say .ico { display: none !important; } body { background: #fff; } main { max-width: none; padding: 0; } .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; } button.say { border: 0; color: #000; font-weight: 600; } }

.chapter.locked .lesson { opacity: .55; }
.chapter.locked .banner img { filter: grayscale(.4); }
