/* ============================================================
   MEDARIS · Landingpage für Ärztinnen und Ärzte
   Tokens aus dem Medaris Design System (05_Marketing/Branding/design-system-medaris)
   ============================================================ */

:root {
  /* Marke · Petrol und Stahlblau */
  --ink:        #0C2C3E;   /* Tinte: Wortmarke, Überschriften */
  --petrol-700: #1A4459;   /* Buttons, Flächen */
  --petrol-500: #35657E;   /* Links, Info */
  --stahl-400:  #6F95A2;   /* Icons, Diagramme */
  --stahl-50:   #ECF3F5;   /* ruhige Abschnittsfläche */
  --linie-kuehl:#C9D6DD;   /* Rahmen auf Petrolflächen */

  /* Akzent · Ärztevermittlung (Salbei) */
  --akz-700: #3E7360;
  --akz-600: #57937A;
  --akz-500: #7DB49C;
  --akz-200: #9ECEBD;
  --akz-50:  #EFF6F2;

  /* Text · vier Stufen */
  --t-h:    #0C2C3E;
  --t-body: #3A4C56;
  --t-sec:  #5E6A71;
  --t-ph:   #727E84;

  /* Flächen und Linien */
  --papier: #FBFAF7;
  --sand:   #F3F0EA;
  --karte:  #FFFFFF;
  --linie:  #E4E0D7;
  --steuer: #8C979D;

  /* Semantik */
  --erfolg:  #2E6B52;
  --hinweis: #A9791F;
  --fehler:  #A8443C;
  --info:    #35657E;

  /* Schrift */
  --f-head: Gabarito, "Segoe UI", system-ui, sans-serif;
  --f-body: Figtree, "Segoe UI", system-ui, sans-serif;

  /* Radien */
  --r-feld: 8px;
  --r-btn: 10px;
  --r-inner: 12px;
  --r-karte: 14px;

  /* Schatten */
  --sh-ruhe:  0 1px 2px rgba(16,38,48,.05);
  --sh-karte: 0 1px 2px rgba(16,38,48,.04), 0 16px 32px -24px rgba(16,38,48,.45);
  --sh-over:  0 2px 4px rgba(16,38,48,.05), 0 28px 50px -28px rgba(16,38,48,.5);

  /* Raster */
  --max: 1200px;
  --rand: 64px;
  --sec: 96px;
  --header-h: 76px;
}

@media (max-width: 900px) {
  :root { --rand: 24px; --sec: 64px; --header-h: 64px; }
}
@media (max-width: 640px) {
  :root { --sec: 48px; }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--t-body);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--t-h);
  margin: 0;
  text-wrap: pretty;
}
h1 { font-weight: 700; font-size: 54px; line-height: 1.06; letter-spacing: -0.032em; }
h2 { font-weight: 600; font-size: 40px; line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-weight: 600; font-size: 23px; line-height: 1.22; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--petrol-700); text-decoration: underline; text-decoration-color: var(--akz-200); text-underline-offset: 3px; transition: color 150ms ease; }
a:hover { color: var(--akz-700); }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--akz-200); color: var(--ink); }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--papier), 0 0 0 6px var(--akz-500); border-radius: var(--r-btn); }

@media (max-width: 900px) {
  h1 { font-size: 40px; letter-spacing: -0.028em; line-height: 1.1; }
  h2 { font-size: 30px; letter-spacing: -0.022em; line-height: 1.18; }
}
@media (max-width: 640px) {
  h1 { font-size: 32px; }
  h2 { font-size: 27px; }
  h3 { font-size: 21px; }
}

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; padding-inline: var(--rand); }
.section { padding-block: var(--sec); }
.section--sand { background: var(--sand); }
.section--stahl { background: var(--stahl-50); }
.section--ink { background: var(--ink); color: #C6D3DA; }
.section--ink h2, .section--ink h3 { color: var(--papier); }

.lead { font-size: 19px; line-height: 1.62; max-width: 620px; text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.57; color: var(--t-sec); }
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-sec); }
.label--akz { color: var(--akz-700); }
.section--ink .label { color: #9CB2BD; }

.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.sec-head .lead { max-width: 680px; }
.sec-head--center { align-items: center; text-align: center; margin-inline: auto; }
@media (max-width: 640px) { .sec-head { margin-bottom: 32px; } }

/* ---------- Kicker / Chips ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: var(--akz-50); border: 1px solid var(--akz-200); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--akz-700);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--akz-500); flex-shrink: 0; }
@media (max-width: 480px) { .kicker__more { display: none; } }

.chip { font-size: 13px; padding: 8px 12px; border-radius: 999px; background: var(--sand); color: var(--t-body); white-space: nowrap; }
.marker { font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.marker--akz { background: var(--akz-50); color: var(--akz-700); }
.marker--info { background: var(--stahl-50); color: var(--petrol-700); }
.marker--neutral { background: var(--sand); color: var(--t-sec); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--f-body); font-size: 16px; font-weight: 600; line-height: 1;
  border-radius: var(--r-btn); height: 48px; padding: 0 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn--primary { background: var(--petrol-700); color: var(--papier); }
.btn--primary:hover { background: var(--ink); color: var(--papier); }
.btn--secondary { background: var(--karte); color: var(--petrol-700); border-color: var(--linie-kuehl); }
.btn--secondary:hover { border-color: var(--petrol-700); color: var(--petrol-700); }
.btn--inverse { background: var(--papier); color: var(--petrol-700); }
.btn--inverse:hover { background: #FFFFFF; color: var(--ink); }
.btn--ruhig { background: var(--akz-50); color: var(--akz-700); }
.btn--ruhig:hover { background: var(--akz-200); color: var(--akz-700); }
.btn--text { background: transparent; color: var(--petrol-700); padding: 0 4px; }
.btn--text:hover { color: var(--akz-700); }
.btn--lg { height: 52px; font-size: 17px; }
.btn--sm { height: 44px; font-size: 15px; padding: 0 20px; }
.btn--block { width: 100%; }
.btn[disabled] { background: var(--linie); color: var(--t-ph); cursor: not-allowed; }
.btn svg { flex-shrink: 0; }

/* ---------- Icons ---------- */
.ic { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic--sm { width: 18px; height: 18px; }
.ic--akz { color: var(--akz-600); }
.ic--petrol { color: var(--petrol-700); }
.ic--stahl { color: var(--stahl-400); }
.ic--arrow, .ic--check { stroke-width: 1.8; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--papier); border-bottom: 1px solid var(--linie);
}
.header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo svg, .logo img { height: 34px; width: auto; }
.header__nav { display: flex; gap: 24px; align-items: center; flex-grow: 1; justify-content: center; }
.header__nav a { font-size: 15px; font-weight: 500; color: #2A3D46; text-decoration: none; height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
@media (max-width: 1100px) { .header__nav { display: none; } }
.header__nav a:hover { color: var(--akz-700); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--petrol-700); text-decoration: none; height: 44px; }
.header__phone-ic { display: none; }
@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__actions { display: none; } /* Telefon und CTA liegen mobil in der Sticky-Leiste unten */
  .logo svg, .logo img { height: 28px; }
  .header__phone { width: 44px; height: 44px; border: 1px solid var(--steuer); border-radius: var(--r-btn); justify-content: center; }
  .header__phone span { display: none; }
  .header__phone-ic { display: block; }
  .header__cta { height: 44px; font-size: 15px; padding: 0 16px; }
}
@media (max-width: 400px) {
  .header__cta { padding: 0 12px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 72px var(--sec); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__checks { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--t-body); }
.check .ic { width: 18px; height: 18px; color: var(--akz-600); stroke-width: 1.8; }
.hero__bottom { padding-top: 72px; }
@media (max-width: 900px) {
  .hero { padding-block: 40px var(--sec); }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { gap: 20px; }
  .hero__checks { flex-direction: column; gap: 10px; }
  .hero__ctas .btn { width: 100%; }
  .hero__bottom { padding-top: 48px; }
}

/* Anonymes Profil · Hero-Visual */
.profile {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte);
  box-shadow: var(--sh-over); padding: 24px; position: relative;
}
.profile__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.profile__head .label { margin-bottom: 8px; }
.profile__title { font-family: var(--f-head); font-weight: 600; font-size: 24px; color: var(--t-h); line-height: 1.22; letter-spacing: -0.02em; }
.profile__sub { font-size: 15px; color: var(--t-body); margin-top: 4px; }
.profile__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.profile__rows { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--linie); }
.profile__row { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linie); font-size: 15px; align-items: baseline; }
.profile__row dt { color: var(--t-sec); font-size: 14px; }
.profile__row dd { margin: 0; color: var(--t-h); font-weight: 500; }
.profile__row--locked dd { color: var(--t-sec); font-weight: 400; display: inline-flex; align-items: center; gap: 8px; }
.profile__row--locked .ic { width: 16px; height: 16px; color: var(--stahl-400); }
.profile__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; }
.profile__note { font-size: 13px; color: var(--t-sec); line-height: 1.5; margin-top: 12px; }
.profile__badge {
  position: absolute; top: -14px; right: 24px;
  background: var(--akz-50); border: 1px solid var(--akz-200); color: var(--akz-700);
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}
@media (max-width: 640px) {
  .profile { padding: 20px; }
  .profile__row { grid-template-columns: 1fr; gap: 2px; }
  .profile__title { font-size: 21px; }
}

/* ---------- Fotos ---------- */
.photo { margin: 0; border-radius: var(--r-karte); overflow: hidden; background: var(--sand); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--banner { aspect-ratio: 21 / 9; margin-bottom: 32px; }
.photo figcaption { font-size: 13px; line-height: 1.5; color: var(--t-sec); padding: 12px 16px; background: var(--karte); border-top: 1px solid var(--linie); }
.photo:has(figcaption) { display: flex; flex-direction: column; aspect-ratio: auto; border: 1px solid var(--linie); }
.photo:has(figcaption) img { aspect-ratio: 3 / 2; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 48px; }
.split .sec-head { margin-bottom: 0; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .photo--banner { aspect-ratio: 16 / 9; margin-bottom: 24px; }
}

.hero--kliniken h1 { font-size: 48px; }
@media (max-width: 900px) { .hero--kliniken h1 { font-size: 36px; } }
@media (max-width: 640px) { .hero--kliniken h1 { font-size: 30px; } }

/* Hero: Foto */
.hero__visual { position: relative; }
.hero__photo { aspect-ratio: 4 / 5; box-shadow: var(--sh-karte); }
.hero__photo img { object-position: 60% 50%; }
@media (max-width: 900px) {
  .hero__photo { aspect-ratio: 4 / 3; }
}

/* ---------- Karten ---------- */
.card { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 28px; }
.card--flat { box-shadow: none; }
.card--akz { background: var(--akz-50); border-color: var(--akz-200); }
.card--sand { background: var(--sand); border-color: var(--linie); }
.card--stahl { background: var(--stahl-50); border-color: var(--linie-kuehl); }
.card .ic { margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; line-height: 1.6; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px; }
}

/* ---------- Woran es hakt ---------- */
.saetze { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.satz {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte);
  padding: 20px 24px; display: flex; gap: 16px; align-items: flex-start;
  font-family: var(--f-head); font-weight: 500; font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; color: var(--t-h);
}
.satz__q { width: 24px; height: 24px; flex-shrink: 0; color: var(--stahl-400); stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.saetze__after { margin-top: 32px; font-size: 17px; max-width: 640px; }
@media (max-width: 900px) { .saetze { grid-template-columns: 1fr; } .satz { font-size: 17px; padding: 18px 20px; } }

/* ---------- Passt das ---------- */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.fit__list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 14px; }
.fit__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.fit__list .ic { width: 20px; height: 20px; margin-top: 3px; margin-bottom: 0; }
.fit__list--ja .ic { color: var(--akz-600); stroke-width: 1.8; }
.fit__list--nein .ic { color: var(--t-sec); stroke-width: 1.6; }
.fit__list small { display: block; font-size: 14px; color: var(--t-sec); margin-top: 2px; }
.fit__after { margin-top: 24px; font-size: 15px; color: var(--t-sec); }
@media (max-width: 900px) { .fit { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.step { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step__num { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--papier); background: var(--petrol-700); font-variant-numeric: tabular-nums; }
.step:nth-child(2) .step__num { background: var(--akz-500); color: #FFFFFF; }
.step:nth-child(3) .step__num { background: var(--stahl-400); }
.step:nth-child(4) .step__num { background: var(--ink); }
.step__meta { font-size: 13px; color: var(--t-sec); }
.step h3 { font-size: 21px; }
.step p { font-size: 15px; line-height: 1.6; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; gap: 16px; } .step { padding: 24px; } }

.kosten {
  margin-top: 32px; display: flex; gap: 16px; align-items: flex-start;
  background: var(--stahl-50); border: 1px solid var(--linie-kuehl); border-radius: var(--r-karte); padding: 20px 24px;
  font-size: 15px; line-height: 1.6; color: var(--petrol-700);
}
.kosten .ic { color: var(--info); margin-top: 1px; }

/* ---------- Vergleichstabelle (Klinikseite) ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte); overflow: hidden; font-size: 15px; line-height: 1.55; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linie); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-sec); background: var(--sand); }
.compare thead th.compare__us { color: var(--akz-700); background: var(--akz-50); }
.compare tbody th { font-weight: 600; color: var(--t-h); width: 22%; }
.compare td.compare__us { background: var(--akz-50); color: var(--t-h); }
.compare td.compare__them { color: var(--t-sec); }
.compare-wrap { overflow-x: auto; }
@media (max-width: 640px) {
  .compare { font-size: 14px; display: block; border: 0; background: transparent; overflow: visible; }
  .compare thead { display: none; }
  .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte); overflow: hidden; margin-bottom: 12px; }
  .compare tbody th { width: auto; padding: 14px 16px 6px; border-bottom: 0; font-family: var(--f-head); font-size: 17px; letter-spacing: -0.01em; }
  .compare td { padding: 10px 16px 14px; border-bottom: 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
  .compare td.compare__them::before { color: var(--t-sec); }
  .compare td.compare__us::before { color: var(--akz-700); }
  .compare td.compare__us { border-top: 1px solid var(--akz-200); }
  .compare tr:last-child td { border-bottom: 0; }
}

/* Dreispaltiger Vergleich (Ärzteseite) */
.compare--3 { box-shadow: var(--sh-karte); }
.compare--3 thead th.compare__us { background: var(--petrol-700); color: var(--papier); }
.compare--3 tbody th { width: 19%; }
.compare--3 td.compare__them { width: 24%; }
.compare--3 td.compare__us {
  width: 33%; font-weight: 500; padding-left: 48px;
  background: var(--akz-50) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2357937A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5 10 17 19 7.5'/></svg>") no-repeat 18px 17px;
}
.compare--3 tbody tr:last-child td.compare__us { border-bottom-right-radius: var(--r-karte); }
.vergleich__cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--sand); border-radius: var(--r-karte); padding: 24px 28px; }
.vergleich__cta p { font-size: 17px; line-height: 1.55; color: var(--t-h); max-width: 560px; }
@media (max-width: 900px) {
  .compare--3 { font-size: 14px; }
  .compare--3 th, .compare--3 td { padding: 14px 14px; }
  .compare--3 td.compare__us { padding-left: 42px; background-position: 14px 15px; }
}
@media (max-width: 640px) {
  .compare--3 { box-shadow: none; }
  .compare--3 tbody th, .compare--3 td.compare__them, .compare--3 td.compare__us { width: auto; }
  .compare--3 td.compare__them + td.compare__them { border-top: 1px solid var(--linie); }
  .compare--3 td.compare__us { padding-left: 16px; background-image: none; }
  .vergleich__cta { padding: 20px; margin-top: 24px; }
  .vergleich__cta .btn { width: 100%; }
}

/* USP-Karten mit Nummer */
.usp { position: relative; }
.usp__num { font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; color: var(--akz-700); margin-bottom: 12px; }
.usp p + p { margin-top: 10px; }
.usp__proof { font-size: 14px; color: var(--t-sec); border-top: 1px solid var(--linie); padding-top: 12px; margin-top: 14px; }
.usp--wide { grid-column: span 2; }
@media (max-width: 900px) { .usp--wide { grid-column: span 2; } }
@media (max-width: 640px) { .usp--wide { grid-column: auto; } }

.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps--5 .step:nth-child(5) .step__num { background: var(--petrol-500); }
@media (max-width: 1100px) { .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps--5 { grid-template-columns: 1fr; } }

.konditionen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.konditionen .card strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 21px; color: var(--t-h); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 8px; }
@media (max-width: 900px) { .konditionen { grid-template-columns: 1fr; gap: 16px; } }

.header__nav a.is-current { color: var(--petrol-700); font-weight: 600; border-bottom: 2px solid var(--akz-500); padding-bottom: 2px; }

/* ---------- Zusagen ---------- */
.zusagen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: center; }
.zusagen__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.zusage { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 20px 24px; display: flex; gap: 16px; align-items: flex-start; }
.zusage .ic { color: var(--info); margin-top: 2px; }
.zusage strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 19px; color: var(--t-h); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 4px; }
.zusage p { font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) { .zusagen { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Familie ---------- */
.familie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.familie__item { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte); }
.familie__item .ic { color: var(--akz-600); }
.familie__item strong { font-family: var(--f-head); font-weight: 600; font-size: 19px; color: var(--t-h); letter-spacing: -0.015em; }
.familie__item p { font-size: 14px; line-height: 1.57; color: var(--t-body); }
@media (max-width: 900px) { .familie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .familie { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Ansprechpartner ---------- */
.person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.person__card { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 24px; display: flex; gap: 20px; align-items: flex-start; box-shadow: var(--sh-karte); }
.ph {
  background: repeating-linear-gradient(45deg, var(--linie), var(--linie) 8px, var(--sand) 8px, var(--sand) 16px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 11px; letter-spacing: 0.08em; color: #7A8288; border-radius: var(--r-inner); flex-shrink: 0;
}
.person__foto { width: 112px; height: 136px; }
.person__body { display: flex; flex-direction: column; gap: 10px; }
.person__name { font-size: 19px; font-weight: 600; color: var(--t-h); }
.person__role { font-size: 14px; color: var(--t-sec); margin-top: 2px; }
.person__quote { font-size: 15px; line-height: 1.6; }
.person__links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 4px; }
.person__links a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--petrol-700); text-decoration: none; height: 44px; }
.person__links a:hover { color: var(--akz-700); }
.person__links .ic { width: 17px; height: 17px; }
@media (max-width: 900px) { .person { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .person__card { flex-direction: column; } .person__foto { width: 96px; height: 116px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 0 24px; transition: border-color 150ms ease; }
.faq details[open] { border-color: var(--linie-kuehl); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font-family: var(--f-head); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; color: var(--t-h); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--petrol-700); transition: transform 150ms ease; width: 20px; height: 20px; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; font-size: 15px; line-height: 1.65; max-width: 640px; }
@media (max-width: 640px) { .faq summary { font-size: 17px; } .faq details { padding: 0 20px; } }

/* ---------- Formular ---------- */
.kontakt { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.kontakt__side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px); }
.kontakt__side ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.kontakt__side ol li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.kontakt__side ol .n { width: 26px; height: 26px; border-radius: 50%; background: var(--petrol-700); color: var(--papier); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; gap: 32px; } .kontakt__side { position: static; } }

.form { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 32px; box-shadow: var(--sh-karte); }
@media (max-width: 640px) { .form { padding: 24px 20px; } }
.form__progress { display: flex; gap: 10px; align-items: center; margin-bottom: 24px; }
.form__progress span { height: 6px; border-radius: 4px; background: var(--linie); flex-grow: 1; transition: background-color 150ms ease; }
.form__progress span.is-done, .form__progress span.is-active { background: var(--petrol-700); }
.form__progress em { font-style: normal; font-size: 12px; color: var(--t-sec); white-space: nowrap; }
.form__step { display: none; flex-direction: column; gap: 20px; }
.form__step.is-active { display: flex; }
.form__title { font-family: var(--f-head); font-weight: 600; font-size: 26px; color: var(--t-h); line-height: 1.22; letter-spacing: -0.02em; }
.form__intro { font-size: 15px; line-height: 1.6; margin-top: -8px; }

.fld { display: flex; flex-direction: column; }
.fld label, .fld .lbl { font-size: 14px; font-weight: 600; color: var(--t-h); margin-bottom: 8px; }
.fld .lbl small, .fld label small { font-weight: 400; color: var(--t-sec); }
.fld input[type="text"], .fld input[type="email"], .fld input[type="tel"], .fld select, .fld textarea {
  height: 48px; border: 1px solid var(--steuer); border-radius: var(--r-feld); background: var(--karte);
  padding: 0 16px; font-size: 16px; color: var(--t-h); width: 100%; outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235E6A71' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9.5 12 15.5 18 9.5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.fld textarea { height: auto; min-height: 96px; padding: 12px 16px; line-height: 1.55; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--t-ph); }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--petrol-700); box-shadow: 0 0 0 3px #E7EFF3; }
.fld .hlp { font-size: 13px; color: var(--t-sec); margin-top: 8px; line-height: 1.5; }
.fld.is-error input, .fld.is-error select, .fld.is-error textarea { border-color: var(--fehler); background: #FDF4F3; }
.fld .err { display: none; font-size: 13px; color: var(--fehler); margin-top: 8px; line-height: 1.5; }
.fld.is-error .err { display: block; }
.fld.is-error label, .fld.is-error .lbl { color: var(--fehler); }

/* Auswahl-Chips (Radio) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; margin: 0; }
.chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 400; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--steuer); background: var(--karte); color: var(--t-body); cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.chips input:checked + span { background: var(--petrol-700); border-color: var(--petrol-700); color: var(--papier); font-weight: 500; }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px var(--papier), 0 0 0 6px var(--akz-500); }
.chips.is-error span { border-color: var(--fehler); }

/* Radio-Liste */
.radios { display: flex; flex-direction: column; gap: 4px; }
.radios label { display: flex; gap: 12px; align-items: center; min-height: 44px; font-weight: 400; margin: 0; cursor: pointer; font-size: 15px; color: var(--t-body); }
.radios input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--steuer); background: var(--karte); margin: 0; flex-shrink: 0; transition: border 150ms ease; cursor: pointer; }
.radios input:checked { border: 6px solid var(--petrol-700); }
.radios input:focus-visible { box-shadow: 0 0 0 3px var(--papier), 0 0 0 6px var(--akz-500); border-radius: 50%; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; }
.consent input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 8px; border: 1px solid var(--steuer); background: var(--karte); margin: 1px 0 0; flex-shrink: 0; cursor: pointer; display: grid; place-items: center; }
.consent input:checked { background: var(--petrol-700); border-color: var(--petrol-700); }
.consent input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--papier); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.consent.is-error input { border-color: var(--fehler); }
.consent .err { display: none; color: var(--fehler); font-size: 13px; }
.consent.is-error .err { display: block; }

.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r-btn); padding: 16px; font-size: 14px; line-height: 1.55; }
.notice--info { background: var(--stahl-50); color: var(--petrol-700); }
.notice--info .ic { color: var(--info); }
.notice--hinweis { background: #FBF3E4; color: #6E4E10; }
.notice--hinweis .ic { color: var(--hinweis); }
.notice--fehler { background: #FDF4F3; color: var(--fehler); }
.notice .ic { width: 20px; height: 20px; margin-top: 1px; }
.notice p + p { margin-top: 8px; }

.form__nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 4px; }
.form__nav .btn--primary { flex-grow: 1; }
.form__nav .btn--text { height: 48px; }
@media (max-width: 640px) { .form__nav { flex-direction: column-reverse; } .form__nav .btn { width: 100%; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__done { display: none; flex-direction: column; gap: 16px; }
.form__done.is-active { display: flex; }
.form__done .ic { width: 40px; height: 40px; color: var(--erfolg); }
.form__done ol { margin: 8px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.6; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Schluss-CTA ---------- */
.final { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.final p { font-size: 17px; line-height: 1.6; max-width: 560px; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 28px; }
.final__photo { box-shadow: var(--sh-over); }
.final__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--papier); text-decoration: none; font-weight: 600; font-size: 16px; height: 44px; }
.final__phone:hover { color: var(--akz-200); }
.final__checks { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
.final__checks .check { color: #C6D3DA; }
@media (max-width: 900px) { .final { grid-template-columns: 1fr; gap: 32px; } .final__ctas { flex-direction: column; align-items: stretch; } .final__ctas .btn { width: 100%; } .final__photo { order: -1; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C6D3DA; padding-block: 48px 32px; border-top: 1px solid #2A4E62; }
.footer__grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 28px; }
.footer__brand { max-width: 320px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; }
.footer__brand img { height: 30px; width: auto; align-self: flex-start; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col .label { color: #9CB2BD; margin-bottom: 4px; }
.footer__col a { color: #C6D3DA; text-decoration: none; }
.footer__col a:hover { color: var(--papier); }
.footer__line { height: 1px; background: #2A4E62; margin-bottom: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #9CB2BD; }

/* ---------- Mobile Sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--papier); border-top: 1px solid var(--linie);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none; gap: 10px;
  transform: translateY(0); transition: transform 200ms ease;
}
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta .btn--primary { flex-grow: 1; }
.sticky-cta__phone { width: 48px; height: 48px; border: 1px solid var(--steuer); border-radius: var(--r-btn); display: inline-flex; align-items: center; justify-content: center; color: var(--petrol-700); flex-shrink: 0; }
@media (max-width: 900px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* ---------- Utilities ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tabnum { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
