/* Kieferorthopäden Dr. Bartelt – Designsystem
   Farben aus dem Bestand weiterentwickelt: Praxisblau #18469E (bisherige Überschriften, E-LINE),
   Apricot #DE843A (bisherige Akzentfarbe) nur als kleiner Akzent. Schriften: Newsreader + Figtree (lokal, OFL). */

@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader-display-var.woff2') format('woff2');
  font-weight: 380 620;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader-display-italic-var.woff2') format('woff2');
  font-weight: 380 620;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree-latin-var.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f8f6f1;
  --paper-deep: #f1ede4;
  --surface: #ffffff;
  --sky-50: #edf3fa;
  --sky-100: #dfe9f5;
  --sky-200: #c5d7ed;
  --ink: #10213f;
  --ink-soft: #33415c;
  --muted: #526079;
  --brand: #18469e;
  --brand-hover: #113782;
  --brand-deep: #0e2a5c;
  --brand-night: #0a1f45;
  --apricot: #de843a;
  --apricot-soft: #f7e1cc;
  --line: #e2ddd2;
  --line-strong: #c9c2b4;
  --line-sky: #c8d8ec;
  --gum: #f0d7d2;
  --tooth-line: #d6cfc1;
  --metal: #a9b3bf;
  --metal-line: #6c7886;
  --error: #b3261e;
  --ok: #2b8a5e;

  --font-display: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --text-body: clamp(1rem, 0.97rem + 0.14vw, 1.0625rem);
  --text-lead: clamp(1.0625rem, 1rem + 0.32vw, 1.25rem);
  --text-h1: clamp(2.25rem, 1.35rem + 3.3vw, 4.125rem);
  --text-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --text-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --text-small: 0.9375rem;
  --text-label: 0.8125rem;

  --content-max: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(3.5rem, 7.5vw, 7rem);
  --gap: clamp(1.5rem, 3vw, 3rem);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgb(16 33 63 / 0.05), 0 14px 36px rgb(16 33 63 / 0.07);
  --header-h: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--text-body) / 1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html.menu-offen body {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 460;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

.nowrap {
  white-space: nowrap;
}

h1 {
  font-size: var(--text-h1);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.12;
}

h3 {
  font-size: var(--text-h3);
  line-height: 1.25;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 430;
  color: var(--brand);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand-hover);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

[id],
.formular-fehler,
.formular-status {
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--content-max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* ---------- Icons ---------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 1rem;
  line-height: 1.5;
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: '';
  flex: none;
  margin-top: calc((1.5em - 0.62rem) / 2);
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 2px;
  background: var(--apricot);
  flex: none;
}

.eyebrow-light {
  color: #fff;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--ink-soft);
}

.mini-titel {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgb(24 70 158 / 0.35);
  text-underline-offset: 0.3em;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.text-link .icon {
  transition: transform 0.2s ease;
}

.text-link:hover .icon-arrow {
  transform: translateX(3px);
}

.text-link-light {
  color: #fff;
  text-decoration-color: var(--apricot);
}

.text-link-light:hover {
  color: #fff;
}

/* ---------- Buttons: abgerundete Rechtecke wie ein Bracket ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  font: 650 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--brand);
  color: var(--brand);
}

.btn-signal {
  background: var(--apricot);
  color: var(--ink);
}

.btn-signal:hover {
  background: #e99552;
  color: var(--ink);
}

.btn-outline-light {
  border-color: rgb(255 255 255 / 0.45);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.08);
  color: #fff;
}

.btn-sm {
  min-height: 2.6rem;
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
}

.btn-block {
  width: 100%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(248 246 241 / 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .site-header {
    background: rgb(248 246 241 / 0.84);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
  }
}

/* backdrop-filter macht den Header zum Bezugsrahmen für position: fixed.
   Bei offenem Menü deshalb abschalten, damit das Menü den ganzen Bildschirm füllt. */
html.menu-offen .site-header {
  background: var(--paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header[data-scrolled] {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgb(16 33 63 / 0.05);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.brand:hover {
  color: var(--ink);
}

.bogen-marke {
  width: 2.55rem;
  height: auto;
  overflow: visible;
}

.bogen-draht {
  stroke: var(--brand);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.bogen-bracket {
  fill: var(--apricot);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-kicker {
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-name {
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand-invert {
  color: #fff;
}

.brand-invert:hover {
  color: #fff;
}

.brand-invert .brand-kicker {
  color: rgb(255 255 255 / 0.62);
}

.brand-invert .bogen-draht {
  stroke: #fff;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 0.5rem 0;
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--brand);
}

.main-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--apricot);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone .icon {
  color: var(--brand);
}

.header-cta {
  display: none;
}

.icon-button,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 2.85rem;
  height: 2.85rem;
  padding: 0 0.7rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font: 600 0.9375rem/1 var(--font-body);
  cursor: pointer;
  text-decoration: none;
}

.icon-button .icon {
  color: var(--brand);
}

.menu-toggle-icon .icon-close,
.menu-toggle[aria-expanded='true'] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  overflow-y: auto;
  padding: 1.5rem var(--gutter) 2.5rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu ul {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.mobile-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 460;
  text-decoration: none;
}

.mobile-menu li a[aria-current='page'] {
  color: var(--brand);
}

.mobile-menu-actions {
  display: grid;
  gap: 0.75rem;
}

.mobile-menu-address {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: var(--text-small);
}

.mobile-menu-address .icon {
  color: var(--brand);
  margin-top: 0.15rem;
}

/* Sehr schmale Handys (unter 375 px): Menü-Knopf nur mit Symbol, Name bleibt für Screenreader */
@media (max-width: 23.4rem) {
  .header-bar {
    gap: 0.5rem;
  }
  .header-actions {
    gap: 0.4rem;
  }
  .brand {
    gap: 0.5rem;
  }
  .brand .bogen-marke {
    width: 2.2rem;
  }
  .menu-toggle {
    padding: 0;
  }
  .menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (min-width: 40rem) {
  .header-cta {
    display: inline-flex;
  }
  .header-call {
    display: none;
  }
}

@media (min-width: 68rem) {
  .main-nav {
    display: block;
  }
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

@media (min-width: 84rem) {
  .header-phone {
    display: inline-flex;
  }
  .main-nav ul {
    gap: 1.9rem;
  }
}

/* ---------- Abschnitte ---------- */
.section {
  padding-block: var(--section);
}

.section-tight-top {
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
}

.section-sky {
  background: var(--sky-50);
}

.section-paper-deep {
  background: var(--paper-deep);
}

.section-ink {
  background: var(--brand-deep);
  color: rgb(255 255 255 / 0.84);
}

.section-ink h2,
.section-ink h3 {
  color: #fff;
}

.section-ink .mini-titel {
  color: rgb(255 255 255 / 0.6);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-intro > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.section-intro-wide {
  max-width: 52rem;
}

/* ---------- Bilder ---------- */
.bild {
  display: block;
}

.bild img {
  width: 100%;
  border-radius: var(--r-lg);
  background: var(--sky-100);
}

figure {
  margin: 0;
}

.hero-bild,
.panorama,
.split-bild,
.page-head-bild,
.eingang {
  position: relative;
}

.bild-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100% - 2rem);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 4px 14px rgb(16 33 63 / 0.1);
}

.bild-label::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--apricot);
  flex: none;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(1.75rem, 4.5vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-grid {
  display: grid;
  gap: 1.25rem;
}

.hero-titel h1 {
  margin-bottom: 0;
}

.hero-text .lead {
  margin-bottom: 0;
}

.hero-text .actions {
  margin-top: 1.5rem;
}

.hero-bild {
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.belege {
  display: grid;
  gap: 0 1.5rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.belege li {
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 0 0.95rem 1.4rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.belege li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.4rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 2px;
  background: var(--apricot);
}

.belege strong {
  font-weight: 650;
}

.belege span {
  color: var(--muted);
  font-size: var(--text-small);
}

@media (min-width: 36rem) {
  .belege {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 4.5rem);
  }
  .belege {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Zwei Wege ---------- */
.wege {
  display: grid;
  gap: var(--gap);
}

.weg {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.weg h3 {
  margin-bottom: 1.1rem;
}

.weg .bracket-liste {
  margin-bottom: 1.5rem;
}

.weg .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.weg-kopf {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.weg-kopf .icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  border-radius: var(--r-md);
  background: var(--sky-100);
  color: var(--brand);
}

.weg-label {
  margin: 0;
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.weg-erwachsene {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: rgb(255 255 255 / 0.86);
}

.weg-erwachsene h3 {
  color: #fff;
}

.weg-erwachsene .weg-label {
  color: rgb(255 255 255 / 0.66);
}

.weg-erwachsene .weg-kopf .icon {
  background: rgb(255 255 255 / 0.1);
  color: var(--apricot);
}

.weg-erwachsene .bracket-liste::before {
  background: rgb(255 255 255 / 0.22);
}

@media (min-width: 56rem) {
  .wege {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Liste mit Bracket-Punkten auf einem Draht */
.bracket-liste {
  position: relative;
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.bracket-liste::before {
  content: '';
  position: absolute;
  left: 0.29rem;
  top: 0.9em;
  bottom: 0.9em;
  width: 1.5px;
  background: var(--line-sky);
}

.bracket-liste li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.6rem;
}

.bracket-liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 2px;
  background: var(--apricot);
}

/* ---------- Vergleich der Spangen ---------- */
.vergleich {
  padding: clamp(1rem, 2.5vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.vergleich-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
}

html:not(.js) .vergleich-tabs {
  display: none;
}

.vergleich-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.5rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.vergleich-tab:hover {
  border-color: var(--line-strong);
}

.vergleich-tab[aria-selected='true'] {
  border-color: var(--brand);
  background: var(--sky-50);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.vergleich-tab-text {
  display: grid;
  line-height: 1.2;
}

.vergleich-tab-name {
  font-weight: 700;
}

.vergleich-tab-zusatz {
  color: var(--muted);
  font-size: 0.8125rem;
}

.querschnitt {
  width: 1.9rem;
  height: 2.4rem;
}

.qs-lippe {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 2;
  stroke-linecap: round;
}

.qs-zahn {
  fill: #fff;
  stroke: var(--metal-line);
  stroke-width: 1.6;
}

.qs-bracket {
  fill: var(--brand);
}

.qs-keramik {
  fill: #fff;
  stroke: var(--brand);
  stroke-width: 1.6;
}

.vergleich-panel {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.vergleich-panel:focus-visible {
  outline-offset: 6px;
}

.js .vergleich-panel:not(.is-active) {
  display: none;
}

html:not(.js) .vergleich-panel + .vergleich-panel {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.vergleich-bild {
  padding: clamp(1rem, 3vw, 2rem) clamp(0.5rem, 2vw, 1.5rem) 1rem;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--sky-100), var(--sky-50));
}

.vergleich-bild figcaption {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: var(--text-small);
  text-align: center;
}

.vergleich-text h3 {
  margin-bottom: 0.6rem;
}

.vergleich-text > p {
  color: var(--ink-soft);
}

.fakten {
  margin: 1.25rem 0 1.5rem;
}

.fakten div {
  display: grid;
  grid-template-columns: minmax(7rem, 9.5rem) 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}

.fakten dt {
  color: var(--muted);
  font-size: var(--text-small);
}

.fakten dd {
  margin: 0;
  font-weight: 550;
}

@media (max-width: 29.99rem) {
  .fakten div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

.vergleich-hinweis {
  display: flex;
  gap: 0.6rem;
  margin: clamp(1rem, 2.5vw, 1.75rem) 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.vergleich-hinweis .icon {
  margin-top: 0.15rem;
  color: var(--brand);
}

@media (min-width: 40rem) {
  .vergleich-tab {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-align: left;
  }
}

@media (min-width: 56rem) {
  .vergleich-panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

/* Zahnbogen-Schema */
.zahnbogen {
  width: 100%;
  height: auto;
}

.zahnbogen .zahn {
  fill: #fff;
  stroke: var(--tooth-line);
  stroke-width: 1.5;
}

.zahnbogen .zahnfleisch {
  fill: var(--gum);
}

.zahnbogen .draht {
  fill: none;
  stroke: var(--metal-line);
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.zahnbogen .bracket {
  fill: var(--metal);
  stroke: var(--metal-line);
  stroke-width: 1;
}

.zahnbogen .bracket-slot {
  stroke: var(--metal-line);
  stroke-width: 1.2;
}

.zahnbogen-keramik .bracket {
  fill: rgb(255 255 255 / 0.55);
  stroke: #cbc2b3;
}

.zahnbogen-keramik .bracket-slot {
  stroke: #c0b6a6;
}

.zahnbogen-keramik .draht {
  stroke: #a4adb8;
  stroke-width: 1.6;
}

/* ---------- Zusatzleistungen ---------- */
.extras {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.extra {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line-sky);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.extra:hover {
  border-color: var(--brand);
  color: var(--ink);
}

.extra > .icon {
  width: 1.9rem;
  height: 1.9rem;
  color: var(--brand);
}

.extra strong {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 700;
}

.extra span span {
  color: var(--ink-soft);
  font-size: var(--text-small);
}

@media (min-width: 56rem) {
  .extras {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Ärzte ---------- */
.aerzte {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.arzt {
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}

.arzt h3 {
  margin-bottom: 0.2rem;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
}

.arzt-titel {
  margin-bottom: 1rem;
  color: var(--brand);
  font-weight: 650;
}

@media (min-width: 48rem) {
  .aerzte {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Ablauf: Brackets auf einem Draht ---------- */
.ablauf {
  position: relative;
  display: grid;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ablauf::before {
  content: '';
  position: absolute;
  left: 1.4rem;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 2px;
  background: linear-gradient(var(--sky-200), var(--sky-200)) center / 2px 100% no-repeat;
}

.ablauf-schritt {
  position: relative;
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  align-content: start;
  column-gap: 1.25rem;
}

.ablauf-nummer {
  grid-row: span 2;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  box-shadow: 0 0 0 6px var(--paper-deep);
}

.ablauf-nummer::after {
  content: '';
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  top: 50%;
  height: 1.5px;
  margin-top: 0.8rem;
  background: rgb(255 255 255 / 0.35);
}

.ablauf-schritt h3 {
  margin: 0.45rem 0 0.35rem;
  font-size: 1.3rem;
}

.ablauf-schritt p {
  margin: 0;
  color: var(--ink-soft);
}

@media (min-width: 64rem) {
  .ablauf {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .ablauf::before {
    left: 1.4rem;
    right: 1.4rem;
    top: 1.4rem;
    bottom: auto;
    width: auto;
    height: 2px;
    background: var(--sky-200);
  }
  .ablauf-schritt {
    grid-template-columns: 1fr;
  }
  .ablauf-nummer {
    grid-row: auto;
    margin-bottom: 1rem;
  }
  .ablauf-schritt h3 {
    margin-top: 0;
  }
}

/* ---------- Split-Layouts ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split-top {
  align-items: start;
}

.split-text > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.section-ink .split-text > p:not(.eyebrow) {
  color: rgb(255 255 255 / 0.84);
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.info-liste {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.info-liste li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.info-liste .icon {
  margin-top: 0.2rem;
  color: var(--brand);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  gap: var(--gap);
}

.faq-grid .section-intro {
  margin-bottom: 0;
}

.faq {
  border-top: 1px solid var(--line-sky);
}

.section-paper-deep .faq,
.section-paper-deep .faq-item,
.section:not(.section-sky) .faq,
.section:not(.section-sky) .faq-item {
  border-color: var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line-sky);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline-offset: 2px;
}

.faq-frage {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--line-sky);
  color: var(--brand);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.faq-antwort {
  padding: 0 0 1.25rem;
  max-width: 64ch;
}

.faq-antwort p {
  margin: 0 0 0.8rem;
  color: var(--ink-soft);
}

@media (min-width: 64rem) {
  .faq-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
    align-items: start;
  }
  .faq-grid .section-intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* ---------- Sprechzeiten ---------- */
.sprechzeiten table {
  width: 100%;
  border-collapse: collapse;
}

.sprechzeiten th,
.sprechzeiten td {
  padding: 0.6rem 0.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.sprechzeiten th {
  font-weight: 600;
  width: 40%;
}

.sprechzeiten td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.sprechzeiten .zeit {
  display: block;
}

.sprechzeiten tr.heute th,
.sprechzeiten tr.heute td {
  background: var(--sky-50);
}

.sprechzeiten tr.heute th {
  position: relative;
  padding-left: 1.1rem;
  border-radius: 8px 0 0 8px;
}

.sprechzeiten tr.heute td {
  padding-right: 0.6rem;
  border-radius: 0 8px 8px 0;
}

.sprechzeiten tr.heute th::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--apricot);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.85rem;
  border-radius: 1rem;
  line-height: 1.35;
  background: var(--sky-50);
  font-size: 0.875rem;
  font-weight: 600;
}

.status[hidden] {
  display: none;
}

.status-punkt {
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--metal-line);
}

.status.ist-offen .status-punkt {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgb(43 138 94 / 0.18);
}

.sprechzeiten-dunkel th,
.sprechzeiten-dunkel td {
  border-color: rgb(255 255 255 / 0.14);
  color: #fff;
}

.sprechzeiten-dunkel td {
  color: rgb(255 255 255 / 0.84);
}

.sprechzeiten-dunkel tr.heute th,
.sprechzeiten-dunkel tr.heute td {
  background: rgb(255 255 255 / 0.09);
}

.sprechzeiten-dunkel .status {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}

.sprechzeiten-dunkel .status.ist-offen .status-punkt {
  background: #4fd19a;
  box-shadow: 0 0 0 3px rgb(79 209 154 / 0.22);
}

.sprechzeiten-dunkel .status-punkt {
  background: rgb(255 255 255 / 0.55);
}

/* ---------- Termin-Band ---------- */
.termin-band {
  padding-block: var(--section);
  background: var(--brand-deep);
  color: rgb(255 255 255 / 0.84);
}

.termin-band h2 {
  color: #fff;
}

.termin-band-grid {
  display: grid;
  gap: var(--gap);
  align-items: start;
}

.termin-band-text > p:not(.eyebrow) {
  max-width: 34rem;
}

.termin-telefon {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 0.25rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  font-weight: 460;
  line-height: 1.1;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.termin-telefon:hover {
  color: #fff;
}

.termin-telefon .icon {
  width: 0.8em;
  height: 0.8em;
  color: var(--apricot);
}

.termin-band-info {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / 0.05);
}

.termin-band-label {
  margin-bottom: 0.9rem;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.66);
}

.termin-band-adresse {
  display: flex;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
}

.termin-band-adresse .icon {
  margin-top: 0.2rem;
  color: var(--apricot);
}

.termin-band :focus-visible,
.section-ink :focus-visible,
.weg-erwachsene :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--apricot);
}

@media (min-width: 64rem) {
  .termin-band-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 6rem);
  }
}

/* ---------- Seitenkopf Unterseiten ---------- */
.page-head {
  padding-top: clamp(2.25rem, 6vw, 5rem);
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

.page-head h1 {
  max-width: 20ch;
}

.page-head .lead {
  max-width: 46rem;
}

.page-head-schmal {
  padding-bottom: 0.5rem;
}

.page-head-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 56rem) {
  .page-head-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

/* ---------- Details der Behandlungen ---------- */
.detail-liste {
  border-top: 1px solid var(--line);
}

.detail {
  display: grid;
  gap: 0.75rem 2rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}

.detail-kopf h3 {
  margin: 0;
}

.detail-marke {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  margin-bottom: 0.7rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--sky-100);
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 700;
}

.detail-marke-icon {
  padding: 0.2rem 0.5rem;
}

.detail-text p {
  color: var(--ink-soft);
  max-width: 62ch;
}

.detail-mit-bild {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.detail-bild img {
  border-radius: var(--r-md);
}

@media (min-width: 48rem) {
  .detail-mit-bild {
    grid-template-columns: minmax(0, 1fr) 15rem;
  }
}

@media (min-width: 56rem) {
  .detail {
    grid-template-columns: 17rem minmax(0, 1fr);
  }
}

/* ---------- Eckdaten ---------- */
.eckdaten {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eckdaten li {
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: var(--text-small);
}

.eckdaten-wert {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.15;
}

@media (min-width: 36rem) {
  .eckdaten {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .eckdaten {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.vorn-vergleich {
  display: grid;
  gap: 1rem;
}

.vorn-vergleich figure {
  padding: 1rem 1rem 0.85rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-sky);
}

.vorn-vergleich figcaption {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--text-small);
  text-align: center;
}

.vorn-vergleich strong {
  color: var(--ink);
}

/* ---------- Karten ---------- */
.karten-3 {
  display: grid;
  gap: 1rem;
}

.karten-abstand {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.karte {
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.karte > .icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: var(--r-md);
  background: var(--sky-100);
  color: var(--brand);
}

.karte h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.karte p {
  margin: 0;
  color: var(--ink-soft);
}

@media (min-width: 56rem) {
  .karten-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* ---------- Zeitleiste und Veröffentlichungen ---------- */
.zeitleiste {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.zeitleiste li {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.zeitleiste-jahr {
  color: var(--brand);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.zeitleiste-dunkel li {
  border-color: rgb(255 255 255 / 0.14);
}

.zeitleiste-dunkel .zeitleiste-jahr {
  color: var(--apricot);
}

.publikationen {
  margin: 0;
  padding: 0;
  list-style: none;
}

.publikationen li {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.publikationen strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
}

.pub-art {
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-sky .publikationen li {
  border-color: var(--line-sky);
}

.publikationen-dunkel li {
  border-color: rgb(255 255 255 / 0.14);
}

.publikationen-dunkel strong {
  color: #fff;
}

.publikationen-dunkel .pub-art {
  color: rgb(255 255 255 / 0.6);
}

/* ---------- Profile ---------- */
.profile {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.profil {
  display: grid;
  gap: 1.5rem var(--gap);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 2px solid var(--ink);
}

.profil h2 {
  margin-bottom: 1rem;
}

.profil .eyebrow {
  margin-bottom: 0.5rem;
}

@media (min-width: 64rem) {
  .profil {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  }
}

/* ---------- Partner ---------- */
.partner-liste {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-liste a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.partner-liste a:hover {
  border-color: var(--brand);
}

.partner-liste strong {
  font-weight: 650;
}

.partner-liste span {
  grid-column: 1;
  color: var(--muted);
  font-size: var(--text-small);
}

.partner-liste .icon {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--brand);
}

@media (min-width: 48rem) {
  .partner-liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Kontakt ---------- */
.kontakt-grid {
  display: grid;
  gap: 1rem;
}

.kontakt-karte {
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.kontakt-telefon {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem);
  font-weight: 480;
  line-height: 1.1;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.kontakt-telefon .icon {
  width: 0.8em;
  height: 0.8em;
}

.kontakt-liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kontakt-liste li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.kontakt-liste .icon {
  margin-top: 0.2rem;
  color: var(--brand);
}

@media (min-width: 56rem) {
  .kontakt-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
  }
}

/* ---------- Formular ---------- */
.formular-grid {
  display: grid;
  gap: var(--gap);
}

.formular-grid .section-intro {
  margin-bottom: 0;
}

.formular {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

@media (min-width: 64rem) {
  .formular-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
    align-items: start;
  }
}

.feld {
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.feld > label,
.feld > legend {
  display: block;
  margin-bottom: 0.45rem;
  padding: 0;
  font-weight: 650;
}

.pflicht {
  color: var(--error);
}

.optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
}

.feld input[type='text'],
.feld input[type='tel'],
.feld input[type='email'],
.feld select,
.feld textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feld textarea {
  min-height: 7rem;
  resize: vertical;
}

.feld select {
  appearance: none;
  padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318469e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.8rem center / 1.15rem;
}

.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(24 70 158 / 0.2);
}

.feld [aria-invalid='true'] {
  border-color: var(--error) !important;
}

.feld-hinweis {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.feld > .feld-hinweis {
  margin: -0.2rem 0 0.45rem;
}

.feld textarea + .feld-hinweis {
  margin: 0.4rem 0 0;
}

.feld-fehler {
  margin: 0.4rem 0 0;
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 600;
}

.feld-fehler[hidden] {
  display: none;
}

.feld-reihe {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 40rem) {
  .feld-reihe {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.auswahl {
  display: grid;
  gap: 0.75rem;
}

.auswahl-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auswahl-option,
.chip {
  position: relative;
  cursor: pointer;
}

.auswahl-option input,
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.auswahl-option span {
  display: grid;
  gap: 0.15rem;
  height: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  font-weight: 650;
  line-height: 1.3;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.auswahl-option .icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: 0.35rem;
  color: var(--brand);
}

.auswahl-option small {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.875rem;
}

.auswahl-option input:checked + span {
  border-color: var(--brand);
  background: var(--sky-50);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.auswahl-option input:focus-visible + span,
.chip input:focus-visible + span {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.auswahl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.45rem 1.05rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 550;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.chip input:checked + span {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.zustimmung {
  display: flex !important;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 400 !important;
  line-height: 1.5;
}

.zustimmung input {
  width: 1.3rem;
  height: 1.3rem;
  margin: 0.15rem 0 0;
  flex: none;
  accent-color: var(--brand);
}

.formular-abschluss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
}

.formular-abschluss .feld-hinweis {
  margin: 0;
}

.formular-fehler {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--error);
  border-radius: var(--r-sm);
  background: #fcefee;
}

.formular-fehler h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--error);
}

.formular-fehler ul {
  margin: 0;
  padding-left: 1.1rem;
}

.formular-fehler a {
  color: var(--error);
}

html:not(.js) [data-form] {
  display: none;
}

.formular-ohne-js h3 {
  margin: 0 0 0.5rem;
}

.formular-ohne-js p {
  margin: 0;
  color: var(--ink-soft);
}

.formular-status {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line-sky);
  border-radius: var(--r-md);
  background: var(--sky-50);
}

.formular-status[hidden] {
  display: none;
}

.formular-status h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
}

.formular-status p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}

.formular-status .actions {
  margin-top: 0.75rem;
}

.feld.ist-ungueltig .auswahl-option span {
  border-color: var(--error);
}

.feld.ist-ungueltig .zustimmung input {
  outline: 2px solid var(--error);
  outline-offset: 2px;
}

.formular-vorschau-text {
  max-height: 20rem;
  margin: 0 0 0.75rem;
  padding: 0.9rem 1rem;
  overflow: auto;
  border: 1px solid var(--line-sky);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: 0.875rem/1.6 ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.formular-status:focus,
.formular-fehler:focus {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.formular-status.ist-fehler {
  border-color: #f1c7c4;
  background: #fcefee;
}

/* ---------- Anfahrt ---------- */
.anfahrt-liste {
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
}

.anfahrt-liste li {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.anfahrt-liste .icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.1rem;
  color: var(--brand);
}

.anfahrt-liste strong {
  display: block;
}

.anfahrt-liste span {
  color: var(--ink-soft);
}

.anfahrt-medien {
  display: grid;
  gap: 1.25rem;
}

.karte-rahmen {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-sky);
  background-color: var(--sky-50);
  background-image: linear-gradient(var(--sky-100) 1px, transparent 1px), linear-gradient(90deg, var(--sky-100) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}

.karte-rahmen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.karte-platzhalter {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.karte-platzhalter > .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--brand);
}

.karte-platzhalter p {
  max-width: 24rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--text-small);
}

.karte-platzhalter strong {
  display: block;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--brand-night);
  color: rgb(255 255 255 / 0.78);
  font-size: var(--text-small);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--apricot);
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 1rem;
}

.footer-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apricot);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  padding: 0.25rem 0;
}

.footer-col address {
  font-style: normal;
  margin-bottom: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-contact .icon {
  color: rgb(255 255 255 / 0.6);
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 17rem;
  font-variant-numeric: tabular-nums;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

/* ---------- Rechtstexte ---------- */
.rechtstext {
  max-width: 46rem;
}

.rechtstext h2 {
  margin: 2.25rem 0 0.6rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
}

.rechtstext p,
.rechtstext li {
  color: var(--ink-soft);
}

.rechtstext ul {
  padding-left: 1.2rem;
}

.hinweis-box {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-sky);
  border-radius: var(--r-md);
  background: var(--sky-50);
  font-size: var(--text-small);
}

.hinweis-box .icon {
  margin-top: 0.2rem;
  color: var(--brand);
}

.rechtstext-stand {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: var(--text-small);
}

/* ---------- 404 ---------- */
.fehlerseite {
  min-height: 60vh;
}

.fehlerseite-inner {
  max-width: 40rem;
  text-align: center;
}

.fehler-marke {
  width: 6.5rem;
  margin: 0 auto 1.75rem;
}

.fehlerseite .eyebrow {
  justify-content: center;
}

.fehler-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
}

.fehler-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.fehler-links a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

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