/* websitewartung.at · Schriften. Lokal ausgeliefert, keine Anfrage nach draußen.
   Onest (variabel 100 bis 900) für alles, Red Hat Mono (variabel 300 bis 700) für Werte, Zeiten, Marken.
   Beide SIL Open Font License, Quelle Fontsource. Herkunft in ASSETS.md. */
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin-ext-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Red Hat Mono";
  src: url("/assets/fonts/red-hat-mono-latin-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Red Hat Mono";
  src: url("/assets/fonts/red-hat-mono-latin-ext-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   websitewartung.at · Tokens (Richtung R6: Optik R1 Sichtung, Zeitleiste R3 Zeitfenster)
   Einzige Quelle für Farben, Schrift, Abstände, Formen, Ebenen und Bewegung.
   Die Website lädt diese Datei zuerst; ihr Build bricht ab, wenn sie ein Token benutzt, das es hier nicht gibt.
   tokens.json wird daraus erzeugt (_werkzeuge/tokens-json.mjs), nie von Hand bearbeiten.
   Kontraste nach jeder Farbänderung messen: node _werkzeuge/kontrast.mjs --kurz
   ========================================================================== */

:root {
  /* Flächen */
  --c-paper: #ffffff;
  --c-paper-2: #f4f8f6;          /* Nebel: ruhige Flächen, Fuß, Karten in Karten */
  --c-paper-3: #e9f1ed;
  --c-mint: #e4f2ec;             /* Verlauf der Bühne, empfohlenes Paket, Fazit */
  --c-mint-2: #eef7f2;
  --c-mint-deep: #cfe9dd;        /* nur Verlauf und Schmuck */
  --c-blue-soft: #e8eef3;        /* zweite Kartenfläche im Bento */

  /* Schrift */
  --c-ink: #0f1a16;              /* Text, Überschriften */
  --c-ink-2: #3e4b45;            /* Fließtext auf Mint, Antworten */
  --c-ink-3: #56625d;            /* Nebentext, Meta, Hinweise */
  --c-fill-start: #848f89;       /* Startfarbe der Wortfüllung beim Scrollen, große Schrift mindestens 3 : 1 */

  /* Linien */
  --c-line: #e2e9e5;             /* nur Trennlinien, nie einziger Rand eines Bedienelements */
  --c-line-2: #c9d4ce;           /* Rand zweiter Knopf, Chips (Text trägt die Bedeutung) */
  --c-line-strong: #7a8780;      /* Rand von Feldern und Auswahl, mindestens 3:1 (WCAG 1.4.11) */

  /* Marke: Grün mit weißer Schrift */
  --c-accent: #0b6b45;           /* Knöpfe, Links, Fokus, geschützt */
  --c-accent-2: #08573a;         /* Hover, Marken, Zahlen */
  --c-accent-soft: #e4f2ec;      /* Statusflächen */
  --c-accent-light: #3dbe84;     /* Häkchen, Punkte, Schmuck. Nie als Schrift auf Hell */
  --c-on-accent: #ffffff;
  --c-focus: #0b6b45;

  /* Zeitleiste (aus R3) */
  --c-open: #c8372d;             /* Fläche „offen“ */
  --c-open-text: #a92e25;        /* Schrift „offen“ */
  --c-update: #2b59c3;           /* Update vom Hersteller */

  /* Zustände */
  --c-error: #a3261b;
  --c-error-soft: #fdecec;
  --c-error-ink: #8a1c14;
  --c-hinweis: #c27c0e;          /* Punkt „Hinweis“ in der Schnellsichtung, 3,4 : 1 auf Weiß (WCAG 1.4.11), nie als Schrift */
  --c-todo: #fff0b3;             /* Platzhalter, die vor dem Livegang ersetzt werden */
  --c-todo-ink: #5c4400;

  /* Schrift */
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Red Hat Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fs-xs: 0.8125rem;            /* Mono-Marken, Etiketten */
  --fs-sm: 0.9375rem;            /* nur Meta: Brotkrumen, Hinweise, Tabellen. Nie für Menü, Knöpfe, Fließtext */
  --fs-base: clamp(1.0625rem, 1.02rem + 0.15vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1.04rem + 0.35vw, 1.25rem);
  --fs-h4: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem);
  --fs-h3: clamp(1.3125rem, 1.2rem + 0.5vw, 1.625rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2.3vw, 3.5rem);
  --fs-h1: clamp(2.25rem, 1.35rem + 3.9vw, 4.75rem);
  --fs-satz: clamp(1.875rem, 1.3rem + 2.5vw, 3.75rem);  /* großer Abschnittssatz, der sich beim Scrollen füllt */
  --lh-tight: 1.03;
  --lh-head: 1.1;
  --lh-body: 1.6;
  --fw-regular: 400;
  --fw-head: 540;
  --fw-medium: 520;
  --fw-semibold: 560;
  --fw-bold: 600;
  --ls-head: -0.03em;
  --ls-kicker: 0.08em;

  /* Abstände (8er-Raster, fluid) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --sp-8: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --sp-9: clamp(5.5rem, 3rem + 8vw, 11rem);           /* Abstand zwischen Abschnitten */
  --gutter: max(5vw, 1.25rem);
  --maxw: 84rem;                 /* gleich breit wie der Kopf, damit Logo und Inhalt bündig stehen */
  --maxw-wide: 84rem;
  --maxw-text: 42rem;

  /* Formen */
  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: 32px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgb(15 26 22 / 0.04), 0 12px 32px -12px rgb(15 26 22 / 0.14);
  --sh-2: 0 1px 1px rgb(15 26 22 / 0.03), 0 20px 48px -24px rgb(15 26 22 / 0.18);
  --sh-card: 0 0 0 1px rgb(15 26 22 / 0.07), 0 24px 48px -32px rgb(15 26 22 / 0.2);
  --sh-ring: 0 0 0 1px rgb(15 26 22 / 0.08);

  /* Logo in Kopf und Fuß gleich groß. Untergrenze bei 320 px mit sichtbarer Scrollleiste messen (Logo, Lücke, Menü-Knopf) */
  --logo-w: clamp(160px, 18vw + 100px, 214px);

  /* Ebenen */
  --z-content: 1;
  --z-deco: 2;
  --z-bar: 40;
  --z-header: 50;
  --z-menu: 60;
  --z-skip: 100;

  /* Bewegung */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-base: 380ms;
  --t-slow: 700ms;

  --header-h: 4.5rem;
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0ms; --t-base: 0ms; --t-slow: 0ms; }
}
html.is-motion-paused { --t-fast: 0ms; --t-base: 0ms; --t-slow: 0ms; }

/* ==========================================================================
   Base · Reset, Typografie, Hilfsklassen
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--sp-4));
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.is-motion-paused) { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Browser rücken figure um 40 px ein, dann sind Bild und Karte daneben ungleich breit */
figure, blockquote { margin: 0; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
/* Ausschnitt folgt dem Fokuspunkt des Bildes (--fokus setzt der Build am <img>) */
img { object-position: var(--fokus, 50% 50%); }
picture img { width: 100%; }
h1, h2, h3, h4 {
  margin: 0;
  font-weight: var(--fw-head);
  line-height: var(--lh-head);
  letter-spacing: var(--ls-head);
  text-wrap: balance;
  /* Überschriften trennen nie automatisch. Wo ein Wort auf 320 px nicht passt, steht im Text ein weiches
     Trennzeichen (&shy;). overflow-wrap ist nur das Netz gegen Querscrollen. */
  overflow-wrap: break-word;
  hyphens: manual;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; }
h4 { font-size: var(--fs-h4); letter-spacing: -0.015em; }
p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
strong, b { font-weight: var(--fw-bold); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
code, .mono { font-family: var(--font-mono); }
::selection { background: var(--c-mint-deep); color: var(--c-ink); }

:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Hilfsklassen */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--maxw-wide) + 2 * var(--gutter)); }
/* Inhaltsbreite ist immer der Standard (Mathias). container--text bleibt als Name erhalten, ist aber nicht mehr schmaler. Ausnahme nur Akkordeons (.faq-section). */
.container--text { max-width: calc(var(--maxw) + 2 * var(--gutter)); }

/* Kicker: kleine Marke in Mono über Überschriften */
.kicker {
  display: block;
  margin-bottom: var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
  color: var(--c-accent-2);
}
.kicker--mitte { text-align: center; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-ink-3); max-width: 36rem; }
.textlink { color: var(--c-accent); font-weight: var(--fw-medium); }
.grau { color: var(--c-ink-3); }

/* Skip-Link */
.skip-link {
  position: fixed;
  top: var(--sp-3); left: var(--sp-3);
  z-index: var(--z-skip);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-pill);
  background: var(--c-ink); color: var(--c-paper);
  font-weight: var(--fw-bold);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; outline-color: var(--c-accent-light); }

main:focus { outline: none; }
/* Ziele von Ankern (Abschnitte, Überschriften) bekommen per Skript den Fokus, damit Tastatur und Screenreader dort weitermachen.
   Sie sind nicht bedienbar, deshalb ohne sichtbaren Rahmen. */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }

/* Platzhalter, die vor dem Livegang gefüllt werden (Build zählt sie) */
.todo { background: var(--c-todo); color: var(--c-todo-ink); padding-inline: 0.25em; border-radius: 3px; font-family: var(--font-mono); font-size: 0.85em; }

/* hidden gilt immer, auch für Bausteine mit eigenem display (zum Beispiel .btn im Sichtungsfeld) */
[hidden] { display: none !important; }

/* ==========================================================================
   Komponenten · Knopf, Logo, Kopf, Menü, Sprachwahl, Brotkrumen, Fuß, Schnellleiste, Chips,
   Karte, FAQ, Inhaltsverzeichnis, Formular, Tabelle
   Werte nur über Tokens. Neue Bausteine hier und auf der Referenzseite index.html zeigen.
   ========================================================================== */

/* ---------- Knopf: Grüne Pille, zwei Textebenen rollen beim Hover nach oben ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--sp-5);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn:active { transform: scale(0.98); }
.btn__roll { display: inline-grid; overflow: hidden; }
.btn__text { grid-area: 1 / 1; transition: transform var(--t-base) var(--ease-out); }
.btn__text--clone { transform: translateY(110%); }
.btn:hover .btn__text { transform: translateY(-110%); }
.btn:hover .btn__text--clone { transform: none; }
.btn--accent { background: var(--c-accent); color: var(--c-on-accent); }
.btn--accent:hover { background: var(--c-accent-2); }
.btn--ink { background: var(--c-ink); color: var(--c-paper); }
.btn--ink:hover { background: var(--c-accent-2); }
.btn--ghost { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-line-2); }
.btn--ghost:hover { border-color: var(--c-ink); }
.btn--sm { min-height: 44px; padding: 0 var(--sp-4); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------- Logo: Haken im Kreis und Wortmarke, ein SVG (Breite über --logo-w) ---------- */
.logo { display: block; width: var(--logo-w); height: auto; color: var(--c-ink); }

/* ---------- Kopf ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: transparent;
  transition: background-color var(--t-base), box-shadow var(--t-base);
}
.header.is-scrolled,
html.is-menu-open .header {
  background: rgb(255 255 255 / 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--c-line);
}
.header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--sp-3);
  max-width: calc(var(--maxw-wide) + 2 * var(--gutter));
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.header__logo, .footer__logo { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; color: var(--c-ink); text-decoration: none; }
.nav { display: none; }
.nav__list { display: flex; gap: 0.15rem; padding: 0.3rem; list-style: none; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.72); box-shadow: inset 0 0 0 1px rgb(15 26 22 / 0.06); }
.nav .nav__link {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 var(--sp-4);
  border-radius: var(--r-pill);
  font-size: var(--fs-base); font-weight: var(--fw-regular);
  text-decoration: none; color: var(--c-ink);
  transition: background-color var(--t-fast);
}
.nav .nav__link:hover { background: var(--c-mint); }
.nav .nav__link[aria-current="page"] { background: var(--c-mint); box-shadow: inset 0 0 0 1px rgb(11 107 69 / 0.25); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }
.header__actions .btn--cta, .header__actions .header__lang { display: none; }
@media (min-width: 1100px) {
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav { display: block; }
  .header__actions { justify-self: end; margin-left: 0; }
  .header__actions .btn--cta, .header__actions .header__lang { display: inline-flex; }
  .menu-toggle { display: none !important; }
}

/* Sprachwahl: kurzes Kürzel, Ziel ist die Gegenseite in der anderen Sprache */
.lang-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 var(--sp-3);
  border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 1rem; font-weight: var(--fw-medium);
  color: var(--c-ink); text-decoration: none;
}
.lang-link:hover { background: var(--c-mint); }

/* Menü-Knopf: immer mit Wort */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  min-width: 44px;
  padding: 0 var(--sp-4);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  background: var(--c-paper);
  color: var(--c-ink);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  text-decoration: none;
  cursor: pointer;
}
.menu-toggle__icon { position: relative; width: 16px; height: 10px; }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform var(--t-fast), top var(--t-fast); }
.menu-toggle__icon::before { top: 1px; }
.menu-toggle__icon::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 4px; transform: rotate(-45deg); }
html.js .menu-toggle--nojs { display: none; }
html:not(.js) [data-menu-toggle] { display: none; }

/* Mobilmenü: Geschwister nach dem Kopf, eigene Ebene über allem außer Sprunglink */
.menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: var(--sp-5) var(--gutter) var(--sp-6);
  background: var(--c-paper);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__list { list-style: none; }
.menu__link { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--c-line); font-size: var(--fs-h4); font-weight: var(--fw-medium); letter-spacing: -0.015em; text-decoration: none; }
.menu__link[aria-current="page"] { color: var(--c-accent); }
.menu__footer { display: grid; gap: var(--sp-4); }
.menu__lang { display: flex; align-items: center; gap: var(--sp-2); color: var(--c-ink-3); }
html.is-menu-open { overflow: hidden; }

/* ---------- Brotkrumen ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin-bottom: var(--sp-5); font-size: var(--fs-sm); color: var(--c-ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--sp-2); color: var(--c-line-strong); }
.breadcrumb a { color: var(--c-ink-3); }
.breadcrumb a:hover { color: var(--c-ink); }

/* ---------- Fuß ---------- */
.footer { position: relative; overflow: hidden; padding-block: var(--sp-8) 0; background: var(--c-paper-2); color: var(--c-ink); }
.footer__top { display: grid; gap: var(--sp-7); }
.footer__claim { margin-top: var(--sp-4); max-width: 22rem; color: var(--c-ink-3); }
.footer__cols { display: grid; gap: var(--sp-6) var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.footer__heading { margin-bottom: var(--sp-2); font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: var(--fw-medium); letter-spacing: var(--ls-kicker); text-transform: uppercase; color: var(--c-accent-2); }
.footer__list { list-style: none; display: grid; }
.footer__list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__list a:hover { text-decoration: underline; }
.footer__regions { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); display: grid; gap: var(--sp-3); }
.footer__region { display: grid; grid-template-columns: 9rem 1fr; align-items: start; gap: 0 var(--sp-4); }
.footer__region-name { margin: 0; font-weight: var(--fw-medium); }
.footer__region-name a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__cities { display: flex; flex-wrap: wrap; gap: 0 var(--sp-4); list-style: none; }
.footer__cities a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-ink-3); }
.footer__cities a:hover { color: var(--c-ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--c-line); color: var(--c-ink-3); font-size: var(--fs-sm); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--sp-4); list-style: none; font-size: var(--fs-base); }
.footer__legal a, .motion-toggle { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-ink); }
.motion-toggle { padding: 0; border: 0; background: none; font-size: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.footer__giant {
  margin: var(--sp-6) 0 -0.2em; text-align: center;
  font-weight: var(--fw-bold); letter-spacing: -0.055em; line-height: 0.9;
  font-size: 13.4vw; color: var(--c-paper-3);
  white-space: nowrap; user-select: none; pointer-events: none;
}
/* Riesige Wortmarke ohne .at, zentriert und fast randvoll, als reiner Schmuck über Pseudo-Inhalt (kein lesbarer Text, keine Kontrastpflicht) */
.footer__giant::before { content: "websitewartung"; }
@media (min-width: 960px) { .footer__top { grid-template-columns: 1fr 2.6fr; } }
@media (max-width: 40rem) { .footer__region { grid-template-columns: 1fr; } }

/* ---------- Schnellleiste am Handy: ab 500 px weich ein, am Fuß, am Formular und bei offenem Menü weich aus ---------- */
.quickbar {
  position: fixed;
  left: 50%; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: var(--z-bar);
  display: flex;
  gap: var(--sp-2);
  width: min(30rem, calc(100% - 2 * var(--sp-3)));
  padding: var(--sp-2);
  border-radius: var(--r-pill);
  background: var(--c-ink);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.18);
  opacity: 0;
  translate: -50% 1rem;
  visibility: hidden;
  transition: opacity var(--t-slow) var(--ease-out), translate var(--t-slow) var(--ease-out), visibility 0s linear var(--t-slow);
}
.quickbar.is-visible { opacity: 1; translate: -50% 0; visibility: visible; transition: opacity var(--t-slow) var(--ease-out), translate var(--t-slow) var(--ease-out), visibility 0s; }
html:not(.js) .quickbar { display: none; }
.quickbar__link { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--r-pill); color: var(--c-paper); font-weight: var(--fw-medium); text-decoration: none; }
.quickbar__link--main { background: var(--c-accent); color: var(--c-on-accent); }
.quickbar :focus-visible { outline-color: var(--c-accent-light); }
/* Inhaltsverzeichnis in der Schnellleiste (Seiten mit .toc, unter 1100 px), Muster aus digitalbohemian.at */
.quickbar__toc { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 48px; padding: 0 var(--sp-3); border: 0; border-radius: var(--r-pill); background: transparent; color: var(--c-paper); font-weight: var(--fw-medium); }
.quickbar__toc:hover, .quickbar__toc[aria-expanded="true"] { background: rgb(255 255 255 / 0.12); }
.quickbar__stand { font-family: var(--font-mono); font-size: 0.875rem; color: var(--c-accent-light); }
.quickbar__pfeil { width: 0.6rem; height: 0.6rem; border: solid currentColor; border-width: 2px 0 0 2px; rotate: 45deg; translate: 0 0.15rem; transition: rotate var(--t-fast, 0.2s) ease; }
.quickbar__toc[aria-expanded="true"] .quickbar__pfeil { rotate: 225deg; translate: 0 -0.15rem; }
.quickbar__inhalt { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); max-height: min(60vh, 28rem); overflow: auto; padding: var(--sp-4); border-radius: var(--r-lg); background: var(--c-paper); color: var(--c-ink); box-shadow: 0 18px 48px rgb(0 0 0 / 0.22); }
.quickbar__inhalt[hidden] { display: none; }
.quickbar__titel { margin: 0 0 var(--sp-2) var(--sp-2); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-kicker); text-transform: uppercase; color: var(--c-accent-2); }
.quickbar__liste { list-style: none; display: grid; gap: 2px; }
.quickbar__reiter { display: flex; align-items: center; gap: var(--sp-3); min-height: 44px; padding: 0.4rem var(--sp-2); border-radius: var(--r-md); color: var(--c-ink); text-decoration: none; line-height: 1.3; }
.quickbar__reiter:hover { background: var(--c-paper-2); }
.quickbar__nr { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--c-line-2); font-family: var(--font-mono); font-size: 0.75rem; color: var(--c-ink-3); }
.quickbar__reiter.ist-erledigt { color: var(--c-ink-3); }
.quickbar__reiter.ist-erledigt .quickbar__nr { background: var(--c-mint); box-shadow: none; color: var(--c-accent-2); }
.quickbar__reiter[aria-current] { background: var(--c-mint); font-weight: 600; }
.quickbar__reiter[aria-current] .quickbar__nr { background: var(--c-accent); box-shadow: none; color: #fff; }
.quickbar__inhalt :focus-visible { outline-color: var(--c-accent); }
@media (min-width: 1100px) { .quickbar { display: none; } }

/* ---------- Chips: Vorschläge unter dem Sichtungsfeld, Schlagworte ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); list-style: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-4);
  border-radius: var(--r-pill); background: rgb(255 255 255 / 0.78);
  box-shadow: inset 0 0 0 1px var(--c-line-2);
  color: var(--c-ink); text-decoration: none; font-size: 1rem;
  transition: background-color var(--t-fast), box-shadow var(--t-fast);
}
.chip:hover { background: var(--c-paper); box-shadow: inset 0 0 0 1px var(--c-accent); }

/* ---------- Karte (allgemein, für Ratgeber-Listen aus {{articles}}) ---------- */
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-ring); overflow: hidden; transition: box-shadow var(--t-base), transform var(--t-base); }
.card:hover { box-shadow: var(--sh-card); transform: translateY(-2px); }
.card:focus-within { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.card__media img { aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: var(--sp-5) var(--sp-5) var(--sp-6); display: grid; gap: var(--sp-2); }
.card__meta { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--c-ink-3); margin: 0; }
.card__title { font-size: var(--fs-h4); }
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__link:focus-visible { outline: none; }
.card__text { color: var(--c-ink-3); margin: 0; }
.article-list { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); list-style: none; }

/* ---------- FAQ (details/summary, JSON-LD liest der Build aus diesem Markup) ---------- */
/* Fester Baustein (Bauregeln „Akkordeons“, Fehlerkatalog 67): Frage in H4-Größe, „+“ in runder Scheibe,
   offen 45° zum Kreuz in Mint, Haarlinien statt Kästen, je Gruppe nur eine Antwort offen, Höhe weich animiert (main.js). */
.faq { display: grid; border-top: 1px solid var(--c-line); }
.faq__item { overflow: hidden; border-bottom: 1px solid var(--c-line); }
.faq__question { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-5); min-height: 64px; padding: var(--sp-4) var(--sp-1); font-size: var(--fs-h4); font-weight: var(--fw-medium); letter-spacing: -0.01em; line-height: 1.3; cursor: pointer; list-style: none; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+";
  flex: 0 0 2.25rem;
  display: grid; place-items: center;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--c-paper-2);
  font-weight: var(--fw-regular);
  line-height: 1;
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out);
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); background: var(--c-mint-deep); }
/* Beim Schließen dreht das Plus sofort zurück, während die Höhe noch animiert */
.faq__item.is-closing .faq__question::after { transform: none; background: var(--c-paper-2); }
.faq__answer { max-width: 62ch; padding: 0 var(--sp-1) var(--sp-6); color: var(--c-ink-2); }
.prose .faq__question { min-height: 56px; font-size: var(--fs-base); }
.prose .faq__question::after { flex-basis: 2rem; height: 2rem; }
.prose .faq__answer { padding-bottom: var(--sp-5); }

/* ---------- Inhaltsverzeichnis ---------- */
.toc { padding: var(--sp-5); border-radius: var(--r-md); background: var(--c-paper-2); }
.toc__title { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-kicker); text-transform: uppercase; color: var(--c-accent-2); margin-bottom: var(--sp-3); }
.toc ol { padding-left: 1.2em; display: grid; gap: var(--sp-2); font-size: var(--fs-sm); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc a[aria-current] { color: var(--c-accent-2); font-weight: 600; }

/* ---------- Formular ---------- */
.form { display: grid; gap: var(--sp-5); }
.form--card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-1); }
.form__row { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.field { display: grid; gap: var(--sp-2); }
.field__label { font-weight: var(--fw-medium); }
/* Gleiche Abstände wie .field: Bezeichnung zu Eingabe var(--sp-2). Die Legende liegt außerhalb des gap, darum margin. */
.form__group { display: grid; gap: var(--sp-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.form__legend { padding: 0; margin-bottom: var(--sp-2); font-weight: var(--fw-medium); }
.form__hilfe { margin: 0; font-size: var(--fs-sm); color: var(--c-ink-3); }
.field__required, .field__optional { margin-left: 0.35rem; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: var(--fw-regular); color: var(--c-ink-3); }
/* Felder in derselben Radiussprache wie Knöpfe und Sichtungsfeld: einzeilig als Pille in Knopfhöhe, mehrzeilig mit --r-md (Mathias, Martin) */
.field__input {
  width: 100%;
  height: 52px;
  padding: 0 1.25rem;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  background: var(--c-paper);
  color: var(--c-ink);
  font: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field__input::placeholder { color: var(--c-ink-3); }
.field__input:hover { border-color: var(--c-ink-3); }
.field__input:focus-visible { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgb(11 107 69 / 0.22); }
/* Auswahlfeld im selben Stil, Pfeil als Hintergrund (currentColor geht in background nicht, darum feste Tintenfarbe) */
.field__select { appearance: none; padding-right: 2.75rem; background: var(--c-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1.25rem center; cursor: pointer; }
/* Telefon: Ländervorwahl und Nummer nebeneinander, am Handy untereinander */
.tel { display: grid; grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr); gap: var(--sp-2); }
@media (max-width: 30rem) { .tel { grid-template-columns: minmax(0, 1fr); } }
.field__input--area { height: auto; min-height: 8rem; padding: var(--sp-3) 1.25rem; border-radius: var(--r-md); resize: vertical; }
.field__input[aria-invalid="true"] { border-color: var(--c-error); }
.field__error { margin: 0; color: var(--c-error); font-weight: var(--fw-medium); font-size: var(--fs-sm); }
/* Auswahl als Pillen (Radio), Rand 3 : 1, gewählt mit grünem Rand und Mint */
.radios { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.radio { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; padding: 0 var(--sp-4) 0 var(--sp-3); border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--c-line-strong); cursor: pointer; }
.radio:has(input:checked) { box-shadow: inset 0 0 0 2px var(--c-accent); background: var(--c-mint); }
.radio:has(input:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--c-accent); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: var(--fs-sm); color: var(--c-ink-3); margin: 0; }
.form__status:empty { display: none; }
.form__status { margin: 0; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: var(--c-accent-soft); color: var(--c-accent-2); font-weight: var(--fw-medium); }
.form__status--error { background: var(--c-error-soft); color: var(--c-error-ink); }
.form .btn[type="submit"] { justify-self: start; min-width: 14rem; }
@media (max-width: 40rem) { .form .btn[type="submit"] { justify-self: stretch; } }

/* ---------- Tabelle ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
caption { text-align: left; font-weight: var(--fw-medium); padding-bottom: var(--sp-3); }
th, td { text-align: left; vertical-align: top; padding: var(--sp-3); border-bottom: 1px solid var(--c-line); }
th { font-weight: var(--fw-medium); }

/* ==========================================================================
   Muster · Abschnitte aus Komponenten. Dokumentiert in ../KOMPONENTEN.md.
   Abschnitt, Satz, Seitenkopf, Bühne mit Sichtungsfeld, Fakten, Bento mit UI-Bruchstücken, Monatsbericht,
   Zahlen, Zeitleiste, Erklärung, Zitat, Paket-Info, Ablauf, Pakete mit Schalter, Zusätze, Band, Beiträge,
   Fließtext und Artikel, CTA
   ========================================================================== */

/* ---------- Abschnitt ---------- */
.section { padding-top: var(--sp-9); }
.section--last, .section:last-child { padding-bottom: var(--sp-9); }
.section--soft { margin-top: var(--sp-9); padding-block: var(--sp-9); background: var(--c-paper-2); }
.section--mint { margin-top: var(--sp-9); padding-block: var(--sp-9); background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-mint) 30%, var(--c-mint) 100%); }
.section-head { margin-bottom: var(--sp-7); max-width: var(--maxw-text); }
.section-head--mitte { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: var(--sp-4); }
.section-head--mitte .lead { margin-inline: auto; }

/* Großer Satz in der Mitte: füllt sich beim Scrollen Wort für Wort von Grau zu Tinte ([data-fill], main.js) */
.satz {
  max-width: 22ch; margin: 0 auto; text-align: center;
  font-size: var(--fs-satz); font-weight: 500; line-height: 1.08; letter-spacing: -0.03em;
}
.satz .wort { display: inline; }
.satz + .lead, .satz + p { margin: var(--sp-5) auto 0; text-align: center; }
/* Abstand Abschnittssatz zu Karte oder Raster (Mathias: Titel klebte am Monatsbericht) */
.satz + .bericht, .satz + .bento, .satz + .beitraege { margin-top: var(--sp-8); }

/* ---------- Seitenkopf für Unterseiten ---------- */
.page-head {
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + var(--sp-7)) 0 var(--sp-8);
  background:
    radial-gradient(60rem 26rem at 50% -8rem, var(--c-mint-deep) 0%, rgb(207 233 221 / 0) 70%),
    linear-gradient(180deg, var(--c-mint) 0%, var(--c-mint-2) 55%, var(--c-paper) 100%);
}
.page-head h1 { max-width: 24ch; }
.page-head .lead { max-width: 64ch; margin-top: var(--sp-5); }
/* Optionale Infokarte rechts (ab 1024 px), damit der Kopf die Inhaltsbreite nutzt: .page-head__aside als letztes Kind im .container */
@media (min-width: 1024px) {
  .page-head .container:has(> .page-head__aside) { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .page-head .container:has(> .page-head__aside) > :not(.page-head__aside) { grid-column: 1; }
  .page-head__aside { grid-column: 2; grid-row: 1 / span 12; align-self: center; }
}
.page-head__aside { margin-top: var(--sp-7); padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-card); }
.page-head__aside-titel { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink-3); }
.page-head__aside-liste { list-style: none; margin-top: var(--sp-3); }
/* Wert bleibt neben dem Label, solange er ungebrochen passt, sonst rutscht er als Ganzes in die nächste Zeile (kein Umbruch mitten im Namen) */
.page-head__aside-liste li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-1) var(--sp-4); padding: 0.75rem 0; border-top: 1px solid var(--c-line); }
.page-head__aside-liste li:first-child { border-top: 0; }
.page-head__aside-liste strong { font-weight: 600; }
.page-head__aside-liste li > span { margin-left: auto; color: var(--c-ink-3); text-align: right; }
.page-head__aside .btn { margin-top: var(--sp-4); width: 100%; }
.page-head .btn-row { margin-top: var(--sp-6); }
.page-head--mitte { text-align: center; }
.page-head--mitte h1, .page-head--mitte .lead { margin-inline: auto; }
.page-head--mitte .btn-row, .page-head--mitte .breadcrumb ol { justify-content: center; }

/* ---------- Bühne (Startseiten) ---------- */
.buehne {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(2.5rem, 6.5vh, 5rem)) var(--gutter) clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(60rem 30rem at 50% -6rem, var(--c-mint-deep) 0%, rgb(207 233 221 / 0) 70%),
    linear-gradient(180deg, var(--c-mint) 0%, var(--c-mint-2) 48%, var(--c-paper) 100%);
}
.buehne__inner { position: relative; z-index: var(--z-deco); max-width: 56rem; margin: 0 auto; text-align: center; }
.buehne__titel { max-width: 15ch; margin: 0 auto; }
.buehne__zeile2 { display: block; margin-top: 0.35em; font-size: max(0.42em, 1.25rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--c-accent-2); }
.buehne__text { max-width: 36rem; margin: var(--sp-5) auto 0; font-size: var(--fs-lead); line-height: 1.55; color: var(--c-ink-3); }
.buehne .chips { margin: var(--sp-5) auto 0; max-width: 48rem; }
.buehne .btn-row { justify-content: center; margin-top: var(--sp-5); }

/* Status-Kärtchen im Hintergrund: unscharf, aria-hidden, am Handy aus */
.schweber { position: absolute; inset: 0; z-index: var(--z-content); pointer-events: none; }
.schwebe {
  position: absolute; display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 0.55rem 0.9rem 0.55rem 0.65rem; border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.82); box-shadow: var(--sh-2);
  font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-ink); white-space: nowrap;
  filter: blur(1.4px); opacity: 0.9;
}
.schwebe b { font-weight: 500; color: var(--c-accent); }
.schwebe__haken, .schwebe__schild { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--c-accent-light); }
.schwebe__haken::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid var(--c-paper); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.schwebe__schild { background: var(--c-accent); border-radius: 5px 5px 9px 9px; }
.schwebe--1 { left: 7%; top: 22%; filter: blur(2.2px); }
.schwebe--2 { right: 8%; top: 18%; filter: blur(1px); }
.schwebe--3 { left: 4%; top: 58%; filter: blur(0.8px); }
.schwebe--4 { right: 5%; top: 52%; filter: blur(1.8px); }
.schwebe--5 { right: 14%; top: 82%; filter: blur(2.6px); opacity: 0.7; }
@media (max-width: 64rem) {
  .schwebe--1 { left: -2%; top: 14%; }
  .schwebe--2 { right: -4%; top: 9%; }
  .schwebe--3, .schwebe--4 { display: none; }
  .schwebe--5 { right: -6%; top: auto; bottom: 4%; }
}
@media (max-width: 40rem) { .schweber { display: none; } }

/* ---------- Sichtungsfeld mit Vorschau der Prüfpunkte (data-frage, main.js) ---------- */
.frage { max-width: 40rem; margin: clamp(1.75rem, 4vh, 2.5rem) auto 0; text-align: left; }
.frage__label { display: block; margin: 0 0 0.6rem 1.25rem; font-weight: var(--fw-medium); }
.frage__feld {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: 0.45rem 0.45rem 0.45rem 1.4rem;
  border-radius: var(--r-pill); background: var(--c-paper);
  box-shadow: 0 0 0 1px var(--c-line-strong), 0 18px 44px -18px rgb(11 107 69 / 0.32);
  transition: box-shadow var(--t-base);
}
.frage__feld:focus-within { box-shadow: 0 0 0 2px var(--c-accent), 0 18px 44px -18px rgb(11 107 69 / 0.4); }
.frage__eingabe { flex: 1; min-width: 0; min-height: 52px; border: 0; background: none; outline: none; font: inherit; font-size: 1.125rem; letter-spacing: -0.01em; color: var(--c-ink); }
.frage__eingabe::placeholder { color: var(--c-ink-3); }
.frage__senden {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px;
  border: 0; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); cursor: pointer;
  transition: background-color var(--t-fast), transform var(--t-fast);
}
.frage__senden:hover { background: var(--c-accent-2); transform: translateY(-1px); }
.frage__senden svg { width: 22px; height: 22px; }
.frage__senden:focus-visible { outline-offset: 4px; }
.frage__hinweis { margin: 0.7rem 0 0 1.25rem; font-size: var(--fs-sm); color: var(--c-ink-3); }
.frage__fehler { margin: var(--sp-2) 0 0 1.25rem; font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--c-error); }
.vorschau { margin-top: var(--sp-4); padding: var(--sp-5) var(--sp-5) var(--sp-4); border-radius: var(--r-md); background: rgb(255 255 255 / 0.94); box-shadow: var(--sh-1); }
.vorschau__kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin: 0; font-size: var(--fs-sm); color: var(--c-ink-3); }
.vorschau__kopf strong { color: var(--c-ink); font-weight: var(--fw-semibold); word-break: break-all; }
.vorschau__punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent-light); box-shadow: 0 0 0 4px rgb(61 190 132 / 0.2); }
.vorschau__marke { margin-left: auto; padding: 0.2rem 0.55rem; border-radius: var(--r-pill); background: var(--c-mint); color: var(--c-accent-2); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.vorschau__liste { margin-top: 0.9rem; list-style: none; }
.vorschau__zeile { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); padding: 0.6rem 0; border-top: 1px solid var(--c-line); font-family: var(--font-mono); font-size: 0.875rem; }
.vorschau__stand { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--c-ink-3); text-align: right; }
.vorschau__stand::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c-line-strong); }
.vorschau__zeile.is-laeuft .vorschau__stand::before { width: 10px; height: 10px; border: 1.5px solid var(--c-accent); border-right-color: transparent; background: transparent; animation: ww-drehen 0.7s linear infinite; }
@keyframes ww-drehen { to { transform: rotate(360deg); } }
.vorschau__fuss { margin: 0.75rem 0 0; font-size: var(--fs-sm); color: var(--c-ink-3); }
.vorschau .btn { margin-top: 0.9rem; }
/* Ergebnis gehört zum Eingabefeld darüber und ist so breit wie das Feld (Ausnahme von der Inhaltsbreite wie das Feld selbst) */
.frage + .vorschau { max-width: 40rem; margin-inline: auto; text-align: left; }
.vorschau__kopf:focus { outline: none; }
.vorschau__marke[data-art="fertig"] { background: var(--c-accent); color: var(--c-paper); }
.vorschau__marke[data-art="fehler"] { background: var(--c-error-soft); color: var(--c-error-ink); }
.vorschau__zeile.is-gut .vorschau__stand::before { background: var(--c-accent); }
.vorschau__zeile.is-hinweis .vorschau__stand::before { background: var(--c-hinweis); }
.vorschau__zeile.is-warnung .vorschau__stand { color: var(--c-error-ink); }
.vorschau__zeile.is-warnung .vorschau__stand::before { background: var(--c-error); }
.vorschau__zeile.is-gut .vorschau__stand, .vorschau__zeile.is-hinweis .vorschau__stand { color: var(--c-ink-2); }
.vorschau__fuss .textlink { white-space: nowrap; }
.vorschau__form { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--c-line); }
.vorschau__form-titel { margin: 0 0 var(--sp-3); font-weight: var(--fw-semibold); color: var(--c-ink); }
/* Name, E-Mail und Knopf untereinander: nebeneinander wurden die Felder in der Karte zu schmal (29.11.2026) */
.vorschau__felder { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
.vorschau__felder .btn { margin-top: var(--sp-1); min-height: 52px; justify-self: start; }
.vorschau__klein { margin: var(--sp-3) 0 0; font-size: var(--fs-sm); color: var(--c-ink-3); }
.vorschau__form .form__status { margin-top: var(--sp-3); }
@media (max-width: 30rem) {
  .vorschau__zeile { flex-direction: column; gap: 0.15rem; }
  .vorschau__stand { text-align: left; }
}
@media (max-width: 40rem) {
  .buehne__titel { max-width: none; }
  .frage__label, .frage__hinweis, .frage__fehler { margin-left: 0.25rem; }
  .frage__feld { padding-left: 1.1rem; }
  .buehne__inner { display: flex; flex-direction: column; }
  .buehne .btn-row { order: 4; margin-top: var(--sp-5); }
  .buehne .chips { order: 5; margin-top: var(--sp-5); }
  .buehne .btn-row .btn { flex: 1 1 10rem; }
}

/* ---------- Fakten-Leiste ----------
   Fünf Spalten ab 768 px: Icon im Mint-Kreis oben, darunter Etikett (Mono) und Wert, feine Trennlinien.
   Darunter Zeilen mit Icon links. Icons sind Schmuck (aria-hidden), der Text trägt alles. */
.fakten { padding-inline: var(--gutter); }
.fakten__liste {
  max-width: var(--maxw); margin: 0 auto; padding: 0.5rem; list-style: none;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-card);
}
.fakten__punkt { display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; padding: 1.35rem 1.35rem 1.4rem; }
.fakten__punkt + .fakten__punkt { border-left: 1px solid var(--c-line); }
.fakten__icon {
  display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; margin-bottom: 0.7rem; border-radius: 50%;
  background: var(--c-mint); color: var(--c-accent); font-size: 1.3rem;
}
.fakten__label { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink-3); }
.fakten__wert { font-size: 1.0625rem; font-weight: 560; line-height: 1.3; letter-spacing: -0.01em; color: var(--c-ink); text-wrap: balance; }
@media (max-width: 767px) {
  .fakten__liste { grid-template-columns: minmax(0, 1fr); padding: 0.25rem 0.5rem; }
  .fakten__punkt {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto;
    column-gap: 0.9rem; row-gap: 0.1rem; align-items: center; padding: 0.95rem 0.75rem;
  }
  .fakten__punkt + .fakten__punkt { border-left: 0; border-top: 1px solid var(--c-line); }
  .fakten__icon { grid-row: 1 / 3; margin-bottom: 0; }
  .fakten__label { align-self: end; }
  .fakten__wert { align-self: start; }
}

/* ---------- Bento mit UI-Bruchstücken ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: var(--sp-8); list-style: none; }
.kachel { padding: 0.55rem 0.55rem 1.75rem; border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-card); text-align: center; overflow: hidden; }
.kachel--breit { grid-column: span 2; }
.kachel__bild { display: grid; place-items: center; height: 12.5rem; margin-bottom: 1.4rem; padding: var(--sp-4); border-radius: calc(var(--r-lg) - 0.55rem); background: linear-gradient(180deg, #dceee6 0%, #eef6f2 60%, var(--c-paper) 100%); }
.kachel:nth-child(2n) .kachel__bild { background: linear-gradient(180deg, var(--c-blue-soft) 0%, #f3f6f8 60%, var(--c-paper) 100%); }
.kachel__titel { padding: 0 1.25rem; font-size: 1.375rem; letter-spacing: -0.02em; }
.kachel__text { max-width: 32ch; margin: var(--sp-2) auto 0; padding: 0 var(--sp-4); color: var(--c-ink-3); }

/* UI-Bruchstücke: Schmuck in Karten, immer aria-hidden */
.ui { padding: 0.85rem; border-radius: 16px; background: var(--c-paper); box-shadow: var(--sh-2); font-family: var(--font-mono); font-size: 0.75rem; color: var(--c-ink); text-align: left; }
.ui__etikett { display: block; margin-bottom: var(--sp-2); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink-3); }
.ui__zeile { display: block; width: 60%; height: 6px; margin-top: 6px; border-radius: 3px; background: #e3e9e6; }
.ui__zeile--breit { width: 88%; }
.ui__block { display: block; height: 28px; margin-top: 8px; border-radius: 6px; background: var(--c-mint); }
.ui--vergleich { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; width: 15.5rem; transform: rotate(-2deg); }
.ui__rahmen { padding: 0.55rem; border: 1px solid var(--c-line); border-radius: 10px; }
.ui__pille { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); padding: 0.3rem 0.7rem; border-radius: var(--r-pill); background: var(--c-accent); color: var(--c-on-accent); font-size: 0.6875rem; white-space: nowrap; }
.ui--balken { width: 16rem; }
.ui__reihe { display: flex; align-items: stretch; gap: 3px; height: 32px; }
.ui__reihe i { flex: 1; border-radius: 2px; background: var(--c-accent-light); opacity: 0.85; }
.ui__reihe i:nth-child(7n) { opacity: 0.6; }
.ui__klein { display: block; margin-top: 0.55rem; color: var(--c-ink-3); font-size: 0.6875rem; }
.ui--uhren { display: grid; grid-template-columns: repeat(2, auto); gap: var(--sp-2); padding: 0; background: none; box-shadow: none; }
.ui__zeit { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.8rem 0.45rem 0.5rem; border-radius: var(--r-pill); background: var(--c-paper); box-shadow: var(--sh-2); font-size: 0.8125rem; }
.ui__zeit::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c-accent-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ui__zeit:nth-child(2) { transform: translateX(14px); }
.ui__zeit:nth-child(3) { transform: translateX(-8px); }
.ui--backups { display: grid; gap: 0.35rem; width: 14rem; }
.ui__eintrag { display: flex; justify-content: space-between; padding: 0.35rem 0.25rem; border-bottom: 1px solid var(--c-line); }
.ui__eintrag em { font-style: normal; color: var(--c-accent); }
.ui__eintrag--blass { border-bottom: 0; color: var(--c-ink-3); }
.ui--code { width: 14rem; text-align: center; }
.ui__ziffern { display: flex; justify-content: center; gap: 0.3rem; }
.ui__ziffern i { display: grid; place-items: center; width: 1.7rem; height: 2.1rem; border-radius: 8px; background: var(--c-paper-2); box-shadow: inset 0 0 0 1px var(--c-line); font-style: normal; font-size: 0.9375rem; }
.ui__ziffern i:nth-child(3) { margin-right: 0.4rem; }

/* ---------- Monatsbericht als Beispiel (aus R4). Immer mit sichtbarem „Beispiel“ ---------- */
.bericht { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--sp-6); align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-lg); background: var(--c-paper-2); }
.bericht__text h3 { font-size: var(--fs-h3); }
.bericht__text p { margin-top: var(--sp-3); color: var(--c-ink-3); }
.bericht__karte { padding: var(--sp-5); border-radius: var(--r-md); background: var(--c-paper); box-shadow: var(--sh-1); }
.bericht__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2); margin: 0 0 var(--sp-3); font-weight: var(--fw-medium); }
.bericht__marke { padding: 0.15rem 0.55rem; border-radius: var(--r-pill); background: var(--c-mint); color: var(--c-accent-2); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.bericht__liste { list-style: none; }
.bericht__zeile { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: var(--sp-3); padding: 0.7rem 0; border-top: 1px solid var(--c-line); }
.bericht__zeile::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent-light); box-shadow: 0 0 0 3px rgb(61 190 132 / 0.18); transform: translateY(-1px); }
.bericht__name { font-weight: var(--fw-medium); }
.bericht__wert { font-family: var(--font-mono); font-size: 0.875rem; color: var(--c-ink-3); text-align: right; }
.section--mint .bericht { background: var(--c-paper); box-shadow: var(--sh-card); }
.bericht__ampel { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0 0 var(--sp-3); padding: 0.4rem 0.85rem 0.4rem 0.7rem; border-radius: var(--r-pill); background: var(--c-mint); color: var(--c-accent-2); font-weight: var(--fw-medium); }
.bericht__punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent-light); box-shadow: 0 0 0 4px rgb(61 190 132 / 0.22); }
.bericht__mehr { margin-top: var(--sp-5); font-weight: var(--fw-medium); }
.bericht__mehr a { color: var(--c-accent); text-underline-offset: 0.2em; }

/* Liste mit Haken (Inhalte aufzählen, zum Beispiel Monatsbericht) */
.liste-haken { list-style: none; display: grid; gap: 0.55rem; margin-top: var(--sp-4); }
.liste-haken li { position: relative; padding-left: 1.85rem; color: var(--c-ink-2); }
.liste-haken li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--c-mint); }
.liste-haken li::after { content: ""; position: absolute; left: 0.42rem; top: calc(0.2em + 0.3rem); width: 0.32rem; height: 0.55rem; border: solid var(--c-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 52rem) {
  .bericht { grid-template-columns: minmax(0, 1fr); }
  .bericht__zeile { grid-template-columns: auto 1fr; }
  .bericht__wert { grid-column: 2; text-align: left; }
}

/* ---------- Zahlen mit Quelle ---------- */
.zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin: var(--sp-8) 0 0; }
.zahl { padding: 2rem 2rem 1.9rem; border-radius: var(--r-lg); background: var(--c-paper-2); text-align: center; }
.zahl__wert { margin: 0; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--c-accent-2); }
.zahl__wert--offen { color: var(--c-open-text); }
.zahl__text { margin-top: var(--sp-3); color: var(--c-ink-3); }
.quelle { max-width: 52rem; margin: var(--sp-4) auto 0; text-align: center; font-size: var(--fs-sm); color: var(--c-ink-3); }
/* Quelle direkt unter einem Textblock (zum Beispiel in .erklaerung) steht bündig mit dem Text */
.erklaerung .quelle { margin-inline: 0; text-align: left; }

/* ---------- Zeitleiste (Signatur aus R3, data-zeitleiste, main.js) ----------
   Desktop mit Bewegung: Abschnitt pinnt, der Scroll ist die Zeit. Am Handy und ruhig: Endzustand, senkrecht. */
.zeitleiste { --offen: 0.873; --zu-start: 0.075; --zu: 0.873; --stop: 8.6%; margin-top: var(--sp-8); }
.zeitleiste__innen { padding: clamp(1.5rem, 4vw, 3.25rem); border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-card); }
.zeitleiste__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--sp-3) var(--sp-6); }
.zeitleiste__titel { font-size: var(--fs-h3); }
.zeitleiste__hinweis { margin: 0; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-ink-3); }
.zeitleiste__grafik { margin-top: 2.75rem; }
.zeitleiste__zaehler { min-height: 1.6em; margin: 0 0 var(--sp-5); font-family: var(--font-mono); font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem); color: var(--c-ink); }
.zeitleiste__zaehler.is-offen { color: var(--c-open-text); }
.zeitleiste__zaehler.is-zu { color: var(--c-accent-2); }
.zeitleiste__achse { position: relative; height: 4.5rem; }
.zeitleiste__spur { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--c-line); }
.zeitleiste__spur::after { content: ""; position: absolute; left: 30%; top: -10px; width: 2px; height: 22px; background: var(--c-line-2); }
.zeitleiste__offen {
  position: absolute; left: 0; top: 50%; height: 28px; margin-top: -14px;
  width: calc(var(--offen) * 100%); border-radius: var(--r-pill);
  background:
    linear-gradient(to right, var(--c-open) 0 var(--stop), transparent var(--stop)),
    repeating-linear-gradient(-45deg, rgb(200 55 45 / 0.22) 0 5px, rgb(200 55 45 / 0.08) 5px 10px);
}
.zeitleiste__zu {
  position: absolute; top: 50%; height: 12px; margin-top: -6px;
  left: calc(var(--zu-start) * 100%); width: calc((var(--zu) - var(--zu-start)) * 100%);
  border-radius: var(--r-pill); background: var(--c-accent); box-shadow: 0 0 0 3px var(--c-paper);
}
.zeitleiste__zu-text { position: absolute; left: 0.6rem; bottom: calc(100% + 14px); font-family: var(--font-mono); font-size: 0.75rem; color: var(--c-accent-2); white-space: nowrap; }
.zeitleiste.is-vor-schutz .zeitleiste__zu { visibility: hidden; }
.zeitleiste__marke {
  position: absolute; top: 50%; left: calc(var(--pos) * 100%); z-index: 2;
  display: grid; place-items: center; width: 1.75rem; height: 1.75rem; margin: -0.875rem 0 0 -0.875rem;
  border: 1.5px solid var(--c-ink); border-radius: 50%; background: var(--c-paper);
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--c-ink);
}
.zeitleiste__marke--1 { margin-left: 0; }
.zeitleiste__marke--1, .zeitleiste__marke--2 { border-color: var(--c-open); color: var(--c-open-text); }
.zeitleiste__marke--2 { top: 0; }
.zeitleiste__marke--3 { top: 100%; border-color: var(--c-accent); color: var(--c-accent-2); }
.zeitleiste__marke--4, .zeitleiste__marke--5 { border-color: var(--c-update); color: var(--c-update); }
.zeitleiste__marke--5 { background: var(--c-update); color: var(--c-paper); }
.zeitleiste.is-scrub .zeitleiste__marke:not(.is-aktiv) { border-color: var(--c-line-2); background: var(--c-paper); color: var(--c-ink-3); }
.zeitleiste__skala { position: relative; height: 1.5rem; margin-top: var(--sp-3); font-family: var(--font-mono); font-size: 0.75rem; color: var(--c-ink-3); }
.zeitleiste__skala span { position: absolute; left: calc(var(--pos) * 100%); transform: translateX(-50%); white-space: nowrap; }
.zeitleiste__skala span:first-child { transform: none; }
.zeitleiste__legende { display: flex; margin: 0.4rem 0 0; font-family: var(--font-mono); font-size: 0.75rem; color: var(--c-ink-3); }
.zeitleiste__legende span { padding-top: 0.35rem; border-top: 1px dashed var(--c-line-2); }
.zeitleiste__lupe { width: 30%; }
.zeitleiste__legende span + span { flex: 1; padding-left: var(--sp-3); }
.stationen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-5); margin-top: 2.5rem; padding-top: var(--sp-6); border-top: 1px solid var(--c-line); list-style: none; }
.station { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 0.2rem var(--sp-3); transition: color var(--t-base); }
.station__nr { grid-row: span 2; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1.5px solid currentColor; border-radius: 50%; font-family: var(--font-mono); font-size: 0.75rem; transition: color var(--t-base), border-color var(--t-base); }
.station--offen .station__nr { color: var(--c-open-text); }
.station--zu .station__nr { color: var(--c-accent-2); }
.station--update .station__nr { color: var(--c-update); }
.station__zeit { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-ink-3); }
.station__text { font-size: 0.9875rem; line-height: 1.5; }
.zeitleiste.is-scrub .station:not(.is-aktiv) { color: var(--c-ink-3); }
.zeitleiste.is-scrub .station:not(.is-aktiv) .station__nr { color: var(--c-ink-3); border-color: var(--c-line-2); }
.zeitleiste__fazit { margin-top: 2.25rem; padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: var(--c-mint); font-size: var(--fs-lead); line-height: 1.5; }
@media (max-width: 899px) {
  .zeitleiste__grafik { display: none; }
  .stationen { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: var(--sp-6); padding-top: 0; border-top: 0; }
  .station { position: relative; padding-bottom: 1.75rem; }
  .station::before { content: ""; position: absolute; left: calc(0.875rem - 2px); top: 1.9rem; bottom: 0.15rem; width: 4px; border-radius: 4px; }
  .station:last-child::before { display: none; }
  .station--offen::before { background: var(--c-open); }
  .station--offen:nth-child(2)::before { background: linear-gradient(var(--c-open), var(--c-accent)); }
  .station--zu::before, .station:nth-child(4)::before { background: var(--c-accent); }
  .station__nr { background: var(--c-paper); }
}

/* ---------- Erklärung in zwei Spalten, Zitat, Paket-Info ---------- */
.erklaerung { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); margin-top: var(--sp-8); }
.erklaerung h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.erklaerung p { color: var(--c-ink-3); }
.zitat { max-width: 48rem; margin: var(--sp-8) auto 0; text-align: center; }
.zitat p { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); font-weight: 450; line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.zitat p::before { content: "„"; }
.zitat p::after { content: "“"; }
.zitat figcaption { margin-top: var(--sp-4); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink-3); }
.paket-info { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.1rem; margin: var(--sp-8) 0 0; }
.paket-info__karte { padding: 2rem; border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-card); }
.paket-info__karte--still { background: var(--c-paper-2); box-shadow: none; }
.paket-info__karte--still p { color: var(--c-ink-2); }
.paket-info__titel { margin-bottom: var(--sp-4); font-size: var(--fs-h4); }
.paket-info__preis { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--c-line); font-weight: var(--fw-medium); }
.haken { display: grid; gap: 0.6rem; list-style: none; }
.haken li, .paket__punkte li { position: relative; padding-left: 1.85rem; }
.haken li::before, .paket__punkte li.ja::before {
  content: ""; position: absolute; left: 0; top: 0.22em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.7 2.7 5.4-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.anker-satz { margin: var(--sp-7) auto 0; text-align: center; font-size: var(--fs-lead); }

/* ---------- Ablauf: Überschrift links klebt, Stufen rechts ---------- */
.ablauf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ablauf__kopf { position: sticky; top: calc(var(--header-h) + var(--sp-6)); }
.ablauf__titel { max-width: 14ch; margin-bottom: var(--sp-6); }
.ablauf__grau { color: var(--c-ink-3); }
.stufen { display: grid; gap: 1.1rem; list-style: none; }
.stufe { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; padding: 1.75rem; border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-card); }
.stufe__nr { grid-row: span 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); font-family: var(--font-mono); font-size: var(--fs-xs); }
.stufe__titel { font-size: var(--fs-h4); }
.stufe__text { margin-top: 0.4rem; color: var(--c-ink-3); }

/* ---------- Pakete ---------- */
/* Schalter Basis und Sicher mit Monatsstreifen (aus R2, data-paketwahl, main.js; ohne JS per :has) */
.paketwahl { display: grid; justify-items: center; gap: var(--sp-4); margin-top: var(--sp-7); }
.schalter { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0.3rem; border: 0; border-radius: var(--r-pill); background: var(--c-paper-2); box-shadow: inset 0 0 0 1px var(--c-line-strong); min-width: 18rem; }
.schalter__legende { padding: 0; font-weight: var(--fw-medium); }
.schalter__eingabe { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.schalter__wahl { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 44px; padding: 0 var(--sp-5); border-radius: var(--r-pill); color: var(--c-ink-3); font-weight: var(--fw-medium); cursor: pointer; transition: color var(--t-base); }
.schalter__wahl span { font-family: var(--font-mono); font-size: 0.875rem; font-weight: var(--fw-regular); }
.schalter__eingabe:checked + .schalter__wahl { color: var(--c-ink); }
.schalter__eingabe:focus-visible + .schalter__wahl { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.schalter__schieber { position: absolute; z-index: 0; top: 0.3rem; bottom: 0.3rem; left: 0.3rem; width: calc(50% - 0.3rem); border-radius: var(--r-pill); background: var(--c-paper); box-shadow: var(--sh-1); transition: transform var(--t-base) var(--ease-out); }
.schalter:has(.schalter__eingabe[value="sicher"]:checked) .schalter__schieber { transform: translateX(100%); }
.leiste { position: relative; display: grid; grid-template-columns: repeat(31, minmax(0, 1fr)); gap: 3px; width: min(100%, 40rem); padding: 0.85rem 0.85rem 0.85rem; border-radius: var(--r-md); background: var(--c-paper); box-shadow: var(--sh-ring); }
.leiste__tag { position: relative; z-index: 1; height: 2.25rem; border-radius: 5px; background: var(--c-paper-2); }
.leiste__tag--u::after { content: ""; position: absolute; inset: 4px 2px; border-radius: 3px; background: var(--c-update); transition: opacity var(--t-base), transform var(--t-base) var(--ease-out); }
.leiste__tag--sicher::after { opacity: 0; transform: scaleY(0.3); }
.leiste__schutz { position: absolute; z-index: 0; left: 0.55rem; right: 0.55rem; top: 0.55rem; bottom: 0.55rem; border-radius: 9px; background: rgb(11 107 69 / 0.16); box-shadow: inset 0 0 0 1.5px rgb(11 107 69 / 0.45); opacity: 0; transition: opacity var(--t-base); }
.paketwahl[data-plan="sicher"] .leiste__tag--sicher::after, .paketwahl:has(.schalter__eingabe[value="sicher"]:checked) .leiste__tag--sicher::after { opacity: 1; transform: none; }
.paketwahl[data-plan="sicher"] .leiste__tag--basis::after, .paketwahl:has(.schalter__eingabe[value="sicher"]:checked) .leiste__tag--basis::after { opacity: 0; }
.paketwahl[data-plan="sicher"] .leiste__schutz, .paketwahl:has(.schalter__eingabe[value="sicher"]:checked) .leiste__schutz { opacity: 1; }
.leiste__legende { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2) var(--sp-5); margin: 0; font-size: var(--fs-sm); color: var(--c-ink-3); }
.leiste__legende span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.leiste__legende span::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--c-update); }
.leiste__legende .leiste__legende-schutz::before { background: rgb(11 107 69 / 0.16); box-shadow: inset 0 0 0 1.5px rgb(11 107 69 / 0.45); }
.paketwahl__status { margin: 0; min-height: 1.6em; font-weight: var(--fw-medium); color: var(--c-ink-2); text-align: center; }

.pakete__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; margin-top: var(--sp-7); list-style: none; }
.paket { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem 1.75rem; border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-ring); transition: box-shadow var(--t-base); }
.paket--empfohlen { background: linear-gradient(180deg, var(--c-mint) 0%, var(--c-paper) 55%); box-shadow: 0 0 0 2px var(--c-accent), 0 30px 60px -36px rgb(11 107 69 / 0.45); }
.paket.is-gewaehlt { box-shadow: 0 0 0 2px var(--c-accent), 0 30px 60px -36px rgb(11 107 69 / 0.45); }
.paket__abzeichen { position: absolute; top: -0.85rem; left: 1.75rem; margin: 0; padding: 0.2rem 0.75rem; border-radius: var(--r-pill); background: var(--c-accent); color: var(--c-on-accent); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.paket__name { font-size: 1.5rem; }
.paket__fuer { margin: var(--sp-1) 0 0; color: var(--c-ink-3); }
.paket__preis { display: flex; align-items: baseline; gap: 0.35rem; margin: var(--sp-5) 0; }
.paket__betrag { font-size: 3rem; font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.paket__betrag--text { font-size: 2rem; letter-spacing: -0.03em; }
.paket__je { color: var(--c-ink-3); }
.paket__punkte { flex: 1; display: grid; align-content: start; gap: 0.65rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); list-style: none; }
.paket__punkte li.paket__plus { padding-left: 0; font-weight: 600; color: var(--c-ink); }
.paket__punkte li.plus::before { content: "+"; position: absolute; left: 0; top: 0.1em; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--c-line-strong); color: var(--c-ink-3); font-size: 0.875rem; line-height: 1; }
.paket__zusatz { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-ink-3); }
.paket .btn { width: 100%; margin-top: 1.75rem; }
.pakete__hinweis { margin-top: 1.25rem; text-align: center; font-size: var(--fs-sm); color: var(--c-ink-3); }
.pakete__unten { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.1rem; margin-top: 2.5rem; }
.kasten { padding: 1.75rem; border-radius: var(--r-lg); background: var(--c-paper-2); }
.kasten h3 { margin-bottom: 0.85rem; font-size: var(--fs-h4); }
.kasten p { color: var(--c-ink-2); }
.zusaetze { display: grid; gap: 0.55rem; list-style: none; }
.zusaetze li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4); }

/* ---------- Band: Hinweis mit Knopf (Sichtung, Notfall) ---------- */
.band { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; align-items: center; gap: var(--sp-5) var(--sp-7); padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--c-mint) 0%, var(--c-mint-2) 60%, var(--c-paper) 100%); box-shadow: 0 0 0 1px rgb(11 107 69 / 0.12); }
.band h2, .band h3 { font-size: var(--fs-h3); }
.band p { margin-top: var(--sp-3); color: var(--c-ink-2); max-width: 46ch; }
.band .btn-row { justify-content: flex-end; }
@media (max-width: 52rem) { .band { grid-template-columns: minmax(0, 1fr); } .band .btn-row { justify-content: flex-start; } }

/* ---------- Info-Symbol mit kurzer Erklärung ({{info id}}) ----------
   Knopf 24 px sichtbar, Klickfläche 44 px über ::before. Blase unter dem Symbol, main.js hält sie im Fenster.
   Öffnet bei Hover und Klick, bleibt offen, solange der Zeiger auf Symbol oder Blase ist, Esc schließt (WCAG 1.4.13). */
.info { position: relative; display: inline-flex; vertical-align: middle; margin-left: 0.35rem; }
.info__knopf { position: relative; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: var(--c-paper); color: var(--c-accent); font: 700 var(--fs-base)/1 var(--font-mono); cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.info__knopf::before { content: ""; position: absolute; inset: -0.625rem; }
.info__knopf > span[aria-hidden] { font-size: 0.8rem; }
.info__knopf:hover, .info__knopf[aria-expanded="true"] { background: var(--c-accent); color: var(--c-paper); border-color: var(--c-accent); }
.info__knopf:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.info__blase { position: absolute; z-index: 40; top: calc(100% + 0.6rem); left: 50%; width: max-content; max-width: min(19rem, calc(100vw - 2rem)); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: var(--c-ink); color: var(--c-paper); box-shadow: var(--sh-card); font-size: var(--fs-sm); font-weight: var(--fw-regular); line-height: 1.5; letter-spacing: 0; text-align: left; text-transform: none; white-space: normal; transform: translateX(-50%); }
.info__blase::before { content: ""; position: absolute; top: -0.6rem; left: 0; right: 0; height: 0.6rem; }
.info__titel { display: block; margin-bottom: 0.15rem; font-weight: var(--fw-semibold); }
.info__link { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Glossar ---------- */
.glossar-abc { position: sticky; top: var(--header-h); z-index: 5; margin-bottom: var(--sp-6); padding: var(--sp-3) 0; background: var(--c-paper); border-bottom: 1px solid var(--c-line); }
.glossar-abc ul { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; }
.glossar-abc a, .glossar-abc span { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border-radius: var(--r-pill); font-family: var(--font-mono); font-weight: var(--fw-medium); }
.glossar-abc a { color: var(--c-accent); text-decoration: none; }
.glossar-abc a:hover { background: var(--c-mint); }
.glossar-abc span { color: var(--c-line-strong); }
.glossar-gruppe { scroll-margin-top: calc(var(--header-h) + 5rem); }
.glossar-gruppe + .glossar-gruppe { margin-top: var(--sp-7); }
.glossar-gruppe__buchstabe { margin-bottom: var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-h3); color: var(--c-accent-2); }
.glossar-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: var(--sp-4); }
.glossar-eintrag { scroll-margin-top: calc(var(--header-h) + 5rem); padding: var(--sp-5); border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-ring); }
.glossar-eintrag:target { box-shadow: 0 0 0 2px var(--c-accent); }
.glossar-eintrag dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; margin-bottom: var(--sp-2); }
.glossar-eintrag dfn { font-style: normal; font-size: var(--fs-h4); font-weight: var(--fw-semibold); color: var(--c-ink); }
.glossar-eintrag__auch { font-size: var(--fs-sm); color: var(--c-ink-3); }
.glossar-eintrag__gruppe { margin-left: auto; padding: 0.15rem 0.6rem; border-radius: var(--r-pill); background: var(--c-mint); color: var(--c-accent-2); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-kicker); text-transform: uppercase; }
.glossar-eintrag dd { margin: 0; color: var(--c-ink-2); }
.glossar-eintrag dd p { margin: 0; }
.glossar-eintrag dd p + p { margin-top: var(--sp-2); }
.glossar-eintrag__kurz { color: var(--c-ink); font-weight: var(--fw-medium); }

/* ---------- Beiträge (Ratgeber-Karten) ---------- */
.beitraege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: var(--sp-7); list-style: none; }
.beitrag { position: relative; display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-ring); transition: box-shadow var(--t-base), transform var(--t-base); }
.beitrag:hover { box-shadow: var(--sh-card); transform: translateY(-2px); }
.beitrag--gross { grid-column: span 2; background: linear-gradient(135deg, var(--c-mint) 0%, var(--c-paper) 70%); }
.beitrag__thema { margin: 0; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-accent-2); }
.beitrag__titel { margin-top: 0.8rem; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; }
.beitrag--gross .beitrag__titel { max-width: 24ch; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.beitrag__link { color: inherit; text-decoration: none; }
.beitrag__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.beitrag__link:focus-visible { outline: none; }
.beitrag:has(.beitrag__link:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.beitrag__text { flex: 1; margin-top: 0.6rem; color: var(--c-ink-3); }
.beitrag__meta { margin-top: 1.25rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--c-ink-3); }

/* ---------- FAQ-Abschnitt ---------- */
.faq-section { max-width: calc(52rem + 2 * var(--gutter)); }
.faq-section .section-head { margin-bottom: var(--sp-6); }

/* ---------- CTA am Seitenende ---------- */
.cta { margin-top: var(--sp-9); padding-block: var(--sp-9); background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-mint) 35%, var(--c-mint) 100%); text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta p { max-width: 38rem; margin: var(--sp-5) auto 0; color: var(--c-ink-2); }
.cta .btn-row { justify-content: center; margin-top: var(--sp-6); }

/* ---------- Zwei Spalten: Text und Kasten ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }

/* ---------- Fließtext und Artikel ---------- */
/* .prose ohne eigene Höchstbreite: die Breite gibt der Container vor (sonst überschreibt es .container auf demselben Element) */
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { margin: var(--sp-7) 0 var(--sp-4); font-size: var(--fs-h3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: var(--sp-6) 0 var(--sp-3); font-size: var(--fs-h4); }
.prose p { margin-bottom: 0; }
.prose ul, .prose ol { display: grid; gap: var(--sp-2); padding-left: 1.2em; }
.prose ul li::marker { color: var(--c-accent); }
.prose .table-wrap { margin-block: var(--sp-5); }
.prose a { color: var(--c-accent); }
.antwort { padding: var(--sp-5) var(--sp-6); border-radius: var(--r-md); background: var(--c-mint); box-shadow: inset 0 0 0 1px var(--c-mint-deep); font-size: var(--fs-lead); line-height: 1.5; }
.antwort__marke { display: block; margin-bottom: var(--sp-2); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-kicker); text-transform: uppercase; color: var(--c-accent-2); }
.article-head__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-5); font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-ink-3); }
.article__body { display: grid; gap: var(--sp-7); padding-top: var(--sp-8); }
/* Text nutzt die Spaltenbreite (Mathias). Unter 1100 px wandert das Verzeichnis in die Schnellleiste (nur mit JavaScript) */
.article__body .prose { max-width: none; }
@media (max-width: 1099px) { html.js .article__body > .toc { display: none; } }
@media (min-width: 1100px) {
  .article__body { grid-template-columns: minmax(0, 1fr) 17rem; column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .article__body > .toc { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + var(--sp-4)); }
  .article__body > :not(.toc) { grid-column: 1; }
}

/* ---------- Umbrüche ---------- */
@media (max-width: 64rem) {
  .bento, .beitraege { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pakete__liste { grid-template-columns: minmax(0, 1fr); }
  .paket--empfohlen { order: -1; }
  .ablauf, .split { grid-template-columns: minmax(0, 1fr); }
  .ablauf__kopf { position: static; }
  .paket-info, .pakete__unten, .erklaerung { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .bento, .beitraege, .zahlen { grid-template-columns: minmax(0, 1fr); }
  .kachel--breit, .beitrag--gross { grid-column: auto; }
  .kachel__bild { height: 11rem; }
  .paket { padding: 1.75rem 1.25rem 1.5rem; }
  .paket-info__karte, .kasten, .stufe { padding: 1.5rem 1.25rem; }
  .zeitleiste__innen { padding: 1.5rem 1.25rem; }
  .schalter { min-width: 0; width: 100%; }
  .leiste { gap: 2px; padding: 0.6rem; }
  .leiste__tag { height: 1.75rem; border-radius: 3px; }
}

/* websitewartung.at · Icons
   Linien-Icons (24 × 24, Strich 2, runde Enden) in assets/icons/. Als Maske über .icon--name, Farbe folgt dem Text. */
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.icon--extern { --icon: url("/designsystem/assets/icons/extern.svg"); }
.icon--pfeil-rechts { --icon: url("/designsystem/assets/icons/pfeil-rechts.svg"); }
.icon--info { --icon: url("/designsystem/assets/icons/info.svg"); }
.icon--fokus { --icon: url("/designsystem/assets/icons/fokus.svg"); }
.icon--kalender { --icon: url("/designsystem/assets/icons/kalender.svg"); }
.icon--schild { --icon: url("/designsystem/assets/icons/schild.svg"); }
.icon--datenbank { --icon: url("/designsystem/assets/icons/datenbank.svg"); }
.icon--globus { --icon: url("/designsystem/assets/icons/globus.svg"); }

/* Externe Links: Zeichen nach dem Text (setzt der Build mit der Klasse link-ext) */
.link-ext::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.25em;
  vertical-align: -0.05em;
  background-color: currentColor;
  -webkit-mask: url("/designsystem/assets/icons/extern.svg") center / contain no-repeat;
  mask: url("/designsystem/assets/icons/extern.svg") center / contain no-repeat;
}

/* websitewartung.at · Bewegung
   Bewegung ist eine Schicht obendrauf. Ohne sie steht jeder Inhalt sichtbar im Endzustand.
   Ruhige Fassung: prefers-reduced-motion oder Klasse is-motion-paused auf <html> (Schalter im Fuß, gespeichert). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
html.is-motion-paused *, html.is-motion-paused *::before, html.is-motion-paused *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

/* pages.css · Seitenspezifisches, das keiner Gruppe gehört. Der Build bündelt danach alle übrigen
   Dateien in diesem Ordner alphabetisch (angebot, ratgeber, regionen, rest, start). Gemeinsame Bausteine stehen im Designsystem. */

/* angebot.css · Gruppe A: /de/sicherheit/, /de/pakete/, /de/sichtung/ (+ danke), /de/notfall/, /de/app-sicherheit/.
   Nur Seitenspezifisches mit Präfix .angebot-, Gemeinsames liegt im Designsystem. Siehe ../../../../BAUPLAN.md */

/* ---------- Tabellen (Vergleich) ---------- */
.angebot-tabelle { margin-top: var(--sp-5); border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-ring); }
.angebot-tabelle table { min-width: 44rem; font-size: var(--fs-sm); }
.angebot-tabelle caption { padding: var(--sp-5) var(--sp-5) var(--sp-3); }
.angebot-tabelle th, .angebot-tabelle td { padding: var(--sp-4) var(--sp-5); }
.angebot-tabelle thead th { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink-3); font-weight: var(--fw-regular); }
.angebot-tabelle tbody th { font-weight: var(--fw-medium); color: var(--c-ink); }
.angebot-tabelle tbody tr:last-child > * { border-bottom: 0; }
.angebot-tabelle--pakete tbody td:nth-child(3) { background: var(--c-mint-2); }
.angebot-tabelle--pakete thead th:nth-child(3) { background: var(--c-mint-2); color: var(--c-accent-2); }
.angebot-tabelle__gruppe th { padding-top: var(--sp-5); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-accent-2); font-weight: var(--fw-regular); background: var(--c-paper); }

/* ---------- Sechs Schichten / vier Schritte als Raster ---------- */
.angebot-schichten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; list-style: none; }
.angebot-schicht { padding: 1.75rem; border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-card); }
.angebot-schicht h3 { margin: var(--sp-3) 0 var(--sp-2); font-size: var(--fs-h4); }
.angebot-schicht p { color: var(--c-ink-3); }
.angebot-schicht__nr { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--c-accent); }
.angebot-schichten:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.angebot-bericht { margin-top: var(--sp-8); }
.angebot-bericht-gross .bericht__karte { align-self: start; }

/* ---------- Zusätze ---------- */
.angebot-zusaetze { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; list-style: none; }
.angebot-zusatz { display: flex; flex-direction: column; gap: var(--sp-3); padding: 1.75rem; border-radius: var(--r-lg); background: var(--c-paper-2); }
.angebot-zusatz h3 { font-size: var(--fs-h4); }
.angebot-zusatz p { color: var(--c-ink-2); }
.angebot-zusatz .textlink { margin-top: auto; }
.angebot-zusatz__preis { font-size: var(--fs-h3); font-weight: var(--fw-semibold); letter-spacing: -0.02em; color: var(--c-accent-2); }
.angebot-zusatz__preis span { font-size: var(--fs-sm); font-weight: var(--fw-regular); color: var(--c-ink-3); }

/* ---------- Sichtung: Formular und Seitenspalte ---------- */
.angebot-sichtung { padding-top: var(--sp-7); }
.angebot-sichtung__raster { align-items: start; }
.angebot-sichtung__titel { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.angebot-sichtung__raster .form { margin-top: var(--sp-5); }
.angebot-sichtung__seite { position: sticky; top: calc(var(--header-h) + var(--sp-5)); padding: 1.75rem; border-radius: var(--r-lg); background: var(--c-paper-2); }
.angebot-sichtung__klein { font-size: var(--fs-h4); margin-bottom: var(--sp-5); }
.angebot-sichtung__notiz { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); color: var(--c-ink-2); }
.angebot-sichtung__notiz .textlink { display: inline-block; margin-top: var(--sp-1); }

.angebot-schritte { display: grid; gap: var(--sp-5); list-style: none; }
.angebot-schritte li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-4); }
.angebot-schritte h3 { font-size: var(--fs-base); font-weight: var(--fw-semibold); }
.angebot-schritte p { margin-top: var(--sp-1); color: var(--c-ink-3); }
.angebot-schritte__nr { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--r-pill); background: var(--c-mint); color: var(--c-accent-2); font-family: var(--font-mono); font-size: var(--fs-sm); }
.angebot-schritte--quer { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.angebot-schritte--quer li { padding: 1.5rem; border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-card); }

/* ---------- Bedingungen und Ergebnis ---------- */
.angebot-bedingungen { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.1rem; }
.angebot-bedingungen .kasten { background: var(--c-paper); box-shadow: var(--sh-card); }
.angebot-bedingungen .haken strong { color: var(--c-ink); }
.angebot-bedingungen .haken li { color: var(--c-ink-2); }

.angebot-liste { display: grid; gap: 0.6rem; list-style: none; }
.angebot-liste li { position: relative; padding-left: 1.4rem; color: var(--c-ink-2); }
.angebot-liste li::before { content: ""; position: absolute; left: 0.2rem; top: 0.62em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--c-line-strong); }
.angebot-liste--warn li::before { background: var(--c-open); }

.angebot-ergebnisse__titel { margin-top: var(--sp-7); }
.angebot-ergebnisse { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: var(--sp-4); list-style: none; }
.angebot-ergebnis { padding: 1.5rem 1.75rem; border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-card); }
.angebot-ergebnis p:not(.angebot-ergebnis__marke) { color: var(--c-ink-2); }
.angebot-ergebnis__marke { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--sp-2); font-weight: var(--fw-semibold); font-size: var(--fs-h4); }
.angebot-ergebnis__marke::before { content: ""; flex: none; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--c-line-strong); }
.angebot-ergebnis--ja .angebot-ergebnis__marke::before { background: var(--c-accent); }
.angebot-ergebnis--vorarbeit .angebot-ergebnis__marke::before { background: var(--c-accent-light); }
.angebot-ergebnis--nein .angebot-ergebnis__marke::before { background: var(--c-open); }

/* ---------- Kleinteile ---------- */
.angebot-h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.band .angebot-h3 { font-size: var(--fs-h3); margin-bottom: 0; }
.angebot-erklaerung--oben { margin-top: 0; }
.angebot-erklaerung--oben p + p { margin-top: var(--sp-3); }
.angebot-pruefliste { padding: 1.75rem; }
.angebot-app .paket__betrag--text .todo { font-size: var(--fs-base); }
.seite-angebot .band { margin-top: var(--sp-7); }
.seite-angebot .section > .container > .band:first-child { margin-top: 0; }

/* ---------- Schmal ---------- */
@media (max-width: 64rem) {
  .angebot-schichten, .angebot-schichten:has(> :nth-child(4):last-child), .angebot-zusaetze, .angebot-ergebnisse, .angebot-schritte--quer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .angebot-bedingungen { grid-template-columns: minmax(0, 1fr); }
  .angebot-sichtung__seite { position: static; }
}
@media (max-width: 40rem) {
  .angebot-schichten, .angebot-schichten:has(> :nth-child(4):last-child), .angebot-zusaetze, .angebot-ergebnisse, .angebot-schritte--quer { grid-template-columns: minmax(0, 1fr); }
  .angebot-tabelle th, .angebot-tabelle td { padding: var(--sp-3) var(--sp-4); }
}

/* ==========================================================================
   Gruppe B · Ratgeber (/de/ratgeber/ und fünf Beiträge)
   Nur Tokens aus designsystem/tokens.css. Präfix .rg-
   ========================================================================== */

/* Autorzeile unter dem Seitenkopf */
.rg-autor { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-5); font-size: var(--fs-sm); color: var(--c-ink-2); }
.rg-autor p { display: block; line-height: 1.45; }
.rg-autor p > a:first-child { font-weight: 600; color: var(--c-ink); text-decoration: none; }
.rg-autor p > a:first-child:hover { text-decoration: underline; }
.rg-autor__rolle { display: block; color: var(--c-ink-3); }
.rg-autor__bild { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; overflow: hidden; background: var(--c-mint); box-shadow: 0 0 0 3px var(--c-paper); }
.rg-autor__bild picture, .rg-autor__bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.rg-autor__bild img { transform: scale(1.35); transform-origin: 50% 8%; }
.rg-autor a { color: var(--c-accent); }

/* Hinweis „keine Rechtsberatung“ und andere Randnotizen im Text */
.rg-hinweis {
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-paper-2);
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
}
.rg-hinweis strong { color: var(--c-ink); }

/* Checkliste mit großen Nummern (Beitrag „WordPress gehackt“) */
.prose ol.rg-schritte { counter-reset: rg; list-style: none; padding-left: 0; gap: var(--sp-4); }
.rg-schritte > li {
  counter-increment: rg;
  position: relative;
  padding: var(--sp-4) var(--sp-5) var(--sp-4) calc(var(--sp-5) + 2.5rem);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-paper);
}
.rg-schritte > li::before {
  content: counter(rg);
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-pill);
  background: var(--c-accent);
  color: var(--c-on-accent);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
}
.rg-schritte strong { display: block; margin-bottom: var(--sp-1); }

/* Grafik als Inline-SVG mit Bildunterschrift */
.rg-grafik { margin-block: var(--sp-6); }
.rg-grafik svg { width: 100%; height: auto; }
.rg-grafik figcaption { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-ink-3); }
.rg-grafik__text { font-family: var(--font-mono); font-size: 13px; fill: var(--c-ink-2); }
.rg-grafik__text--stark { fill: var(--c-ink); }
.rg-grafik__linie { stroke: var(--c-line-strong); stroke-width: 1.5; fill: none; }
.rg-grafik__offen { fill: var(--c-open); }
.rg-grafik__zu { fill: var(--c-accent); }
.rg-grafik__update { fill: var(--c-update); }
.rg-grafik__flaeche { fill: var(--c-paper-2); stroke: var(--c-line); }
.rg-grafik__mint { fill: var(--c-mint); stroke: var(--c-accent-light); }

/* Zeitleiste innerhalb eines Beitrags etwas Luft geben */
.prose .zeitleiste { margin-block: var(--sp-6); }

/* Quellenliste am Ende */
.prose .rg-quellen { font-size: var(--fs-sm); color: var(--c-ink-2); }
.prose .rg-quellen li { overflow-wrap: anywhere; }

/* Übersicht: Einleitung zu den Themen */
.rg-themen.chips { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--sp-2); margin-top: var(--sp-5); }

/* Artikel-Raster: Spalten dürfen schmaler werden als ihr breitester Inhalt.
   Sonst drücken breite Tabellen (in .table-wrap scrollbar) die Spalte über den Rand und die Seite scrollt quer. */
.article__body > * { min-width: 0; }
.prose .table-wrap { max-width: 100%; }
.prose .zeitleiste { max-width: 100%; }

/* Übersicht: Überschrift über der Beitragsliste */
.rg-liste-titel { margin: var(--sp-2) 0 var(--sp-6); font-size: var(--fs-h2); }

/* Übersicht mit sechs Beiträgen: der aktuelle Beitrag zwei Spalten breit und zwei Reihen hoch, damit kein Loch bleibt (Fehlerkatalog Kartenraster) */
.beitrag--hoch .beitrag__text { flex: 0 0 auto; }
/* Korrigierte PHP-Ausgaben als ruhiges Bild in der großen Karte, nur Dekoration */
.rg-ausgaben { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-6) 0; }
.rg-ausgaben span { padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--c-paper); box-shadow: var(--sh-ring); font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--c-accent-2); }
@media (min-width: 64.0625rem) { .rg-ausgaben { margin: auto 0; } }
@media (min-width: 64.0625rem) { .beitrag--hoch { grid-row: span 2; } }
@media (min-width: 40.0625rem) and (max-width: 64rem) { .rg-beitraege > .beitrag:last-child:nth-child(even) { grid-column: span 2; } }

/* regionen.css · Länder- und Stadtseiten (Gruppe C), siehe ../../../../BAUPLAN.md. Gemeinsames gehört ins Designsystem.
   Seiten werden mit tools/regionen-seiten.mjs aus src/regionen.json erzeugt. */

/* Antwortblock direkt unter dem Seitenkopf: weniger Abstand als ein normaler Abschnitt */
.seite-region .region-start { padding-top: var(--sp-7); }

/* Kopf links, Tabelle rechts; unter 64 rem untereinander */
.region-spalten { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
@media (min-width: 64rem) {
  .region-spalten { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--sp-8); align-items: start; }
  .region-spalten .section-head { position: sticky; top: calc(var(--header-h) + var(--sp-5)); margin-bottom: 0; }
}

/* Tabellen als ruhige Karte */
.region-tabelle { border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-card); padding: var(--sp-3) var(--sp-5) var(--sp-4); }
.section--soft .region-tabelle { background: var(--c-paper); }
.region-tabelle caption { padding-top: var(--sp-4); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-kicker); text-transform: uppercase; color: var(--c-ink-3); font-weight: var(--fw-regular); }
.region-tabelle table { font-size: var(--fs-sm); }
.region-tabelle th[scope="row"] { width: 34%; color: var(--c-ink); }
.region-tabelle td { color: var(--c-ink-2); }
.region-tabelle tr:last-child > * { border-bottom: 0; }
.region-tabelle a { color: var(--c-accent); text-underline-offset: 0.2em; }
/* Handy: Zeilen stapeln, lange Behörden- und Gesetzesnamen dürfen umbrechen */
.region-tabelle th, .region-tabelle td { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 40rem) {
  .region-tabelle { padding-inline: var(--sp-4); }
  .region-tabelle table, .region-tabelle tbody, .region-tabelle tr, .region-tabelle th, .region-tabelle td { display: block; width: auto; }
  .region-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .region-tabelle tr { padding-block: var(--sp-3); border-bottom: 1px solid var(--c-line); }
  .region-tabelle tr:last-child { border-bottom: 0; }
  .region-tabelle th, .region-tabelle td { padding: var(--sp-1) 0; border-bottom: 0; }
  .region-tabelle th[scope="row"] { width: auto; }
  .region-tabelle td[data-label]::before { content: attr(data-label) ": "; color: var(--c-ink-3); }
  .region-tabelle caption { display: block; }
}
.region-klein { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--c-ink-3); }

/* Drei Punkte zur Betreuung aus der Ferne */
.region-punkte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--sp-5); list-style: none; }
.region-punkte li { padding: var(--sp-6); border-radius: var(--r-lg); background: var(--c-paper-2); }
.region-punkte h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.region-punkte p { color: var(--c-ink-2); }

.region-text { font-size: var(--fs-lead); line-height: 1.5; margin-top: var(--sp-4); }
.region-text a, .region-weiter a { color: var(--c-accent); text-underline-offset: 0.2em; }

/* Städte auf den Länderseiten */
.region-staedte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--sp-4); list-style: none; }
.region-stadt__link { display: grid; gap: var(--sp-1); min-height: 44px; padding: var(--sp-5); border-radius: var(--r-lg); background: var(--c-paper); box-shadow: var(--sh-card); color: var(--c-ink); text-decoration: none; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out); }
.region-stadt__link:hover { transform: translateY(-2px); box-shadow: var(--sh-ring); }
.region-stadt__name { font-size: var(--fs-h4); font-weight: var(--fw-semibold); }
.region-stadt__ort { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-ink-3); }
.is-motion-paused .region-stadt__link { transition: none; }
@media (prefers-reduced-motion: reduce) { .region-stadt__link { transition: none; } .region-stadt__link:hover { transform: none; } }

/* Weiterführende Links unter dem Band */
.region-weiter { margin-top: var(--sp-6); }
.region-weiter ul { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); list-style: none; }
.region-weiter a { display: inline-flex; align-items: center; min-height: 44px; }

/* Quellen zum Aufklappen */
.region-quellen { margin-top: var(--sp-5); font-size: var(--fs-sm); color: var(--c-ink-3); }
.region-quellen summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.region-quellen ul { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4); margin-top: var(--sp-2); list-style: none; }
.region-quellen a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-ink-2); }

/* Link zum Monatsbericht in den Punkten der Stadtseiten */
.region-punkte a { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--sp-2); color: var(--c-accent); text-underline-offset: 0.2em; }

/* Infokarte im Seitenkopf: lange Behördennamen. Wert darf umbrechen, schmal untereinander */
.seite-region .page-head__aside-liste span { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.seite-region .page-head__aside-liste span { text-align: right; }
@media (max-width: 30rem) {
  .seite-region .page-head__aside-liste li { flex-direction: column; gap: var(--sp-1); }
  .seite-region .page-head__aside-liste span { text-align: left; }
}

/* Eigene Texte je Stadt: zwei Absätze nebeneinander über die Inhaltsbreite, am Handy untereinander */
.region-absaetze { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: var(--sp-4) var(--sp-8); }
.region-absaetze p { margin: 0; color: var(--c-ink-2); }

/* rest.css · Gruppe D (Englisch, Über uns, Fakten, Recht), siehe ../../../../BAUPLAN.md. Gemeinsames gehört ins Designsystem. */

/* Über uns: zwei Personen */
.rest-team { display: grid; gap: var(--sp-5); padding: 0; margin: 0; list-style: none; }
@media (min-width: 56rem) { .rest-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rest-person {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: stretch;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--sh-card);
}
/* Foto so hoch wie der Text daneben (Mathias), Ausschnitt auf das Gesicht */
.rest-person__bild { overflow: hidden; border-radius: var(--r-md); min-height: 14rem; height: 100%; background: var(--c-mint); }
.rest-person__bild picture { display: block; height: 100%; }
.rest-person__foto { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rest-person__name { font-size: var(--fs-h3); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.rest-person__rolle { margin-top: var(--sp-1); margin-bottom: var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--c-ink-3); }
.rest-person__text p:last-child { color: var(--c-ink-2); }
@media (max-width: 30rem) {
  .rest-person { grid-template-columns: minmax(0, 1fr); }
  .rest-person__bild { aspect-ratio: 1; height: auto; min-height: 0; max-width: 16rem; }
}

/* Linkliste zu clickpuls */
.rest-links { display: grid; gap: var(--sp-2); padding: 0; margin: var(--sp-5) 0 0; list-style: none; }
.rest-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Nächste Schritte auf /en/review/ */
.rest-schritte { display: grid; gap: var(--sp-3); padding: 0; margin: 0; list-style: none; counter-reset: schritt; }
.rest-schritte li { position: relative; padding-left: 2.25rem; color: var(--c-ink-2); counter-increment: schritt; }
.rest-schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-mint-deep);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}
.rest-schritte strong { color: var(--c-ink); }

/* Rechtliche Seiten: Hinweis Entwurf unter dem Titel */
.rest-entwurf { margin-top: var(--sp-4); }

/* Fakten: Tabellen mit vier Spalten, Quelle schmal */
/* Fakten: volle Inhaltsbreite statt Textbreite (Mathias: viel zu schmal). Fließtext bleibt lesbar begrenzt. */
.prose.rest-fakten { max-width: calc(var(--maxw) + 2 * var(--gutter)); }
@media (min-width: 48rem) {
  .rest-fakten table { width: 100%; table-layout: fixed; }
  .rest-fakten thead th:nth-child(1) { width: 18%; }
  .rest-fakten thead th:nth-child(2) { width: 52%; }
  .rest-fakten thead th:nth-child(3) { width: 10%; }
  .rest-fakten thead th:nth-child(4) { width: 20%; }
}
.rest-fakten .table-wrap + h2 { margin-top: var(--sp-8); }
.rest-fakten table th[scope="row"] { min-width: 9rem; }
.rest-fakten table td:nth-child(3) { white-space: nowrap; font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--c-ink-3); }

/* Fakten am Handy: jede Zeile als Block (Thema, Angabe, Stand, Quelle), kein Querscroll */
@media (max-width: 47.99rem) {
  .rest-fakten table, .rest-fakten tbody, .rest-fakten tr, .rest-fakten th, .rest-fakten td { display: block; width: 100%; }
  .rest-fakten table { min-width: 0; }
  .rest-fakten caption { display: block; width: 100%; text-align: left; }
  .rest-fakten thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rest-fakten tr { padding-block: var(--sp-4); border-top: 1px solid var(--c-line); }
  .rest-fakten th, .rest-fakten td { padding: 0; border: 0; }
  .rest-fakten table th[scope="row"] { min-width: 0; margin-bottom: var(--sp-1); }
  .rest-fakten td + td { margin-top: var(--sp-2); }
  .rest-fakten td:nth-child(3)::before { content: "Stand: "; }
  .rest-fakten td:nth-child(4)::before { content: "Quelle: "; color: var(--c-ink-3); font-family: var(--font-mono); font-size: var(--fs-sm); }
}

/* Rechtsseiten: volle Inhaltsbreite mit Inhaltsverzeichnis links wie die Ratgeber-Beiträge (Mathias: zu schmal) */
.section--recht .article__body { padding-top: 0; }

/* start.css · Seitenspezifisches der Gruppe, siehe ../../../../BAUPLAN.md. Gemeinsames gehört ins Designsystem. */
