/* ═══════════════════════════════════════════════════════════════
   site.css — Landingpage Heegbach Apotheke / Videosprechstunde
   Lädt nach base.css (Tokens/Reset) und fonts.css.
   ═══════════════════════════════════════════════════════════════ */

/* ── Layout-Grundlagen ─────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--breite-max); margin-inline: auto; padding-inline: var(--rand-seite); }
.wrap--weit { max-width: var(--breite-weit); }
section { padding-block: var(--abstand-sektion); }
section[id] { scroll-margin-top: 110px; }   /* sticky Header verdeckt Ankerziele nicht */
.sektion-sanft { background: var(--farbe-bg-sanft); }
.sektion-dunkel { background: var(--farbe-tief-mittel); color: #eaf3f7; }
img { height: auto; }

/* Feine Trennkante zwischen hellen Sektionen — ersetzt harte Blockgrenzen */
.sektion-sanft + section:not(.sektion-sanft):not(.sektion-dunkel):not(.bildband),
section:not(.sektion-sanft):not(.sektion-dunkel):not(.bildband) + .sektion-sanft { border-top: 1px solid var(--farbe-rand); }

/* Sektionskopf: Eyebrow → h2 → Subline.
   Bewusst breite Lesefläche — Text soll atmen, nicht in einer Spalte kleben. */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; color: var(--farbe-primaer-dunkel); margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; flex: 0 0 auto;
}
.sektion-dunkel .eyebrow { color: #8fd0e3; }
h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.08; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; letter-spacing: -.012em; }
.subline { color: var(--farbe-text-leise); max-width: 74ch; margin-top: 1.15rem;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.68; }
.sektion-dunkel .subline { color: #c4dde8; }
.kopf { max-width: var(--breite-lese); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.kopf--mitte { text-align: center; margin-inline: auto; }
.kopf--mitte .eyebrow::before { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; text-decoration: none;
  padding: .95rem 1.7rem; border-radius: 999px; border: 1px solid transparent; letter-spacing: -.005em;
  transition: transform .3s var(--ease-out), background .3s, box-shadow .3s, border-color .3s, color .3s;
  cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primaer { background: var(--farbe-primaer); color: #fff; box-shadow: 0 10px 26px rgba(30,126,158,.28); }
.btn-primaer:hover { background: var(--farbe-primaer-dunkel); box-shadow: 0 16px 34px rgba(30,126,158,.34); }
/* Grün ist die eine Handlungsfarbe: nur der jeweils wichtigste CTA */
.btn-akzent { background: var(--farbe-akzent); color: #fff; box-shadow: 0 10px 26px rgba(107,127,17,.3); }
.btn-akzent:hover { background: var(--farbe-akzent-dunkel); box-shadow: 0 16px 34px rgba(107,127,17,.36); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.38);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); }
.btn-outline { background: transparent; color: var(--farbe-primaer-dunkel); border-color: var(--farbe-rand); }
.btn-outline:hover { border-color: var(--farbe-primaer); background: var(--farbe-primaer-hell); }

/* ── Header / Navigation (Kontrast-Garantie) ───────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.05rem var(--rand-seite);
  color: #fff;
  background: rgba(8,48,60,.36);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.16);
  transition: background .35s, box-shadow .35s, padding .35s, color .35s, border-color .35s;
}
.nav.scrolled {
  background: rgba(255,255,255,.97);
  color: var(--farbe-text);
  border-bottom-color: var(--farbe-rand);
  box-shadow: 0 10px 34px rgba(8,48,60,.09);
  padding-block: .6rem;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(8,48,60,.94); }
  .nav.scrolled { background: #fff; }
}

/* Lesefortschritt als feine Linie an der Header-Unterkante */
.nav__fortschritt {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--farbe-primaer), var(--farbe-akzent-hell));
  opacity: 0; transition: opacity .35s;
}
.nav.scrolled .nav__fortschritt { opacity: 1; }

/* Marke: echtes Wort-Bild-Logo. Weiße Variante über dem Hero (Glass),
   Originalfarben sobald der Header deckend wird (.scrolled). */
.nav__brand { display: flex; align-items: center; gap: .95rem; text-decoration: none; color: inherit; min-width: 0; }
.nav__logo { position: relative; flex: 0 0 auto; display: block; width: 152px; height: 46px;
  transition: width .35s var(--ease-out), height .35s var(--ease-out); }
.nav__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  object-position: left center; transition: opacity .35s; }
.nav__logo img.ist-farbig { opacity: 0; }
.nav.scrolled .nav__logo { width: 132px; height: 40px; }
.nav.scrolled .nav__logo img.ist-weiss { opacity: 0; }
.nav.scrolled .nav__logo img.ist-farbig { opacity: 1; }
/* Zusatz „Videosprechstunde" als Untertitel der Marke, durch feine Linie getrennt */
.nav__claim { font-size: .68rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 600;
  opacity: .82; padding-left: .95rem; border-left: 1px solid currentColor; line-height: 1.3;
  white-space: nowrap; }

.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; margin-left: auto; }
.nav__links a { position: relative; text-decoration: none; color: inherit; font-size: .95rem; font-weight: 500;
  opacity: .88; padding-block: .35rem; transition: opacity .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .35s var(--ease-out); }
.nav__links a:hover, .nav__links a.aktiv { opacity: 1; }
.nav__links a:hover::after, .nav__links a.aktiv::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__cta { padding: .68rem 1.3rem; font-size: .92rem; }
.nav.scrolled .btn-ghost { background: var(--farbe-akzent); color: #fff; border-color: transparent;
  box-shadow: 0 8px 20px rgba(107,127,17,.28); }
.nav.scrolled .btn-ghost:hover { background: var(--farbe-akzent-dunkel); }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit;
  cursor: pointer; align-items: center; justify-content: center; margin-left: auto; }
.nav__burger svg { width: 26px; height: 26px; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero { position: relative; min-height: clamp(600px, 94vh, 900px); display: flex; align-items: center;
  color: #fff; overflow: hidden; }
/* Parallax: Bild wird leicht überhöht und beim Scrollen verschoben (nur transform → GPU) */
/* Überhöht, damit der Parallax-Versatz keine Kante freilegt. will-change wird
   erst per JS gesetzt, wenn Parallax wirklich läuft — eine dauerhaft
   promotete Ebene kostet Speicher und kann Tile-Kanten sichtbar machen. */
.hero__img { position: absolute; inset: -8% 0 -8%; z-index: -3; width: 100%; height: 116%;
  object-fit: cover; object-position: 62% center; }
/* Marken-Tint über dem Foto – dunkler links (Textspalte), Foto rechts sichtbar */
.hero__bg { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(105deg, rgba(6,38,48,.93) 0%, rgba(12,74,93,.7) 45%, rgba(6,38,48,.44) 100%); }
/* Pflicht-Scrim */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 140% 100% at 50% 40%, rgba(4,22,28,.16), rgba(4,22,28,.68)); }
.hero__inner { padding-top: 7rem; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 600; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.26);
  padding: .5rem 1.1rem; border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.02; letter-spacing: -.022em; margin: 1.6rem 0 .8rem; max-width: 17ch; }
.hero__sub { font-size: clamp(1.08rem, 1.5vw, 1.35rem); line-height: 1.62; color: #dceef5; max-width: 62ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.hero__note { margin-top: 1.8rem; font-size: .92rem; color: #cbe3ec; display: flex; align-items: center; gap: .55rem; }

/* Scroll-Hinweis am unteren Hero-Rand */
.hero__scroll { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,.65);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; pointer-events: none; }
.hero__scroll span { display: block; width: 1px; height: 42px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0));
  animation: scrollhint 2.4s var(--ease-out) infinite; transform-origin: 50% 0; }
@keyframes scrollhint { 0% { transform: scaleY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ── Bild-Bausteine ────────────────────────────────────────────── */
/* Intro: Text + Foto nebeneinander */
.split-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.split-intro .kopf { max-width: none; }
.media-figur { border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten-hoch);
  border: 1px solid var(--farbe-rand); aspect-ratio: 4/3; }
.media-figur img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.4s var(--ease-out); }
.media-figur:hover img { transform: scale(1.03); }

/* Full-Bleed Bild-Band mit Pflicht-Scrim (§3) */
.bildband { position: relative; padding-block: clamp(5rem, 11vw, 9rem); color: #fff; overflow: hidden; }
.bildband > img { position: absolute; inset: -6% 0; z-index: -2; width: 100%; height: 112%;
  object-fit: cover; object-position: center 35%; }
.bildband::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6,38,48,.92) 0%, rgba(6,38,48,.74) 48%, rgba(6,38,48,.3) 100%); }
/* .bildband__inner trägt zugleich .wrap — die Breite muss der der übrigen
   Sektionen entsprechen, sonst zentriert sich der Block statt links zu stehen.
   Begrenzt wird deshalb nur das Lesemaß der einzelnen Textzeilen. */
.bildband__inner { max-width: var(--breite-max); }
.bildband .eyebrow { color: #8fd0e3; }
.bildband h2 { max-width: 20ch; text-wrap: balance; }
.bildband .subline { color: #d8ebf2; max-width: 60ch; }

/* Kooperation: Foto mit überlappender Glas-Checkliste */
.koop__visual { position: relative; }
.koop__photo { border-radius: var(--radius-gross); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.38); line-height: 0; }
.koop__photo img { width: 100%; height: 100%; object-fit: cover; }
.koop__visual .koop__card { position: relative; z-index: 2; margin: -4rem 1.5rem 0;
  background: rgba(6,38,48,.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,.22); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .koop__visual .koop__card { background: rgba(6,38,48,.95); }
}

/* ── Ablauf (Steps) ────────────────────────────────────────────── */
/* Zwei breite Spalten statt vier schmaler — der Text soll in ruhigen
   Zeilen laufen, nicht nach drei Wörtern umbrechen. Nummer steht links
   neben dem Text (Grid, ohne Zusatz-Markup). */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(1rem, 2vw, 1.75rem); position: relative; }
.step { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr);
  column-gap: clamp(1.1rem, 1.8vw, 1.6rem); align-items: start;
  background: var(--farbe-bg); border: 1px solid var(--farbe-rand);
  border-radius: var(--radius-gross); padding: clamp(1.7rem, 2.6vw, 2.4rem);
  box-shadow: var(--schatten-weich);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--schatten-hoch); border-color: #cfe0e9; }
/* Verbindungslinie zwischen den nebeneinander liegenden Schritten */
.step:nth-child(odd)::after { content: ""; position: absolute; top: 3.2rem; right: calc(-1 * clamp(1rem, 2vw, 1.75rem));
  width: clamp(1rem, 2vw, 1.75rem); height: 1px; background: var(--farbe-rand); }
.step__num { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--farbe-primaer-hell);
  color: var(--farbe-primaer-dunkel); font-weight: 600; font-size: 1.18rem;
  font-variant-numeric: tabular-nums; border: 1px solid #d3e6ee; }
.step h3 { grid-column: 2; margin-bottom: .55rem; padding-top: .55rem; }
.step p { grid-column: 2; color: var(--farbe-text-leise); font-size: 1.02rem; line-height: 1.68; }

/* ── Karten-Grid (Für-wen / Vorteile) ──────────────────────────── */
.karten { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.karte { position: relative; background: var(--farbe-bg); border: 1px solid var(--farbe-rand);
  border-radius: var(--radius-gross); padding: clamp(1.8rem, 2.8vw, 2.6rem);
  box-shadow: var(--schatten-weich); overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s; }
/* Farbakzent, der beim Hover einläuft — ruhig, keine Farbfläche */
.karte::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--farbe-primaer), var(--farbe-akzent-hell));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.karte:hover { transform: translateY(-6px); box-shadow: var(--schatten-hoch); border-color: #cfe0e9; }
.karte:hover::before { transform: scaleX(1); }
.karte .ic { width: 46px; height: 46px; color: var(--farbe-primaer); margin-bottom: 1.4rem; }
.karte h3 { margin-bottom: .6rem; }
.karte p { color: var(--farbe-text-leise); font-size: 1rem; line-height: 1.65; }

/* ── Hinweis-Box (112 / kein Notfallersatz) ────────────────────── */
/* Signalrot aus dem Logo — bewusst nur hier und bei Formularfehlern */
.hinweis { display: flex; gap: 1.3rem; align-items: flex-start; background: #fdf2f3;
  border: 1px solid #f2d3d7; border-left: 4px solid var(--farbe-signal); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1.5rem, 2.6vw, 2.2rem); margin-top: 2.5rem; }
.hinweis .ic { flex: 0 0 auto; width: 32px; height: 32px; color: var(--farbe-signal); }
.hinweis strong { display: block; margin-bottom: .35rem; font-size: 1.05rem; }
.hinweis p { color: #6b4046; font-size: 1rem; line-height: 1.65; max-width: 78ch; }
.hinweis b { color: var(--farbe-signal); }

/* Ruhige Variante: Verweis auf die Hausarztpraxis (kein Warnton) */
.hinweis--praxis { background: var(--farbe-primaer-hell); border-color: #cfe3ec;
  border-left-color: var(--farbe-primaer); }
.hinweis--praxis .ic { color: var(--farbe-primaer); }
.hinweis--praxis p { color: var(--farbe-text-leise); }
.hinweis--praxis ul { list-style: none; display: grid; gap: .5rem; margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  color: var(--farbe-text-leise); font-size: 1rem; }
.hinweis--praxis li { display: flex; gap: .6rem; align-items: flex-start; }
.hinweis--praxis li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: .6rem;
  border-radius: 50%; background: var(--farbe-akzent); }

/* ── Kooperation ───────────────────────────────────────────────── */
.koop { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.koop .subline { max-width: 62ch; }
/* Direkte Ansprache der Praxen vor Ort */
.koop__praxen { margin-top: 2rem; padding-left: 1.4rem; border-left: 2px solid var(--farbe-akzent-hell);
  color: #c4dde8; font-size: 1.02rem; line-height: 1.65; max-width: 62ch; }
.koop__praxen strong { display: block; color: #fff; font-weight: 600; margin-bottom: .3rem; }
.koop__praxen a { color: #fff; text-underline-offset: 3px; }
/* envital-Logo als Absender der Sektion — steht über der Überschrift */
.koop__logo { width: clamp(150px, 16vw, 200px); height: auto; margin-bottom: 1.6rem; }
.koop__partner { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.koop__badge { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.24); border-radius: 999px;
  padding: .8rem 1.5rem; font-weight: 600; letter-spacing: .01em; font-size: .95rem; }
/* Der Anbieter wird deutlich stärker gewichtet als der Standort */
.koop__badge--haupt { background: rgba(255,255,255,.96); color: var(--farbe-envital); border-color: transparent; }
.koop__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-gross); padding: clamp(1.8rem, 2.8vw, 2.4rem); }
.koop__card ul { list-style: none; display: grid; gap: 1.1rem; }
.koop__card li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1.02rem; line-height: 1.55; }
/* Häkchen im Logo-Grün (heller Ton für dunklen Grund) */
.koop__card svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--farbe-akzent-hell); margin-top: 2px; }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq { max-width: 1000px; margin-inline: auto; display: grid; gap: .75rem; }
.faq details { background: var(--farbe-bg); border: 1px solid var(--farbe-rand); border-radius: var(--radius);
  overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: #cfe0e9; box-shadow: var(--schatten); }
.faq summary { cursor: pointer; padding: 1.35rem clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 600; font-size: 1.06rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 11px; height: 11px; margin-right: .2rem;
  border-right: 2px solid var(--farbe-primaer); border-bottom: 2px solid var(--farbe-primaer);
  transform: rotate(45deg) translate(-2px,-2px); transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px,-2px); }
.faq details > div { padding: 0 clamp(1.3rem, 2.4vw, 1.9rem) 1.5rem; color: var(--farbe-text-leise);
  font-size: 1.02rem; line-height: 1.7; max-width: 84ch; }

/* ── Kontakt / Formular ────────────────────────────────────────── */
.kontakt { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.kontakt__info h2 { margin-bottom: 1.2rem; }
.kontakt__info p { color: var(--farbe-text-leise); margin-bottom: 1.3rem; font-size: 1.06rem; line-height: 1.68;
  max-width: 56ch; }
.kontakt__info dl { display: grid; gap: 1.4rem; margin-top: 2rem; }
.kontakt__info dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--farbe-primaer-dunkel); font-weight: 600; margin-bottom: .3rem; }
.kontakt__info dd { font-size: 1.08rem; line-height: 1.55; }
.kontakt__info dd a { color: var(--farbe-primaer-dunkel); }
.formcard { background: var(--farbe-bg); border: 1px solid var(--farbe-rand); border-radius: var(--radius-gross);
  padding: clamp(1.7rem, 3vw, 2.8rem); box-shadow: var(--schatten); }
.form-row { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.15rem; }
.form-row label { font-size: .92rem; font-weight: 500; }
.form-row input, .form-row textarea {
  border: 1px solid var(--farbe-rand); border-radius: var(--radius-klein); padding: .85rem 1rem;
  font-size: 16px; background: var(--farbe-bg-sanft);
  transition: border-color .25s, background .25s, box-shadow .25s; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--farbe-primaer); background: #fff;
  outline: none; box-shadow: 0 0 0 4px rgba(30,126,158,.12); }
.form-consent { flex-direction: row; align-items: flex-start; gap: .7rem; font-size: .92rem;
  line-height: 1.55; color: var(--farbe-text-leise); }
.form-consent input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--farbe-primaer); flex: 0 0 auto; }
.form-consent a { color: var(--farbe-primaer-dunkel); }
.form-submit { width: 100%; justify-content: center; margin-top: .5rem; }
.form-status { margin-top: 1rem; font-size: .95rem; min-height: 1.2em; }
.form-status.error { color: var(--farbe-fehler); }
.form-status.ok { color: var(--farbe-erfolg); }
#kontakt-form [aria-invalid="true"] { border-color: var(--farbe-fehler); }
#kontakt-form .hp-wrap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer { background: var(--farbe-tief); color: #cfe0e8; padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
.footer h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #86bfd4; margin-bottom: 1.2rem; }
.footer a { color: #cfe0e8; text-decoration: none; opacity: .9; transition: opacity .25s; }
.footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer__logo { width: 200px; max-width: 62%; margin-bottom: 1.6rem; }
.footer__logo--klein { width: 170px; max-width: 54%; }
.footer__label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: #86bfd4; margin-bottom: .8rem; }
.footer__label--ort { margin-top: .4rem; }
.footer__brand p { max-width: 44ch; line-height: 1.7; }
.footer__brand > p:last-child { margin-top: .4rem; }
.footer ul { list-style: none; display: grid; gap: .7rem; font-size: .98rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.6rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .87rem; opacity: .8; }

/* ── Rechtstexte (Impressum, Datenschutz) ──────────────────────── */
.rechtstext { padding-top: clamp(8rem, 12vw, 11rem); }
.rechtstext .wrap { max-width: 900px; }
.rechtstext h1 { font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -.02em; margin-bottom: .6rem; }
.rechtstext .vorspann { color: var(--farbe-text-leise); font-size: 1.05rem; margin-bottom: 2.5rem; }
.rechtstext h2 { font-size: 1.25rem; font-family: var(--font-sans); font-weight: 600;
  letter-spacing: -.01em; margin: 2.8rem 0 .9rem; padding-top: 1.6rem;
  border-top: 1px solid var(--farbe-rand); }
.rechtstext h2:first-of-type { margin-top: 2rem; }
.rechtstext h3 { font-size: 1.02rem; margin: 1.6rem 0 .5rem; }
.rechtstext p, .rechtstext li { color: var(--farbe-text-leise); line-height: 1.75; font-size: 1.02rem; }
.rechtstext p + p { margin-top: .9rem; }
.rechtstext ul { margin: .9rem 0 0; padding-left: 1.2rem; display: grid; gap: .55rem; }
.rechtstext a { color: var(--farbe-primaer-dunkel); text-underline-offset: 3px; }
.rechtstext strong { color: var(--farbe-text); }
.rechtstext__logo { width: 150px; height: auto; margin-bottom: 1.3rem; }
.rechtstext .stand { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--farbe-rand);
  font-size: .9rem; }
.rechtstext .zurueck { display: inline-flex; align-items: center; gap: .5rem;
  font-size: .92rem; color: var(--farbe-text-leise); text-decoration: none; margin-bottom: 2rem; }
.rechtstext .zurueck:hover { color: var(--farbe-primaer-dunkel); }
/* Rollenverteilung Apotheke / envital / Ärzte — hervorgehobener Block */
.rollen { display: grid; gap: 1rem; margin-top: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.rollen > div { background: var(--farbe-bg-sanft); border: 1px solid var(--farbe-rand);
  border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.rollen dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: var(--farbe-primaer-dunkel); margin-bottom: .5rem; }
.rollen dd { color: var(--farbe-text-leise); font-size: .97rem; line-height: 1.65; }

/* ── Reveals ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(38px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ── Mobile-Menü + Responsive ──────────────────────────────────── */
.nav__panel { display: none; }
@media (max-width: 1080px) {
  .nav__links { gap: 1.4rem; }
  .nav__cta { padding: .62rem 1.1rem; }
}
@media (max-width: 940px) {
  .nav__links, .nav__cta.desktop { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__panel {
    position: fixed; inset: 0; z-index: 99; display: block;
    background: var(--farbe-tief); color: #fff;
    transform: translateX(100%); transition: transform .35s var(--ease-out);
    padding: 7rem var(--rand-seite) 2rem; overflow-y: auto; }
  .nav__panel.open { transform: translateX(0); }
  .nav__panel ul { list-style: none; display: grid; gap: .5rem; }
  .nav__panel a { display: block; text-decoration: none; color: #fff; font-size: 1.5rem;
    font-family: var(--font-serif); padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav__panel .btn { margin-top: 2rem; width: 100%; justify-content: center; }
  .step:nth-child(odd)::after { display: none; }
  .karten { grid-template-columns: 1fr; }
  .split-intro { grid-template-columns: 1fr; }
  .koop, .kontakt { grid-template-columns: 1fr; }
  .koop__visual .koop__card { margin-inline: 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__img { object-position: 66% center; }
  /* Im Hochformat läuft der 105°-Verlauf als sichtbare Diagonale durchs Bild —
     dort deshalb vertikal abdunkeln. */
  .hero__bg { background: linear-gradient(180deg, rgba(6,38,48,.72) 0%, rgba(9,58,74,.66) 40%, rgba(6,38,48,.9) 100%); }
  .hero__scroll { display: none; }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__cta .btn { width: 100%; justify-content: center; }
  /* Marke schlanker, damit Logo + Burger sicher nebeneinander passen */
  .nav__logo { width: 124px; height: 38px; }
  .nav.scrolled .nav__logo { width: 116px; height: 35px; }
  .nav__claim { display: none; }
  .footer__logo { width: 200px; max-width: 76%; }
  .hinweis { flex-direction: column; gap: .9rem; }
}

/* ═══════════════════════════════════════════════════════════════
   Videosprechstunde-Seite
   ═══════════════════════════════════════════════════════════════ */
.vhero { position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #126783 0%, var(--farbe-tief-mittel) 60%, var(--farbe-tief) 100%);
  color: #fff; padding: clamp(9rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem); text-align: center; }
.vhero__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 28%; }
/* Pflicht-Scrim: Marken-Tint über dem Foto (§3) */
.vhero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(18,103,131,.9) 0%, rgba(11,59,74,.84) 55%, rgba(6,38,48,.93) 100%); }
.vhero .wrap { position: relative; z-index: 2; }
.vhero .eyebrow { color: #8fd0e3; }
.vhero .eyebrow::before { display: none; }
.vhero h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05; letter-spacing: -.02em; margin: .7rem 0 1.2rem; }
.vhero p { color: #d5e9f1; max-width: 66ch; margin: 0 auto; font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.68; }
.vhero__cta { display: flex; justify-content: center; margin-top: 2.2rem; }
.vhero__ready { max-width: 100%; text-align: left; }
.vhero__ready svg { flex: 0 0 auto; width: 22px; height: 22px; }

.vgrid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start;
  margin-top: clamp(-4rem, -5vw, -3rem); position: relative; z-index: 1; }
.vcard { background: var(--farbe-bg); border: 1px solid var(--farbe-rand); border-radius: var(--radius-gross);
  box-shadow: var(--schatten-hoch); padding: clamp(1.7rem, 3vw, 2.8rem); }
.vcard__step { display: inline-flex; align-items: center; gap: .6rem; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600; color: var(--farbe-primaer); margin-bottom: 1.4rem; }
.vcard__step b { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--farbe-primaer-hell); color: var(--farbe-primaer-dunkel);
  border: 1px solid #d3e6ee; }

/* Anamnese-Formular */
.anamnese .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.anamnese fieldset { border: 0; padding: 0; margin: 0 0 1.3rem; }
.anamnese legend { font-size: .92rem; font-weight: 500; margin-bottom: .5rem; padding: 0; }
.radiorow { display: flex; gap: .7rem; flex-wrap: wrap; }
.radiorow label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 400; font-size: .98rem;
  border: 1px solid var(--farbe-rand); border-radius: 999px; padding: .6rem 1.1rem; cursor: pointer;
  transition: border-color .2s, background .2s; }
.radiorow label:hover { border-color: var(--farbe-primaer); }
.radiorow label:has(input:checked) { background: var(--farbe-primaer-hell); border-color: var(--farbe-primaer);
  color: var(--farbe-primaer-dunkel); font-weight: 500; }
.radiorow input { accent-color: var(--farbe-primaer); }
.anamnese .hint { font-size: .86rem; color: var(--farbe-text-leise); margin-top: -.1rem; margin-bottom: .85rem;
  line-height: 1.6; }
.anamnese .chips + .hint { margin-top: .85rem; margin-bottom: 0; }

/* Auswahl-Chips (Mehrfachauswahl, anklickbar) */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips label { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; user-select: none;
  border: 1px solid var(--farbe-rand); border-radius: 999px; padding: .55rem 1rem;
  font-size: .96rem; font-weight: 400; background: var(--farbe-bg); color: var(--farbe-text);
  transition: border-color .2s, background .2s, color .2s; }
.chips label:hover { border-color: var(--farbe-primaer); }
.chips input { accent-color: var(--farbe-primaer); width: 16px; height: 16px; margin: 0; cursor: pointer; flex: 0 0 auto; }
/* Gefüllter Zustand (Progressive Enhancement via :has) */
.chips label:has(input:checked) { background: var(--farbe-primaer-hell);
  border-color: var(--farbe-primaer); color: var(--farbe-primaer-dunkel); font-weight: 500; }
.chips label:has(input:focus-visible) { outline: 2px solid var(--farbe-primaer); outline-offset: 2px; }

/* Zusammenfassung */
.summary { margin-top: 1.4rem; border: 1px dashed var(--farbe-primaer); border-radius: var(--radius);
  background: var(--farbe-primaer-hell); padding: clamp(1.3rem, 2.4vw, 1.8rem); scroll-margin-top: 110px; }
.summary[hidden] { display: none; }
.summary h3 { font-size: 1.05rem; margin-bottom: 1rem; color: var(--farbe-primaer-dunkel); }
.summary dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.2rem; font-size: .98rem; }
.summary dt { color: var(--farbe-text-leise); }
.summary dd { font-weight: 500; }
.summary__actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.3rem; }

/* Video-Startbereich */
.vjoin { position: sticky; top: 110px; }
.vbtn { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%;
  background: var(--farbe-akzent); color: #fff; font-size: 1.1rem; font-weight: 600; text-decoration: none;
  padding: 1.2rem 1.5rem; border-radius: 999px; box-shadow: 0 12px 28px rgba(107,127,17,.32);
  transition: transform .3s var(--ease-out), background .3s, box-shadow .3s; }
.vbtn:hover { transform: translateY(-2px); background: var(--farbe-akzent-dunkel);
  box-shadow: 0 18px 36px rgba(107,127,17,.38); }
.vbtn svg { width: 24px; height: 24px; }
.credbox { margin-top: 1.4rem; font-size: .94rem; color: var(--farbe-text-leise); }
.credbox dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem .9rem; margin-top: .5rem; }
.credbox dt { color: var(--farbe-text-leise); }
.credbox dd { font-weight: 600; color: var(--farbe-text); font-variant-numeric: tabular-nums; }
.vnote { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.5rem; font-size: .9rem;
  line-height: 1.6; color: var(--farbe-text-leise); background: var(--farbe-bg-sanft);
  border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.vnote svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--farbe-primaer); margin-top: 1px; }

/* Sprechzeiten (videoraum.html) — Liste ist die Datenquelle, die Statuszeile
   wird daraus berechnet. Ohne JavaScript bleibt der Status leer und
   verschwindet (:empty), die Liste bleibt lesbar. */
.sprechzeiten { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .5rem; }
.sprechzeiten li { display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: .75rem .95rem; border-radius: var(--radius-klein);
  background: var(--farbe-bg-sanft); font-size: .95rem; }
.sprechzeiten li.ist-jetzt { background: var(--farbe-primaer-hell);
  box-shadow: inset 0 0 0 1px var(--farbe-primaer); }
.sprechzeiten__tag { font-weight: 600; color: var(--farbe-text); }
.sprechzeiten__zeit { color: var(--farbe-text-leise); font-variant-numeric: tabular-nums; }

.sprechzeiten__status { display: flex; align-items: center; gap: .6rem;
  margin: 0 0 1.3rem; font-size: .96rem; font-weight: 600; color: var(--farbe-text); }
.sprechzeiten__status::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px;
  border-radius: 50%; background: var(--farbe-text-leise); }
.sprechzeiten__status.ist-offen { color: var(--farbe-akzent-dunkel); }
.sprechzeiten__status.ist-offen::before { background: var(--farbe-akzent); }
.sprechzeiten__status:empty { display: none; }

@media (max-width: 940px) {
  .vgrid { grid-template-columns: 1fr; margin-top: -2rem; }
  .vjoin { position: static; }
  .anamnese .grid2 { grid-template-columns: 1fr; }
}

/* Druck: nur die Zusammenfassung ausgeben */
@media print {
  body * { visibility: hidden !important; }
  #druckbereich, #druckbereich * { visibility: visible !important; }
  #druckbereich { position: absolute; inset: 0; margin: 0; border: 0; background: #fff !important; padding: 0; }
  .summary__actions { display: none !important; }
}

/* ── Reduced Motion (Pflicht) ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .nav, .nav__panel, .btn, .karte, .step, .faq summary::after, .nav__links a::after,
  .media-figur img, .vbtn, .nav__logo, .nav__logo img { transition: none !important; }
  .hero__img, .bildband > img { transform: none !important; will-change: auto; }
  .hero__scroll span { animation: none; }
  .karte::before { transition: none !important; }
}
