/* ==========================================================================
   Kardia München · Kampagnenseite Kundengewinnung · Stylesheet
   Gilt für index.html und danke.html. Keine externen Abhängigkeiten.
   Aufbau: 1 Schriften · 2 Variablen · 3 Basis · 4 Layout · 5 Symbole · 6 Komponenten
           7 Seitenabschnitte · 8 Formular · 9 Hilfsklassen · 10 Bewegung
   Bausteine aus der Vorlage valde vita (Blöcke 6, 8, 21, 22), Farben und Schriften aus kardia.de.
   Alle Klassen beginnen mit "kd-".
   ========================================================================== */

/* 1 · Schriften (lokal, beide SIL Open Font License, siehe fonts/OFL_*.txt) ---- */
@font-face {
  font-family: "Varela Round";
  src: url("fonts/VarelaRound-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2 · Variablen -------------------------------------------------------------- */
:root {
  /* Farben (gemessen auf kardia.de, grundlagen §5) */
  --kd-blau: #115E99;           /* Überschriften, Bänder, Text auf Gelb */
  --kd-blau-tief: #0C4A7A;      /* Hover, Abschlussband */
  --kd-blau-nacht: #0A3A61;     /* Fuß und tiefste Fläche, dunkelster Wert der Seite */
  --kd-hell: #EEF5FD;           /* helle Fläche wie kardia.de */
  --kd-hell-2: #DDEBFA;         /* Schmuck, Fotoplätze */
  --kd-flaeche: #C9DFF7;        /* helles Blau für Marken und Herzen */
  --kd-gelb: #FFD56C;           /* Haupt-Knopf „Rückruf anfordern“ */
  --kd-gelb-tief: #F7C64A;      /* Hover des Haupt-Knopfs */
  --kd-text: #2C2C2C;           /* Fließtext */
  --kd-text-leise: #4B5866;     /* Nebentext, 4,5:1 auf Weiß und auf --kd-hell */
  --kd-karte: #FFFFFF;
  --kd-linie: #D7E4F2;
  --kd-linie-feld: #7A8C9F;     /* Feldrand, 3:1 auf Weiß */
  --kd-stern: #E5A50A;          /* Sterne der Google-Bewertung */
  --kd-ok: #1E6B47;
  --kd-ok-ton: #E5F3EC;
  --kd-fehler: #B3261E;
  --kd-fehler-ton: #FBECEA;
  --kd-fokus: #0A3A61;

  /* Schrift */
  --kd-font-titel: "Varela Round", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
  --kd-font-text: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --kd-gr-h1: clamp(2.125rem, 1.4rem + 3.1vw, 3.625rem);
  --kd-gr-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
  --kd-gr-h3: clamp(1.1875rem, 1.12rem + 0.3vw, 1.3125rem);
  --kd-gr-text: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --kd-gr-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --kd-gr-klein: 0.9375rem;
  --kd-gr-mini: 0.8125rem;

  /* Abstände */
  --kd-raum-2: 8px;
  --kd-raum-3: 12px;
  --kd-raum-4: 16px;
  --kd-raum-5: 24px;
  --kd-raum-6: 32px;
  --kd-raum-7: 48px;
  --kd-abschnitt: clamp(64px, 5vw + 40px, 120px);
  --kd-rand: clamp(18px, 5vw, 40px);
  --kd-breite: 1180px;

  /* Form: Knöpfe mit kleinem Radius wie kardia.de, Karten etwas weicher */
  --kd-radius-knopf: 6px;
  --kd-radius: 14px;
  --kd-radius-gross: 24px;
  --kd-schatten: 0 1px 2px rgba(10, 58, 97, 0.05), 0 16px 40px -18px rgba(10, 58, 97, 0.28);
  --kd-schatten-leicht: 0 1px 2px rgba(10, 58, 97, 0.06), 0 4px 14px -8px rgba(10, 58, 97, 0.16);
  --kd-tempo: 180ms;
  --kd-kopf-hoehe: 78px;
  --kd-weich: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 3 · Basis ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0; background: var(--kd-karte); color: var(--kd-text);
  font-family: var(--kd-font-text); font-size: var(--kd-gr-text); font-weight: 400; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--kd-font-titel); font-weight: 400; color: var(--kd-blau); line-height: 1.18; margin: 0; text-wrap: balance; }
h1 { font-size: var(--kd-gr-h1); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: var(--kd-gr-h2); letter-spacing: -0.005em; }
h3 { font-size: var(--kd-gr-h3); line-height: 1.28; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 0.85em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--kd-blau); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--kd-blau-tief); }
strong, b { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--kd-fokus); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
::selection { background: var(--kd-flaeche); color: var(--kd-blau-nacht); }

/* 4 · Layout ----------------------------------------------------------------- */
.kd-seite { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.kd-inhalt { width: 100%; max-width: calc(var(--kd-breite) + 2 * var(--kd-rand)); margin-inline: auto; padding-inline: var(--kd-rand); }
.kd-abschnitt { position: relative; padding-block: var(--kd-abschnitt); }
.kd-abschnitt--hell { background: var(--kd-hell); }
.kd-abschnitt--blau { background: var(--kd-blau); color: #fff; --kd-fokus: #fff; }
.kd-abschnitt--blau :is(h2, h3) { color: #fff; }
.kd-abschnitt[id], .kd-anker { scroll-margin-top: 12px; }
.kd-titelblock { max-width: 46rem; margin-bottom: clamp(32px, 3vw + 16px, 60px); }
.kd-titelblock--mitte { margin-inline: auto; text-align: center; }
.kd-titelblock > p { margin-top: var(--kd-raum-4); color: var(--kd-text-leise); font-size: var(--kd-gr-lead); line-height: 1.55; }
.kd-dach {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--kd-raum-4);
  font-family: var(--kd-font-text); font-size: var(--kd-gr-mini); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--kd-blau);
}
.kd-dach::before { content: ""; flex: none; width: 18px; height: 11px; background: var(--kd-blau); -webkit-mask: var(--kd-herz) center / contain no-repeat; mask: var(--kd-herz) center / contain no-repeat; }
.kd-abschnitt--blau .kd-dach { color: #fff; }
.kd-abschnitt--blau .kd-dach::before { background: var(--kd-gelb); }
.kd-zwei { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) {
  html { scroll-padding-top: calc(var(--kd-kopf-hoehe) + 20px); }
  .kd-abschnitt[id], .kd-anker { scroll-margin-top: calc(var(--kd-kopf-hoehe) + 8px); }
  .kd-zwei { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .kd-haftet { position: sticky; top: calc(var(--kd-kopf-hoehe) + 32px); }
}

/* 5 · Symbole (als Maske, nehmen die Textfarbe an) ---------------------------- */
.kd-icon {
  display: inline-block; flex: none; width: 1.5em; height: 1.5em; vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: var(--kd-i) center / contain no-repeat; mask: var(--kd-i) center / contain no-repeat;
}
/* SYMBOLE-ANFANG (Strichsymbole aus der Vorlage valde vita, dazu Pille, Stern und das Herz aus dem Kardia-Logo) */
:root {
  --kd-i-warnung: 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='M12 4l9 16H3zM12 10v4.500M12 17.200v.3'/%3E%3C/svg%3E");
  --kd-bild-haken-weiss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --kd-bild-haken-blau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23115E99' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --kd-bild-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23115E99' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5.500v13M5.500 12h13'/%3E%3C/svg%3E");
  --kd-herz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0.0 0.0 981.9 584.2'%3E%3Cpath d='M747.52,89.14c13.86-.38,27.28,2.23,40.22,6.87,30.29,10.86,53.38,30.32,68.4,58.93,8.4,16,13.02,33.07,14.29,51.18,2.43,34.74-8.27,65.33-28.68,92.9-4.54,6.13-9.88,11.66-14.86,17.46-1.17,1.36-2.37,2.69-3.41,3.86.53,1.74,1.62,1.19,2.42,1.23.92.04,1.85-.09,2.77-.2,18.68-2.13,37.15-.42,55.14,4.48,38.46,10.48,67.34,33.28,85.44,69.07,6.97,13.8,10.82,28.54,12.15,43.97,3.24,37.68-9.92,69.56-34.4,97.4-9.07,10.32-19.46,19.25-30.7,27.1-8.41,5.88-17.91,9.68-27.64,12.88-16.71,5.49-33.94,7.18-51.41,7.42-24.44.34-48.58-2.41-72.59-6.73-33.38-6-65.91-15.2-98.1-25.74-33.73-11.05-66.69-24.09-99.32-38.02-23.67-10.11-46.96-21.02-70.02-32.43-1.86-.92-3.69-1.92-5.94-3.09-3.5,1.71-7.19,3.58-10.94,5.32-20.81,9.66-41.48,19.64-62.5,28.83-19.53,8.54-39.32,16.5-59.19,24.21-21.39,8.3-43.16,15.56-65.14,22.19-15.76,4.76-31.61,9.11-47.61,12.97-18.27,4.4-36.73,7.77-55.34,10.21-15.18,1.99-30.47,3.25-45.79,2.71-15.75-.56-31.44-2.02-46.75-6.26-18.47-5.11-34.58-14.35-48.79-27.08-13.05-11.69-24.31-24.83-32.9-40.17C3.22,487.23-1.95,462.09.66,435.55c1.94-19.7,8.81-37.9,19.9-54.32,21.65-32.06,52-50.94,89.84-57.78,13.23-2.39,26.68-3.33,40.17-2.09,2.48.23,4.98.24,7.42.34.61-2.46-1.25-3.13-2.29-4.19-12.44-12.68-22.85-26.8-30.65-42.79-7.82-16.01-12.24-32.9-13.77-50.68-1.58-18.37.96-36.07,7.19-53.3,7.4-20.48,19.26-37.91,35.93-52.04,8.19-6.95,17.15-12.6,26.79-17.3,17.19-8.38,35.37-12.31,55.02-11.91.29,1.47.02,2.35-.29,3.22-3.51,9.81-6.45,19.91-7.08,30.22-.72,11.7-1.25,23.53,1.03,35.26,2.3,11.83,5.55,23.34,10.06,34.49,3.62,8.97,7.76,17.68,12.22,26.3,5,9.65,10.61,18.9,16.36,28.09,7.71,12.34,16.07,24.25,25.07,35.68,6.27,7.97,12.01,16.37,19.16,23.65,3.39,3.45,6.39,7.28,9.52,10.98,4.47,5.28,8.7,10.78,13.39,15.84,9.43,10.17,19.64,19.58,28.8,30.05,7.14,8.16,15.35,15.35,23.48,22.58,10.19,9.05,19.85,18.71,29.74,28.1.5.48,1.02.95,1.54,1.4,6.12,5.26,12.26,10.5,18.35,15.8,4.53,3.93,8.92,8.03,13.52,11.89,7.42,6.22,14.9,12.37,22.45,18.43,5.03,4.03,10.23,7.84,15.63,11.97,1.06.49.77,2.96,2.93,1.1,3.96-2.77,7.6-5.22,11.01-7.95,6.12-4.9,12.49-9.48,18.2-14.91,4.5-4.28,9.56-7.96,14.32-11.97,3.88-3.27,7.67-6.66,11.53-9.95,5.44-4.63,11.02-9.11,16.34-13.87,5.17-4.61,9.98-9.58,15.29-14.08,7.56-6.42,14.62-13.48,21.74-20.38,13.12-12.7,26.53-25.15,38.32-39.19,5.19-6.18,11.23-11.59,16.48-17.79,5.81-6.86,11.52-13.84,17.65-20.41,5.54-5.94,10.36-12.43,15.28-18.79,10.14-13.12,20.16-26.4,28.65-40.7,5.42-9.13,11.01-18.18,16.11-27.49,5-9.12,8.78-18.81,12.49-28.55,7-18.32,11.16-37.04,10.57-56.75-.16-5.36-1.09-10.57-2.15-15.72-1.48-7.21-3.77-14.26-5.62-21.41-.46-1.77-.54-3.63-.79-5.46Z'/%3E%3Cpath d='M491.66,474.72c-1.73,1.67-1.44-.8-2.52-1.87-1.04-5.1-1.6-9.45-2.57-13.71-3.73-16.43-8.28-32.66-12.95-48.84-4.42-15.31-8.72-30.66-13.56-45.84-4.92-15.42-10.38-30.67-15.73-45.95-2.9-8.29-5.91-16.55-9.19-24.69-3.97-9.86-8.43-19.53-12.4-29.39-3.89-9.67-8.14-19.17-12.93-28.42-6.39-12.34-12.73-24.71-19.24-36.98-2.49-4.69-5.19-9.29-8.11-13.73-9.13-13.91-18.16-27.84-29.05-40.55-7.12-8.3-14.67-16.15-22.76-23.36-8.06-7.19-16.83-13.63-26.78-18.38-7.73-3.69-15.37-7.37-23.74-9.4-11.71-2.84-23.49-4.95-35.62-4.46-2.29.09-4.6-.33-6.91-.51,8.13-22.71,21.08-42.22,39.28-58.06,13.43-11.69,28.66-20.19,45.9-25.18,14.64-4.24,29.45-6.18,44.6-5.05,26.03,1.94,49.69,10.47,70.56,26.3,17.43,13.22,31.12,29.62,41.42,48.92,4.04,7.58,7.38,15.45,10.54,23.41.49,1.22,1.17,2.37,2.13,4.28.95-1.93,1.67-3.05,2.07-4.27,2.92-8.83,6.9-17.18,11.4-25.28,16.41-29.55,39.59-51.59,71.28-64.22,10.6-4.22,21.43-7.33,32.85-8.22,4.38-.34,8.75-1.04,13.13-1.12,23.71-.41,45.83,5.34,66.27,17.44,19.39,11.48,34.21,27.42,45.59,46.7,4.37,7.39,8.26,15.02,10.17,23.96-9.1,1.41-17.63.91-26.18,2.1-9.22,1.28-18.18,3.35-26.9,6.21-16.06,5.28-29.72,14.92-42.08,26.16-7.85,7.13-15.39,14.65-22.12,22.99-6.11,7.55-12.1,15.15-17.43,23.25-5.96,9.07-11.98,18.13-17.54,27.44-4.61,7.72-8.76,15.72-12.84,23.75-6.07,11.96-11.94,24.02-17.78,36.09-1.81,3.74-3.3,7.63-4.85,11.49-4.22,10.5-8.47,20.99-12.57,31.54-3.43,8.83-6.8,17.68-9.96,26.61-3.62,10.23-7.04,20.53-10.41,30.85-3.3,10.1-6.56,20.22-9.63,30.39-4.93,16.34-9.95,32.65-13.72,49.33-1.68,7.42-4.16,14.66-5.85,22.07-1.22,5.37-3.58,10.53-3.28,16.21Z'/%3E%3Cpath d='M492.09,474.53c-.73-5.49,1.63-10.65,2.85-16.01,1.69-7.42,4.17-14.65,5.85-22.07,3.77-16.67,8.79-32.99,13.72-49.33,3.07-10.17,6.33-20.29,9.63-30.39,3.37-10.31,6.79-20.62,10.41-30.85,3.16-8.93,6.53-17.78,9.96-26.61,4.1-10.55,8.35-21.04,12.57-31.54,1.55-3.86,3.04-7.75,4.85-11.49,5.84-12.07,11.71-24.13,17.78-36.09,4.07-8.02,8.22-16.03,12.84-23.75,5.57-9.32,11.58-18.37,17.54-27.44,5.33-8.1,11.33-15.7,17.43-23.25,6.74-8.34,14.28-15.86,22.12-22.99,12.36-11.24,26.02-20.88,42.08-26.16,8.72-2.87,17.69-4.94,26.9-6.21,8.55-1.18,17.08-.69,26.28-1.59,1.16-.18,1.59-.09,2.31.25.55,1.98.63,3.85,1.09,5.62,1.85,7.14,4.13,14.19,5.62,21.41,1.06,5.15,1.99,10.37,2.15,15.72.59,19.71-3.57,38.43-10.57,56.75-3.72,9.74-7.49,19.43-12.49,28.55-5.1,9.31-10.69,18.36-16.11,27.49-8.5,14.31-18.51,27.58-28.65,40.7-4.92,6.36-9.74,12.85-15.28,18.79-6.12,6.56-11.84,13.55-17.65,20.41-5.25,6.2-11.29,11.62-16.48,17.79-11.79,14.04-25.2,26.49-38.32,39.19-7.13,6.9-14.18,13.96-21.74,20.38-5.31,4.51-10.12,9.47-15.29,14.08-5.33,4.76-10.9,9.24-16.34,13.87-3.86,3.29-7.65,6.68-11.53,9.95-4.76,4.01-9.82,7.69-14.32,11.97-5.71,5.43-12.08,10.01-18.2,14.91-3.41,2.73-7.05,5.18-11.01,7.95Z'/%3E%3Cpath d='M237.39,88.64c2.52.15,4.83.56,7.12.47,12.13-.48,23.91,1.63,35.62,4.46,8.37,2.03,16.01,5.71,23.74,9.4,9.95,4.75,18.71,11.19,26.78,18.38,8.09,7.21,15.64,15.06,22.76,23.36,10.9,12.7,19.93,26.64,29.05,40.55,2.91,4.44,5.62,9.04,8.11,13.73,6.51,12.28,12.85,24.64,19.24,36.98,4.79,9.26,9.04,18.75,12.93,28.42,3.97,9.86,8.43,19.53,12.4,29.39,3.28,8.14,6.28,16.41,9.19,24.69,5.35,15.28,10.81,30.53,15.73,45.95,4.84,15.18,9.14,30.53,13.56,45.84,4.67,16.18,9.22,32.41,12.95,48.84.97,4.26,1.53,8.61,2.29,13.5-5.11-3.33-10.31-7.14-15.34-11.17-7.55-6.06-15.04-12.2-22.45-18.43-4.6-3.86-8.99-7.95-13.52-11.89-6.09-5.29-12.23-10.53-18.35-15.8-.53-.45-1.04-.92-1.54-1.4-9.89-9.39-19.55-19.05-29.74-28.1-8.14-7.23-16.35-14.42-23.48-22.58-9.16-10.47-19.36-19.89-28.8-30.05-4.7-5.06-8.92-10.57-13.39-15.84-3.13-3.7-6.14-7.53-9.52-10.98-7.15-7.28-12.89-15.68-19.16-23.65-9-11.43-17.36-23.34-25.07-35.68-5.74-9.19-11.35-18.43-16.36-28.09-4.46-8.61-8.59-17.33-12.22-26.3-4.51-11.15-7.76-22.66-10.06-34.49-2.29-11.74-1.76-23.57-1.03-35.26.64-10.3,3.57-20.41,7.08-30.22.31-.87.59-1.75.94-3.16.05-.54.33-.87.55-.91Z'/%3E%3C/svg%3E");
}
.kd-icon--pfeil { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.kd-icon--pfeil-links { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E"); }
.kd-icon--haken { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.kd-icon--telefon { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5h2.6l1.6 4.2-2.1 1.5a11.5 11.5 0 0 0 5.7 5.7l1.5-2.1 4.2 1.6V17a3 3 0 0 1-3.2 3A16.2 16.2 0 0 1 4 6.700A3 3 0 0 1 7 3.5z'/%3E%3C/svg%3E"); }
.kd-icon--uhr { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.kd-icon--haus { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.500 11L12 4l8.500 7M5.500 9.500V20h13V9.500M10 20v-5.500h4V20'/%3E%3C/svg%3E"); }
.kd-icon--personen { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.25'/%3E%3Cpath d='M3 19.500c0-3.300 2.700-5.500 6-5.500s6 2.200 6 5.500M16 5.200a3.250 3.250 0 0 1 0 5.900M17.500 14.300c2.100.700 3.500 2.600 3.500 5.200'/%3E%3C/svg%3E"); }
.kd-icon--herz { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.500-4.600-7.500-10.200A4.300 4.300 0 0 1 12 7.200a4.300 4.300 0 0 1 7.500 2.600C19.500 15.400 12 20 12 20z'/%3E%3C/svg%3E"); }
.kd-icon--klinik { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v14M3 20h18M12 7.500v5M9.500 10h5M10 20v-3.500h4V20'/%3E%3C/svg%3E"); }
.kd-icon--schild { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.500 3v5.500c0 4.600-3 8-7.500 9.500-4.500-1.500-7.500-4.900-7.500-9.500V6zM9 12l2.200 2.200 4-4.200'/%3E%3C/svg%3E"); }
.kd-icon--kalender { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5.500' width='16' height='14.500' rx='2'/%3E%3Cpath d='M4 10h16M8.500 3.500v4M15.500 3.500v4'/%3E%3C/svg%3E"); }
.kd-icon--gespraech { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.500a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-7L6.500 20v-3.500H6a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.kd-icon--warnung { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l9 16H3zM12 10v4.500M12 17.200v.3'/%3E%3C/svg%3E"); }
.kd-icon--info { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.500'/%3E%3Cpath d='M12 11v5.500M12 7.600v.3'/%3E%3C/svg%3E"); }
.kd-icon--ort { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.500-6-6.500-11a6.500 6.500 0 0 1 13 0c0 5-6.500 11-6.500 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.kd-icon--plan { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4.500' width='14' height='16' rx='2'/%3E%3Cpath d='M9 4.500A1.500 1.500 0 0 1 10.500 3h3A1.500 1.500 0 0 1 15 4.500V6H9zM9 13.200l2 2 4-4.200'/%3E%3C/svg%3E"); }
.kd-icon--pille { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8.6' y='2.6' width='6.8' height='18.8' rx='3.4' transform='rotate(45 12 12)'/%3E%3Cpath d='M9.6 9.6l4.8 4.8'/%3E%3C/svg%3E"); }
.kd-icon--stern { --kd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2.6l2.8 6 6.5.7-4.9 4.4 1.4 6.4L12 16.8l-5.8 3.3 1.4-6.4-4.9-4.4 6.5-.7z'/%3E%3C/svg%3E"); }
/* SYMBOLE-ENDE */

/* 6 · Komponenten ------------------------------------------------------------ */
.kd-sprung { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--kd-blau-nacht); color: #fff; padding: 12px 18px; border-radius: 8px; text-decoration: none; }
.kd-sprung:focus { top: 12px; color: #fff; }

/* Kopf */
.kd-kopf { position: relative; z-index: 40; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--kd-linie); transition: box-shadow 240ms ease; }
.kd-kopf__zeile { display: flex; align-items: center; gap: var(--kd-raum-4); min-height: 66px; padding-block: 9px; }
.kd-logo { display: flex; align-items: center; flex: none; min-height: 48px; }
.kd-logo img { width: auto; height: 30px; }
.kd-kopf__kontext { min-width: 0; padding-left: var(--kd-raum-4); border-left: 1px solid var(--kd-linie); font-size: var(--kd-gr-mini); font-weight: 600; line-height: 1.25; color: var(--kd-text-leise); }
.kd-kopf__rechts { margin-left: auto; display: flex; align-items: center; gap: var(--kd-raum-5); }
.kd-kopf__tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 48px; min-height: 48px;
  border: 1.5px solid var(--kd-linie); border-radius: 50%; background: var(--kd-karte);
  color: var(--kd-blau); text-decoration: none; white-space: nowrap;
}
.kd-kopf__tel .kd-icon { width: 22px; height: 22px; }
.kd-kopf__tel-text { display: none; flex-direction: column; line-height: 1.15; }
.kd-kopf__tel-text strong { font-size: 1.0625rem; font-weight: 700; }
.kd-kopf__tel-text small { font-size: 0.75rem; font-weight: 600; color: var(--kd-text-leise); }
.kd-kopf .kd-kopf__knopf { display: none; }
.kd-kopf--unterwegs { box-shadow: 0 8px 28px -16px rgba(10, 58, 97, 0.4); }
@media (min-width: 640px) { .kd-kopf .kd-kopf__knopf { display: inline-flex; } }
@media (min-width: 900px) {
  .kd-kopf { position: sticky; top: 0; -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); background: rgba(255, 255, 255, 0.9); }
  .kd-kopf__zeile { min-height: var(--kd-kopf-hoehe); }
  .kd-logo img { height: 36px; }
  .kd-kopf__kontext { font-size: var(--kd-gr-klein); }
  .kd-kopf__tel { border: 0; border-radius: 8px; padding-inline: 4px; min-width: 0; }
  .kd-kopf__tel-text { display: inline-flex; }
}
@media (max-width: 380px) {
  .kd-logo img { height: 24px; }
  .kd-kopf__zeile { gap: var(--kd-raum-3); }
  .kd-kopf__kontext { padding-left: var(--kd-raum-3); }
}

/* Knöpfe: Gelb mit dunkelblauer Schrift wie „Rückruf anfordern“ auf kardia.de */
.kd-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px;
  border: 1.5px solid var(--kd-gelb); border-radius: var(--kd-radius-knopf);
  background: var(--kd-gelb); color: var(--kd-blau);
  font-family: var(--kd-font-text); font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.01em;
  text-align: center; text-decoration: none;
  box-shadow: 0 1px 0 rgba(10, 58, 97, 0.08), 0 8px 20px -12px rgba(160, 110, 0, 0.55);
  transition: background-color var(--kd-tempo), border-color var(--kd-tempo), color var(--kd-tempo), transform var(--kd-tempo), box-shadow var(--kd-tempo);
}
.kd-knopf:hover { background: var(--kd-gelb-tief); border-color: var(--kd-gelb-tief); color: var(--kd-blau-tief); }
.kd-knopf:active { transform: translateY(1px); }
.kd-knopf .kd-icon { width: 1.25em; height: 1.25em; }
.kd-knopf .kd-icon--pfeil { transition: transform var(--kd-tempo); }
.kd-knopf:hover .kd-icon--pfeil { transform: translateX(3px); }
.kd-knopf--sekundaer { background: var(--kd-karte); border-color: var(--kd-blau); color: var(--kd-blau); box-shadow: none; }
.kd-knopf--sekundaer:hover { background: var(--kd-hell); border-color: var(--kd-blau-tief); color: var(--kd-blau-tief); }
.kd-knopf--umriss-hell { background: transparent; border-color: rgba(255, 255, 255, 0.75); color: #fff; box-shadow: none; }
.kd-knopf--umriss-hell:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.kd-knopf--klein { min-height: 46px; padding: 10px 18px; font-size: 0.9375rem; }
.kd-knopf[disabled], .kd-knopf[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.kd-textlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--kd-blau); text-decoration: none; background: none; border: 0; padding: 0; text-align: left;
}
.kd-textlink:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.kd-textlink .kd-icon { width: 1.15em; height: 1.15em; transition: transform var(--kd-tempo); }
.kd-textlink:hover .kd-icon--pfeil { transform: translateX(3px); }
[data-kd-telefon-text] { white-space: nowrap; }
.kd-nobr { white-space: nowrap; }

/* Haken-Liste */
.kd-haken { display: grid; gap: 8px; }
.kd-haken li { display: flex; align-items: flex-start; gap: 11px; line-height: 1.45; }
.kd-haken li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--kd-blau) var(--kd-bild-haken-weiss) center / 13px no-repeat;
}
.kd-abschnitt--blau .kd-haken li::before { background-color: var(--kd-gelb); background-image: var(--kd-bild-haken-blau); }

/* Sterne */
.kd-sterne { display: inline-flex; gap: 2px; color: var(--kd-stern); }
.kd-sterne .kd-icon { width: 18px; height: 18px; }

/* Foto */
.kd-foto { margin: 0; position: relative; }
.kd-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--kd-radius-gross); background: var(--kd-hell-2); }

/* FAQ */
.kd-faq { border-top: 1px solid var(--kd-linie); }
.kd-faq details { border-bottom: 1px solid var(--kd-linie); }
.kd-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--kd-raum-4);
  min-height: 68px; padding: 16px 2px; cursor: pointer; list-style: none;
  font-family: var(--kd-font-text); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; color: var(--kd-text);
}
.kd-faq summary::-webkit-details-marker { display: none; }
.kd-faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--kd-hell) var(--kd-bild-plus) center / 18px no-repeat;
  transition: transform var(--kd-tempo), background-color var(--kd-tempo);
}
.kd-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--kd-flaeche); }
.kd-faq summary:hover { color: var(--kd-blau); }
.kd-faq__antwort { padding: 0 52px 24px 2px; color: var(--kd-text-leise); max-width: 62ch; }
.kd-faq__antwort a { font-weight: 700; }
.kd-orte { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.kd-orte li { padding: 4px 11px; border-radius: 999px; background: var(--kd-hell); color: var(--kd-blau); font-size: var(--kd-gr-mini); font-weight: 600; line-height: 1.4; }

/* Feste Leiste unten auf dem Handy */
.kd-leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 10px;
  padding: 10px var(--kd-rand) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--kd-linie);
  box-shadow: 0 -10px 28px -14px rgba(10, 58, 97, 0.3);
  transform: translateY(110%); visibility: hidden;
  transition: transform 240ms ease, visibility 0s linear 240ms;
}
.kd-leiste--sichtbar { transform: none; visibility: visible; transition: transform 240ms ease, visibility 0s; }
.kd-leiste .kd-knopf { min-height: 50px; padding-inline: 12px; box-shadow: none; }
.kd-leiste .kd-knopf--sekundaer { flex: 0 1 38%; }
.kd-leiste .kd-knopf:not(.kd-knopf--sekundaer) { flex: 1 1 62%; }
.kd-cookie-offen .kd-leiste { visibility: hidden; }
.kd-leiste .kd-knopf { white-space: nowrap; }
@media (max-width: 359.98px) {
  .kd-leiste { gap: 8px; }
  .kd-leiste .kd-knopf { padding-inline: 8px; font-size: 0.875rem; gap: 6px; }
  .kd-leiste .kd-knopf--sekundaer { flex: 0 0 auto; }
  .kd-leiste .kd-icon { width: 1.1em; height: 1.1em; }
}
@media (min-width: 900px) { .kd-leiste { display: none; } }
@media (max-width: 899.98px) { body.kd-hat-leiste { padding-bottom: 76px; } }

/* Cookie-Hinweis (nur mit Kennung) */
.kd-cookie {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  max-width: 760px; margin-inline: auto; padding: 16px 18px;
  background: #fff; border: 1px solid var(--kd-linie); border-radius: var(--kd-radius); box-shadow: var(--kd-schatten);
}
.kd-cookie__text { flex: 1 1 280px; font-size: var(--kd-gr-klein); line-height: 1.5; }
.kd-cookie__knoepfe { display: flex; gap: 10px; flex: 1 1 260px; }
.kd-cookie__knoepfe .kd-knopf { flex: 1; }
body.kd-cookie-offen { padding-bottom: calc(var(--kd-cookie-hoehe, 0px) + 24px); }

/* 7 · Seitenabschnitte ------------------------------------------------------- */

/* Hero */
.kd-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(28px, 3vw + 16px, 72px) calc(clamp(48px, 4vw + 28px, 96px) + 44px);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(201, 223, 247, 0.55), rgba(201, 223, 247, 0) 70%),
    linear-gradient(180deg, var(--kd-hell) 0%, #F7FAFE 100%);
}
.kd-hero__raster { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kd-hero__text { position: relative; z-index: 1; min-width: 0; }
.kd-hero h1 { max-width: 20ch; }
.kd-marker { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.kd-marker::after {
  content: ""; position: absolute; z-index: -1; left: -0.06em; right: -0.08em; bottom: 0.04em; height: 0.3em;
  border-radius: 0.2em; background: var(--kd-gelb); transform-origin: left center;
}
.kd-hero__lead { margin-top: var(--kd-raum-5); max-width: 34rem; font-size: var(--kd-gr-lead); line-height: 1.55; color: var(--kd-text-leise); }
.kd-hero__zusagen { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: var(--kd-raum-4); font-size: var(--kd-gr-klein); font-weight: 600; color: var(--kd-text); }
.kd-hero__zusagen li { display: inline-flex; align-items: center; gap: 8px; }
.kd-hero__zusagen .kd-icon { width: 18px; height: 18px; color: var(--kd-blau); }
.kd-hero__bild { position: relative; min-width: 0; }
.kd-hero__herz { position: absolute; z-index: 0; width: 78%; right: -12%; top: -14%; opacity: 0.16; pointer-events: none; }
.kd-hero__bild .kd-foto { z-index: 1; }
.kd-hero__bild .kd-foto img { aspect-ratio: 4 / 3.4; object-position: 72% 30%; box-shadow: var(--kd-schatten); }
.kd-hero__karte {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; width: fit-content; max-width: calc(100% - 24px);
  margin: -30px 12px 0; padding: 12px 18px 12px 12px;
  background: #fff; border-radius: var(--kd-radius); box-shadow: var(--kd-schatten);
  font-size: var(--kd-gr-klein); line-height: 1.3;
}
.kd-hero__karte strong { display: block; color: var(--kd-blau); font-size: 1rem; }
.kd-hero__karte span { color: var(--kd-text-leise); }
.kd-hero__karte-symbol { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--kd-hell); color: var(--kd-blau); }
.kd-hero__karte-symbol .kd-icon { width: 24px; height: 24px; }
@media (min-width: 900px) {
  .kd-hero__raster { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
  .kd-hero__bild { margin-bottom: 30px; }
  .kd-hero__bild .kd-foto img { aspect-ratio: 4 / 4.6; }
  .kd-hero__karte { position: absolute; left: -34px; bottom: -28px; margin: 0; }
}

/* Schnellwahl im Hero: vier Kacheln, ein Klick wählt vor und führt ins Formular */
.kd-schnellwahl { margin-top: var(--kd-raum-6); max-width: 40rem; }
.kd-schnellwahl__frage { font-family: var(--kd-font-titel); font-size: 1.25rem; line-height: 1.25; color: var(--kd-blau-nacht); }
.kd-schnellwahl__wahl { display: grid; gap: 10px; margin-top: 14px; }
.kd-schnellwahl__option {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; align-items: center; column-gap: 14px;
  min-height: 68px; padding: 10px 16px 10px 10px;
  background: var(--kd-karte); border: 1.5px solid var(--kd-linie); border-radius: var(--kd-radius);
  box-shadow: var(--kd-schatten-leicht); color: var(--kd-text); text-decoration: none;
  transition: border-color var(--kd-tempo), box-shadow var(--kd-tempo), transform var(--kd-tempo);
}
.kd-schnellwahl__option:hover { border-color: var(--kd-blau); box-shadow: var(--kd-schatten); transform: translateY(-2px); color: var(--kd-text); }
.kd-schnellwahl__option:active { transform: translateY(0); }
.kd-schnellwahl__symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--kd-hell); color: var(--kd-blau); transition: background-color var(--kd-tempo), color var(--kd-tempo); }
.kd-schnellwahl__symbol .kd-icon { width: 26px; height: 26px; }
.kd-schnellwahl__option:hover .kd-schnellwahl__symbol { background: var(--kd-blau); color: #fff; }
.kd-schnellwahl__text { min-width: 0; }
.kd-schnellwahl__name { display: block; font-weight: 700; font-size: 1rem; line-height: 1.25; color: var(--kd-blau-nacht); }
.kd-schnellwahl__zusatz { display: block; margin-top: 3px; font-size: var(--kd-gr-mini); line-height: 1.35; color: var(--kd-text-leise); }
.kd-schnellwahl__pfeil { width: 20px; height: 20px; color: var(--kd-blau); transition: transform var(--kd-tempo); }
.kd-schnellwahl__option:hover .kd-schnellwahl__pfeil { transform: translateX(3px); }
.kd-schnellwahl__fuss {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 16px;
  font-size: var(--kd-gr-klein); color: var(--kd-text-leise);
}
.kd-schnellwahl__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 1.125rem; color: var(--kd-blau); text-decoration: none; }
.kd-schnellwahl__tel:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.kd-schnellwahl__tel .kd-icon { width: 20px; height: 20px; }
@media (max-width: 359.98px) {
  .kd-schnellwahl__option { grid-template-columns: 40px minmax(0, 1fr) 18px; column-gap: 10px; padding-right: 12px; }
  .kd-schnellwahl__symbol { width: 40px; height: 40px; }
  .kd-schnellwahl__name { font-size: 0.9375rem; }
}
@media (min-width: 560px) {
  .kd-schnellwahl__wahl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Belegband auf der Naht zwischen Hero und Leistungen */
.kd-beleg { position: relative; z-index: 3; margin-top: -48px; margin-bottom: -52px; }
.kd-beleg__liste {
  display: grid; gap: 0; margin: 0; padding: 6px clamp(18px, 3vw, 36px);
  background: var(--kd-karte); border: 1px solid var(--kd-linie); border-radius: var(--kd-radius-gross); box-shadow: var(--kd-schatten);
}
.kd-beleg__punkt { display: flex; align-items: center; gap: 16px; min-width: 0; padding-block: 16px; }
.kd-beleg__punkt + .kd-beleg__punkt { border-top: 1px solid var(--kd-linie); }
.kd-beleg__punkt dt {
  flex: none; display: flex; flex-direction: column; gap: 4px;
  font-family: var(--kd-font-titel); line-height: 1; font-size: clamp(2.125rem, 1.7rem + 1.4vw, 2.875rem); color: var(--kd-blau);
  font-variant-numeric: tabular-nums; min-width: 2.6ch;
}
.kd-beleg__punkt dt .kd-sterne .kd-icon { width: 15px; height: 15px; }
.kd-beleg__punkt dd { margin: 0; font-size: var(--kd-gr-klein); line-height: 1.42; color: var(--kd-text-leise); }
.kd-beleg__punkt dd strong { display: block; color: var(--kd-text); font-weight: 700; }
.kd-beleg__punkt dt.kd-beleg__mit-siegel { flex-direction: row; align-items: center; gap: 12px; }
.kd-beleg__siegel { flex: none; width: 54px; height: 54px; }
.kd-beleg + .kd-abschnitt { padding-top: calc(var(--kd-abschnitt) * 0.7 + 60px); }
@media (min-width: 900px) {
  .kd-beleg__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 8px; }
  .kd-beleg__punkt { padding-block: 22px; padding-right: clamp(14px, 2vw, 28px); }
  .kd-beleg__punkt + .kd-beleg__punkt { border-top: 0; padding-left: clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--kd-linie); }
}

/* Leistungen: vier Karten mit Foto */
.kd-leistungen { display: grid; gap: clamp(16px, 2vw, 24px); }
.kd-leistung {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--kd-karte); border: 1px solid var(--kd-linie); border-radius: var(--kd-radius-gross); box-shadow: var(--kd-schatten-leicht);
  transition: transform var(--kd-tempo), box-shadow var(--kd-tempo), border-color var(--kd-tempo);
}
.kd-leistung:hover { transform: translateY(-3px); box-shadow: var(--kd-schatten); border-color: var(--kd-flaeche); }
.kd-leistung__bild { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--kd-hell-2); }
.kd-leistung__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--kd-weich); }
.kd-leistung:hover .kd-leistung__bild img { transform: scale(1.04); }
.kd-leistung__symbol {
  position: absolute; left: 16px; bottom: -22px; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; background: var(--kd-blau); color: #fff; box-shadow: 0 0 0 4px #fff;
}
.kd-leistung__bild { overflow: visible; }
.kd-leistung__bild img { border-radius: var(--kd-radius-gross) var(--kd-radius-gross) 0 0; }
.kd-leistung__symbol .kd-icon { width: 26px; height: 26px; }
.kd-leistung__text { display: flex; flex-direction: column; flex: 1; padding: 36px clamp(18px, 2vw, 24px) 22px; }
.kd-leistung__text h3 { color: var(--kd-blau); }
.kd-leistung__text > p { margin-top: 8px; font-size: var(--kd-gr-klein); color: var(--kd-text-leise); line-height: 1.5; }
.kd-leistung .kd-haken { margin-top: 16px; font-size: var(--kd-gr-klein); }
.kd-leistung .kd-textlink { margin-top: auto; padding-top: 14px; font-size: var(--kd-gr-klein); }
@media (min-width: 640px) { .kd-leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .kd-leistungen { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Ablauf in vier Schritten mit wachsender Linie */
.kd-ablauf { display: grid; gap: 26px; counter-reset: schritt; }
.kd-ablauf li { position: relative; counter-increment: schritt; padding-left: 70px; min-height: 52px; }
.kd-ablauf li::before {
  content: counter(schritt); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 2px solid var(--kd-blau); color: var(--kd-blau); font-family: var(--kd-font-titel); font-size: 1.375rem;
}
.kd-ablauf li.kd-ablauf--stark::before { background: var(--kd-blau); color: #fff; }
.kd-ablauf li:not(:last-child)::after {
  content: ""; position: absolute; left: 25px; top: 60px; bottom: -22px; width: 2px; border-radius: 2px;
  background: var(--kd-flaeche); transform-origin: center top;
}
.kd-ablauf h3 { padding-top: 12px; }
.kd-ablauf p { margin-top: 8px; color: var(--kd-text-leise); font-size: var(--kd-gr-klein); line-height: 1.55; max-width: 34ch; }
.kd-ablauf__marke {
  display: inline-block; margin-top: 10px; padding: 4px 11px; border-radius: 999px;
  background: var(--kd-gelb); color: var(--kd-blau); font-size: var(--kd-gr-mini); font-weight: 700; line-height: 1.35;
}
@media (min-width: 900px) {
  .kd-ablauf { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--kd-raum-5); }
  .kd-ablauf li { padding-left: 0; padding-top: 72px; }
  .kd-ablauf li:not(:last-child)::after { left: 64px; right: -12px; top: 25px; bottom: auto; width: auto; height: 2px; transform-origin: left center; }
  .kd-ablauf h3 { padding-top: 0; }
}
.kd-ablauf-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(36px, 4vw, 56px); }

/* Blaues Band: Bezugspflege, Rufbereitschaft, Kassen */
.kd-abschnitt--blau { overflow: hidden; }
.kd-band__herz { position: absolute; right: -8%; bottom: -26%; width: min(620px, 70vw); opacity: 0.07; pointer-events: none; filter: brightness(0) invert(1); }
.kd-band { position: relative; display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.kd-band__text > p { margin-top: var(--kd-raum-4); color: rgba(255, 255, 255, 0.86); font-size: var(--kd-gr-lead); line-height: 1.55; max-width: 36rem; }
.kd-zahlen { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: var(--kd-raum-6) 0 0; }
.kd-zahlen div { min-width: 0; }
.kd-zahlen dt { font-family: var(--kd-font-titel); font-size: clamp(2.125rem, 1.7rem + 1.6vw, 3rem); line-height: 1; color: var(--kd-gelb); font-variant-numeric: tabular-nums; }
.kd-zahlen dd { margin: 6px 0 0; font-size: var(--kd-gr-klein); color: rgba(255, 255, 255, 0.86); }
.kd-saeulen { display: grid; gap: 14px; }
.kd-saeule {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--kd-radius);
}
.kd-saeule__symbol { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--kd-blau); }
.kd-saeule__symbol .kd-icon { width: 26px; height: 26px; }
.kd-saeule h3 { font-size: 1.1875rem; }
.kd-saeule p { margin-top: 6px; font-size: var(--kd-gr-klein); color: rgba(255, 255, 255, 0.88); line-height: 1.5; }
.kd-saeule a { color: #fff; font-weight: 700; }
@media (min-width: 900px) { .kd-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Stimmen von Familien (Google-Bewertungen im Wortlaut) */
.kd-stimmen-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 3vw, 48px); }
.kd-stimmen-kopf .kd-titelblock { margin-bottom: 0; }
.kd-wertungen { display: flex; flex-wrap: wrap; gap: 12px; }
.kd-wertung--siegel img { width: 52px; height: 52px; }
.kd-wertung--siegel { gap: 10px; }
.kd-wertung { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: var(--kd-radius); background: var(--kd-hell); }
.kd-wertung__zahl { font-family: var(--kd-font-titel); font-size: 2.25rem; line-height: 1; color: var(--kd-blau); }
.kd-wertung small { display: block; font-size: var(--kd-gr-mini); color: var(--kd-text-leise); line-height: 1.35; }
.kd-stimmen { display: grid; gap: clamp(16px, 2vw, 24px); }
.kd-stimme {
  position: relative; display: flex; flex-direction: column; gap: 18px; margin: 0; padding: clamp(22px, 2.6vw, 32px);
  background: var(--kd-karte); border: 1px solid var(--kd-linie); border-radius: var(--kd-radius-gross); box-shadow: var(--kd-schatten-leicht);
}
.kd-stimme blockquote { position: relative; margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--kd-text); flex: 1; }
.kd-stimme--gross { background: var(--kd-blau); border-color: var(--kd-blau); color: #fff; }
.kd-stimme--gross blockquote { font-family: var(--kd-font-titel); font-size: clamp(1.3125rem, 1.05rem + 1vw, 1.875rem); line-height: 1.42; color: #fff; flex: 0 1 auto; }
.kd-stimme--gross .kd-sterne { color: var(--kd-gelb); }
.kd-stimme figcaption { display: flex; align-items: center; gap: 12px; }
.kd-stimme__initiale { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--kd-hell); color: var(--kd-blau); font-weight: 700; }
.kd-stimme--gross .kd-stimme__initiale { background: rgba(255, 255, 255, 0.16); color: #fff; }
.kd-stimme__name { display: block; font-weight: 700; line-height: 1.3; }
.kd-stimme__quelle { display: block; font-size: var(--kd-gr-mini); color: var(--kd-text-leise); }
.kd-stimme--gross .kd-stimme__quelle { color: rgba(255, 255, 255, 0.8); }
@media (min-width: 900px) {
  .kd-stimmen { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .kd-stimme--gross { grid-row: 1 / span 2; justify-content: space-between; }
}

/* Anfrage */
.kd-abschnitt--anfrage { background: linear-gradient(180deg, var(--kd-hell) 0%, #F5F9FE 100%); overflow: hidden; }
.kd-anfrage__herz { position: absolute; left: -14%; bottom: -12%; width: min(560px, 70vw); opacity: 0.07; pointer-events: none; }
.kd-anfrage { position: relative; display: grid; gap: var(--kd-raum-6); }
.kd-anfrage__kopf > p { margin-top: var(--kd-raum-4); max-width: 32rem; color: var(--kd-text-leise); font-size: var(--kd-gr-lead); line-height: 1.55; }
.kd-anfrage__punkte { margin-top: 0; }
.kd-anfrage__tel { margin-top: var(--kd-raum-6); padding: 20px 22px; border-radius: var(--kd-radius); background: #fff; border: 1px solid var(--kd-linie); max-width: 26rem; }
.kd-anfrage__tel small { display: block; font-size: var(--kd-gr-klein); color: var(--kd-text-leise); line-height: 1.45; }
.kd-anfrage__tel a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--kd-font-titel); font-size: 1.625rem; text-decoration: none; white-space: nowrap; }
.kd-anfrage__tel a .kd-icon { width: 24px; height: 24px; }
@media (max-width: 899.98px) { .kd-anfrage__herz { display: none; } }
@media (min-width: 900px) {
  .kd-anfrage { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; grid-template-areas: "kopf form" "mehr form"; column-gap: clamp(32px, 5vw, 80px); row-gap: var(--kd-raum-5); align-items: start; }
  .kd-anfrage__kopf { grid-area: kopf; }
  .kd-anfrage__mehr { grid-area: mehr; }
  .kd-anfrage > .kd-formular { grid-area: form; }
}

/* Abschluss und Fuß */
.kd-abschluss { position: relative; overflow: hidden; padding-block: clamp(56px, 5vw + 32px, 104px); background: var(--kd-blau-tief); color: #fff; --kd-fokus: #fff; }
.kd-abschluss__herz { position: absolute; left: 50%; top: 50%; width: min(760px, 120vw); transform: translate(-50%, -46%); opacity: 0.06; filter: brightness(0) invert(1); pointer-events: none; }
.kd-abschluss__inhalt { position: relative; text-align: center; max-width: 44rem; margin-inline: auto; }
.kd-abschluss h2 { color: #fff; }
.kd-abschluss p { margin-top: var(--kd-raum-4); color: rgba(255, 255, 255, 0.88); font-size: var(--kd-gr-lead); }
.kd-abschluss__knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: var(--kd-raum-6); }
.kd-abschluss__knoepfe .kd-knopf { flex: 0 1 auto; }
.kd-fuss { background: var(--kd-blau-nacht); color: rgba(255, 255, 255, 0.84); font-size: var(--kd-gr-klein); --kd-fokus: #fff; }
.kd-fuss__zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 22px; }
.kd-fuss nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.kd-fuss a, .kd-fuss__knopf { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: underline; text-underline-offset: 0.2em; background: none; border: 0; padding: 0; font-size: inherit; }

/* Danke-Seite */
.kd-danke { position: relative; overflow: hidden; flex: 1; padding-block: clamp(40px, 5vw + 20px, 96px); background: linear-gradient(180deg, var(--kd-hell) 0%, #fff 100%); }
.kd-danke__karte { position: relative; max-width: 760px; margin-inline: auto; padding: clamp(24px, 4vw, 52px); background: #fff; border: 1px solid var(--kd-linie); border-radius: var(--kd-radius-gross); box-shadow: var(--kd-schatten); }
.kd-danke__symbol { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--kd-ok-ton); color: var(--kd-ok); margin-bottom: var(--kd-raum-5); }
.kd-danke__symbol .kd-icon { width: 36px; height: 36px; }
.kd-danke__karte > p { margin-top: var(--kd-raum-4); color: var(--kd-text-leise); font-size: var(--kd-gr-lead); }
.kd-danke__tel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: var(--kd-raum-6); padding: 18px 20px; border-radius: var(--kd-radius); background: var(--kd-hell); }
.kd-danke__tel a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--kd-font-titel); font-size: 1.5rem; text-decoration: none; white-space: nowrap; }
.kd-danke__tel small { font-size: var(--kd-gr-klein); color: var(--kd-text-leise); }
.kd-danke h2 { margin-top: var(--kd-raum-7); font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
.kd-danke .kd-ablauf { margin-top: var(--kd-raum-5); }
@media (min-width: 900px) { .kd-danke .kd-ablauf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 8 · Formular in Schritten (Engine aus valde vita) --------------------------- */
.kd-formular {
  position: relative; background: var(--kd-karte); border: 1px solid var(--kd-linie); border-radius: var(--kd-radius-gross);
  padding: clamp(20px, 3vw, 40px); box-shadow: var(--kd-schatten);
}
.kd-formular fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.kd-formular__fortschritt { display: flex; align-items: center; gap: 12px; margin-bottom: var(--kd-raum-5); font-size: var(--kd-gr-klein); font-weight: 600; color: var(--kd-text-leise); }
.kd-formular__balken { flex: 1; height: 6px; border-radius: 999px; background: var(--kd-hell); overflow: hidden; }
.kd-formular__balken span { display: block; height: 100%; width: 20%; border-radius: 999px; background: var(--kd-blau); transition: width 320ms ease; }
.kd-formular__frage, .kd-formular legend.kd-formular__frage {
  display: block; width: 100%; padding: 0; margin: 0 0 var(--kd-raum-5);
  font-family: var(--kd-font-titel); font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem); line-height: 1.25; color: var(--kd-blau-nacht);
}
.kd-formular__frage small { display: block; margin-top: 6px; font-family: var(--kd-font-text); font-size: var(--kd-gr-klein); color: var(--kd-text-leise); }
.kd-formular__frage:focus-visible { outline-offset: 6px; }
.kd-formular__schritt + .kd-formular__schritt { margin-top: var(--kd-raum-7); }
.kd-formular--aktiv .kd-formular__schritt + .kd-formular__schritt { margin-top: 0; }
.kd-formular__fuss { display: flex; flex-wrap: wrap-reverse; gap: var(--kd-raum-3); align-items: center; justify-content: space-between; margin-top: var(--kd-raum-6); }
.kd-formular__fuss .kd-knopf { flex: 1 1 220px; }
.kd-formular__fuss .kd-textlink { flex: none; }
.kd-formular__klein { margin-top: var(--kd-raum-4); font-size: var(--kd-gr-mini); line-height: 1.45; color: var(--kd-text-leise); }

.kd-auswahl { display: grid; gap: 10px; }
.kd-auswahl__option { position: relative; display: block; cursor: pointer; }
.kd-auswahl__option input { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin: -11px 0 0; opacity: 0; cursor: pointer; }
.kd-auswahl__option > span {
  display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 12px 18px 12px 16px;
  border: 1.5px solid var(--kd-linie-feld); border-radius: 10px; background: var(--kd-karte);
  font-weight: 600; line-height: 1.3;
  transition: border-color var(--kd-tempo), background-color var(--kd-tempo), box-shadow var(--kd-tempo);
}
.kd-auswahl__option > span::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--kd-linie-feld); background: #fff;
  transition: border-color var(--kd-tempo), background-color var(--kd-tempo), box-shadow var(--kd-tempo);
}
.kd-auswahl__option input[type="checkbox"] + span::before { border-radius: 6px; }
.kd-auswahl__text { display: block; min-width: 0; }
.kd-auswahl__option small { display: block; font-weight: 400; font-size: var(--kd-gr-klein); color: var(--kd-text-leise); margin-top: 2px; }
.kd-auswahl__option:hover > span { border-color: var(--kd-blau); }
.kd-auswahl__option input:checked + span { border-color: var(--kd-blau); background: var(--kd-hell); box-shadow: inset 0 0 0 1px var(--kd-blau); }
.kd-auswahl__option input[type="radio"]:checked + span::before { border-color: var(--kd-blau); background: var(--kd-blau); box-shadow: inset 0 0 0 4px #fff; }
.kd-auswahl__option input[type="checkbox"]:checked + span::before { border-color: var(--kd-blau); background: var(--kd-blau) var(--kd-bild-haken-weiss) center / 16px no-repeat; }
.kd-auswahl__option input:focus-visible + span { outline: 3px solid var(--kd-fokus); outline-offset: 2px; }
.kd-auswahl--reihe { grid-template-columns: 1fr 1fr; }
.kd-auswahl--reihe .kd-auswahl__option > span { min-height: 50px; padding: 10px 8px; justify-content: center; text-align: center; }
.kd-auswahl--reihe .kd-auswahl__option > span::before { display: none; }
@media (min-width: 620px) { .kd-auswahl--zwei { grid-template-columns: 1fr 1fr; } }

.kd-felder { display: grid; gap: var(--kd-raum-5); }
@media (min-width: 620px) { .kd-felder--zwei { grid-template-columns: 1fr 1fr; } }
.kd-feld { min-width: 0; }
.kd-feld > label, .kd-feld > .kd-feld__label { display: block; padding: 0; margin-bottom: 8px; font-weight: 700; line-height: 1.3; }
.kd-feld__frei { font-weight: 400; color: var(--kd-text-leise); }
.kd-feld > label.kd-zustimmung { font-weight: 400; margin-bottom: 0; }
.kd-feld input[type="text"], .kd-feld input[type="tel"], .kd-feld input[type="email"] {
  display: block; width: 100%; min-height: 54px; padding: 12px 16px;
  border: 1.5px solid var(--kd-linie-feld); border-radius: 10px; background: #fff; font-size: 1.0625rem; line-height: 1.4;
  transition: border-color var(--kd-tempo), box-shadow var(--kd-tempo); -webkit-appearance: none; appearance: none;
}
.kd-feld input.kd-feld--plz { max-width: 12rem; font-size: 1.25rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.kd-feld input::placeholder { color: #6F7C89; opacity: 1; }
.kd-feld input:hover { border-color: var(--kd-blau); }
.kd-feld input:focus-visible { outline: 3px solid var(--kd-fokus); outline-offset: 2px; border-color: var(--kd-blau); border-radius: 10px; }
.kd-feld__hilfe { margin-top: 8px; font-size: var(--kd-gr-klein); line-height: 1.4; color: var(--kd-text-leise); }
.kd-feld__fehler { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: var(--kd-gr-klein); font-weight: 600; line-height: 1.4; color: var(--kd-fehler); }
.kd-feld__fehler::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; background-color: currentColor; -webkit-mask: var(--kd-i-warnung) center / contain no-repeat; mask: var(--kd-i-warnung) center / contain no-repeat; }
.kd-feld--fehler input[type="text"], .kd-feld--fehler input[type="tel"], .kd-feld--fehler input[type="email"] { border-color: var(--kd-fehler); background: var(--kd-fehler-ton); box-shadow: inset 0 0 0 1px var(--kd-fehler); }
.kd-feld--fehler .kd-auswahl__option > span { border-color: var(--kd-fehler); }
.kd-feld--fehler .kd-zustimmung > span::before { border-color: var(--kd-fehler); }
.kd-gebiet { margin-top: 12px; }
.kd-hinweis { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; background: var(--kd-hell); color: var(--kd-text); font-size: var(--kd-gr-klein); line-height: 1.5; }
.kd-hinweis .kd-icon { color: var(--kd-blau); margin-top: 1px; width: 20px; height: 20px; }

.kd-zustimmung { position: relative; display: block; cursor: pointer; }
.kd-zustimmung input { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.kd-zustimmung > span { display: flex; gap: 14px; align-items: flex-start; font-size: var(--kd-gr-klein); line-height: 1.5; color: var(--kd-text); padding-block: 9px; }
.kd-zustimmung > span::before { content: ""; flex: none; width: 26px; height: 26px; margin-top: -2px; border-radius: 7px; border: 2px solid var(--kd-linie-feld); background: #fff; }
.kd-zustimmung input:checked + span::before { border-color: var(--kd-blau); background: var(--kd-blau) var(--kd-bild-haken-weiss) center / 18px no-repeat; }
.kd-zustimmung input:focus-visible + span { outline: 3px solid var(--kd-fokus); outline-offset: 4px; border-radius: 8px; }
.kd-zustimmung a { position: relative; z-index: 1; font-weight: 700; }

.kd-meldung { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 10px; line-height: 1.45; }
.kd-meldung--fehler { background: var(--kd-fehler-ton); color: #7A1610; border: 1px solid #E8B4AF; margin-bottom: var(--kd-raum-5); }
.kd-meldung--fehler a { color: inherit; font-weight: 700; }
.kd-formular__erfolg h3 { font-size: clamp(1.4375rem, 1.3rem + 0.6vw, 1.75rem); }
.kd-formular__erfolg p { margin-top: var(--kd-raum-4); color: var(--kd-text-leise); }
.kd-falle { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* 9 · Hilfsklassen ----------------------------------------------------------- */
.kd-unsichtbar { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.kd-oben-4 { margin-top: var(--kd-raum-4); }
.kd-oben-5 { margin-top: var(--kd-raum-5); }

/* 10 · Bewegung ---------------------------------------------------------------
   Auftakt im Hero (Text, Marker unter „zu Hause“, Foto, Karte, Belegband), ein Einblenden je
   Abschnittsblock, die Linie im Ablauf, Hochzählen der Kennzahlen, weiche Formularschritte.
   Alles läuft einmal. Mit ?ruhig=1 oder „Bewegung reduzieren“ steht alles sofort. */
.kd-ruhig *, .kd-ruhig *::before, .kd-ruhig *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@keyframes kd-auf { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes kd-heben { from { opacity: 0; transform: translateY(22px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes kd-herz { from { opacity: 0; transform: scale(0.86) rotate(-6deg); } to { opacity: 0.16; transform: none; } }
@keyframes kd-strich { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.kd-hero__text > * { animation: kd-auf 640ms var(--kd-weich) both; }
.kd-hero__text > :nth-child(1) { animation-delay: 30ms; }
.kd-hero__text > :nth-child(2) { animation-delay: 100ms; }
.kd-hero__text > :nth-child(3) { animation-delay: 180ms; }
.kd-hero__text > :nth-child(4) { animation-delay: 260ms; }
.kd-hero__text > :nth-child(5) { animation-delay: 340ms; }
.kd-hero .kd-marker::after { animation: kd-strich 700ms 520ms cubic-bezier(0.6, 0, 0.2, 1) both; }
.kd-schnellwahl__option { animation: kd-auf 520ms var(--kd-weich) both; }
.kd-schnellwahl__option:nth-child(1) { animation-delay: 380ms; }
.kd-schnellwahl__option:nth-child(2) { animation-delay: 440ms; }
.kd-schnellwahl__option:nth-child(3) { animation-delay: 500ms; }
.kd-schnellwahl__option:nth-child(4) { animation-delay: 560ms; }
.kd-hero__bild .kd-foto { animation: kd-heben 900ms 80ms var(--kd-weich) both; }
.kd-hero__herz { animation: kd-herz 1400ms 120ms var(--kd-weich) both; }
.kd-hero__karte { animation: kd-auf 600ms 640ms var(--kd-weich) both; }
.kd-beleg__liste { animation: kd-auf 640ms 480ms var(--kd-weich) both; }

/* Ablauf: Kreise erscheinen nacheinander, die Linie wächst zum nächsten */
.kd-ablauf.kd-szene li { transition: opacity 480ms ease, transform 480ms var(--kd-weich); }
.kd-ablauf.kd-szene li::after { transition: transform 560ms cubic-bezier(0.4, 0, 0.2, 1); }
.kd-ablauf.kd-szene li:nth-child(2) { transition-delay: 280ms; }
.kd-ablauf.kd-szene li:nth-child(3) { transition-delay: 560ms; }
.kd-ablauf.kd-szene li:nth-child(4) { transition-delay: 840ms; }
.kd-ablauf.kd-szene li:nth-child(1)::after { transition-delay: 180ms; }
.kd-ablauf.kd-szene li:nth-child(2)::after { transition-delay: 460ms; }
.kd-ablauf.kd-szene li:nth-child(3)::after { transition-delay: 740ms; }
.kd-ablauf.kd-vor li { opacity: 0; transform: translateY(12px); }
.kd-ablauf.kd-vor li::after { transform: scaleY(0); }
@media (min-width: 900px) { .kd-ablauf.kd-vor li::after { transform: scaleX(0); } }

/* Ein Einblenden je Abschnittsblock; Raster staffeln ihre Karten */
.kd-block { transition: opacity 600ms ease, transform 600ms var(--kd-weich); }
.kd-block.kd-vor { opacity: 0; transform: translateY(16px); }
.kd-staffel > * { transition: opacity 520ms ease, transform 520ms var(--kd-weich); transition-delay: calc(var(--kd-nr, 0) * 80ms); }
.kd-staffel.kd-vor > * { opacity: 0; transform: translateY(16px); }

/* Formularschritte gleiten weich herein */
@keyframes kd-schritt { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.kd-js .kd-formular__schritt:not([hidden]) { animation: kd-schritt 300ms var(--kd-weich) both; }

/* Fragen öffnen weich, wo der Browser es kann */
@supports (interpolate-size: allow-keywords) {
  .kd-faq { interpolate-size: allow-keywords; }
  .kd-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 300ms ease, content-visibility 300ms allow-discrete; }
  .kd-faq details[open]::details-content { block-size: auto; }
}
.kd-danke h1 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); max-width: 22ch; }
