/* Praxis Dr. med. Thomas Sander – Website
   Ein Stylesheet, mobile first. Farben aus der CI; Fließtext dunkler als "Text Gray" (Kontrast ≥ 4,5:1). */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #245bff;
  --blue-dark: #1a46d9;
  --navy: #18356f;
  --text: #566381;
  --soft: #edf3ff;
  --light: #f7f9fc;
  --line: #dde5f2;
  --field: #7f8eab;
  --error: #b3261e;
  --white: #fff;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;
  --header-h: 64px;
  --bar-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 900px) {
  :root { --header-h: 76px; --bar-h: 0px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid rgba(36, 91, 255, .45); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--navy); font-weight: 650; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--schmal { width: min(100% - 2 * var(--gutter), 760px); }

.visually-hidden {
  position: absolute !important; 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: 12px; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 20px; height: 20px; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }
.icon--flip { transform: scaleX(-1); }

.eyebrow {
  margin: 0 0 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}

.kleintitel {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
}
.kleintitel .icon { color: var(--blue); }
.kleintitel--abstand { margin-top: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius-s);
  font: inherit; font-size: .975rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn .icon { width: 19px; height: 19px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(24, 53, 111, .12); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(36, 91, 255, .22); }
.btn--secondary { background: #fff; color: var(--blue); border-color: rgba(36, 91, 255, .38); }
.btn--secondary:hover { background: var(--soft); color: var(--blue-dark); border-color: var(--blue); }
.btn--block { width: 100%; }
.btn--gross { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn:active { transform: translateY(0); }

.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* ---------- Hinweis-Leiste ---------- */
.hinweis { background: var(--navy); color: #fff; font-size: .9375rem; }
.hinweis__inner { display: flex; align-items: flex-start; gap: 10px; padding-block: 11px; }
.hinweis__icon { margin-top: 2px; color: #b9cbff; }
.hinweis p { margin: 0; }
.hinweis strong { color: #fff; }
.hinweis a { color: #fff; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; margin-right: auto; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 26px; height: auto; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-size: .98rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; }
.brand__lang { display: none; }
.brand__kurz { display: inline; }
.brand__sub { display: none; font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); line-height: 1.4; margin-top: 3px; white-space: nowrap; }

.nav { display: none; }
.nav a { color: var(--navy); font-size: .9375rem; font-weight: 550; text-decoration: none; padding: 6px 2px; border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease; }
.nav a:hover { color: var(--blue); border-bottom-color: currentColor; }

.header-back { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; text-decoration: none; }

@media (min-width: 440px) {
  .brand__lang { display: inline; }
  .brand__kurz { display: none; }
}
/* Ohne Umschalter ist auch auf kleinen Bildschirmen Platz für den vollen Namen */
.site-header--ohne-umschalter .brand__lang { display: inline; }
.site-header--ohne-umschalter .brand__kurz { display: none; }
.site-header--ohne-umschalter .brand__sub { display: block; }
@media (min-width: 560px) {
  .brand__sub { display: block; }
  .brand__mark { width: 30px; }
}
@media (min-width: 900px) {
  .nav { display: flex; gap: 30px; margin-right: 12px; }
  .brand__mark { width: 32px; }
  .brand__name { font-size: 1.05rem; }
}

/* ---------- Standort-Umschalter ---------- */
.switch {
  position: relative;
  display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 3px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 999px;
  isolation: isolate;
}
.switch::before {
  content: "";
  position: absolute; z-index: -1;
  top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(24, 53, 111, .1), 0 3px 10px rgba(24, 53, 111, .07);
  transition: transform .28s var(--ease);
}
.switch[data-active="eschen"]::before { transform: translateX(100%); }
.switch a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6px 14px;
  color: var(--text);
  font-size: .875rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border-radius: 999px;
  transition: color .2s ease;
}
.switch a:hover { color: var(--navy); }
.switch a[aria-current="true"] { color: var(--navy); }
.switch--compact a { min-width: 76px; min-height: 36px; }

.switch--large { width: 100%; border-radius: var(--radius-m); padding: 4px; }
.switch--large::before { top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 11px; }
.switch--large a { min-height: 64px; border-radius: 11px; gap: 2px; padding: 8px 12px; }
.switch__city { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.01em; }
.switch__country { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.switch--large a[aria-current="true"] .switch__city { color: var(--navy); }
.switch--large a[aria-current="true"] .switch__country { color: var(--blue); }

@media (min-width: 720px) {
  .switch--large { width: 420px; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--light); }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2, .aktuell h2, .arzt__intro h2 {
  font-size: clamp(1.75rem, 1.15rem + 2.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.section-head--row { display: flex; flex-direction: column; gap: 24px; max-width: none; }
@media (min-width: 900px) {
  .section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-head--row > div { max-width: 560px; }
}

/* ---------- Einstieg ---------- */
.hero {
  background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
  padding-block: clamp(40px, 7vw, 96px) clamp(36px, 5vw, 64px);
}
.hero + .praxis-section { padding-top: clamp(40px, 5vw, 72px); }
.praxis-section + #leistungen { padding-top: 0; }   /* zwei weiße Abschnitte direkt hintereinander: keine doppelte Lücke */
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(2.125rem, 1.1rem + 4.4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  max-width: 12ch;
  hyphens: manual;
}
.hero__lead {
  margin-top: 22px;
  max-width: 38ch;
  font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem);
  line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.hero__bild { position: relative; }
.hero__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-l); }
@media (min-width: 900px) {
  .hero--bild .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .hero:not(.hero--bild) .hero__text { max-width: 820px; }
}

/* Hinweis auf die aktuelle Information: fällt beim Laden kurz auf, steht danach ruhig. */
.teaser {
  display: inline-flex; align-items: center; gap: 12px;
  max-width: 100%;
  margin-bottom: 30px;
  padding: 7px 16px 7px 7px;
  background: #fff;
  border: 1px solid rgba(36, 91, 255, .3);
  border-radius: 999px;
  color: var(--navy);
  font-size: .9375rem; font-weight: 650; line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(24, 53, 111, .09);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease);
  animation: teaser-ein .7s var(--ease) .15s both;
}
.teaser:hover { color: var(--navy); border-color: var(--blue); box-shadow: 0 10px 28px rgba(36, 91, 255, .16); transform: translateY(-1px); }
.teaser__label {
  display: inline-flex; align-items: center; gap: 8px;
  flex-shrink: 0;
  padding: 6px 12px 6px 10px;
  background: var(--blue);
  border-radius: 999px;
  color: #fff;
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.teaser__puls { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #fff; flex-shrink: 0; }
.teaser__puls::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff;
  animation: teaser-puls 1.9s ease-out 1s 4;   /* viermal, dann Ruhe */
  opacity: 0;
}
.teaser__text { min-width: 0; }
.teaser__mehr { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; color: var(--blue); }
.teaser__mehr-text { display: none; }
.teaser__icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.teaser:hover .teaser__icon { transform: translateY(2px); }
@media (min-width: 600px) {
  .teaser__mehr { padding-left: 14px; border-left: 1px solid var(--line); }
  .teaser__mehr-text { display: inline; font-weight: 650; }
}
@keyframes teaser-ein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes teaser-puls { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(3.4); opacity: 0; } }

/* Ziel des Hinweises: Kasten leuchtet beim Ankommen einmal kurz auf */
#aktuell:target .kasten { animation: hervorheben 1.8s ease-out .35s 1; }
@keyframes hervorheben {
  0% { box-shadow: 0 0 0 0 rgba(36, 91, 255, 0); }
  25% { box-shadow: 0 0 0 6px rgba(36, 91, 255, .22); }
  100% { box-shadow: 0 0 0 0 rgba(36, 91, 255, 0); }
}

/* ---------- Praxis ---------- */
.praxis {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 1px 2px rgba(24, 53, 111, .04);
}
.praxis.is-neu { animation: einblenden .32s var(--ease); }
@keyframes einblenden { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.praxis__grid { display: grid; gap: 36px; }
.praxis__col { min-width: 0; }
.praxis__name { font-size: 1.5rem; letter-spacing: -.02em; }
.praxis__adresse { margin: 10px 0 20px; font-style: normal; color: var(--navy); line-height: 1.55; }

.kontaktliste { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.kontaktlink { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 550; text-decoration: none; }
.kontaktlink .icon { color: var(--blue); }
.kontaktlink:hover { color: var(--blue); }
.kontaktlink--gross { font-size: 1.25rem; font-weight: 650; letter-spacing: -.01em; }
.kontaktliste__fax { display: flex; align-items: center; gap: 10px; font-size: .9375rem; }
.kontaktliste__fax .icon { color: var(--text); width: 18px; height: 18px; margin-left: 1px; }

.praxis__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.praxis__buttons .btn { flex: 1 1 auto; padding-inline: 18px; }

.zeiten {
  width: calc(100% + 20px);
  margin: 0 -10px;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.zeiten th, .zeiten td { padding: 9px 10px; vertical-align: top; border-top: 1px solid var(--line); }
.zeiten tr:first-child th, .zeiten tr:first-child td { border-top-color: transparent; }
.zeiten th { width: 1%; text-align: left; font-weight: 550; color: var(--navy); white-space: nowrap; }
.zeiten td { text-align: right; color: var(--navy); }
.zeiten tr.is-heute th, .zeiten tr.is-heute td { background: var(--soft); border-top-color: transparent; font-weight: 700; }
.zeiten tr.is-heute + tr th, .zeiten tr.is-heute + tr td { border-top-color: transparent; }
.zeiten tr.is-heute th { border-radius: 9px 0 0 9px; }
.zeiten tr.is-heute td { border-radius: 0 9px 9px 0; }
.heute {
  display: inline-block; margin-left: 6px; padding: 1px 7px;
  background: #fff; border-radius: 999px;
  color: var(--blue); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  vertical-align: 1px;
}
.zeiten__notiz { display: block; color: var(--text); font-weight: 500; font-size: .875rem; line-height: 1.4; padding-top: 2px; }
.zeiten__zu { color: var(--text); font-weight: 500; }
.zeiten__zusatz { margin-top: 14px; font-size: .9375rem; }

.praxis__termintext { margin-bottom: 18px; color: var(--navy); }
.hakenliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hakenliste li { display: flex; gap: 10px; align-items: flex-start; color: var(--navy); line-height: 1.5; }
.hakenliste .icon { color: var(--blue); margin-top: 2px; }

.anfahrt { margin-top: 26px; border-top: 1px solid var(--line); }
.anfahrt summary {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 0 4px;
  list-style: none; cursor: pointer;
  color: var(--navy); font-weight: 650;
}
.anfahrt summary::-webkit-details-marker { display: none; }
.anfahrt summary .icon:first-child { color: var(--blue); }
.anfahrt__chevron { margin-left: auto; transition: transform .2s ease; color: var(--text); }
.anfahrt[open] .anfahrt__chevron { transform: rotate(180deg); }
.anfahrt__inhalt { padding-top: 10px; font-size: .9375rem; }
.anfahrt__bild { width: 100%; border-radius: var(--radius-m); margin-bottom: 14px; }

@media (min-width: 720px) {
  .praxis__grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .praxis__termin { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  .praxis__grid { grid-template-columns: 1.05fr 1.12fr 1fr; gap: 0; }
  .praxis__termin { grid-column: auto; }
  .praxis__col { padding-inline: 36px; }
  .praxis__col:first-child { padding-left: 0; }
  .praxis__col:last-child { padding-right: 0; }
  .praxis__col + .praxis__col { border-left: 1px solid var(--line); }
}

/* ---------- Aktuelle Information ---------- */
.aktuell__grid { display: grid; gap: 40px; }
.aktuell h2 { margin-bottom: 26px; }
.brief { font-size: 1.0625rem; line-height: 1.75; max-width: 62ch; }
.brief p:first-child { color: var(--navy); font-weight: 600; }
.gruss { margin-top: 26px; color: var(--navy); font-weight: 600; line-height: 1.5; }
.kasten {
  align-self: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3.5vw, 36px);
}
.kasten h3 { font-size: 1.25rem; margin-bottom: 22px; }
.kasten ul { list-style: none; margin: 0 0 22px; padding: 0; counter-reset: schritt; }
.kasten li { position: relative; padding-left: 46px; margin-bottom: 18px; counter-increment: schritt; color: var(--navy); line-height: 1.55; }
.kasten li::before {
  content: counter(schritt);
  position: absolute; left: 0; top: -3px;
  width: 31px; height: 31px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue);
  font-size: .875rem; font-weight: 700;
}
.kasten p { padding-top: 18px; border-top: 1px solid var(--line); font-size: .98rem; }
.kasten ul + p { margin-top: 4px; }
@media (min-width: 960px) {
  .aktuell__grid { grid-template-columns: 1.2fr .9fr; gap: 72px; }
  /* Kasten beginnt auf Höhe der Dachzeile und läuft beim Lesen mit, bis er unten mit dem Gruß abschließt */
  .kasten { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Leistungen ---------- */
.leistungen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 40px; }
.leistung { position: relative; padding: 26px 0 32px; border-top: 1px solid var(--line); }
.leistung__symbol {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 16px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue);
}
.leistung__symbol .icon { width: 32px; height: 32px; stroke-width: 1.3; }
.leistung h3 { font-size: 1.1875rem; line-height: 1.35; letter-spacing: -.015em; }
/* Silbentrennung nur auf schmalen Bildschirmen, wo lange Wörter sonst überstehen */
@media (max-width: 599px) {
  .leistung h3, .werdegang__text, .kasten li, .hakenliste li { -webkit-hyphens: auto; hyphens: auto; }
}
.leistung p { margin: 8px 0 0; font-size: .98rem; }
.leistung__ort {
  display: inline-block; padding: 2px 10px;
  background: var(--soft); border-radius: 999px;
  color: var(--blue) !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.leistung .textlink { margin-top: 12px; }
@media (min-width: 640px) { .leistungen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .leistungen { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Dr. Sander ---------- */
.arzt__grid { display: grid; gap: 44px; }
.arzt__fach { margin: 10px 0 24px; color: var(--blue); font-weight: 650; font-size: 1rem; }
.arzt__intro .prose { max-width: 52ch; }
.werdegang { list-style: none; margin: 0; padding: 0; }
.werdegang li { display: grid; grid-template-columns: 6.25rem 1fr; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); line-height: 1.5; }
.werdegang__jahr { color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; font-size: .9375rem; padding-top: 1px; }
.werdegang__text { color: var(--navy); min-width: 0; }
.arzt__grid > *, .aktuell__grid > *, .hero__grid > *, .termin__grid > * { min-width: 0; }
@media (max-width: 359px) {
  .werdegang li { grid-template-columns: 1fr; gap: 2px; }
}
@media (min-width: 960px) {
  /* Einleitung steht vertikal mittig zum Werdegang */
  .arzt__grid { grid-template-columns: 1fr 1.05fr; gap: 88px; align-items: center; }
  .werdegang li { grid-template-columns: 7.25rem 1fr; }
}

/* ---------- Fließtext ---------- */
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose h2 { font-size: 1.375rem; margin-top: 2em; }
.prose h3 { font-size: 1.125rem; margin-top: 1.6em; }
.prose a { word-break: break-word; }
.prose--seite { color: var(--navy); }
.prose--seite p, .prose--seite li { color: var(--text); }
.prose--seite h2 + p { margin-top: .6em; }

.section--seite { padding-block: clamp(48px, 8vw, 96px); min-height: 50vh; }
.seite__titel { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -.03em; margin-bottom: 28px; }

/* ---------- Fußzeile ---------- */
.site-footer {
  background: var(--light);
  border-top: 1px solid var(--line);
  padding: 56px 0 calc(28px + var(--bar-h));
  font-size: .9375rem;
}
.footer__grid { display: grid; gap: 32px; }
.footer__titel { margin-bottom: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.site-footer p { margin: 0 0 8px; color: var(--navy); line-height: 1.6; }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.footer__links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__links .icon { display: inline-block; vertical-align: -2px; margin-left: 5px; }
.brand--footer .brand__sub { display: block; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
}
.footer__bottom p { margin: 0; color: var(--text); font-size: .875rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .footer__grid--einzeln { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* ---------- Aktionsleiste (Smartphone) ---------- */
.aktionsleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px;
  padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(24, 53, 111, .06);
}
.aktionsleiste a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 54px; border-radius: 12px;
  color: var(--navy); font-size: .8125rem; font-weight: 650; text-decoration: none;
  background: var(--light);
}
.aktionsleiste a .icon { color: var(--blue); }
.aktionsleiste a.is-primary { background: var(--blue); color: #fff; }
.aktionsleiste a.is-primary .icon { color: #fff; }
@media (min-width: 900px) { .aktionsleiste { display: none; } }

/* ---------- Terminanfrage ---------- */
.termin__grid { display: grid; gap: 48px; }
.termin__intro { max-width: 60ch; margin-bottom: 32px; }
.termin__praxis { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: var(--soft); border-radius: var(--radius-m); color: var(--navy); }
.termin__praxis .icon { color: var(--blue); margin-top: 3px; }
.termin__seite { display: grid; gap: 16px; align-content: start; }
.termin__karte { padding: 24px; background: var(--light); border: 1px solid var(--line); border-radius: var(--radius-l); }
.termin__karte .kleintitel { margin-bottom: 6px; }
.termin__karte-text { margin: 0 0 10px; font-size: .9375rem; }
.termin__karte .kontaktlink { margin-bottom: 10px; }
.termin__notfall { display: flex; gap: 10px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-m); font-size: .9375rem; color: var(--navy); }
.termin__notfall .icon { color: var(--blue); margin-top: 2px; }
@media (min-width: 960px) {
  .termin__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; }
  .termin__seite { position: sticky; top: calc(var(--header-h) + 24px); }
}

.formular { display: grid; gap: 22px; max-width: 640px; }
.feld { margin: 0; padding: 0; border: 0; min-width: 0; }
.feld__label { display: block; margin-bottom: 7px; padding: 0; color: var(--navy); font-weight: 650; font-size: .9375rem; }
.feld input[type="text"], .feld input[type="tel"], .feld input[type="email"], .feld select, .feld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--navy);
  background: #fff; border: 1px solid var(--field); border-radius: var(--radius-s);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.feld textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.feld select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318356f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 91, 255, .2); }
.feld [aria-invalid="true"] { border-color: var(--error) !important; }
.feld__fehler { margin: 7px 0 0; color: var(--error); font-size: .9rem; font-weight: 600; }
.feld__hinweis { margin: 7px 0 0; font-size: .875rem; }
.feld__reihe { display: grid; gap: 22px; }
@media (min-width: 640px) { .feld__reihe { grid-template-columns: 1fr 1fr; } }
.optional { color: var(--text); font-weight: 500; }
.pflicht { color: var(--blue); }
.feld--honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wahl { display: grid; gap: 10px; }
@media (min-width: 560px) { .wahl { grid-template-columns: 1fr 1fr; } }
.wahl__option {
  position: relative; display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border: 1px solid var(--field); border-radius: var(--radius-m);
  cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.wahl__option:hover { border-color: var(--blue); }
.wahl__option:has(input:checked) { border-color: var(--blue); background: var(--soft); box-shadow: inset 0 0 0 1px var(--blue); }
.wahl__option input { margin: 3px 0 0; accent-color: var(--blue); width: 18px; height: 18px; flex-shrink: 0; }
.wahl__text { display: flex; flex-direction: column; color: var(--navy); line-height: 1.4; font-size: .975rem; }
.wahl__text small { color: var(--text); font-size: .85rem; margin-top: 2px; }
.wahl--klein .wahl__option { padding: 12px 14px; }

.check { display: flex; gap: 12px; align-items: flex-start; color: var(--navy); font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.check input { margin: 3px 0 0; width: 19px; height: 19px; accent-color: var(--blue); flex-shrink: 0; }
.formular__absenden { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }

.formhinweis { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 24px; padding: 14px 16px; border-radius: var(--radius-m); font-size: .975rem; }
.formhinweis p { margin: 0; }
.formhinweis--fehler { background: #fdecea; color: var(--error); }
.formhinweis--fehler .icon { margin-top: 2px; }

/* ---------- Bewegung reduzieren / Druck ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .aktionsleiste, .switch, .skip-link, .hinweis, .hero__actions, .teaser { display: none !important; }
  .praxis[hidden] { display: block !important; }
  .section { padding-block: 24px; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; text-decoration: none; }
}
