/* Bestellseite · Stand: 02.12.2026 · Erscheinungsbild HVNH AI (CI der Website hvnh-ai.com)
   Inhaber 02.12.: „passt 0,0 zu meinem sonstigen UI und CI“ – darum gelten hier die Tokens, die Schrift und die Bausteine der Website
   (web/app/globals.css: .card, .btn-primary, .btn-secondary, .eyebrow, .h2, .lead, .container-site; Preisseite PreisRechner/PreisSeite).
   Aufbau aus der Astra-Runde bleibt (Schritte, symmetrische Karten im Subgrid, Vergleichstabelle mit stehendem Kopf und Gruppen,
   Summenleiste). Hell wie die Website (sie hat keinen Dunkelmodus). Bewegung nur transform/opacity, nie bei „weniger Bewegung“.
   Schrift: Geist (Vercel), SIL Open Font License 1.1 – selbst ausgeliefert unter /schrift/ (CSP default-src 'self').
   TOOLS (02.12.2026, Inhaber: Tools mit Erklärvideo in einzelnen Kacheln, Vergleich in den ersten Bereich): Tool-Kacheln mit Film im Raster
   (Handy: eine je Reihe; breite Einzelkachel: Film links), Vergleich direkt unter den Paketkarten, am Handy ohne eigenen Scrollbereich –
   der Tabellenkopf steht unter der Kopfzeile der Seite statt unter sie zu rutschen.
   BREIT (02.12.2026, Inhaber: „direkt mit dem Vergleich anfangen; jedes Tool eine eigene ganze Breite, besser erklären, auch visuell;
   die Bundles sichtbar“): kurzer Kopf mit den Schritten, Vergleich zuerst, dann die Paketkarten; jedes Tool als Block über die ganze
   Breite (breit: Film + Ablauf-Schema und Text nebeneinander, abwechselnd), Abschnitt „Zusammen günstiger“ mit Duo-Rabatt und
   Themen-Vorschlägen. */

@font-face {
  font-family: Geist; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/schrift/geist-latin-ext.woff2) format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Geist; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/schrift/geist-latin.woff2) format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* gleiche Zeilenmaße wie Geist, solange die Schrift lädt (wie next/font auf der Website) */
@font-face {
  font-family: "Geist Fallback"; src: local(Arial);
  ascent-override: 95.94%; descent-override: 28.16%; line-gap-override: 0%; size-adjust: 104.76%;
}

:root {
  color-scheme: light;
  /* Tokens der Website */
  --background: #ffffff;
  --surface: #f6f7f9;
  --border: #e5e7eb;
  --foreground: #111827;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eff6ff;
  /* Ableitungen aus derselben Palette (Tailwind-Grau/-Rot/-Bernstein/-Smaragd wie auf der Website) */
  --accent-hauch: rgb(239 246 255 / 50%);
  --feldrand: #d1d5db;
  --fehler: #dc2626;
  --fehler-text: #b91c1c;
  --fehlergrund: #fef2f2;
  --fehlerrand: #fecaca;
  --warn-text: #78350f;
  --warngrund: #fffbeb;
  --warnrand: #fde68a;
  --ok: #059669;
  --schatten-karte: 0 1px 2px rgb(16 24 40 / 4%);
  --schatten-hover: 0 8px 24px rgb(16 24 40 / 8%);
  --schatten-gewaehlt: 0 10px 30px rgb(16 24 40 / 10%);
  --schatten-summe: 0 12px 36px rgb(16 24 40 / 14%);
  --ring: 0 0 0 2px rgb(37 99 235 / 25%);
  --schrift: Geist, "Geist Fallback", system-ui, sans-serif;
  /* .container-site: max-w-6xl (1152 px) mit px-5 / sm:px-8 → Inhalt höchstens 1088 px */
  --inhalt: 1088px;
  --rand: 20px;
  --kopf: 64px;
  --kopf-klebt: var(--kopf);
}
@media (min-width: 640px) { :root { --rand: 32px; } }

/* Basis und Bedienbarkeit */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  scroll-padding: calc(var(--kopf) + 16px) 0 calc(150px + env(safe-area-inset-bottom));
}
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--background); color: var(--foreground);
  font: 400 1rem/1.5 var(--schrift);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-wrap: anywhere;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.025em; }
fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
legend { max-width: 100%; padding: 0; }
button, input { font: inherit; color: inherit; accent-color: var(--accent); }
button, label[for] { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sym { width: 1em; height: 1em; flex: none; vertical-align: middle; }
.nur-sr, .segment input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
[hidden], .nicht-ausfuellen { display: none !important; }
.preis-zeile, .paket-platz, .vergleich-tabelle, .summe, .tool-preis,
.stepper, .zaehler, .kachel-wert, .angaben dd { font-variant-numeric: tabular-nums; }

/* Breiten wie .container-site; Bänder (Hero, Vergleich) laufen über die volle Breite, ihr Inhalt steht auf derselben Kante */
.seite > :not(.held, form), .seite > form > *,
.held-innen, .kopf-innen, .fuss-innen {
  width: min(100% - 2 * var(--rand), var(--inhalt)); margin-inline: auto;
}
.seite > noscript { display: block; }
.seite { flex: 1; background: var(--surface); padding-bottom: clamp(64px, 8vw, 96px); }
.seite--schmal { --inhalt: 760px; }

/* Kopfzeile wie auf der Website: weiß, 64 px, Logo „HVNH AI“ mit blauem „AI“ */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 85%); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.kopf-innen { height: var(--kopf); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kopf-marke {
  display: flex; align-items: baseline; gap: 4px; color: var(--foreground); white-space: nowrap;
  font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; letter-spacing: -.025em;
}
.kopf-marke:hover { text-decoration: none; }
.kopf-marke-ai { color: var(--accent); }
.kopf-rechts { display: flex; align-items: center; gap: 20px; min-width: 0; }
.kopf-hinweis { color: var(--muted); font-size: .875rem; font-weight: 500; white-space: nowrap; }
@media (max-width: 719px) { .kopf-hinweis { display: none; } }

/* Fußzeile wie die untere Leiste der Website: Fläche, feine Linie, Rechtliches rechts */
.fuss { background: var(--surface); border-top: 1px solid var(--border); color: var(--muted); font-size: .75rem; line-height: 1rem; }
.fuss-innen {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 24px; padding-block: 12px;
}
.fuss-innen > p:first-child { padding-block: 8px; }
.fuss-links { display: flex; flex-wrap: wrap; column-gap: 16px; }
.fuss-links a, .meldung a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss-links a { color: var(--muted); }
.fuss-links a:hover { color: var(--foreground); text-decoration: none; }

/* Knöpfe: runde Pillen wie .btn-primary / .btn-secondary */
.knopf, .vgl-wahl, .thema, .stepper-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: 9999px;
  font: inherit; font-size: .875rem; line-height: 1.25rem; font-weight: 600; text-decoration: none;
}
.knopf { background: var(--accent); color: #fff; }
a.knopf:hover, button.knopf:hover:not(:disabled) { background: var(--accent-dark); text-decoration: none; }
.knopf:disabled { opacity: .5; }
.knopf--zweit { background: var(--background); color: var(--foreground); border-color: var(--border); }
a.knopf--zweit:hover { background: var(--background); color: var(--accent); border-color: var(--accent); }
.knopf--klein { min-height: 40px; padding: 8px 16px; white-space: nowrap; }

/* Hero wie die Unterseiten der Website: zarter Blau-Verlauf nach Weiß, Brotkrumen, Eyebrow, große Überschrift, Lead */
.held { background: linear-gradient(to bottom, rgb(239 246 255 / 60%), var(--background)); border-bottom: 1px solid var(--border); }
.held-innen { padding: 24px 0 32px; }
@media (min-width: 640px) { .held-innen { padding: 32px 0 40px; } }
.krumen { color: var(--muted); font-size: .75rem; line-height: 1rem; }
.krumen ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 0; list-style: none; }
.krumen li { display: flex; align-items: center; gap: 6px; }
.krumen li + li::before { content: "/"; }
.krumen a { color: var(--muted); }
.krumen a:hover { color: var(--accent); text-decoration: none; }
.krumen [aria-current] { color: var(--foreground); font-weight: 500; }
.vorzeile, .schritt-kopf .schritt-nr, .vgl-gruppe th, .vergleich-kopf::before, .tafel-titel::before {
  color: var(--accent); font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.vorzeile { margin-top: 32px; }
.held h1 {
  max-width: 48rem; margin-top: 20px; text-wrap: balance;
  font-size: 2.25rem; line-height: 2.5rem;
}
@media (min-width: 640px) { .held h1 { font-size: 3rem; line-height: 1.08; } }
@media (min-width: 1024px) { .held h1 { font-size: 3.4rem; } }
.einleitung { max-width: 42rem; margin-top: 12px; color: var(--muted); font-size: 1.125rem; line-height: 1.625; }

/* Schritte: Sprungmarken als Pillen, Abschnittsköpfe wie Eyebrow + .h2 der Website („Schritt 1“ über dem Titel) */
.schritte { margin-top: 24px; }
.schritte ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.schritte a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 18px 5px 5px;
  color: var(--foreground); background: var(--background); border: 1px solid var(--border); border-radius: 9999px;
  font-size: .875rem; font-weight: 500;
}
.schritte a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.schritte .schritt-nr {
  display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none;
  color: var(--accent-dark); background: var(--accent-soft); border-radius: 9999px; font-size: .8125rem; font-weight: 600;
}
.schritt { margin-top: 48px; }
@media (min-width: 640px) { .schritt { margin-top: 72px; } }
.seite > form > .schritt:first-child { margin-top: 32px; }
@media (min-width: 640px) { .seite > form > .schritt:first-child { margin-top: 48px; } }
.schritt-kopf { display: block; width: 100%; font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
@media (min-width: 640px) { .schritt-kopf { font-size: 2.25rem; line-height: 2.5rem; } }
.schritt-kopf .schritt-nr { display: block; margin-bottom: 12px; }
.schritt-kopf .schritt-nr::before { content: "Schritt "; }
.schritt-text { max-width: 42rem; margin: 16px 0 32px; color: var(--muted); font-size: 1.125rem; line-height: 1.625; }
.abschnitt-titel { margin-top: 48px; margin-bottom: 24px; font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 640px) { .abschnitt-titel { font-size: 2.25rem; line-height: 2.5rem; } }

/* Paketkarten wie auf der Preisseite: Marken, Name, Text, Preis, Merkmale, Knopf unten – sieben gemeinsame Zeilen je Reihe */
.pakete { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.pakete--1 { max-width: 420px; }
@media (min-width: 768px) {
  .pakete--2, .pakete--3, .pakete--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pakete--2 { max-width: 860px; }
}
@media (min-width: 1024px) { .pakete--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .pakete--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.paket, .karte-flach, .kachel, .werkzeug-tafel {
  background: var(--background); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--schatten-karte);
}
.paket {
  position: relative; isolation: isolate; min-width: 0; display: grid;
  grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; padding: 24px;
}
@media (min-width: 640px) { .paket { padding: 28px; } }
.paket-kopf { grid-row: 1; }
.paket-text { grid-row: 2; }
.paket-preis { grid-row: 3; }
.paket-platz { grid-row: 4; }
.paket-punkte { grid-row: 5; }
.paket-hinweis { grid-row: 6; }
.knopf--wahl, .paket-knopf-leer { grid-row: 7; }
@supports not (grid-template-rows: subgrid) {
  .paket { display: flex; flex-direction: column; grid-row: auto; }
  .paket-kopf { order: 1; } .paket-text { order: 2; } .paket-preis { order: 3; } .paket-platz { order: 4; }
  .paket-punkte { order: 5; flex: 1; } .paket-hinweis { order: 6; } .knopf--wahl, .paket-knopf-leer { order: 7; }
}
/* weicher Schatten beim Überfahren – als eigene Ebene, damit nur die Deckkraft wechselt */
.paket::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: var(--schatten-hover); opacity: 0;
}
.paket-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 8px; }
.paket-marken { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex-basis: 100%; min-height: 28px; }
.pakete:not(:has(.paket-marken:not(:empty))) .paket-marken { display: none; }
.paket-name { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -.025em; }
.paket-radio { margin: 0; }
label.paket-name::after, .wahl--kachel label::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
}
.paket-radio:focus-visible + label::after { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 16px; }
.marke {
  display: inline-block; padding: 4px 10px; border-radius: 9999px; white-space: nowrap;
  font-size: .6875rem; line-height: 1rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase;
}
.marke--beliebt { color: #fff; background: var(--accent); }
.marke--gruendung { color: var(--accent-dark); background: var(--accent-soft); }
.marke--bald { padding: 2px 8px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); }
.paket-text { margin-top: 6px; color: var(--muted); font-size: .875rem; line-height: 1.625; }
.paket-preis { margin-top: 20px; }
.preis-zeile { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.preis-wert { order: -1; font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.preis-statt { color: var(--muted); font-size: 1rem; white-space: nowrap; }
.preis-zusatz, .preis-anfrage { display: block; }
.preis-anfrage { font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -.025em; }
.preis-zusatz { color: var(--muted); font-size: .75rem; line-height: 1rem; }
.paket-preis .preis-zusatz { margin-top: 4px; }
.paket-platz { margin-top: 2px; color: var(--muted); font-size: .75rem; line-height: 1rem; }
.paket-punkte { align-self: start; margin-top: 24px; padding: 0; list-style: none; font-size: .875rem; line-height: 1.43; }
.paket-punkte li { position: relative; padding-left: 26px; }
.paket-punkte li + li { margin-top: 10px; }
.paket-punkte li::before {
  content: ""; position: absolute; left: 5px; top: .2em; width: 5px; height: 10px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.paket-hinweis { margin-top: 16px; color: var(--muted); font-size: .8125rem; }
.paket :is(.paket-hinweis, .paket-text, .paket-platz, .paket-punkte):empty { margin: 0; padding: 0; }
.knopf--wahl {
  position: relative; overflow: hidden; width: 100%; align-self: end; margin-top: 28px; padding-inline: 12px; white-space: nowrap;
  color: var(--foreground); background: var(--background); border-color: var(--border);
}
.paket:hover .knopf--wahl { color: var(--accent); border-color: var(--accent); }
.wahl-gewaehlt {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; opacity: 0;
}
.paket-knopf-leer { display: block; }
.paket--gewaehlt { border-color: var(--accent); box-shadow: var(--ring), var(--schatten-gewaehlt); }
.paket--gewaehlt .wahl-gewaehlt { opacity: 1; }
@supports selector(:has(*)) {
  .paket-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .paket:has(.paket-radio:checked) { border-color: var(--accent); box-shadow: var(--ring), var(--schatten-gewaehlt); }
  .paket:has(.paket-radio:checked) .knopf--wahl { border-color: var(--accent); }
  .paket:has(.paket-radio:checked) .wahl-gewaehlt { opacity: 1; }
  .paket--gewaehlt:has(.paket-radio:not(:checked)) { border-color: var(--border); box-shadow: var(--schatten-karte); }
  .paket--gewaehlt:has(.paket-radio:not(:checked)) .wahl-gewaehlt { opacity: 0; }
}

/* Vergleich: direkt unter den Paketkarten (TOOLS 02.12.: „in den ersten Bereich“), Tabelle mit Rahmen rounded-2xl, Kopf auf der Fläche,
   stehender Kopf unter der Kopfzeile der Seite; mit Skript kompakt (Preis, Plätze, Kurzfassung) und aufklappbar */
.vergleich { margin-top: 0; }
.abschnitt-titel + .vergleich { margin-top: 0; }
.karten-titel { margin: 48px 0 20px; font-size: 1.5rem; line-height: 2rem; text-wrap: balance; }
@media (min-width: 640px) { .karten-titel { margin-top: 64px; font-size: 1.875rem; line-height: 2.25rem; } }
.vergleich + .pakete { margin-top: 40px; }
.vergleich-kopf::before { content: "Vergleich"; display: block; margin-bottom: 8px; }
.vergleich-kopf h3 { font-size: 1.5rem; line-height: 2rem; text-wrap: balance; }
@media (min-width: 640px) { .vergleich-kopf h3 { font-size: 1.875rem; line-height: 2.25rem; } }
.vergleich-kopf--im-schritt::before { content: none; }
.vergleich-kopf--im-schritt .vergleich-hilfe { margin-top: -16px; font-size: .875rem; }
@media (max-width: 639px) {
  .schritt-text { margin: 12px 0 24px; font-size: 1rem; line-height: 1.55; }
  .einleitung { font-size: 1rem; line-height: 1.55; }
  .vergleich-kopf--im-schritt .vergleich-hilfe { margin-top: -12px; }
}
.vgl-gruppe-hinweis { margin-left: 8px; color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; }
.vergleich-fuss { max-width: 46rem; margin-top: 12px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.vergleich-hilfe { max-width: 42rem; margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.vergleich-rahmen {
  position: relative; isolation: isolate; min-width: 0; margin-top: 24px;
  background: var(--background); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--schatten-karte);
}
.sprung { white-space: nowrap; font-weight: 500; }
.sprung::after { content: " ↓"; }
.vergleich-tabelle {
  width: 100%; table-layout: fixed; border-spacing: 0; border-collapse: separate;
  font-size: .875rem; line-height: 1.43;
}
.vergleich-tabelle :is(th, td) { padding: 16px; vertical-align: middle; }
.vergleich-tabelle thead th {
  position: sticky; top: var(--kopf-klebt); z-index: 3;
  background: var(--kopf-flaeche, var(--surface)); color: var(--foreground); text-align: center; font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.vergleich-tabelle thead .vgl-ecke { width: 30%; text-align: start; border-top-left-radius: 15px; }
.vergleich-tabelle thead th:last-child { border-top-right-radius: 15px; }
.vgl-achse { font-weight: 600; }
.vgl-name { display: block; }
.vgl-preis, .vgl-leise { display: block; color: var(--muted); font-size: .75rem; line-height: 1rem; font-weight: 400; }
.vgl-preis { margin-top: 2px; }
.vgl-wahl { display: none; }
form[action="/bestellen"] .vgl-wahl {
  display: inline-flex; max-width: 100%; min-height: 36px; margin-top: 10px; padding: 6px 14px;
  color: var(--wahl-text, var(--foreground)); background: var(--wahl-grund, var(--background));
  border-color: var(--wahl-rand, var(--border)); font-size: .75rem; line-height: 1rem;
}
form[action="/bestellen"] .vgl-wahl:hover { color: var(--wahl-text, var(--accent)); border-color: var(--accent); }
/* Tabellenkopf: das gewählte Paket zeigt „Gewählt“ statt „Auswählen“ (Position wie bei den Tafeln, ohne Skript) */
.vgl-wahl-gewaehlt { display: none; }
form:has(.pakete > .paket:nth-child(1) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(2) .vgl-wahl-text,
form:has(.pakete > .paket:nth-child(2) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(3) .vgl-wahl-text,
form:has(.pakete > .paket:nth-child(3) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(4) .vgl-wahl-text,
form:has(.pakete > .paket:nth-child(4) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(5) .vgl-wahl-text,
form:has(.pakete > .paket:nth-child(5) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(6) .vgl-wahl-text,
form:has(.pakete > .paket:nth-child(6) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(7) .vgl-wahl-text,
form:has(.pakete > .paket:nth-child(7) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(8) .vgl-wahl-text,
form:has(.pakete > .paket:nth-child(8) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(9) .vgl-wahl-text { display: none; }
form:has(.pakete > .paket:nth-child(1) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(2) .vgl-wahl-gewaehlt,
form:has(.pakete > .paket:nth-child(2) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(3) .vgl-wahl-gewaehlt,
form:has(.pakete > .paket:nth-child(3) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(4) .vgl-wahl-gewaehlt,
form:has(.pakete > .paket:nth-child(4) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(5) .vgl-wahl-gewaehlt,
form:has(.pakete > .paket:nth-child(5) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(6) .vgl-wahl-gewaehlt,
form:has(.pakete > .paket:nth-child(6) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(7) .vgl-wahl-gewaehlt,
form:has(.pakete > .paket:nth-child(7) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(8) .vgl-wahl-gewaehlt,
form:has(.pakete > .paket:nth-child(8) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(9) .vgl-wahl-gewaehlt { display: inline; }
form[action="/bestellen"] .vgl-wahl::before {
  content: ""; display: var(--wahl-haken, none); flex: none; width: 5px; height: 9px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg);
}
form:has(.pakete > .paket:nth-child(1) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(2),
form:has(.pakete > .paket:nth-child(2) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(3),
form:has(.pakete > .paket:nth-child(3) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(4),
form:has(.pakete > .paket:nth-child(4) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(5),
form:has(.pakete > .paket:nth-child(5) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(6),
form:has(.pakete > .paket:nth-child(6) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(7),
form:has(.pakete > .paket:nth-child(7) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(8),
form:has(.pakete > .paket:nth-child(8) .paket-radio:checked) .vergleich-tabelle thead th:nth-child(9) {
  --kopf-flaeche: var(--accent-soft); --wahl-text: #fff; --wahl-grund: var(--accent);
  --wahl-rand: var(--accent); --wahl-haken: block;
  color: var(--accent-dark); box-shadow: inset 0 2px var(--accent);
}
.vergleich-tabelle tbody tr > * { border-bottom: 1px solid var(--border); }
.vergleich-tabelle tbody:last-child tr:last-child > *, .vergleich--kompakt .vergleich-tabelle tbody:first-of-type tr:last-child > * { border-bottom: 0; }
.vergleich-tabelle tbody:last-child tr:last-child > :first-child, .vergleich--kompakt .vergleich-tabelle tbody:first-of-type tr:last-child > :first-child { border-bottom-left-radius: 15px; }
.vergleich-tabelle tbody:last-child tr:last-child > :last-child, .vergleich--kompakt .vergleich-tabelle tbody:first-of-type tr:last-child > :last-child { border-bottom-right-radius: 15px; }
.vergleich--kompakt .vgl-mehr { display: none; }
.vergleich-tabelle .vgl-kurz > * { background: var(--accent-hauch); }
.vergleich-tabelle .vgl-kurz th { font-weight: 600; }
.vergleich-aktion { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 16px; text-align: center; }
.sprung--weiter { display: inline-flex; align-items: center; min-height: 44px; }
.vgl-zu-text, [data-vergleich-auf][aria-expanded="true"] .vgl-auf-text { display: none; }
[data-vergleich-auf][aria-expanded="true"] .vgl-zu-text { display: inline; }
.vergleich-tabelle tbody th[scope="row"] { text-align: start; font-weight: 400; }
.vergleich-tabelle td { text-align: center; color: var(--muted); }
.vergleich-tabelle td strong { color: var(--foreground); font-weight: 600; }
.vergleich-tabelle .vgl-gruppe th { padding-block: 28px 12px; text-align: start; background: var(--background); }
.vergleich-tabelle td .sym { width: 20px; height: 20px; color: var(--accent); }
.vgl-nein { color: var(--muted); }
.vergleich-tabelle .marke { margin-left: 6px; }
@media (hover: hover) {
  .vergleich-tabelle tbody tr:not(.vgl-gruppe):hover > * { background-color: rgb(246 247 249 / 60%); }
}
@media (max-width: 899px) {
  .vergleich-tabelle { font-size: .8125rem; }
  .vergleich-tabelle :is(th, td) { padding: 12px 8px; }
  .vergleich-tabelle thead th { padding: 10px 6px; }
  .vergleich-tabelle thead .vgl-ecke { width: 26%; padding-left: 12px; }
  .vergleich-tabelle th[scope="row"], .vergleich-tabelle .vgl-gruppe th { padding-left: 12px; }
  .vgl-preis { margin: 0; font-size: .6875rem; }
  form[action="/bestellen"] .vgl-wahl { width: 100%; min-height: 44px; margin-top: 6px; padding: 4px; }
}
/* Handy: kein eigener Scrollbereich (der stehende Kopf rutschte dort unter die Kopfzeile der Seite). Jede Zeile bricht um – die Leistung
   steht über den Werten, eine Spalte je Paket; der Kopf mit den Paketnamen steht unter der Kopfzeile, solange die Tabelle im Bild ist. */
.vergleich--n2 { --vgl-n: 2; } .vergleich--n3 { --vgl-n: 3; } .vergleich--n4 { --vgl-n: 4; } .vergleich--n5 { --vgl-n: 5; } .vergleich--n6 { --vgl-n: 6; }
@media (max-width: 639px) {
  .vergleich-tabelle, .vergleich-tabelle thead, .vergleich-tabelle tbody { display: block; }
  .vergleich-tabelle tr { display: grid; grid-template-columns: repeat(var(--vgl-n, 4), minmax(0, 1fr)); }
  .vergleich-tabelle thead { position: sticky; top: var(--kopf-klebt); z-index: 3; }
  .vergleich-tabelle thead tr { border-radius: 15px 15px 0 0; }
  .vergleich-tabelle thead th { position: static; padding: 10px 2px; }
  .vergleich-tabelle thead .vgl-name { font-size: .75rem; letter-spacing: -.01em; overflow-wrap: normal; hyphens: auto; }
  .vergleich-tabelle thead .vgl-preis { font-size: .625rem; }
  .vergleich-tabelle thead .vgl-ecke { display: none; }
  .vergleich-tabelle thead th:nth-child(2) { border-top-left-radius: 15px; }
  .vergleich-tabelle tbody tr > * { border-bottom: 0; }
  .vergleich-tabelle tbody tr { border-bottom: 1px solid var(--border); }
  .vergleich-tabelle tbody:last-child tr:last-child, .vergleich--kompakt .vergleich-tabelle tbody:first-of-type tr:last-child { border-bottom: 0; }
  .vergleich-tabelle tbody th[scope="row"], .vergleich-tabelle .vgl-gruppe th { grid-column: 1 / -1; }
  .vergleich-tabelle tbody th[scope="row"] { padding: 12px 12px 2px; font-weight: 600; }
  .vergleich-tabelle td { padding: 4px 2px 12px; font-size: .75rem; overflow-wrap: normal; hyphens: auto; }
  .vergleich-tabelle .vgl-gruppe th { padding: 22px 12px 8px; }
  .vergleich-tabelle .vgl-kurz { background: var(--accent-hauch); }
  .vergleich-tabelle .vgl-kurz > * { background: none; }
  .vgl-leise { font-size: .6875rem; }
  /* BREIT (Astra): Kopf nur Name + Wahl (der Preis folgt in der ersten Zeile), Werte dunkler und etwas größer, feine Spaltenlinien */
  .vergleich-tabelle thead .vgl-preis { display: none; }
  .vergleich-tabelle td { font-size: .8125rem; color: var(--foreground); }
  .vergleich-tabelle tbody td + td { border-inline-start: 1px solid var(--border); }
  .vgl-gruppe-hinweis { display: block; margin: 4px 0 0; }
}

/* Tools: die Tafel des gewählten Pakets ist keine eigene Karte mehr (BREIT) – Überschrift, Text, darunter ein Block je Tool */
.werkzeug-leer {
  display: none; padding: 24px; color: var(--muted); background: var(--background);
  border: 1px dashed var(--feldrand); border-radius: 16px;
}
.werkzeug-tafeln { margin-top: 56px; }
.werkzeug-tafel + .werkzeug-tafel { margin-top: 20px; }
.tafel-titel { margin-bottom: 12px; font-size: 1.5rem; line-height: 2rem; text-wrap: balance; }
@media (min-width: 640px) { .tafel-titel { font-size: 1.875rem; line-height: 2.25rem; } }
.tafel-titel::before { content: "Ihr Paket"; display: block; margin-bottom: 8px; }
.tafel-text { max-width: 46rem; margin-bottom: 24px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
@supports selector(:has(*)) {
  html:not(.mit-js) form:not(:has(.paket-radio:checked)) .werkzeug-leer { display: block; }
  html:not(.mit-js) .werkzeug-tafeln > .werkzeug-tafel:nth-child(-n + 8) { display: none; }
  html:not(.mit-js) form:has(.pakete > .paket:nth-child(1) .paket-radio:checked) .werkzeug-tafeln > .werkzeug-tafel:nth-child(1),
  html:not(.mit-js) form:has(.pakete > .paket:nth-child(2) .paket-radio:checked) .werkzeug-tafeln > .werkzeug-tafel:nth-child(2),
  html:not(.mit-js) form:has(.pakete > .paket:nth-child(3) .paket-radio:checked) .werkzeug-tafeln > .werkzeug-tafel:nth-child(3),
  html:not(.mit-js) form:has(.pakete > .paket:nth-child(4) .paket-radio:checked) .werkzeug-tafeln > .werkzeug-tafel:nth-child(4),
  html:not(.mit-js) form:has(.pakete > .paket:nth-child(5) .paket-radio:checked) .werkzeug-tafeln > .werkzeug-tafel:nth-child(5),
  html:not(.mit-js) form:has(.pakete > .paket:nth-child(6) .paket-radio:checked) .werkzeug-tafeln > .werkzeug-tafel:nth-child(6),
  html:not(.mit-js) form:has(.pakete > .paket:nth-child(7) .paket-radio:checked) .werkzeug-tafeln > .werkzeug-tafel:nth-child(7),
  html:not(.mit-js) form:has(.pakete > .paket:nth-child(8) .paket-radio:checked) .werkzeug-tafeln > .werkzeug-tafel:nth-child(8) { display: block; }
}
.mit-js .werkzeug-leer:not([hidden]) { display: block; }
.mit-js .werkzeug-tafeln > .werkzeug-tafel { display: none; margin: 0; }
.mit-js .werkzeug-tafeln > .werkzeug-tafel.ist-aktiv { display: block; }
.auswahl legend {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px;
  width: 100%; margin-bottom: 8px; font-size: 1.0625rem; font-weight: 600;
}
.feld-titel, .feld > label { font-weight: 600; }
.legende-zusatz { color: var(--muted); font-weight: 400; }
.legende-zusatz::before { content: "– "; }
.zaehler { margin-left: auto; padding-left: 10px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.zaehler--voll { color: var(--accent); }
.zaehler--fehlt { color: var(--fehler); }
.themen { display: none; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.mit-js .themen { display: flex; }
.themen-titel { margin-right: 4px; color: var(--muted); font-size: .875rem; }
.thema { min-height: 40px; padding: 8px 18px; color: var(--foreground); background: var(--background); border-color: var(--border); }
.thema:hover:not(:disabled) { color: var(--accent); border-color: var(--accent); }
.thema[aria-pressed="true"] { color: var(--accent-dark); background: var(--accent-soft); border-color: var(--accent); }
.thema:disabled { color: var(--muted); background: var(--surface); }

/* Tool-Blöcke (BREIT): einer je Zeile über die ganze Breite. Schmal: Film, Kopf, Ablauf, Inhalt untereinander (Reihenfolge im Markup).
   Breit (Raster ab 820 px): links Film und darunter das Ablauf-Schema, rechts Kopf und Inhalt – jeder zweite Block spiegelverkehrt. */
.kacheln { container: kacheln / inline-size; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 640px) { .kacheln { gap: 32px; } }
.tool-kachel {
  position: relative; isolation: isolate; display: grid; min-width: 0; overflow: hidden;
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "film" "ablauf" "inhalt";
  background: var(--background); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--schatten-karte);
}
.tool-kachel > .film { grid-area: film; margin: 18px 16px 0; border-radius: 14px; }
.tool-kachel > .film--vorschau { border: 1px solid var(--border); }
.tool-kopf { grid-area: kopf; min-width: 0; padding: 22px 20px 0; }
.tool-kachel > .ablauf { grid-area: ablauf; }
.tool-kachel > .tool-inhalt { grid-area: inhalt; }
@container kacheln (min-width: 820px) {
  .tool-kachel {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr;
    grid-template-areas: "film kopf" "film inhalt" "ablauf inhalt"; align-items: start;
  }
  .tool-kachel:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "kopf film" "inhalt film" "inhalt ablauf"; }
  .tool-kachel > .film { margin: 20px 0 0 20px; border-radius: 16px; }
  .tool-kachel:nth-child(even) > .film { margin: 20px 20px 0 0; }
  .tool-kachel > .film--vorschau { border: 1px solid var(--border); }
  .tool-kachel > .ablauf { margin: 0 0 20px 20px; padding: 20px 4px 4px; }
  .tool-kachel:nth-child(even) > .ablauf { margin: 0 20px 20px 0; }
  .tool-kopf { padding: 32px 36px 0; }
  .tool-kachel > .tool-inhalt { padding: 0 36px 32px; }
}
.tool-kachel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: var(--schatten-hover); opacity: 0;
}
.tool-kachel:has(input:checked), .tool-kachel.ist-gebucht { border-color: var(--accent); box-shadow: var(--ring), var(--schatten-gewaehlt); }
.tool-kachel--fest { border-color: #dbeafe; }
.tool-gebucht {
  position: static; z-index: 3; display: none; align-items: center; gap: 6px; width: fit-content; margin-top: 10px; padding: 6px 12px;
  color: #fff; background: var(--accent); border-radius: 9999px; box-shadow: var(--schatten-hover);
  font-size: .75rem; line-height: 1rem; font-weight: 600;
}
.tool-gebucht .sym { width: 14px; height: 14px; }
.tool-kachel:has(input:checked) .tool-gebucht, .tool-kachel.ist-gebucht .tool-gebucht { display: inline-flex; }
/* breit: das Zeichen „Ausgewählt“ steht über dem Film, nicht über dem Namen */
@container kacheln (min-width: 820px) {
  .tool-kachel .tool-gebucht { position: absolute; margin: 0; top: 32px; right: auto; left: 32px; }
  .tool-kachel:nth-child(even) .tool-gebucht { left: auto; right: 32px; }
}

/* Ablauf-Schema: drei Stationen (Sie geben vor → Ihr Agent → Sie bekommen). Schmal untereinander mit senkrechter Linie,
   ab 520 px Breite des Schemas nebeneinander mit Pfeil. Die Agent-Station ist blau hinterlegt. */
.ablauf { container: ablauf / inline-size; min-width: 0; padding: 20px 20px 0; }
.ablauf-titel { margin-bottom: 14px; color: var(--muted); font-size: .6875rem; line-height: 1rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ablauf-liste { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ablauf-station {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start;
  padding-bottom: 18px; font-size: .875rem; line-height: 1.45;
}
.ablauf-station:last-child { padding-bottom: 0; }
.ablauf-station:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--accent), #bfdbfe);
}
.ablauf-symbol {
  grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--accent-dark); background: var(--background); border: 1px solid #bfdbfe; border-radius: 14px;
}
.ablauf-icon { width: 22px; height: 22px; }
.ablauf-station--agent .ablauf-symbol { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 6px 16px rgb(37 99 235 / 28%); }
.ablauf-art { color: var(--accent-dark); font-size: .6875rem; line-height: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.ablauf-text { color: var(--foreground); }
@container ablauf (min-width: 520px) {
  .ablauf-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ablauf-station {
    grid-template-columns: minmax(0, 1fr); row-gap: 6px; justify-items: start; align-content: start; padding: 16px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  }
  .ablauf-station:last-child { padding-bottom: 16px; }
  .ablauf-station--agent { background: var(--accent-soft); border-color: #bfdbfe; }
  .ablauf-symbol { grid-row: auto; margin-bottom: 6px; }
  /* Pfeil zwischen den Stationen: kleiner Kreis mit Spitze auf der Fuge */
  .ablauf-station:not(:last-child)::after {
    left: auto; right: -15px; top: 30px; bottom: auto; z-index: 1; width: 18px; height: 18px;
    background: var(--background); border: 1px solid #bfdbfe; border-radius: 9999px;
  }
  .ablauf-station:not(:last-child)::before {
    content: ""; position: absolute; right: -8px; top: 36px; z-index: 2; width: 5px; height: 5px;
    border: solid var(--accent); border-width: 2px 2px 0 0; transform: rotate(45deg);
  }
}

/* Film: Poster im 16:9-Rahmen, eigener Start-Knopf (mit Skript), Bedienleiste des Browsers für Pause, Ton, Untertitel und Vollbild */
.film { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--foreground); }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--foreground); }
/* BREIT (Astra): der Start-Knopf liegt unten links – der Titel im Poster bleibt lesbar */
.film-start {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 10px;
  width: 100%; padding: 14px; color: #fff; background: linear-gradient(to top, rgb(17 24 39 / 50%), rgb(17 24 39 / 0%) 45%);
  border: 0; border-radius: 0; font: inherit;
}
.film-start-rund {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; color: var(--accent);
  background: var(--background); border-radius: 9999px; box-shadow: 0 8px 24px rgb(17 24 39 / 30%);
}
.film-start-rund .sym { width: 20px; height: 20px; margin-left: 3px; }
.film-start-text {
  padding: 4px 12px; color: #fff; background: rgb(17 24 39 / 55%); border-radius: 9999px;
  font-size: .8125rem; line-height: 1.25rem; font-weight: 600;
}
.film-start:focus-visible { outline: 3px solid var(--background); outline-offset: -6px; }
.film--laeuft .film-start, .film--laeuft .film-zeile { display: none; }
.film-zeile {
  position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 10px; pointer-events: none;
  color: #fff; background: rgb(17 24 39 / 60%); border-radius: 9999px; font-size: .75rem; line-height: 1rem; font-weight: 500;
}
.mit-js .film-zeile { display: none; }
.film--vorschau {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 24px; text-align: center;
  color: var(--accent); background: radial-gradient(120% 90% at 20% 10%, var(--accent-soft), var(--surface) 70%);
  border-bottom: 1px solid var(--border);
}
.vorschau-motiv { width: 64px; height: 64px; flex: none; }
.vorschau-satz { max-width: 22rem; color: var(--foreground); font-size: 1.0625rem; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.marke--folgt { color: var(--accent-dark); background: var(--background); border: 1px solid var(--border); }

/* Kopf und Inhalt des Blocks: Name, Preis/Status, Nutzen | „Das bekommen Sie“, was nicht dazugehört, Duo-Hinweis, Schalter */
.tool-inhalt { display: flex; flex-direction: column; min-width: 0; padding: 4px 20px 24px; }
.tool-vorzeile { margin-bottom: 8px; color: var(--accent); font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.tool-titel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 1.375rem; line-height: 1.8rem; text-wrap: balance; }
@media (min-width: 640px) { .tool-titel { font-size: 1.625rem; line-height: 2.1rem; } }
.tool-titel .marke { letter-spacing: .025em; }
.tool-preis-zeile { margin-top: 6px; color: var(--muted); font-size: .9375rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.tool-preis-zeile strong { color: var(--foreground); font-weight: 600; }
/* Preis-Satz nach Zustand (Astra): frei → „Im Paket gewählt · kein Aufpreis“ bzw. „Dazugebucht · + … pro Monat“ */
.preis-w, .preis-z { display: none; }
.preis-w strong, .preis-z strong { color: var(--accent-dark); }
.tool-kachel:has(.schalter--w input:checked) .preis-frei, .tool-kachel:has(.schalter--z input:checked) .preis-frei { display: none; }
.tool-kachel:has(.schalter--w input:checked) .preis-w, .tool-kachel:has(.schalter--z input:checked) .preis-z { display: inline; }
.tool-kachel:has(.schalter--w input:checked) .tool-duo { display: none; }
.preis-voll { display: none; }
.preis-voll strong { color: var(--foreground); }
.tool-kachel:has(.schalter--w input:disabled:not(:checked)):not(:has(.schalter--z input:checked)) .preis-frei { display: none; }
.tool-kachel:has(.schalter--w input:disabled:not(:checked)):not(:has(.schalter--z input:checked)) .preis-voll { display: inline; }
.tool-voll { display: none; flex-basis: 100%; margin: 2px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.tool-kachel:has(.schalter--w input:disabled:not(:checked)):not(:has(.schalter--z input:checked)) .tool-voll { display: block; }
.tool-status { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-dark); font-weight: 600; }
.tool-status .sym { color: var(--accent); }
.tool-nutzen { max-width: 36rem; margin-top: 12px; font-size: 1.0625rem; line-height: 1.6; }
.tool-liste-titel { margin-top: 20px; color: var(--muted); font-size: .6875rem; line-height: 1rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tool-punkte { margin-top: 10px; padding: 0; list-style: none; font-size: .9375rem; line-height: 1.45; }
.tool-punkte li { position: relative; padding-left: 26px; }
.tool-punkte li + li { margin-top: 8px; }
.tool-punkte li::before {
  content: ""; position: absolute; left: 5px; top: .2em; width: 5px; height: 10px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.tool-nicht { margin-top: 14px; padding-left: 26px; position: relative; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.tool-nicht::before { content: "–"; position: absolute; left: 6px; font-weight: 600; }
.tool-duo { margin-top: 16px; padding: 10px 12px; background: var(--accent-hauch); border: 1px solid var(--accent-soft); border-radius: 12px; font-size: .8125rem; line-height: 1.5; }
.marke--duo { margin-right: 4px; color: #fff; background: var(--accent); }
.tool-schalter { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.tool-kachel--grund .tool-inhalt, .tool-kachel--fest .tool-inhalt, .tool-kachel--bald .tool-inhalt { padding-bottom: 28px; }

/* Zusammen günstiger (BREIT): Duo-Rabatte und Themen-Vorschläge als ruhige Karten; Ein-Klick-Knopf nur mit Skript */
.buendel { margin-top: 8px; padding: 24px; background: linear-gradient(160deg, var(--accent-soft), var(--background) 60%); border: 1px solid #dbeafe; border-radius: 24px; }
@media (min-width: 640px) { .buendel { padding: 32px; } }
.buendel-kopf h3 { font-size: 1.5rem; line-height: 2rem; text-wrap: balance; }
.buendel-kopf h3::before { content: "Bundles"; display: block; margin-bottom: 8px; color: var(--accent); font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.buendel-text { max-width: 44rem; margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.buendel-gruppe { margin-top: 28px; }
.buendel-gruppe-titel { font-size: 1.0625rem; line-height: 1.5rem; text-wrap: balance; }
.buendel-gruppe-text { margin-top: 2px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.buendel-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 14px; }
@media (min-width: 768px) { .buendel-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.buendel-karte {
  display: flex; flex-direction: column; min-width: 0; padding: 20px;
  background: var(--background); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--schatten-karte);
}
.buendel-art { color: var(--accent-dark); font-size: .6875rem; line-height: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.buendel-name { margin: 6px 0 0; font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -.025em; }
.buendel-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.buendel-tools li {
  padding: 5px 10px; color: var(--foreground); background: var(--surface); border: 1px solid var(--border); border-radius: 9999px;
  font-size: .8125rem; line-height: 1.25rem; font-weight: 500;
}
.buendel-tools li + li::before { content: "+"; margin: 0 8px 0 -2px; color: var(--accent); font-weight: 700; }
.buendel-tools li + li { display: inline-flex; align-items: center; }
.buendel-preis { margin-top: 16px; color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.buendel-preis strong { color: var(--foreground); font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -.02em; }
.buendel-preis s { white-space: nowrap; }
.buendel-spar {
  align-self: flex-start; margin-top: 8px; padding: 3px 10px; color: #065f46; background: #ecfdf5; border-radius: 9999px;
  font-size: .8125rem; line-height: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.buendel-spar--beispiel { color: var(--accent-dark); background: var(--accent-soft); }
.thema-an { display: none; align-items: center; gap: 6px; }
.thema[aria-pressed="true"] .thema-aus { display: none; }
.thema[aria-pressed="true"] .thema-an { display: inline-flex; }
.thema--buendel[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.buendel-karte:has(.thema[aria-pressed="true"]) { border-color: var(--accent); box-shadow: var(--ring), var(--schatten-gewaehlt); }
.buendel-fuss { margin-top: 8px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.buendel-karte .thema--buendel { align-self: stretch; margin-top: auto; }
.buendel-karte .buendel-fuss + .thema--buendel, .buendel-karte .buendel-spar + .thema--buendel { margin-top: 16px; }
.buendel-karte--thema .buendel-fuss { margin-bottom: 16px; }
.mit-js .buendel-ohne-skript { display: none; }
.buendel-weiter { display: none; align-self: center; margin-top: 12px; min-height: 44px; align-items: center; }
.buendel-karte:has(.thema[aria-pressed="true"]) .buendel-weiter { display: inline-flex; }
.buendel-ohne-skript { margin-top: auto; padding-top: 12px; color: var(--muted); font-size: .8125rem; }
html:not(.mit-js) .thema--buendel { display: none; }
.grund { margin-top: 56px; }
.grund-titel { margin-bottom: 16px; font-size: 1.5rem; line-height: 2rem; }

/* Schalter: echtes Häkchen (unsichtbar, fokussierbar), das Label ist der Knopf; gesetzt = blau mit Haken */
.schalter { position: relative; flex: 1 1 200px; min-width: 0; }
.schalter input { position: absolute; inset: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.schalter label {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; min-height: 44px; padding: 10px 18px;
  color: var(--accent-dark); background: var(--background); border: 1px solid var(--accent); border-radius: 9999px;
  font-size: .875rem; line-height: 1.25rem; font-weight: 600; text-align: center;
}
.schalter--z label { color: var(--foreground); border-color: var(--border); }
.schalter label:hover { background: var(--accent-hauch); border-color: var(--accent); }
.schalter-aus, .schalter-an { display: inline-flex; align-items: center; gap: 6px; }
.schalter-an { display: none; }
.schalter input:checked + label { color: #fff; background: var(--accent); border-color: var(--accent); }
.schalter input:checked + label .schalter-aus { display: none; }
.schalter input:checked + label .schalter-an { display: inline-flex; }
.schalter input:checked + label .tool-preis { color: #fff; }
.schalter input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.schalter input:disabled + label { color: var(--muted); background: var(--surface); border-color: var(--border); cursor: not-allowed; }
.tool-preis { color: var(--muted); font-size: .875rem; font-weight: 600; white-space: nowrap; }
/* gewählt im Paket → die Zubuchung desselben Tools tritt zurück; ohne Skript auch umgekehrt (Astra: sonst blieben beide Häkchen stehen) */
.tool-kachel:has(.schalter--w input:checked) .schalter--z { display: none; }
html:not(.mit-js) .tool-kachel:has(.schalter--z input:checked) .schalter--w { display: none; }

/* Plätze und Laufzeit, Angaben – Karten (.card), Felder wie im Rechner der Preisseite */
.umfang-raster, .formular, .wahl-kacheln, .summen-kacheln { display: grid; gap: 20px; }
.karte-flach { min-width: 0; padding: 24px; }
@media (min-width: 640px) { .karte-flach { padding: 28px; } }
.feld, .kachel { min-width: 0; }
.feld-titel, .feld > label { display: block; margin-bottom: 8px; font-size: .9375rem; }
.feld--plaetze > label, .laufzeit .feld-titel { font-size: 1rem; margin-bottom: 12px; }
.laufzeit .feld-titel { float: left; width: 100%; }
.laufzeit .segment { clear: both; }
input:is([type="text"], [type="email"], [type="number"]) {
  width: 100%; min-width: 0; min-height: 44px; padding: 10px 14px;
  background: var(--background); border: 1px solid var(--feldrand); border-radius: 12px;
}
input:is([type="text"], [type="email"], [type="number"]):focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(37 99 235 / 20%);
}
input[aria-invalid="true"] { border-color: var(--fehler); box-shadow: 0 0 0 1px var(--fehler); }
.stepper { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; }
.stepper #plaetze { width: 5rem; text-align: center; font-size: 1.125rem; font-weight: 600; }
.stepper-knopf {
  display: none; width: 44px; height: 44px; padding: 0;
  color: var(--foreground); background: var(--background); border-color: var(--border); font-size: 1.125rem;
}
.stepper-knopf:hover:not(:disabled) { color: var(--accent); border-color: var(--accent); }
.stepper-knopf:disabled { opacity: .4; }
.mit-js .stepper-knopf { display: inline-flex; }
.mit-js #plaetze { appearance: textfield; }
.mit-js #plaetze::-webkit-inner-spin-button, .mit-js #plaetze::-webkit-outer-spin-button { appearance: none; margin: 0; }
.segment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.segment label {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 2px;
  min-height: 44px; padding: 13px 14px 13px 40px;
  background: var(--background); border: 1px solid var(--border); border-radius: 12px;
  font-weight: 600; line-height: 1.3;
}
.segment label::before {
  content: ""; position: absolute; left: 14px; top: 15px; width: 16px; height: 16px;
  border: 1px solid var(--feldrand); border-radius: 9999px; background: var(--background);
}
.segment label:hover { border-color: var(--accent); }
.segment input:checked + label { background: var(--accent-hauch); border-color: var(--accent); }
.segment input:checked + label::before { border: 5px solid var(--accent); }
.segment input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.segment-marke { color: var(--muted); font-size: .8125rem; font-weight: 400; }
.feld-hilfe, .absenden-hinweis { margin-top: 12px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.umfang-einrichtung { margin-top: 20px; }
@media (min-width: 768px) {
  .umfang-raster, .formular { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formular .feld:has(input[type="email"]) { grid-column: 1 / -1; }
}
.zahlweg { margin-top: 32px; }
.zahlweg > .feld-titel { font-size: 1rem; margin-bottom: 12px; }
.wahl-kacheln { gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.summen-kacheln { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.wahl--kachel {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 16px;
  background: var(--background); border: 1px solid var(--border); border-radius: 12px;
}
.wahl input { width: 16px; height: 16px; margin: 0; flex: none; }
.wahl--kachel:hover { border-color: var(--accent); }
.wahl--kachel:has(input:checked) { background: var(--accent-hauch); border-color: var(--accent); }
.wahl--kachel:has(input:disabled) { color: var(--muted); }
.wahl-titel, .wahl-unter { display: block; }
.wahl-titel { font-weight: 600; }
.wahl-unter { color: var(--muted); font-size: .875rem; }
.feld--code, .haken { margin-top: 20px; }
.haken { display: flex; gap: 12px; align-items: flex-start; }
.haken input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; }
.haken label { min-height: 44px; font-size: .9375rem; line-height: 1.5; }
.haken a { font-weight: 500; text-decoration: underline; text-decoration-color: rgb(37 99 235 / 30%); text-underline-offset: 4px; }
.haken a:hover { text-decoration-color: var(--accent); }
.absenden { display: flex; flex-direction: column; align-items: center; margin-top: 40px; text-align: center; }
.knopf--senden { min-width: 280px; min-height: 52px; padding: 14px 32px; font-size: .9375rem; }
@media (max-width: 559px) { .knopf--senden { width: 100%; min-width: 0; } }

/* Summenleiste wie im Rechner der Preisseite: steht unten, weiß, rounded-2xl, kräftiger weicher Schatten */
.summe {
  position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 20;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: center;
  gap: 6px 20px; margin-top: 40px; padding: 16px 24px;
  background: rgb(255 255 255 / 95%); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--schatten-summe);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.summe-text, .summe-preis { min-width: 0; }
.summe-paket, .summe-teile, .summe-weitere { display: block; }
.summe-paket { font-size: .875rem; font-weight: 600; }
.summe-teile, .summe-weitere { color: var(--muted); font-size: .8125rem; }
.summe-teile { margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summe-preis { text-align: right; }
.summe-zeile { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 0 8px; }
.summe-preis strong { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.summe-weitere { margin-top: 2px; }
@media (max-width: 559px) {
  .summe { gap: 2px 10px; padding: 12px 16px; bottom: max(8px, env(safe-area-inset-bottom)); }
  .summe-text, .summe-preis { display: contents; }
  .summe-paket { grid-area: 1 / 1; }
  .summe-zeile { grid-area: 1 / 2 / span 2; flex-direction: column; align-items: flex-end; }
  .summe-zeile strong { font-size: 1.5rem; line-height: 2rem; }
  .summe-zeile .preis-zusatz { font-size: .6875rem; }
  .summe-teile { grid-area: 2 / 1; margin: 0; font-size: .75rem; }
  .summe-weitere { grid-column: 1 / -1; margin: 0; font-size: .75rem; text-align: left; }
  .summe:has(.summe-weitere:not([hidden]):not(:empty)) .summe-teile { display: none; }
  .summe:has(.summe-weitere:not([hidden]):not(:empty)) .summe-zeile { grid-row: 1; }
}
@media (max-height: 480px) {
  .kopf, .summe { position: static; }
  :root { --kopf-klebt: 0px; }
  html { scroll-padding: 20px 0; }
}

/* Meldungen wie der „Kurz gesagt“-Kasten der Website (weiß, Rand links); Fehler in Rot, Nachweis in Blau */
.meldung, .hinweis-kasten, .nachweis-stand {
  margin-top: 24px; padding: 16px 20px; border: 1px solid var(--border); border-left-width: 4px; border-radius: 16px;
  box-shadow: var(--schatten-karte);
}
.hinweis-kasten { color: var(--foreground); background: var(--background); border-left-color: var(--accent); line-height: 1.625; }
.meldung { color: var(--fehler-text); background: var(--fehlergrund); border-color: var(--fehlerrand); border-left-color: var(--fehler); }
.meldung p { font-weight: 600; }
.meldung ul { padding-left: 20px; }
.meldung a { max-width: 100%; color: var(--fehler-text); text-decoration: underline; text-underline-offset: 4px; }
.feld-fehler { margin: 8px 0 0; color: var(--fehler); font-size: .875rem; font-weight: 500; }
.nachweis-stand { color: var(--accent-dark); background: var(--accent-soft); border-color: var(--accent-soft); border-left-color: var(--accent); }
.held .hinweis-kasten { max-width: 42rem; }

/* Bestätigung und Hinweisseiten */
.ergebnis-kopf { padding: 56px 0 32px; text-align: center; }
.ergebnis-kopf h1 { font-size: 2.25rem; line-height: 2.5rem; text-wrap: balance; }
@media (min-width: 640px) { .ergebnis-kopf h1 { font-size: 3rem; line-height: 1.08; } }
.ergebnis-kopf .einleitung { margin-inline: auto; }
.ergebnis-symbol { width: 56px; height: 56px; margin: 0 auto 20px; }
.ergebnis-symbol svg { display: block; width: 100%; height: 100%; }
.ergebnis-symbol--erfolg { color: var(--ok); }
.ergebnis-symbol--hinweis { color: var(--accent); }
.ergebnis-aktion { margin-top: 8px; }
.ergebnis-aktion, .code-karte { text-align: center; }
.seite--schmal > .karte-flach, .summen-kacheln { margin-top: 20px; }
.seite--schmal .karte-flach h2 { margin-bottom: 16px; font-size: 1.125rem; line-height: 1.75rem; }
.seite--schmal .karte-flach p + p { margin-top: 12px; }
.weiter p, .code-titel, .code-hilfe { color: var(--muted); }
.code {
  display: inline-block; max-width: 100%; margin: 12px 0; padding: 10px 20px;
  color: var(--accent-dark); background: var(--accent-soft); border-radius: 12px; user-select: all;
  font: 600 clamp(1.4rem, 5vw, 2rem)/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em;
}
.code-hilfe { max-width: 46ch; margin-inline: auto; font-size: .875rem; }
.kachel { display: grid; align-content: center; gap: 4px; padding: 20px 24px; }
.kachel-titel { color: var(--muted); font-size: .875rem; }
.kachel-fuss { color: var(--muted); font-size: .75rem; }
.kachel-wert { font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -.025em; }
.summen-kacheln > .kachel:last-child { border-color: var(--accent); box-shadow: var(--ring), var(--schatten-gewaehlt); }
.summen-kacheln > .kachel:last-child .kachel-titel { color: var(--accent-dark); font-weight: 600; }
.summen-kacheln > .kachel:last-child .kachel-wert { font-size: 1.875rem; line-height: 2.25rem; }
@media (max-width: 600px) { .summen-kacheln > .kachel:last-child { grid-column: 1 / -1; } }
.angaben { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); font-size: .9375rem; }
.angaben dt, .angaben dd { padding: 12px 0; border-top: 1px solid var(--border); }
.angaben dt { padding-right: 16px; color: var(--muted); }
@media (max-width: 520px) {
  .angaben { grid-template-columns: minmax(0, 1fr); }
  .angaben dt { padding-bottom: 0; font-size: .8125rem; }
  .angaben dd { padding-top: 2px; border: 0; }
}

/* Einblenden wie .reveal der Website (24 px von unten, 0,6 s), Karten gestaffelt; Tastaturfokus bleibt sofort sichtbar */
@media (prefers-reduced-motion: no-preference) {
  .paket::before, .tool-kachel::before { transition: opacity .3s ease; }
  .ablauf-symbol { transition: transform .3s ease; }
  .film-start-rund { transition: transform .2s ease; }
  .film-start:hover .film-start-rund { transform: scale(1.06); }
  .wahl-gewaehlt { transition: opacity .2s ease; }
  .mit-js .einblenden { opacity: 0; transform: translateY(24px); }
  .mit-js .einblenden:is(.ist-sichtbar, :focus-within, :target) { opacity: 1; transform: none; }
  .mit-js .einblenden.ist-sichtbar { animation: eintreten .6s ease both; }
  .mit-js .pakete > .paket:nth-child(2) { --versatz: 90ms; }
  .mit-js .pakete > .paket:nth-child(3) { --versatz: 180ms; }
  .mit-js .pakete > .paket:nth-child(4) { --versatz: 270ms; }
  .mit-js .paket.einblenden.ist-sichtbar,
  .mit-js .pakete.einblenden.ist-sichtbar > .paket,
  .mit-js .einblenden.ist-sichtbar .pakete > .paket {
    animation: eintreten .6s ease var(--versatz, 0ms) backwards;
  }
  .mit-js .werkzeug-tafel.ist-aktiv { animation: eintreten-kurz .3s ease; }
  /* BREIT: die Stationen des Ablaufs erscheinen nacheinander, wenn die Tools eines Pakets aufgehen */
  .mit-js .werkzeug-tafel.ist-aktiv .ablauf-station { animation: eintreten-kurz .45s ease backwards; }
  .mit-js .werkzeug-tafel.ist-aktiv .ablauf-station:nth-child(2) { animation-delay: .15s; }
  .mit-js .werkzeug-tafel.ist-aktiv .ablauf-station:nth-child(3) { animation-delay: .3s; }
  .mit-js .einblenden:focus-within, .mit-js .pakete > .paket:focus-within {
    animation: none !important; transition: none; opacity: 1; transform: none;
  }
  @keyframes eintreten {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes eintreten-kurz {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
  @media (hover: hover) and (pointer: fine) {
    .paket:hover:not(.paket--gewaehlt):not(:has(:checked))::before { opacity: 1; }
    .tool-kachel:hover::before { opacity: 1; }
    .tool-kachel:hover .ablauf-station--agent .ablauf-symbol { transform: scale(1.06); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .paket:has(:checked), .segment input:checked + label { border: 2px solid Highlight; }
  .wahl-gewaehlt, .summe { background: Canvas; color: CanvasText; }
  .marke { border: 1px solid GrayText; }
  .wahl input { forced-color-adjust: auto; }
  .schalter input:checked + label, .tool-kachel:has(input:checked) { border: 2px solid Highlight; }
  .film-start-rund, .film-start-text, .tool-gebucht { border: 1px solid CanvasText; }
  .ablauf-station--agent .ablauf-symbol, .buendel-spar { border: 1px solid CanvasText; }
  .held { background: Canvas; }
}
@media print {
  .kopf, .schritte, .summe, .film-start, .vergleich-aktion, form[action="/bestellen"] .vgl-wahl { display: none; }
  .vergleich--kompakt .vgl-mehr { display: table-row-group; }
  .seite, .held { background: none; }
  .mit-js .einblenden, .mit-js .pakete > .paket { opacity: 1; transform: none; animation: none !important; }
  .vergleich-tabelle thead th, .vergleich-tabelle th[scope="row"] { position: static; }
  .vergleich-tabelle tr, .karte-flach, .kachel, .tool-kachel, .buendel-karte { break-inside: avoid; }
  .thema--buendel { display: none; }
}
