/* Funnel /rechner. Tokens, Schriften, Header, Footer, .tile und .btn kommen aus styles.css; hier nur die Funnel-Teile. */
:root {
  --fehler: #b42318;
  --feld-rand: #80878b;       /* #7d8698, 3,6:1 auf Weiß */
  --feld-rand-hover: #a0a7ab; /* #9aa3b5 */
  --board-shadow: 0 14px 40px rgb(var(--navy-rgb) / 0.1);
}
/* SVG-Data-URIs (Zahn, Haken) tragen --navy fest als %23333333; var() greift dort nicht. */

.funnel-seite { padding-bottom: 0; background: var(--lav-soft); }
.funnel-seite [hidden] { display: none !important; } /* eigene display-Regeln (.schritt, .feld, .zurueck) schlagen sonst hidden */
.funnel-seite .header-cta { display: none; } /* zeigt auf diese Seite */

.funnel-main { padding: 40px 16px 64px; }
.funnel-noscript { max-width: 760px; margin: 0 auto 16px; font-size: 17px; }
.funnel {
  max-width: 760px; margin: 0 auto; padding: 24px 48px 44px;
  border-radius: 20px; background: #fff; box-shadow: var(--board-shadow);
}

/* Kopf: Zurück, Schrittzahl, Balken */
.funnel-kopf { margin-bottom: 28px; }
.kopf-zeile { display: flex; align-items: center; min-height: 48px; }
.zurueck {
  display: inline-flex; align-items: center; gap: 2px;
  min-height: 48px; margin-left: -10px; padding: 0 14px 0 6px;
  border: 0; border-radius: 12px; background: none; cursor: pointer;
  font-weight: 500; font-size: 16px;
  transition: background-color 0.15s var(--ease-out);
}
.zurueck:hover { background: var(--lav-pale); }
.zurueck svg { width: 22px; height: 22px; }
.schritt-nr { margin: 0 0 0 auto; font-size: 14px; color: var(--hint); font-variant-numeric: tabular-nums; }
.balken { height: 6px; margin-top: 6px; border-radius: 999px; background: var(--lav-pale); overflow: hidden; }
.balken span {
  display: block; width: var(--fortschritt, 10%); height: 100%;
  border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--sky-dark)); /* wie die Balken der LP */
}
.tarif-zeile { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: var(--navy-80); font-variant-numeric: tabular-nums; }

/* Schritt */
.schritt { display: grid; gap: 22px; }
.schritt .kopf { display: grid; gap: 10px; }
.schritt h1 {
  margin: 0; font-weight: 600; font-size: clamp(23px, 1.1vw + 17px, 32px);
  line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance;
}
.schritt h1:focus-visible { outline: none; } /* Fokus nur zur Orientierung, kein Bedienelement */
.schritt h2 { margin: 0; font-weight: 600; font-size: 19px; line-height: 1.3; text-align: left; } /* styles.css zentriert section h2 */
.lead { margin: 0; max-width: 62ch; font-size: 17px; line-height: 1.5; color: var(--navy-80); text-wrap: pretty; }
.hinweis { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hint); }
.hinweis a { font-weight: 500; }
.optional { font-weight: 300; color: var(--hint); }
.optional::before { content: "("; } .optional::after { content: ")"; }

/* Felder */
.felder { display: grid; gap: 18px; }
.felder.zwei { grid-template-columns: 1fr 1fr; }
.felder.strasse { grid-template-columns: minmax(0, 1fr) 7.5rem; }
.felder.ort { grid-template-columns: 7.5rem minmax(0, 1fr); }
.feld { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.feld > label, .feld > legend { padding: 0; font-weight: 500; font-size: 15px; }
.feld > legend { padding-bottom: 8px; } /* legend nimmt nicht am gap teil */
.funnel input:not([type="radio"], [type="checkbox"]), .funnel textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--feld-rand); border-radius: 12px; background: #fff;
  font: inherit; font-size: 17px; font-weight: 400; color: var(--navy); caret-color: var(--sky-ink);
  transition: border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}
.funnel textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.funnel input::placeholder, .funnel textarea::placeholder { color: var(--hint); opacity: 1; }
.funnel input:not([type="radio"], [type="checkbox"]):hover, .funnel textarea:hover { border-color: var(--navy-80); }
.funnel input:not([type="radio"], [type="checkbox"]):focus, .funnel textarea:focus {
  border-color: var(--navy); outline: 3px solid var(--sky); outline-offset: 1px; border-radius: 12px;
}
.funnel input[aria-invalid="true"]:not([type="radio"], [type="checkbox"]), .funnel textarea[aria-invalid="true"] {
  border-color: var(--fehler); box-shadow: inset 0 0 0 1px var(--fehler);
}
.iban { font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }
.fehler { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--fehler); overflow-wrap: anywhere; }
.fehler:not([hidden]) { display: flex; gap: 6px; }
.fehler::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm-.9 4h1.8l-.2 5.2H7.3zM8 12.6a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm-.9 4h1.8l-.2 5.2H7.3zM8 12.6a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Anrede als Pillen */
.pillen { display: flex; flex-wrap: wrap; gap: 8px; }
.pille { position: relative; cursor: pointer; }
.pille input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pille span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px;
  border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 16px;
  transition: border-color 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
}
.pille:hover span { border-color: var(--feld-rand-hover); }
.pille input:checked + span { border-color: var(--navy); background: var(--lav-pale); box-shadow: inset 0 0 0 1px var(--navy); }
.pille input:focus-visible + span { outline: 3px solid var(--sky-ink); outline-offset: 3px; }

/* Auswahlkarten: Tarife, Beginn, Behandlung, Zahnlücken */
.optionen { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.optionen.zwei-wahl { grid-template-columns: 1fr 1fr; }
.option {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  min-height: 60px; padding: 14px 18px;
  border: 1.5px solid var(--line); border-radius: 16px; background: #fff; color: var(--navy);
  font: inherit; text-align: left; cursor: pointer;
  transition: border-color 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
}
.option:hover { border-color: var(--feld-rand-hover); }
.option:has(input:checked), .option[aria-pressed="true"] {
  border-color: var(--navy); background: var(--lav-pale); box-shadow: inset 0 0 0 1px var(--navy);
}
.option input { width: 22px; height: 22px; margin: 0; accent-color: var(--navy); cursor: pointer; }
.option input:focus-visible { outline: none; }
.option:has(input:focus-visible) { outline: 3px solid var(--sky-ink); outline-offset: 3px; }
.option-text { display: grid; gap: 3px; }
.option-text strong { font-weight: 600; font-size: 17px; line-height: 1.3; }
.option-text > span { font-size: 14px; line-height: 1.4; color: var(--hint); }
.option-preis { display: grid; justify-items: end; text-align: right; }
.option-preis strong {
  font-family: "Parkinsans", "Lexend", sans-serif; font-weight: 700; font-size: 22px; line-height: 1.15;
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.option-preis span { font-size: 13px; color: var(--hint); }
.option.is-empfohlen { margin-top: 30px; border-color: var(--lav); border-top-left-radius: 0; border-top-right-radius: 0; }
.option.is-empfohlen:has(input:checked) { border-color: var(--navy); }
.option-band {
  position: absolute; left: -1.5px; right: -1.5px; bottom: 100%;
  padding: 5px 18px; border-radius: 16px 16px 0 0; background: var(--lav);
  font-weight: 600; font-size: 13px; line-height: 1.5;
}
.wahl { display: grid; gap: 10px; }
.wahl-knopf { grid-template-columns: minmax(0, 1fr) auto; width: 100%; }
.wahl-knopf .pfeil { width: 22px; height: 22px; color: var(--sky-ink); transition: transform 0.2s var(--ease-out); }
.wahl-knopf:hover .pfeil { transform: translateX(3px); }

/* Alterskacheln aus styles.css, im schmaleren Board vierspaltig */
.funnel .tiles { grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; }
.funnel .tile { height: 96px; border-radius: 16px; }
.funnel .tile .age { font-size: 30px; white-space: nowrap; }
.funnel .tile .unit { font-size: 15px; }
.funnel .tile[aria-pressed="true"] { background: var(--sky-soft); border-color: var(--sky-dark); }

/* Einwilligungen */
.einwilligungen { display: grid; min-width: 0; margin: 0; padding: 0; border: 0; }
.einwilligungen legend { padding: 0 0 6px; font-weight: 600; font-size: 17px; }
.haken {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 15px; line-height: 1.55; cursor: pointer;
}
.haken input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); cursor: pointer; }
.haken a { font-weight: 500; }
.einwilligungen .fehler { padding: 0 0 12px 36px; }

/* Hinweisboxen */
.notiz { margin: 0; padding: 14px 18px; border-radius: 14px; background: var(--lav-pale); font-size: 15px; line-height: 1.55; }
.notiz-wichtig { box-shadow: inset 0 0 0 1.5px var(--lav); }
.notiz:focus-visible { outline: 3px solid var(--sky-ink); outline-offset: 3px; }
/* Erklärung zur Vorversicherung: Barmenia-Wortlaut als Kasten */
.erklaerung { display: grid; gap: 8px; }
.erklaerung h2 { font-size: 16px; }
.erklaerung p, .erklaerung ul { margin: 0; }
.erklaerung ul { padding-left: 1.25em; }
/* Fokus im Funnel navy: Sky erreicht auf Weiß nur 2,4:1, Bedienelemente brauchen 3:1 (WCAG 1.4.11). */
.funnel button:focus-visible, .funnel a:focus-visible, .haken input:focus-visible { outline: 3px solid var(--sky-ink); outline-offset: 3px; }
.fehler-box { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; background: #fdeceb; color: #8a1c12; font-size: 15px; line-height: 1.55; }
.fehler-box a { font-weight: 600; white-space: nowrap; }
.status { margin: 12px 0 0; font-size: 14px; color: var(--hint); text-align: center; }
.status:empty { margin: 0; } /* bleibt im Baum, sonst liest der Screenreader die Live-Region oft nicht vor */

/* Hauptknopf */
.weiter { width: 100%; min-height: 56px; margin-top: 6px; padding: 0 24px; border-radius: 14px; font-size: 18px; }
.weiter[aria-disabled="true"] { cursor: progress; background: var(--sky-soft); }
.weiter[aria-disabled="true"]::before {
  content: ""; width: 18px; height: 18px; margin-right: 10px;
  border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%;
}

/* Zusammenfassung */
.preis-box { display: grid; gap: 2px; padding: 20px 22px; border-radius: 16px; background: var(--lav-pale); }
.preis-tarif { font-weight: 600; font-size: 16px; }
.preis-box strong {
  font-family: "Parkinsans", "Lexend", sans-serif; font-weight: 700; font-size: clamp(30px, 2vw + 22px, 40px);
  line-height: 1.15; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
#ue-preis-zusatz { font-size: 14px; color: var(--navy-80); }
.preis-box strong span { font-family: "Lexend", system-ui, sans-serif; font-weight: 400; font-size: 17px; letter-spacing: 0; }
.uebersicht { display: grid; }
.ue-gruppe { padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.ue-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ue-kopf h2 { font-size: 16px; }
.aendern {
  min-height: 48px; margin-right: -12px; padding: 0 12px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  font-weight: 500; font-size: 15px; color: var(--sky-ink); text-decoration: underline; text-underline-offset: 0.2em;
}
.aendern:hover { background: var(--lav-pale); }
.ue-gruppe dl { display: grid; gap: 4px; margin: 0; font-size: 15px; line-height: 1.5; }
.ue-gruppe dl > div { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 16px; }
.ue-gruppe dl > div:only-child { grid-template-columns: 1fr; }
.ue-gruppe dt { color: var(--hint); }
.ue-gruppe dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.rechtlich { margin: 0; font-size: 14px; line-height: 1.55; color: var(--hint); }

/* Ansprechpartner unter dem Board */
.funnel-team {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  max-width: 760px; margin: 24px auto 0; font-size: 15px; line-height: 1.5;
}
.funnel-team p { margin: 0; }
.funnel-team a { font-weight: 500; white-space: nowrap; }

/* Zweite Person und Anschrift im Antrag: eigene Gruppe mit Abstand und Linie */
.kind, .gruppe { display: grid; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .balken span { transition: width 0.6s var(--ease-out); }
  .schritt:not([hidden]) { animation: schritt-ein 0.4s var(--ease-out) both; }
  .weiter[aria-disabled="true"]::before { animation: dreh 0.8s linear infinite; }
}
@keyframes schritt-ein { from { opacity: 0.35; transform: translateY(10px); } }
@keyframes dreh { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .funnel-main { padding: 16px 16px 40px; }
  .funnel { padding: 12px 18px 28px; }
  .funnel-kopf { margin-bottom: 20px; }
  .schritt { gap: 20px; }
  .lead { font-size: 16px; }
  .felder.zwei { grid-template-columns: 1fr; }
  .felder.strasse { grid-template-columns: minmax(0, 1fr) 5.5rem; }
  .felder.ort { grid-template-columns: 6rem minmax(0, 1fr); }
  .option { gap: 12px; padding: 12px 14px; }
  .option-preis strong { font-size: 20px; }
  .funnel .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .funnel .tile { height: 72px; padding: 0; border-radius: 14px; }
  .funnel .tile .age { font-size: clamp(17px, 5.4vw, 21px); }
  .funnel .tile .unit { font-size: 13px; }
  .ue-gruppe dl > div { grid-template-columns: 1fr; gap: 0; }
  .ue-gruppe dl > div + div { margin-top: 6px; }
  .funnel-team { justify-content: flex-start; font-size: 14px; }
}

/* ---------- /rechner und /danke im vetprotect-Aufbau, Comp-1-Optik. Nur unter .rechner-seite: /beratung lädt diese Datei mit. ---------- */
.rechner-seite { --kopf-h: calc(min(100vw, 1800px) / 1920 * 0.72 * 108); } /* Höhe des gemeinsamen Kopfs aus kopf.css, mobil 64 px */
@media (max-width: 980px) { .rechner-seite { --kopf-h: 64px; } }
.ln { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Kopf: Gerüst und Maße aus kopf.css (wie Startseite), ohne Menü; hier nur die Linie und der Phasentitel.
   Linie als Schatten statt Rahmen, damit die Höhe gleich der Startseite bleibt. */
.funnel-seite .site-header.kopf-voll { box-shadow: inset 0 -1px 0 var(--line); }
.rechner-seite .site-header .phase + .header-phone { margin-left: auto; } /* Phasentitel steht zwischen Logo und Telefon */
.rechner-seite .site-header .phase { display: none; position: absolute; left: 50%; margin: 0; transform: translateX(-50%); font-weight: 600; font-size: 16px; white-space: nowrap; }

/* Board, Fortschritt mit Prozent, Phase mobil im Board */
.rechner-seite .funnel { position: relative; scroll-margin-top: calc(var(--kopf-h) + 16px); }
.rechner-seite .funnel-kopf { margin-bottom: 26px; }
.rechner-seite .balken { margin-top: 4px; }
.rechner-seite .kopf-zeile { min-height: 0; margin-top: 10px; font-size: 14px; line-height: 1.4; }
.rechner-seite .kopf-zeile .phase { margin: 0; font-weight: 600; }
.prozent { margin: 0 0 0 auto; color: var(--hint); white-space: nowrap; }
.prozent b { font-family: "Parkinsans", "Lexend", sans-serif; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.rechner-seite .tarif-zeile { width: fit-content; padding: 5px 12px; border-radius: 999px; background: var(--lav-pale); }
@media (min-width: 960px) {
  .rechner-seite .site-header .phase { display: block; }
  .rechner-seite .kopf-zeile .phase { display: none; }
}

.rechner-seite .schritt h1 { font-weight: 700; letter-spacing: -0.02em; }
.rechner-seite .funnel input:not([type="radio"], [type="checkbox"]) { min-height: 56px; }

/* Berater-Box ab Schritt 2 wie im vetprotect-Funnel: hellgrau unter den Antworten, Logo mit Online-Punkt links,
   Label in Akzentfarbe, Nachricht ruhig darunter, ohne Bewegung */
.berater {
  --a: 44px;
  position: relative; display: grid; gap: 4px; margin: 0; padding: 16px 20px 18px calc(var(--a) + 34px);
  border-radius: 20px; background: var(--vp-grau, var(--grey)); color: var(--body-ink);
  font-size: 15px; line-height: 1.55; text-wrap: pretty;
}
.berater::before {
  content: ""; position: absolute; top: 16px; left: 18px; width: var(--a); height: var(--a); border-radius: 50%;
  background: #fff url("assets/logo/zt24-avatar.svg") center / 66% no-repeat; box-shadow: 0 0 0 2px var(--sky);
}
.berater::after {
  content: ""; position: absolute; top: calc(16px + var(--a) - 12px); left: calc(18px + var(--a) - 12px); width: 14px; height: 14px;
  border: 2px solid var(--vp-grau, var(--grey)); border-radius: 50%; background: #2fbf71; /* online */
}
.berater > b:first-child { font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky-ink); }

/* Schritt 1: Blase 1:1 wie eine empfangene iMessage: #e9e9eb, Systemschrift 17/22 (mobil 16/21), Schwanz unten links,
   Profilbild 28 px bündig mit der Unterkante, Absender klein darüber. Absendergrau #6e6e73 statt #8e8e93, damit 4,5:1 reicht. */
.berater.chat {
  --a: 28px;
  isolation: isolate; justify-self: start;
  width: fit-content; max-width: min(75%, 30em);
  margin: 18px 0 0 calc(var(--a) + 10px); padding: 7px 12px;
  border-radius: 18px 18px 18px 6px; background: #e9e9eb; color: #000; /* Ecke unten links steckt im Schwanz */
  font: 400 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  letter-spacing: normal;
}
.berater.chat::before { top: auto; bottom: 0; left: calc(-1 * (var(--a) + 10px)); box-shadow: 0 0 0 1px var(--line); }
/* Schwanz: Spitze 7 px links der Blase, füllt die untere linke Ecke, liegt hinter dem Text und lässt die Tipp-Punkte frei */
.berater.chat::after {
  z-index: -1; top: auto; bottom: 0; left: -7px; width: 19px; height: 20px; border: 0; border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 20'%3E%3Cpath fill='%23e9e9eb' d='M7 0h12v20H0c3.5-.4 7-3.5 7-11z'/%3E%3C/svg%3E") no-repeat;
}
.berater.chat > b:first-child {
  position: absolute; bottom: 100%; left: 12px; margin-bottom: 2px; white-space: nowrap;
  font-weight: 400; font-size: 12px; line-height: 16px; letter-spacing: normal; text-transform: none; color: #6e6e73;
}
@media (max-width: 600px) { .berater.chat { font-size: 16px; line-height: 21px; } }
/* Tippen (js tippen()): kleine Blase mit drei pulsierenden Punkten, Text bleibt für Vorleser und Fokus im DOM, nur unsichtbar */
@property --p1 { syntax: "<color>"; inherits: false; initial-value: #8e8e93; }
@property --p2 { syntax: "<color>"; inherits: false; initial-value: #8e8e93; }
@property --p3 { syntax: "<color>"; inherits: false; initial-value: #8e8e93; }
.berater.chat.tippt {
  width: 58px; max-width: none; height: 36px; padding: 0; font-size: 0;
  background: radial-gradient(circle closest-side, var(--p1) 92%, #0000) 13px 14px / 8px 8px no-repeat,
    radial-gradient(circle closest-side, var(--p2) 92%, #0000) 25px 14px / 8px 8px no-repeat,
    radial-gradient(circle closest-side, var(--p3) 92%, #0000) 37px 14px / 8px 8px no-repeat, #e9e9eb;
}
.berater.chat.tippt > * { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); white-space: nowrap; }
/* Stummschalter für den Ton der Nachrichten; ohne Bewegung gibt es keinen Ton, also auch keinen Schalter */
.ton { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin: -8px -8px -8px 4px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--hint); cursor: pointer; }
.ton:hover { background: var(--vp-hell, var(--sky-wash)); color: var(--navy); }
.ton svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ton[hidden] { display: none; }
.ton[aria-pressed="true"] .ton-aus, .ton[aria-pressed="false"] .ton-an { display: none; }
@media (prefers-reduced-motion: reduce) { .ton { display: none; } }

/* Antworten: volle Breite, Icon, Titel, Unterzeile */
.rechner-seite .option { min-height: 64px; }
.rechner-seite .wahl-knopf { grid-template-columns: auto minmax(0, 1fr) auto; }
.ic {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--lav-pale); color: var(--sky-dark); transition: background-color 0.15s var(--ease-out), color 0.15s var(--ease-out);
}
.ic svg { width: 24px; height: 24px; }
.option:has(input:checked) .ic, .option[aria-pressed="true"] .ic { background: var(--sky); color: var(--navy); }
/* Ja/Nein und Beginn als Knöpfe: Radio bleibt bedienbar, liegt unsichtbar über der Karte */
.rechner-seite .optionen:not(.tarif-liste) .option input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.rechner-seite .zwei-wahl .option { min-height: 72px; }
.rechner-seite #beginn-optionen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rechner-seite #beginn-optionen .option { grid-template-columns: minmax(0, 1fr); justify-items: center; min-height: 92px; padding: 14px 10px; text-align: center; }
.rechner-seite #beginn-optionen .option-text { justify-items: center; gap: 2px; }
.option-text > .frueh { margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: var(--sky-soft); color: var(--navy); font-size: 12px; font-weight: 600; }

/* Angebot: gewählte Karte hebt sich ab, Zusammenfassung und Weiter darunter */
.rechner-seite .tarif-liste .option:has(input:checked) { box-shadow: inset 0 0 0 1px var(--navy), 0 10px 26px rgb(var(--navy-rgb) / 0.1); }
.angebot-leiste { display: grid; gap: 14px; }
.summe {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 16px;
  margin: 0; padding: 16px 20px; border-radius: 16px; background: var(--lav-pale);
}
.summe span { grid-column: 1 / -1; font-size: 14px; color: var(--navy-80); }
.summe strong { font-weight: 600; font-size: 17px; }
.summe b { font-family: "Parkinsans", "Lexend", sans-serif; font-weight: 700; font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summe b::after { content: " im Monat"; font-family: "Lexend", system-ui, sans-serif; font-weight: 400; font-size: 14px; }
.angebot-leiste .weiter { margin: 0; }

/* Hauptknopf mit Pfeil; Pfeil per CSS, weil sende() den Knopftext ersetzt */
.rechner-seite .weiter::after {
  content: ""; flex: none; width: 20px; height: 20px; margin-left: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s var(--ease-out);
}
.rechner-seite .weiter:hover::after { transform: translateX(3px); }
.rechner-seite .weiter[aria-disabled="true"]::after { display: none; }

/* Zurück als Textlink unter dem Schritt */
.rechner-seite .zurueck { gap: 6px; margin: 14px 0 -12px -10px; padding: 0 14px 0 10px; color: var(--hint); }
.rechner-seite .zurueck:hover { color: var(--navy); }
.rechner-seite .zurueck svg { width: 20px; height: 20px; }

/* Antrag: Gruppen ruhig, Übersicht als Karten */
.rechner-seite .uebersicht { gap: 10px; }
.rechner-seite .ue-gruppe { padding: 8px 18px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }

/* Zwischenschritt "Dein Beitrag wird berechnet" über dem Board */
.rechnen {
  position: absolute; inset: 0; z-index: 3; display: grid; align-content: center; justify-items: center; gap: 12px;
  padding: 72px 24px 40px; border-radius: inherit; background: #fff; text-align: center;
}
.rechnen:focus { outline: none; } /* nur per Skript fokussiert, damit der Screenreader die Überschrift vorliest */
.rechnen-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--lav-pale); color: var(--sky-dark); }
.rechnen-ic svg { width: 32px; height: 32px; }
.rechnen h2 { margin: 8px 0 0; font-weight: 700; font-size: clamp(22px, 0.8vw + 17px, 28px); line-height: 1.2; letter-spacing: -0.015em; }
.rechnen p { margin: 0; font-size: 16px; color: var(--navy-80); }
.rechnen-balken { width: min(320px, 100%); height: 8px; margin-top: 12px; border-radius: 999px; background: var(--lav-pale); overflow: hidden; }
.rechnen-balken span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--sky-dark)); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--lav-pale); font-size: 14px; font-weight: 500; }
.chips svg { width: 16px; height: 16px; color: var(--sky-dark); }

/* Antrag wird eingereicht: drei Stufen, nur solange die Anfrage läuft */
.einreichen { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: color-mix(in srgb, var(--lav-soft) 88%, transparent); }
.einreichen-karte { display: grid; justify-items: center; gap: 12px; width: min(380px, 100%); padding: 32px 28px 28px; border-radius: 20px; background: #fff; box-shadow: var(--board-shadow); text-align: center; }
.einreichen-dreh { width: 44px; height: 44px; border: 3px solid var(--lav-pale); border-top-color: var(--sky-dark); border-radius: 50%; }
.einreichen-titel { margin: 4px 0 0; font-weight: 700; font-size: 20px; }
.stufen { display: grid; gap: 12px; justify-self: stretch; margin: 8px 0 0; padding: 0 12px; list-style: none; text-align: left; }
.stufen li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--hint); }
.stufen li::before { content: ""; flex: none; width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 50%; }
.stufen li:nth-child(1), [data-stufe="2"] .stufen li:nth-child(2), [data-stufe="3"] .stufen li { font-weight: 500; color: var(--navy); }
.stufen li:nth-child(1)::before, [data-stufe="2"] .stufen li:nth-child(2)::before, [data-stufe="3"] .stufen li:nth-child(3)::before { border-color: var(--sky-dark); border-right-color: transparent; }
[data-stufe="2"] .stufen li:nth-child(1)::before, [data-stufe="3"] .stufen li:nth-child(-n + 2)::before {
  border-color: var(--sky); animation: none;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.einreichen-info { margin: 0; font-size: 14px; color: var(--hint); }
.einreichen-info:empty { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .rechner-seite [data-schritt="angebot"]:not([hidden]) { animation-name: schritt-blass; } /* ohne transform, sonst hängt die feste Leiste am Schritt */
  .rechnen:not([hidden]) { animation: schritt-blass 0.3s var(--ease-out) both; }
  .rechnen:not([hidden]) .rechnen-balken span { animation: fuellen 2s linear both; } /* linear, damit Balken und Prozentzahl gleich laufen */
  .einreichen-dreh, .stufen li:nth-child(1)::before, [data-stufe="2"] .stufen li:nth-child(2)::before, [data-stufe="3"] .stufen li:nth-child(3)::before { animation: dreh 0.9s linear infinite; }
}
@keyframes schritt-blass { from { opacity: 0.35; } }
@keyframes fuellen { from { width: 6%; } }

/* Mobil: feste Leiste im Angebot, darunter verdeckt nichts dank padding-bottom */
@media (max-width: 860px) {
  .angebot-leiste {
    position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; box-shadow: 0 -8px 24px rgb(var(--navy-rgb) / 0.12);
  }
  .summe { padding: 0; background: none; align-items: center; }
  .summe span { font-size: 12px; }
  .summe strong { font-size: 15px; }
  .summe b { font-size: 20px; }
  .angebot-leiste .weiter { min-height: 52px; }
  .rechner-seite:has([data-schritt="angebot"]:not([hidden])) { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 600px) {
  .rechner-seite .funnel-kopf { margin-bottom: 22px; }
  .rechner-seite .option { min-height: 60px; }
  .ic { width: 40px; height: 40px; border-radius: 11px; }
  .ic svg { width: 22px; height: 22px; }
  .rechner-seite #beginn-optionen { grid-template-columns: 1fr 1fr; }
  .rechnen { padding: 48px 18px 32px; }
}

/* ---------- /danke ---------- */
.danke-seite .funnel-main { padding-bottom: 56px; }
.danke-karte { padding-top: 36px; }
.danke-karte .danke-haken { width: 56px; height: 56px; }
.danke-karte h1 { margin: 18px 0 0; font-weight: 700; font-size: clamp(28px, 1.4vw + 18px, 38px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.geschafft { display: block; color: var(--sky-dark); } /* nur in großer Schrift, dort reicht 3:1 */
.danke-karte .danke-lead { max-width: 52ch; margin: 12px 0 0; font-size: 17px; line-height: 1.55; }
.danke-karte h2 { margin: 30px 0 0; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 700; font-size: 21px; text-align: left; }
.danke-seite .steps { grid-template-columns: minmax(0, 1fr); gap: 0; width: auto; margin: 18px 0 0; }
.danke-seite .step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 0 0 22px; border-radius: 0; background: none; animation: none; }
.danke-seite .step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--lav); }
.danke-seite .step-nr { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--sky); font-size: 19px; }
.danke-seite .step h3 { margin: 8px 0 0; font-size: 17px; }
.danke-seite .step p { margin: 4px 0 0; font-size: 15px; line-height: 1.55; color: var(--navy-80); }
.danke-weitere { margin-top: 6px; padding: 20px 22px 22px; border-radius: 16px; background: var(--lav-pale); }
.danke-weitere .danke-hinweis { max-width: none; margin: 0; font-size: 15px; }
.danke-karte .danke-aktionen { margin-top: 16px; }
.danke-seite .team { grid-template-columns: minmax(0, 1fr); } /* ohne Personenkarten nur noch Text */
.danke-karte .danke-aktionen .btn { height: 52px; padding: 0 28px; font-size: 17px; font-weight: 600; }

/* ---------- Optik nach mockup-vetprotect/: weiße Seite, graue Fragekarte, Chat-Blasen, Preise als Tabelle ---------- */
.rechner-seite { --vp-grau: var(--grey); --vp-rand: var(--line); --vp-hell: var(--sky-wash); --vp-sel: var(--sky-dark); background: #fff; }
.rechner-seite .funnel-main { padding-top: 24px; }
.rechner-seite .funnel { max-width: 640px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.rechner-seite .funnel:has([data-schritt="angebot"]:not([hidden])) { max-width: 980px; }
.rechner-seite .funnel-kopf { width: 100%; max-width: 640px; margin-inline: auto; }

/* Fortschritt: Balken mit Zahn als Regler */
.rechner-seite .balken { height: 10px; margin: 14px 0 0; overflow: visible; background: var(--vp-grau); }
.rechner-seite .balken span { position: relative; background: linear-gradient(90deg, var(--lav), var(--sky)); }
.rechner-seite .balken span::after {
  content: ""; position: absolute; right: -17px; top: 50%; width: 34px; height: 34px; transform: translateY(-50%); border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 3.5c-2.6 0-4 2-4 4.6 0 2.6 1.3 4 1.8 6.4.5 2.5.9 6 2.6 6 1.6 0 1.6-4.6 4.1-4.6s2.5 4.6 4.1 4.6c1.7 0 2.1-3.5 2.6-6 .5-2.4 1.8-3.8 1.8-6.4 0-2.6-1.4-4.6-4-4.6-1.9 0-2.9 1.2-4.5 1.2S9.4 3.5 7.5 3.5z'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 0 0 4px rgb(var(--sky-rgb) / 0.22), 0 2px 6px rgb(var(--navy-rgb) / 0.14);
}
.rechner-seite .kopf-zeile { margin-top: 12px; }

/* Frage als graue Karte, Antworten als weiße Knöpfe, Auswahl hellblau */
.rechner-seite .schritt:not([data-schritt="angebot"]) > .kopf:not(.berater) { padding: 22px 24px 24px; border-radius: 22px; background: var(--vp-grau); }
.rechner-seite .option, .rechner-seite .funnel .tile { border-color: var(--vp-rand); border-radius: 18px; background: #fff; }
.rechner-seite .option:hover { border-color: var(--vp-sel); }
.rechner-seite .option:has(input:checked), .rechner-seite .option[aria-pressed="true"] { border-color: var(--vp-sel); background: var(--vp-hell); box-shadow: inset 0 0 0 1px var(--vp-sel); }
.rechner-seite .ic { background: var(--vp-hell); }
.rechner-seite .funnel .tile[aria-pressed="true"] { background: var(--vp-hell); border-color: var(--vp-sel); }

.rechner-seite .zurueck { display: flex; width: fit-content; margin: 20px auto 0; }

/* Angebot wie vetprotect: fünf Preisspalten, direkt darunter die Leistungen als Tabelle mit denselben Spalten */
.rechner-seite [data-schritt="angebot"] { --th-h: 44px; }
.rechner-seite [data-schritt="angebot"] > .kopf { width: 100%; max-width: 640px; justify-self: center; }
.rechner-seite [data-schritt="angebot"] > .berater { width: 100%; max-width: 640px; justify-self: center; }
.rechner-seite [data-schritt="angebot"] > .kopf { text-align: center; justify-items: center; }
.rechner-seite .tarif-liste { position: relative; z-index: 2; display: block; }
.spalten { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--vp-rand); border-radius: 18px; overflow: hidden; background: #fff; }
.rechner-seite .spalte {
  grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 6px;
  min-height: 0; margin: 0; padding: 18px 10px 16px; border: 0; border-top: 4px solid var(--lav); border-radius: 0; text-align: center;
}
.rechner-seite .spalte + .spalte { border-left: 1px solid var(--vp-rand); }
.rechner-seite .spalte input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.rechner-seite .spalte:has(input:focus-visible) { outline-offset: -6px; }
.rechner-seite .spalte.is-empfohlen:has(input:focus-visible) { outline-color: #fff; }
.rechner-seite .spalte .option-text { display: contents; }
.rechner-seite .spalte .option-text strong { order: 1; font-size: 16px; line-height: 1.25; }
.rechner-seite .spalte .option-preis { order: 2; justify-items: center; text-align: center; }
.rechner-seite .spalte .option-preis strong { font-size: 25px; }
/* Kurzbeschreibung nur für Screenreader, die Tabelle darunter zeigt die Leistungen */
.rechner-seite .spalte .option-text > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wahl-pille { order: 4; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 16px; border-radius: 999px; background: var(--vp-grau); font-weight: 600; font-size: 14px; }
.wahl-pille::after { content: "Wählen"; }
.spalte:has(input:checked) .wahl-pille { background: var(--sky); color: var(--navy); }
.spalte:has(input:checked) .wahl-pille::after { content: "Ausgewählt"; }
.rechner-seite .spalte:has(input:checked) { border-top-color: var(--sky); background: var(--vp-hell); box-shadow: inset 0 0 0 2px var(--vp-sel); }
.rechner-seite .spalte.is-empfohlen { margin: 0; border-top-color: var(--sky); background: var(--navy); color: #fff; }
.rechner-seite .spalte.is-empfohlen:has(input:checked) { background: var(--navy); box-shadow: inset 0 0 0 3px var(--sky); }
.rechner-seite .spalte.is-empfohlen .option-preis span { color: rgb(255 255 255 / 0.82); }
.rechner-seite .spalte.is-empfohlen .option-preis strong { color: var(--sky); }
.rechner-seite .spalte.is-empfohlen .wahl-pille { background: rgb(255 255 255 / 0.14); }
.rechner-seite .spalte.is-empfohlen:has(input:checked) .wahl-pille { background: var(--sky); }
.rechner-seite .spalte .option-band {
  position: static; order: 0; padding: 2px 10px; border-radius: 999px; background: var(--sky); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}

/* Leistungstabelle: Kopf mit Tarifnamen liegt unter den Preiskarten und klebt beim Scrollen oben */
.vergleich { position: relative; z-index: 1; margin-top: calc(-22px - var(--th-h) - 1px); }
.vergleich table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.4; }
.vergleich thead th {
  position: sticky; top: var(--kopf-h); z-index: 3; height: var(--th-h); padding: 4px 6px; background: #fff;
  box-shadow: 0 1px 0 var(--vp-rand), 0 6px 10px -8px rgb(var(--navy-rgb) / 0.3);
  font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--navy); text-align: center; vertical-align: middle;
}
/* Kopfzellen sind Wahlknöpfe: Tarif wechseln, ohne zu den Preiskarten hochzuscrollen */
.vergleich thead th:has(button) { padding: 0; }
.vergleich thead button {
  display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 100%; padding: 4px 6px;
  border: 0; background: none; font: inherit; color: inherit; text-align: center; cursor: pointer;
}
.vergleich thead button::before { content: ""; flex: none; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 50%; }
.vergleich thead button[aria-pressed="true"]::before { background: currentColor; box-shadow: inset 0 0 0 2px var(--sky); }
.vergleich thead button:hover { background: var(--vp-hell); }
.vergleich thead button[aria-pressed="true"]:hover { background: none; }
.vergleich thead button:focus-visible { outline: 3px solid var(--sky-ink); outline-offset: -3px; }
.vergleich-gruppe th {
  padding: 11px 12px; border-top: 14px solid #fff; border-radius: 14px 14px 0 0 / 28px 28px 0 0; background: var(--navy); background-clip: padding-box;
  color: #fff; font-weight: 700; font-size: 15px; text-align: center;
}
.vergleich-gruppe ~ .vergleich-gruppe th { border-top-width: 20px; border-radius: 14px 14px 0 0 / 34px 34px 0 0; }
.vergleich tbody:not(.vergleich-gruppe) th { padding: 14px 12px 6px; font-weight: 600; font-size: 15px; color: var(--navy); text-align: center; }
.vergleich :is(th, td) small { display: block; margin-top: 2px; font-weight: 400; font-size: 12.5px; line-height: 1.4; color: var(--hint); }
.vergleich td { padding: 6px 4px 14px; border-bottom: 1px solid var(--vp-grau); font-weight: 600; color: var(--navy); text-align: center; vertical-align: middle; font-variant-numeric: tabular-nums; }
.vergleich td + td { border-left: 1px solid var(--vp-grau); }
.vergleich td small { font-size: 11.5px; }
.vergleich td.na { font-weight: 400; font-size: 12.5px; color: var(--hint); }
.vergleich td.ja::before {
  content: ""; display: inline-block; width: 24px; height: 24px; border-radius: 50%; vertical-align: middle;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.vergleich td.nein::before { content: "–"; font-weight: 400; font-size: 18px; color: var(--hint); }
/* gewählter Tarif als Spalte hervorgehoben */
.rechner-seite:has(input[name="tarif"][value="K70"]:checked) .vergleich td[data-t="K70"],
.rechner-seite:has(input[name="tarif"][value="K80"]:checked) .vergleich td[data-t="K80"],
.rechner-seite:has(input[name="tarif"][value="K90"]:checked) .vergleich td[data-t="K90"],
.rechner-seite:has(input[name="tarif"][value="K100"]:checked) .vergleich td[data-t="K100"],
.rechner-seite:has(input[name="tarif"][value="ZVD"]:checked) .vergleich td[data-t="ZVD"] { background: var(--vp-hell); }
.rechner-seite:has(input[name="tarif"][value="K70"]:checked) .vergleich th[data-t="K70"],
.rechner-seite:has(input[name="tarif"][value="K80"]:checked) .vergleich th[data-t="K80"],
.rechner-seite:has(input[name="tarif"][value="K90"]:checked) .vergleich th[data-t="K90"],
.rechner-seite:has(input[name="tarif"][value="K100"]:checked) .vergleich th[data-t="K100"],
.rechner-seite:has(input[name="tarif"][value="ZVD"]:checked) .vergleich th[data-t="ZVD"] { background: var(--sky); color: var(--navy); }
.rechner-seite [data-schritt="angebot"] > .hinweis { max-width: none; text-align: center; }

/* Desktop: Beitrag und Weiter kleben beim Scrollen durch die Tabelle unten */
@media (min-width: 861px) {
  .rechner-seite [data-schritt="angebot"] .angebot-leiste {
    position: sticky; bottom: 0; z-index: 4; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: center;
    padding: 12px 0 14px; background: #fff; box-shadow: 0 -1px 0 var(--vp-rand);
  }
  .rechner-seite [data-schritt="angebot"] .summe { padding: 10px 18px; }
}
@media (max-width: 600px) {
  /* fünf schmale Spalten ohne seitliches Wischen */
  .rechner-seite [data-schritt="angebot"] { --th-h: 40px; }
  .vergleich { margin-top: calc(-20px - var(--th-h) - 1px); }
  .rechner-seite .spalte { gap: 4px; padding: 12px 3px 10px; }
  .rechner-seite .spalte .option-text strong { min-height: 2.5em; font-size: 12px; }
  .rechner-seite .spalte .option-preis strong { font-size: 16px; }
  .rechner-seite .spalte .option-preis span { font-size: 11px; }
  .rechner-seite .spalte .option-band { padding: 1px 6px; font-size: 10px; letter-spacing: 0; text-transform: none; }
  .wahl-pille { margin-top: 4px; padding: 5px 8px; font-size: 12px; }
  .spalte:has(input:checked) .wahl-pille::after { content: "Gewählt"; }
  .vergleich table { font-size: 13px; }
  .vergleich thead th { font-size: 11px; }
  .vergleich thead button { gap: 3px; padding: 3px 2px; }
  .vergleich thead button::before { width: 9px; height: 9px; }
  .vergleich-gruppe th { font-size: 14px; }
  .vergleich tbody:not(.vergleich-gruppe) th { padding: 12px 8px 4px; font-size: 14px; }
  .vergleich :is(th, td) small { font-size: 12px; }
  .vergleich td { padding: 4px 2px 12px; }
  .vergleich td :is(small), .vergleich td.na { font-size: 11px; }
}
}
@media (max-width: 600px) {
  .rechner-seite .funnel .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rechner-seite .funnel .tile { height: 64px; grid-auto-flow: column; justify-content: center; align-items: baseline; gap: 6px; }
  .rechner-seite .funnel .tile .age { font-size: 22px; }
  .rechner-seite .funnel .tile .unit { font-size: 15px; }
  .rechner-seite .schritt:not([data-schritt="angebot"]) > .kopf:not(.berater) { padding: 18px 18px 20px; }
}

/* ---------- Bewegung nach mockup-vetprotect/css/style.css: Einblenden von unten, Laden mit wippendem Zahn, Konfetti ---------- */
.rechner-seite { --vp-ease: cubic-bezier(0.2, 0.8, 0.2, 1); }
.rechner-seite .balken { height: 14px; }
.rechnen-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--vp-hell, var(--lav-pale)); color: var(--navy); }
.rechnen-ic svg { width: 38px; height: 38px; }
.rechnen-text { min-height: 1.5em; font-size: 15px; color: var(--hint); }
.rechnen-zeile { display: flex; justify-content: space-between; width: min(320px, 100%); margin: 14px 0 -6px; font-size: 14px; color: var(--hint); }
.rechnen-zeile b { color: var(--navy); font-variant-numeric: tabular-nums; }
.rechnen .rechnen-balken { height: 12px; }
.konfetti { position: fixed; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }
.konfetti i { position: absolute; top: -16px; width: 8px; height: 14px; border-radius: 2px; animation: vp-fall linear forwards; }

@media (prefers-reduced-motion: no-preference) {
  .rechner-seite .balken span { transition-duration: 0.7s; transition-timing-function: var(--vp-ease); }
  .rechner-seite .schritt:not([hidden]):not([data-schritt="angebot"]) { animation: vp-rein 0.28s ease-out both; }
  /* Chat-Blase sehr dezent: 220 ms, 4 px, 98 %, kein Überschwingen; die Box ab Schritt 2 steht still */
  .rechner-seite .schritt:not([hidden]) .berater.chat { transform-origin: 0 100%; animation: blase-rein 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .rechner-seite .schritt:not([hidden]) .berater.tippt { animation: blase-rein 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) both, tipp-punkte 1.2s ease-in-out infinite; }
  .rechner-seite .schritt:not([hidden]) .berater.ploppt { animation: blase-plopp 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .rechner-seite :is(.weiter, .option, .funnel .tile) { transition: transform 0.18s var(--vp-ease), border-color 0.15s, background-color 0.15s, box-shadow 0.18s; }
  .rechner-seite .weiter:not([aria-disabled="true"]):hover { transform: scale(1.03); }
  .rechner-seite .weiter:not([aria-disabled="true"]):active { transform: scale(0.97); }
  .rechner-seite :is(.optionen:not(.tarif-liste) .option, .funnel .tile):hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgb(16 24 32 / 0.08); }
  .rechner-seite :is(.optionen:not(.tarif-liste) .option, .funnel .tile):active { transform: scale(0.98); }
  .rechnen:not([hidden]) .rechnen-ic { animation: vp-wipp 1.2s ease-in-out infinite; }
  .rechnen:not([hidden]) .rechnen-text {
    -webkit-mask-image: linear-gradient(90deg, #000 30%, rgb(0 0 0 / 0.3) 50%, #000 70%); mask-image: linear-gradient(90deg, #000 30%, rgb(0 0 0 / 0.3) 50%, #000 70%);
    -webkit-mask-size: 200% 100%; mask-size: 200% 100%; animation: vp-schimmer 2s linear infinite;
  }
  .rechnen:not([hidden]) .chips li { animation: vp-rein 0.4s var(--vp-ease) 0.3s both; }
  .rechnen:not([hidden]) .chips li:nth-child(2) { animation-delay: 0.45s; }
  .rechnen:not([hidden]) .chips li:nth-child(3) { animation-delay: 0.6s; }
  .danke-karte .danke-haken { animation: vp-plopp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .rechner-seite.danke-seite .steps:not([hidden]) .step { animation: vp-rein 0.45s var(--vp-ease) both; }
  .rechner-seite.danke-seite .steps:not([hidden]) .step:nth-child(2) { animation-delay: 0.12s; }
  .rechner-seite.danke-seite .steps:not([hidden]) .step:nth-child(3) { animation-delay: 0.24s; }
}
@media (prefers-reduced-motion: reduce) {
  .konfetti { display: none; }
}
@keyframes vp-rein { from { opacity: 0; transform: translateY(40px); } }
@keyframes vp-wipp { 50% { transform: translateY(-8px) rotate(-6deg); } }
@keyframes vp-schimmer { from { -webkit-mask-position: 150% 0; mask-position: 150% 0; } to { -webkit-mask-position: -50% 0; mask-position: -50% 0; } }
@keyframes vp-plopp { from { transform: scale(0); } }
@keyframes blase-rein { from { opacity: 0; transform: translateY(4px) scale(0.98); } }
@keyframes blase-plopp { from { opacity: 0; transform: translateY(4px) scale(0.98); } }
/* Punkte nacheinander von 30 % auf volle Deckkraft (#cecfd1 = #8e8e93 zu 30 % auf #e9e9eb) */
@keyframes tipp-punkte {
  0%, 80%, 100% { --p1: #cecfd1; --p2: #cecfd1; --p3: #cecfd1; }
  20% { --p1: #8e8e93; --p2: #cecfd1; --p3: #cecfd1; }
  40% { --p1: #cecfd1; --p2: #8e8e93; --p3: #cecfd1; }
  60% { --p1: #cecfd1; --p2: #cecfd1; --p3: #8e8e93; }
}
@keyframes vp-fall { to { transform: translateY(105vh) rotate(720deg); opacity: 0.2; } }
