/* =============================================================
   Dr. med. Iryna Lipko — Fachärztin für Neurologie, Oldenburg
   Design system: Schieferdecker (single accent, calm tiles)
   Vanilla CSS. Mobile-first. main.js adds progressive
   enhancement only — every layout works without JavaScript.
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Accent — the single brand hue */
  --green:        #1d75e7;   /* primary accent (blue) */
  --green-deep:   #0b57ba;   /* focus / active */
  --green-soft:   #e7f0fd;   /* tint fill */
  --green-tintln: #d1e2fb;   /* tint hairline */
  --mint:         #6aa8f5;   /* links on dark tiles */

  /* Neutrals — clinically warm */
  --white:        #ffffff;
  --parchment:    #f5f5f7;   /* signature cool off-white */
  --sand:         #f4f1ea;   /* warm off-white for empathetic tiles */
  --near-black:   #232326;
  --near-black-2: #2a2a2c;
  --black:        #131315;

  /* Text */
  --ink-900:      #1c1c1f;
  --ink-700:      #3f3f45;
  --ink-500:      #6c6c74;
  --ink-300:      #a6a6ad;
  --on-dark:      #f3f3f5;
  --on-dark-mut:  #a9a9b2;

  /* Lines */
  --hairline:     #e2e2e5;
  --hairline-warm:#e5e0d6;
  --ring:         rgba(0,0,0,0.08);
  --ring-soft:    rgba(0,0,0,0.04);
  --ring-dark:    rgba(255,255,255,0.12);

  /* Elevation — the one shadow */
  --shadow:       rgba(0,0,0,0.22) 3px 5px 30px;
  --shadow-sm:    rgba(0,0,0,0.06) 0 2px 12px;

  /* Radii */
  --r-sm:  8px;
  --r-md:  11px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-pill: 999px;

  /* Spacing base 8 */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 40px; --s6: 56px; --s7: 80px; --s8: 112px;

  --maxw: 1200px;
  --maxw-narrow: 780px;

  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.2,.7,.3,1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  font-weight: 400;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

/* ---------- 3. A11y ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--green); color: #fff; padding: 10px 18px;
  border-radius: var(--r-pill); z-index: 200; font-weight: 600;
  transition: top .16s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}
.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: clamp(56px, 8.5vw, 104px); }
.section-sm { padding-block: clamp(40px, 6vw, 72px); }

/* Full-bleed alternating tiles */
.tile-white     { background: var(--white); }
.tile-parchment { background: var(--parchment); }
.tile-sand      { background: var(--sand); }
.tile-dark      { background: var(--near-black); color: var(--on-dark); }
.tile-black     { background: var(--black); color: var(--on-dark); }
.tile-dark p, .tile-black p { color: var(--on-dark-mut); }
.tile-dark a, .tile-black a { color: var(--mint); }

/* ---------- 5. Typography ---------- */
h1, h2, h3, h4 { color: var(--ink-900); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
.tile-dark h1, .tile-dark h2, .tile-dark h3, .tile-dark h4,
.tile-black h1, .tile-black h2, .tile-black h3, .tile-black h4 { color: var(--white); }

.h1 { font-size: clamp(2.35rem, 5vw, 3.9rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.03; }
.h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.1; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.h4 { font-size: 1.14rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 18px;
}
.tile-dark .eyebrow, .tile-black .eyebrow { color: var(--mint); }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-500);
}
.tile-dark .lead, .tile-black .lead { color: var(--on-dark-mut); }

p + p { margin-top: 1em; }
.measure { max-width: 62ch; }
.center { text-align: center; }
.center .measure { margin-inline: auto; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 1rem;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: none; cursor: pointer;
  transition: transform .12s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
  white-space: nowrap; text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.95); }

.btn-primary { background: linear-gradient(135deg, hsl(214 81% 51%), hsl(214 81% 41%)); color: #fff; border-radius: 0.75rem; box-shadow: 0px 4px 14px 0px #1A73E866; }
.btn-primary:hover { background: linear-gradient(135deg, hsl(214 81% 46%), hsl(214 81% 36%)); }

.btn-ghost {
  background: transparent; color: var(--ink-900);
  box-shadow: inset 0 0 0 1.5px var(--ring);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(0,0,0,0.18); }

.btn-light { background: #fff; color: var(--ink-900); }
.btn-light:hover { background: var(--parchment); }
.btn-outline-light {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1.5px var(--ring-dark);
}
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35); }

.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.textlink {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 600; color: var(--green-deep);
}
.textlink svg { width: 16px; height: 16px; transition: transform .16s var(--ease); }
.textlink:hover svg { transform: translateX(3px); }
.tile-dark .textlink, .tile-black .textlink { color: var(--mint); }

/* ---------- 7. Global nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--ring);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink-900); }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-deep);
  border-radius: 11px;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { line-height: 1.15; display: flex; flex-direction: column; }
.brand-name { font-weight: 700; letter-spacing: -0.02em; font-size: 1.02rem; color: var(--ink-900); white-space: nowrap; }
.brand-sub { font-size: 0.72rem; color: var(--ink-500); letter-spacing: 0.01em; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-menu { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-links a {
  color: var(--ink-700); font-weight: 400; font-size: 0.97rem;
  padding: 9px 12px; border-radius: var(--r-pill); white-space: nowrap;
  transition: background .14s var(--ease), color .14s var(--ease);
}
.nav-links a:hover { background: var(--parchment); color: var(--ink-900); }
.nav-links a[aria-current="page"] { color: var(--green-deep); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-phone {
  display: none;
  align-items: center; gap: 7px;
  color: var(--ink-700); font-weight: 600; font-size: 0.95rem;
  padding: 9px 12px; border-radius: var(--r-pill); white-space: nowrap;
}
.nav-phone svg { width: 17px; height: 17px; color: var(--green-deep); }
.nav-phone:hover { background: var(--parchment); }

/* CSS-only mobile toggle */
.nav-toggle { display: none; }
.nav-burger {
  display: none;
  width: 44px; height: 44px; border-radius: var(--r-pill);
  place-items: center; cursor: pointer; color: var(--ink-900);
  background: var(--parchment);
}
.nav-burger svg { width: 22px; height: 22px; }
.nav-burger .ic-close { display: none; }

@media (max-width: 1040px) {
  .nav-burger { display: grid; }
  .nav-menu {
    position: fixed; inset: 68px 0 auto 0;
    background: rgba(255,255,255,0.97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ring);
    flex-direction: column; align-items: stretch;
    padding: 14px 22px 24px;
    gap: 2px;
    max-height: 0; overflow: hidden;
    opacity: 0; pointer-events: none;
    transition: max-height .28s var(--ease), opacity .2s var(--ease);
  }
  .nav-menu .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-menu .nav-links a { padding: 13px 12px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav-menu .nav-cta { flex-direction: column; align-items: stretch; margin-top: 12px; }
  .nav-menu .nav-cta .btn { justify-content: center; }
  .nav-menu .nav-phone { justify-content: center; }
  .nav-toggle:checked ~ .nav-menu {
    max-height: 80vh; opacity: 1; pointer-events: auto;
  }
  .nav-toggle:checked ~ .nav-burger .ic-menu { display: none; }
  .nav-toggle:checked ~ .nav-burger .ic-close { display: block; }
}

/* ---------- 8. Hero ---------- */
.hero { padding-block: clamp(48px, 6vw, 88px); }
.hero-grid {
  display: grid; grid-template-columns: 1.25fr 0.75fr;
  gap: 50px; align-items: center;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-soft); color: var(--green-deep);
  font-size: 0.82rem; font-weight: 600;
  padding: 7px 13px; border-radius: var(--r-pill);
}
.badge svg { width: 15px; height: 15px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero-figure {
  position: relative; border-radius: var(--r-lg); overflow: hidden; margin-left: 50px;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* floating trust card on hero image */
.trust-card {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--ring); border-radius: var(--r-md);
  padding: 15px 17px; display: flex; align-items: center; gap: 13px;
}
.trust-card .stars { color: var(--green); display: flex; gap: 2px; }
.trust-card .stars svg { width: 15px; height: 15px; }
.trust-card .tc-text { font-size: 0.9rem; line-height: 1.35; }
.trust-card strong { color: var(--ink-900); }

/* KPI strip */
.kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 44px;
  border-top: 1px solid var(--hairline); padding-top: 30px;
}
.kpi .num { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; color: var(--ink-900); letter-spacing: -0.02em; }
.kpi .lbl { font-size: 0.9rem; color: var(--ink-500); margin-top: 4px; }
.tile-dark .kpi .num { color: #fff; }

/* ---------- 9. Section header ---------- */
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; }
.sec-head .h2 { margin-bottom: 16px; }

/* ---------- 10. Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 26px;
}
.tile-parchment .card, .tile-sand .card { background: #fff; }
.tile-dark .card, .tile-black .card {
  background: var(--near-black-2);
  border-color: var(--ring-dark);
}
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-deep);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.tile-dark .card-icon, .tile-black .card-icon { background: rgba(79,184,138,0.16); color: var(--mint); }
.card h3 { margin-bottom: 9px; font-size: 1.18rem; }
.card p { font-size: 0.98rem; color: var(--ink-500); }
.tile-dark .card p, .tile-black .card p { color: var(--on-dark-mut); }
.card-link { margin-top: 16px; }

/* feature list */
.checklist { display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.checklist .ck {
  flex: none; width: 24px; height: 24px; border-radius: var(--r-pill);
  background: var(--green-soft); color: var(--green-deep);
  display: grid; place-items: center; margin-top: 1px;
}
.checklist .ck svg { width: 14px; height: 14px; }
.tile-dark .checklist .ck, .tile-black .checklist .ck { background: rgba(79,184,138,0.16); color: var(--mint); }

/* split media block */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px); align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4/3; object-fit: cover; }
.split-media.shadowed img { box-shadow: var(--shadow); }

/* stat cards small */
.mini-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.mini-stat {
  border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 18px 20px; background: #fff;
}
.mini-stat .num { font-size: 1.7rem; font-weight: 700; color: var(--ink-900); letter-spacing: -0.02em; }
.mini-stat .lbl { font-size: 0.88rem; color: var(--ink-500); margin-top: 4px; }

/* ---------- 11. Behandlungspfad timeline ---------- */
.timeline { display: grid; gap: 0; margin-top: 12px; }
.tl-step {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 22px; position: relative; padding-bottom: 34px;
}
.tl-step:last-child { padding-bottom: 0; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 46px; height: 46px; flex: none; border-radius: var(--r-pill);
  background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
  z-index: 1;
}
.tl-dot svg { width: 22px; height: 22px; }
.tl-line { flex: 1; width: 2px; background: var(--green-tintln); margin-top: 6px; }
.tl-step:last-child .tl-line { display: none; }
.tl-body { padding-top: 8px; }
.tl-body h3 { font-size: 1.2rem; margin-bottom: 7px; }
.tl-body .tl-meta { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 6px; }
.tl-body p { font-size: 0.98rem; color: var(--ink-500); }

/* ---------- 12. FAQ accordion (details/summary) ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .16s var(--ease);
}
.faq details[open] { border-color: var(--green-tintln); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 22px; font-weight: 600; font-size: 1.08rem; color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none; width: 30px; height: 30px; border-radius: var(--r-pill);
  background: var(--green-soft); color: var(--green-deep);
  display: grid; place-items: center; transition: transform .2s var(--ease), background .16s var(--ease);
}
.faq summary .plus svg { width: 17px; height: 17px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq .faq-body { padding: 0 22px 22px; color: var(--ink-500); font-size: 1rem; }
.faq .faq-body p + p { margin-top: 0.8em; }
.faq summary:focus-visible { outline: 2px solid var(--green-deep); outline-offset: -2px; }

/* ---------- 13. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink-900); }
.field .req { color: var(--green-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm); background: #fff;
  font-size: 1rem; color: var(--ink-900);
  transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63,153,115,0.16);
}
.field input:user-invalid, .field textarea:user-invalid {
  border-color: #c2564e; box-shadow: 0 0 0 3px rgba(194,86,78,0.12);
}
.hint { font-size: 0.84rem; color: var(--ink-500); }
.form-success {
  display: grid; gap: 6px;
  padding: 18px 20px; margin-bottom: 22px;
  border: 1px solid var(--green-tintln);
  background: var(--green-soft);
  border-radius: var(--r-md);
  line-height: 1.5;
}
.form-success strong { color: var(--green-deep); font-weight: 600; font-size: 1rem; }
.form-success span { color: var(--ink-700); font-size: 0.94rem; }
.form-success a { color: var(--green-deep); font-weight: 600; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-500); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--green); }

/* ---------- 14. Contact / map ---------- */
.info-list { display: grid; gap: 20px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; }
.info-item .ii-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-soft); color: var(--green-deep);
  display: grid; place-items: center;
}
.info-item .ii-icon svg { width: 21px; height: 21px; }
.info-item h4 { font-size: 1rem; margin-bottom: 3px; }
.info-item p, .info-item a { font-size: 0.98rem; color: var(--ink-500); }
.info-item a { color: var(--green-deep); font-weight: 600; }

.map-placeholder {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--hairline);
  background:
    linear-gradient(0deg, rgba(63,153,115,0.05), rgba(63,153,115,0.05)),
    repeating-linear-gradient(0deg, #eef0ee 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, #eef0ee 0 1px, transparent 1px 46px),
    #f7f8f7;
  min-height: 340px; display: grid; place-items: center; text-align: center;
}
.map-pin {
  width: 54px; height: 54px; border-radius: var(--r-pill);
  background: var(--green); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); margin: 0 auto 14px;
}
.map-pin svg { width: 26px; height: 26px; }
.map-placeholder .mp-addr { font-weight: 600; color: var(--ink-900); }
.map-placeholder .mp-sub { font-size: 0.9rem; color: var(--ink-500); margin-top: 4px; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--hairline); font-size: 0.98rem; }
.hours-table th { font-weight: 400; color: var(--ink-700); }
.hours-table td { text-align: right; font-weight: 600; color: var(--ink-900); }
.hours-table tr.closed td { color: var(--ink-300); font-weight: 400; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--green-deep); }

/* ---------- 15. CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .h2 { margin-bottom: 14px; }
.cta-band .lead { margin-bottom: 30px; }

/* pull quote */
.quote { max-width: 900px; margin-inline: auto; text-align: center; }
.quote blockquote {
  font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.28; color: var(--ink-900);
}
.tile-dark .quote blockquote { color: #fff; }
.quote .qmeta { margin-top: 24px; font-size: 0.95rem; color: var(--ink-500); }
.tile-dark .quote .qmeta { color: var(--on-dark-mut); }

/* page header (interior pages) */
.page-head { padding-block: clamp(52px, 7vw, 92px) clamp(36px, 5vw, 56px); }
.page-head .h1 { max-width: 16ch; margin-bottom: 20px; }
.page-head .lead { max-width: 60ch; }

/* ---------- 16. Footer ---------- */
.footer { background: var(--black); color: var(--on-dark-mut); padding-block: 64px 30px; }
.footer a { color: var(--on-dark-mut); }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px; padding-bottom: 44px;
  border-bottom: 1px solid var(--ring-dark);
}
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: var(--on-dark-mut); }
.footer .brand-mark { background: rgba(79,184,138,0.18); color: var(--mint); }
.footer-col h4 { color: #fff; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col p { font-size: 0.95rem; line-height: 1.55; }
.footer-blurb { font-size: 0.95rem; line-height: 1.55; margin-top: 16px; max-width: 34ch; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; font-size: 0.85rem; color: var(--on-dark-mut);
}
.footer-bottom .fb-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 17. Utilities ---------- */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; } .mt-5 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px !important; }
  .hero-figure { order: 2; margin-left: 0 !important; height: 400px;}
  .hero-figure img { aspect-ratio: 3/2; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  /* inline-grid sections collapse */
  .stack-mobile { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .section { padding-block: clamp(44px, 11vw, 64px); }
  .page-head { padding-block: 40px 28px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mini-stats { grid-template-columns: 1fr; }
  .btn-row { width: 100%; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .hero-badges .badge { font-size: 0.68rem; }
  /* type tightening */
  .h1 { font-size: clamp(2.1rem, 10vw, 2.7rem); }
  .hero .lead, .page-head .lead { font-size: 1.05rem !important; }
  .lead { font-size: 1.08rem; }
  .sec-head { margin-bottom: 32px; }
  /* cards & spacing */
  .card { padding: 22px; }
  .quote blockquote { font-size: 1.4rem; }
  /* erstuntersuchung card stacks icon over text */
  .erstunter-card { grid-template-columns: 1fr !important; gap: 14px !important; }
  /* timeline tighter rail */
  .tl-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .tl-dot { width: 40px; height: 40px; font-size: 0.95rem; }
  .tl-dot svg { width: 19px; height: 19px; }
  /* FAQ + form comfort */
  .faq summary { padding: 17px 18px; font-size: 1rem; }
  .faq .faq-body { padding: 0 18px 20px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  /* footer bottom stacks */
  .footer-bottom { flex-direction: column; gap: 14px; }
  /* map keeps a sensible height */
  .map-placeholder { min-height: 280px; }
}
