/* =============================================================
   Zahnarzt Dr. Gellißen – Designsystem
   Visuelle Identität: editorial / „Praxis-Journal“
   Aus echten Praxisinhalten entwickelt: Albertusstraße, City,
   „über den Dächern der Stadt“, seit 2002, lange Sprechzeiten,
   alle Kassen. Bewusst KEIN Template-/SaaS-/KI-Look:
   - warmes Papierweiß statt Reinweiß
   - flache Farben statt KI-Verläufe
   - Haarlinien & ruhige Flächen statt uniformer Schatten-Karten
   - nummerierter Leistungs-Index als Signatur
   - kein Glas-/Blur-Effekt
   Schriften: Spectral (Display/Serif) + Hanken Grotesk (Text)
   ============================================================= */

:root {
  /* Papier & Flächen (warm, flach) */
  --paper:    #f7f5ef;   /* warmes Off-White – Grundfläche */
  --paper-2:  #f0ece2;   /* abgesetzte Sektion */
  --sand:     #e7dfce;   /* warmer Block/Trenner */
  --card:     #fffdf9;   /* Panels */
  --ink:      #1b2a30;   /* Anthrazit-Petrol, Headlines/Footer */
  --ink-2:    #33454c;
  --text:     #3c4c52;   /* Fließtext */
  --muted:    #6c7a80;
  --line:     #d9d2c2;   /* Haarlinie auf Papier */
  --line-2:   #e6e0d2;
  --accent:   #0f7a87;   /* Petrol */
  --accent-d: #0a565f;
  --accent-t: #e0ebec;   /* kühler Tint, sparsam */
  --on-ink:   #cdd8da;

  --font-head: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;

  --maxw: 1200px;
  --maxw-narrow: 760px;
  --r: 3px;             /* bewusst kantig, kein Pill-Look */
  --r-lg: 6px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --section-y: clamp(60px, 8.5vw, 124px);
  --ease: cubic-bezier(.2,.6,.3,1);
  --shadow-pop: 0 18px 50px rgba(27,42,48,.16);  /* nur für Overlays */
}

/* -------- Reset / Base -------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  font-size: clamp(16.5px, 1.04vw, 18px);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* feine Papier-Textur (kein Foto, sehr dezent) */
  background-image:
    radial-gradient(rgba(27,42,48,.018) 1px, transparent 1px);
  background-size: 4px 4px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-d); text-decoration: none; }
a:hover { color: var(--accent); }
ul { padding-left: 1.1em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); font-weight: 500; line-height: 1.08; letter-spacing: -.005em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.5rem); font-weight: 500; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { max-width: 66ch; }
em, .italic { font-style: italic; }

/* -------- Layout-Helfer -------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--surface { background: var(--paper-2); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section + .section--surface, .section--surface + .section { border-top: 1px solid var(--line-2); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Kicker / Label – mit fortlaufender Linie statt Icon */
.kicker {
  display: inline-flex; align-items: baseline; gap: .7em;
  font-family: var(--font-body); font-size: .76rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent-d);
  margin-bottom: 1.1rem;
}
.kicker::before { content: ""; align-self: center; width: 30px; height: 1px; background: var(--accent); }
.section--ink .kicker { color: #74c4cd; } .section--ink .kicker::before { background: #74c4cd; }
.eyebrow { /* Alias für Generator-Kompatibilität */ }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-2); line-height: 1.6; }
.section-head { max-width: 56ch; margin-bottom: clamp(2.2rem,4vw,3.4rem); }
.section-head.center { margin-inline: auto; }
.measure { max-width: 60ch; }

/* -------- Buttons (rechteckig, editorial) -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 1.05em 1.7em; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; transition: background .22s, color .22s, border-color .22s, transform .22s var(--ease), box-shadow .22s;
  line-height: 1; letter-spacing: .01em;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(15,122,135,.28); }
.btn--primary:hover { background: var(--accent-d); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15,122,135,.34); }
.btn--ghost { background: transparent; color: var(--accent-d); border-color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,122,135,.26); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-t); color: var(--accent-d); }
.btn--on-ink { background: var(--accent); color:#fff; }
.btn--on-ink:hover { background:#fff; color: var(--ink); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* Text-Link mit Pfeil (tertiär) */
.tlink { display:inline-flex; align-items:center; gap:.5em; font-weight:600; color: var(--accent-d); border-bottom:1px solid transparent; padding-bottom:2px; }
.tlink svg { width:1.05em; height:1.05em; transition: transform .25s var(--ease); }
.tlink:hover { border-color: var(--accent); } .tlink:hover svg { transform: translateX(4px); }

/* =============================================================
   Masthead / Header  (solide, Haarlinie – KEIN Blur)
   ============================================================= */
.topbar { background: var(--ink); color: var(--on-ink); font-size: .82rem; }
.topbar .container { display:flex; justify-content:space-between; align-items:center; gap:1rem; height: 38px; }
.topbar a { color: var(--on-ink); }
.topbar a:hover { color:#fff; }
.topbar .tb-right { display:flex; gap:1.4rem; align-items:center; }
.topbar .tb-item { display:inline-flex; align-items:center; gap:.5em; }
.topbar svg { width:14px; height:14px; color:#74c4cd; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(27,42,48,.04); }
.nav { display:flex; align-items:center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { display:flex; align-items:center; gap:.75rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px; border-radius: var(--r);
  background: var(--accent); color:#fff; display:grid; place-items:center; flex:none;
  font-family: var(--font-head); font-weight:600; font-size:1.1rem; letter-spacing:.02em;
}
.brand-logo {
  height: 48px; width: auto; display: block; flex: none;
  image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;
}
.footer-brand .brand-logo { filter: brightness(0) invert(1); opacity: .88; }
.brand-name { font-family: var(--font-head); font-weight:600; font-size:1.22rem; line-height:1.05; letter-spacing:-.01em; }
.brand-name small { display:block; font-family: var(--font-body); font-weight:500; font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color: var(--muted); margin-top:2px; }
.nav-links { display:flex; align-items:center; gap: clamp(.5rem,1.5vw,1.6rem); list-style:none; padding:0; margin:0; }
.nav-links > li > a { color: var(--ink-2); font-weight:500; font-size:.97rem; position:relative; padding:.4em 0; display:inline-block; }
.nav-links > li > a:hover { color: var(--accent-d); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background: var(--accent); }
.nav-cta { display:flex; align-items:center; }
.nav-toggle { display:none; }

.has-sub { position: relative; }
.subnav {
  position:absolute; top: calc(100% + 12px); left:0;
  background: var(--card); border:1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop); padding:.4rem; min-width: 260px;
  display:grid; gap:1px; opacity:0; visibility:hidden; transform: translateY(8px); transition:.2s var(--ease);
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity:1; visibility:visible; transform:none; }
.subnav a { padding:.55em .7em; border-radius:var(--r); font-size:.92rem; color: var(--ink-2); display:flex; gap:.6em; align-items:baseline; }
.subnav a .n { font-family:var(--font-head); color: var(--accent); font-size:.8rem; min-width:1.4em; }
.subnav a:hover { background: var(--paper-2); color: var(--accent-d); }

/* =============================================================
   Editorial Hero
   ============================================================= */
.hero { padding-top: clamp(40px,6vw,72px); padding-bottom: clamp(48px,7vw,96px); }
.hero-top { display:flex; align-items:baseline; gap:1rem; border-top:1px solid var(--ink); padding-top:.9rem; margin-bottom: clamp(1.5rem,4vw,2.6rem); }
.hero-top .label { font-family:var(--font-body); font-size:.74rem; letter-spacing:.22em; text-transform:uppercase; color: var(--accent-d); font-weight:600; }
.hero-top .dot { flex:1; height:1px; background: var(--line); align-self:center; }
.hero-top .since { font-family:var(--font-head); font-style:italic; color: var(--muted); font-size:.95rem; }

.hero-grid { display:grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem,5vw,4rem); align-items:end; }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero .lead { max-width: 46ch; margin-bottom: 2rem; }
.hero .btn-row { margin-bottom: 0; }

/* Bildplatte (echtes Foto, gerahmt + Bildunterschrift = editorial, nicht „Stock“) */
.plate { position: relative; }
.plate-frame { border:1px solid var(--ink); padding:8px; background: var(--card); }
.plate-frame img { width:100%; aspect-ratio: 4/5; object-fit: cover; display:block; filter: saturate(.92) contrast(1.02); }
.plate-cap { display:flex; justify-content:space-between; gap:1rem; margin-top:.7rem; font-size:.78rem; color: var(--muted); }
.plate-cap .italic { font-family: var(--font-head); font-style:italic; color: var(--ink-2); }
.plate-ph { aspect-ratio:4/5; display:grid; place-items:center; text-align:center; gap:.7rem; padding:2rem; background: var(--paper-2); color: var(--muted); }
.plate-ph svg { width:38px; height:38px; color: var(--accent); opacity:.7; }

/* Fakten-Leiste (echte Daten) */
.facts { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top:1px solid var(--line); margin-top: clamp(2.4rem,5vw,3.6rem); }
.fact { padding: 1.2rem 1.3rem 1.2rem 0; border-right:1px solid var(--line); }
.fact:last-child { border-right:none; }
.fact .v { font-family: var(--font-head); font-size: clamp(1.3rem,2.2vw,1.7rem); color: var(--ink); font-weight:600; line-height:1.1; }
.fact .v .u { font-size:.7em; color: var(--accent-d); }
.fact .k { font-size:.82rem; color: var(--muted); margin-top:.35rem; }

/* =============================================================
   Leistungs-Index (Signatur) – nummerierte Liste, keine Karten
   ============================================================= */
.svc-index { border-top:1px solid var(--ink); }
.svc-row {
  display:grid; grid-template-columns: 4rem 1fr auto; align-items:center; gap: clamp(1rem,3vw,2.5rem);
  padding: clamp(1.1rem,2.4vw,1.7rem) 0; border-bottom:1px solid var(--line);
  position:relative; transition: padding-left .3s var(--ease); color: var(--ink);
}
.svc-row .n { font-family: var(--font-head); font-size: clamp(1.1rem,1.6vw,1.35rem); color: var(--muted); transition: color .3s; }
.svc-row .svc-main { display:grid; gap:.25rem; }
.svc-row .svc-name { font-family: var(--font-head); font-size: clamp(1.3rem,2.4vw,1.9rem); font-weight:500; color: var(--ink); line-height:1.1; }
.svc-row .svc-desc { font-size:.96rem; color: var(--text); max-width: 60ch; }
.svc-row .svc-go { width:46px; height:46px; border:1px solid var(--line); border-radius:50%; display:grid; place-items:center; color: var(--ink); transition:.3s var(--ease); flex:none; }
.svc-row .svc-go svg { width:20px; height:20px; transition: transform .3s var(--ease); }
.svc-row::before { content:""; position:absolute; left:-1px; top:50%; transform: translateY(-50%); width:3px; height:0; background: var(--accent); transition: height .3s var(--ease); }
.svc-row:hover { padding-left: 1.1rem; background: linear-gradient(90deg, var(--paper-2), transparent 60%); }
.svc-row:hover::before { height: 64%; }
.svc-row:hover .n { color: var(--accent); }
.svc-row:hover .svc-go { background: var(--accent); border-color: var(--accent); color:#fff; }
.svc-row:hover .svc-go svg { transform: translateX(2px); }

/* =============================================================
   Cards (flach, Haarlinie, kein uniformer Schatten)
   – für Kontextboxen, Nutzen, Hinweis, „weitere Leistungen“
   ============================================================= */
.grid { display:grid; gap: clamp(1rem,2.2vw,1.5rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: var(--card); border:1px solid var(--line); border-radius: var(--r); padding: clamp(1.3rem,2.2vw,1.7rem); display:flex; flex-direction:column; gap:.6rem; height:100%; transition: border-color .25s, transform .25s var(--ease); }
.card:hover { border-color: var(--accent); }
.card h3 { font-size:1.25rem; }
.card p { color: var(--text); font-size:.97rem; }
.card .num-idx { font-family: var(--font-head); color: var(--accent); font-size:1.1rem; }
.card .more { margin-top:auto; }

/* schlanke Leistungskarte (für „weitere Leistungen“) */
.mini { display:flex; align-items:center; justify-content:space-between; gap:1rem; background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:1.1rem 1.3rem; color:var(--ink); transition:border-color .25s, background .25s; }
.mini:hover { border-color: var(--accent); background: var(--paper-2); }
.mini .mini-name { font-family:var(--font-head); font-size:1.15rem; font-weight:500; }
.mini .mini-n { font-family:var(--font-head); color: var(--muted); font-size:.9rem; margin-right:.6rem; }
.mini svg { width:18px; height:18px; color: var(--accent); flex:none; }

/* Icon-Badge (nur dort, wo eine Leistung wirklich gekennzeichnet wird – flach, Outline) */
.icon-badge { width: 46px; height:46px; display:grid; place-items:center; color: var(--accent); border:1px solid var(--line); border-radius: var(--r); margin-bottom:.3rem; }
.icon-badge svg { width:24px; height:24px; }

/* Feature-Split */
.split { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,5vw,4.5rem); align-items:center; }
.split--reverse .split-media { order:-1; }
.media-frame { border:1px solid var(--ink); padding:8px; background:var(--card); }
.media-frame img { width:100%; display:block; filter: saturate(.92) contrast(1.02); }
.img-note { font-size:.78rem; color: var(--muted); margin-top:.7rem; font-style:italic; }
.placeholder { display:grid; place-items:center; text-align:center; gap:.6rem; padding:2.5rem; aspect-ratio:4/3; color: var(--muted); background: var(--paper-2); border:1px solid var(--line); }
.placeholder svg { width:38px; height:38px; color: var(--accent); opacity:.7; }
.placeholder .ph-title { font-family:var(--font-head); color: var(--ink-2); font-size:1.05rem; }
.placeholder small { font-size:.8rem; }

/* Checkliste */
.checklist { list-style:none; padding:0; display:grid; gap:.8rem; }
.checklist li { display:flex; gap:.75rem; align-items:flex-start; }
.checklist svg { flex:none; width:20px; height:20px; color: var(--accent); margin-top:.25rem; }

/* Ablauf / Steps – nummerierte Timeline mit Verbindungslinie (v4: lebhafter) */
.steps { display:grid; gap: .9rem; counter-reset: step; position:relative; }
.steps::before { content:""; position:absolute; left: 26px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--accent) 0%, var(--line) 100%); opacity:.45; }
.step {
  display:grid; grid-template-columns: 52px 1fr; gap:1.3rem; align-items:start;
  background: var(--card); border:1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.25rem 1.4rem; position:relative; z-index:1;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.step:hover { border-color: var(--accent); transform: translateX(6px); box-shadow: 0 10px 30px rgba(27,42,48,.08); }
.step .step-no {
  counter-increment: step; width:52px; height:52px; border-radius:50%;
  background: var(--accent-t); color: var(--accent-d);
  display:grid; place-items:center;
  font-family:var(--font-head); font-size:1.35rem; font-weight:600;
  box-shadow: inset 0 0 0 1px rgba(15,122,135,.18);
  transition: background .3s, color .3s;
}
.step:hover .step-no { background: var(--accent); color:#fff; }
.step .step-no::before { content: "0" counter(step); }
.step h4 { font-size:1.14rem; margin-bottom:.25rem; margin-top:.4rem; }
.step p { font-size:.96rem; margin:0; color: var(--text); }

/* CTA-Band – flach (Anthrazit), kein Verlauf – präsenter (v4) */
.cta-band { background: var(--ink); color: var(--on-ink); padding: clamp(3.2rem,7.5vw,5.8rem) clamp(2rem,6vw,5rem); position:relative; border-radius: var(--r-lg); }
.cta-band::before { content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background: var(--accent); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.cta-band .kicker { color:#74c4cd; }
.cta-band h2 { color:#fff; max-width: 22ch; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.cta-band p { color: var(--on-ink); margin: 1.2rem 0 2.2rem; max-width: 56ch; font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
.section--cta { padding-block: clamp(40px, 6vw, 80px); }
.section--cta .container { max-width: calc(var(--maxw) + 80px); }

/* FAQ Akkordeon – Karten mit Akzentkante (v4: lebhafter) */
.accordion { display:grid; gap:.8rem; }
.acc-item {
  background: var(--card); border:1px solid var(--line); border-radius: var(--r-lg);
  border-left:3px solid var(--line); overflow:hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.acc-item:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(27,42,48,.07); }
.acc-item.is-open { border-left-color: var(--accent); border-color: var(--accent); box-shadow: 0 10px 30px rgba(27,42,48,.08); }
.acc-btn { width:100%; text-align:left; background:none; border:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:1rem; padding: 1.2rem 1.4rem; font-family: var(--font-head); font-weight:500; font-size:1.16rem; color: var(--ink); }
.acc-btn .ico { flex:none; width:30px; height:30px; position:relative; border-radius:50%; background: var(--accent-t); transition: background .25s, transform .3s var(--ease); }
.acc-btn .ico::before, .acc-btn .ico::after { content:""; position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); background: var(--accent-d); }
.acc-btn .ico::before { width:12px; height:2px; }
.acc-btn .ico::after { width:2px; height:12px; transition: transform .25s var(--ease); }
.acc-item.is-open .acc-btn .ico { background: var(--accent); transform: rotate(180deg); }
.acc-item.is-open .acc-btn .ico::before, .acc-item.is-open .acc-btn .ico::after { background:#fff; }
.acc-item.is-open .acc-btn .ico::after { transform: translate(-50%,-50%) scaleY(0); }
.acc-item.is-open .acc-btn { color: var(--accent-d); }
.acc-panel { max-height:0; overflow:hidden; transition: max-height .3s var(--ease); }
.acc-panel-inner { padding: 0 1.4rem 1.4rem; color: var(--text); max-width: 72ch; }
.acc-panel-inner p { font-size:.98rem; }
/* FAQ → CTA: weniger Leerraum */
.section--tight { padding-bottom: clamp(24px, 3vw, 44px); }
.section--tight + .section { padding-top: clamp(16px, 2.5vw, 36px); }

/* Team / Profil */
.profile { display:grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items:start; }
.profile-photo { border:1px solid var(--ink); padding:8px; background: var(--card); }
.profile-photo img { width:100%; aspect-ratio:3/4; object-fit:cover; object-position: top center; filter: saturate(.92); }
.profile-name { margin-bottom:.15rem; }
.profile-role { color: var(--accent-d); font-family: var(--font-head); font-style:italic; font-size:1.05rem; margin-bottom:1.2rem; }

.timeline { list-style:none; padding:0; margin:1.4rem 0 0; }
.timeline li { display:grid; grid-template-columns: 9.5rem 1fr; gap:1.2rem; padding:.85rem 0; border-top:1px solid var(--line); }
.timeline li:last-child { border-bottom:1px solid var(--line); }
.timeline .ty { font-family:var(--font-head); font-weight:600; color: var(--accent-d); font-size:.98rem; }
.timeline .tt { color: var(--text); font-size:.97rem; }

.team-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem,2.4vw,1.6rem); }
.team-card { text-align:left; }
.team-ph { aspect-ratio:3/4; display:grid; place-items:center; background: var(--paper-2); border:1px solid var(--line); color: var(--muted); margin-bottom:.9rem; }
.team-ph svg { width:46px; height:46px; opacity:.6; }

/* Galerie – hochwertige Karten mit Hover-Effekt (v4) */
.gallery { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem,1.6vw,1.2rem); }
.gallery figure {
  margin:0; background: var(--card); overflow:hidden;
  border:1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.gallery figure:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(27,42,48,.13); border-color: var(--accent); }
.gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; transition: transform .55s var(--ease), filter .4s; filter: saturate(.88); }
.gallery figure:hover img { transform: scale(1.06); filter: saturate(1.04) brightness(1.05); }
.gallery figcaption { font-size:.8rem; color: var(--ink-2); padding:.65rem .85rem; font-style:italic; font-family: var(--font-head); border-top:1px solid var(--line-2); background: var(--card); position:relative; z-index:1; }

/* Kontakt */
.contact-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem); align-items:start; }
.info-list { list-style:none; padding:0; display:grid; gap:0; border-top:1px solid var(--line); }
.info-list li { display:flex; gap:1rem; align-items:flex-start; padding:1.1rem 0; border-bottom:1px solid var(--line); }
.info-list .ico { flex:none; width:24px; height:24px; color: var(--accent); margin-top:.15rem; }
.info-list .ico svg { width:24px; height:24px; }
.info-list .k { font-size:.76rem; text-transform:uppercase; letter-spacing:.12em; color: var(--muted); font-weight:600; }
.info-list .v { font-size:1.08rem; color: var(--ink); }
.info-list a.v:hover { color: var(--accent-d); }
.hours { width:100%; border-collapse:collapse; }
.hours tr { border-bottom:1px solid var(--line); }
.hours tr:first-child { border-top:1px solid var(--line); }
.hours th, .hours td { padding:.7rem 0; font-size:.98rem; }
.hours th { font-weight:500; color: var(--ink); text-align:left; font-family: var(--font-body); }
.hours td { color: var(--ink-2); text-align:right; font-family: var(--font-head); }
.hours tr.hl th, .hours tr.hl td { color: var(--accent-d); font-weight:600; }

/* TODO / Platzhalter – nicht öffentlich sichtbar (Feedback 2026-06) */
.todo { display:none; }
.legal-block { max-width: 74ch; }
.legal-block h2 { margin-top:2rem; font-size:1.5rem; }
.legal-block h3 { margin-top:1.6rem; }
.legal-block p, .legal-block li { color: var(--text); font-size:.98rem; }

/* Page-Hero / Breadcrumb */
.page-hero { padding-block: clamp(2.4rem,5vw,4rem) clamp(1.6rem,3vw,2.6rem); border-bottom:1px solid var(--line); }
.crumbs { font-size:.82rem; color: var(--muted); margin-bottom:1rem; letter-spacing:.04em; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--accent-d); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); padding-block: clamp(3rem,6vw,4.5rem) 1.5rem; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(1.5rem,4vw,3rem); }
.site-footer h4 { color:#fff; font-family:var(--font-body); font-size:.76rem; letter-spacing:.16em; text-transform:uppercase; margin-bottom:1.2rem; color:#74c4cd; }
.site-footer a { color: var(--on-ink); }
.site-footer a:hover { color:#fff; }
.footer-links { list-style:none; padding:0; display:grid; gap:.6rem; font-size:.95rem; }
.footer-brand .brand { color:#fff; margin-bottom:1rem; }
.footer-brand .brand-name { color:#fff; }
.footer-brand .brand-name small { color:#7f969d; }
.footer-brand p { font-size:.95rem; color:#9fb1b7; max-width:34ch; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:2.6rem; padding-top:1.5rem; display:flex; flex-wrap:wrap; gap:.8rem 1.5rem; justify-content:space-between; font-size:.84rem; color:#7f969d; }
.footer-bottom a { color:#7f969d; }

/* Quickbar (mobil) */
.quickbar { display:none; }

/* Scroll-/Load-Reveal */
.reveal { opacity:0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity:1; transform:none; }
.reveal.d1{transition-delay:.07s}.reveal.d2{transition-delay:.14s}.reveal.d3{transition-delay:.21s}.reveal.d4{transition-delay:.28s}.reveal.d5{transition-delay:.35s}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; align-items:start; }
  .plate { max-width: 440px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { border-bottom:1px solid var(--line); padding-right:1rem; }
  .fact:nth-child(2n) { border-right:none; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order:0; }
  .profile { grid-template-columns: 1fr; } .profile-photo { max-width:260px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topbar { display:none; }
  .svc-row { grid-template-columns: 3rem 1fr auto; gap:1rem; }

  .nav-toggle { display:inline-flex; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; z-index:120; }
  .nav-toggle span { width:26px; height:2px; background: var(--ink); transition:.3s var(--ease); }
  .nav.is-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav-toggle span:nth-child(2){ opacity:0; }
  .nav.is-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction:column; align-items:stretch; background: var(--paper); border-bottom:1px solid var(--line); padding: 1rem var(--gutter) 1.6rem; gap:0; box-shadow: var(--shadow-pop); transform: translateY(-10px); opacity:0; visibility:hidden; pointer-events:none; transition:.26s var(--ease); max-height: calc(100vh - 76px); overflow-y:auto; }
  .nav.is-open .nav-links { transform:none; opacity:1; visibility:visible; pointer-events:auto; }
  .nav-links > li > a { padding:.9em .1em; border-bottom:1px solid var(--line-2); font-size:1.05rem; display:block; }
  .nav-links a.is-active::after { display:none; }
  .has-sub .subnav { position:static; transform:none; box-shadow:none; border:none; padding:.2rem 0 .5rem .9rem; min-width:0; background:none; }
  .nav-cta { display:none; }

  .quickbar { display:flex; position:fixed; bottom:0; left:0; right:0; z-index:90; background: var(--card); border-top:1px solid var(--line); }
  .quickbar a { flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; padding:.6rem; font-size:.74rem; font-weight:600; color: var(--ink-2); }
  .quickbar a svg { width:20px; height:20px; color: var(--accent); }
  .quickbar a + a { border-left:1px solid var(--line); }
  body { padding-bottom: 62px; }
  .site-footer { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .timeline li { grid-template-columns: 1fr; gap:.2rem; }
  .svc-row { grid-template-columns: 2.4rem 1fr; }
  .svc-row .svc-go { display:none; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .btn { width:100%; }
  .hero .btn-row { flex-direction:column; align-items:stretch; }
  .hero .btn-row .btn { width:100%; justify-content:center; text-align:center; }
  .cta-band .btn-row { flex-direction:column; align-items:stretch; }
  .cta-band .btn-row .btn { width:100%; justify-content:center; text-align:center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior:auto !important; }
  .reveal { opacity:1 !important; transform:none !important; transition:none !important; }
  .btn, .card, .gallery img, .svc-row, .svc-go, .tile, .lb-img { transition:none !important; }
}

/* =============================================================
   v2 – Bildaufwertung, Kacheln, Icons, Lightbox
   ============================================================= */

/* Hero-Bild */
.hero-figure-img { margin:0; }
.hero-figure-img .media-frame img { width:100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 35%; display:block; }
.hero-figure-img figcaption { margin-top:.7rem; font-family: var(--font-head); font-style: italic; font-size:.85rem; color: var(--muted); text-align:right; }
.hero-trust { display:flex; align-items:center; gap:.55em; margin-top:1.4rem; font-size:.92rem; color: var(--ink-2); }
.hero-trust svg { width:1.1em; height:1.1em; color: var(--accent); flex:none; }
.hero-trust span { font-weight:500; }

/* Leistungs-Kacheln */
.svc-grid { margin-top: 0; }
.tile {
  display:flex; flex-direction:column; align-items:flex-start;
  background: var(--card); border:1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem,2.4vw,1.9rem); height:100%; position:relative; overflow:hidden;
  color: var(--ink); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.tile::before { content:""; position:absolute; left:0; top:0; height:3px; width:0; background: var(--accent); transition: width .35s var(--ease); }
.tile:hover { transform: translateY(-4px); border-color:#c9d6cf; box-shadow: 0 18px 40px rgba(27,42,48,.10); }
.tile:hover::before { width:100%; }
.tile-no { position:absolute; top: clamp(1.1rem,2vw,1.6rem); right: clamp(1.2rem,2.2vw,1.8rem); font-family: var(--font-head); font-style:italic; font-size:1.05rem; color: var(--line); transition: color .3s; }
.tile:hover .tile-no { color: var(--accent); }
.tile-ico {
  width:60px; height:60px; display:grid; place-items:center; margin-bottom:1.1rem;
  border-radius:50%; background: var(--accent-t); color: var(--accent-d);
  box-shadow: inset 0 0 0 1px rgba(15,122,135,.14); transition: background .3s, color .3s, transform .3s var(--ease);
}
.tile-ico svg { width:30px; height:30px; }
.tile:hover .tile-ico { background: var(--accent); color:#fff; transform: scale(1.04); }
.tile-name { font-size:1.32rem; margin-bottom:.5rem; }
.tile-desc { font-size:.97rem; color: var(--text); margin-bottom:1.2rem; }
.tile-cta { margin-top:auto; display:inline-flex; align-items:center; gap:.45em; font-family: var(--font-body); font-weight:600; font-size:.92rem; color: var(--accent-d); }
.tile-cta svg { width:1.05em; height:1.05em; transition: transform .25s var(--ease); }
.tile:hover .tile-cta svg { transform: translateX(4px); }

/* Icon-Badge (Leistungs-Detailseite) – auf neuen Stil angehoben */
.icon-badge { width:64px; height:64px; border-radius:50%; background: var(--accent-t); color: var(--accent-d); border:none; box-shadow: inset 0 0 0 1px rgba(15,122,135,.14); margin-bottom:1rem; }
.icon-badge svg { width:32px; height:32px; }

/* Nutzen-Liste zweispaltig auf Detailseiten */
.checklist--cols { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap:.7rem 1.6rem; }
@media (max-width:640px){ .checklist--cols { grid-template-columns:1fr; } }

/* Team-Beispielbilder */
.team-photo { position:relative; margin:0 0 .9rem; border:1px solid var(--ink); padding:7px; background: var(--card); }
.team-photo img { width:100%; aspect-ratio:3/4; object-fit:cover; filter: saturate(.94); display:block; }
.team-tag { position:absolute; left:14px; top:14px; background: rgba(27,42,48,.78); color:#fff; font-size:.7rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; padding:.3em .6em; border-radius:3px; backdrop-filter:none; }
.team-name { font-family: var(--font-head); font-size:1.18rem; color: var(--ink); }
.team-role { color: var(--muted); font-size:.92rem; }

/* Galerie: anklickbare Bilder + Hinweis-Icon */
.gallery a.lb { display:block; position:relative; cursor:pointer; overflow:hidden; }
.gallery a.lb .lb-ico { position:absolute; right:10px; bottom:10px; width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background: rgba(27,42,48,.62); color:#fff; opacity:0; transform: translateY(6px); transition:.25s var(--ease); }
.gallery a.lb .lb-ico svg { width:18px; height:18px; }
.gallery a.lb:hover .lb-ico, .gallery a.lb:focus-visible .lb-ico { opacity:1; transform:none; }

/* CTA-Band mit Bildhintergrund */
.cta-band--img { overflow:hidden; }
.cta-band--img .cta-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.cta-band--img::after { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(100deg, rgba(20,37,44,.94) 0%, rgba(20,37,44,.84) 45%, rgba(15,122,135,.62) 100%); }
.cta-band--img::before { z-index:2; }
.cta-band--img .cta-inner { position:relative; z-index:2; }

/* =============================================================
   Lightbox
   ============================================================= */
.lightbox {
  position:fixed; inset:0; z-index:1000; display:none;
  background: rgba(16,26,30,.92); padding: clamp(12px,3vw,40px);
  align-items:center; justify-content:center;
}
.lightbox.is-open { display:flex; animation: lb-fade .2s var(--ease); }
@keyframes lb-fade { from { opacity:0 } to { opacity:1 } }
.lb-stage { margin:0; max-width:min(1100px, 92vw); max-height:88vh; display:flex; flex-direction:column; align-items:center; gap:.8rem; }
.lb-img { max-width:100%; max-height:78vh; width:auto; height:auto; object-fit:contain; border-radius:4px; box-shadow:0 24px 70px rgba(0,0,0,.5); background:#fff; transition: opacity .25s var(--ease); }
.lb-cap { color:#e7eef0; font-family: var(--font-head); font-style:italic; font-size:1rem; text-align:center; }
.lb-btn { position:absolute; background: rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.25); border-radius:50%; cursor:pointer; display:grid; place-items:center; transition: background .2s, transform .2s var(--ease); }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn svg { width:24px; height:24px; }
.lb-close { top: clamp(12px,3vw,28px); right: clamp(12px,3vw,28px); width:48px; height:48px; }
.lb-prev, .lb-next { top:50%; transform: translateY(-50%); width:54px; height:54px; }
.lb-prev { left: clamp(8px,2vw,28px); } .lb-next { right: clamp(8px,2vw,28px); }
.lb-prev:hover { transform: translateY(-50%) translateX(-2px); } .lb-next:hover { transform: translateY(-50%) translateX(2px); }
.lb-count { position:absolute; bottom: clamp(12px,3vw,26px); left:50%; transform:translateX(-50%); color:#cdd8da; font-size:.85rem; letter-spacing:.06em; }
@media (max-width:560px){
  .lb-prev,.lb-next { width:44px; height:44px; bottom:16px; top:auto; transform:none; }
  .lb-prev { left:50%; margin-left:-52px; } .lb-next { right:50%; margin-right:-52px; }
  .lb-prev:hover,.lb-next:hover { transform:none; }
  .lb-stage { max-height:80vh; } .lb-img { max-height:64vh; }
  .lb-count { bottom:72px; }
}

/* =============================================================
   v3 – Mehr Leben: Stamp · Quote-Band · Mosaik · Stärkere Typo
   ============================================================= */

/* --- Hero-Bild: subtile Float-Animation ----------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero-figure-img .media-frame {
  animation: float 9s ease-in-out infinite;
  transform-origin: center bottom;
}
@media (prefers-reduced-motion: reduce) {
  .hero-figure-img .media-frame { animation: none; }
}

/* Hero-Bild: versetzter Akzentrahmen ---*/
.hero-figure-img .media-frame {
  position: relative;
}
.hero-figure-img .media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  bottom: -8px;
  right: -8px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  z-index: -1;
  opacity: .38;
  pointer-events: none;
}

/* --- Seit-2002-Stamp (auf .plate positioniert) ----------------- */
.stamp {
  position: absolute;
  bottom: -1.5rem;
  left: 1.5rem;
  z-index: 3;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 20px rgba(15,122,135,.22);
  text-align: center;
  flex-shrink: 0;
}
.stamp-label {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}
.stamp-year {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.02em;
}

/* --- Kicker: Akzentpunkt links -------------------------------- */
.kicker {
  padding-left: .85em;
  position: relative;
}
.kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* --- Hero-Headline: größer, expressiver ----------------------- */
.hero h1 {
  font-size: clamp(2.7rem, 5.8vw, 4.1rem);
  letter-spacing: -.022em;
}

/* --- Tile-Nummern: dramatischer ------------------------------- */
.tile-no {
  font-size: clamp(2rem,3.5vw,2.8rem) !important;
  top: .6rem !important;
  right: .9rem !important;
  opacity: .1;
  line-height: 1;
}
.tile:hover .tile-no { opacity: .28 !important; }

/* --- Quote-Band ----------------------------------------------- */
.quote-band {
  padding: clamp(3.5rem,7vw,5.5rem) 0;
  background: var(--sand);
  text-align: center;
  overflow: hidden;
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 680px;
  padding: clamp(2.8rem, 6vw, 3.6rem) var(--gutter) 0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  color: var(--ink);
  line-height: 1.45;
  position: relative;
}
.quote-band blockquote::before {
  content: "\201E";
  position: absolute;
  left: calc(var(--gutter) - .55rem);
  top: -.12em;
  font-size: clamp(3.4rem, 6.5vw, 4.6rem);
  color: var(--accent);
  line-height: .7;
  opacity: .4;
  pointer-events: none;
}
.quote-band cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  font-style: normal;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.quote-band cite::before { content: "\2014\2009"; }

/* --- Praxis-Mosaik -------------------------------------------- */
.praxis-mosaic { margin-top: clamp(2.5rem,5vw,4rem); }

.mosaic-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  grid-template-rows: 170px 170px;
  gap: 4px;
}
.mosaic-grid .m-cell {
  overflow: hidden;
  position: relative;
  background: var(--sand);
}
.mosaic-grid .m-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--ease), filter .4s;
  filter: saturate(.85) brightness(1.03);
}
.mosaic-grid .m-cell:hover img {
  transform: scale(1.07);
  filter: saturate(1.05) brightness(1.07);
}
.mosaic-grid .m-cell:first-child { grid-row: span 2; }
.mosaic-grid .m-cell:nth-child(6) { grid-column: span 2; }

.mosaic-note {
  text-align: right;
  margin-top: .55rem;
  font-family: var(--font-head);
  font-style: italic;
  font-size: .82rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .mosaic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 130px 130px;
  }
  .mosaic-grid .m-cell:first-child { grid-row: span 1; }
  .mosaic-grid .m-cell:nth-child(6) { grid-column: span 1; }
}
@media (max-width: 480px) {
  .mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .mosaic-grid .m-cell { height: 110px; }
  .mosaic-grid .m-cell:first-child { grid-row: span 1; }
}

/* --- Praxis-Portrait: editoriale Rahmung ---------------------- */
.profile-frame {
  position: relative;
  display: inline-block;
}
.profile-frame img {
  display: block;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border: 7px solid var(--card);
  outline: 1px solid var(--line);
  filter: saturate(.9);
}
.profile-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1px;
  border: 3px solid var(--paper);
  pointer-events: none;
}
.profile-badge-year {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1;
}
.profile-badge-text {
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.3;
  opacity: .9;
}

/* --- Facts: größere, ausdrucksstärkere Zahlen ----------------- */
.fact .v {
  font-size: clamp(1.9rem,3.6vw,2.7rem);
  letter-spacing: -.025em;
}

/* (Footer-Bildstreifen entfernt – Kundenfeedback: Grafikfehler) */

/* =============================================================
   v4 – Kundenfeedback: Bild-Heros, Key-Facts, Zentrierung,
   Doctolib, Team-Hover, größere Bildsektionen
   ============================================================= */

/* --- Start-Hero: vollflächiges Bild + Overlay ------------------ */
.hero--img { position:relative; padding:0; overflow:hidden; background: var(--ink); }
.hero--img .hero-bg {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position: 72% 38%;
}
.hero--img::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(96deg,
    rgba(16,27,33,.96) 0%, rgba(16,27,33,.90) 40%,
    rgba(16,27,33,.66) 68%, rgba(13,50,57,.38) 100%);
}
.hero--img .container {
  position:relative; z-index:2;
  min-height: clamp(520px, 66vh, 680px);
  display:flex; flex-direction:column; justify-content:center;
  padding-top: clamp(48px,7vw,84px); padding-bottom: clamp(72px,9vw,116px);
}
.hero--img .hero-content { max-width: 640px; }
.hero--img .kicker { color:#8fd4dc; }
.hero--img .kicker::before { background:#8fd4dc; }
.hero--img h1 { color:#fff; }
.hero--img h1 .accent { color:#8fd4dc; }
.hero--img .lead { color:#dde6e8; max-width: 56ch; }
.hero--img .hero-trust { color:#cdd8da; }
.hero--img .hero-trust svg { color:#8fd4dc; }
.hero--img .btn--ghost { color:#fff; border-color: rgba(255,255,255,.55); }
.hero--img .btn--ghost:hover { background:#fff; color: var(--ink); border-color:#fff; box-shadow:none; }
.hero--img .stamp { position:static; margin-top:2rem; background: rgba(255,255,255,.08); border-color:#8fd4dc; box-shadow:none; backdrop-filter: blur(2px); }
.hero--img .stamp-label { color:#cdd8da; }
.hero--img .stamp-year { color:#8fd4dc; }

/* --- Key-Facts: hochwertige Karten, überlappen den Hero -------- */
.keyfacts {
  display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem,1.5vw,1.2rem);
  margin-top: clamp(-64px,-5vw,-44px); position:relative; z-index:5;
}
.keyfact {
  background: var(--card); border:1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.2rem,2vw,1.6rem); display:flex; flex-direction:column; gap:.55rem;
  box-shadow: 0 14px 36px rgba(27,42,48,.10);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.keyfact:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 44px rgba(27,42,48,.14); }
.keyfact-ico {
  width:46px; height:46px; border-radius:50%;
  background: var(--accent-t); color: var(--accent-d);
  display:grid; place-items:center;
  box-shadow: inset 0 0 0 1px rgba(15,122,135,.16);
}
.keyfact-ico svg { width:22px; height:22px; }
.keyfact .v { overflow-wrap:break-word; hyphens:auto; font-family: var(--font-head); font-size: clamp(1.15rem,1.8vw,1.4rem); color: var(--ink); font-weight:600; line-height:1.15; }
.keyfact .k { font-size:.86rem; color: var(--muted); line-height:1.45; }

/* --- Unterseiten-Hero mit Bild + Overlay ----------------------- */
.page-hero--img { position:relative; padding:0; border-bottom:none; overflow:hidden; background: var(--ink); }
.page-hero--img .ph-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position: var(--ph-pos, 50% 38%); }
.page-hero--img::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(97deg,
    rgba(16,27,33,.95) 0%, rgba(16,27,33,.86) 42%,
    rgba(16,27,33,.60) 72%, rgba(13,50,57,.36) 100%);
}
.page-hero--img .container { position:relative; z-index:2; padding-block: clamp(64px,9vw,116px) clamp(56px,8vw,96px); }
.page-hero--img .crumbs, .page-hero--img .crumbs a { color: rgba(255,255,255,.72); }
.page-hero--img .crumbs a:hover { color:#fff; }
.page-hero--img .kicker { color:#8fd4dc; } .page-hero--img .kicker::before { background:#8fd4dc; }
.page-hero--img h1 { color:#fff; font-size: clamp(2.3rem,5vw,3.6rem); }
.page-hero--img .lead { color:#dde6e8; }

/* --- Leistungs-Kacheln: letzte Reihe zentriert (8 in 3 Spalten) - */
.svc-grid.grid--3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.svc-grid.grid--3 > .tile { grid-column: span 2; }
.svc-grid.grid--3 > .tile:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
@media (max-width: 980px) {
  .svc-grid.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid.grid--3 > .tile, .svc-grid.grid--3 > .tile:nth-last-child(2):nth-child(3n+1) { grid-column: auto; }
}
@media (max-width: 560px) {
  .svc-grid.grid--3 { grid-template-columns: 1fr; }
}

/* --- Leistungsseiten: Produktbild prominenter ------------------ */
.split--feature { grid-template-columns: 1fr 1.15fr; align-items:center; }
.split--feature .feature-media { position:relative; }
.split--feature .media-frame { padding:10px; border-radius: var(--r-lg); }
.split--feature .media-frame img { border-radius: 3px; }
.split--feature .feature-media::after {
  content:""; position:absolute; inset:0; top:14px; left:14px; bottom:-14px; right:-14px;
  border:2px solid var(--accent); border-radius: var(--r-lg); opacity:.32; z-index:-1;
}
.feature-tag {
  position:absolute; left:18px; bottom:18px; z-index:2;
  background: rgba(27,42,48,.86); color:#fff;
  font-size:.74rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  padding:.45em .9em; border-radius:3px;
}

/* --- Team-Fotos: dezenter Hover -------------------------------- */
.team-card { transition: transform .3s var(--ease); }
.team-card:hover { transform: translateY(-5px); }
.team-photo { overflow:hidden; border-radius: var(--r-lg); border-color: var(--line); transition: border-color .3s, box-shadow .3s; }
.team-card:hover .team-photo { border-color: var(--accent); box-shadow: 0 16px 38px rgba(27,42,48,.13); }
.team-photo img { transition: transform .55s var(--ease), filter .4s; }
.team-card:hover .team-photo img { transform: scale(1.05); filter: saturate(1.02); }
.profile-photo { overflow:hidden; transition: box-shadow .3s, border-color .3s; }
.profile-photo:hover { box-shadow: 0 16px 38px rgba(27,42,48,.13); }

/* --- Start: Behandler-Porträt größer & näher am Text ----------- */
.split--portrait { grid-template-columns: 1.2fr .8fr; gap: clamp(1.6rem,3.5vw,3rem); }
.split--portrait .profile-frame { width: 100%; max-width: 300px; }
.split--portrait .profile-frame img { width: 100%; max-width: 300px; }
.split--portrait .split-media { display:flex; justify-content:center; }

/* --- Doctolib-Karte (Kontakt) ----------------------------------- */
.doctolib-card {
  background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg);
  padding: clamp(1.8rem,3.5vw,2.6rem); position:relative; overflow:hidden;
  display:flex; flex-wrap:wrap; gap:1.5rem 2.5rem; align-items:center; justify-content:space-between;
  margin-bottom: clamp(2rem,4vw,3rem);
}
.doctolib-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:#8fd4dc; }
.doctolib-card .kicker { color:#8fd4dc; }
.doctolib-card .kicker::before { background:#8fd4dc; }
.doctolib-card h2 { color:#fff; font-size: clamp(1.5rem,2.6vw,2rem); margin-bottom:.4rem; }
.doctolib-card p { color: var(--on-ink); max-width: 48ch; font-size:.98rem; }
.doctolib-card .btn { white-space:nowrap; }

/* --- Responsive für v4 ------------------------------------------ */
@media (max-width: 980px) {
  .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -36px; }
  .split--feature, .split--portrait { grid-template-columns: 1fr; }
  .hero--img .container { min-height: 0; }
}
@media (max-width: 560px) {
  .keyfacts { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .keyfact { padding: 1rem; }
  .keyfact .v { font-size: 1.05rem; }
  .steps::before { display:none; }
  .step { grid-template-columns: 44px 1fr; gap:1rem; padding:1.1rem 1.15rem; }
  .step .step-no { width:44px; height:44px; font-size:1.15rem; }
}


/* =============================================================
   v5 – Öffnungszeiten, Footer-Kontakt, Burger-Submenu, Mobile-Buttons
   ============================================================= */

/* Topbar: Öffnungszeiten-Text */
.tb-hours-text { display:inline-flex; align-items:center; gap:0; white-space:nowrap; }
.tb-sep { color:rgba(255,255,255,.35); }
@media (max-width:1200px) {
  .tb-item--hours .tb-sep,
  .tb-item--hours .tb-hours-text span:last-child { display:none; }
  .tb-item--hours .tb-hours-text::after { content:"Di & Do bis 20 Uhr"; }
  .tb-item--hours .tb-hours-text span:first-child { display:none; }
}

/* Footer: Kontaktliste mit Icons */
.footer-contact { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.8rem; }
.footer-contact li { display:flex; align-items:flex-start; gap:.6rem; font-size:.93rem; line-height:1.45; }
.fc-ico { flex-shrink:0; width:16px; height:16px; margin-top:.14em; display:grid; place-items:center; color:#74c4cd; }
.fc-ico svg { width:15px; height:15px; }
.footer-contact a { color:var(--on-ink); text-decoration:none; transition:color .2s; }
.footer-contact a:hover { color:#fff; }
.footer-contact a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:2px; }

/* Burger-Menü: Sub-Toggle */
.sub-toggle {
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:.4rem .3rem;
  color:var(--ink-2);
  line-height:1;
  margin-left:auto;
  border-radius:var(--r);
  transition: background .18s;
}
.sub-toggle:hover { background: var(--paper-2); }
.sub-toggle:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.sub-toggle svg { width:20px; height:20px; display:block; transition:transform .28s var(--ease); }
.sub-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }

/* Mobile: Submenu ausgeblendet, per Toggle steuerbar */
@media (max-width:980px) {
  .sub-toggle { display:inline-flex; align-items:center; }
  .nav-links > .has-sub { display:flex; flex-wrap:wrap; align-items:center; }
  .nav-links > .has-sub > a { flex:1; }
  .has-sub .subnav {
    width:100%;
    max-height:0;
    overflow:hidden;
    padding:0 0 0 .9rem;
    transition:max-height .32s var(--ease), padding .32s;
    position:static; transform:none;
    /* Grundzustand (eingeklappt ODER Burger-Menue geschlossen):
       komplett unsichtbar und nicht klickbar. Die Sichtbarkeit wird
       ausschliesslich ueber ".nav.is-open ... .is-sub-open" freigeschaltet,
       damit die Subnav-Links nie unsichtbar ueber dem Seiteninhalt liegen. */
    opacity:0; visibility:hidden; pointer-events:none;
    box-shadow:none; border:none; min-width:0; background:none;
  }
  /* Nur sichtbar & klickbar, wenn das Burger-Menue offen UND "Leistungen" aufgeklappt ist */
  .nav.is-open .has-sub .subnav.is-sub-open {
    max-height:600px;
    padding:.2rem 0 .5rem .9rem;
    opacity:1; visibility:visible; pointer-events:auto;
  }
}
