/* =====================================================================
   Gemeinschaftspraxis Viktoria & Michael Kopitko — Neuwied
   style.css  ·  pure CSS, design tokens pulled from the practice logo
   ---------------------------------------------------------------------
   Palette source: logo stethoscope = deep petrol-teal (#006090).
   Type: GDPR-safe system-font stack (no external font calls). Any future
   web font must be self-hosted from assets/fonts/ (see DESIGN.md).
   ===================================================================== */

:root{
  /* brand — from logo */
  --brand:       #006090;
  --brand-dark:  #004a70;
  --brand-deep:  #013650;
  --brand-soft:  #e7f1f8;
  --brand-tint:  #f1f7fb;
  --sky:         #90c0d8;

  /* neutrals */
  --bg:        #f8fafc;
  --surface:   #ffffff;
  --ink:       #0f1d28;
  --ink-soft:  #41525f;
  --muted:     #5e6e80;
  --line:      #e4ebf1;
  --line-soft: #eef3f7;

  /* text on Night Petrol */
  --on-dark:       #dbeaf3;
  --on-dark-soft:  #bdd3df;
  --on-dark-muted: #a9c4d3;

  /* emergency block only */
  --alert:      #b4453a;
  --alert-bg:   #fbeeec;
  --alert-line: #f0d4d0;

  /* type */
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs:   .8125rem;
  --fs-sm:   .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;

  /* spacing / radius / shadow */
  --r-sm: 10px;
  --r-icon: 12px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15,29,40,.05), 0 2px 8px rgba(15,29,40,.04);
  --shadow:    0 4px 12px rgba(15,29,40,.06), 0 12px 32px rgba(15,29,40,.07);
  --shadow-lg: 0 18px 50px rgba(1,54,80,.14);
  --focus: var(--brand-deep);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ----------------------------- reset -------------------------------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; scroll-padding-top:96px; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  font-family:var(--font);
  background:var(--bg);
  color:var(--ink);
  font-size:1.125rem;
  line-height:1.65;
  letter-spacing:-.005em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; }
[hidden]{ display:none !important; }
:focus-visible{ outline:3px solid var(--focus); outline-offset:3px; }
.gallery, .site-footer{ --focus:#fff; }
main:focus{ outline:none; }
::selection{ background:var(--brand); color:#fff; }

.t, .nowrap{ white-space:nowrap; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip-link{ position:absolute; left:var(--gutter); top:-100px; z-index:100; background:var(--brand-deep);
  color:#fff; font-weight:600; padding:.75rem 1.2rem; border-radius:var(--r-sm); --focus:#fff; }
.skip-link:focus{ top:12px; }

h1,h2,h3,h4{ line-height:1.12; letter-spacing:-.022em; font-weight:700; color:var(--ink);
  overflow-wrap:break-word; }
h2{ font-size:clamp(1.9rem,4vw,3rem); }
h3,h4{ hyphens:auto; }
.shell{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }

/* hidden SVG icon sprite */
.sprite{ position:absolute; width:0; height:0; overflow:hidden; }
.ico{ width:1.25em; height:1.25em; flex:none; stroke:currentColor; fill:none;
  stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

/* --------------------------- buttons & links ------------------------ */
.btn{ display:inline-flex; align-items:center; gap:.55em; font-weight:600;
  font-size:var(--fs-base); letter-spacing:-.01em; padding:.8em 1.4em; border-radius:999px;
  border:1px solid transparent; transition:transform .18s ease, background .18s ease,
  box-shadow .18s ease, color .18s ease, border-color .18s ease; white-space:nowrap; }
.btn .ico{ width:1.1em; height:1.1em; }
.btn-primary{ background:var(--brand); color:#fff; box-shadow:0 6px 18px rgba(0,96,144,.28); }
.btn-primary:hover{ background:var(--brand-dark); transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(0,96,144,.34); }
.btn-ghost{ background:var(--surface); color:var(--brand); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--brand); color:var(--brand-dark); transform:translateY(-2px); }
.btn-lg{ padding:.95em 1.65em; font-size:1.0625rem; }

.text-link{ display:inline-flex; align-items:center; min-height:44px; color:var(--brand); font-weight:600;
  font-size:var(--fs-base); text-decoration:underline; text-decoration-color:rgba(0,96,144,.35);
  text-underline-offset:4px; transition:color .18s ease, text-decoration-color .18s ease; }
.text-link .ico{ width:1em; height:1em; margin-left:.3em; vertical-align:-.15em; transition:transform .18s ease; }
.text-link:hover{ color:var(--brand-dark); text-decoration-color:currentColor; }
.text-link:hover .ico{ transform:translateX(3px); }

.call-row{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.8rem 1.2rem; }
.call-row p{ color:var(--ink-soft); }

/* eyebrow / section heads */
.eyebrow{ display:inline-flex; align-items:center; gap:.5em; font-size:var(--fs-xs);
  font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--brand);
  margin-bottom:1.1rem; }
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--brand);
  border-radius:2px; display:inline-block; }
.section{ padding:clamp(64px,9vw,128px) 0; }
.section-tint{ background:var(--brand-tint); }
.section-head{ max-width:680px; }
.section-head p{ color:var(--ink-soft); margin-top:1rem; font-size:var(--fs-base); }
.lead{ font-size:var(--fs-lg); color:var(--ink-soft); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header{ position:sticky; top:0; z-index:60; background:rgba(248,250,252,.82);
  backdrop-filter:saturate(150%) blur(14px); -webkit-backdrop-filter:saturate(150%) blur(14px);
  border-bottom:1px solid transparent; transition:border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.site-header.scrolled{ border-bottom-color:var(--line); box-shadow:0 4px 24px rgba(15,29,40,.05);
  background:rgba(255,255,255,.9); }
.nav{ display:flex; align-items:center; gap:1.5rem; height:78px; }
.brand{ display:flex; align-items:center; gap:.7rem; margin-right:auto; min-width:0; min-height:44px; }
.brand img{ height:46px; width:auto; flex:none; }
.brand .bt{ display:flex; flex-direction:column; line-height:1.12; min-width:0; }
.brand .bt b{ font-size:1rem; letter-spacing:-.02em; color:var(--ink);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.brand .bt span{ font-size:var(--fs-xs); letter-spacing:.02em; color:var(--muted); font-weight:500; white-space:nowrap; }
.nav-links{ display:none; align-items:center; gap:.2rem; list-style:none; }
.nav-links a{ display:flex; align-items:center; min-height:44px; padding:0 .8rem; border-radius:999px; font-size:1rem; white-space:nowrap;
  font-weight:500; color:var(--ink-soft); transition:color .18s, background .18s; }
.nav-links a:hover{ color:var(--brand); background:var(--brand-soft); }
.nav-cta{ display:flex; align-items:center; gap:.6rem; }
.nav-call, .burger{ display:flex; flex:none; width:44px; height:44px; border-radius:var(--r-icon);
  border:1px solid var(--line); background:var(--surface); align-items:center; justify-content:center;
  transition:border-color .18s ease; }
.nav-call{ color:var(--brand); }
.burger{ color:var(--ink); }
.nav-call:hover, .burger:hover{ border-color:var(--brand); }
.nav-call .ico{ width:22px; height:22px; }
.burger .ico{ width:24px; height:24px; }
@media (min-width:1200px){
  .nav-links{ display:flex; }
  .nav-call, .burger{ display:none; }
}

/* drawer (below 1200px) */
.drawer{ position:fixed; inset:0; z-index:70; visibility:hidden; }
.drawer-scrim{ position:absolute; inset:0; background:rgba(1,54,80,.34);
  opacity:0; transition:opacity .3s ease; }
.drawer-panel{ position:absolute; top:0; right:0; height:100%; width:min(86vw,360px);
  background:var(--surface); box-shadow:var(--shadow-lg); transform:translateX(100%);
  transition:transform .32s cubic-bezier(.4,0,.15,1); padding:1.4rem; display:flex;
  flex-direction:column; gap:.6rem; overflow-y:auto; }
.drawer.open{ visibility:visible; }
.drawer.open .drawer-scrim{ opacity:1; }
.drawer.open .drawer-panel{ transform:translateX(0); }
.drawer-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:.4rem; }
.drawer-top button{ width:46px; height:46px; border-radius:var(--r-sm); border:1px solid var(--line);
  background:var(--bg); display:flex; align-items:center; justify-content:center; }
.drawer-nav{ display:flex; flex-direction:column; margin-bottom:.6rem; }
.drawer a.dlink{ padding:.9rem .6rem; border-radius:var(--r-icon); font-size:var(--fs-base); font-weight:500;
  color:var(--ink); border-bottom:1px solid var(--line-soft); }
.drawer a.dlink:hover{ background:var(--brand-soft); color:var(--brand); }
.drawer .btn{ justify-content:center; }
.drawer-foot{ margin-top:auto; padding-top:1.4rem; display:grid; gap:.35rem; font-size:var(--fs-sm); color:var(--muted); }
.drawer-foot a{ display:inline-flex; align-items:center; min-height:44px; color:var(--brand); font-weight:600; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero{ position:relative; padding:clamp(28px,4.5vw,64px) 0 clamp(56px,7vw,104px); overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  column-gap:clamp(32px,4.4vw,64px); row-gap:2.2rem; align-items:center; }
.hero-aside{ display:flex; flex-direction:column; gap:1.1rem; min-width:0; }
.hero-aside .hero-photo{ order:-1; }

.hero-copy .tag{ margin-bottom:1.5rem; }
.tag{ display:inline-flex; align-items:center; gap:.45em; background:var(--surface);
  border:1px solid var(--line); color:var(--ink-soft); font-size:var(--fs-sm); font-weight:600;
  padding:.35em .9em; border-radius:999px; }
.tag .ico{ width:1em; height:1em; color:var(--brand); }
.hero h1{ font-size:clamp(2.5rem,4.2vw,3.6rem); line-height:1.08; letter-spacing:-.035em; }
.hero .lead{ margin-top:1.4rem; max-width:40ch; }

.langs{ display:flex; flex-wrap:wrap; align-items:flex-start; gap:.4rem 1.2rem; padding-left:.25rem;
  color:var(--ink-soft); font-size:var(--fs-base); }
.langs-intro{ display:inline-flex; align-items:center; gap:.5rem; min-height:2.5rem; }
.langs-intro .ico{ color:var(--brand); width:1.2em; height:1.2em; }
.lang-list{ display:grid; grid-template-columns:repeat(2, max-content); gap:.25rem 1.4rem; list-style:none;
  color:var(--ink); font-weight:600; }
.lang-list li{ display:flex; align-items:center; gap:.5rem; min-height:2.5rem; }
.lang-code{ display:inline-grid; place-items:center; width:2rem; height:2rem; border-radius:50%;
  background:var(--brand-soft); color:var(--brand); font-size:var(--fs-xs); font-weight:700; letter-spacing:.02em; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:.8rem; align-items:center; margin-top:1.6rem; }

.today{ display:flex; flex-wrap:wrap; align-items:center; gap:.4rem 1.4rem; margin-top:2rem; padding-top:1.1rem;
  border-top:1px solid var(--line); }
.today-line{ display:flex; flex-wrap:wrap; align-items:baseline; gap:0 .6rem; flex:1 1 20rem;
  font-size:var(--fs-base); line-height:1.45; }
.today-day{ display:inline-flex; align-items:center; gap:.55rem; color:var(--ink-soft); }
.today-day::before{ content:""; flex:none; width:.625rem; height:.625rem; border-radius:50%;
  border:2px solid var(--muted); }
.today[data-state="akut"] .today-day::before, .today[data-state="termine"] .today-day::before{
  background:var(--brand); border-color:var(--brand); }
.today-status{ font-weight:600; color:var(--ink); }
.today-note{ color:var(--ink-soft); font-size:var(--fs-sm); }
.today .text-link{ font-size:var(--fs-sm); }
.today-after{ display:flex; flex-wrap:wrap; gap:.6rem; flex-basis:100%; }
.today-after a{ display:inline-flex; align-items:center; gap:.5rem; min-height:44px; padding:.4rem 1rem .4rem .8rem;
  background:var(--surface); border:1px solid var(--alert-line); border-radius:999px; font-size:var(--fs-sm);
  color:var(--muted); transition:border-color .18s ease, transform .18s ease; }
.today-after a:hover{ border-color:var(--alert); transform:translateY(-2px); }
.today-after .ico{ width:1.1em; height:1.1em; color:var(--alert); }
.today-after b{ font-size:var(--fs-base); color:var(--ink); white-space:nowrap; }

/* two portraits side by side; the second bleeds past the container to the right edge of the window */
.hero-photo{ --bleed:calc((100vw - min(100vw, var(--maxw))) / 2 + var(--gutter));
  margin-right:calc(-1 * var(--bleed)); min-width:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(10px,1.2vw,16px); align-items:start; }
.hero-doc{ min-width:0; }
.hero-frame{ position:relative; aspect-ratio:4/5; max-height:min(580px, 72vh); width:100%; overflow:hidden;
  border-radius:var(--r-xl); background:var(--brand-soft); }
.hero-doc + .hero-doc .hero-frame{ border-radius:var(--r-xl) 0 0 var(--r-xl); }
.hero-frame img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 35%; }
.hero-doc figcaption{ margin-top:.8rem; padding-left:.25rem; font-size:var(--fs-base); font-weight:600; line-height:1.3; }

/* hero entrance: the headline rises, everything else settles after; the portraits are simply there */
@media (prefers-reduced-motion: no-preference){
  .hero h1{ animation:hero-rise .8s cubic-bezier(.2,.6,.2,1) .05s both; }
  .hero-step{ animation:hero-fade .7s ease-out .8s both; }
  .hero-copy .tag{ animation-delay:0s; }
  .today[data-state="akut"] .today-day::before, .today[data-state="termine"] .today-day::before{
    animation:today-live 2.4s ease-out infinite; }
}
@keyframes hero-rise{ from{ opacity:0; transform:translateY(.35em); } to{ opacity:1; transform:none; } }
@keyframes hero-fade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes today-live{
  0%{ box-shadow:0 0 0 0 rgba(0,96,144,.45); }
  70%,100%{ box-shadow:0 0 0 .5rem rgba(0,96,144,0); }
}

/* =====================================================================
   SPRECHZEITEN + NOTFALL
   ===================================================================== */
.hours-grid{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:clamp(24px,3vw,40px); align-items:start;
  margin-top:clamp(2rem,4vw,2.8rem); }
.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:clamp(1.4rem,3vw,2.4rem); box-shadow:var(--shadow-sm); }
.card > h3{ font-size:var(--fs-xl); display:flex; align-items:center; gap:.6rem; }
.card > h3 .ico{ color:var(--brand); }

.hours{ width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; margin-top:1.2rem;
  font-variant-numeric:tabular-nums; }
.hours .col-day{ width:4.6rem; }
.hours .col-akut{ width:34%; }
.hours th, .hours td{ text-align:left; vertical-align:top; padding:.8rem .75rem; border-bottom:1px solid var(--line-soft); }
.hours thead th{ font-size:var(--fs-sm); font-weight:600; color:var(--ink-soft); padding-top:0; line-height:1.3;
  border-bottom-color:var(--line); hyphens:auto; overflow-wrap:break-word; }
.hours thead small{ display:block; font-size:inherit; font-weight:500; color:var(--muted); }
.hours tbody th{ font-weight:700; }
.hours abbr{ text-decoration:none; }
.hours td[data-col="akut"]{ font-weight:600; white-space:nowrap; }
.hours td[data-col="termine"], .hours td[data-col="closed"]{ color:var(--ink-soft); }
.hours tbody tr:last-child > *{ border-bottom:none; }
.hours tr.is-today > *{ background:var(--brand-soft); border-bottom-color:transparent; }
.hours tr.has-aside > td{ border-bottom:none; padding-bottom:.1rem; }
.hours tr.hours-aside > td{ padding-top:0; color:var(--muted); font-size:var(--fs-sm); }
.hours tr.is-today > :first-child{ border-radius:var(--r-sm) 0 0 var(--r-sm); }
.hours tr.is-today > :last-child{ border-radius:0 var(--r-sm) var(--r-sm) 0; }
.hours tr.is-today.has-aside > :last-child{ border-radius:0 var(--r-sm) 0 0; }
.hours tr.is-today.hours-aside > td{ border-radius:0 0 var(--r-sm) 0; }
.hours .pulse{ display:block; color:var(--brand); font-size:var(--fs-xs); font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; }
.hours-book{ margin-top:1.3rem; padding-top:1.2rem; border-top:1px solid var(--line); }
.hours-book p{ font-size:var(--fs-sm); }

.notdienst{ background:var(--alert-bg); border-color:var(--alert-line); }
.notdienst > h3, .notdienst > h3 .ico{ color:var(--alert); }
.notdienst > p{ color:var(--ink-soft); font-size:var(--fs-base); margin-top:.8rem; }
.emerg{ display:grid; gap:.8rem; margin-top:1.4rem; }
.emerg a{ display:flex; align-items:center; gap:.9rem; background:var(--surface);
  border:1px solid var(--alert-line); border-radius:var(--r); padding:.95rem 1.1rem;
  transition:border-color .2s ease, transform .2s ease; }
.emerg a:hover{ border-color:var(--alert); transform:translateX(3px); }
.emerg .num{ width:46px; height:46px; border-radius:var(--r-icon); background:var(--alert-bg);
  color:var(--alert); display:flex; align-items:center; justify-content:center; flex:none; }
.emerg b{ display:block; font-size:var(--fs-lg); letter-spacing:-.01em; color:var(--ink); white-space:nowrap; }
.emerg span span{ font-size:var(--fs-sm); color:var(--muted); }

/* =====================================================================
   ÜBER UNS
   ===================================================================== */
.about-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(36px,5vw,80px); align-items:center; }
.about-copy .greet{ font-size:var(--fs-lg); font-weight:600; color:var(--brand); margin:1.2rem 0 .4rem; }
.about-copy p{ color:var(--ink-soft); margin-top:1rem; }
.about-points{ list-style:none; display:grid; gap:.8rem; margin-top:1.8rem; }
.about-points li{ display:flex; gap:.7rem; align-items:flex-start; font-size:var(--fs-base); }
.about-points .ico{ color:var(--brand); margin-top:3px; }
.about-media img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--r-lg);
  box-shadow:var(--shadow-sm); }

/* =====================================================================
   TEAM
   ===================================================================== */
.docs{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,3vw,32px); margin-top:3rem; }
.doc{ background:var(--surface); border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--shadow-sm); border:1px solid var(--line-soft); display:flex; flex-direction:column; }
.doc-photo{ aspect-ratio:16/11; overflow:hidden; background:var(--brand-soft); }
.doc-photo img{ width:100%; height:100%; object-fit:cover; }
.doc-body{ padding:1.5rem 1.6rem 1.7rem; }
.doc-body h3{ font-size:var(--fs-xl); }
.doc-role{ color:var(--brand); font-weight:600; font-size:var(--fs-sm); margin-top:.25rem; }
.doc-body p{ color:var(--ink-soft); font-size:var(--fs-base); margin-top:.8rem; }
.mfa-head{ margin-top:4rem; }
.mfa-head h3{ font-size:var(--fs-xl); }
.mfa-head p{ color:var(--ink-soft); margin-top:.4rem; font-size:var(--fs-base); }
.mfa{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2.4vw,26px); margin-top:1.8rem; }
.mfa figure{ background:var(--surface); border-radius:var(--r); overflow:hidden;
  border:1px solid var(--line-soft); box-shadow:var(--shadow-sm); }
.mfa figure img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.mfa figcaption{ padding:1rem 1.1rem 1.15rem; }
.mfa figcaption b{ font-size:var(--fs-base); }
.mfa figcaption span{ display:block; color:var(--muted); font-size:var(--fs-sm); margin-top:.1rem; }

/* =====================================================================
   LEISTUNGEN
   ===================================================================== */
.svc-groups{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(28px,3.4vw,48px);
  margin-top:clamp(2.4rem,4vw,3.4rem); }
.svc-ico{ flex:none; width:44px; height:44px; border-radius:var(--r-icon); background:var(--brand-soft);
  color:var(--brand); display:flex; align-items:center; justify-content:center; }
.svc-ico .ico{ width:22px; height:22px; }
.svc-group h3{ display:flex; align-items:center; gap:.85rem; font-size:var(--fs-lg); }
.svc-note{ color:var(--ink-soft); font-size:var(--fs-sm); line-height:1.5; margin-top:.8rem; }
.svc-group ul{ list-style:none; margin-top:.9rem; border-top:1px solid var(--line); }
.svc-group li{ padding:.6rem 0; border-bottom:1px solid var(--line-soft); font-size:var(--fs-base);
  line-height:1.4; overflow-wrap:break-word; hyphens:auto; }
.svc-more{ margin-top:clamp(2.4rem,4vw,3.2rem); }

/* =====================================================================
   GALERIE
   ===================================================================== */
.gallery{ background:var(--brand-deep); color:var(--on-dark); overflow:hidden; }
.gallery .eyebrow{ color:var(--sky); }
.gallery .eyebrow::before{ background:var(--sky); }
.gallery .section-head h2{ color:#fff; }
.gallery .section-head p{ color:var(--on-dark-soft); }
.carousel{ margin-top:2.6rem; position:relative; }
.track{ display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory;
  scroll-behavior:smooth; padding:16px 28px 40px; margin:-16px -28px 0; scroll-padding-inline:28px;
  -webkit-overflow-scrolling:touch; }
.track::-webkit-scrollbar{ height:0; }
.slide{ scroll-snap-align:center; flex:0 0 clamp(260px,42vw,440px); border-radius:var(--r-lg);
  overflow:hidden; box-shadow:0 12px 28px rgba(0,0,0,.28); position:relative; background:var(--brand-dark); }
.slide img{ width:100%; height:clamp(280px,38vw,440px); object-fit:cover; }
.slide figcaption{ position:absolute; left:0; right:0; bottom:0; padding:1.4rem 1.3rem .9rem;
  background:linear-gradient(transparent, rgba(1,54,80,.84)); color:#fff; font-weight:600;
  font-size:var(--fs-sm); }
.carousel-ctrls{ display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.dots{ display:flex; gap:.5rem; }
.dots button{ width:9px; height:9px; border-radius:999px; border:none; background:rgba(255,255,255,.28);
  padding:0; transition:background .2s ease, width .2s ease; }
.dots button.active{ background:#fff; width:26px; }
.arrows{ display:flex; gap:.6rem; }
.arrows button{ width:48px; height:48px; border-radius:999px; border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.06); color:#fff; display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, color .2s ease; }
.arrows button:hover{ background:#fff; color:var(--brand-deep); }

/* =====================================================================
   KONTAKT
   ===================================================================== */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,56px); align-items:center; }
.contact-intro{ color:var(--ink-soft); margin-top:1rem; font-size:var(--fs-base); max-width:46ch; }
.contact-intro a{ color:var(--brand); font-weight:600; text-decoration:underline;
  text-decoration-color:rgba(0,96,144,.35); text-underline-offset:3px; }
.contact-intro a:hover{ color:var(--brand-dark); text-decoration-color:currentColor; }
.contact-cards{ display:grid; gap:.8rem; margin-top:1.8rem; }
.cc{ display:flex; gap:1rem; align-items:center; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--r); padding:1rem 1.2rem;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.cc:hover{ box-shadow:var(--shadow-sm); transform:translateY(-2px); border-color:var(--sky); }
.cc .ico-wrap{ width:46px; height:46px; border-radius:var(--r-icon); background:var(--brand-soft);
  color:var(--brand); display:flex; align-items:center; justify-content:center; flex:none; }
.cc b{ font-size:var(--fs-base); overflow-wrap:anywhere; }
.cc span span{ display:block; color:var(--ink-soft); font-size:var(--fs-sm); }
.contact-fax{ display:flex; align-items:center; gap:.6rem; margin-top:.9rem; padding-inline:1.2rem;
  color:var(--ink-soft); font-size:var(--fs-sm); }
.contact-fax .ico{ color:var(--muted); width:1.1em; height:1.1em; }
.contact-cta{ margin-top:1.8rem; display:flex; flex-wrap:wrap; gap:.8rem; }

.map-card{ border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow);
  border:1px solid var(--line); background:var(--surface); }
.map-embed{ position:relative; width:100%; min-height:clamp(320px,46vw,540px); display:flex;
  align-items:flex-end; justify-content:center; padding:22px; }
.map-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; filter:grayscale(.18); }
.map-static{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  padding-bottom:110px; overflow:hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(0,96,144,.10), transparent 60%),
    repeating-linear-gradient(0deg, rgba(15,29,40,.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(15,29,40,.05) 0 1px, transparent 1px 46px),
    linear-gradient(135deg,#eef4f8,#e3edf3); }
.map-static::before{ content:""; position:absolute; left:18%; top:62%; width:64%; height:14px;
  background:rgba(0,96,144,.16); transform:rotate(-7deg); border-radius:8px; }
.map-static::after{ content:""; position:absolute; left:0; top:38%; width:120%; height:20px;
  background:rgba(0,96,144,.10); transform:rotate(5deg); }
.map-pin{ position:relative; z-index:2; width:54px; height:54px; border-radius:50% 50% 50% 6px;
  background:var(--brand); transform:rotate(-45deg); box-shadow:0 12px 28px rgba(15,29,40,.22);
  display:flex; align-items:center; justify-content:center; }
.map-pin .ico{ transform:rotate(45deg); color:#fff; width:24px; height:24px; }
.map-consent{ position:relative; z-index:3; width:100%; max-width:440px; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--r); padding:1.1rem 1.25rem 1.2rem;
  box-shadow:var(--shadow); display:grid; gap:.55rem; justify-items:start; }
.map-consent-title{ font-size:var(--fs-base); }
.map-consent-note{ font-size:var(--fs-sm); line-height:1.5; color:var(--ink-soft); }
.map-consent .btn{ margin-top:.3rem; }

/* =====================================================================
   SELBSTZAHLERLEISTUNGEN
   ===================================================================== */
.price-groups{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(28px,5vw,72px);
  margin-top:clamp(2rem,4vw,2.8rem); }
.price-group h3{ font-size:var(--fs-lg); }
.price-group > p{ color:var(--ink-soft); font-size:var(--fs-sm); margin-top:.35rem; }
.price-list{ margin-top:1rem; border-top:1px solid var(--line); }
.price-list div{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem;
  padding:.7rem 0; border-bottom:1px solid var(--line-soft); }
.price-list dt{ font-size:var(--fs-base); }
.price-list dt span{ display:block; font-size:var(--fs-sm); color:var(--muted); }
.price-list dd{ font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; }
.beauty-next{ margin-top:clamp(2.4rem,4vw,3.2rem); padding-top:clamp(1.4rem,3vw,1.8rem); border-top:1px solid var(--line); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer{ background:var(--brand-deep); color:var(--on-dark); padding:clamp(48px,6vw,76px) 0 2rem; }
.foot-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1.2fr; gap:2.5rem; }
.foot-brand{ display:flex; align-items:center; gap:.7rem; margin-bottom:1.1rem; }
.foot-brand img{ height:42px; width:auto; background:#fff; padding:5px 8px; border-radius:var(--r-sm); }
.foot-brand b{ color:#fff; font-size:var(--fs-base); }
.site-footer p{ font-size:var(--fs-sm); color:var(--on-dark-muted); max-width:34ch; }
.foot-col h4{ color:#fff; font-size:var(--fs-xs); letter-spacing:.12em; text-transform:uppercase; margin-bottom:.5rem; }
.foot-col p{ color:var(--on-dark-soft); font-size:var(--fs-sm); padding:.3rem 0; }
.foot-col a{ display:flex; align-items:center; min-height:44px; color:var(--on-dark-soft); font-size:var(--fs-sm); }
.foot-col a:hover{ color:#fff; }
.foot-bottom{ margin-top:3rem; padding-top:1.6rem; border-top:1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; align-items:center; gap:0 1rem; flex-wrap:wrap; font-size:var(--fs-sm);
  color:var(--on-dark-muted); }
.foot-bottom a{ display:inline-flex; align-items:center; min-height:44px; color:var(--on-dark-soft); }
.foot-bottom a:hover{ color:#fff; }

/* =====================================================================
   LEGAL PAGES
   ===================================================================== */
.legal-hero{ padding:clamp(56px,8vw,110px) 0 clamp(28px,4vw,48px); }
.legal-hero h1{ font-size:clamp(2rem,5vw,3.2rem); }
.legal-hero p{ color:var(--ink-soft); margin-top:.8rem; }
.prose{ max-width:780px; padding-bottom:clamp(64px,9vw,120px); }
.prose h2{ font-size:var(--fs-xl); margin:2.6rem 0 .8rem; padding-top:1.6rem; border-top:1px solid var(--line); }
.prose h2:first-child{ border-top:none; padding-top:0; margin-top:0; }
.prose h3{ font-size:var(--fs-lg); margin:1.8rem 0 .5rem; color:var(--brand-dark); }
.prose h4{ font-size:var(--fs-base); margin:1.2rem 0 .4rem; }
.prose p{ color:var(--ink-soft); margin-bottom:1rem; font-size:var(--fs-base); }
.prose ul{ margin:0 0 1.2rem 1.3rem; color:var(--ink-soft); display:grid; gap:.4rem; }
.prose a{ color:var(--brand); text-decoration:underline; text-underline-offset:3px; }
.legal-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:1.6rem 1.8rem; margin:1.4rem 0 2rem; box-shadow:var(--shadow-sm); }
.legal-card p{ margin-bottom:.2rem; }
.legal-group + .legal-group{ margin-top:1rem; }
.legal-card b{ color:var(--ink); }
.back-link{ display:flex; width:fit-content; align-items:center; gap:.5em; color:var(--brand); font-weight:600;
  font-size:var(--fs-base); margin-bottom:2rem; }
.back-link:hover{ color:var(--brand-dark); }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.js [data-reveal]{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.2,.6,.2,1),
  transform .7s cubic-bezier(.2,.6,.2,1); }
.js [data-reveal].in{ opacity:1; transform:none; }
[data-reveal][data-delay="1"]{ transition-delay:.08s; }
[data-reveal][data-delay="2"]{ transition-delay:.16s; }
[data-reveal][data-delay="3"]{ transition-delay:.24s; }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1 !important; transform:none !important; }
}
@media print{
  [data-reveal]{ opacity:1 !important; transform:none !important; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:1080px){
  .svc-groups{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px){
  body{ font-size:1.0625rem; }
  .hero-grid{ grid-template-columns:minmax(0,1fr); }
  .hero h1{ font-size:clamp(2.3rem,7vw,3.2rem); }
  .hero-aside{ gap:1.8rem; }
  .hero-aside .hero-photo{ order:0; margin-right:0; }
  .hero-frame, .hero-doc + .hero-doc .hero-frame{ border-radius:var(--r-lg); }
  .hours-grid, .about-grid, .docs, .contact-grid{ grid-template-columns:minmax(0,1fr); }
  .foot-grid{ grid-template-columns:1fr 1fr; }
  .foot-grid > :first-child{ grid-column:1 / -1; }
}
@media (max-width:720px){
  .nav-cta .label-long{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
}
@media (max-width:620px){
  :root{ --gutter:20px; }
  .nav{ height:66px; gap:.75rem; }
  .brand img, .brand .bt span{ display:none; }
  .brand .bt b{ white-space:normal; }
  .hero{ padding-top:24px; }
  .hero h1{ font-size:clamp(2rem,9.4vw,2.4rem); }
  .hero-copy .tag{ margin-bottom:1rem; }
  .nav-cta{ gap:.5rem; }
  .nav-cta .btn{ padding-inline:1.1em; }
  .mfa{ grid-template-columns:1fr; max-width:360px; margin-inline:auto; }
  .svc-groups{ grid-template-columns:1fr; }
  .price-groups{ grid-template-columns:1fr; }
  .hours th, .hours td{ padding:.7rem .45rem; }
  .hours .col-day{ width:3.8rem; }
  .card{ padding:1.25rem 1.1rem; }
  .map-embed{ display:block; padding:0; }
  .map-static{ position:relative; height:clamp(180px,52vw,240px); padding-bottom:0; }
  .map-consent{ max-width:none; border:0; border-top:1px solid var(--line); border-radius:0; box-shadow:none; }
  .foot-grid{ grid-template-columns:1fr; gap:1.8rem; }
  .foot-bottom{ flex-direction:column; }
}
@media (max-width:480px){
  .nav-cta .label-mid{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .card{ padding:1.1rem .9rem; }
  .hours{ font-size:var(--fs-sm); }
  .hours th, .hours td{ padding:.65rem .35rem; }
  .hours .col-akut{ width:40%; }
  .emerg a{ padding:.85rem .8rem; gap:.75rem; }
  .hours .col-day{ width:3.6rem; }
  .hours .pulse{ letter-spacing:.02em; }
}
@media (max-width:360px){
  .nav-cta .btn .ico{ display:none; }
}
