/* BinderDesigner: die Website ist gebaut wie eine Binder-Seite (Fächer, Hüllen, Bilder über mehrere Fächer, Druckbogen).
   Gerüst aus dem Design System „Dracula Glass“ (dg.css, Präfix dg-): Glasleiste, Knöpfe, Fußzeile. Alles andere ist die Binder-Seele.
   Farben aus der App (Dracula / Alucard), Schrift Geist + Geist Mono + Geist Pixel (wie die Pixel-Symbole der Platzhalterkarten).
   Formregel: Fächer, Karten, Knöpfe 14px; Binder und Flächen 22px; Handys 30px (Gerät). Keine Skripte. */

@font-face { font-family: Geist; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Pixel"; src: url("/fonts/GeistPixel-Square.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: light dark;
  /* Alucard (hell), kühl statt Creme */
  --bg: #E9EAF0;
  --page: #F5F5F9;
  --paper: #FCFCFE;
  --pocket: rgba(28, 29, 39, 0.04);
  --line: rgba(28, 29, 39, 0.13);
  --text: #1F1F1F;
  --muted: #625C44; /* gemeinsame Vorgabe, 5,6:1 auf --bg */
  --accent: #6B3FD4;
  --on-accent: #FBFAFF;
  --ok: #17803D;
  --frame: #1C1D27;
  --ring: #D9DAE3;
  --shadow: rgba(52, 36, 110, 0.16);
  --sheen: rgba(255, 255, 255, 0.55);
  --glass: rgba(245, 245, 249, 0.72);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 0 0 1px rgba(255, 255, 255, .25);

  --r-pocket: 14px;
  --r-panel: 22px;
  --r-phone: 30px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1400px;
  --sans: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    /* Dracula (dunkel), wie in der App */
    --bg: #1C1D27;
    --page: #252734;
    --paper: #2B2D3C;
    --pocket: rgba(248, 248, 242, 0.04);
    --line: rgba(248, 248, 242, 0.12);
    --text: #F8F8F2;
    --muted: #A9AECB;
    --accent: #BD93F9;
    --on-accent: #1C1D27;
    --ok: #50FA7B;
    --frame: #11121A;
    --ring: #15161E;
    --shadow: rgba(0, 0, 0, 0.45);
    --sheen: rgba(255, 255, 255, 0.07);
    --glass: rgba(43, 45, 60, 0.62);
    --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .10), inset 0 0 0 1px rgba(255, 255, 255, .04);
  }
}

/* Namen aus Dracula Glass, abgebildet auf die Binder-Farben (gelten in hell und dunkel, weil sie auf die Variablen oben zeigen) */
:root {
  --surface: var(--glass); --surface-solid: var(--page); --border: var(--line); --secondary: var(--muted);
  --purple: var(--accent); --green: var(--ok); --phone-frame: var(--frame);
  --shadow-nav: 0 12px 40px -18px var(--shadow);
  --font-sans: var(--sans); --font-mono: var(--mono);
  --blur-card: 24px; --blur-pill: 20px; --opacity-disabled: 0.6;
  --space-8: 8px; --space-10: 10px; --space-16: 16px; --space-20: 20px; --space-22: 22px; --space-28: 28px; --space-32: 32px; --space-40: 40px; --space-64: 64px;
  --radius-9: 9px; --radius-12: 12px; --radius-14: var(--r-pocket); --radius-18: 18px; --radius-24: var(--r-panel); --radius-pill: 999px;
  --page-max: var(--max); --gutter: clamp(16px, 3vw, 32px); --section-gap: clamp(80px, 10vw, 128px); --nav-height: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; touch-action: manipulation; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p, li, dd { text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; z-index: 30; background: var(--page); padding: 8px 14px; border-radius: var(--r-pocket); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
code, .mono { font-family: var(--mono); }

/* Knöpfe */
/* Grundform aus dg.css (.dg-btn), Binder nur: kein Umbruch. Große Knöpfe mit .dg-btn--large */
.dg-btn { white-space: nowrap; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: var(--r-pocket); background: var(--text); color: var(--bg); line-height: 1.1; font-weight: 600; font-size: 19px; cursor: default; }
.store .i { width: 26px; height: 26px; }
.store small { display: block; font-size: 12px; font-weight: 500; opacity: .8; }

/* Kopf: schwebende Glasleiste aus dg.css (.dg-nav). Binder-Eigenheit: das Seiten-Zeichen dreht sich beim Drüberfahren. */
.brand__mark { color: var(--text); transition: transform .4s var(--ease); }
.dg-brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }

/* Abschnitte */
/* Abstand und Abschnittstitel wie im Design System (.dg-section, .dg-h2, .dg-intro) */
main > .wrap + .wrap { margin-top: var(--section-gap); }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; color: var(--accent); }
.sub { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 56ch; margin: 18px 0 0; }
.label { font: 500 13px/1 var(--mono); color: var(--accent); margin: 0 0 18px; }

/* ── Hero: Binder mit 3 × 3-Seite ── */
.hero { padding-top: 40px; } /* erste Box 40px unter der Glasleiste, wie auf allen Seiten */
.binder { position: relative; height: clamp(600px, calc(100dvh - 120px), 840px); padding: 16px 16px 16px 58px; border-radius: var(--r-panel); background: var(--page); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px var(--shadow); }
.binder__rings { position: absolute; left: 20px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-evenly; }
.binder__rings i { width: 18px; height: 18px; border-radius: 50%; background: var(--ring); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35); }
.page { height: 100%; display: grid; grid-template-columns: 1fr 1fr minmax(0, .92fr); grid-template-rows: 1fr 1fr minmax(0, .82fr); gap: 12px; }
.pocket { position: relative; overflow: hidden; border-radius: var(--r-pocket); background: var(--pocket); border: 1px solid var(--line); }
/* Hülle: Glanzstreifen, wandert beim Drüberfahren (nur transform) */
.pocket::after { content: ""; position: absolute; inset: -20% -60%; pointer-events: none; background: linear-gradient(112deg, transparent 38%, var(--sheen) 46%, transparent 54%); transform: translateX(-30%); transition: transform 1.1s var(--ease); }
.pocket:hover::after { transform: translateX(30%); }
.pocket--lead { grid-area: 1 / 1 / 3 / 3; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4.4vw, 60px); border: 1.5px solid color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent 72%); }
.pocket--lead h1 { font-size: clamp(40px, 5vw, 66px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; color: var(--text); }
.pocket--lead h1 em { font-style: normal; color: var(--accent); }
.pocket--lead .lead { color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 38ch; margin: 22px 0 30px; }
.pocket--phone { grid-area: 1 / 3 / 3 / 4; display: grid; place-items: center; padding: 18px; }
.pocket--phone .phone { height: 100%; width: auto; max-height: 100%; }
.phone { border-radius: var(--r-phone); border: 5px solid var(--frame); box-shadow: 0 28px 60px -20px var(--shadow); background: var(--frame); }
.pocket--stat { grid-area: 3 / 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; color: var(--muted); font-size: 15px; }
.pixel { font: 400 clamp(44px, 4.6vw, 64px)/1 "Geist Pixel", var(--mono); color: var(--ok); }
/* Sammelstand zählt beim Laden hoch (@property, ohne Skript); ohne Unterstützung steht direkt 19/20 da */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 19; }
.count { --n: 19; counter-reset: n var(--n); }
.count::before { content: counter(n) "/20"; }
.pocket--blank { grid-area: 3 / 2; display: grid; place-items: center; text-align: center; background: transparent; border: 1.5px dashed var(--line); color: var(--muted); font-size: 14px; line-height: 1.35; }
.pocket--card { grid-area: 3 / 3; display: grid; place-items: center; padding: 14px; }
.pocket--card img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; filter: drop-shadow(0 12px 18px var(--shadow)); }

/* ── Fach füllen ── */
.fill { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.options { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.options li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
.options .i { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: var(--r-pocket); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.options b { font-size: 18px; letter-spacing: -0.01em; }
.options span { color: var(--muted); font-size: 15.5px; line-height: 1.45; }

/* ── Erfassen: Handy ragt unten aus dem Feld ── */
.intake { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; overflow: hidden; border-radius: var(--r-panel); background: var(--page); border: 1px solid var(--line); padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 64px) 0; }
.intake__text { padding-bottom: clamp(32px, 5vw, 64px); }
.intake__phone { width: 300px; justify-self: center; margin-bottom: -250px; }
.codes { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.codes code { font-size: 14px; padding: 7px 12px; border-radius: var(--r-pocket); border: 1px solid var(--line); background: var(--pocket); color: var(--text); }

/* ── Drucken: Druckbogen ── */
.sheet { position: relative; background: var(--paper); border-radius: var(--r-panel); border: 1px solid var(--line); padding: clamp(36px, 5vw, 64px); box-shadow: 0 30px 70px -40px var(--shadow); }
/* Schnittmarken */
.sheet::before, .sheet::after { content: ""; position: absolute; width: 24px; height: 24px; border: 0 solid var(--text); opacity: .55; }
.sheet::before { left: 18px; top: 18px; border-width: 1px 0 0 1px; }
.sheet::after { right: 18px; bottom: 18px; border-width: 0 1px 1px 0; }
.sheet__meta { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 44px; font: 500 13px var(--mono); color: var(--muted); }
.sheet__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ruler { display: flex; align-items: flex-end; gap: 12px; white-space: nowrap; margin-top: 36px; font: 500 13px var(--mono); color: var(--muted); }
.ruler i { display: block; width: 180px; height: 12px; border: 1.5px solid var(--text); border-top: 0; background: repeating-linear-gradient(90deg, var(--text) 0 1.5px, transparent 1.5px 18px) bottom / 100% 6px no-repeat; }
.cut { position: relative; margin: 0; padding: 26px; border: 1.5px dashed var(--text); border-radius: var(--r-pocket); justify-self: center; }
.cut__scissors { position: absolute; top: -14px; left: 24px; display: grid; place-items: center; padding: 0 6px; background: var(--paper); color: var(--text); }
.cut .phone { width: 260px; }
.cut figcaption { position: absolute; right: 0; bottom: -28px; font: 500 13px var(--mono); color: var(--muted); }
.sheet__facts { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px dashed var(--line); }
.sheet__facts li { padding: 24px 24px 0 0; display: grid; gap: 4px; }
.sheet__facts li + li { padding-left: 24px; border-left: 1.5px dashed var(--line); }
.sheet__facts b { font-size: 17px; }
.sheet__facts span { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ── Sammeln: zwei Handys ── */
.collect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.facts { margin: 36px 0 0; display: grid; gap: 20px; }
.facts dt { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.facts dt .i { color: var(--accent); }
.facts dd { margin: 4px 0 0 34px; color: var(--muted); font-size: 15.5px; }
.duo { position: relative; height: 600px; }
.duo .phone { position: absolute; width: 270px; }
.duo__back { left: 4%; top: 40px; transform: rotate(-6deg); opacity: .92; }
.duo__front { right: 4%; top: 0; transform: rotate(4deg); }

/* ── Preise: drei Karten ── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--r-panel); background: var(--page); border: 1px solid var(--line); box-shadow: var(--glass-edge); padding: clamp(26px, 2.6vw, 34px); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--glass-edge), 0 24px 50px -24px var(--shadow); }
.plan h3 { font: 500 13px/1 var(--mono); color: var(--muted); }
.plan__price { margin: 16px 0 0; font-size: clamp(36px, 3.4vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan__per { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.trial { align-self: flex-start; margin-top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.plan--best { border: 1.5px solid color-mix(in srgb, var(--accent) 65%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, var(--page)), var(--page) 70%); box-shadow: var(--glass-edge), 0 24px 60px -28px color-mix(in srgb, var(--accent) 60%, transparent); }
.deal { position: absolute; top: -13px; right: 22px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; }
.ticks .i { color: var(--muted); margin-top: 1px; }
.ticks--pro .i { color: var(--accent); }
.fine { color: var(--muted); font-size: 13.5px; max-width: 92ch; margin: 22px 0 0; }

/* ── Versprechen: drei Fächer in einer Leiste ── */
.promises { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--r-panel); background: var(--page); border: 1px solid var(--line); box-shadow: var(--glass-edge); overflow: hidden; }
.promises li { display: grid; align-content: start; gap: 8px; padding: clamp(26px, 3vw, 36px); }
.promises li + li { border-left: 1px solid var(--line); }
.promises .i { width: 44px; height: 44px; padding: 10px; margin-bottom: 10px; border-radius: var(--r-pocket); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); transition: transform .4s var(--ease); }
.promises li:hover .i { transform: rotate(-8deg) scale(1.06); }
.promises b { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; letter-spacing: -0.02em; }
.promises span { color: var(--muted); font-size: 16px; }

/* ── Kontakt: Glasfläche, rechts schaut eine Karte heraus ── */
.contact { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 32px; border-radius: var(--r-panel); padding: clamp(32px, 5vw, 64px); background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 16%, var(--page)), var(--page) 65%); border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--glass-edge); }
.contact h2 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.035em; } /* wie .dg-closing h2 */
.contact p { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 18px 0 0; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
/* Mail-Link: .dg-mail aus dg.css */
.contact__art { position: relative; height: 100%; min-height: 260px; }
.contact__art img { position: absolute; right: 8%; top: 50%; width: 190px; border-radius: 12px; transform: translateY(-50%) rotate(8deg); box-shadow: 0 30px 60px -20px var(--shadow); transition: transform .6s var(--ease); }
.contact:hover .contact__art img { transform: translateY(-54%) rotate(3deg); }

/* ── Fuß: .dg-foot aus dg.css unverändert, auch der Hinweis (.dg-foot__note) ── */

/* ── Unterseiten (Hilfe, Datenschutz, Impressum): Register im Binder ── */
.doc-page { padding-top: 40px; }
/* Kopf beginnt wie die Hero 40px unter der Glasleiste, der Register-Reiter ragt darüber */
/* margin-top 13px: der Reiter ragt über die Box, so beginnt er wie überall 40px unter der Leiste */
.doc-head { position: relative; margin-top: 13px; padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 56px) clamp(32px, 4vw, 52px) clamp(56px, 6vw, 88px); border-radius: var(--r-panel); background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 12%, var(--page)), var(--page) 65%); border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--glass-edge), 0 30px 70px -40px var(--shadow); }
.doc-head__rings { position: absolute; left: clamp(18px, 2.4vw, 30px); top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-evenly; }
.doc-head__rings i { width: 18px; height: 18px; border-radius: 50%; background: var(--ring); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35); }
/* Register-Reiter oben rechts */
.doc-head__tab { position: absolute; right: clamp(24px, 4vw, 56px); top: -15px; padding: 6px 14px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font: 600 13px/1.2 var(--mono); }
.doc-head h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; color: var(--accent); hyphens: auto; overflow-wrap: break-word; }
.doc-head .lead { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 16px 0 0; }
.doc-head__meta { margin: 18px 0 0; font: 500 15px var(--mono); color: var(--muted); }

/* Textspalte höchstens 760px; Hilfe: Kontakt-Spalte rechts, Datenschutz: Inhaltsverzeichnis links */
.doc-grid { display: grid; grid-template-columns: minmax(0, 760px) 340px; gap: 56px; justify-content: space-between; align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.doc-grid--toc { grid-template-columns: 250px minmax(0, 760px); justify-content: start; }
.doc-aside { position: sticky; top: 104px; display: grid; gap: 14px; }

/* Fach-Karte: Glasfläche mit Hüllen-Glanz */
.pocket-card { position: relative; overflow: hidden; border-radius: var(--r-panel); background: var(--page); border: 1px solid var(--line); box-shadow: var(--glass-edge); padding: clamp(24px, 2.6vw, 32px); }
.pocket-card::after { content: ""; position: absolute; inset: -20% -60%; pointer-events: none; background: linear-gradient(112deg, transparent 38%, var(--sheen) 46%, transparent 54%); transform: translateX(-30%); transition: transform 1.1s var(--ease); }
.pocket-card:hover::after { transform: translateX(30%); }
.pocket-card > .i { width: 44px; height: 44px; padding: 10px; margin-bottom: 16px; border-radius: var(--r-pocket); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.pocket-card h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; color: var(--text); }
.pocket-card p { color: var(--muted); font-size: 16px; margin: 10px 0 0; }
.pocket-card--accent { border: 1.5px solid color-mix(in srgb, var(--accent) 50%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 14%, var(--page)), var(--page) 70%); }
.pocket-card .dg-btn { margin-top: 22px; }
.pocket-card .dg-btn .i { width: 20px; height: 20px; }
.pocket-card__mail { display: block; margin-top: 12px; font: 500 13px var(--mono); color: var(--muted); }

/* Hilfe: Fragen als Fächer */
.faq section + section { margin-top: 40px; }
/* Zwischenüberschriften der Textseiten: 22px, Textfarbe (nicht lila wie die Abschnittstitel der Startseite) */
.faq h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; color: var(--text); margin: 0 0 8px; scroll-margin-top: 100px; }
.faq h2 .i { color: var(--accent); width: 26px; height: 26px; }
.faq details { position: relative; overflow: hidden; border-radius: var(--r-pocket); background: var(--pocket); border: 1px solid var(--line); margin: 10px 0; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.faq details:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq details[open] { background: var(--page); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 17px; border-radius: var(--r-pocket); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; font-size: 24px; font-weight: 400; line-height: 1; color: var(--accent); transform: translateY(-50%); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--text); font-size: 17px; line-height: 1.6; max-width: 64ch; }
.faq code { font-size: 14px; padding: 2px 7px; border-radius: 6px; background: var(--pocket); border: 1px solid var(--line); color: var(--text); }

/* Datenschutz: Inhaltsverzeichnis mit Fach-Nummern in Pixelschrift, Text auf einem Druckbogen */
.promises--compact { margin-top: 20px; }
.promises--compact li { padding: 24px 28px; }
.promises--compact b { font-size: 19px; }
.promises--compact span { font-size: 15px; }
.toc { position: sticky; top: 104px; }
.toc__title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 600 13px var(--mono); color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: fach; display: grid; gap: 2px; }
.toc li { counter-increment: fach; }
.toc a { display: flex; align-items: baseline; gap: 12px; padding: 8px 12px; border-radius: var(--r-pocket); color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s var(--ease), background-color .2s var(--ease); }
.toc a::before { content: counter(fach, decimal-leading-zero); font: 400 15px/1 "Geist Pixel", var(--mono); color: var(--accent); }
.toc a:hover { color: var(--text); background: var(--pocket); }
.legal { position: relative; background: var(--paper); border-radius: var(--r-panel); border: 1px solid var(--line); padding: clamp(32px, 4.4vw, 56px); box-shadow: 0 30px 70px -40px var(--shadow); }
.legal::before, .legal::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--text); opacity: .5; }
.legal::before { left: 16px; top: 16px; border-width: 1px 0 0 1px; }
.legal::after { right: 16px; bottom: 16px; border-width: 0 1px 1px 0; }
.legal section { scroll-margin-top: 100px; }
.legal section + section { margin-top: 36px; padding-top: 32px; border-top: 1.5px dashed var(--line); }
.legal h2 { font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; color: var(--text); margin: 0 0 8px; }
.legal h3 { font-size: 17px; margin: 20px 0 4px; }
.legal p, .legal li { color: var(--text); font-size: 17px; line-height: 1.6; }
.legal p { margin: 10px 0 0; }
.legal ul { padding-left: 20px; margin: 10px 0 0; }
.legal li { margin: 6px 0; }

/* Impressum: drei Fächer, Angaben im großen */
.imprint { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.imprint__main { grid-row: span 2; }
.imprint__wide { grid-column: 1 / -1; }
.imprint address { font-style: normal; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; margin-top: 14px; }
.imprint p a { font-weight: 500; }

/* ── Bewegung: Fächer werden wie Karten eingesteckt, Abschnitte gleiten herein. Nur wenn erwünscht. ── */
@media (prefers-reduced-motion: no-preference) {
  .page > .pocket, .doc-head, .doc-grid, .imprint > *, .promises--compact { animation: insert .8s var(--ease) both; }
  .doc-grid, .promises--compact, .imprint > :nth-child(1) { animation-delay: .1s; }
  .imprint > :nth-child(2) { animation-delay: .16s; }
  .imprint > :nth-child(3) { animation-delay: .22s; }
  .faq details[open] p { animation: open .4s var(--ease) both; }
  @keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .page > :nth-child(2) { animation-delay: .08s; }
  .page > :nth-child(3) { animation-delay: .16s; }
  .page > :nth-child(4) { animation-delay: .22s; }
  .page > :nth-child(5) { animation-delay: .28s; }
  @keyframes insert { from { opacity: 0; transform: translateY(-16px) scale(.985); } to { opacity: 1; transform: none; } }
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 32%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
  }
  .count { animation: count 1.6s .5s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes count { from { --n: 0; } to { --n: 19; } }
  .pocket--phone .phone { animation: float 7s 1.2s ease-in-out infinite alternate; }
  @keyframes float { from { transform: translateY(0); } to { transform: translateY(-8px); } }
  .cut:hover .cut__scissors { transform: translateX(200px); }
  .cut__scissors { transition: transform 1.4s var(--ease); }
  .options li .i { transition: transform .4s var(--ease); }
  .options li:hover .i { transform: rotate(-8deg) scale(1.06); }
  @supports (animation-timeline: view()) {
    .plans > .plan, .promises > li { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
  .duo .phone { transition: transform .6s var(--ease); }
  .duo:hover .duo__back { transform: rotate(-9deg) translateX(-10px); }
  .duo:hover .duo__front { transform: rotate(6deg) translateX(10px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pocket::after { transition: none; } }
/* Weniger Transparenz: übernimmt dg.css für Glasleiste und Knöpfe */

/* ── Tablet ── */
@media (max-width: 960px) {
  .collect, .sheet__grid, .doc-grid, .doc-grid--toc { grid-template-columns: 1fr; }
  .doc-aside, .toc { position: static; }
  .duo { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .duo .phone { width: 230px; }
  .ticks--two { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan--best { margin-top: 10px; }
  .promises { grid-template-columns: 1fr; }
  .promises li + li { border-left: 0; border-top: 1px solid var(--line); }
}
/* ── Handy: alles einspaltig ── */
@media (max-width: 767px) {
  .dg-brand { font-size: 17px; }
  .binder { height: auto; padding: 12px 12px 12px 40px; }
  .binder__rings { left: 12px; }
  .binder__rings i { width: 14px; height: 14px; }
  .page { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
  .pocket--lead { grid-area: auto; grid-column: 1 / -1; padding: 28px 22px; }
  .pocket--lead h1 { font-size: 40px; }
  .pixel { font-size: 36px; }
  .ruler i { width: 140px; }
  .pocket--phone { grid-area: auto; grid-column: 1; grid-row: span 2; padding: 10px; }
  .pocket--phone .phone { height: auto; width: 100%; border-width: 4px; border-radius: 22px; }
  .pocket--stat { grid-area: auto; padding: 16px; }
  .pocket--card { grid-area: auto; }
  .pocket--card { min-height: 200px; }
  .pocket--blank { display: none; }
  .fill { grid-template-columns: 1fr; }
  .fill__phone { width: 240px; justify-self: center; order: 2; }
  .options { grid-template-columns: 1fr; gap: 22px; }
  .intake { grid-template-columns: 1fr; }
  .intake__text { padding-bottom: 8px; }
  .intake__phone { width: 240px; margin-bottom: -220px; }
  .sheet__meta { flex-direction: column; gap: 4px; margin-bottom: 32px; }
  .cut .phone { width: 220px; }
  .sheet__facts { grid-template-columns: 1fr; }
  .sheet__facts li + li { padding-left: 0; border-left: 0; border-top: 1.5px dashed var(--line); margin-top: 20px; }
  .duo { height: 440px; }
  .duo .phone { width: 190px; }
  .contact { grid-template-columns: 1fr; }
  .doc-head { padding: 30px 20px 28px 46px; }
  .doc-head__rings { left: 14px; }
  .doc-head__rings i { width: 14px; height: 14px; }
  .doc-head__tab { right: 18px; }
  .imprint { grid-template-columns: 1fr; }
  .imprint__main { grid-row: auto; }
  .contact__art { display: none; }
}
/* ── Handy schmal: erster Inhalt 24px unter der Glasleiste ── */
@media (max-width: 600px) {
  .hero, .doc-page { padding-top: 24px; }
}

/* ── 404: Binder-Seite mit zwei Fächern. Links die Botschaft (Hero-Fach), rechts ein leeres Fach mit dem Umriss einer fehlenden Karte (63 × 88 wie eine Sammelkarte). ── */
.binder--fehlt { height: clamp(520px, calc(100dvh - 200px), 680px); }
.page--fehlt { grid-template-columns: minmax(0, 2fr) minmax(0, .92fr); grid-template-rows: minmax(0, 1fr); }
.page--fehlt .pocket--lead { grid-area: auto; }
.fehlt__aktionen { display: flex; flex-wrap: wrap; gap: var(--space-10); }
.pocket--fehlt { display: grid; place-items: center; padding: 22px; background: transparent; border: 1.5px dashed var(--line); }
.fehlt__karte { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: min(100%, 230px); aspect-ratio: 63 / 88;
  border-radius: 12px; border: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 5%, transparent);
  font: 500 13px var(--mono); color: var(--muted); }
.fehlt__karte .pixel { color: var(--accent); }
@media (max-width: 767px) {
  .binder--fehlt { height: auto; }
  .page--fehlt { grid-template-columns: 1fr; }
  .pocket--fehlt { padding: 18px; }
  .fehlt__karte { width: 150px; }
}

/* ── Stapel: Erfassen, Fach füllen, Drucken als Binder-Blätter übereinander (Idee „Cards Cascade“, nur CSS) ──
   Jedes Blatt bleibt unter der Glasleiste hängen (sticky), das nächste schiebt sich darüber, die Kanten der vorigen
   schauen 14px versetzt heraus wie Register. Das verdeckte Blatt rückt etwas nach hinten (Scroll-Timeline des nächsten Blatts).
   Nur auf breiten Bildschirmen ab 961 × 640; sonst stehen die Blätter einfach untereinander. */
.stapel { display: grid; gap: 40px; }
.stapel__blatt { scroll-margin-top: 100px; }
.stapel__blatt.fill { border-radius: var(--r-panel); background: var(--page); border: 1px solid var(--line); box-shadow: var(--glass-edge); padding: clamp(32px, 5vw, 64px); }
@media (min-width: 961px) and (min-height: 640px) {
  .stapel { gap: 96px; }
  /* Jedes Blatt muss ganz in den Bildschirm passen, bevor das nächste darüberrutscht:
     das Handy richtet sich nach der Fensterhöhe (Blatt oben bei 114px, 48px Innenabstand, etwas Luft unten). */
  .stapel__blatt.fill { padding-block: 48px; }
  .stapel__blatt.fill .fill__phone { width: auto; height: min(565px, calc(100dvh - 240px)); justify-self: center; }
  .stapel__blatt { position: sticky; top: calc(100px + var(--i) * 14px); transform-origin: 50% 0;
    box-shadow: var(--glass-edge), 0 -18px 50px -30px var(--shadow); }
  @media (prefers-reduced-motion: no-preference) {
    @supports (timeline-scope: --a) and (animation-timeline: view()) {
      .stapel { timeline-scope: --blatt-1, --blatt-2; }
      .stapel__blatt.fill { view-timeline: --blatt-1; }
      .stapel__blatt.sheet { view-timeline: --blatt-2; }
      .stapel__blatt.intake { animation: zurueck linear both; animation-timeline: --blatt-1; animation-range: entry 0% entry 100%; }
      .stapel__blatt.fill { animation: zurueck linear both; animation-timeline: --blatt-2; animation-range: entry 0% entry 100%; }
      @keyframes zurueck { to { scale: .95; } }
    }
  }
}

/* Social-Media-Links in der Fußzeile */
.dg-foot__social { align-items: center; }
.dg-foot__social a { display: inline-flex; align-items: center; gap: 6px; }
.dg-foot__social .i { width: 18px; height: 18px; flex: none; }
