/* ═══════════════════════════════════════════════════════════
   PRAXIS SCHIFFLÄNDE — Gemeinsames Stylesheet
   Ruhig, sachlich, mobile-first. Keine Spielereien.
   ═══════════════════════════════════════════════════════════ */

/* Fonts werden im HTML-Head geladen (schneller als @import) */

:root {
  /* Farben */
  --bg:        #ffffff;
  --bg-soft:   #f7f7f5;
  --bg-warm:   #f3efe9;
  --ink:       #1a1f24;
  --ink-2:     #4a5560;
  --ink-3:     #7a8590;
  --border:    #e4e4e0;
  --river:     #4a6b5d;       /* primär: warmes Salbei-Grün, beruhigend */
  --river-dk:  #34504a;
  --river-lt:  #e8efe9;
  --sand:      #b8825c;       /* sekundär: warmer Sandstein */
  --sand-lt:   #f3e8dc;
  --white:     #ffffff;

  /* Typo */
  --ff-head:   'Fraunces', Georgia, serif;
  --ff-body:   'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --nav-h:     64px;
  --max-w:     1100px;
  --max-w-narrow: 760px;
  --px:        clamp(20px, 5vw, 56px);

  /* Mobile sticky call bar height (only mobile) */
  --call-h:    0px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: clip;
  padding-bottom: var(--call-h);
}
/* Dezenter, fixer Farbschimmer hinter allen Seiten — gibt den
   Liquid-Glass-Karten auch auf weissen Sektionen etwas zum Refraktieren */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(1000px 620px at 88% -6%, rgba(74, 107, 93, 0.07), transparent 60%),
    radial-gradient(880px 600px at -8% 42%, rgba(184, 130, 92, 0.055), transparent 60%),
    radial-gradient(1000px 700px at 55% 112%, rgba(74, 107, 93, 0.05), transparent 60%);
}
img { max-width: 100%; display: block; }
a { color: var(--river); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(228, 228, 224, 0.5);
}
.nav--on-dark {
  background: rgba(20, 30, 25, 0.15);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav--on-dark.is-scrolled {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: rgba(228, 228, 224, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   LIQUID GLASS — utility & card overrides
   ═══════════════════════════════════════════════════════════ */

/* Soft gradient backgrounds give glass something to refract over */
.section--soft {
  background:
    radial-gradient(circle at 20% 0%, rgba(74, 107, 93, 0.08), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(184, 130, 92, 0.06), transparent 50%),
    var(--bg-soft);
}
.section--warm {
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 130, 92, 0.10), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(74, 107, 93, 0.08), transparent 55%),
    var(--bg-warm);
}

/* Glass utility — applied automatically to common card-like containers */
.doctor-card,
.contact-card,
.service-card,
.principle,
.hours__block,
.sidebar,
.sidebar-box,
.sidebar-contact,
.hero__phone,
.fact,
.info-card,
.info-block,
.note-box,
.specimen,
.swatch,
.acc,
.faq__item,
.symptom-list span {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 18px 40px rgba(20, 30, 25, 0.06),
    0 2px 8px rgba(20, 30, 25, 0.04);
}

/* Tag-/Pillen-Elemente glas */
.tag, .tag--sand,
.tab-btn,
.qbar__item,
.hero__badge,
.hero__card,
.contact-card__eyebrow {
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

/* Sub-/Page-Hero: weicher Verlaufs-Hintergrund, damit Glas refraktiert */
.sub-hero,
.page-hero {
  background:
    radial-gradient(circle at 15% 10%, rgba(74, 107, 93, 0.12), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(184, 130, 92, 0.10), transparent 55%),
    var(--bg-warm);
  position: relative;
}

/* Sidebar header keeps colored identity */
.sidebar-box__head,
.sidebar-contact__head {
  background: linear-gradient(135deg, rgba(74,107,93,0.94), rgba(52,80,74,0.92));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

/* Map-Container glas-Rand */
.loc__map,
.map-wrap {
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

/* Mobile drawer: einzelne Glas-Karten statt einfacher Listenpunkte */
@media (max-width: 820px) {
  .nav__drawer {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
  }
  .nav__drawer a {
    border-radius: 14px;
    margin-bottom: 8px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.5) inset,
      0 6px 14px rgba(20, 30, 25, 0.05);
  }
  .nav__drawer a:hover {
    background: rgba(255, 255, 255, 0.85);
  }
  .nav__drawer__cta {
    background: linear-gradient(135deg, rgba(74,107,93,0.96), rgba(52,80,74,0.94)) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: var(--white) !important;
  }
}

.hours__block--accent {
  background: linear-gradient(135deg, rgba(74,107,93,0.95), rgba(52,80,74,0.92));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 18px 40px rgba(20, 30, 25, 0.18);
}

/* Big-CTA — frosted dark glass */
.big-cta,
.big-cta--full {
  background: linear-gradient(135deg, rgba(74,107,93,0.94), rgba(52,80,74,0.90));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 24px 60px rgba(20, 30, 25, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* Glass buttons */
.btn--ghost {
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(20, 30, 25, 0.12);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(20, 30, 25, 0.20);
}

/* Form fields glass */
input, textarea, select {
  background: rgba(255, 255, 255, 0.60) !important;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

/* Drawer glass */
.nav__drawer {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}
.nav__inner {
  max-width: var(--max-w); height: 100%;
  margin: 0 auto; padding: 0 var(--px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav__brand {
  display: flex; flex-direction: column; line-height: 1.15;
}
.nav__brand-name { font-family: var(--ff-head); font-size: 18px; font-weight: 500; color: var(--ink); }
.nav__brand-loc  { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.nav--on-dark:not(.is-scrolled) .nav__brand-name { color: var(--white); }
.nav--on-dark:not(.is-scrolled) .nav__brand-loc { color: rgba(255,255,255,.75); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-size: 15px; font-weight: 500;
  padding: 9px 14px; border-radius: 8px;
  color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav__link:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav__link.is-active { color: var(--ink); background: var(--bg-soft); }

.nav--on-dark:not(.is-scrolled) .nav__link { color: rgba(255,255,255,.85); }
.nav--on-dark:not(.is-scrolled) .nav__link:hover,
.nav--on-dark:not(.is-scrolled) .nav__link.is-active { background: rgba(255,255,255,.15); color: var(--white); }

.nav__cta {
  font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
  background: var(--river); color: var(--white) !important;
  transition: background .15s;
}
.nav__cta:hover { background: var(--river-dk); text-decoration: none; }

.nav--on-dark:not(.is-scrolled) .nav__cta { background: var(--white); color: var(--ink) !important; }
.nav--on-dark:not(.is-scrolled) .nav__cta:hover { background: rgba(255,255,255,.9); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav--on-dark:not(.is-scrolled) .nav__burger span { background: var(--white); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__drawer {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 499;
  padding: 16px var(--px) 40px;
  display: none; flex-direction: column;
  overflow-y: auto;
}
.nav__drawer.is-open { display: flex; }
.nav__drawer a {
  font-size: 18px; font-weight: 500; color: var(--ink);
  padding: 18px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__drawer a::after { content: '→'; color: var(--ink-3); font-weight: 400; }
.nav__drawer a:hover { text-decoration: none; color: var(--river); }
.nav__drawer__cta {
  margin-top: 24px;
  padding: 18px 24px !important;
  background: var(--river) !important; color: var(--white) !important;
  border-radius: 999px; border: none !important;
  justify-content: center !important;
  font-weight: 600 !important;
}
.nav__drawer__cta::after { display: none; }

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* ── MOBILE STICKY CALL BAR (deaktiviert) ─────────────── */
.call-bar {
  display: none !important;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-body);
  font-size: 16px; font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px; border: none;
  min-height: 48px;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--river); color: var(--white); }
.btn--primary:hover { background: var(--river-dk); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--ink-2); background: var(--bg-soft); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--bg-soft); }
.btn--white-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn--white-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn .arr { font-weight: 400; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--river); margin-bottom: 14px;
}
.h1 {
  font-family: var(--ff-head);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 500; line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
.h2 {
  font-family: var(--ff-head);
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 500; line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
.h3 {
  font-family: var(--ff-head);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 500; line-height: 1.25;
  color: var(--ink);
}
.lead {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink-2); line-height: 1.55;
  max-width: 640px;
}

/* ── SECTIONS ───────────────────────────────────────────── */
.section { padding: clamp(64px, 10vw, 110px) var(--px); }
.section__inner { max-width: var(--max-w); margin: 0 auto; }
.section__inner--narrow { max-width: var(--max-w-narrow); margin: 0 auto; }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .h1, .section--dark .h2, .section--dark .h3 { color: var(--white); }
.section--dark .eyebrow { color: rgba(255,255,255,.7); }
.section--dark .lead { color: rgba(255,255,255,.8); }

/* ── IMAGE PLACEHOLDERS ─────────────────────────────────── */
/*  Use <div class="img-slot" data-img="hero-rhein.jpg" data-img-desc="..."></div>
    To swap in a real photo, replace with <img src="..." alt="...">.
    The slot shows what kind of photo belongs there. */
.img-slot {
  position: relative;
  background: var(--bg-warm);
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.02) 25%, transparent 25%, transparent 50%, rgba(0,0,0,.02) 50%, rgba(0,0,0,.02) 75%, transparent 75%);
  background-size: 24px 24px;
  border: 1px dashed var(--ink-3);
  border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--ink-2);
  overflow: hidden;
  min-height: 240px;
}
.img-slot::before {
  content: '📷  Bildplatz';
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px;
}
.img-slot__name {
  font-family: var(--ff-body); font-size: 13px; font-weight: 700;
  color: var(--ink); margin-bottom: 6px;
}
.img-slot__desc {
  font-size: 13px; line-height: 1.5; color: var(--ink-2);
  max-width: 320px;
}
.img-slot__size {
  margin-top: 10px; font-size: 11px;
  color: var(--ink-3); font-family: ui-monospace, monospace;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--ink); color: rgba(255,255,255,.7);
  padding: 56px var(--px) 32px;
  font-size: 14px; line-height: 1.7;
}
.footer__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__brand { font-family: var(--ff-head); font-size: 22px; color: var(--white); margin-bottom: 4px; font-weight: 500; }
.footer__tag { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer__col-title {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--white); margin-bottom: 14px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a { color: rgba(255,255,255,.7); }
.footer__col a:hover { color: var(--white); }
.footer__col address { font-style: normal; }
.footer__bottom {
  max-width: var(--max-w); margin: 24px auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.45);
}
.footer__bottom a { color: rgba(255,255,255,.55); }
.footer__bottom a:hover { color: var(--white); }
.footer__links { display: flex; gap: 20px; }

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ── UTILITIES ──────────────────────────────────────────── */
.stack-sm > * + * { margin-top: 12px; }
.stack    > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Big CTA block (Termin-Call-Out) — bottom of each page */
.big-cta,
.big-cta--full {
  background: var(--river);
  color: var(--white);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
}
.big-cta .h2 { color: var(--white); }
.big-cta__phones { display: flex; flex-direction: column; gap: 16px; }
.big-cta__phone {
  display: block; padding: 18px 22px;
  background: rgba(255,255,255,.12);
  border-radius: 14px;
  transition: background .15s;
  text-decoration: none;
}
.big-cta__phone:hover { background: rgba(255,255,255,.18); text-decoration: none; }
.big-cta__phone-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.big-cta__phone-num { font-family: var(--ff-head); font-size: 24px; font-weight: 500; color: var(--white); margin-top: 4px; display: block; }

@media (max-width: 720px) {
  .big-cta,
  .big-cta--full {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
    text-align: left;
  }
  .big-cta .h2 { font-size: clamp(24px, 6vw, 30px); }
}

@media (max-width: 720px) {
  .btn { padding: 14px 22px; font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE OPTIMIERUNGEN — fein abgestimmt
   ═══════════════════════════════════════════════════════════ */

/* Größere Tap-Targets überall */
@media (max-width: 820px) {
  .nav__burger { width: 48px; height: 48px; }
  .nav__cta, .nav__cta-btn { min-height: 44px; padding: 10px 18px; }
  .nav__drawer a { padding: 16px 4px; min-height: 56px; font-size: 17px; }
  .nav__drawer__cta { min-height: 56px !important; padding: 16px 24px !important; }
}

/* Section-Spacing kompakter auf Mobile */
@media (max-width: 720px) {
  .section { padding: clamp(48px, 9vw, 72px) var(--px); }

  /* Headlines etwas zurückhaltender */
  .h1 { font-size: clamp(32px, 8vw, 44px); }
  .h2 { font-size: clamp(26px, 6.5vw, 34px); }
  .h3 { font-size: clamp(20px, 4.5vw, 24px); }
  .lead { font-size: 16px; line-height: 1.5; }
  .eyebrow { font-size: 11px; margin-bottom: 10px; }

  /* Buttons: 100% wenn alleine in einer Reihe */
  .btn { min-height: 48px; }
  .cluster .btn { flex: 1 1 auto; }

  /* Sticky-Footer-Spacing damit Inhalt nicht hinter Call-Bar verschwindet */
  body { padding-bottom: calc(var(--call-h) + env(safe-area-inset-bottom, 0px)); }

  /* Call-Bar: Touch-Targets und Safe-Area */
  .call-bar {
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .call-bar a {
    font-size: 13.5px; padding: 12px 6px;
    min-height: 52px;
  }
  .call-bar svg { width: 16px; height: 16px; }

  /* Tag-/Pillen-Elemente größere Touch-Zone */
  .doctor-card__list li,
  .hero__strip,
  .hero__strip-item { font-size: 14.5px; }

  /* Generelle Bildränder kleiner */
  .doctor-card { border-radius: 16px; }
  .doctor-card__body { padding: 22px 20px; }

  /* Map / iframes mobile-freundlicher */
  iframe { min-height: 360px; }

  /* Image-Slot Texte kleiner auf Mobile */
  .img-slot { padding: 16px; min-height: 180px; }
  .img-slot__name { font-size: 12px; }
  .img-slot__desc { font-size: 12px; }
  .img-slot__size { font-size: 10px; }
}

/* Sehr schmale Geräte (≤ 380 px) */
@media (max-width: 380px) {
  :root { --px: 16px; }
  .h1 { font-size: clamp(28px, 9vw, 38px); }
  .h2 { font-size: clamp(24px, 7vw, 30px); }
  .nav__brand-loc { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   Mobile compactness pass
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  .section { padding: 48px var(--px) 48px; }
  .section--soft, .section--warm { padding: 48px var(--px); }

  /* Cards: less padding, tighter content */
  .doctor-card { border-radius: 14px; }
  .doctor-card__body { padding: 18px 18px 22px; gap: 10px; }
  .doctor-card__name { font-size: 22px; }
  .doctor-card__role { font-size: 13px; line-height: 1.4; }
  .doctor-card__list { gap: 4px; }
  .doctor-card__list li { font-size: 14px; padding: 4px 10px; }

  .service-card { padding: 18px 18px; border-radius: 14px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 14px; line-height: 1.5; }

  .principle { padding: 20px 18px; border-radius: 14px; }
  .principle h3 { font-size: 18px; }
  .principle p { font-size: 14px; line-height: 1.55; }

  .hours__block { padding: 20px 18px; border-radius: 14px; }
  .hours__title { font-size: 17px; margin-bottom: 12px; }
  .hours__row { font-size: 14px; padding: 9px 0; }

  .sidebar, .sidebar-box { padding: 18px; border-radius: 14px; }
  .contact-card { padding: 22px; border-radius: 14px; }
  .contact-card__phone { font-size: 28px; }
  .contact-card__doc { font-size: 13px; line-height: 1.4; }

  /* FAQ items closer together */
  .faq__item { padding: 14px 0; }
  .faq__item summary { font-size: 16px; }
  .faq__item p { font-size: 14.5px; }

  /* Sub-hero compacter */
  .sub-hero { padding: calc(var(--nav-h) + 28px) var(--px) 36px; }
  .sub-hero__title { font-size: clamp(28px, 7vw, 38px); }
  .sub-hero__lead { font-size: 15px; line-height: 1.5; }

  /* Page hero (server-rendered) */
  .page-hero { padding: clamp(28px, 5vw, 48px) var(--px) clamp(28px, 5vw, 36px); }
  .page-hero h1 { font-size: clamp(28px, 7vw, 40px); }

  /* About / Team-Foto-Section: less bottom padding */
  .about__grid { gap: 24px; }
  .about__img-wrap { aspect-ratio: 4/3; }

  /* Map / iframe height etwas zurücknehmen */
  .map-wrap iframe, .loc__map iframe { min-height: 320px; height: 320px; }
  iframe.booking-iframe, .booking__widget iframe { min-height: 640px; }

  /* Big-CTA tighter */
  .big-cta, .big-cta--full {
    padding: 28px 22px;
    border-radius: 18px;
    gap: 18px;
  }
  .big-cta .h2 { font-size: clamp(22px, 5.5vw, 28px); }
  .big-cta p { font-size: 15px; }
  .big-cta__phone { padding: 14px 18px; }
  .big-cta__phone-num { font-size: 20px; }

  /* Tight stacks across sections */
  .stack-lg > * + * { margin-top: 20px; }
  .grid-3, .grid-auto { gap: 12px; }
}

@media (max-width: 480px) {
  .section, .section--soft, .section--warm { padding: 40px 18px; }
  :root { --px: 18px; }
  .doctor-card__name { font-size: 20px; }
  .service-card h3 { font-size: 16px; }
  .doctor-card__list li { font-size: 13.5px; }
  .h2 { font-size: clamp(24px, 6.5vw, 28px); }
}

/* ═══ SCROLL REVEAL ═══ */
html.rv-on .rv{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.22,.61,.21,1),transform .8s cubic-bezier(.22,.61,.21,1);transition-delay:var(--rvd,0s)}
html.rv-on .rv.rv-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){html.rv-on .rv{opacity:1;transform:none;transition:none}}
/* ═══ HERO KEN-BURNS (dezent) ═══ */
@keyframes heroZoom{from{transform:scale(1.06)}to{transform:scale(1)}}
.hero__bg,.phero__bg{animation:heroZoom 2.2s cubic-bezier(.22,.61,.21,1) both}
/* ═══ PHOTO HERO — Unterseiten im Stil der Startseite ═══ */
.phero{position:relative;overflow:hidden;background:var(--ink);padding:calc(var(--nav-h) + clamp(56px,9vw,110px)) var(--px) clamp(56px,8vw,96px)}
.phero__bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
.phero__bg::after{content:'';position:absolute;inset:0;background:linear-gradient(115deg,rgba(20,30,25,.84) 0%,rgba(20,30,25,.62) 32%,rgba(20,30,25,.32) 62%,rgba(20,30,25,.2) 100%),linear-gradient(180deg,rgba(20,30,25,.25) 0%,rgba(20,30,25,0) 30%,rgba(20,30,25,.5) 100%)}
.phero__inner{position:relative;z-index:2;max-width:var(--max-w);margin:0 auto;display:grid;grid-template-columns:1.35fr .85fr;gap:clamp(32px,5vw,72px);align-items:center}
.phero__inner>*{min-width:0}
.phero--solo .phero__inner{grid-template-columns:1fr}
.phero .breadcrumb,.phero .breadcrumb a,.phero .breadcrumb span{color:rgba(255,255,255,.6)}
.phero .breadcrumb a:hover{color:#fff}
.phero .breadcrumb [aria-current]{color:rgba(255,255,255,.95);font-weight:500}
.phero__badge{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.12);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;font-size:12.5px;font-weight:600;letter-spacing:.04em;border:1px solid rgba(255,255,255,.22);margin-bottom:18px}
.phero__badge::before{content:'';width:7px;height:7px;border-radius:50%;background:#b8d5c6;box-shadow:0 0 0 4px rgba(184,213,198,.25)}
.phero__title{font-family:var(--ff-head);font-size:clamp(38px,5.5vw,68px);font-weight:400;line-height:1.02;letter-spacing:-.03em;color:#fff;margin-bottom:18px;font-variation-settings:"opsz" 144;text-wrap:balance;text-shadow:0 2px 30px rgba(0,0,0,.35)}
.phero__title em{font-style:italic;color:#c8d9d1;font-weight:500}
.phero__lead{font-size:clamp(16.5px,1.6vw,19px);color:rgba(255,255,255,.92);line-height:1.55;max-width:560px;margin-bottom:26px;text-shadow:0 1px 12px rgba(0,0,0,.25)}
.phero__cta{display:flex;flex-wrap:wrap;gap:12px}
.phero__cta .btn--primary{background:#fff;color:var(--ink);border:1px solid #fff}
.phero__cta .btn--primary:hover{background:rgba(255,255,255,.9)}
.phero__cta .btn--ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.45);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.phero__cta .btn--ghost:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.7)}
.phero__chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.phero__chip{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#fff;font-size:13.5px;font-weight:500;min-height:44px}
.phero__chip svg{width:15px;height:15px;opacity:.85;flex-shrink:0}
.phero__portrait{position:relative;margin:0;border-radius:24px;overflow:hidden;aspect-ratio:4/5;max-height:520px;border:1px solid rgba(255,255,255,.35);box-shadow:0 30px 70px rgba(0,0,0,.45)}
.phero__portrait img{width:100%;height:100%;object-fit:cover;display:block}
.phero__portrait figcaption{position:absolute;left:12px;right:12px;bottom:12px;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:14px;padding:10px 16px;font-size:13.5px;font-weight:600;color:var(--ink);line-height:1.35}
.phero__portrait figcaption span{display:block;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--river);margin-top:2px}
@media (max-width:900px){.phero__inner{grid-template-columns:1fr;gap:32px}.phero__portrait{max-width:420px;max-height:440px}}
@media (max-width:720px){.phero{padding-top:calc(var(--nav-h) + 44px);padding-bottom:44px}.phero__title{font-size:clamp(32px,9vw,44px)}.phero__lead{font-size:16px}.phero__chip{font-size:13px;padding:9px 14px}}

/* ═══ SUBNAV (Sprungnavigation) ═══ */
[id]{scroll-margin-top:calc(var(--nav-h) + 64px)}
.subnav{position:sticky;top:var(--nav-h);z-index:400;background:rgba(255,255,255,.78);backdrop-filter:blur(20px) saturate(170%);-webkit-backdrop-filter:blur(20px) saturate(170%);border-bottom:1px solid rgba(228,228,224,.6)}
.subnav__inner{max-width:var(--max-w);margin:0 auto;padding:0 var(--px);display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.subnav__inner::-webkit-scrollbar{display:none}
.subnav a{flex-shrink:0;padding:15px 12px;font-size:14px;font-weight:600;color:var(--ink-2);white-space:nowrap;border-bottom:2px solid transparent}
.subnav a:hover{color:var(--river);border-bottom-color:var(--river);text-decoration:none}
/* ═══ NUMMERIERTE LEISTUNGEN ═══ */
.svc{display:grid;grid-template-columns:repeat(2,1fr);margin-top:44px;border-top:1px solid var(--border)}
.svc__item{padding:26px 48px 26px 0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:start}
.svc__item:nth-child(even){padding:26px 0 26px 48px;border-left:1px solid var(--border)}
.svc__num{font-family:var(--ff-head);font-size:15px;font-weight:600;color:var(--river);padding-top:5px;font-variant-numeric:tabular-nums}
.svc__item h3{font-family:var(--ff-head);font-size:21px;font-weight:500;color:var(--ink);margin-bottom:6px;line-height:1.25}
.svc__item p{font-size:15px;color:var(--ink-2);line-height:1.6}
@media(max-width:820px){.svc{grid-template-columns:1fr}.svc__item,.svc__item:nth-child(even){padding:18px 0;border-left:none;gap:14px}.svc__item h3{font-size:18px;margin-bottom:4px}.svc__item p{font-size:14px}}
/* ═══ SCHRITT-KARTEN ═══ */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.step{background:rgba(255,255,255,.62);backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);border:1px solid rgba(255,255,255,.55);border-radius:20px;padding:26px;box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 18px 40px rgba(20,30,25,.06)}
.step__num{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:var(--river);color:#fff;font-family:var(--ff-head);font-size:18px;font-weight:500;margin-bottom:16px}
.step h3{font-family:var(--ff-head);font-size:20px;font-weight:500;color:var(--ink);margin-bottom:8px}
.step p{font-size:14.5px;color:var(--ink-2);line-height:1.6}
.step a{color:var(--ink)}
@media(max-width:820px){.steps{grid-template-columns:1fr;gap:12px}.step{display:grid;grid-template-columns:auto 1fr;gap:4px 16px;padding:20px}.step__num{grid-row:span 2;margin-bottom:0;width:38px;height:38px;font-size:16px}.step h3{font-size:17px}.step p{font-size:14px}}
/* ═══ ABLAUF-TIMELINE ═══ */
.tl{background:rgba(255,255,255,.62);backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);border:1px solid rgba(255,255,255,.55);border-radius:20px;padding:26px 26px 22px;box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 18px 40px rgba(20,30,25,.06);align-self:start}
.tl__title{font-family:var(--ff-head);font-size:19px;font-weight:500;color:var(--ink);margin-bottom:18px}
.tl__item{position:relative;padding:0 0 20px 26px}
.tl__item::before{content:'';position:absolute;left:0;top:4px;width:12px;height:12px;border-radius:50%;background:var(--river-lt);border:2.5px solid var(--river)}
.tl__item::after{content:'';position:absolute;left:5.5px;top:22px;bottom:2px;width:1.5px;background:rgba(74,107,93,.25)}
.tl__item:last-child{padding-bottom:0}
.tl__item:last-child::after{display:none}
.tl__item h4{font-size:15px;font-weight:600;color:var(--ink);margin-bottom:3px}
.tl__item p{font-size:13.5px;color:var(--ink-2);line-height:1.55}
/* ═══ FOTO-STATEMENT-BAND ═══ */
.band{position:relative;overflow:hidden;background:var(--ink)}
.band__bg{position:absolute;inset:0;background-size:cover;background-position:center}
.band__bg::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,rgba(20,30,25,.85) 0%,rgba(20,30,25,.55) 55%,rgba(20,30,25,.3) 100%)}
.band__inner{position:relative;z-index:2;max-width:var(--max-w);margin:0 auto;padding:clamp(64px,10vw,120px) var(--px)}
.band__title{font-family:var(--ff-head);font-size:clamp(30px,4.5vw,52px);font-weight:400;line-height:1.08;letter-spacing:-.02em;color:#fff;max-width:640px;text-wrap:balance;font-variation-settings:"opsz" 144}
.band__title em{font-style:italic;color:#c8d9d1;font-weight:500}
.band__text{margin-top:16px;font-size:clamp(15.5px,1.6vw,18px);color:rgba(255,255,255,.88);line-height:1.6;max-width:560px}
.band .eyebrow{color:rgba(255,255,255,.75)}
/* ═══ NOTFALL 144 ═══ */
.emergency{display:flex;gap:28px;align-items:center;background:linear-gradient(135deg,rgba(184,130,92,.16),rgba(184,130,92,.05));border:1px solid rgba(184,130,92,.35);border-radius:22px;padding:clamp(24px,4vw,40px);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.emergency__num{font-family:var(--ff-head);font-size:clamp(44px,6vw,68px);font-weight:500;color:var(--sand);line-height:1;flex-shrink:0}
.emergency__body h3{font-family:var(--ff-head);font-size:21px;font-weight:500;color:var(--ink);margin-bottom:8px}
.emergency__body p{font-size:15px;color:var(--ink-2);line-height:1.65}
.emergency__body a{color:var(--ink);font-weight:600}
@media(max-width:600px){.emergency{flex-direction:column;align-items:flex-start;gap:12px}}
/* ═══ "HEUTE"-MARKIERUNG SPRECHZEITEN ═══ */
.hours__row.is-today .hours__day::after{content:'Heute';margin-left:8px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--river);background:rgba(74,107,93,.12);padding:2px 8px;border-radius:999px;vertical-align:1px}
.hours__block--accent .hours__row.is-today .hours__day::after{color:#fff;background:rgba(255,255,255,.2)}
/* ═══ PHOTO-HERO MOBILE-FEINSCHLIFF ═══ */
@media(max-width:720px){
.phero__cta{flex-direction:column;align-items:stretch}
.phero__cta .btn{width:100%}
.phero__chips{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:22px calc(-1*var(--px)) 0;padding:0 var(--px)}
.phero__chips::-webkit-scrollbar{display:none}
.phero__chip{white-space:nowrap;flex-shrink:0}
.phero__portrait{max-height:380px;border-radius:18px}
.phero__portrait figcaption{left:10px;right:10px;bottom:10px;padding:9px 14px;font-size:12.5px}
}

/* ═══ SVC-ICONS (reduziert) ═══ */
.svc__ico{width:24px;height:24px;color:var(--river);margin-top:3px;flex-shrink:0}
.svc__ico svg{width:24px;height:24px;display:block}
@media(max-width:820px){.svc__ico,.svc__ico svg{width:21px;height:21px}}
/* ═══ MOBILE-FEINSCHLIFF II ═══ */
@media(max-width:720px){
.subnav__inner{mask-image:linear-gradient(90deg,#000 90%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 90%,transparent)}
.subnav a{padding:14px 10px;font-size:13.5px}
.tl{padding:20px 18px}
.tl__title{font-size:17px;margin-bottom:14px}
.band__inner{padding:56px var(--px)}
.band__text{font-size:15px}
.emergency__body h3{font-size:18px}
.emergency__body p{font-size:14px}
.phero__portrait{margin:0 auto;width:100%}
.hours__row{flex-wrap:wrap}
}


/* ═══ Grid-Blowout-Schutz: Grid-/Flex-Kinder dürfen schrumpfen ═══ */
.hero__inner>*, .two-col>*, .about__grid>*, .booking__intro>*,
.akupunktur>*, .contact-grid>*, .doctors__grid>*, .loc>*, .info-row>* { min-width: 0; }

/* ═══ Bild-Optimierung: BG-Container enthalten jetzt <picture> statt CSS-Hintergrund ═══ */
.hero__bg picture,.phero__bg picture,.band__bg picture{position:absolute;inset:0;display:block}
.hero__bg img,.phero__bg img,.band__bg img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:720px){.hero__bg img{object-position:center top}}
