@import url('fonts.css');

/* =========================================================================
   Physiotherapie Praxis Adamek — Design System
   Leitfarbe: Blau aus dem Praxislogo (#3D84D2) — bewusst erhalten.
   ========================================================================= */

:root {
  /* --- Markenblau (aus dem Logo abgeleitet) --- */
  --blue-950: #071a30;
  --blue-900: #0b2545;
  --blue-800: #123763;
  --blue-700: #16497f;
  --blue-600: #1b62b8;
  --blue-500: #3d84d2;   /* Original-Logoblau */
  --blue-400: #6ca4e2;
  --blue-300: #9cc3ee;
  --blue-200: #c7dcf7;
  --blue-100: #e3edfb;
  --blue-50:  #f2f7fd;

  /* --- Akzent (roter Punkt aus dem Logo) --- */
  --accent: #e2382c;
  --accent-soft: #fdecea;

  /* --- Neutrale --- */
  --ink:      #0f1c2e;
  --ink-soft: #46586f;
  --ink-mute: #6b7e95;
  --line:     #dfe7f1;
  --line-soft:#edf2f8;
  --surface:  #ffffff;
  --canvas:   #f7fafd;

  /* --- Typografie --- */
  --font-head: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0:  clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --step-3:  clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);

  /* --- Maße --- */
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 6px rgba(11, 37, 69, .04);
  --shadow-md: 0 4px 12px rgba(11, 37, 69, .07), 0 12px 28px rgba(11, 37, 69, .06);
  --shadow-lg: 0 10px 24px rgba(11, 37, 69, .09), 0 28px 64px rgba(11, 37, 69, .10);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.018em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p  { text-wrap: pretty; }

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

::selection { background: var(--blue-200); color: var(--blue-900); }

.skip-link {
  position: absolute; left: 12px; top: -120px; z-index: 200;
  background: var(--blue-700); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.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;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
@media (max-width: 560px) { .wrap, .wrap-narrow { width: min(100% - 1.75rem, var(--wrap)); } }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--canvas { background: var(--canvas); }
.section--tintblue { background: linear-gradient(180deg, var(--blue-50), #fff); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600;
  font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--accent));
}
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--ink-mute); }
.small { font-size: var(--step--1); }

/* ---------- Icons ---------- */
.sprite { display: none; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.icon-badge {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center; border-radius: 15px;
  background: linear-gradient(145deg, var(--blue-100), var(--blue-50));
  color: var(--blue-600);
  box-shadow: inset 0 0 0 1px rgba(61, 132, 210, .16);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.icon-badge .ico { width: 27px; height: 27px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem; border-radius: 100px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  font-family: var(--font-head); font-weight: 600; font-size: var(--step-0);
  line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  box-shadow: 0 2px 6px rgba(27, 98, 184, .18);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(27, 98, 184, .26); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.15em; height: 1.15em; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--blue-700); --btn-bd: var(--blue-200); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--blue-50); --btn-bd: var(--blue-300); box-shadow: 0 6px 16px rgba(27, 98, 184, .12); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--blue-700); box-shadow: 0 2px 8px rgba(7, 26, 48, .18); }
.btn--light:hover { --btn-fg: var(--blue-800); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); box-shadow: none; }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: rgba(255,255,255,.7); }

.btn--lg { padding: 1.02rem 1.85rem; font-size: var(--step-1); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Textlink mit Pfeil */
.arrow-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 600; text-decoration: none;
  color: var(--blue-600);
}
.arrow-link .ico { transition: transform .25s var(--ease); }
.arrow-link:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 22px rgba(11, 37, 69, .06); }

.header-inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 76px; padding-block: .6rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.16rem;
  letter-spacing: -.02em; color: var(--blue-800);
}
.brand-sub {
  font-size: .68rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--blue-500); font-weight: 600;
}

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  position: relative; padding: .55rem .9rem; border-radius: 100px;
  font-family: var(--font-head); font-weight: 500; font-size: .97rem;
  color: var(--ink-soft); text-decoration: none;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav a[aria-current="page"] { color: var(--blue-700); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; translate: -50% 0; bottom: .18rem;
  width: 16px; height: 3px; border-radius: 3px; background: var(--accent);
}
/* Telefon-Button erscheint nur im mobilen Menü – im Header steht dort .header-phone */
.nav .btn { display: none; }

.header-cta { display: inline-flex; align-items: center; gap: .55rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; color: var(--blue-700);
  text-decoration: none; padding: .5rem .3rem;
}
.header-phone .ico { color: var(--accent); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--blue-800);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .ico-close, .nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .header-phone span { display: none; }
  .nav {
    /* an den Header gekoppelt statt fester Pixelabstand – bleibt bei jeder Kopfhöhe korrekt */
    position: absolute; top: 100%; left: 0; right: 0; z-index: 90;
    max-height: calc(100dvh - 100%); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1rem, 5vw, 2rem) 1.75rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .24s var(--ease), opacity .24s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .95rem 1rem; font-size: 1.08rem; border-radius: var(--r-sm); }
  .nav a[aria-current="page"]::after { left: 1rem; translate: 0 0; bottom: .55rem; }
  .nav .btn { display: inline-flex; margin-top: .8rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue-950); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(7, 26, 48, .94) 0%, rgba(11, 37, 69, .86) 42%, rgba(18, 55, 99, .58) 72%, rgba(27, 98, 184, .34) 100%);
}
.hero__inner { padding-block: clamp(4rem, 11vw, 8.5rem); max-width: 40rem; color: #dce8f7; }
.hero h1 { color: #fff; margin-bottom: 1.15rem; }
.hero .hero__claim {
  font-family: var(--font-head); font-weight: 500;
  font-size: var(--step-2); color: var(--blue-300); margin-bottom: 1.35rem;
  letter-spacing: -.01em;
}
.hero p.lead { color: #cfdff2; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--blue-300); }
.hero .eyebrow::before { background: linear-gradient(90deg, var(--blue-400), var(--accent)); }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  margin-top: 2.25rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: var(--step--1); color: #b9cde6;
}
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta .ico { width: 17px; height: 17px; color: var(--blue-300); }

/* Wellen-Abschluss (Reminiszenz an die Bewegungslinien des Logos) */
.wave-divider { display: block; width: 100%; height: auto; color: #fff; margin-bottom: -1px; }
.wave-divider--canvas { color: var(--canvas); }

/* Seiten-Hero (Unterseiten) */
.pagehero {
  background: linear-gradient(140deg, var(--blue-900) 0%, var(--blue-800) 55%, var(--blue-700) 100%);
  color: #d6e5f6; position: relative; overflow: hidden;
}
.pagehero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 46rem; height: 46rem;
  background: radial-gradient(circle, rgba(61, 132, 210, .38), transparent 62%);
  pointer-events: none;
}
.pagehero__inner { position: relative; padding-block: clamp(3rem, 7vw, 5.25rem); max-width: 46rem; }
.pagehero h1 { color: #fff; margin-bottom: 1rem; }
.pagehero p { color: #c6d9ef; font-size: var(--step-1); }
.pagehero .eyebrow { color: var(--blue-300); }
.pagehero .eyebrow::before { background: linear-gradient(90deg, var(--blue-400), var(--accent)); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-block: .9rem; font-size: var(--step--1); color: var(--ink-mute); border-bottom: 1px solid var(--line-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--blue-300); }
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-600); text-decoration: underline; }

/* ---------- Trust-Leiste ---------- */
.trustbar { background: var(--blue-900); color: #cddef2; }
.trustbar ul {
  list-style: none; padding: 1.15rem 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem 1.5rem;
}
.trustbar li { display: flex; align-items: center; gap: .65rem; font-size: var(--step--1); }
.trustbar .ico { width: 20px; height: 20px; color: var(--blue-300); flex: none; }
.trustbar strong { color: #fff; font-weight: 600; }

/* ---------- Karten-Grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column; gap: .9rem;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card h3 { font-size: var(--step-1); }
.card p { font-size: .98rem; }
.card__link { margin-top: auto; padding-top: .3rem; }

/* Karte mit Bildkopf */
.card--media { padding: 0; overflow: hidden; }
.card--media > img,
.card--media > picture > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card--media .card__body {
  display: flex; flex-direction: column; gap: .9rem;
  padding: clamp(1.4rem, 2.5vw, 2rem);
}
.card--media .icon-badge { margin-top: -3.6rem; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(61,132,210,.16); }

a.card, .card--link { text-decoration: none; color: inherit; }
a.card:hover, .card--link:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-200);
}
a.card:hover .icon-badge, .card--link:hover .icon-badge {
  background: var(--blue-600); color: #fff; transform: scale(1.05);
  box-shadow: inset 0 0 0 1px rgba(27, 98, 184, .4);
}

/* ---------- Feature (Bild + Text) ---------- */
.feature { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--reverse .feature__media { order: 2; }
}
.feature__media { position: relative; }
.feature__media img {
  width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.feature__media--tall img { aspect-ratio: 3 / 2; }
.feature__media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto;
  width: 58%; height: 58%; border-radius: var(--r-lg); z-index: -1;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
}
.feature__body > * + * { margin-top: 1rem; }

/* ---------- Listen ---------- */
.ticks { list-style: none; padding: 0; display: grid; gap: .6rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .65rem; align-items: start; }
.ticks .ico { width: 18px; height: 18px; margin-top: .32em; color: var(--blue-500); }
.ticks--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.chips li {
  padding: .42rem .95rem; border-radius: 100px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-800); font-size: .93rem; font-weight: 500;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
/* Chips, die als Sprungmarken dienen: Klickfläche liegt auf dem Link */
.chips li:has(> a) { padding: 0; }
.chips li > a {
  display: block; padding: .42rem .95rem; border-radius: 100px;
  color: var(--blue-800); text-decoration: none;
}
.chips li:has(> a):hover { background: var(--blue-100); border-color: var(--blue-300); }

.deflist { display: grid; gap: 0; }
.deflist > div {
  display: grid; gap: .2rem .5rem; padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 720px) { .deflist > div { grid-template-columns: 15rem 1fr; gap: 1.5rem; } }
.deflist dt { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.deflist dd { margin: 0; font-size: .98rem; }

/* ---------- Ablauf-Schritte ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); counter-reset: step; }
.steps li {
  position: relative; counter-increment: step;
  padding: 1.75rem 1.5rem 1.5rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 1.7rem; color: var(--blue-300); line-height: 1; margin-bottom: .7rem;
}
.steps h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.steps p { font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--blue-500); border-bottom: 2px solid var(--blue-500);
  rotate: 45deg; translate: 0 -3px; transition: rotate .25s var(--ease), translate .25s var(--ease);
}
.faq details[open] summary::after { rotate: -135deg; translate: 0 2px; }
.faq summary:hover { color: var(--blue-700); }
.faq .faq__body { padding: 0 1.35rem 1.35rem; }
.faq .faq__body > * + * { margin-top: .75rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.05fr .95fr; align-items: start; } }

.contact-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.contact-list li {
  display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: center;
  padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-list li:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.contact-list .icon-badge { width: 46px; height: 46px; border-radius: 13px; }
.contact-list .icon-badge .ico { width: 22px; height: 22px; }
.contact-list dt, .contact-list .k { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.contact-list .v { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.contact-list a.v { text-decoration: none; }
.contact-list a.v:hover { color: var(--blue-600); }

.map-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.map-card img { width: 100%; aspect-ratio: 13 / 10; object-fit: cover; }
.map-card__foot { padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; font-size: var(--step--1); }

/* ---------- Formular ---------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--surface);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(61, 132, 210, .16);
}
.field textarea { min-height: 150px; resize: vertical; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: .18em; accent-color: var(--blue-600); }
.form-note {
  font-size: var(--step--1); color: var(--ink-mute);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: var(--r-sm); padding: .85rem 1rem;
}

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--blue-800) 0%, var(--blue-600) 100%);
  color: #dae8f8;
}
.cta-band::before {
  content: ""; position: absolute; inset: -55% -25% auto auto; width: 40rem; height: 40rem;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 62%);
}
.cta-band__inner {
  position: relative; padding-block: clamp(3rem, 6vw, 4.75rem);
  display: grid; gap: 1.75rem; align-items: center;
}
@media (min-width: 880px) { .cta-band__inner { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .7rem; }
.cta-band p { color: #cbdcf1; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-950); color: #9fb6d1; font-size: .95rem; }
.footer-main {
  display: grid; gap: 2.25rem; padding-block: clamp(2.75rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.site-footer h3 {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: #6f8db1; margin-bottom: 1rem; font-weight: 600;
}
.site-footer a { color: #c3d5ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-brand img { width: 42px; margin-bottom: .9rem; }
.footer-brand p { max-width: 34ch; }
.footer-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: .5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 1.35rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  justify-content: space-between; align-items: center; font-size: .88rem; color: #7f99b8;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.35rem; }

address { font-style: normal; }

/* ---------- Prose (Recht) ---------- */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1.05rem; }
.prose h2 {
  font-size: var(--step-2); margin-top: 2.75rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 1.9rem; }
.prose h4 { font-size: 1.02rem; margin-top: 1.4rem; color: var(--blue-800); }
.prose ul, .prose ol { padding-left: 1.35rem; display: grid; gap: .45rem; }
.prose li::marker { color: var(--blue-400); }
.prose .callout {
  background: var(--blue-50); border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue-500);
  border-radius: var(--r-sm); padding: 1.15rem 1.35rem;
}
.prose .callout > * + * { margin-top: .6rem; }
.prose address { padding: 1rem 1.25rem; background: var(--canvas); border-radius: var(--r-sm); border: 1px solid var(--line-soft); }
.prose .upper { text-transform: uppercase; font-size: .88rem; letter-spacing: .01em; }

.toc {
  background: var(--canvas); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.35rem 1.5rem; margin-bottom: 2.5rem;
}
.toc h2 { font-size: 1rem !important; margin: 0 0 .8rem !important; padding: 0 !important; border: 0 !important; }
.toc ol { columns: 2; column-gap: 2rem; padding-left: 1.2rem; }
@media (max-width: 620px) { .toc ol { columns: 1; } }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------- Bildnachweis ---------- */
.figcredit { font-size: .8rem; color: var(--ink-mute); margin-top: .6rem; }

/* Sprungziele nicht unter dem klebenden Header verstecken */
[id] { scroll-margin-top: 96px; }

/* ---------- Utilities ---------- */
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.6rem; }
.center { text-align: center; }
.h-md { font-size: var(--step-2); }
.h-sm { font-size: var(--step-1); }
.mt-1 { margin-top: .8rem; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .hero__media, .btn { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
