/* ==========================================================
   Praxis-Webseite – Stylesheet
   Keine externen Schriften oder Dienste (DSGVO-freundlich).
   Farben zentral anpassbar über die Variablen unten.
   ========================================================== */

:root {
  --c-bg: #faf8f5;
  --c-surface: #ffffff;
  --c-ink: #1d2a2c;
  --c-ink-soft: #4d5c5e;
  --c-line: #e4e0d9;
  --c-primary: #1f6f6b;      /* Petrol */
  --c-primary-ink: #ffffff;
  --c-primary-soft: #e3f0ee;
  --c-accent: #c98b5b;       /* warmer Sandton */
  --c-open: #2e8b57;
  --c-closed: #b4473b;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(20, 40, 40, .18);
  --header-h: 68px;
  --bar-h: 64px;
  --max: 1160px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg: #111819;
    --c-surface: #182224;
    --c-ink: #eef3f2;
    --c-ink-soft: #a9b7b6;
    --c-line: #2a3739;
    --c-primary: #4fb3aa;
    --c-primary-ink: #0d1516;
    --c-primary-soft: #1c3331;
    --c-accent: #e0a678;
    --c-closed: #f08a7c;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --c-bg: #111819;
    --c-surface: #182224;
    --c-ink: #eef3f2;
    --c-ink-soft: #a9b7b6;
    --c-line: #2a3739;
    --c-primary: #4fb3aa;
    --c-primary-ink: #0d1516;
    --c-primary-soft: #1c3331;
    --c-accent: #e0a678;
    --c-closed: #f08a7c;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--c-primary); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--c-primary); color: var(--c-primary-ink);
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.3em; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-primary); color: var(--c-primary-ink); box-shadow: var(--shadow); }
.btn-ghost { border-color: currentColor; color: var(--c-ink); background: transparent; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Header (Desktop & Tablet, immer sichtbar) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--c-bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-ink); font-weight: 700; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--c-primary); color: var(--c-primary-ink); font-family: var(--font-display); font-size: 1.2rem;
}
.brand small { display: block; font-weight: 500; color: var(--c-ink-soft); font-size: .78rem; line-height: 1.2; }
.brand span { line-height: 1.2; }

.main-nav { margin-left: auto; display: flex; gap: 22px; }
.main-nav a { color: var(--c-ink-soft); text-decoration: none; font-size: .95rem; }
.main-nav a:hover { color: var(--c-ink); }

.header-contact { display: flex; align-items: center; gap: 12px; }
.header-contact .btn { padding: .55em 1em; font-size: .92rem; }

/* Öffnungsstatus-Pille */
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; color: var(--c-ink-soft);
  padding: .4em .8em; border-radius: 999px; background: var(--c-surface);
  border: 1px solid var(--c-line); cursor: pointer; font-family: inherit;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-ink-soft); }
.status-pill.is-open .status-dot { background: var(--c-open); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-open) 22%, transparent); }
.status-pill.is-closed .status-dot { background: var(--c-closed); }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-contact .btn-call-label { display: none; }
}
@media (max-width: 640px) {
  .header-contact .btn { display: none; }
  .header-contact { margin-left: auto; }
}

/* ---------- Mobile Kontaktleiste unten ---------- */
.contact-bar {
  display: none;
  position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px; z-index: 60;
  height: var(--bar-h);
  background: color-mix(in srgb, var(--c-surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--c-line); border-radius: 20px; box-shadow: var(--shadow);
  grid-template-columns: repeat(4, 1fr);
}
.contact-bar a, .contact-bar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font: inherit; font-size: .72rem; font-weight: 600; color: var(--c-ink);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.contact-bar svg { width: 22px; height: 22px; color: var(--c-primary); }
.contact-bar .is-primary { color: var(--c-primary); }

@media (max-width: 640px) {
  .contact-bar { display: grid; }
  body { padding-bottom: calc(var(--bar-h) + 28px); }
}

/* ---------- Öffnungszeiten-Panel ---------- */
.hours-panel {
  position: fixed; z-index: 80; right: 16px; top: calc(var(--header-h) + 10px);
  width: min(380px, calc(100% - 32px));
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 22px 22px 18px;
  opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.hours-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.hours-panel h2 { font-size: 1.35rem; margin-bottom: .6em; }
.hours-panel .close {
  position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--c-primary-soft); color: var(--c-ink); cursor: pointer; font-size: 1.2rem;
}
@media (max-width: 640px) {
  .hours-panel {
    top: auto; right: 12px; left: 12px; width: auto;
    bottom: calc(var(--bar-h) + 24px + env(safe-area-inset-bottom));
    transform: translateY(12px);
  }
}

.hours-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.hours-table th, .hours-table td { text-align: left; padding: .45em 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.hours-table th { font-weight: 600; width: 38%; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--c-primary); font-weight: 700; }
.hours-note { font-size: .88rem; color: var(--c-ink-soft); margin: .8em 0 0; }

/* ---------- Bild-Platzhalter ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--c-primary) 35%, transparent), transparent 60%),
    radial-gradient(90% 80% at 90% 90%, color-mix(in srgb, var(--c-accent) 40%, transparent), transparent 60%),
    var(--c-primary-soft);
  min-height: 220px;
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 16px; bottom: 14px;
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  padding: .35em .7em; border-radius: 999px;
  background: color-mix(in srgb, var(--c-surface) 80%, transparent); color: var(--c-ink-soft);
}
.ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ph:has(img)::after { display: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; padding-top: calc(var(--header-h) + 40px);
  display: grid; align-items: center; position: relative; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-primary); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--c-primary); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--c-ink-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { aspect-ratio: 4 / 5; min-height: 0; }
.hero-scroll-hint {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid var(--c-ink-soft); border-radius: 14px; opacity: .6;
}
.hero-scroll-hint::before {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--c-ink-soft); animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 860px) {
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .hero-scroll-hint { display: none; }
}

/* ---------- Sektionen ---------- */
section { padding: clamp(72px, 11vw, 140px) 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section-head p { color: var(--c-ink-soft); font-size: 1.15rem; }

/* Statement: Wörter leuchten beim Scrollen nacheinander auf */
.statement { padding: 0; }
.statement-track { height: 220vh; position: relative; }
.statement-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; place-items: center;
}
.statement-text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 4rem); line-height: 1.2; letter-spacing: -.01em;
  max-width: 22ch; text-align: center; margin: 0;
}
.statement-text.is-animated .w { opacity: .14; will-change: opacity; }

/* Bild, das sich beim Scrollen von klein auf groß aufzieht */
.zoom-track { height: 200vh; position: relative; }
.zoom-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.zoom-frame {
  width: 100%; height: 100%;
  clip-path: inset(var(--inset, 22%) round var(--r, 28px));
  will-change: clip-path;
}
.zoom-frame .ph { width: 100%; height: 100%; border-radius: 0; }
.zoom-caption {
  position: absolute; inset: auto 0 10% 0; text-align: center; color: #fff;
  font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 3rem);
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
  opacity: var(--cap, 0); transform: translateY(calc((1 - var(--cap, 0)) * 30px));
}

/* Leistungen */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .3s ease, box-shadow .3s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--c-primary-soft); color: var(--c-primary); margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.2rem; }
.service p { color: var(--c-ink-soft); margin: 0; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* Über uns / Ärztin */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about .ph { aspect-ratio: 4 / 5; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.fact { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; }
.fact strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--c-primary); line-height: 1.1; }
.fact span { font-size: .9rem; color: var(--c-ink-soft); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about .ph { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) { .about-facts { grid-template-columns: 1fr; } }

/* Horizontale Galerie (Einblicke) */
.gallery-track { position: relative; }
.gallery-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.gallery-row { display: flex; gap: 24px; padding-inline: max(16px, calc((100vw - var(--max)) / 2)); will-change: transform; }
.gallery-row .ph { flex: none; width: min(68vw, 560px); aspect-ratio: 4 / 3; min-height: 0; }
.gallery-head { margin-bottom: 36px; }

/* Ablauf / Hinweise */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius-lg); background: var(--c-primary-soft); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--c-primary); margin-bottom: 8px;
}
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; color: var(--c-ink-soft); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Kontakt & Öffnungszeiten */
.contact { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.card { border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 28px; background: var(--c-bg); }
.card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 22px; height: 22px; color: var(--c-primary); }
.card address { font-style: normal; }
.card .btn { margin-top: 12px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: .35em 0; }
.contact-list a { text-decoration: none; font-weight: 600; }

/* Karte: wird erst nach Klick geladen (2-Klick-Lösung) */
.map-consent {
  margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line);
  min-height: 320px; display: grid; place-items: center; text-align: center; padding: 28px;
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, color-mix(in srgb, var(--c-line) 60%, transparent) 22px 23px),
    var(--c-bg);
}
.map-consent p { max-width: 52ch; color: var(--c-ink-soft); font-size: .95rem; }
.map-consent iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-consent.is-loaded { padding: 0; display: block; }

@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } .contact-grid .card:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding: 48px 0; color: var(--c-ink-soft); font-size: .92rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: inherit; }

/* Notfall-Hinweis */
.emergency {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 22px; border-radius: var(--radius); margin-top: 24px;
  background: color-mix(in srgb, var(--c-closed) 10%, var(--c-surface));
  border: 1px solid color-mix(in srgb, var(--c-closed) 30%, transparent);
  font-size: .95rem;
}
.emergency strong { color: var(--c-closed); }

/* ---------- Einblend-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.reveal-scale.is-visible { opacity: 1; transform: none; }

/* Ohne JavaScript alles sichtbar lassen */
.no-js .reveal, .no-js .reveal-scale { opacity: 1; transform: none; }

/* Wer reduzierte Bewegung eingestellt hat, bekommt keine Effekte */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .statement-track, .zoom-track { height: auto; }
  .statement-sticky, .zoom-sticky { position: static; height: auto; padding: 80px 0; }
  .zoom-frame { clip-path: none; height: 60vh; }
  .zoom-caption { opacity: 1; transform: none; }
  .gallery-track { height: auto !important; }
  .gallery-sticky { position: static; height: auto; padding: 80px 0; }
  .gallery-row { overflow-x: auto; transform: none !important; scroll-snap-type: x mandatory; }
  .gallery-row .ph { scroll-snap-align: start; }
  .hero-scroll-hint::before { animation: none; }
}

/* Rechtstexte */
.legal { padding-top: calc(var(--header-h) + 48px); }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-family: var(--font); font-size: 1.25rem; margin-top: 2em; }
.legal .todo { background: color-mix(in srgb, var(--c-accent) 22%, transparent); padding: 0 .3em; border-radius: 4px; }

/* Feinschliff Mobil: Statuspille einzeilig */
@media (max-width: 640px) {
  .status-pill { white-space: nowrap; font-size: .76rem; padding: .4em .7em; }
  .site-header .status-detail { display: none; }
  .brand small { display: none; }
}
@media (max-width: 360px) { .brand > span:last-child { display: none; } }

/* Lesbarkeit der Bildunterschrift auf hellen Fotos */
.zoom-frame .ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent 45%);
}
.zoom-caption { z-index: 2; }

/* ---------- Aktuelles (neben der Startüberschrift) ---------- */
.news {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 32px); min-width: 0;
}
.news-title {
  font-size: .85rem; font-family: var(--font); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-primary); display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.news-title::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 25%, transparent);
}
.news-list { list-style: none; margin: 0; padding: 0; display: grid; }
.news-item { padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-item h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.news-item p { margin: 0; color: var(--c-ink-soft); font-size: .97rem; }
.news-tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  padding: .25em .7em; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary);
}
.news-tag-warn { background: color-mix(in srgb, var(--c-accent) 22%, transparent); color: var(--c-ink); }
.todo { background: color-mix(in srgb, var(--c-accent) 22%, transparent); padding: 0 .3em; border-radius: 4px; }

/* ---------- Team ---------- */
.team { margin-top: clamp(72px, 9vw, 120px); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { margin: 0; }
.member .ph { aspect-ratio: 1 / 1; min-height: 0; border-radius: var(--radius); }
.member .ph::after { display: none; }
.member figcaption { padding: 14px 4px 0; display: grid; gap: 2px; }
.member strong { font-size: 1.05rem; }
.member span { color: var(--c-primary); font-size: .92rem; font-weight: 600; }
.member small { color: var(--c-ink-soft); font-size: .88rem; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Größerer Live-Status auf dem PC ---------- */
@media (min-width: 981px) {
  :root { --header-h: 78px; }
  .site-header .status-pill {
    font-size: 1rem; padding: .55em 1.1em; gap: 10px;
    border-width: 1.5px; color: var(--c-ink);
  }
  .site-header .status-pill .status-dot { width: 11px; height: 11px; }
  .site-header .status-pill.is-open { border-color: color-mix(in srgb, var(--c-open) 45%, var(--c-line)); background: color-mix(in srgb, var(--c-open) 8%, var(--c-surface)); }
  .site-header .status-pill.is-closed { border-color: color-mix(in srgb, var(--c-closed) 40%, var(--c-line)); background: color-mix(in srgb, var(--c-closed) 6%, var(--c-surface)); }
  .site-header .status-detail { font-weight: 500; color: var(--c-ink-soft); }
  .site-header .header-contact .btn { padding: .65em 1.15em; font-size: 1rem; }
}
@media (min-width: 981px) {
  .site-header .container { width: min(1320px, 100% - 32px); }
  .brand span, .main-nav a, .site-header .status-pill, .site-header .header-contact .btn { white-space: nowrap; }
}
@media (min-width: 981px) and (max-width: 1359px) {
  .main-nav { gap: 14px; }
  .site-header .container { gap: 16px; }
  .site-header .status-detail { display: none; }
}

/* ---------- Echte Fotos ---------- */
.ph img { height: 100%; }
.about .portrait img { object-position: 50% 25%; }
/* Bildname nur bei Platzhaltern zeigen */
.ph:has(img)::after { display: none; }

/* ---------- Praxislogo ---------- */
:root { --logo-tile: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --logo-tile: #eef3f2; } }
:root[data-theme="dark"] { --logo-tile: #eef3f2; }
.brand-logo { flex: none; display: flex; padding: 3px 6px; border-radius: 10px; background: var(--logo-tile); }
.brand-logo img { display: block; height: 48px; width: auto; max-width: none; }
@media (max-width: 640px) { .brand-logo img { height: 42px; } }

/* ---------- Ruhigere Einblendungen auf dem Handy ---------- */
@media (max-width: 700px) {
  .reveal { transform: translateY(16px); transition-duration: .6s, .6s; }
  .reveal[data-delay] { transition-delay: 0s; }
  .reveal-scale { transform: scale(.98); transition-duration: .7s, .8s; }
}

/* ---------- Name der Ärztin im Kopf hervorheben ---------- */
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  letter-spacing: -.01em; line-height: 1.1; white-space: nowrap;
}
.brand-name small { font-family: var(--font); letter-spacing: .02em; margin-top: 2px; }
@media (min-width: 981px) { .brand-name { font-size: 1.6rem; } }
@media (max-width: 640px) { .brand-name { font-size: 1.25rem; } }
