/* burnafterdrop.de – Landingpage
   Farben und Schriften entsprechen ClassSpace (frontend/src/app.css). */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-500.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-600.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-500.woff2) format("woff2"); }

:root {
  --bg: #f6f6f4;
  --surface: #fff;
  --surface-2: #efefec;
  --surface-3: #e7e7e3;
  --border: #e2e2de;
  --border-strong: #cfcfca;
  --text: #1c1c1b;
  --text-2: #5d5d59;
  --text-3: #8d8d88;
  --ink: #1c1c1b;
  --ink-text: #fff;
  --me: #1c7ed6;
  --hl: #ffe066;
  --hl-blend: multiply;
  --paper-shadow: 0 0 0 1px #0000000f, 0 1px 3px #0000000f;
  --overlay-shadow: 0 0 0 1px #00000012, 0 8px 28px #0000001f;
  --u-anna: #e8590c;
  --u-ben: #2f9e44;
  --u-clara: #ae3ec9;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 6px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141413; --surface: #1b1b1a; --surface-2: #232322; --surface-3: #2b2b29;
    --border: #2e2e2c; --border-strong: #3c3c39;
    --text: #ebebe8; --text-2: #a5a5a0; --text-3: #75756f;
    --ink: #ebebe8; --ink-text: #141413;
    --hl: #8a6d0b; --hl-blend: normal;
    --paper-shadow: 0 0 0 1px #ffffff0f;
    --overlay-shadow: 0 0 0 1px #ffffff14, 0 12px 32px #00000080;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.022em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ink-text); padding: 8px 12px; border-radius: var(--radius); z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--me); outline-offset: 2px; }

/* ---------- Kopfzeile ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand .tld { color: var(--text-3); font-weight: 400; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--text-2); }
.nav a:hover { color: var(--text); }
@media (max-width: 760px) { .nav { display: none; } .top .btn { margin-left: auto; } .eyebrow > span + span::before { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--radius);
  font: 500 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { border-color: var(--text-3); }
.btn.primary { background: var(--ink); color: var(--ink-text); border-color: var(--ink); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(2px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { font: 400 13px/1.4 var(--mono); color: var(--text-2); letter-spacing: .01em; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 22px; }
.eyebrow > span + span::before { content: "·"; margin-right: 14px; color: var(--text-3); }
.eyebrow .dot { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--me); margin-right: 8px; vertical-align: 1px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); }
.hero h1 .soft { color: var(--text-3); }
.hero .lede { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--text-3); }
.fine b { color: var(--text-2); font-weight: 500; }

.stage { position: relative; padding-bottom: 150px; }
.photo { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--surface-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.stage .win { position: absolute; right: -28px; bottom: 0; width: min(360px, 78%); }
.credit { position: absolute; right: 10px; top: 10px; font: 400 11px/1 var(--mono); color: #fff; opacity: .75; text-shadow: 0 1px 2px #0008; text-decoration: none; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { padding-bottom: 170px; }
  .stage .win { right: 12px; width: min(340px, calc(100% - 24px)); }
}

/* ---------- Nachgebaute App-Fenster ---------- */
.win {
  background: var(--surface); border-radius: 8px; box-shadow: var(--overlay-shadow);
  font-size: 14px; line-height: 1.45; overflow: hidden; text-align: left;
}
.win-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface); min-height: 44px; }
.crumb { font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb b { color: var(--text); font-weight: 500; }
.faces { display: flex; margin-left: auto; flex: none; }
.face {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font: 600 11px/1 var(--font); color: #fff; box-shadow: 0 0 0 2px var(--surface);
}
.face + .face { margin-left: -6px; }
.anna { background: var(--u-anna); } .ben { background: var(--u-ben); } .clara { background: var(--u-clara); } .me { background: var(--me); }

.rows { list-style: none; margin: 0; padding: 6px; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 5px; color: var(--text); }
.rows li.on { background: var(--surface-2); }
.rows .ico { width: 16px; height: 16px; flex: none; color: var(--text-3); }
.rows .meta { margin-left: auto; font: 400 12px/1 var(--mono); color: var(--text-3); white-space: nowrap; }
.typing { margin-left: auto; font-size: 12px; color: var(--u-clara); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* ---------- Abschnitte ---------- */
section { position: relative; }
.band { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--border); }
.kicker { font: 400 13px/1.4 var(--mono); color: var(--text-3); margin-bottom: 14px; }
.h2 { font-size: clamp(30px, 3.8vw, 44px); max-width: 18em; }
.sub { margin-top: 16px; color: var(--text-2); max-width: 36em; font-size: 18px; }

/* Vorher / nachher */
.chaos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 48px; }
.chat, .tidy { border-radius: 8px; padding: 22px; }
.chat { background: var(--surface-2); }
.tidy { background: var(--surface); box-shadow: var(--paper-shadow); }
.tag { font: 500 12px/1 var(--mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.msg { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 7px 0; font-size: 15px; }
.msg time { font: 400 12px/1.9 var(--mono); color: var(--text-3); }
.msg .who { font-weight: 500; margin-right: 6px; }
.msg.muted { color: var(--text-3); }
.path { font: 400 15px/1.5 var(--mono); padding: 14px 16px; background: var(--surface-2); border-radius: 6px; overflow-wrap: anywhere; }
.path span { color: var(--text-3); }
.tidy p:not(.tag):not(.path):not(.big) { margin-top: 16px; color: var(--text-2); font-size: 15px; }
.tidy p.big { font-size: 22px; color: var(--text); font-weight: 500; margin-top: 18px; letter-spacing: -.01em; }
@media (max-width: 760px) { .chaos { grid-template-columns: minmax(0, 1fr); } }

/* Feature-Zeilen */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 128px); }
.feature.flip .copy { order: 2; }
.feature h3 { font-size: clamp(26px, 2.8vw, 34px); }
.feature .copy p { margin-top: 14px; color: var(--text-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 16px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 2px; background: var(--ink); }
kbd { font: 500 12px/1 var(--mono); padding: 3px 6px 4px; border-radius: 4px; background: var(--surface); box-shadow: inset 0 -1px 0 var(--border-strong), 0 0 0 1px var(--border); color: var(--text); white-space: nowrap; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .copy { order: 0; }
}

/* PDF-Annotator */
.pdf { display: grid; grid-template-columns: 1fr 236px; min-height: 380px; }
.pdf .canvas { background: var(--surface-3); padding: 22px; position: relative; overflow: hidden; }
.page {
  background: #fff; color: #222; border-radius: 2px; box-shadow: 0 1px 3px #0000002a;
  padding: 26px 26px 34px; font-size: 11.5px; line-height: 1.65; position: relative;
}
.page h4 { font-size: 15px; margin: 0 0 4px; letter-spacing: -.01em; }
.page .small { font-size: 10px; color: #777; margin-bottom: 12px; }
.page p { margin: 0 0 9px; }
.page mark { background: #ffe066; mix-blend-mode: multiply; color: inherit; padding: 1px 0; }
.page .task { font-weight: 600; }
.pin {
  position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 2px;
  background: var(--u-anna); color: #fff; font: 600 11px/22px var(--font); text-align: center;
  box-shadow: 0 2px 6px #0003;
}
.ink { position: absolute; pointer-events: none; }
.thread { border-left: 1px solid var(--border); padding: 14px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.thread .head { display: flex; align-items: center; justify-content: space-between; font: 500 12px/1 var(--mono); color: var(--text-3); }
.done { font: 500 11px/1 var(--font); color: var(--u-ben); border: 1px solid currentColor; border-radius: 99px; padding: 4px 8px; }
.post { display: grid; grid-template-columns: 24px 1fr; gap: 8px; }
.post .name { font-weight: 500; }
.post .name small { font-weight: 400; color: var(--text-3); margin-left: 4px; }
.post p { color: var(--text-2); margin-top: 2px; }
.reply { margin-top: auto; border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.reply .typing { margin-left: 0; color: var(--u-ben); }
.where { font: 400 12px/1 var(--mono); color: var(--text-3); margin-left: auto; white-space: nowrap; }
@media (max-width: 600px) {
  .pdf { grid-template-columns: 1fr; }
  .thread { border-left: 0; border-top: 1px solid var(--border); }
  .where { display: none; }
}

/* Notiz-Editor */
.doc { padding: 26px 30px 30px; position: relative; min-height: 340px; }
.doc h4 { font-size: 22px; letter-spacing: -.015em; margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 20px; }
.doc li { margin: 0; padding: 7px 0 0; }
.doc .check { list-style: none; padding-left: 0; }
.doc .check li { display: flex; gap: 10px; align-items: baseline; }
.doc .box { width: 14px; height: 14px; border: 1.5px solid var(--border-strong); border-radius: 3px; flex: none; transform: translateY(2px); }
.doc .box.x { background: var(--ink); border-color: var(--ink); }
.doc .x + span { color: var(--text-3); text-decoration: line-through; }
.caret { position: relative; display: inline-block; width: 2px; height: 1.2em; vertical-align: -3px; background: var(--u-ben); animation: caret 1.1s steps(1) infinite; }
.caret::after {
  content: attr(data-name); position: absolute; left: 0; top: -14px;
  font: 500 10px/1 var(--font); color: #fff; background: var(--u-ben); padding: 2px 4px; border-radius: 3px 3px 3px 0; white-space: nowrap;
}
.caret:not([data-name])::after { display: none; }
.caret.c-clara { background: var(--u-clara); } .caret.c-clara::after { background: var(--u-clara); }
@keyframes caret { 50% { opacity: .35; } }
.typed { color: var(--text-3); margin-top: 6px; }
.slash {
  margin-top: 6px; width: 220px; background: var(--surface); border-radius: 8px; box-shadow: var(--overlay-shadow);
  padding: 6px; font-size: 13px;
}
.slash div { padding: 7px 10px; border-radius: 5px; display: flex; justify-content: space-between; }
.slash div.on { background: var(--surface-2); }
.slash small { font-family: var(--mono); color: var(--text-3); }


/* Such-Palette */
.palette .q { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 16px; }
.palette .q svg { width: 18px; height: 18px; color: var(--text-3); flex: none; }
.palette .tabs { display: flex; gap: 4px; padding: 8px 10px 0; font-size: 13px; }
.palette .tabs span { padding: 6px 10px; border-radius: 5px; color: var(--text-3); }
.palette .tabs span.on { background: var(--surface-2); color: var(--text); font-weight: 500; }
.hit { padding: 10px 16px; display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.hit.on { background: var(--surface-2); }
.hit .ico { width: 16px; height: 16px; color: var(--text-3); margin-top: 2px; }
.hit b { font-weight: 500; }
.hit .ctx { color: var(--text-2); font-size: 13px; margin-top: 2px; }
.hit mark { background: var(--hl); mix-blend-mode: var(--hl-blend); color: inherit; border-radius: 2px; }
.hit .pg { font: 400 12px/1 var(--mono); color: var(--text-3); margin-left: 6px; }
.palette .foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-3); flex-wrap: wrap; }

/* Kleinere Funktionen */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-top: 48px; }
.cell { background: var(--bg); padding: 24px 24px 26px; }
.cell h3 { font-size: 17px; letter-spacing: -.01em; }
.cell p { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.cell .mono { font-size: 12px; color: var(--text-3); display: block; margin-bottom: 12px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* Privat / Klasse */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.side { border-radius: 8px; padding: 26px; background: var(--surface); box-shadow: var(--paper-shadow); }
.side h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.side h3 .face { width: 22px; height: 22px; box-shadow: none; }
.side h3 .faces { margin-left: 0; }
.side h3 .faces .face { box-shadow: 0 0 0 2px var(--surface); }
.side p { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.side .who { margin-top: 18px; display: flex; align-items: center; gap: 10px; font: 400 13px/1 var(--mono); color: var(--text-3); }
.arrowline { grid-column: 1 / -1; font-size: 15px; color: var(--text-2); padding: 14px 18px; border: 1px dashed var(--border-strong); border-radius: 8px; }
.arrowline b { color: var(--text); font-weight: 500; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Start in drei Schritten */
.steps { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 48px; }
.steps ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 26px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; }
.steps li::before { content: "0" counter(s); font: 500 14px/1.6 var(--mono); color: var(--text-3); grid-row: span 2; }
.steps li b { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.steps li span { color: var(--text-2); font-size: 16px; }
.shot { max-width: 480px; justify-self: center; border-radius: 10px; overflow: hidden; box-shadow: var(--overlay-shadow); background: var(--surface); }
.shot figcaption { font: 400 12px/1.4 var(--mono); color: var(--text-3); padding: 10px 14px; border-top: 1px solid var(--border); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Kostenlos bis 2029 */
.free { background: var(--ink); color: var(--ink-text); border-radius: 12px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.free .price { font-size: clamp(88px, 14vw, 168px); font-weight: 600; letter-spacing: -.05em; line-height: .85; }
.free .price small { display: block; font: 400 14px/1.4 var(--mono); letter-spacing: 0; margin-top: 18px; opacity: .65; }
.free h2 { font-size: clamp(28px, 3.4vw, 40px); }
.free .price { opacity: 1; margin: 0; }
.free div p { margin-top: 14px; opacity: .75; max-width: 34em; }
.free ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.free li { font: 400 13px/1 var(--mono); padding: 8px 12px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--ink-text) 28%, transparent); }
@media (max-width: 760px) { .free { grid-template-columns: 1fr; } }

/* Werkzeuge */
.tools { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--border); }
.tools li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--border); }
.tools .n { font: 400 14px/1 var(--mono); color: var(--text-3); }
.tools h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.tools h3 svg { width: 24px; height: 24px; }
.tools p { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.tools .soon h3, .tools .soon .n { color: var(--text-3); }
.status { font: 500 12px/1 var(--mono); padding: 6px 10px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.status.live { background: color-mix(in srgb, var(--me) 14%, transparent); color: var(--me); }
@media (max-width: 600px) {
  .tools li { grid-template-columns: 36px minmax(0, 1fr); }
  .tools li > :last-child { grid-column: 2; justify-self: start; }
}

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--border); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 500; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 24px/1 var(--mono); color: var(--text-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 40em; }

/* Abschluss */
.end { text-align: left; padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--border); }
.end h2 { font-size: clamp(34px, 5vw, 56px); max-width: 14em; }
.end .cta { margin-top: 32px; }

footer { border-top: 1px solid var(--border); padding: 32px 0 48px; font-size: 14px; color: var(--text-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--text-2); }
footer a:hover { color: var(--text); }

/* Rechtstexte / 404 */
.legal { padding: clamp(40px, 7vw, 80px) 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 28px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 10px; }
.todo { background: color-mix(in srgb, var(--hl) 55%, transparent); color: var(--text); padding: 0 4px; border-radius: 3px; }

/* ---------- Ratgeber ---------- */
.guide { padding: clamp(32px, 6vw, 64px) 0 clamp(64px, 9vw, 112px); }
.guide > .wrap { max-width: 760px; }
.crumbs { font: 400 13px/1.4 var(--mono); color: var(--text-3); margin-bottom: 22px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.guide h1 { font-size: clamp(32px, 4.6vw, 48px); }
.guide .lede { margin-top: 18px; font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); }
.byline { margin-top: 14px; font: 400 13px/1.4 var(--mono); color: var(--text-3); }
.guide article > p, .guide article > ul, .guide article > ol { margin-top: 16px; }
.guide article > p, .guide article li { color: var(--text-2); }
.guide article b, .guide article strong { color: var(--text); font-weight: 600; }
.guide article a:not(.btn) { color: var(--text); text-decoration-color: var(--me); text-underline-offset: 3px; }
.guide article h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 48px 0 0; letter-spacing: -.015em; }
.guide article ul, .guide article ol { padding-left: 22px; }
.guide article li + li { margin-top: 8px; }
.guide code { font: 400 14px/1.4 var(--mono); background: var(--surface-2); padding: 2px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.tldr { margin-top: 28px; padding: 20px 22px; border-radius: 8px; background: var(--surface); box-shadow: var(--paper-shadow); }
.tldr .kicker { margin-bottom: 10px; }
.tldr ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.tldr li { color: var(--text); }
pre.copy { margin: 18px 0 0; padding: 16px 18px; border-radius: 8px; background: var(--surface-2); font: 400 14px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
pre.copy b { font-weight: 500; }
.guide ol.howto { list-style: none; padding: 0; counter-reset: h; display: grid; gap: 14px; }
.guide ol.howto li { counter-increment: h; position: relative; padding-left: 40px; margin: 0; }
.guide ol.howto li::before { content: counter(h); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--ink-text); font: 600 13px/26px var(--font); text-align: center; }
.guide ul.lights { list-style: none; padding: 0; }
.lights .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.dot.red { background: #e03131; } .dot.amber { background: #f59f00; } .dot.green { background: #2f9e44; }
.table-wrap { margin-top: 20px; overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap caption { text-align: left; padding: 12px 14px 0; font: 400 13px/1.4 var(--mono); color: var(--text-3); }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
.table-wrap thead th { font-weight: 500; color: var(--text); font-size: 14px; }
.table-wrap tbody th { font-weight: 500; color: var(--text); white-space: nowrap; }
.table-wrap tr:last-child > * { border-bottom: 0; }
.kw td:nth-child(2), .kw td:nth-child(3) { font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.kw small { color: var(--text-3); font-weight: 400; }
.kw tr.now > * { background: color-mix(in srgb, var(--me) 10%, transparent); }
.cta-box { margin-top: 56px; padding: clamp(24px, 4vw, 36px); border-radius: 12px; background: var(--ink); color: var(--ink-text); }
.cta-box .kicker { color: inherit; opacity: .6; }
.cta-box .cta-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.cta-box p:not(.kicker):not(.cta-title) { margin-top: 10px; opacity: .75; }
.cta-box .cta { margin-top: 22px; }
.cta-box .btn.primary { background: var(--ink-text); color: var(--ink); border-color: var(--ink-text); }
.cta-box .btn:not(.primary) { background: transparent; color: var(--ink-text); border-color: color-mix(in srgb, var(--ink-text) 35%, transparent); }
.more { margin-top: 56px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.cards li { margin: 0 !important; }
.cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border-radius: 8px; background: var(--surface); box-shadow: var(--paper-shadow); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.cards a:hover { transform: translateY(-2px); box-shadow: var(--overlay-shadow); }
.cards b { color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.cards span { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.cards.hub { margin-top: 36px; }
.band .cards { margin-top: 40px; }

/* Fußzeile mit Ratgeber-Links */
.foot-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; width: 100%; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.foot-cols p { color: var(--text-3); max-width: 28em; }
.foot-cols a { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.foot-h { font-weight: 600; color: var(--text) !important; margin-bottom: 10px; }
.foot-h a { text-decoration: none; color: var(--text); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.foot-cols li { padding: 3px 0; break-inside: avoid; }
.foot-cols ul a { text-decoration: none; }
.foot-base { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; width: 100%; padding-top: 24px; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .foot-cols ul { columns: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
