/* ============================================================
   Prüfungslotse · styles.css
   Marke: Lotse / Navigation. Marineblau-Petrol + Bernstein.
   Skins via [data-skin="profi" | "kinder" | "neutral"]
   ============================================================ */

:root {
  /* Prüfungslotse – eigene Marke (frisch & modern, NICHT Heinze).
     Markenfarbe lebendiges Teal-Cyan, Akzent warmes Korall-Orange. */
  --navy:      #0c3b43;   /* dunkles Teal-Slate: Kopfzeile, Überschriften */
  --navy-2:    #11616b;
  --teal:      #0ea5a4;   /* Markenfarbe (lebendig) */
  --teal-soft: #dbf4f3;
  --amber:     #ff8a3d;   /* Akzent: Korall-Orange (≠ Heinze-Gold) */
  --amber-soft:#ffe7d6;
  --ink:       #14242c;
  --muted:     #5d7787;
  --line:      #e7edf0;
  --paper:     #f3f6f7;
  --card:      #ffffff;
  --ok:        #16a34a;
  --bad:       #e23d3d;

  /* Skin-Variablen (werden je Skin überschrieben) */
  --akzent:      var(--teal);
  --akzent-ink:  #0a6e6c;
  --akzent-soft: var(--teal-soft);
  --gold:        var(--amber);
  --gold-ink:    #d96e22;
  --radius:      16px;
  --radius-lg:   24px;
  --shadow:      0 1px 2px rgba(12,40,46,.05), 0 10px 26px rgba(12,40,46,.07);
  /* runde, freundliche Sans – kein Serif mehr (das war der Heinze-Look) */
  --font:        "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", sans-serif;
  --font-head:   "Segoe UI", system-ui, -apple-system, "Roboto", sans-serif;
}

/* ---- Skin: Profi (Erwachsene/Beruf) – ruhig-modern ---- */
[data-skin="profi"] {
  --akzent: #0ea5a4;
  --akzent-ink: #0a6e6c;
  --akzent-soft: #dbf4f3;
  --gold: #ff8a3d;
  --gold-ink: #d96e22;
  --radius: 16px;
  --radius-lg: 22px;
}

/* ---- Skin: Kinder (Grundschule) – heller & runder ---- */
[data-skin="kinder"] {
  --navy: #145b86;
  --akzent: #2ba8e8;
  --akzent-ink: #1668a0;
  --akzent-soft: #e3f3fd;
  --gold: #ffc23d;
  --gold-ink: #e09a14;
  --ok: #2fa45f;
  --radius: 22px;
  --radius-lg: 30px;
  --paper: #eef8fe;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  padding-top: calc(10px + env(safe-area-inset-top));
  background: var(--navy);
  color: #fff;
}
[data-skin="kinder"] .topbar { background: var(--akzent-ink); }
.brand { display: flex; align-items: center; gap: 8px; cursor: pointer; margin-right: auto; }
.brand-mark { font-size: 22px; }
.brand-name { font-family: var(--font-head); font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.iconbtn {
  width: 38px; height: 38px; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.12); color: #fff; font-size: 20px; cursor: pointer;
  display: grid; place-items: center;
}
.iconbtn:hover { background: rgba(255,255,255,.2); }
#backBtn { font-size: 26px; margin-right: 2px; }
#brandBtn { margin-left: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: 720px; margin: 0 auto;
  padding: 18px 16px 40px;
}
.appfoot {
  max-width: 720px; margin: 0 auto;
  display: flex; gap: 16px; justify-content: center;
  padding: 22px 16px calc(28px + env(safe-area-inset-bottom));
  color: var(--muted); font-size: 13px;
}
.appfoot a { color: var(--muted); text-decoration: none; }
.appfoot a:hover { text-decoration: underline; }

.spacer-m { height: 18px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; }
[data-skin="kinder"] h1, [data-skin="kinder"] h2, [data-skin="kinder"] h3 { color: var(--akzent-ink); }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--akzent); }
.page-title { font-size: 26px; margin: 4px 0 6px; }
.page-sub { color: var(--muted); margin: 0 0 18px; }

/* ---------- Hero (Bereich-Auswahl Landing) ---------- */
.hero {
  background: radial-gradient(130% 130% at 100% 0%, var(--teal) 0%, var(--navy-2) 55%, var(--navy) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 34px 26px; margin-bottom: 22px;
  position: relative; overflow: hidden;
}
.hero::after { /* dezentes Kurs-Ring-Motiv statt Emoji-Wasserzeichen */
  content: ""; position: absolute; right: -50px; bottom: -70px;
  width: 220px; height: 220px; border-radius: 50%;
  border: 18px solid rgba(255,255,255,.07); box-shadow: 0 0 0 26px rgba(255,255,255,.04);
}
.hero .eyebrow { color: rgba(255,255,255,.72); }
.hero h1 { color: #fff; font-size: 33px; margin: 8px 0 10px; max-width: 15ch; }
.hero p { color: rgba(255,255,255,.85); margin: 0; max-width: 46ch; font-size: 15px; position: relative; }

/* ---------- Bereich-Karten (Home) ---------- */
.section-label { display: flex; align-items: center; gap: 12px; margin: 24px 2px 12px; }
.section-label h2 { font-size: 16px; margin: 0; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.section-label .line { flex: 1; height: 1px; background: var(--line); }

.bereich-grid { display: grid; gap: 14px; }
.bereich-card {
  display: flex; align-items: center; gap: 16px; width: 100%;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 16px; cursor: pointer;
  text-align: left; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s;
}
.bereich-card:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(15,46,61,.12); }
.bereich-card .bc-emoji {
  font-size: 30px; width: 54px; height: 54px; flex: none;
  display: grid; place-items: center; border-radius: 14px;
  background: var(--bc-soft, var(--teal-soft));
}
.bereich-card .bc-body { flex: 1; min-width: 0; }
.bereich-card .bc-title { font-family: var(--font-head); font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--navy); display: block; }
.bereich-card .bc-meta { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; }
.bereich-card .bc-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .4px;
  padding: 2px 8px; border-radius: 999px; margin-top: 6px;
}
.bc-tag.kinder { background: #e4f1fb; color: #1c5e8f; }
.bc-tag.profi  { background: #f6ecd8; color: #8a5a10; }
.bc-tag.soon   { background: #eef1f2; color: #6b7a80; }
.bereich-card .chev { font-size: 26px; color: var(--line); flex: none; }

/* ---------- Modus-Grid (Lernen/Quiz/Karten/Prüfung) ---------- */
.modus-grid { display: grid; gap: 12px; margin-top: 8px; }
.modus-card {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; cursor: pointer; text-align: left; box-shadow: var(--shadow);
  transition: transform .12s;
}
.modus-card:hover { transform: translateY(-2px); }
.modus-card .ic {
  font-size: 24px; width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: var(--akzent-soft);
}
.modus-card h3 { margin: 0 0 2px; font-size: 16px; }
.modus-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font); font-size: 16px; font-weight: 800;
  border: 0; border-radius: 14px; padding: 14px 18px; cursor: pointer;
  line-height: 1.15; letter-spacing: -.01em;
  transition: transform .05s ease, box-shadow .05s ease, filter .12s;
}
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 17px 20px; font-size: 17px; border-radius: 16px; }
.btn-primary { background: var(--akzent); color: #fff; box-shadow: 0 4px 0 var(--akzent-ink); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 4px 0 var(--gold-ink); }
.btn-ghost { background: #fff; color: var(--akzent-ink); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.btn-primary:hover, .btn-gold:hover { filter: brightness(1.04); }
.btn-ghost:hover { background: var(--akzent-soft); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 0 0 var(--akzent-ink); }
.btn-gold:active { transform: translateY(4px); box-shadow: 0 0 0 var(--gold-ink); }
.btn-ghost:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line); }
.nav-row { display: flex; gap: 12px; margin-top: 18px; }
.nav-row .btn { flex: 1; }

/* ---------- Onboarding (Lernmodus-Wahl) ---------- */
.onb { padding: 8px 2px; }
.onb h1 { font-size: 24px; margin: 6px 0 8px; }
.onb .lead { color: var(--muted); margin: 0 0 20px; }
.mode-card {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow); transition: border-color .12s, transform .1s;
}
.mode-card:hover { transform: translateY(-2px); }
.mode-card.empfohlen { border-color: var(--akzent); }
.mode-card .mc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.mode-card .mc-ic { font-size: 26px; }
.mode-card h3 { margin: 0; font-size: 18px; }
.mode-card .badge { font-size: 11px; font-weight: 700; background: var(--akzent); color: #fff; padding: 2px 8px; border-radius: 999px; margin-left: auto; }
.mode-card p { margin: 0; font-size: 14px; color: var(--muted); }
.mode-card .cite { display: block; margin-top: 8px; font-size: 12px; color: var(--akzent); font-style: italic; }

/* ---------- Karten / Lernen ---------- */
.lern-pos { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.kapitel-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow);
}
.kapitel-card h2 { margin: 0 0 14px; font-size: 21px; }
.kernaussage {
  background: var(--akzent-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px;
}
.kernaussage .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--akzent-ink); }
.kernaussage p { margin: 4px 0 0; }

/* Retrieval-Modus: Denk-Prompt */
.recall-prompt {
  background: var(--navy); color: #fff; border-radius: 14px; padding: 18px 18px; margin-bottom: 16px;
}
.recall-prompt .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9ed0db; }
.recall-prompt p { margin: 6px 0 0; font-size: 16px; }
.recall-list { margin: 10px 0 0; padding-left: 20px; }
.recall-list li { margin-bottom: 6px; font-size: 15px; }
.lk-frage { font-weight: 600; color: var(--navy); margin: 0 0 6px; }
[data-skin="kinder"] .lk-frage { color: var(--akzent-ink); }

.lernkarte {
  border-radius: 12px; padding: 14px 16px; margin-top: 12px;
  background: var(--paper);
}
.lernkarte .lk-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--akzent-ink); margin-bottom: 4px; }
.lernkarte p { margin: 0; }
.lk-eselsbruecke { background: var(--amber-soft); }
.lk-wichtig { background: #fbeae9; }
.lk-beispiel { background: #e9f6ef; }
.lk-head { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.lk-icon { font-size: 20px; line-height: 1; }
.lernkarte .lk-lbl { margin-bottom: 0; }
.lk-text { margin: 0; }
.kernaussage .ka-icon { font-size: 22px; margin-right: 6px; }
mark { background: #fff1c2; color: inherit; padding: 0 4px; border-radius: 5px; font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.mc1 { background: #bfe7c8; }
mark.mc2 { background: #c3ddfb; }
mark.mc3 { background: #ffd6a5; }
[data-skin="kinder"] mark.mc1 { background: #93dca6; }
[data-skin="kinder"] mark.mc2 { background: #9fc8fb; }
[data-skin="kinder"] mark.mc3 { background: #ffc078; }
.speak-btn.on { background: var(--akzent); color: #fff; }

/* Kinder-Skin: kindgerechtes Lernen (bunt, große Schrift, Icons, Hervorhebung) */
[data-skin="kinder"] .lernkarte { border-radius: 20px; padding: 16px 18px; margin-top: 16px; box-shadow: 0 2px 0 rgba(20,60,80,.06); }
[data-skin="kinder"] .lernkarte .lk-lbl { font-size: 12px; }
[data-skin="kinder"] .lk-text, [data-skin="kinder"] .lk-frage { font-size: 17px; line-height: 1.55; }
[data-skin="kinder"] .lk-icon { font-size: 30px; }
[data-skin="kinder"] .lk-merke { background: #e4f1fb; }
[data-skin="kinder"] .lk-eselsbruecke { background: #fff4d6; }
[data-skin="kinder"] .lk-wichtig { background: #ffe3e0; }
[data-skin="kinder"] .lk-beispiel { background: #e3f6ea; }
[data-skin="kinder"] .kernaussage { border-radius: 20px; font-size: 17px; }
[data-skin="kinder"] mark { background: #ffd84d; }

/* Bild in Lernkarte / Frage */
.lern-bild, .frage-bild {
  display: block; max-width: 100%; max-height: 200px; width: auto; height: auto;
  margin: 4px auto 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
}
.bild-quelle { font-size: 11px; color: var(--muted); margin: -8px 0 12px; }

/* ---------- Quiz ---------- */
.quiz-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.quiz-progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.quiz-progress i { display: block; height: 100%; background: var(--akzent); transition: width .25s; }
.frage-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow);
}
.frage-text { font-size: 18px; font-weight: 600; color: var(--navy); margin: 0 0 16px; }
[data-skin="kinder"] .frage-text { color: var(--akzent-ink); }
.optionen { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px; cursor: pointer; font-size: 15px; transition: border-color .1s, background .1s;
}
.opt:hover { border-color: var(--akzent); }
.opt .marker {
  width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center;
  background: var(--akzent-soft); color: var(--akzent-ink); font-weight: 700; font-size: 14px;
}
.opt.locked { cursor: default; }
.opt.correct { border-color: var(--ok); background: #e7f5ee; }
.opt.correct .marker { background: var(--ok); color: #fff; }
.opt.wrong { border-color: var(--bad); background: #fbeae9; }
.opt.wrong .marker { background: var(--bad); color: #fff; }
.erklaerung {
  margin-top: 14px; padding: 14px 16px; border-radius: 12px;
  background: #e7f5ee; font-size: 14px;
}
.erklaerung.miss { background: #fbeae9; }
.erklaerung b { display: block; margin-bottom: 4px; }

/* ---------- Result ---------- */
.result { text-align: center; padding: 16px 0; }
.ring {
  width: 150px; height: 150px; border-radius: 50%; margin: 8px auto 18px;
  background: conic-gradient(var(--akzent) var(--deg), var(--line) 0);
  display: grid; place-items: center;
}
.ring .inner { width: 116px; height: 116px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.ring .pct { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--navy); }
.ring .pct small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); font-family: var(--font); }
.result h2 { margin: 0 0 6px; }
.result .msg { color: var(--muted); margin: 0 auto 20px; max-width: 36ch; }
.result .actions { display: grid; gap: 10px; max-width: 360px; margin: 0 auto; }

/* ---------- Flash / Karteikarten ---------- */
.flash {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); min-height: 160px;
}
.fl-q { font-size: 17px; font-weight: 600; color: var(--navy); }
.fl-divider { height: 1px; background: var(--line); margin: 16px 0; }
.fl-a { font-size: 15px; }
.fl-a .lbl { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--akzent); margin-bottom: 6px; }

/* ---------- Glossar ---------- */
.such {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; margin-bottom: 16px; font-family: var(--font);
}
.such:focus { outline: none; border-color: var(--akzent); }
.gl-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.gl-item dt { font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.gl-item dd { margin: 0; font-size: 14px; color: var(--ink); }

/* ---------- Setup-Card / Chips ---------- */
.setup-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
.chip { background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip.on { background: var(--akzent); color: #fff; border-color: var(--akzent); }

/* ---------- Disclaimer / Quelle ---------- */
.disclaimer {
  font-size: 12px; color: var(--muted); background: var(--paper);
  border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 16px;
}
.quelle-zeile { font-size: 11px; color: var(--muted); margin-top: 10px; font-style: italic; }

/* ---------- Paywall ---------- */
.paywall { text-align: center; padding: 10px 4px; }
.paywall-icon { font-size: 46px; }
.paywall-title { font-size: 24px; margin: 6px 0; }
.paywall-sub { color: var(--muted); max-width: 40ch; margin: 0 auto 18px; }
.paywall-features { text-align: left; max-width: 360px; margin: 0 auto 20px; display: grid; gap: 8px; }
.paywall-feat { font-size: 14px; }
.paywall-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.paywall-free { margin-top: 16px; font-size: 13px; color: var(--akzent-ink); background: var(--akzent-soft); border-radius: 10px; padding: 10px; }
.paywall-webinfo { margin-top: 14px; font-size: 14px; background: var(--amber-soft); border-radius: 10px; padding: 12px; }

/* ---------- Settings ---------- */
.settings-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 10px;
}
.settings-row .s-label { font-weight: 600; }
.settings-row .s-sub { font-size: 12px; color: var(--muted); }

/* ---------- Status-Leiste (Bereitschaft / Streak / fällig) ---------- */
.status-bar { display: flex; gap: 10px; margin: 4px 0 12px; }
.status-bar .stat {
  flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 8px; text-align: center; box-shadow: var(--shadow);
}
.status-bar .stat-num { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--navy); }
[data-skin="kinder"] .status-bar .stat-num { color: var(--akzent-ink); }
.status-bar .stat-lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.ready-bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: -4px 0 14px; }
.ready-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--akzent), var(--gold)); transition: width .4s; }

/* ---------- Prüfungstermin ---------- */
.pruef-datum {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--akzent-soft); border-radius: 10px; padding: 10px 14px; margin: -4px 0 14px;
  font-size: 14px; color: var(--akzent-ink);
}
.pruef-datum .mini-link { background: none; border: 0; color: var(--akzent-ink); text-decoration: underline; cursor: pointer; font-size: 13px; }
.pruef-datum .datum-in { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-family: var(--font); font-size: 13px; }

/* ---------- Freude: Belohnung & Bewegung ---------- */
.frage-card { position: relative; }
@keyframes pop { 0%{transform:scale(.4);opacity:0} 60%{transform:scale(1.15)} 100%{transform:scale(1);opacity:1} }
@keyframes shakeX { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-6px)} 40%,80%{transform:translateX(6px)} }
@keyframes slideUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
@keyframes comboPop { 0%{transform:scale(.5);opacity:0} 55%{transform:scale(1.12)} 100%{transform:scale(1);opacity:1} }
@keyframes konfettiFall { to { transform: translateY(108vh) rotate(720deg); } }

.frage-card.enter { animation: slideUp .22s ease both; }
.opt.shake { animation: shakeX .35s; }
.opt.correct { transition: transform .15s; }
.opt.pulse { transform: scale(1.015); }

.reward-check { position: absolute; right: 16px; top: 12px; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.reward-check .badge-ok { width: 34px; height: 34px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 19px; animation: pop .3s ease both; box-shadow: 0 6px 16px rgba(22,163,74,.4); }
.reward-check .praise { font-family: var(--font-head); font-weight: 800; color: var(--ok); font-size: 16px; animation: pop .36s ease both; }
.reward-check.fade { opacity: 0; transition: opacity .3s; }

.combo-pill { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; background: #fff3d6; color: #a85e00; border-radius: 999px; padding: 5px 13px; font-weight: 800; font-size: 14px; animation: comboPop .35s ease both; }
[data-skin="kinder"] .combo-pill { background: #ffe08a; font-size: 15px; }

.konfetti-piece { position: fixed; top: -14px; width: 9px; height: 14px; border-radius: 2px; z-index: 60; pointer-events: none; will-change: transform; }
.result { animation: slideUp .3s ease both; }

/* ---------- Fehler melden ---------- */
.report-link {
  display: block; margin: 12px auto 0; background: none; border: 0; cursor: pointer;
  color: var(--muted); font-size: 12px; text-decoration: underline; font-family: var(--font);
}
.report-link:disabled { color: var(--ok); text-decoration: none; cursor: default; }

/* Sprach-Feedback: kleiner Link, der sich erst beim Antippen öffnet */
.fb-wrap { margin-top: 14px; text-align: center; }
.fb-link {
  background: none; border: 0; cursor: pointer; padding: 4px 6px;
  color: var(--muted); font-size: 12px; text-decoration: underline; font-family: var(--font);
}
.fb-link:hover { color: var(--navy); }
.fb-panel {
  margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--paper); text-align: left;
}
.fb-hint { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.45; }
.fb-btn {
  display: inline-block; padding: 10px 18px; border: 2px solid var(--akzent, var(--teal));
  border-radius: 12px; background: #fff; color: var(--navy);
  font-family: var(--font); font-size: 15px; font-weight: 700; cursor: pointer;
}
.fb-btn.listening { border-color: var(--bad); background: #fff1f0; animation: fbPulse 1s ease-in-out infinite; }
.fb-btn:disabled { border-color: var(--ok); color: var(--ok); background: #eaf7ef; cursor: default; }
@keyframes fbPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(226,61,61,.0); } 50% { box-shadow: 0 0 0 5px rgba(226,61,61,.12); } }
/* Feedback-Liste (Einstellungen) */
.fb-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.fb-item { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.fb-txt { font-size: 14px; color: var(--navy); }
.fb-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ---------- Vorlesen (TTS) ---------- */
.speak-btn {
  flex: none; width: 38px; height: 38px; border: 0; border-radius: 10px;
  background: var(--akzent-soft); color: var(--akzent-ink); font-size: 18px;
  cursor: pointer; display: grid; place-items: center;
}
.speak-btn:hover { filter: brightness(.97); }
.frage-zeile { display: flex; align-items: flex-start; gap: 10px; }
.frage-zeile .frage-text { flex: 1; }
.flash-speak { margin-top: 14px; }
.vorlese-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--muted); font-size: 13px; }

/* ---------- Pause / Häppchen ---------- */
.pause-emoji { font-size: 48px; }

/* ---------- Bewerten ---------- */
.rate-box { margin-top: 18px; padding: 16px; background: var(--amber-soft); border-radius: 14px; text-align: center; }
.rate-box p { margin: 0 0 12px; font-size: 14px; }
.rate-actions { display: flex; gap: 10px; justify-content: center; }
.rate-actions .btn { text-decoration: none; display: inline-flex; align-items: center; }

/* ---------- Rechts-Links ---------- */
.rechts-links { display: flex; flex-wrap: wrap; gap: 16px; padding: 4px 2px; }
.rechts-links a { color: var(--akzent-ink); font-size: 14px; text-decoration: underline; }

/* ---------- Startseite: Suche & Kategorien ---------- */
.home-such { margin-top: 4px; margin-bottom: 18px; }
.kat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kat-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; cursor: pointer; text-align: left;
  box-shadow: 0 4px 0 var(--line); transition: transform .06s;
}
.kat-card:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line); }
.kat-emoji { font-size: 26px; }
.kat-label { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--navy); letter-spacing: -.01em; }
.kat-count { font-size: 12px; color: var(--muted); }
.kat-card.sub { flex-direction: row; align-items: center; justify-content: space-between; }
.kat-card.sub .kat-label { font-size: 15px; }
.crumbs { font-size: 13px; color: var(--muted); margin: -4px 0 14px; }

/* ---------- Bundesland ---------- */
.bl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bl-btn {
  background: var(--card); border: 2px solid var(--line); border-radius: 12px;
  padding: 12px 10px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink);
  box-shadow: 0 4px 0 var(--line); transition: transform .06s;
}
.bl-btn:hover { border-color: var(--akzent); }
.bl-btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line); }
.bl-select { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--font); font-size: 14px; background: #fff; }

/* ---------- Onboarding-Stepper ---------- */
.onb-top { position: relative; display: flex; justify-content: center; align-items: center; min-height: 28px; margin: 4px 0 18px; }
.onb-back { position: absolute; left: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font-size: 15px; font-weight: 600; cursor: pointer; padding: 4px 6px; font-family: var(--font); }
.onb-back:hover { color: var(--navy); }
.onb-top .onb-dots { margin: 0; }
.onb-dots { display: flex; gap: 6px; justify-content: center; margin: 4px 0 18px; }
.onb-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: width .2s; }
.onb-dots span.on { background: var(--akzent); width: 22px; border-radius: 4px; }
.onb-welcome { text-align: center; padding: 18px 0 6px; }
.onb-mark { font-size: 64px; }
.onb-welcome h1 { margin: 8px 0 10px; }
.how-list { display: grid; gap: 14px; margin: 6px 0 16px; }
.how-item { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.how-ic { font-size: 28px; line-height: 1; }
.how-item b { color: var(--navy); font-size: 16px; }
.how-item p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.onb-sci-link { display: block; margin: 0 auto 16px; background: none; border: 0; color: var(--akzent-ink); text-decoration: underline; cursor: pointer; font-size: 14px; font-family: var(--font); }

/* ---------- Methode-Seite ---------- */
.methode-grid { display: grid; gap: 14px; }
.methode-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.methode-card .m-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.methode-card .m-ic { font-size: 24px; }
.methode-card h3 { margin: 0; font-size: 17px; }
.m-claim { margin: 0 0 8px; }
.m-who { margin: 0 0 8px; font-size: 13px; color: var(--akzent-ink); font-style: italic; }
.m-wie { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.m-link { font-size: 13px; color: var(--akzent-ink); font-weight: 700; text-decoration: none; }
.m-link:hover { text-decoration: underline; }
.methode-buch { margin-top: 16px; background: var(--akzent-soft); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--akzent-ink); }

/* ---------- Darstellungstypen (Tabelle / Sequenz / Formel) ---------- */
.lern-tabelle { width: 100%; border-collapse: collapse; margin: 4px 0 12px; font-size: 14px; }
.lern-tabelle th, .lern-tabelle td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.lern-tabelle th { background: var(--akzent-soft); color: var(--akzent-ink); font-weight: 700; }
.lern-tabelle tr:nth-child(even) td { background: var(--paper); }
.lern-sequenz { counter-reset: seq; list-style: none; margin: 4px 0 12px; padding: 0; }
.lern-sequenz li { position: relative; padding: 8px 8px 8px 40px; margin-bottom: 8px; background: var(--paper); border-radius: 10px; }
.lern-sequenz li::before {
  counter-increment: seq; content: counter(seq); position: absolute; left: 8px; top: 8px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--akzent); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.lern-formel {
  font-family: "Cambria Math", Georgia, serif; font-size: 19px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px; margin: 4px 0 12px; letter-spacing: .3px;
}

/* Kinder-Skin: verspielter */
[data-skin="kinder"] .hero { background: radial-gradient(130% 130% at 100% 0%, #5ec3f2 0%, #2ba8e8 55%, #1f8fd0 100%); }
[data-skin="kinder"] .bereich-card, [data-skin="kinder"] .modus-card,
[data-skin="kinder"] .frage-card, [data-skin="kinder"] .kapitel-card { border-width: 2px; }
[data-skin="kinder"] .opt { font-size: 16px; }
[data-skin="kinder"] .bereich-card .bc-emoji { border-radius: 18px; }

/* ============================================================
   PREMIUM UPGRADE — Plus Jakarta Sans + tiefes Redesign
   ============================================================ */

/* Font */
:root {
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --shadow:    0 1px 3px rgba(12,40,46,.06), 0 12px 32px rgba(12,40,46,.09);
  --shadow-lg: 0 4px 6px rgba(12,40,46,.08), 0 20px 48px rgba(12,40,46,.14);
}

/* ---------- Hero (Startseite) — größer, mit Stat-Badges ---------- */
.hero {
  background: radial-gradient(140% 160% at 105% -10%, #14b8b7 0%, #0f7a88 40%, #0c3b43 100%);
  padding: 40px 28px 36px;
  margin-bottom: 26px;
}
.hero h1 { font-size: 36px; margin: 10px 0 12px; max-width: 16ch; line-height: 1.1; }
.hero p  { font-size: 15px; line-height: 1.6; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-badge {
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px); border-radius: 999px;
  padding: 5px 13px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.92);
  letter-spacing: .2px;
}

/* ---------- Such-Feld ---------- */
.home-such {
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 18px; font-size: 15px; box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.home-such:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,165,164,.15); }

/* ---------- Section-Label ---------- */
.section-label h2 { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; }

/* ---------- Kat-Grid: Gradient-Tiles ---------- */
.kat-grid { gap: 14px; }
.kat-card {
  background: var(--card);
  border: none;
  border-radius: 20px;
  padding: 20px 18px 16px;
  box-shadow: var(--shadow);
  transition: transform .12s, box-shadow .12s;
  position: relative; overflow: hidden;
}
.kat-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bc-akzent, var(--teal)) 0%, transparent 70%);
  opacity: .08;
  border-radius: inherit;
}
.kat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.kat-card:active { transform: translateY(1px); box-shadow: var(--shadow); }
.kat-emoji {
  font-size: 32px;
  display: block; width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--akzent-soft);
  display: grid; place-items: center;
  margin-bottom: 12px;
}
.kat-label { font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.kat-count { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ---------- Bereich-Karte mit Fortschrittsbalken ---------- */
.bereich-card {
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: none;
  transition: transform .12s, box-shadow .12s;
}
.bereich-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.bereich-card .bc-emoji {
  font-size: 26px;
  width: 52px; height: 52px;
  border-radius: 14px;
}
.bereich-card .bc-title { font-size: 16px; }
.bc-prog-wrap { margin-top: 10px; height: 5px; background: var(--bc-soft, var(--teal-soft)); border-radius: 3px; overflow: hidden; }
.bc-prog-fill { height: 100%; border-radius: 3px; background: var(--bc-akzent, var(--teal)); transition: width .4s; }

/* ---------- Kurs-Header-Card (Bereich-Ansicht) ---------- */
.kurs-header-card {
  background: linear-gradient(135deg, var(--navy) 0%, #1a5f6a 60%, var(--teal) 100%);
  border-radius: 22px; padding: 28px 24px 24px;
  color: #fff; margin-bottom: 18px;
  box-shadow: 0 8px 32px rgba(12,59,67,.28);
  position: relative; overflow: hidden;
}
.kurs-header-card::after {
  content: ""; position: absolute; right: -40px; bottom: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  border: 20px solid rgba(255,255,255,.06);
  box-shadow: 0 0 0 30px rgba(255,255,255,.03);
}
.kurs-header-card .eyebrow { color: rgba(255,255,255,.6); font-size: 11px; }
.kurs-header-card h1 { color: #fff; font-size: 26px; margin: 8px 0 6px; line-height: 1.15; }
.kurs-header-card .kurs-meta { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.kurs-preis-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 6px 14px;
  font-size: 14px; font-weight: 800; color: #fff;
  margin-bottom: 16px;
}
.kurs-preis-badge.free { background: rgba(22,163,74,.25); border-color: rgba(22,163,74,.4); }

/* ---------- Score-Arc (Prüfungsbereitschaft) ---------- */
.score-arc-wrap {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.1); border-radius: 14px;
  padding: 14px 16px;
}
.score-arc-svg { flex: none; }
.score-arc-info { flex: 1; min-width: 0; }
.score-arc-pct { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: #fff; line-height: 1; }
.score-arc-lbl { font-size: 11px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .8px; margin-top: 2px; }
.score-arc-sub { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 6px; line-height: 1.4; }

/* Kurs-Stats neben Arc */
.kurs-stats { display: flex; gap: 12px; margin-top: 10px; }
.kurs-stat { flex: 1; text-align: center; }
.kurs-stat-num { font-size: 20px; font-weight: 800; color: #fff; }
.kurs-stat-lbl { font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Status-Bar: Premium ---------- */
.status-bar .stat {
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #fff 0%, var(--akzent-soft) 100%);
  box-shadow: var(--shadow);
  padding: 14px 8px;
}
.status-bar .stat-num { font-size: 24px; font-weight: 800; }

/* ---------- Quiz: bessere Optionen ---------- */
.frage-card { border-radius: 20px; padding: 22px; border: none; box-shadow: var(--shadow); }
.frage-text { font-size: 19px; font-weight: 700; line-height: 1.45; }
.opt {
  border-radius: 14px;
  border: 2px solid var(--line);
  padding: 15px 16px;
  font-size: 15px;
  font-weight: 600;
  transition: border-color .1s, background .1s, transform .05s;
}
.opt:hover { border-color: var(--akzent); background: var(--akzent-soft); transform: translateX(3px); }
.opt .marker { border-radius: 10px; font-size: 13px; font-weight: 800; }
.opt.correct { background: #eafaf0; border-color: var(--ok); }
.opt.wrong   { background: #fdf0ef; border-color: var(--bad); }

/* ---------- Modul-Karten: Fortschrittsbalken ---------- */
.bereich-grid .bereich-card { position: relative; }
.bc-modprog { margin-top: 10px; height: 4px; background: var(--bc-soft, #e3eef1); border-radius: 2px; overflow: hidden; }
.bc-modprog i { display: block; height: 100%; background: var(--bc-akzent, var(--teal)); border-radius: 2px; transition: width .4s; }

/* ---------- Paywall Premium ---------- */
.paywall-icon { font-size: 52px; margin-bottom: 4px; }
.paywall-title { font-size: 26px; font-weight: 800; }
.paywall-price-box {
  background: linear-gradient(135deg, var(--navy), #1a5f6a);
  border-radius: 18px; padding: 22px; text-align: center;
  color: #fff; margin: 16px 0;
  box-shadow: 0 8px 24px rgba(12,59,67,.22);
}
.paywall-price-label { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.paywall-price-num   { font-family: var(--font-head); font-size: 52px; font-weight: 800; color: #fff; line-height: 1; }
.paywall-price-sub   { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ---------- Animationen ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.kurs-header-card { animation: fadeUp .28s ease both; }
.hero { animation: fadeUp .22s ease both; }

/* ============================================================
   DESKTOP / TABLET — App-Home auf Hochglanz-Niveau.
   Nur der Container MIT Kategorien-Grid wird breiter (via :has),
   damit die einspaltigen Lese-/Quiz-Ansichten schmal & lesbar bleiben.
   ============================================================ */
@media (min-width: 760px) {
  .container:has(.kat-grid) { max-width: 920px; }
  .kat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .bereich-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1080px) {
  .container:has(.kat-grid) { max-width: 1040px; padding: 32px 24px 60px; }
  .kat-grid { gap: 20px; }
  .hero { padding: 54px 48px 48px; margin-bottom: 30px; }
  .hero h1 { font-size: 44px; max-width: 18ch; }
  .hero p  { font-size: 17px; max-width: 56ch; }
  .hero-badge { font-size: 14px; padding: 6px 15px; }
  .kat-card { padding: 26px 22px 22px; }
  .bereich-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   LANDING PAGE — Marketing-Einstieg
   ============================================================ */
.lp-wrap { font-family: var(--font-head); }
.lp-wrap * { box-sizing: border-box; }

/* ---- Hero ---- */
.lp-hero {
  min-height: 100svh;
  background: linear-gradient(140deg, #0a2830 0%, #0c3b43 45%, #0e5c62 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 24px 64px;
  position: relative; overflow: hidden;
}
.lp-hero-inner {
  max-width: 1000px; width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(40px, 6vw, 96px); position: relative; z-index: 1;
}
.lp-hero-content { flex: 1; min-width: 0; max-width: 480px; }
.lp-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(14,165,164,.18) 0%, transparent 70%);
}
.lp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: rgba(255,255,255,.55); text-transform: uppercase; margin-bottom: 14px; }
.lp-h1 { font-size: clamp(36px, 8vw, 52px); font-weight: 800; color: #fff; line-height: 1.05; margin: 0 0 16px; letter-spacing: -.025em; }
.lp-lead { font-size: 16px; color: rgba(255,255,255,.75); line-height: 1.6; margin: 0 0 22px; max-width: 36ch; font-family: var(--font); font-weight: 400; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.lp-trust span { font-size: 13px; color: rgba(255,255,255,.8); font-weight: 600; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lp-cta-primary {
  background: linear-gradient(135deg, #0ea5a4, #0d7a79);
  color: #fff; border: none; border-radius: 14px;
  padding: 16px 28px; font-size: 17px; font-weight: 800;
  cursor: pointer; font-family: var(--font-head);
  box-shadow: 0 8px 24px rgba(14,165,164,.4);
  transition: transform .1s, box-shadow .1s;
  letter-spacing: -.01em;
}
.lp-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(14,165,164,.5); }
.lp-cta-primary:active { transform: translateY(1px); }
.lp-cta-store {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85); border-radius: 12px;
  padding: 13px 20px; font-size: 14px; font-weight: 700;
  text-decoration: none; font-family: var(--font-head);
  transition: background .15s;
}
.lp-cta-store:hover { background: rgba(255,255,255,.18); }

/* ---- Handy-Mockup ---- */
.lp-phone { position: relative; flex: none; z-index: 1; }
.lp-phone-frame {
  width: 300px; height: 620px;
  background: #040d10;
  border-radius: 52px;
  border: 8px solid rgba(255,255,255,.13);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.6),
    0 60px 120px rgba(0,0,0,.7),
    0 20px 50px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 1px 0 0 rgba(255,255,255,.05),
    inset -1px 0 0 rgba(255,255,255,.03);
  overflow: hidden; position: relative;
  transform: perspective(1200px) rotateY(-14deg) rotateX(5deg);
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.lp-phone-frame:hover {
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}
/* Dynamic Island */
.lp-phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 32px;
  background: #040d10; border-radius: 999px; z-index: 10;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 10px;
}
.lp-notch-cam {
  width: 10px; height: 10px;
  background: #1a2e38; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.06);
}
/* Status Bar */
.lp-phone-statusbar {
  height: 48px; background: #0c3b43;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 18px 8px; flex: none; position: relative; z-index: 2;
}
.lp-status-time { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .3px; font-family: var(--font-head); }
.lp-status-icons { display: flex; gap: 5px; align-items: center; }
.lp-phone-screen { width: 100%; flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.lp-screen-hero {
  background: linear-gradient(135deg, #0c3b43 0%, #0e5c62 100%);
  padding: 16px 16px 18px; flex: none; position: relative;
}
.lp-screen-mark {
  position: absolute; top: 12px; right: 14px;
  font-size: 48px; line-height: 1; opacity: .97;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.4));
}
.lp-screen-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,.5); text-transform: uppercase; margin-bottom: 6px; }
.lp-screen-h1 { font-size: 19px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 10px; letter-spacing: -.02em; }
.lp-screen-badges { display: flex; gap: 5px; flex-wrap: wrap; }
.lp-screen-badges span { background: rgba(255,255,255,.15); border-radius: 999px; padding: 3px 9px; font-size: 10px; color: rgba(255,255,255,.9); font-weight: 700; }
.lp-screen-search {
  margin: 10px 12px 6px; background: rgba(255,255,255,.06); border-radius: 12px;
  padding: 8px 12px; font-size: 12px; color: rgba(255,255,255,.35); flex: none;
  border: 1px solid rgba(255,255,255,.08);
}
.lp-screen-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 10px 10px; flex: 1; }
.lp-cat {
  background: rgba(255,255,255,.06); border-radius: 16px; padding: 14px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  border: 1px solid rgba(255,255,255,.07);
}
.lp-cat span { font-size: 24px; line-height: 1; }
.lp-cat b { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.85); text-align: center; line-height: 1.2; }
/* Home indicator */
.lp-phone-home {
  height: 30px; background: #040d10;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.lp-phone-home::after {
  content: ""; display: block;
  width: 130px; height: 5px;
  background: rgba(255,255,255,.3); border-radius: 3px;
}
/* Glow */
.lp-phone-glow {
  position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%);
  width: 280px; height: 130px;
  background: radial-gradient(ellipse, rgba(14,165,164,.55) 0%, transparent 70%);
  filter: blur(20px); z-index: 0;
}
/* Hero decoration circles */
.lp-hero-deco { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.lp-deco-1 {
  width: 600px; height: 600px; top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(14,165,164,.09) 0%, transparent 60%);
}
.lp-deco-2 {
  width: 400px; height: 400px; bottom: -120px; left: 40%;
  background: radial-gradient(circle, rgba(14,165,164,.07) 0%, transparent 65%);
}
/* Hero Stats (inline below CTAs) */
.lp-hero-stats {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.lp-hero-stat-val { font-size: 26px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 3px; letter-spacing: -.02em; }
.lp-hero-stat-lbl { font-size: 11px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: 1px; font-family: var(--font); }

/* ---- Sections Shared ---- */
.lp-section { padding: 64px 0; }
.lp-section-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.lp-section-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--teal); margin-bottom: 10px; }
.lp-section-h2 { font-size: clamp(26px, 5vw, 36px); font-weight: 800; color: var(--navy); margin: 0 0 10px; letter-spacing: -.02em; line-height: 1.1; }
.lp-section-sub { color: var(--muted); font-size: 15px; margin: 0 0 32px; max-width: 50ch; line-height: 1.6; font-family: var(--font); }

/* ---- Wie es funktioniert (DUNKEL) ---- */
.lp-how { background: linear-gradient(160deg, #0c3b43 0%, #0a2c33 100%); }
.lp-how .lp-section-tag { color: #5ee7e6; }
.lp-how .lp-section-h2 { color: #fff; }
.lp-steps { display: grid; gap: 18px; margin-top: 36px; }
.lp-step {
  background: white; border-radius: 20px; padding: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  transition: transform .14s, box-shadow .14s;
}
.lp-step:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(12,59,67,.13); }
.lp-step-num {
  width: 48px; height: 48px; flex: none; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), #0a6e6c);
  color: #fff; font-size: 20px; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(14,165,164,.3);
}
.lp-step h3 { margin: 0; font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.lp-step p  { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.62; font-family: var(--font); }

/* ---- Preise (HELL, wie Wissenschaft) ---- */
.lp-preise { background: linear-gradient(180deg, #eef6f5 0%, #e3efef 100%); }
.lp-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.lp-price-card {
  background: #fff; border-radius: 20px; padding: 22px 18px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .12s, box-shadow .12s;
  position: relative;
}
.lp-price-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(12,59,67,.13); }
.lp-price-card.featured {
  background: linear-gradient(135deg, var(--navy) 0%, #1a5f6a 100%);
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(12,59,67,.25);
}
.lp-price-num { font-size: 34px; font-weight: 800; color: var(--teal); margin-bottom: 4px; letter-spacing: -.02em; }
.lp-price-card.featured .lp-price-num { color: #fff; }
.lp-price-name { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.lp-price-card.featured .lp-price-name { color: rgba(255,255,255,.9); }
.lp-price-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; font-family: var(--font); }
.lp-price-card.featured .lp-price-meta { color: rgba(255,255,255,.55); }
.lp-price-tag { font-size: 11px; font-weight: 700; color: var(--muted); }
.lp-price-tag.free { color: #2d9b52; }
.lp-price-card.featured .lp-price-tag { color: rgba(255,255,255,.65); }

/* ---- Wissenschaft (hell & luftig) ---- */
.lp-science { background: linear-gradient(180deg, #eef6f5 0%, #e3efef 100%); }
.lp-science .lp-section-tag { color: var(--teal); }
.lp-science .lp-section-h2 { color: var(--navy); }
.lp-sci-grid { display: grid; gap: 18px; margin-top: 36px; }
.lp-sci-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .14s, box-shadow .14s;
}
.lp-sci-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(12,59,67,.13); }
.lp-sci-icon { font-size: 32px; margin-bottom: 14px; }
.lp-sci-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin: 0 0 8px; letter-spacing: -.01em; }
.lp-sci-badge { display: inline-block; font-size: 11px; font-weight: 700; background: rgba(14,165,164,.12); color: #0a6e6c; border-radius: 999px; padding: 4px 11px; margin: 0 0 10px; }
.lp-sci-card p { font-size: 14.5px; color: var(--muted); line-height: 1.62; margin: 0 0 12px; font-family: var(--font); }
.lp-sci-card cite { font-size: 12px; color: var(--teal); font-style: italic; }

/* ---- Footer CTA ---- */
.lp-final {
  background: linear-gradient(160deg, #0c3b43 0%, #0a2c33 100%);
  padding: 72px 0; text-align: center; position: relative; overflow: hidden;
}
.lp-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(255,255,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.lp-final-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; z-index: 1; }
.lp-final-icon { font-size: 52px; }
.lp-final h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 800; color: #fff; margin: 0; letter-spacing: -.02em; }
.lp-final p  { font-size: 16px; color: rgba(255,255,255,.8); margin: 0; font-family: var(--font); max-width: 46ch; text-align: center; line-height: 1.6; }
.lp-final .lp-cta-primary { font-size: 18px; padding: 18px 40px; margin-top: 10px; }
.lp-final-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; margin-top: 18px; }
.lp-final-trust span { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.82); }

/* ---- Footer ---- */
.lp-foot { background: #07191f; padding: 40px 24px 32px; }
.lp-foot-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.lp-foot-brand { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; color: #fff; font-family: var(--font-head); }
.lp-foot-brand span { font-size: 20px; }
.lp-foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.lp-foot-links a { color: rgba(255,255,255,.5); font-size: 13.5px; text-decoration: none; font-family: var(--font); transition: color .15s; }
.lp-foot-links a:hover { color: #fff; }
.lp-foot-copy { width: 100%; text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.35); font-size: 12.5px; font-family: var(--font); }

/* ---- Responsiv ---- */
@media (max-width: 679px) {
  .lp-phone { display: none; }
  .lp-hero { padding-top: 80px; padding-bottom: 56px; min-height: auto; }
  .lp-hero-inner { flex-direction: column; align-items: center; }
  .lp-hero-content { max-width: 100%; text-align: center; }
  .lp-trust { justify-content: center; }
  .lp-ctas { justify-content: center; }
  .lp-hero-stats { justify-content: center; }
  .lp-price-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 680px) and (max-width: 899px) {
  .lp-phone-frame { width: 240px; height: 490px; border-radius: 42px; transform: perspective(1000px) rotateY(-10deg) rotateX(3deg); }
  .lp-phone-frame:hover { transform: perspective(1000px) rotateY(-4deg) rotateX(1deg); }
  .lp-screen-h1 { font-size: 15px; }
  .lp-cat span { font-size: 18px; }
  .lp-cat b { font-size: 9px; }
}
@media (min-width: 680px) {
  .lp-steps { grid-template-columns: 1fr 1fr 1fr; }
  .lp-sci-grid { grid-template-columns: 1fr 1fr; }
  .lp-price-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .lp-sci-grid { grid-template-columns: 1fr 1fr 1fr; }
  .lp-price-grid { grid-template-columns: repeat(4, 1fr); }
}
