/* design variant: precise (derived from the client name — see design_variant_for) */
:root {
  --primary: #00492E;
  --secondary: color-mix(in srgb, var(--primary) 68%, #07151c);
  --accent: #B08D57;
  --ink: #17201f;
  --muted: #5f6b69;
  --brand-deep: color-mix(in srgb, var(--primary) 80%, #05131b);
  --brand-soft: color-mix(in srgb, var(--primary) 8%, #ffffff);
  --brand-soft-2: color-mix(in srgb, var(--primary) 4%, #ffffff);
  --surface: color-mix(in srgb, var(--primary) 5%, #ffffff);
  --surface-strong: #ffffff;
  --line: color-mix(in srgb, var(--primary) 15%, #ffffff);
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 4px 18px color-mix(in srgb, var(--primary) 15%, transparent);
  --shadow-md: 0 16px 40px color-mix(in srgb, var(--primary) 20%, transparent);
  --shadow-lg: 0 28px 60px color-mix(in srgb, var(--primary) 26%, transparent);
  --shell: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--primary); }
.brand img { height: 42px; width: auto; max-width: 200px; max-height: none; object-fit: contain; flex: 0 0 auto; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.brand-text span { display: block; font-size: 0.7rem; color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 0.94rem; }
.nav-links a:hover { color: var(--secondary); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--secondary), var(--primary)); color: #fff; box-shadow: 0 12px 26px color-mix(in srgb, var(--primary) 40%, transparent); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px color-mix(in srgb, var(--primary) 48%, transparent); }
.btn-secondary { background: #fff; color: var(--primary); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--secondary); color: var(--secondary); transform: translateY(-2px); }
.btn-small { min-height: 44px; padding: 0 20px; background: linear-gradient(135deg, var(--secondary), var(--primary)); color: #fff; box-shadow: var(--shadow-sm); }
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--brand-soft) 0%, #ffffff 56%); }
.hero::before { content: ""; position: absolute; top: -22%; right: -8%; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 12%, transparent), transparent 66%); z-index: 0; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 52px; align-items: center; padding: clamp(44px, 6vw, 76px) 0; }
.hero-copy { order: 1; }
.hero-figure { order: 2; }
.hero-copy { max-width: 560px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 15px;
  border-radius: 100px;
  color: var(--primary);
  background: var(--brand-soft);
  border: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.final-cta .eyebrow { color: #fff; background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); }
h1, h2, h3 { margin: 0; line-height: 1.13; letter-spacing: -0.02em; color: var(--primary); font-family: "Plus Jakarta Sans", Inter, sans-serif; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.15rem); font-weight: 800; max-width: 15ch; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.16rem; font-weight: 700; }
.hero-sub { max-width: 32rem; margin: 18px 0 0; color: var(--muted); font-size: 1.12rem; }
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
  max-width: 32rem;
}
.hero-bullets li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink); }
.hero-bullets li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--secondary); font-size: 0.72rem; font-weight: 800; flex: none; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.trust-note { margin: 20px 0 0; color: var(--muted); font-size: 0.92rem; }
.hero-figure { position: relative; }
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: var(--shadow-lg); background: linear-gradient(150deg, var(--brand-soft), color-mix(in srgb, var(--primary) 20%, #ffffff)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-stat { position: absolute; left: -20px; bottom: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); padding: 14px 20px; display: grid; gap: 3px; }
.hero-stat-value { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; color: var(--primary); font-size: 1.45rem; line-height: 1; }
.hero-stat-label { color: var(--muted); font-size: 0.78rem; max-width: 160px; }
.brand { font-family: "Plus Jakarta Sans", Inter, sans-serif; }
section.band { padding: clamp(44px, 5.5vw, 70px) 0; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 1.04rem; }
.trust-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip-inner { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; padding: 20px 0; }
.trust-pill { display: inline-flex; align-items: center; gap: 9px; color: var(--primary); font-weight: 600; font-size: 0.95rem; }
.trust-pill::before { content: "✦"; color: var(--accent); }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  box-shadow: none; border-width: 2px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { margin-bottom: 9px; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, var(--secondary) 16%, #ffffff));
  color: var(--secondary);
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; }
.card p, .text-muted { color: var(--muted); }
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: center; }
.counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.counter { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface-strong); box-shadow: var(--shadow-sm); }
.counter-value { display: block; color: var(--secondary); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; }
.counter-prefix { color: var(--primary); }
.counter-label { display: block; margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
.method { background: linear-gradient(180deg, var(--brand-soft-2), #fff); }
.method-image { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--primary); }
.method-image img { width: 100%; height: 100%; object-fit: cover; }
.point-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.point-list li { display: flex; gap: 12px; color: var(--ink); font-weight: 600; align-items: flex-start; }
.point-list li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--brand-soft); color: var(--secondary); font-size: 0.74rem; font-weight: 800; flex: none; }
.treatments-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 40px; align-items: start; }
.treatments-grid .section-head { position: sticky; top: 96px; margin-bottom: 0; }
.treatments-grid .btn { margin-top: 22px; }
.accordion { display: grid; gap: 9px; }
details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 18px; transition: box-shadow .25s ease, border-color .25s ease; }
details[open] { box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--secondary) 30%, #ffffff); }
summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 0.98rem; color: var(--primary); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--secondary); font-weight: 700; transition: transform .3s ease, background .3s ease, color .3s ease; flex: none; }
details[open] summary::after { transform: rotate(45deg); background: var(--secondary); color: #fff; }
details p { margin: 0 0 15px; color: var(--muted); font-size: 0.95rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps .card { padding: 30px 26px; }
.step-number { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--secondary), var(--primary)); color: #fff; font-weight: 800; margin-bottom: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 188px; gap: 14px; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.team-sec { background: linear-gradient(180deg, var(--brand-soft-2), #fff); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.team-grid.single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.team-grid .card { display: flex; gap: 20px; align-items: flex-start; }
.doc-photo { width: 96px; height: 118px; border-radius: 14px; object-fit: cover; flex: none; box-shadow: var(--shadow-sm); }
.team-grid.single .doc-photo { width: 124px; height: 152px; }
.doc-av { width: 64px; height: 64px; border-radius: 16px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, var(--secondary) 16%, #ffffff)); color: var(--secondary); font-weight: 800; font-size: 1.2rem; }
.doc-role { color: var(--secondary); font-weight: 700; font-size: 0.86rem; margin: 4px 0 10px; letter-spacing: .02em; }
.info-box { display: flex; gap: 16px; align-items: center; background: linear-gradient(135deg, var(--brand-soft), #fff); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 22px 26px; border-radius: 14px; max-width: 880px; margin: 0 auto; }
.info-box .info-ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--accent); flex: none; box-shadow: var(--shadow-sm); font-weight: 800; }
.info-box p { margin: 0; color: var(--ink); font-size: 0.96rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reviews-grid .card p { color: var(--ink); font-style: italic; }
.stars { color: var(--accent); font-weight: 900; letter-spacing: 2px; margin-bottom: 10px; }
.review-author { margin-top: 16px; color: var(--primary); font-weight: 700; font-style: normal; }
.final-cta { color: #fff; }
.final-cta .shell { background: linear-gradient(135deg, var(--primary), var(--brand-deep)); border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.final-cta h2 { color: #fff; max-width: 22ch; }
.final-cta p { color: rgba(255,255,255,0.84); }
.final-cta .btn-primary { background: #fff; color: var(--primary); }
.faq-contact { background: linear-gradient(180deg, var(--brand-soft-2), #fff); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; color: var(--muted); }
.contact-list li { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-card .btn { width: 100%; margin-top: 20px; }
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,0.72); padding: 30px 0; }
.site-footer .brand, .site-footer .brand-text { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 16px; }
.footer-links a:hover { color: #fff; }
.booking-main, .legal-shell { padding: 70px 0; }
.booking-shell { max-width: 860px; }
.booking-embed { margin-top: 28px; padding: 34px; border: 1px dashed var(--secondary); border-radius: var(--radius); background: var(--surface); }
.gallery-grid figure { cursor: zoom-in; position: relative; }
.gallery-grid figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--brand-deep) 45%, transparent)); opacity: 0; transition: opacity .3s ease; }
.gallery-grid figure:hover::after { opacity: 1; }
.lb-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--brand-deep) 88%, #000); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; cursor: zoom-out; }
.lb-overlay.open { display: flex; }
.lb-overlay img { max-width: min(92vw, 1080px); max-height: 88vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.mobile-cta { display: none; }
.js .card, .js .counter, .js .step, .js .gallery-grid figure, .js .method-image, .js .section-head, .js .info-box, .js .accordion {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.js .is-in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js .card, .js .counter, .js .step, .js .gallery-grid figure, .js .method-image, .js .section-head, .js .info-box, .js .accordion { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-figure { max-width: 460px; }
  .hero-photo { aspect-ratio: 16 / 11; }
  .hero-stat { left: 14px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .treatments-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps, .reviews-grid, .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .header-inner { min-height: 66px; }
  .brand-text span { display: none; }
  .btn-small { display: none; }
  .hero-sub { font-size: 1.02rem; }
  .cards-grid, .trust-strip-inner, .counters { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 160px; }
  .gallery-grid figure:first-child { grid-column: span 1; grid-row: span 1; }
  .team-grid .card { flex-direction: column; }
  .footer-inner, .footer-links { flex-direction: column; text-align: center; }
}
@media (max-width: 720px) {
  .treatments-grid .section-head { position: static; }
  .mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; }
  body { padding-bottom: 78px; }
}

/* ============================================================
   Client-review corrections (Hausärzte MKK trial, 2026-07-16).
   These came out of real feedback and apply to every client.
   ============================================================ */

/* Sections were running into each other; the eyebrow sat on top of its H2. */
section.band { padding: clamp(64px, 7vw, 104px) 0; }
.section-head { margin-bottom: 46px; }
.section-head .eyebrow, .hero .eyebrow { margin-bottom: 22px; }
.section-head h2 + p { margin-top: 16px; }
.faq-contact .section-head, .faq-contact h2 { margin-bottom: 30px; }
.faq-contact .accordion { margin-top: 26px; }

/* Phone is a first-class CTA, not a footnote: many patients would rather call
   than fill in a form. Every page gets a visible "Jetzt anrufen". */
.btn-call {
  background: #fff; color: var(--primary);
  border: 2px solid color-mix(in srgb, var(--primary) 30%, #fff);
  font-weight: 700;
}
.btn-call:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, #fff);
  transform: translateY(-2px);
}
.btn-call .call-ic { font-size: 1.05em; line-height: 1; margin-right: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-call { padding: 9px 14px; }
.final-actions, .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-actions { margin-top: 22px; }

/* Trust numbers as brand-gradient stat cards (number + title + one line of
   context) instead of bare counters — reads as designed, not as a widget. */
.stat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card {
  background: linear-gradient(160deg, var(--secondary), var(--primary));
  color: #fff; border-radius: var(--radius); padding: 26px 24px 24px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease;
}
.stat-card.is-in { opacity: 1; transform: none; }
.stat-card:nth-child(2) { transition-delay: .08s; }
.stat-card:nth-child(3) { transition-delay: .16s; }
.stat-card:nth-child(4) { transition-delay: .24s; }
.stat-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.02em;
}
.stat-title { font-weight: 700; font-size: 1.02rem; }
.stat-desc { font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.82); }

/* A real seal (Lehrpraxis, certification…) beats a decorative growth chart —
   the chart carried no information on a patient-facing page. */
.seal-row {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 20px 14px 14px; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease;
}
.seal-row.is-in { opacity: 1; transform: none; }
.seal { width: 62px; height: auto; flex: none; }
.seal-copy { display: flex; flex-direction: column; line-height: 1.35; }
.seal-copy strong { color: var(--primary); font-size: .98rem; }
.seal-copy span { color: var(--muted); font-size: .86rem; }

/* A short intro next to a long accordion left a hole in the left column. */
.leistungen-figure {
  margin: 26px 0 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: var(--surface);
  opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease;
}
.leistungen-figure.is-in { opacity: 1; transform: none; }
.leistungen-figure img { display: block; width: 100%; height: 260px; object-fit: cover; }
.leistungen-cta { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-hint { color: var(--muted); font-size: .88rem; }

/* opening hours in the contact card */
.hours { margin-top: 20px; }
.hours strong { display: block; color: var(--primary); margin-bottom: 8px; }
.hours table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: 5px 0; color: var(--muted); vertical-align: top; }
.hours td:first-child { width: 38%; color: var(--ink); font-weight: 600; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--primary); text-decoration: underline; }

/* booking page: form + call card side by side */
.booking-split { display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; align-items: start; margin-top: 30px; }
.booking-embed { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow-sm); }
.call-card { background: linear-gradient(160deg, var(--secondary), var(--primary)); color: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-md); position: sticky; top: 96px; }
.call-eyebrow { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.btn-call-lg { width: 100%; justify-content: center; background: #fff; color: var(--primary); box-shadow: none; font-size: 1.05rem; }
.btn-call-lg:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.call-number { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.35rem; font-weight: 800; margin: 14px 0 4px; letter-spacing: -0.01em; }
.call-card .hours { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.22); padding-top: 16px; }
.call-card .hours strong, .call-card .hours td:first-child { color: #fff; }
.call-card .hours td { color: rgba(255,255,255,.82); }
.call-note { margin-top: 16px; font-size: .88rem; color: rgba(255,255,255,.85); line-height: 1.55; }
.call-note a { color: #fff; }
.call-emergency { margin-top: 14px; color: rgba(255,255,255,.7); line-height: 1.5; }
.booking-shell { padding-bottom: 60px; }

/* legal pages carry the client's real Impressum / Datenschutz text */
.legal-main { padding: clamp(40px, 5vw, 72px) 0 80px; }
.legal-shell { max-width: 820px; }
.legal-shell h1 { margin: 0 0 28px; }
.legal-shell h2 { margin: 38px 0 12px; font-size: 1.35rem; color: var(--primary); }
.legal-shell h3 { margin: 26px 0 10px; font-size: 1.08rem; }
.legal-shell p { margin: 0 0 14px; color: var(--muted); line-height: 1.75; }
.legal-shell ul, .legal-shell ol { margin: 0 0 16px; padding-left: 22px; color: var(--muted); line-height: 1.75; }
.legal-shell a { color: var(--primary); word-break: break-word; }
.legal-shell table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: .94rem; }
.legal-shell td, .legal-shell th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

.mobile-cta { gap: 8px; }
.mobile-cta .btn { flex: 1 1 0; justify-content: center; }

@media (max-width: 900px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .header-actions .btn-call { display: none; }
  .leistungen-figure img { height: 200px; }
  .booking-split { grid-template-columns: 1fr; }
  /* the grid item is the <aside>, not the card inside it */
  .booking-aside { order: -1; }
  .call-card { position: static; }
  /* the name plate overlays the portrait on desktop; on a phone the photo
     shortens and it lands on the doctor's face — move it below instead */
  .hero-stat {
    position: static; left: auto; bottom: auto;
    margin-top: 14px; display: flex; align-items: baseline; gap: 8px;
    box-shadow: var(--shadow-sm); padding: 12px 16px;
  }
  .hero-stat-label { max-width: none; }
  .hero-photo { aspect-ratio: 4 / 3.6; }
  .hero-photo img { object-position: center 22%; }
  /* let the longer label have the room instead of splitting 50/50 */
  .mobile-cta .btn { width: auto; white-space: nowrap; padding: 14px 16px; font-size: .95rem; }
  .mobile-cta .btn-call { flex: 0 0 auto; }
  .mobile-cta .btn-primary { flex: 1 1 auto; }
}
@media (max-width: 560px) {
  .stat-cards { grid-template-columns: 1fr; }
  .seal-row { width: 100%; }
}
/* --- background rhythm: an all-white stack reads empty; alternate bands get a
   soft brand wash so the page has structure. Sections with a canvas get a flat
   wash so the animation stays readable. --- */

section.band[data-lp-bg]{
  background:linear-gradient(180deg,#ffffff 0%,var(--brand-soft) 100%);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
/* counters: keep number and unit from colliding once the count-up finishes */
.counter-value{white-space:nowrap}

/* deliberate background rhythm (explicit classes — :nth-child(... of S) is not
   valid on :nth-of-type, and blind alternation fights the content anyway) */
section.band.band-tinted{
  background:linear-gradient(180deg,var(--brand-soft-2) 0%,#ffffff 100%);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}

/* ---------- ROUND2 ---------- */
/* private positioning has to be the first thing you read, not a footnote */
.hero-claim{display:inline-flex;align-items:center;gap:10px;margin:0 0 18px;padding:9px 16px;
  border-radius:999px;background:color-mix(in srgb,var(--primary) 10%,#fff);
  border:1px solid color-mix(in srgb,var(--primary) 26%,#fff);
  color:var(--primary);font-weight:800;font-size:.95rem;letter-spacing:.01em}
.hero-claim::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none}
.hero-copy .trust-note{display:none}

/* the CTA band was a flat rectangle — give it depth + the pulse motif */
.final-cta .shell{position:relative;overflow:hidden;
  background:radial-gradient(120% 140% at 12% 0%,color-mix(in srgb,var(--primary) 88%,#fff) 0%,var(--primary) 42%,var(--brand-deep) 100%)}
.final-cta .shell::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.16;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='120' viewBox='0 0 420 120'><path d='M0 60 H120 l10 -28 l12 56 l10 -44 l9 30 l8 -14 H420' fill='none' stroke='white' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'/></svg>");
  background-repeat:repeat-x;background-position:center;background-size:420px 120px}

/* section rhythm for the lower half so the page doesn't fade out */
section.band.band-soft{background:linear-gradient(180deg,#ffffff 0%,color-mix(in srgb,var(--primary) 5%,#ffffff) 100%);
  border-top:1px solid var(--line)}
section.band.band-deep{background:linear-gradient(175deg,color-mix(in srgb,var(--primary) 7%,#ffffff),#ffffff 70%);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* trust: a real credential instead of an abstract growth curve */
.trust-proof{display:flex;align-items:center;gap:18px;margin-top:22px;padding:16px 20px;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);max-width:520px;
  box-shadow:var(--shadow-sm)}
.trust-proof img{width:96px;height:auto;flex:none}
.trust-proof span{color:var(--muted);font-size:.95rem;line-height:1.5}

/* desktop: keep the ECG trace out of the headline — it belongs under the portrait */
@media (min-width:861px){
  .hero .lp-ecg{top:auto;bottom:0;height:34%}
}
@media (max-width:860px){
  .hero .lp-ecg{top:auto;bottom:0;height:46%}
}

/* /termin/ – choose booking or phone */
.termin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0 18px}
.termin-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:26px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:10px}
.termin-card h2{margin:0;font-size:1.15rem}
.termin-card p{margin:0;color:var(--muted);flex:1}
.termin-card .btn{margin-top:8px}
.termin-note{color:var(--muted);font-size:.92rem}
@media (max-width:700px){.termin-grid{grid-template-columns:1fr}}
