/* LearnCrew – Landingpage, Version 4: ruhige Karten, Heftraster, Serif-Überschriften.
   Umschalter: <html data-theme="light|dark"> (fehlt = Automatisch nach Systemschema). Alle Farben sind Variablen. */

:root {
  color-scheme: light dark;
  --bg: #EFF6F9;
  --surface: #FFFFFF;
  --soft: #DDF1F8;
  --soft-2: #E3EEF3;
  --ink: #0F2330;
  --muted: #4A6070;
  --brand: #0A74A3;
  --brand-hover: #075A80;
  --on-brand: #FFFFFF;
  --link: #0A6590;
  --warm: #F8AA42;
  --on-warm: #2B1700;
  --warm-ink: #9A5200;
  --focus: #B45F00;
  --line: rgba(15, 35, 48, 0.12);
  --line-strong: rgba(15, 35, 48, 0.34);
  --grid: rgba(10, 116, 163, 0.10);
  --ok-bg: #DDF1E5; --ok-fg: #14532F;
  --warn-bg: #FBEBCF; --warn-fg: #6B3A00;
  --bad-bg: #F9DAD7; --bad-fg: #7A1810;
  --dot-ok: #1E7B4A; --dot-warn: #B8730A; --dot-bad: #B3261E;
  --skel: rgba(10, 116, 163, 0.16);
  --lift: 0 1px 2px rgba(15, 35, 48, 0.05), 0 18px 40px -22px rgba(15, 35, 48, 0.42);
  --soft-shadow: 0 1px 2px rgba(15, 35, 48, 0.04), 0 10px 28px -18px rgba(15, 35, 48, 0.28);
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 16px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}
:root[data-theme="light"] { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1722;
    --surface: #122434;
    --soft: #14354A;
    --soft-2: #1A3145;
    --ink: #E8EEF3;
    --muted: #9FB3C2;
    --brand: #5CC3EA;
    --brand-hover: #8AD6F1;
    --on-brand: #04202C;
    --link: #7FD3F0;
    --warm: #F8AA42;
    --on-warm: #2B1700;
    --warm-ink: #F8AA42;
    --focus: #F8AA42;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(232, 238, 243, 0.40);
    --grid: rgba(92, 195, 234, 0.09);
    --ok-bg: #173826; --ok-fg: #A5E8C3;
    --warn-bg: #3D2D10; --warn-fg: #F5CD8E;
    --bad-bg: #432020; --bad-fg: #FFB4AD;
    --dot-ok: #5FD08F; --dot-warn: #E5A94B; --dot-bad: #FF8A80;
    --skel: rgba(92, 195, 234, 0.22);
    --lift: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px -22px rgba(0, 0, 0, 0.9);
    --soft-shadow: 0 10px 28px -18px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  --bg: #0B1722;
  --surface: #122434;
  --soft: #14354A;
  --soft-2: #1A3145;
  --ink: #E8EEF3;
  --muted: #9FB3C2;
  --brand: #5CC3EA;
  --brand-hover: #8AD6F1;
  --on-brand: #04202C;
  --link: #7FD3F0;
  --warm: #F8AA42;
  --on-warm: #2B1700;
  --warm-ink: #F8AA42;
  --focus: #F8AA42;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(232, 238, 243, 0.40);
  --grid: rgba(92, 195, 234, 0.09);
  --ok-bg: #173826; --ok-fg: #A5E8C3;
  --warn-bg: #3D2D10; --warn-fg: #F5CD8E;
  --bad-bg: #432020; --bad-fg: #FFB4AD;
  --dot-ok: #5FD08F; --dot-warn: #E5A94B; --dot-bad: #FF8A80;
  --skel: rgba(92, 195, 234, 0.22);
  --lift: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  --soft-shadow: 0 10px 28px -18px rgba(0, 0, 0, 0.7);
}

/* Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; overflow-x: clip; }
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font: 650 1.08rem/1.3 var(--sans); letter-spacing: -0.005em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--brand) 28%, transparent); }
[id] { scroll-margin-top: 24px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 10px 16px; border-radius: var(--r-sm); background: var(--brand); color: var(--on-brand); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Logo (Hell/Dunkel) */
.lc-logo { display: block; width: 100%; height: 100%; border-radius: 22%; }
.lc-logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lc-logo-light { display: none; }
  :root:not([data-theme="light"]) .lc-logo-dark { display: block; }
}
:root[data-theme="dark"] .lc-logo-light { display: none; }
:root[data-theme="dark"] .lc-logo-dark { display: block; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px; font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer; transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 1.2em; height: 1.2em; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.93rem; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--link); text-decoration: none; }

/* Kopfzeile */
.site-header { position: relative; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.brand-mark { display: block; width: 36px; height: 36px; flex: none; }
.nav-main { display: none; }
.nav-main ul { display: flex; gap: 2px; }
.nav-main a { display: block; padding: 8px 13px; border-radius: 999px; color: var(--ink); font-size: 0.96rem; font-weight: 550; text-decoration: none; }
.nav-main a:hover { background: var(--soft); }
.hdr-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.bar-link, .bar-cta { display: none; }
.bar-link { padding: 8px 10px; color: var(--ink); font-size: 0.96rem; font-weight: 600; text-decoration: none; }
.bar-link:hover { color: var(--link); text-decoration: underline; }
.theme-toggle { display: none; width: 42px; height: 42px; padding: 0; align-items: center; justify-content: center; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color 0.18s var(--ease); }
html.js .theme-toggle { display: inline-flex; }
.theme-toggle:hover { border-color: var(--brand); }
.theme-toggle .ti { display: none; width: 20px; height: 20px; }
html:not([data-theme]) .theme-toggle .ti-auto,
html[data-theme="light"] .theme-toggle .ti-light,
html[data-theme="dark"] .theme-toggle .ti-dark { display: block; }
.menu summary { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 0.95rem; font-weight: 600; list-style: none; cursor: pointer; user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { border-color: var(--brand); }
.menu .ico-shut, .menu[open] .ico-open { display: none; }
.menu[open] .ico-shut { display: block; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; padding: 6px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--lift); }
.menu-panel a:not(.btn) { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.08rem; font-weight: 600; text-decoration: none; }
.menu-panel .btn { width: 100%; margin-top: 20px; }
@media (min-width: 980px) {
  .site-header { position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
  [id] { scroll-margin-top: 88px; }
  .nav-main { display: block; margin-left: 28px; }
  .bar-link, .bar-cta { display: inline-flex; }
  .hdr-end { gap: 10px; }
  .menu { display: none; }
}

/* Typografische Bausteine */
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 700 0.78rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--link); }
.eyebrow::before { content: ""; flex: none; width: 22px; height: 3px; border-radius: 2px; background: var(--warm); }
.sec-head { max-width: 42rem; margin-bottom: 36px; }
.sec-head h2, .sec-title { font: 600 clamp(1.85rem, 4.6vw, 2.6rem)/1.12 var(--serif); letter-spacing: -0.02em; }
.sec-head p { margin-top: 14px; color: var(--muted); }
.mark { background: linear-gradient(transparent 62%, var(--soft) 62%, var(--soft) 92%, transparent 92%); padding-inline: 0.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pill { display: inline-block; padding: 2px 11px; border-radius: 999px; background: var(--soft-2); border: 1px solid var(--line); font: 600 0.76rem/1.7 var(--sans); white-space: nowrap; color: var(--muted); }
.pill-bad { background: var(--bad-bg); color: var(--bad-fg); border-color: transparent; }
.pill-warn { background: var(--warn-bg); color: var(--warn-fg); border-color: transparent; }
.pill-ok { background: var(--ok-bg); color: var(--ok-fg); border-color: transparent; }
.pill-warm { background: var(--warm); color: var(--on-warm); border-color: transparent; }
.pill-brand { background: var(--soft); color: var(--link); border-color: transparent; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks .ico { flex: none; width: 24px; height: 24px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--brand); color: var(--on-brand); stroke-width: 2.6; }
.ticks span { min-width: 0; }

/* Abschnitte */
.section { padding-block: 56px; }
.section-tint { background: var(--surface); border-block: 1px solid var(--line); }
@media (min-width: 768px) { .section { padding-block: 88px; } }

/* Hero: kariertes Heftpapier */
.hero { position: relative; overflow: hidden; padding-block: 44px 56px; }
.hero::before, .page-head::before, .cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .hero { padding-block: 84px 96px; } .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; } }
.hero h1 { font-size: clamp(2.5rem, 8.5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; }
.lede { max-width: 56ch; margin-top: 22px; color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.2rem); line-height: 1.6; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 479px) { .cta .btn { width: 100%; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 0.9rem; font-weight: 600; line-height: 1.4; }
.trust .ico { width: 1.1em; height: 1.1em; color: var(--link); stroke-width: 2.3; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .stage { animation: rise 0.7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
  .stage { animation-delay: 0.2s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Gebaute Vorschau (dekorativ) */
.stage { position: relative; width: 100%; max-width: 440px; margin-inline: auto; padding: 34px 12px 0; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--lift); }
.sheet-back { position: absolute; inset: 0 12px 92px; padding: 16px 20px; transform: rotate(-3.5deg); background: var(--soft); border-color: transparent; }
.sheet-tag { display: inline-block; font: 700 0.72rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--link); }
.sheet-q { margin-top: 10px; font: 600 1.4rem/1.2 var(--serif); }
.skel { display: block; height: 7px; margin-top: 10px; border-radius: 4px; background: var(--skel); }
.skel.w-30 { width: 30%; } .skel.w-45 { width: 45%; } .skel.w-55 { width: 55%; } .skel.w-70 { width: 70%; } .skel.w-85 { width: 85%; }
.sheet-front { position: relative; margin-top: 66px; padding: 18px; transform: rotate(1.2deg); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 1rem; }
.today { margin-top: 14px; display: grid; gap: 8px; }
.today li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm); background: var(--soft-2); font-size: 0.95rem; font-weight: 550; }
.today-t { flex: 1 1 auto; min-width: 0; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-ok { background: var(--dot-ok); } .dot-warn { background: var(--dot-warn); } .dot-bad { background: var(--dot-bad); }
.sheet-cal { position: relative; width: 74%; margin: -10px 0 0 auto; padding: 12px 14px 14px; transform: rotate(-1.4deg); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 8px; text-align: center; }
.week span { display: block; }
.week .wd { font: 700 0.68rem/1.6 var(--sans); letter-spacing: 0.04em; color: var(--muted); }
.week .wc { position: relative; height: 26px; border-radius: 8px; background: var(--soft-2); }
.week .wc.on { background: var(--soft); }
.week .wc.on::after, .week .wc.hit::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--brand); }
.week .wc.hit::after { background: var(--warm); }
@media (max-width: 400px) { .today .pill { display: none; } .sheet-q { font-size: 1.2rem; } .sheet-cal { width: 84%; } }

/* Funktionen: große Blöcke im Wechsel */
.features-big { display: grid; gap: 24px; }
.feature { display: grid; gap: 28px; align-items: center; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--soft-shadow); }
.feature h3 { font: 600 clamp(1.5rem, 3.4vw, 2rem)/1.15 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.feature-text > p { margin-top: 14px; color: var(--muted); }
.feature-text .ticks { margin-top: 22px; }
.feature-text .eyebrow { margin-bottom: 12px; }
@media (min-width: 880px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 44px; }
  .feature-flip .demo { order: -1; }
}
.demo { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: center; min-height: 100%; padding: 28px 22px; border-radius: 18px; background: var(--soft); }
.demo::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.demo > * { position: relative; }
@media (min-width: 880px) { .demo { padding: 36px 32px; } }
/* Karteikarte */
.fc { padding: 20px; }
.fc-ghost { position: absolute; left: 36px; right: 36px; top: 16px; height: 60px; transform: rotate(-2.5deg); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); opacity: 0.7; }
.fc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fc-q { margin-top: 16px; font: 600 1.7rem/1.15 var(--serif); }
.fc-reveal { margin-top: 18px; padding: 11px 14px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-sm); text-align: center; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.fc-rate { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fc-rate .pill { flex: 1 1 auto; text-align: center; font-size: 0.8rem; }
@media (max-width: 479px) { .fc-rate { gap: 5px; } .fc-rate .pill { flex: 1 1 40%; padding-inline: 7px; font-size: 0.78rem; } .demo { padding: 22px 14px; } .sheet-head strong { font-size: 0.95rem; } }
/* Lernplan und Kalender */
.plan-card { padding: 18px; }
.plan-rows { margin-top: 14px; display: grid; gap: 8px; }
.plan-rows li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--soft-2); }
.plan-rows .bars { flex: 1 1 auto; min-width: 0; }
.plan-rows .skel { margin-top: 0; }
.plan-rows .skel + .skel { margin-top: 7px; }
.bar { display: block; height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--brand); }
.bar i.f-30 { width: 30%; } .bar i.f-60 { width: 60%; } .bar i.f-100 { width: 100%; }
.month-card { padding: 16px 18px 18px; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 12px; }
.month-grid .wd { font: 700 0.68rem/1.6 var(--sans); letter-spacing: 0.04em; text-align: center; color: var(--muted); }
.month-grid .d { position: relative; height: 28px; border-radius: 8px; background: var(--soft-2); }
.month-grid .d.on { background: var(--soft); }
.month-grid .d.on::after, .month-grid .d.hit::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--brand); }
.month-grid .d.hit { background: var(--warn-bg); }
.month-grid .d.hit::after { background: var(--warm); box-shadow: 0 0 0 2px var(--warn-bg); }
.month-key { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* Kachelraster */
.tiles-head { margin: 64px 0 24px; }
.tiles { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tile { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.tile:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tile-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: var(--soft); color: var(--link); }
.tile-ico .ico { width: 24px; height: 24px; }
.tile p { margin-top: 6px; color: var(--muted); font-size: 0.97rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

/* So geht’s */
.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.steps li { counter-increment: step; position: relative; padding: 88px 24px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 8px; font: 600 3.6rem/1 var(--serif); color: var(--link); }
.steps li::after { content: ""; position: absolute; left: 24px; top: 72px; width: 28px; height: 3px; border-radius: 2px; background: var(--warm); }
.steps p { margin-top: 6px; color: var(--muted); font-size: 0.97rem; }

/* Gruppen */
.plans { display: grid; gap: 16px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--soft-shadow); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.plan h3 { font: 600 1.65rem/1.15 var(--serif); letter-spacing: -0.015em; }
.plan .who { color: var(--muted); font-size: 0.97rem; }
.plan .ticks { margin-top: 4px; gap: 9px; font-size: 0.98rem; }
.plan-feat { border: 2px solid var(--brand); padding: 27px; }
.table-wrap { margin-top: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.stack { width: 100%; border-collapse: collapse; text-align: left; }
.stack caption { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.stack thead { display: none; }
.stack tr { display: block; padding: 18px 20px; border-top: 1px solid var(--line); }
.stack tr:first-child { border-top: 0; }
.stack th, .stack td { display: block; padding: 0; font-weight: 400; }
.stack tbody th { font-weight: 600; }
.stack td { margin-top: 4px; }
.stack td::before { content: attr(data-label) ": "; color: var(--muted); }
@media (min-width: 640px) {
  .compare thead { display: table-header-group; }
  .compare tr { display: table-row; padding: 0; }
  .compare tbody tr { border-top: 0; }
  .compare th, .compare td { display: table-cell; padding: 15px 22px; border-top: 1px solid var(--line); vertical-align: top; }
  .compare thead th { padding-block: 14px; border-top: 0; background: var(--soft-2); color: var(--ink); font-size: 0.92rem; font-weight: 650; }
  .compare tbody th { width: 21%; }
  .compare td { margin: 0; }
  .compare td::before { display: none; }
}
.fineprint { max-width: 50rem; margin-top: 22px; color: var(--muted); font-size: 0.95rem; }

/* KI-Block */
.ai { display: grid; gap: 28px; align-items: center; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--soft-shadow); }
@media (min-width: 880px) { .ai { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; padding: 44px; } }
.ai h2 { font-size: clamp(1.6rem, 3.8vw, 2.2rem); }
.ai-text > p { margin-top: 14px; color: var(--muted); }
.ai-text .btn { margin-top: 22px; }
.ai-note { font-size: 0.95rem; }
.prompt { padding: 18px 18px 20px; border-radius: 18px; background: var(--soft); }
.prompt figcaption { margin-bottom: 12px; }
.prompt pre { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font: 500 1rem/1.6 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }

/* Datenschutz & Vertrauen */
.trust-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .trust-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .trust-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.tcard { padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.tcard .tile-ico { margin-bottom: 14px; }
.tcard p { margin-top: 6px; color: var(--muted); font-size: 0.96rem; }
.more { margin-top: 26px; font-weight: 600; }
.faq-more { margin-top: 14px; color: var(--muted); }

/* FAQ */
.faq-layout { display: grid; gap: 8px; }
@media (min-width: 980px) { .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 56px; align-items: start; } .faq-layout .sec-head { position: sticky; top: 100px; } }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.2s var(--ease); }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 650; cursor: pointer; list-style: none; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(45deg) translateY(-2px); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--link); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq details p { padding: 0 20px 18px; color: var(--muted); max-width: 64ch; }

/* Abschluss-Band */
.cta-section { padding-block: 24px 72px; }
.cta-band { position: relative; overflow: hidden; padding: 48px 24px; border-radius: 28px; background: var(--soft); text-align: center; }
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 20ch; margin: 0 auto; font-size: clamp(1.9rem, 5vw, 2.8rem); }
.cta-band p { max-width: 36rem; margin: 14px auto 0; color: var(--muted); }
.cta-band .cta { justify-content: center; }
@media (min-width: 768px) { .cta-band { padding: 72px 40px; } }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 52px 0 28px; }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand .tagline { margin-top: 14px; font: 600 1.1rem/1.3 var(--serif); }
.foot-brand .by { margin-top: 4px; color: var(--muted); font-size: 0.95rem; }
.foot-brand .by a { color: inherit; }
.foot-h { margin-bottom: 10px; font: 700 0.78rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.site-footer li a { display: inline-block; padding: 4px 0; color: var(--ink); font-size: 0.97rem; text-decoration: none; }
.site-footer li a:hover { color: var(--link); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.foot-bottom p { max-width: 44rem; }
@media (min-width: 560px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: auto; } }

/* Rechtstexte */
.page-head { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 76px) 0 12px; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(2rem, 7vw, 3.4rem); hyphens: auto; }
.page-head .lede { max-width: 42rem; margin-top: 16px; }
.ds-layout { display: grid; gap: 20px; padding-block: 28px 56px; }
.toc { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.toc-title { margin-bottom: 8px; font: 700 0.78rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.toc ol { padding-left: 1.5em; list-style: decimal; font-size: 0.95rem; }
.toc li::marker { color: var(--muted); font-weight: 600; }
.toc a { display: block; padding: 4px 0; color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; }
.doc { display: grid; gap: 16px; align-content: start; min-width: 0; }
.doc section { padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--soft-shadow); }
.doc section > *, .doc .reg-body > * { max-width: 70ch; }
.doc h2 { margin-bottom: 14px; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; }
.doc h3 { margin: 24px 0 6px; font-size: 1.05rem; }
.doc p, .doc address, .doc ul { margin-top: 12px; }
.doc h2 + p, .doc h3 + p, .doc .reg-body > :first-child { margin-top: 0; }
.doc address { font-style: normal; }
.doc ul:not(.plain) { padding-left: 1.2em; list-style: disc; }
.doc li { margin-top: 6px; }
.doc li::marker { color: var(--muted); }
.doc code { padding: 1px 6px; border-radius: 6px; background: var(--soft-2); font-size: 0.92em; }
.plain li { display: flex; flex-wrap: wrap; gap: 0 12px; }
.plain .k { min-width: 9em; color: var(--muted); }
.back { margin-top: 24px; }
.ds-table td::before { display: block; margin-bottom: 1px; font-size: 0.82rem; font-weight: 600; content: attr(data-label); }
.ds-table td { margin-top: 10px; }
.doc .table-wrap { max-width: none; margin-top: 16px; border-radius: 16px; box-shadow: none; }
.doc section .table-wrap { max-width: none; }
@media (min-width: 720px) { .doc section { padding: 32px 36px; } }
@media (min-width: 1040px) {
  .ds-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
  .toc { position: sticky; top: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .tile, .faq details, .faq summary::after { transition: none; }
  .tile:hover { transform: none; }
}

/* Einladungsseite /join/<CODE> */
.join-card { max-width: 40rem; margin: 0 auto 72px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.join-code { margin: 8px 0 20px; text-align: center; }
.join-code strong { display: inline-block; padding: 14px 22px; border-radius: 14px; background: var(--soft); color: var(--link); font: 700 clamp(1.5rem, 6vw, 2.2rem)/1.1 var(--serif); letter-spacing: 0.18em; word-break: break-all; }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.join-card .muted { color: var(--muted); font-size: 0.9rem; }
