/* compose-up.de – Designsystem
   Variante A: heller Grund, Lime als Textmarker, schwarze Linien, harte Schatten.
   Keine dunklen Flächen als Hintergrund. Schriften selbst gehostet (fonts/, SIL Open Font License).
   Aufbau: 1 Schriften · 2 Tokens · 3 Grundlagen · 4 Bausteine · 5 Gerüst · 6 Startseite · 7 Schmale Bildschirme */

/* ---------------------------------------------------------------- 1 Schriften */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

/* ---------------------------------------------------------------- 2 Tokens */
:root {
  /* Farben */
  --ink: #0B0B0F;          /* Schrift, Linien, Schatten */
  --paper: #FAFAFA;        /* Seitengrund */
  --white: #FFFFFF;        /* Karten und helle Bänder */
  --lime: #D4FF3A;         /* Textmarker, Akzent */
  --lime-soft: #F5FFD4;    /* helles Lime für Bänder und hervorgehobene Zeilen */
  --grey-100: #F4F4F5;     /* ruhige Flächen in Karten */
  --line: #E4E4E7;         /* feine Trennlinien */
  --line-strong: #D4D4D8;  /* Rahmen ruhiger Karten */
  --grey-400: #A1A1AA;
  --grey-500: #71717A;
  --text-2: #3F3F46;       /* Fließtext zweiter Ordnung */
  --text-3: #52525B;       /* Nebentext, Etiketten ohne Rahmen */

  /* Schrift */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Maße */
  --wrap: 1240px;
  --pad: 32px;             /* Rand links und rechts */
  --sec: 72px;             /* Abstand über und unter Abschnitten */
  --r-pill: 999px;
  --r-card: 18px;
  --r-box: 14px;
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-md: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

/* ---------------------------------------------------------------- 3 Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
strong, b { font-weight: 600; }
a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--text-2); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
svg { flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 10; padding: 10px 18px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--paper); }

/* ---------------------------------------------------------------- 4 Bausteine */

/* Überschriften */
h1, .h2, .h3 { font-family: var(--font-display); font-weight: 700; }
.h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.03em; }
.h2--xl { font-size: clamp(34px, 3.8vw, 52px); letter-spacing: -0.035em; }
.h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; }
.h3--22 { font-size: 22px; }
.h3--24 { font-size: 24px; }
.h3--26 { font-size: 26px; }
.h3--28 { font-size: 28px; line-height: 1.15; letter-spacing: -0.025em; }
.h3--32 { font-size: 32px; line-height: 1.12; letter-spacing: -0.03em; }
.nobr-block { display: inline-block; }
.nobr { white-space: nowrap; }

/* Lime-Textmarker. Er liegt hinter der Schrift der ganzen Überschrift: Sonst deckt die markierte Zeile
   die Unterlängen der Zeile darüber ab (das „p“ in „passende“). */
h1, .h2 { isolation: isolate; }
.mark { position: relative; z-index: -1; background: var(--lime); padding: 0 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Text */
.lead { margin-top: 14px; max-width: 42em; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.lead--tight { margin-top: 6px; max-width: 34em; }
.lead--flat { margin-top: 0; }
.text-lg { max-width: 36em; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.fine { margin-top: 22px; max-width: 60em; font-size: 14px; color: var(--text-3); }
.fine--wide { margin-top: 26px; }
.kicker { font-family: var(--font-mono); font-weight: 600; font-size: 12px; line-height: 1.4; color: var(--text-2); }

/* Etikett */
.tag { display: inline-block; padding: 3px 10px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); font-family: var(--font-mono); font-weight: 600; font-size: 12px; line-height: 1.4; color: var(--ink); white-space: nowrap; }
.tag--lime { background: var(--lime); }
.tag--white { background: var(--white); }
.tag--dark { background: var(--ink); color: var(--white); }
.tag--sm { padding: 2px 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Pfeil und Häkchen */
.arr { display: inline-block; width: 1em; height: 1em; margin-left: 0.4em; vertical-align: -0.14em; }
.h3 .arr { width: 0.8em; height: 0.8em; margin-left: 0.3em; vertical-align: -0.03em; }
.chk { width: 14px; height: 14px; margin-top: 0.32em; color: var(--ink); }

/* Knopf */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 6px 24px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); font-weight: 600; font-size: 16px; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color 0.12s, color 0.12s; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--lime); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 44px; padding: 4px 18px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Verweis mit Pfeil */
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; }
.more--inline { display: inline; min-height: 0; white-space: nowrap; }
.more--end { margin-top: auto; }

/* Verweise auf Seiten, die es noch nicht gibt (routes.mjs): kein Link, Etikett „bald“ */
.soon { display: inline-block; margin-left: 0.6em; padding: 1px 7px; border: 1.5px solid currentColor; border-radius: var(--r-pill); font-family: var(--font-mono); font-weight: 600; font-size: 11px; line-height: 1.4; white-space: nowrap; }
.is-soon { cursor: default; }
.btn.is-soon, .btn.is-soon:hover { background: transparent; border: 1.5px dashed var(--grey-400); color: var(--text-3); }
.more.is-soon { color: var(--text-3); }

/* Liste mit Häkchen */
.checks { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks--row { flex-direction: row; flex-wrap: wrap; gap: 6px 22px; }
.checks--row li { gap: 8px; }
.checks--lg { margin-top: 6px; gap: 14px; font-size: 18px; line-height: 1.45; }
.checks--lg li { gap: 12px; }
.checks--lg .chk { width: 18px; height: 18px; margin-top: 5px; }
.checks--teaser { gap: 4px; line-height: 1.5; color: var(--text-3); }
.checks--teaser li { gap: 8px; }

/* Karte mit hartem Schatten */
.card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding: 16px 22px; border-bottom: 2px solid var(--ink); }
.card__head strong { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.card__head--sm { padding: 14px 20px; }
.card__head--sm strong { font-size: 18px; }
.card__foot { display: block; padding: 14px 22px; background: var(--grey-100); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.card__foot:hover { color: var(--ink); text-decoration: underline; }
.card__live { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 20px; border-top: 2px solid var(--ink); background: var(--lime); font-family: var(--font-mono); font-size: 13px; line-height: 1.4; }
.card__live span { font-weight: 500; overflow-wrap: anywhere; }

/* Abschnitte und Bänder */
.section { padding-block: var(--sec); }
.band { border-block: 1px solid var(--line); }
.band + .band { border-top: 0; }
.band--white { background: var(--white); }
.band--lime { background: var(--lime-soft); }

/* Kopf eines Abschnitts: Überschrift links, Randnotiz rechts */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.sec-head__main { flex: 1 1 520px; min-width: 0; }
.sec-head__main--stack { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.sec-head__sub { margin-top: 12px; max-width: 44em; color: var(--text-2); }
.sec-head__aside { font-family: var(--font-mono); font-weight: 500; font-size: 13px; line-height: 1.4; color: var(--text-3); }

/* Zwei Spalten: Text links, Karte oder Zeichnung rechts */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.split__text { flex: 1.2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.split__text .btn { margin-top: 10px; }
.split__side { flex: 0.8 1 340px; min-width: 0; }

/* ---------------------------------------------------------------- 5 Gerüst */

/* Hinweisleiste */
.notice { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 8px var(--pad); background: var(--lime-soft); border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--text-2); text-align: center; }

/* Kopf */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.site-header__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; font-weight: 500; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); color: var(--ink); text-decoration: none; white-space: nowrap; }
.site-nav a:hover { background: var(--grey-100); }
.site-nav a[aria-current="page"] { background: var(--lime); }

/* Fuß */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px; line-height: 1.5; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; padding-top: 44px; padding-bottom: 52px; }
.footer__brand { flex: 1 1 260px; min-width: 0; max-width: 26em; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__col { display: flex; flex-direction: column; gap: 2px; }
.footer__col b { padding-bottom: 6px; font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--ink); }
.footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 0 32px; }
.footer__links a { padding: 10px 0; color: var(--text-2); text-decoration: none; }
.footer__links a:hover { color: var(--ink); text-decoration: underline; }

/* 404 */
.lost { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-block: 96px; }
.lost .lead { margin-top: 0; }

/* ---------------------------------------------------------------- 6 Startseite */

/* Titelbereich */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 48px; }
.hero__text { flex: 1.1 1 520px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 4vw, 56px); line-height: 1.12; letter-spacing: -0.045em; }
.hero__lead { margin-top: 26px; max-width: 32em; font-size: 20px; line-height: 1.55; color: var(--text-2); }
.hero__sub { margin-top: 12px; max-width: 36em; font-size: 17px; line-height: 1.55; color: var(--text-3); }
.hero .btns { margin-top: 34px; }
.hero__note { margin-top: 20px; font-size: 15px; color: var(--text-3); }
.hero__card { flex: 0.9 1 420px; min-width: 0; }

/* Zeilen der Karte „Wo stehst du?“ */
.lage { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 13px 22px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.lage:hover { background: var(--grey-100); color: var(--ink); }
.lage--first, .lage--first:hover { background: var(--lime-soft); }
.lage:hover .lage__title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.lage__nr { font-family: var(--font-mono); font-weight: 600; font-size: 14px; line-height: 1.6; }
.lage__title { display: block; font-weight: 600; }
.lage__sub { display: block; font-size: 15px; color: var(--text-3); }

/* Leiste „Handverlesen“ */
.picked { padding-bottom: 48px; }
.picked__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.picked__label { font-family: var(--font-mono); font-weight: 600; font-size: 13px; line-height: 1.4; color: var(--text-3); }
.picked__list { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; }
.picked__list li { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--text-2); }

/* „Direkt zu deiner App.“ */
.jump { padding-bottom: 56px; }
.jump__box { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding: clamp(22px, 3vw, 36px); border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-lg); background: var(--white); }
.jump__title { flex: 1 1 320px; min-width: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.jump__pills { flex: 2 1 480px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; max-width: 100%; min-height: 50px; padding: 8px 22px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--lime); color: var(--ink); font-weight: 600; line-height: 1.3; text-decoration: none; }
.pill:hover { background: var(--ink); color: var(--paper); }

/* Standard-Setup: zwei Spalten */
.section--setup { padding-top: calc(var(--sec) - 8px); }
.setup { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 28px; }
.setup__col { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; border: 1.5px solid var(--line-strong); border-radius: var(--r-card); background: var(--white); overflow: hidden; }
.setup__col--main { flex: 1.5 1 520px; border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.setup__head { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 26px 26px 22px; }
.setup__head p { color: var(--text-2); }
.setup__head--lime { background: var(--lime); border-bottom: 2px solid var(--ink); }
.setup__head--lime p { max-width: 36em; color: var(--ink); }
.setup__hint { padding: 18px 26px 14px; font-family: var(--font-mono); font-weight: 600; font-size: 13px; line-height: 1.4; color: var(--text-3); }
.setup__foot { margin-top: auto; display: flex; flex-direction: column; gap: 18px; padding: 20px 26px 26px; border-top: 1px solid var(--line); }
.setup__foot--grey { gap: 2px; align-items: flex-start; padding: 16px 26px 12px; background: var(--grey-100); }
.setup__foot--grey p { font-size: 15px; }
.setup__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.setup__aim { font-size: 15px; color: var(--text-3); }

/* Zeile je Anbieter: Kachel, Name, ein Satz, ein Link */
.offer { display: flex; align-items: flex-start; gap: 14px; padding: 16px 26px 6px; border-top: 1px solid var(--line); }
.offer__logo { flex: none; width: 44px; height: 44px; border-radius: 10px; }
.offer__logo--letter { display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line-strong); background: var(--grey-100); font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1; }
.offer__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.offer__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.offer__name strong { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.offer__body p { font-size: 15px; color: var(--text-2); }
.offer__body p strong { color: var(--ink); }

/* Zielgruppe & Intention */
.intention { display: flex; flex-direction: column; gap: 40px; }
.intention__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 56px; }
.intention__title { flex: 1.2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.intention__art { flex: 0.8 1 340px; min-width: 0; display: flex; justify-content: center; }
.intention__cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 36px 64px; }
.intention__who { flex: 1.1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.note-card { flex: 0.9 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 28px 30px 24px; border: 2px solid var(--ink); border-radius: var(--r-box); box-shadow: var(--shadow-lg); background: var(--white); }
.note-card p { font-size: 17px; line-height: 1.55; color: var(--text-2); }
.art--wide { display: block; max-width: 100%; height: auto; }
.art__mono { font-family: var(--font-mono); font-weight: 600; font-size: 15px; }

/* Deine erste App? */
.chat { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 18px 20px 20px; }
.chat .kicker { color: var(--text-3); }
.chat__bubble { padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--grey-100); line-height: 1.5; }
.chat__bubble + .kicker { margin-top: 6px; }
.steps { margin-top: 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 32px 0; }
.step { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding-right: 24px; border-top: 2px solid var(--ink); }
.step__nr { display: inline-flex; align-items: center; height: 26px; margin-top: -14px; margin-bottom: 6px; padding: 0 10px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--lime); font-family: var(--font-mono); font-weight: 600; font-size: 13px; }
.step p { font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* App-Typen */
.section--types { padding-bottom: calc(var(--sec) + 8px); }
.types { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.typ { display: flex; flex-direction: column; border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-sm); background: var(--white); color: var(--ink); text-decoration: none; overflow: hidden; }
a.typ { transition: transform 0.12s, box-shadow 0.12s; }
a.typ:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); color: var(--ink); }
.typ__top { flex: 1 1 auto; display: flex; align-items: flex-start; gap: 14px; padding: 18px 18px 16px; }
.typ__icon { display: block; }
.typ__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.typ__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.typ__ex { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--text-3); }
.typ__way { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line); background: var(--grey-100); font-weight: 600; font-size: 15px; line-height: 1.4; }

/* Server-Preise: Größe wählen (Radio-Knöpfe, ohne JavaScript), darunter die Tarife */
.section--prices { padding-bottom: calc(var(--sec) + 8px); }
.sizes { position: relative; margin-top: 32px; }
.sizes__radio { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.sizes__tabs { display: flex; flex-wrap: wrap; gap: 12px; }
.size { flex: 1 1 240px; min-width: 0; min-height: 76px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 2px solid var(--grey-500); border-radius: var(--r-box); background: var(--white); cursor: pointer; }
.size:hover { border-color: var(--ink); }
.size__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.size__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; }
.size__sub { font-family: var(--font-mono); font-weight: 500; font-size: 13px; line-height: 1.4; color: var(--text-2); }
/* Je Größe aus src/content/preise.mjs eine Zeile in den drei folgenden Regeln (der Test prüft das) */
#groesse-sparfuchs:checked ~ .sizes__tabs [for="groesse-sparfuchs"],
#groesse-empfohlen:checked ~ .sizes__tabs [for="groesse-empfohlen"],
#groesse-krake:checked ~ .sizes__tabs [for="groesse-krake"] { background: var(--lime); border-color: var(--ink); box-shadow: var(--shadow-sm); }
#groesse-sparfuchs:focus-visible ~ .sizes__tabs [for="groesse-sparfuchs"],
#groesse-empfohlen:focus-visible ~ .sizes__tabs [for="groesse-empfohlen"],
#groesse-krake:focus-visible ~ .sizes__tabs [for="groesse-krake"] { outline: 3px solid var(--ink); outline-offset: 3px; }
#groesse-sparfuchs:checked ~ .tarife .tarife__set--sparfuchs,
#groesse-empfohlen:checked ~ .tarife .tarife__set--empfohlen,
#groesse-krake:checked ~ .tarife .tarife__set--krake { display: block; }

.tarife { margin-top: 20px; border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-lg); background: var(--white); overflow: hidden; }
.tarife__set { display: none; }
.tarife__intro { padding: 14px 26px; border-bottom: 1px solid var(--line); background: var(--grey-100); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.tarife__intro strong { color: var(--ink); }
.tarife__note { padding: 14px 26px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--text-3); }
.tarife__brief { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 16px 26px; border-top: 2px solid var(--ink); background: var(--lime); }
.tarife__brief p { flex: 1 1 420px; min-width: 0; font-size: 15px; line-height: 1.5; }
.tarife__brief .more { flex: 0 0 auto; white-space: nowrap; }
.tarif { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 20px 26px; }
.tarif + .tarif { border-top: 1px solid var(--line); }
.tarif__who { flex: 1.2 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tarif__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tarif__name strong { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.tarif__plan { font-family: var(--font-mono); font-weight: 500; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.tarif__specs { flex: 1 1 250px; min-width: 0; font-family: var(--font-mono); font-weight: 500; font-size: 14px; line-height: 1.5; }
.tarif__price { flex: 0.9 1 170px; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tarif__price p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.tarif__euro { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; white-space: nowrap; }
.tarif__per { font-size: 14px; color: var(--text-3); }
.tarif__price .tarif__deal { align-items: center; gap: 4px 8px; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.tarif__when { flex: 1.3 1 240px; min-width: 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.tarif__when strong { color: var(--ink); }
.tarif__link { flex: 0 0 auto; white-space: nowrap; }

/* Fahrplan: Strecke in Serpentinen, drei Etappen */
.route { margin-top: 48px; display: grid; grid-template-columns: clamp(24px, 4.5vw, 56px) minmax(0, 1fr) clamp(24px, 4.5vw, 56px); }
.route__leg { grid-column: 2; padding-bottom: 24px; font-family: var(--font-mono); font-weight: 600; font-size: 12px; line-height: 1.4; color: var(--text-3); }
.route__leg--1 { grid-row: 1; }
.route__leg--2 { grid-row: 3; text-align: right; }
.route__leg--3 { grid-row: 5; }
.route__stops { grid-column: 2; display: flex; flex-wrap: wrap; gap: 28px 0; padding-bottom: 36px; border-top: 3px solid var(--ink); }
.route__stops--1 { grid-row: 2; }
.route__stops--2 { grid-row: 4; flex-direction: row-reverse; }
.route__stops--3 { grid-row: 6; padding-bottom: 0; }
/* Unter 560 px Breite stehen die Stationen untereinander, darüber zu dritt nebeneinander */
.stop { flex: 1 1 calc((560px - 100%) * 999); min-width: 0; max-width: 100%; padding-right: 24px; }
.stop__body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; color: var(--ink); text-decoration: none; }
a.stop__body:hover { color: var(--ink); }
a.stop__body:hover .h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.stop__nr { margin-top: -16px; display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--lime); font-family: var(--font-mono); font-weight: 600; font-size: 13px; white-space: nowrap; }
.stop__nr--start { background: var(--ink); color: var(--white); }
.stop__text { font-size: 15px; line-height: 1.45; color: var(--text-3); }
.route__turn { position: relative; margin-bottom: -3px; border: 3px solid var(--ink); }
.route__turn--right { grid-column: 3; grid-row: 2 / 4; border-left: 0; border-radius: 0 56px 56px 0; }
.route__turn--left { grid-column: 1; grid-row: 4 / 6; border-right: 0; border-radius: 56px 0 0 56px; }
.route__tri { position: absolute; top: 50%; margin-top: -5px; }
.route__turn--right .route__tri { right: -8.5px; }
.route__turn--left .route__tri { left: -8.5px; }
.route__end { grid-column: 3; grid-row: 6; position: relative; border-top: 3px solid var(--ink); }
.route__flag { position: absolute; right: 0; top: -37px; }
.route__more { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.route__note { flex: 1 1 320px; min-width: 0; font-size: 15px; color: var(--text-3); }

/* Sparfuchs-Bon */
.split__side--bon { display: flex; justify-content: center; padding: 8px 20px 20px 8px; }
.bon { width: 362px; max-width: 100%; transform: rotate(2deg); filter: drop-shadow(8px 8px 0 var(--ink)); }
.bon__paper { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 14px; border: 2px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--white); font-family: var(--font-mono); font-size: 14px; line-height: 1.45; }
.bon__line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bon__line > :last-child { white-space: nowrap; }
.bon__line--sum { font-size: 17px; }
.bon__item { display: flex; flex-direction: column; gap: 2px; }
.bon__title { letter-spacing: 0.06em; }
.bon__small { font-size: 12.5px; color: var(--text-3); }
.bon__small--center { align-self: center; font-size: 12px; }
.bon__zero { padding: 0 6px; background: var(--lime); }
.bon__rule { border-top: 1.5px dashed var(--ink); }
.bon__rule--double { border-top: 4px double var(--ink); }
.bon__edge { display: block; width: 100%; height: 12px; overflow: visible; }

/* Oberkorrekt: Artikel-Teaser ohne Rahmen */
.section--legal { padding-bottom: 0; }
.teasers { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px 40px; }
.teaser { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; color: var(--ink); text-decoration: none; }
a.teaser:hover { color: var(--ink); }
a.teaser:hover .h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.teaser__key { padding: 2px 6px; background: var(--lime); font-family: var(--font-mono); font-weight: 600; font-size: 12px; line-height: 1.4; }
.teaser__text { font-size: 15px; line-height: 1.5; color: var(--text-3); }
.sources { margin-top: 28px; font-size: 13px; line-height: 1.5; color: var(--text-3); }

/* Selbst hosten oder Cloud? */
.section--verdict { padding-top: calc(var(--sec) + 8px); padding-bottom: calc(var(--sec) + 16px); }
.verdict { display: flex; flex-wrap: wrap; gap: 24px 40px; padding: 28px; border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-md); background: var(--white); }
.verdict__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.verdict__text p { color: var(--text-2); }
.verdict__list { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.verdict__list div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.verdict__list div:last-child { border-bottom: 0; }
.verdict__list dt { font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--text-3); }
.verdict__list dd { font-weight: 600; }

/* Woran du uns messen kannst */
.section--measure { padding-top: 0; }
.measure { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; }
.measure__item { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding-top: 20px; border-top: 2px solid var(--ink); }
.measure__item p { color: var(--text-2); }

/* Preisbrief */
.section--brief { padding-top: 0; padding-bottom: calc(var(--sec) + 16px); }
.brief { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 28px; border: 2px solid var(--ink); border-radius: var(--r-card); background: var(--lime); }
.brief__text { flex: 1 1 380px; min-width: 0; }
.brief__text p { margin-top: 6px; }
.brief__soon { flex: 1 1 380px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; }

/* ---------------------------------------------------------------- 7 Schmale Bildschirme, Bewegung, Druck */
@media (max-width: 760px) {
  :root { --pad: 20px; --sec: 52px; }
  .site-header__row { padding-block: 8px; }
  .site-nav { order: 3; flex: 1 0 100%; flex-wrap: nowrap; margin-inline: -14px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .hero { gap: 40px; padding-top: 44px; padding-bottom: 40px; }
  .hero__lead { font-size: 18px; }
  .picked__list { flex-basis: 100%; gap: 4px 24px; }
  .card, .note-card, .setup__col--main, .tarife, .jump__box { box-shadow: var(--shadow-md); }
  .setup__head, .setup__hint, .offer, .setup__foot, .tarif, .tarife__intro, .tarife__note, .tarife__brief { padding-inline: 20px; }
  .note-card, .verdict, .brief { padding: 22px 20px; }
  .steps { margin-top: 48px; }
  .h3--32 { font-size: 28px; }
  .bon { filter: drop-shadow(6px 6px 0 var(--ink)); }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 34px; }
  .btn { padding-inline: 20px; font-size: 15px; }
  .br-wide { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.typ { transition: none; }
  a.typ:hover { transform: none; }
}
@media print {
  .notice, .site-nav, .skip, .site-header .btn, .sizes__tabs { display: none; }
  .tarife__set { display: block; }
}
