/* =========================================================================
   herzkatheter-zweitmeinung.de — Patientenseite
   Zielgruppe 55-80 Jahre, oft am Handy. Ruhig, hell, hoher Kontrast.
   Abgeleitet aus herzkatheter-gmbh-hp, aber:
     - Navy/Blau statt benisa-Rot (Flaechenrot stresst Herzpatienten)
     - keine Monospace (Tech-Marker, falscher Ton)
     - Grundschrift 18-19px, nichts unter 16px, Touch-Targets >= 48px
     - :focus-visible ergaenzt, Reduced-Motion-Bug behoben
   Schrift selbst gehostet (CSP: keine externen Ressourcen).
   ========================================================================= */

@font-face{
  font-family:"Open Sans";
  font-style:normal;
  font-weight:300 800;          /* Variable Font - alle Gewichte in einer Datei */
  font-display:swap;
  src:url("../assets/fonts/open-sans-var.woff2") format("woff2");
}

/* ---------- Design Tokens ---------- */
:root{
  /* Marke - aus logo-sup.svg und den Live-Styles von sandrockundpartner.de */
  --navy:#123171;        /* 12,3:1 AAA - Ueberschriften, Buttons, Karten, Footer */
  --navy-2:#243C74;      /*  9,8:1 AAA - Hover */
  --blue:#2B8FCF;        /*  3,5:1  X  - NUR Flaechen/Icons/Raender, NIE Text */
  --blue-ink:#1A6DA6;    /*  5,6:1 AA  - Links */
  --blue-deep:#145E8C;   /*  7,0:1 AAA - Links im Fliesstext */
  --blue-tint:#E4EEF7;   /* Icon-Felder, aktive Zustaende */
  --blue-wash:#F4F9FD;   /* Sektionsflaechen */
  --page:#F7FBFF;        /* Seitengrund - wie sandrockundpartner.de */

  /* Text */
  --ink:#23303F;         /* 13,4:1 AAA - Fliesstext */
  --ink-2:#3A4A57;       /*  9,4:1 AAA - Lead, Kartentext */
  --muted:#5C666D;       /*  5,9:1 AA  - Meta, Bildunterschriften */
  --line:#D6E1EC;

  /* Herz-Akzent - SPARSAM: nur Logo und Trennregel, NIE Text oder Button */
  --heart:#E6301A;       /*  4,4:1  X  */
  --heart-ink:#B8210F;   /*  6,5:1 AAA - falls Rot doch mal Text sein muss */

  /* Zustaende */
  --ok:#1B7A4B;          /*  5,3:1 AA  - Haekchen */
  --alert:#9B2C1F;       /* Notfallblock - hier ist Rot funktional, nicht dekorativ */
  --alert-bg:#FDF0ED;
  --focus:#0B63C5;       /* sichtbar auf Weiss UND auf Navy */

  /* Dritte Flaeche: warmes Papier. Die Palette war zu 100 % kalt - genau das
     erzeugt den Klinikschimmer. Kontrast: --ink 12,6:1, --navy 11,6:1 */
  --paper:#FBF7F2;
  --paper-line:#EBE2D6;
  --paper-tint:#F2EAE0;

  --glass:rgba(255,255,255,.86);
  --sans:"Open Sans",-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --max:1080px;
  --r-card:20px;
  --shadow:0 18px 44px -22px rgba(18,49,113,.28);
  --shadow-sm:0 6px 20px -12px rgba(18,49,113,.24);
}

/* ---------- Grundlagen ---------- */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:100%}   /* Browser-Zoom des Nutzers respektieren */
body{
  font-family:var(--sans);
  font-size:clamp(1.125rem,1rem + .4vw,1.1875rem);   /* 18 -> 19 px */
  line-height:1.7;
  color:var(--ink);
  background:var(--page);
  -webkit-font-smoothing:antialiased;
  text-wrap:pretty;
}
a{color:inherit;text-decoration:none}
img,svg{max-width:100%;display:block}
section{scroll-margin-top:96px}
p,li{max-width:62ch}                            /* Zeilenlaenge - Kernwert fuer Lesbarkeit */

h1,h2,h3,h4{color:var(--navy);text-wrap:balance}
h1{font-size:clamp(2rem,1.4rem + 2.6vw,3rem);line-height:1.15;letter-spacing:-.015em;font-weight:700}
h2{font-size:clamp(1.65rem,1.2rem + 1.6vw,2.25rem);line-height:1.22;font-weight:700}
h3{font-size:clamp(1.2rem,1.1rem + .35vw,1.35rem);line-height:1.35;font-weight:600}

.container{max-width:var(--max);margin-inline:auto;padding-inline:24px}
.eyebrow{
  font-size:.9375rem;              /* 15px - NICHT 12,5px wie im Template */
  font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--blue-ink);
  display:inline-flex;align-items:center;gap:10px;
}
.eyebrow::before{                  /* die offene Klammer als Marke, kein Punkt */
  content:"";width:9px;height:16px;flex:none;
  border:2px solid currentColor;border-right:none;border-radius:9px 0 0 9px;
  opacity:.55;
}
.lead{
  font-size:clamp(1.1875rem,1.05rem + .6vw,1.375rem);   /* 19 -> 22 px */
  line-height:1.6;color:var(--ink-2);max-width:36ch;
}

/* Die fehlende Ebene zwischen Fliesstext (17px) und H2 (36px).
   Genau dreimal auf der Seite - mehr waere Geschwaetz. */
.statement{
  font-size:clamp(1.4rem,1.1rem + 1.25vw,1.9rem);
  font-weight:300;line-height:1.45;letter-spacing:-.008em;
  color:var(--navy);max-width:26ch;text-wrap:balance;
}
.section.deep .statement{color:#fff}

/* ---------- Fokus: fehlt im Template komplett ---------- */
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:6px}
.cta :focus-visible,.footer :focus-visible,.right-card :focus-visible{outline-color:#fff}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{
  left:16px;top:16px;z-index:100;background:#fff;padding:14px 20px;
  border-radius:12px;box-shadow:var(--shadow);
}

/* ---------- Buttons: min 48px, CTAs 56px ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  font-family:var(--sans);font-weight:700;font-size:1.0625rem;
  min-height:48px;padding:12px 26px;border-radius:14px;
  border:2px solid transparent;cursor:pointer;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.btn-primary{background:var(--navy);color:#fff;box-shadow:var(--shadow-sm)}
.btn-primary:hover{background:var(--navy-2)}
.btn-outline{background:#fff;color:var(--navy);border-color:var(--navy)}
.btn-outline:hover{background:var(--blue-tint)}
.btn-quiet{background:var(--blue-tint);color:var(--navy)}
.btn-quiet:hover{background:#D5E5F2}

/* Doppel-CTA: zweizeilig mit Subline -> Rechteck mit weichen Ecken, keine Pille */
.btn-big{
  min-height:56px;flex-direction:column;align-items:flex-start;gap:2px;
  padding:12px 24px;text-align:left;
}
.btn-big .t{font-size:1.0625rem;font-weight:700;line-height:1.3}
.btn-big .s{font-size:1rem;font-weight:400;opacity:.85;line-height:1.3}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}
.btn-row .btn{flex:1 1 auto;min-width:240px}

/* ---------- Navigation ---------- */
.nav-wrap{position:sticky;top:0;z-index:50;padding:12px 24px;display:flex;justify-content:center}
.nav{
  width:100%;max-width:var(--max);display:flex;align-items:center;justify-content:space-between;
  gap:18px;padding:10px 12px 10px 20px;border-radius:18px;
  background:var(--glass);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid var(--line);box-shadow:var(--shadow-sm);
}
.brand{display:flex;align-items:center;gap:12px}
.brand-logo{height:40px;width:auto;flex:none;display:block}  /* Template: 34px - zu klein */
.brand-mark{height:44px;width:auto;flex:none;display:none}   /* nur Herz-Symbol, Mobil */
.brand-sub{font-size:1.0625rem;font-weight:600;color:var(--muted);white-space:nowrap}
.nav-links{display:flex;align-items:center;gap:24px}
.nav-links a{
  font-weight:600;color:var(--ink-2);font-size:1.0625rem;
  padding:10px 2px;min-height:48px;display:inline-flex;align-items:center;
}
.nav-links a:hover{color:var(--navy)}
.nav-toggle{
  display:none;background:var(--blue-tint);border:none;border-radius:12px;
  width:48px;height:48px;font-size:1.25rem;cursor:pointer;color:var(--navy);
}

/* ---------- Absenderkennzeichnung (HWG § 11 Abs. 1 Nr. 9) ---------- */
.sender{
  background:var(--navy);color:#fff;text-align:center;
  font-size:1rem;padding:9px 24px;
}
.sender b{font-weight:700}

/* ---------- Hero: hell statt dunkelrot ---------- */
.hero{position:relative;padding:40px 0 128px;overflow:hidden}
/* Verlauf ueber die volle Hero-Hoehe - vorher endete er bei 640px, waehrend
   der Hero hoeher ist: die untere Haelfte war farblich tot. */
.hero::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(72% 62% at 88% -6%, rgba(43,143,207,.24), transparent 62%),
    radial-gradient(46% 40% at 4% 104%, rgba(43,143,207,.10), transparent 70%),
    linear-gradient(180deg,#EAF3FA 0%,var(--page) 62%,#F6FAFE 100%);
}
.hero-grid{
  display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:44px;align-items:start;margin-top:34px;
}
.hero-side{padding-top:6px}
/* Hero-Foto: echter Behandlungsraum der Praxisgruppe. Die Merkkarte legt sich
   darueber - dieselbe Ueberlappungs-Geste wie beim Transparenzblock. */
.hero-bild{
  margin:0;border-radius:24px;overflow:hidden;
  box-shadow:0 30px 60px -34px rgba(18,49,113,.5);
  aspect-ratio:16/10;
}
.hero-bild img{width:100%;height:100%;object-fit:cover;display:block}
.hero-side .note-card{margin-top:-56px;margin-inline:18px 0;position:relative;z-index:2}
@media (max-width:960px){
  .hero-bild{aspect-ratio:16/9}
  .hero-side .note-card{margin-top:-40px;margin-inline:14px 0}
}

/* Illustration wandert in die Ablauf-Sektion */
.hero-figure{margin:0;color:var(--navy);--ill-accent:#2B8FCF;max-width:420px}
.hero-figure svg{width:100%;height:auto;display:block}

/* Bildband ueber einer Sektion - volle Breite, flach angeschnitten */
.bildband{
  margin:0 0 44px;border-radius:22px;overflow:hidden;
  box-shadow:0 26px 54px -34px rgba(18,49,113,.45);
}
.bildband img{width:100%;height:100%;object-fit:cover;display:block}
/* Das Team-Foto hat links eine leere Wandflaeche - Ausschnitt auf die Gesichter */
.bildband.flach img{object-position:62% center}
.bildband.flach{aspect-ratio:1400/379}
.bildband.hoch{aspect-ratio:2/1}
.bildband.schmal{aspect-ratio:1400/470;margin-top:44px}
@media (max-width:720px){
  .bildband.flach{aspect-ratio:2/1}
  .bildband.hoch{aspect-ratio:3/2}
  .bildband.schmal{aspect-ratio:2/1}
}
.bild-quelle{
  margin-top:-32px;margin-bottom:44px;font-size:1rem;color:var(--muted);
}
.hero h1{margin:14px 0 18px}
.hero .lead{margin-bottom:6px}
.hero-side{display:flex;flex-direction:column;gap:20px}
.tel-line{margin-top:18px;font-size:1.0625rem;color:var(--ink-2)}
.tel-line a{color:var(--blue-deep);font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* Inline-Links im Fliesstext sind von der WCAG-Mindestgroesse ausgenommen,
   aber eine Telefonnummer ist fuer diese Zielgruppe das wichtigste Tap-Ziel.
   Deshalb bekommt sie eine echte Flaeche statt nur Textbreite. */
.tel-inline{
  display:inline-block;color:var(--blue-deep);font-weight:700;
  text-decoration:underline;text-underline-offset:3px;
  padding:9px 4px;min-height:44px;
}

/* Merkkarte */
.note-card{
  background:#fff;border-left:5px solid var(--blue);
  border-radius:16px;padding:24px 26px;
  box-shadow:0 1px 2px rgba(18,49,113,.055), 0 14px 34px -20px rgba(18,49,113,.32);
}
.note-card h2{font-size:clamp(1.2rem,1.1rem + .35vw,1.35rem);line-height:1.35;font-weight:600;margin-bottom:8px}
.note-card p{color:var(--ink-2);font-size:1.0625rem;line-height:1.6}

/* ---------- Notfall-Block: hier ist Rot funktional ---------- */
.notfall{
  background:var(--alert-bg);border:2px solid var(--alert);border-radius:16px;
  padding:22px 26px;
}
.notfall h2,.notfall h3{color:var(--alert)}
.notfall .h{font-size:1.25rem;font-weight:700;color:var(--alert);margin-bottom:8px}
.notfall p{color:var(--ink);font-size:1.0625rem}
.notfall ul{margin:12px 0 12px 22px}
.notfall li{color:var(--ink);font-size:1.0625rem;margin-bottom:6px}
.notfall .num{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--alert);color:#fff;font-weight:700;font-size:1.35rem;
  min-height:56px;padding:10px 28px;border-radius:14px;margin:10px 0;
}
.notfall-slim{
  background:var(--alert-bg);border-left:5px solid var(--alert);border-radius:0 12px 12px 0;
  padding:14px 20px;font-size:1.0625rem;color:var(--ink);
}
.notfall-slim b{color:var(--alert)}
/* Der Link in den Notfall-Abschnitt ist sicherheitsrelevant und darf keine
   23-px-Trefferflaeche haben - anders als ein beliebiger Fliesstext-Link. */
.notfall-slim a{
  display:inline-block;padding:9px 4px;min-height:44px;
  color:var(--blue-deep);font-weight:700;
  text-decoration:underline;text-underline-offset:3px;
}

/* ---------- Zahlen-Band ---------- */
/* Drei Kaesten mit "17.500", "25" und "7" lassen den 7er-Kasten leer aussehen.
   Ein Band mit gemeinsamer Grundlinie loest das. */
.stats{display:flex;flex-wrap:wrap;gap:0;background:transparent;border-block:1px solid var(--line)}
.stat{
  flex:1 1 220px;background:none;border:none;box-shadow:none;border-radius:0;
  text-align:left;padding:34px 30px;border-left:1px solid var(--line);
}
.stat:first-child{border-left:none;padding-left:0}
.stat b{
  display:block;font-weight:600;color:var(--navy);line-height:1.1;
  font-size:clamp(2.2rem,1.6rem + 2vw,2.9rem);letter-spacing:-.028em;
}
.stat span{display:block;margin-top:6px;font-size:1.0625rem;color:var(--muted);max-width:22ch}
/* Open Sans setzt Ziffern proportional - tnum macht aus "17.500" eine Zahl. */
.stat b,.date-band .big,.step .n,.land-n{
  font-variant-numeric:tabular-nums lining-nums;
  font-feature-settings:"tnum" 1,"lnum" 1;
}
.date-band .big{letter-spacing:-.025em}

/* ---------- Sektionen ---------- */
.section{padding:96px 0}
.section--tight{padding:56px 0}    /* Bindegewebe: Zahlen, Notfall */
.section--air{padding:136px 0}     /* Atempausen: Ihr Recht, Abschluss */
.section.wash{background:var(--blue-wash)}
.section.white{background:#fff}
.section.paper{background:var(--paper)}
.section.paper .step,
.section.paper .faq details{background:#fff}
.section.paper .tel-btn,
.section.paper .step .n{background:var(--paper-tint)}

/* ---------- M2: Navy-Sektion - genau EINMAL auf der Seite ---------- */
.section.deep{background:var(--navy);color:#fff;padding:96px 0 0}
.section.deep > .container > .sec-head h2,
.section.deep > .container > .sec-head h3{color:#fff}
.section.deep > .container > .sec-head p{color:rgba(255,255,255,.92)}
/* Die weisse Karte liegt INNERHALB der Navy-Sektion - ihre Inhalte muessen
   die dunklen Textfarben behalten, sonst steht weiss auf weiss. */
.section.deep .transparenz h3{color:var(--navy)}
.section.deep .transparenz p{color:var(--ink-2)}
.section.deep .transparenz > p:first-of-type{color:var(--ink)}
.section.deep .eyebrow{color:#9BC8E8}          /* 6,9:1 auf Navy */
.section.deep .sec-head{margin-bottom:36px;max-width:46ch}
.section.deep .marke{width:72px;height:72px;color:#7FC3EE;margin-bottom:18px;opacity:.9}
@media (max-width:560px){.section.deep .marke{width:56px;height:56px;margin-bottom:12px}}
/* Die Karte ragt in die naechste Sektion - die einzige Ueberlappung der Seite. */
.section.deep .transparenz{
  background:#fff;border:none;border-radius:26px;
  padding:44px 46px 46px;margin-bottom:-96px;position:relative;z-index:2;
  box-shadow:0 48px 90px -46px rgba(6,20,52,.65);
  /* Auf Textbreite begrenzt: der Fliesstext ist durch max-width:62ch ohnehin
     schmaler - eine Karte ueber die volle Containerbreite wirkt dann halbleer. */
  max-width:56rem;margin-inline:auto;
}
.section.deep + .section{padding-top:152px}

/* ---------- M3: Bogen statt harter Farbkante ---------- */
.arc-into{position:relative}
.arc-into::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:104px;
  background:var(--arc-next,#fff);
  border-radius:50% 50% 0 0 / 104px 104px 0 0;
  pointer-events:none;
}
.sec-head{max-width:60ch;margin-bottom:44px}
.sec-head p{margin-top:14px;color:var(--ink-2);font-size:1.125rem}

/* ---------- Ablauf in Schritten (echte Sequenz - Nummern tragen Information) ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.step{
  padding:30px 28px;border-radius:var(--r-card);background:#fff;
  box-shadow:0 1px 2px rgba(18,49,113,.055), 0 14px 34px -20px rgba(18,49,113,.32);
}
.step .n{
  display:grid;place-items:center;width:56px;height:56px;border-radius:16px;
  background:var(--blue-tint);color:var(--navy);font-size:1.5rem;font-weight:700;
  margin-bottom:18px;
}
.step h3{margin-bottom:8px}
.step p{color:var(--ink-2);font-size:1.0625rem}
/* Schlussbild der Ablauf-Sektion: Aussage + Illustration nebeneinander */
.ablauf-schluss{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);
  gap:40px;align-items:center;margin-top:44px;
}
@media (max-width:860px){
  .ablauf-schluss{grid-template-columns:1fr;gap:24px}
  .ablauf-schluss .hero-figure{max-width:340px;margin-inline:auto}
}

.step .dauer{
  display:inline-block;margin-top:12px;font-size:1rem;font-weight:700;color:var(--blue-deep);
}

/* ---------- Zweispaltiger Block mit dunkler Karte ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}
.split-text p{color:var(--ink-2);font-size:1.125rem;margin:16px 0}
.right-card{background:var(--navy);color:#fff;border-radius:24px;padding:34px 36px}
.right-card h3{color:#fff;margin-bottom:16px}
.right-card ul{list-style:none;display:flex;flex-direction:column;gap:12px}
.right-card li{display:flex;gap:12px;color:rgba(255,255,255,.94);font-size:1.0625rem;line-height:1.55;max-width:none}
.right-card li::before{content:"\2713";color:#7EE0A6;font-weight:700;flex:none}

/* ---------- Datums-Band ---------- */
.date-band{
  background:linear-gradient(120deg,var(--navy) 0%,var(--navy-2) 100%);
  color:#fff;border-radius:24px;padding:34px 40px;margin-top:40px;
  display:flex;align-items:center;gap:32px;flex-wrap:wrap;
}
.date-band .big{font-size:clamp(2rem,5vw,3rem);font-weight:700;line-height:1;flex:none}
.date-band .txt{flex:1;min-width:260px}
.date-band .txt p{color:rgba(255,255,255,.92);font-size:1.0625rem;max-width:52ch}

/* ---------- Transparenzblock ---------- */
.transparenz{
  background:#fff;border:2px solid var(--blue);border-radius:var(--r-card);
  padding:32px 34px;box-shadow:var(--shadow-sm);
}
.transparenz h3{margin-bottom:14px}
.transparenz p{color:var(--ink-2);font-size:1.0625rem;margin-bottom:14px}
.transparenz p:last-child{margin-bottom:0}
/* Der rote Balken war der einzige dekorative Rot-Einsatz der Seite - ausgerechnet
   ueber dem angstrelevantesten Block. Ersetzt durch die offene Klammer in Blau. */
.transparenz .rule{display:none}
.transparenz h3{margin:26px 0 10px;padding-left:26px;position:relative}
.transparenz h3::before{
  content:"";position:absolute;left:0;top:.34em;width:11px;height:20px;
  border:2.5px solid var(--blue);border-right:none;border-radius:11px 0 0 11px;
}
.transparenz > p:first-of-type{
  font-size:1.1875rem;line-height:1.6;color:var(--ink);
  padding-bottom:22px;margin-bottom:4px;border-bottom:1px solid var(--line);
}

/* .cta-hint traegt bewusst KEIN eigenes CSS - es ist nur der Hook, mit dem
   js/main.js die "ab Fruehjahr 2027"-Zeilen entfernt, sobald beide HEYDOK-
   Konstanten gefuellt sind. Nicht als toten Code loeschen. */

/* Kurzform ueber jedem CTA */
.transparenz-slim{
  background:var(--blue-tint);border-radius:12px;padding:14px 20px;
  font-size:1.0625rem;color:var(--ink);margin-bottom:20px;max-width:62ch;
}
.transparenz-slim a{color:var(--blue-deep);font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* ---------- Aerzte ----------
   42 Portraits: bewusst alle zeigen statt einer Auswahl - "das sind wir"
   traegt mehr Vertrauen als sechs willkuerlich herausgegriffene Gesichter.
   Bilder lazy, damit die Startseite trotzdem schnell bleibt. */
.arzt-grid{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:26px 20px;
}
.arzt-grid.kompakt{grid-template-columns:repeat(auto-fill,minmax(154px,1fr));gap:30px 14px}
.arzt{text-align:center;max-width:none}
.arzt-bild{
  width:120px;height:120px;margin:0 auto 12px;border-radius:26px;overflow:hidden;
  background:var(--blue-tint);display:grid;place-items:center;
  box-shadow:0 10px 26px -16px rgba(18,49,113,.55);
}
/* Squircle statt Kreis: aus 200x300-Portraets geht beim Quadratschnitt
   deutlich weniger Gesicht verloren als beim Kreisschnitt. */
.arzt-grid.kompakt .arzt-bild{width:100%;max-width:132px;height:auto;aspect-ratio:1;border-radius:20px}
.arzt-bild img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.arzt-ini{font-size:2rem;font-weight:600;color:var(--blue-ink);line-height:1}
.arzt-grid.kompakt .arzt-ini{font-size:1.6rem}
.arzt-name{font-size:1.0625rem;font-weight:700;color:var(--navy);margin:0;max-width:none;line-height:1.35}
.arzt-grid.kompakt .arzt-name{font-size:1rem}
.arzt-fach{font-size:1rem;color:var(--ink-2);margin:6px 0 0;max-width:none;line-height:1.45}
.arzt-orte{font-size:1rem;color:var(--muted);margin:4px 0 0;max-width:none;line-height:1.45}

/* ---------- Standorte ----------
   Kompakte Textkarten statt Bildkarten: 25 Standorte mit Fotos waeren eine
   riesige Ladelast, und fuer die Frage "ist da eine Praxis in meiner Naehe?"
   ist eine nach Bundesland gruppierte Liste schneller zu erfassen. */
.orte{display:flex;flex-direction:column;gap:12px}
/* Die Bundeslaender sind die eigentliche Navigation - sie duerfen das aussehen. */
.land{
  font-size:clamp(1.4rem,1.2rem + .5vw,1.7rem);font-weight:700;color:var(--navy);
  margin:44px 0 16px;padding:0;border-bottom:none;
  display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;
}
.land::after{
  content:"";flex:1;height:2px;background:var(--line);border-radius:2px;
  align-self:center;min-width:40px;
}
.orte > .land:first-child{margin-top:0}
.land-n{order:3;font-size:1rem;font-weight:700;color:var(--blue-deep);white-space:nowrap}

.ort-grid{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(268px,1fr));gap:16px;
}
.ort-card{
  background:#fff;border-radius:16px;
  padding:20px 22px;display:flex;flex-direction:column;gap:8px;
  box-shadow:0 1px 2px rgba(18,49,113,.055), 0 14px 34px -20px rgba(18,49,113,.32);
  max-width:none;
}
/* Border ist weg -> Fokus MUSS ueber outline laufen, sonst waere er unsichtbar */
.ort-card:focus-within{outline:2px solid var(--blue);outline-offset:2px}
/* Ueberschriftebene unterscheidet sich je Seite: auf der Startseite steht die
   Karte unter h2>h3, auf standorte.html unter h1>h2. Beide Ebenen stylen. */
.ort-card h3,.ort-card h4{font-size:1.2rem;margin:0;font-weight:700;line-height:1.35}
.ort-alias{font-size:1rem;font-weight:400;color:var(--muted);white-space:nowrap}
.ort-adr{color:var(--ink-2);font-size:1.0625rem;line-height:1.5;margin:0;max-width:none}
.ort-zeit{color:var(--muted);font-size:1rem;line-height:1.5;margin:0;max-width:none}

.tel-btn{
  margin-top:auto;display:flex;align-items:center;justify-content:center;
  min-height:52px;background:var(--blue-tint);color:var(--navy);
  font-weight:700;font-size:1.0625rem;border-radius:12px;padding:10px 16px;
  text-align:center;
}
.tel-btn:hover{background:#D5E5F2}
.route{
  font-size:1rem;color:var(--blue-deep);font-weight:600;
  text-decoration:underline;text-underline-offset:3px;
  padding:10px 2px;min-height:44px;display:inline-flex;align-items:center;
}
/* Startseite: Adresse raus (steht in beiden hrefs und auf standorte.html).
   Niemand navigiert am Handy ueber einen Strassennamen - er tippt Route. */
.ort-grid.kompakt{grid-template-columns:repeat(auto-fill,minmax(206px,1fr));gap:14px}
.ort-grid.kompakt .ort-card{padding:16px 18px;gap:12px;border-radius:14px}
.ort-grid.kompakt .ort-adr{display:none}
.ort-grid.kompakt .tel-btn{min-height:52px;font-size:1rem}

.ort-hinweis{
  margin-top:28px;padding:16px 20px;background:var(--blue-tint);
  border-radius:12px;color:var(--ink);font-size:1.0625rem;max-width:none;
}

/* ---------- FAQ: natives <details>, funktioniert ohne JS ---------- */
.faq{max-width:68ch;margin-inline:auto;display:flex;flex-direction:column;gap:12px}
.faq details{
  background:#fff;border:none;border-radius:14px;
  box-shadow:0 1px 2px rgba(18,49,113,.05),0 10px 26px -20px rgba(18,49,113,.3);
}
.faq details[open]{box-shadow:0 1px 2px rgba(18,49,113,.07),0 18px 40px -22px rgba(18,49,113,.4)}
.faq summary{
  cursor:pointer;list-style:none;min-height:56px;padding:14px 20px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  font-size:1.0625rem;font-weight:700;color:var(--navy);
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.6rem;font-weight:400;color:var(--blue-ink);line-height:1;flex:none}
.faq details[open] summary::after{content:"\2013"}
.faq .a{padding:0 20px 18px;border-top:1px solid var(--line);padding-top:14px}
.faq .a p{color:var(--ink-2);font-size:1.0625rem}
.faq .a p + p{margin-top:10px}

/* ---------- Abschluss-CTA ---------- */
.cta{
  background:var(--navy);color:#fff;border-radius:24px;
  padding:56px 44px;text-align:center;
}
.cta h2{color:#fff}
.cta p{color:rgba(255,255,255,.9);margin:14px auto 0;max-width:52ch}
.cta .btn-row{justify-content:center;max-width:640px;margin-inline:auto}
.cta .btn-primary{background:#fff;color:var(--navy)}
.cta .btn-primary:hover{background:var(--blue-tint)}
.cta .btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.cta .btn-outline:hover{background:rgba(255,255,255,.12)}
.cta-tel{margin-top:24px;font-size:1.0625rem;color:rgba(255,255,255,.9)}
.cta-tel a{
  color:#fff;text-decoration:underline;text-underline-offset:3px;font-weight:700;
  display:inline-block;padding:10px 4px;min-height:44px;   /* echte Tap-Flaeche */
}

/* ---------- Footer ---------- */
.footer{background:var(--navy);color:rgba(255,255,255,.78);padding:44px 0 32px}
.footer .container{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:center}
.footer-logo{height:38px;width:auto}   /* echte Weiss-Variante, kein CSS-Filter */
.footer a{color:rgba(255,255,255,.78)}
.footer a:hover{color:#fff}
.footer nav{display:flex;gap:22px;flex-wrap:wrap}
.footer nav a{padding:10px 2px;min-height:44px;display:inline-flex;align-items:center;font-size:1.0625rem}
.copy{
  width:100%;border-top:1px solid rgba(255,255,255,.16);margin-top:8px;padding-top:20px;
  font-size:1rem;color:rgba(255,255,255,.6);max-width:none;
}

/* ---------- Sticky-CTA-Leiste (nur Mobil) ---------- */
.cta-bar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:60;
  gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-top:1px solid var(--line);
}
.cta-bar .btn{flex:1;min-width:0;min-height:52px;font-size:1rem;padding:10px 14px}
.cta-bar.show{display:flex}

/* ---------- M8: Lesefortschritt (kein Tracking, nur scrollY) ---------- */
.progress{
  position:fixed;left:0;top:0;height:4px;width:0;z-index:70;
  background:linear-gradient(90deg,var(--blue),#7FC3EE);
  transition:width .12s linear;
}
@media (prefers-reduced-motion:reduce){.progress{transition:none}}
.nav-links a{position:relative}
.nav-links a.is-current{color:var(--navy)}
.nav-links a.is-current::after{
  content:"";position:absolute;left:2px;right:2px;bottom:7px;height:3px;
  background:var(--blue);border-radius:2px;
}

/* ---------- Scroll-Reveal ---------- */
.js .reveal{opacity:0;transform:translateY(12px);
  transition:opacity .45s ease, transform .45s cubic-bezier(.22,.61,.36,1)}
.js .reveal.in{opacity:1;transform:none}
.js .stagger > .reveal{transition-delay:calc(70ms * var(--i,0))}

/* ---------- Rechtsseiten ---------- */
.legal{padding:56px 0 72px;max-width:70ch;margin-inline:auto}
.legal h1{margin-bottom:26px}
.legal h2{font-size:1.35rem;margin:34px 0 12px}
.legal p,.legal li{color:var(--ink-2);font-size:1.0625rem;max-width:none}
.legal ul{margin:0 0 16px 22px}
.legal a{color:var(--blue-deep);text-decoration:underline;text-underline-offset:3px}
/* Noch offene Pflichtangabe - faellt beim Korrekturlesen sofort auf und darf
   nicht live gehen. Vor dem Livegang muss diese Klasse verschwunden sein. */
.todo-legal{background:#FBF2E2;border-left:4px solid #8A5A12;padding:12px 16px;border-radius:0 8px 8px 0}

/* ---------- Responsive ---------- */
/* 390-px-Test: Ueberschrift UND ein CTA muessen ohne Scrollen sichtbar sein.
   Die Hinweiszeile ist wichtig, aber nicht wichtiger als der Button -> sie
   rutscht auf schmalen Schirmen unter die CTAs. */
@media (max-width:720px){
  .hero-grid > div:first-child{display:flex;flex-direction:column}
  .hero-grid > div:first-child > .eyebrow{order:0}
  .hero-grid > div:first-child > h1{order:1}
  .hero-grid > div:first-child > .lead{order:2}
  .hero-grid > div:first-child > .btn-row{order:3;margin-top:22px}
  .hero-grid > div:first-child > .cta-hint{order:4;margin-top:18px;margin-bottom:0}
  .hero-grid > div:first-child > .tel-line{order:5}
  .hero{padding-top:22px}
  .hero-grid{margin-top:22px}
  .sender{font-size:.9375rem;padding:7px 16px;line-height:1.45}
}

@media (max-width:960px){
  .nav-links{display:none}
  .nav-links.open{
    display:flex;position:absolute;top:78px;left:24px;right:24px;flex-direction:column;
    align-items:stretch;gap:6px;background:#fff;padding:18px;border-radius:18px;
    box-shadow:var(--shadow);border:1px solid var(--line);
  }
  .nav-toggle{display:grid;place-items:center}
  .hero-grid,.split{grid-template-columns:1fr;gap:28px}
  .steps{grid-template-columns:1fr}
}
@media (max-width:720px){
  .cta-bar.show{display:flex}
  body{padding-bottom:0}
  .has-cta-bar .footer{padding-bottom:96px}   /* Platz fuer die Sticky-Leiste */
  /* Die volle Wortmarke ist 3,55:1 breit und auf 390px unlesbar schmal.
     Deshalb auf Mobil nur das Herz-Symbol - wer wir sind, steht ohnehin
     in der Absenderleiste direkt darueber. */
  .brand-logo{display:none}
  .brand-mark{display:block}
  /* "Zweitmeinung" bleibt als Text stehen - sagt dem Nutzer, wo er ist,
     und fuellt die Luecke, die die entfallene Wortmarke hinterlaesst. */
  .brand-sub{display:block;color:var(--navy);font-size:1.125rem}
  .brand{min-height:48px}
  .nav{padding-left:14px;gap:10px}
  /* Der Termin-Button in der Nav quetscht auf Mobil das Logo - und die
     Sticky-Leiste am unteren Rand erfuellt dieselbe Aufgabe besser. */
  .nav .btn-primary{display:none}
}
@media (min-width:721px){
  .cta-bar{display:none !important}
}
@media (max-width:720px){
  .arc-into::after{height:56px;border-radius:50% 50% 0 0/56px 56px 0 0}
}
@media (max-width:960px){
  /* Illustration auf Mobil raus: 200px Dekoration vor dem CTA sind fuer
     diese Zielgruppe reine Wegstrecke. */
  .hero-figure{display:none}
}
@media (max-width:560px){
  .section{padding:64px 0}
  .section--tight{padding:40px 0}
  .section--air{padding:84px 0}
  .section.deep{padding-top:64px}
  .section.deep .transparenz{padding:30px 24px 34px;margin-bottom:-64px;border-radius:20px}
  .section.deep + .section{padding-top:104px}
  .stats{display:block}
  .stat{border-left:none;border-top:1px solid var(--line);padding:22px 0}
  .stat:first-child{border-top:none}
  .btn-row .btn{min-width:100%}
  .cta{padding:40px 22px}
  .date-band{padding:26px 24px;gap:16px}
  .right-card{padding:28px 24px}
  .stats{grid-template-columns:1fr}
}

/* ---------- Reduced Motion ----------
   Im Template stand hier ".reveal" (0,1,0) - das verliert gegen ".js .reveal" (0,2,0),
   die Abschaltung lief also ins Leere. Selektor muss die Spezifitaet matchen. */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .reveal,.js .reveal.in{opacity:1;transform:none;transition:none}
  *{transition-duration:.01ms !important;animation-duration:.01ms !important}
}
