/* Richtung B: Burgberg, hell. Weiss, Eisblau, das Blau aus dem Hafenbild im Behandlungszimmer, die Logofarbe als einziger warmer Punkt.
   Vollkorn fuer alles Gelesene, Hanken Grotesk fuer Bedienung. */
@font-face { font-family: "Vollkorn"; src: url("../_gemeinsam/fonts/vollkorn-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Vollkorn"; src: url("../_gemeinsam/fonts/vollkorn-latin-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../_gemeinsam/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --grund: #f3f8fc;
  --weiss: #ffffff;
  --eis: #e3eff8;
  --haar: #c6dae9;
  --blau: #2a6699;        /* Weiss darauf: 6,1 : 1 */
  --blau-tief: #1f5282;
  --tinte: #12324f;
  --leise: #47607a;
  --orange: #ef7e04;      /* Logofarbe, nur Marke und Flaeche, nie Schrift */
  --rand: clamp(16px, 4.4vw, 64px);
  --serif: "Vollkorn", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--weiss); color: var(--tinte); font: 400 1.1875rem/1.55 var(--serif); }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }

.sprung { position: fixed; left: 16px; top: -60px; z-index: 40; padding: 10px 16px; background: var(--blau); color: var(--weiss); font-family: var(--sans); }
.sprung:focus { top: 12px; }
.sichtbar-nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kapitaelchen { font: 600 1.0625rem/1.2 var(--serif); font-variant-caps: all-small-caps; letter-spacing: .08em; }

/* Hero */
.hero { height: 320vh; height: 320svh; background: var(--grund); }
.hero__buehne { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: var(--tinte); }
#stadtplan { position: absolute; inset: 0; width: 100%; height: 100%; --stadt-grund: #f3f8fc; --stadt-schatten: #cfe0ed; --stadt-rebe: #fdeedd; --stadt-wald: #e0efe9; --stadt-wasser: #b9d9ee; --stadt-hoehe: #2a6699; --stadt-rebzeile: #ef7e04; --stadt-waldlinie: #3c8c9c; --stadt-haupt: #ffffff; --stadt-wohn: #ffffff; --stadt-weg: #c4d6e4; --stadt-bahn: #47607a; --stadt-rand-haupt: #7fa3c0; --stadt-rand-wohn: #b4cadb; --stadt-hauskante: #2a6699; --stadt-route: #ef7e04; --stadt-routerand: #ffffff; --stadt-praxis: #ef7e04; --stadt-dach: #ffffff; --stadt-wand: #d3e3ef; }
.kein-gl #stadtplan { display: none; }
.kein-gl .hero { height: 100vh; height: 100svh; }
.kein-gl .hero__buehne { background: var(--grund) url("stadtplan-stand.webp") 70% bottom / cover no-repeat; }
.kein-gl .marke-pin, .kein-gl #etiketten, .kein-gl .laeufer { display: none; }
.hero__rand { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--grund) 76px, rgb(243 248 252 / 0) 130px); }
.hero__himmel { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--grund) 40%, rgb(243 248 252 / 0) 56%); }

.kopf { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--rand); font-family: var(--sans); }
.marke { display: flex; align-items: center; gap: 10px; font: 700 1.3125rem/1 var(--serif); text-decoration: none; }
.marke__zahn { width: 28px; height: 38px; color: var(--orange); }
.kopf__nav { display: flex; gap: 28px; font-weight: 500; font-size: 1.0625rem; }
.kopf__nav a { padding: 8px 0; text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom 5px / 0 1px no-repeat; transition: background-size .2s ease-out; }
.kopf__nav a:hover { background-size: 100% 1px; }

.hero__text { position: absolute; z-index: 2; left: var(--rand); top: clamp(92px, 15vh, 136px); max-width: min(13.5em, calc(100% - 2 * var(--rand))); font-size: clamp(2.5rem, 5.4vw, 4.75rem); }
.hero h1 { font: 700 1em/1.05 var(--serif); letter-spacing: -.012em; }
.hero__text > p { margin-top: 14px; font: 400 1.25rem/1.4 var(--sans); }
.hero__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.hero__status { font: 500 1.0625rem/1.3 var(--sans); }

.knopf { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 22px; border-radius: 3px; background: var(--blau); color: var(--weiss); font: 700 1.3125rem/1 var(--serif); text-decoration: none; white-space: nowrap; font-feature-settings: "lnum"; transition: background-color .15s ease-out; }
.knopf svg { width: 22px; height: 22px; flex: none; }
.knopf:hover { background: var(--blau-tief); }

.hero__tafel { position: absolute; z-index: 2; left: var(--rand); top: clamp(84px, 11vh, 108px); width: min(23em, calc(100% - 2 * var(--rand))); padding: 16px 20px 18px; background: var(--weiss); border: 1px solid var(--haar); border-radius: 3px; opacity: 0; font: 400 1.125rem/1.4 var(--sans); }
.hero__zeile { margin-bottom: 4px; font: 700 clamp(1.75rem, 3vw, 2.25rem)/1.1 var(--serif); }

.strasse { position: absolute; left: 0; top: 0; z-index: 1; padding: 1px 6px; background: rgb(255 255 255 / .9); border-radius: 2px; color: var(--tinte); font: 500 .9375rem/1.3 var(--sans); white-space: nowrap; pointer-events: none; }
.laeufer { position: absolute; left: -9px; top: -9px; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 3px solid var(--weiss); box-shadow: 0 1px 4px rgb(18 50 79 / .4); opacity: 0; pointer-events: none; }

.hero__nachweis { position: absolute; left: var(--rand); bottom: 14px; z-index: 2; padding: 2px 8px; margin-left: -8px; background: var(--grund); font: 400 .9375rem/1.3 var(--sans); color: var(--leise); }

.marke-pin { position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; font-family: var(--sans); pointer-events: none; }
.pin__stab { position: absolute; left: -.5px; bottom: 0; width: 1px; height: 62px; background: var(--tinte); }
.pin__stab::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--tinte); }
.pin__stab--hoch { height: 64px; }
.pin__stab--ziel { height: 56px; background: var(--orange); }
.pin__stab--ziel::after { left: -5px; bottom: -5px; width: 11px; height: 11px; background: var(--orange); box-shadow: 0 0 0 3px var(--grund); }
.pin__text { position: absolute; left: 0; bottom: 44px; padding: 2px 8px; background: var(--grund); white-space: nowrap; font-size: 1rem; font-weight: 500; }
#marke-burg .pin__text { bottom: 46px; }
#marke-bahnhof .pin__stab { height: 34px; }
#marke-bahnhof .pin__text { bottom: 18px; }
#marke-praxis .pin__text { bottom: 40px; font: 700 1.3125rem/1.1 var(--serif); }

/* Praxis */
.ort { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px 72px; align-items: end; padding: clamp(64px, 11vw, 150px) var(--rand) clamp(56px, 9vw, 120px); }
.ort h2 { font: 700 clamp(2.9rem, 6.2vw, 5.2rem)/1.04 var(--serif); letter-spacing: -.012em; }
.ort__text { display: grid; gap: 16px; font-size: 1.3125rem; line-height: 1.5; }

/* Team */
.team { padding: 0 var(--rand) clamp(64px, 10vw, 130px); }
.team__bild { position: relative; }
.team__bild img { width: 100%; height: auto; aspect-ratio: 1920 / 800; object-fit: cover; border-radius: 3px; }
.team__bild figcaption { position: absolute; left: 12px; bottom: 10px; padding: 3px 8px; background: var(--weiss); color: var(--tinte); font: 400 .9375rem/1.3 var(--sans); }
.team__text { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 16px 72px; margin-top: clamp(24px, 3.4vw, 44px); }
.team h2 { font: 700 clamp(2.1rem, 4.2vw, 3.6rem)/1.08 var(--serif); }
.team p { font-size: 1.3125rem; line-height: 1.5; }

/* Stimmen */
.stimmen { background: var(--eis); padding: clamp(64px, 10vw, 130px) var(--rand); }
.stimmen h2 { color: var(--blau-tief); }
.stimmen blockquote { max-width: 21em; margin-top: 18px; font: italic 500 clamp(1.9rem, 4.2vw, 3.5rem)/1.16 var(--serif); }
.stimmen ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 40px; margin-top: clamp(32px, 4.6vw, 60px); padding-top: 18px; border-top: 1px solid #a9c6dc; font-size: 1.3125rem; line-height: 1.35; }

/* Leistungen */
.angebot { padding: clamp(64px, 10vw, 130px) var(--rand); }
.angebot h2 { font: 700 clamp(2.6rem, 5.6vw, 4.8rem)/1.05 var(--serif); letter-spacing: -.01em; }
.angebot__spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 72px; margin-top: clamp(28px, 4vw, 52px); }
.angebot h3 { margin-top: 32px; padding-bottom: 6px; color: var(--blau-tief); border-bottom: 1px solid var(--tinte); }
.angebot__spalten > div > h3:first-child { margin-top: 0; }
.angebot dl > div { padding: 10px 0 11px; border-bottom: 1px solid var(--haar); }
.angebot dt { font-weight: 700; font-size: 1.3125rem; line-height: 1.25; }
.angebot dd { color: var(--leise); font: 400 1.0625rem/1.35 var(--sans); }

/* Zeiten */
.zeiten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 72px; background: var(--grund); padding: clamp(64px, 10vw, 120px) var(--rand); }
.zeiten h2 { font: 700 clamp(2.2rem, 4.6vw, 3.8rem)/1.06 var(--serif); }
.zeiten table { width: 100%; margin-top: 22px; border-collapse: collapse; font-feature-settings: "lnum"; }
.zeiten tr { border-top: 1px solid var(--haar); }
.zeiten tr:last-child { border-bottom: 1px solid var(--haar); }
.zeiten th, .zeiten td { padding: 10px 0 11px; font-size: 1.3125rem; font-weight: 400; text-align: left; }
.zeiten td { text-align: right; }
.zeiten tr.heute th, .zeiten tr.heute td { font-weight: 700; color: var(--blau-tief); }
.zeiten__not { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.zeiten__not p { font-size: 1.3125rem; line-height: 1.45; }
.zeiten__not p.zeiten__klein { font-size: 1.0625rem; line-height: 1.45; color: var(--leise); }
.zeiten__klein a { white-space: nowrap; font-weight: 600; color: var(--tinte); font-feature-settings: "lnum"; }

/* Anfahrt */
.anfahrt { position: relative; background: var(--grund); }
.anfahrt__karte { position: relative; height: clamp(460px, 62vw, 760px); overflow: hidden; }
.anfahrt__karte svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.anfahrt__schild { position: absolute; left: var(--rand); bottom: clamp(24px, 4vw, 56px); width: min(25em, calc(100% - 2 * var(--rand))); padding: 22px 26px 24px; background: var(--weiss); border: 1px solid var(--haar); border-radius: 3px; }
.anfahrt__schild h2 { font: 700 2.2rem/1.08 var(--serif); }
.anfahrt__schild p { margin-top: 8px; line-height: 1.45; }
.textlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; min-height: 44px; font: 600 1.125rem/1 var(--sans); color: var(--blau-tief); }
.textlink svg { width: 20px; height: 20px; }

.k-wiese { fill: #e6f1ea; fill-rule: evenodd; }
.k-reben { fill: #fbe4c8; fill-rule: evenodd; }
.k-wald { fill: #d3e6dc; fill-rule: evenodd; }
.k-wasser { fill: #b9d9ee; }
.k-fluss { fill: none; stroke: #b9d9ee; stroke-width: 3; }
.k-gebaeude { fill: #d6e2ec; }
.k-weg { fill: none; stroke: #d6e2ec; stroke-width: 1.5; }
.k-strasse { fill: none; stroke: #b3c8d9; stroke-width: 5; stroke-linecap: round; }
.k-gross { fill: none; stroke: #8fabc1; stroke-width: 9; stroke-linecap: round; }
.k-bahn { fill: none; stroke: #47607a; stroke-width: 2.5; stroke-dasharray: 14 8; }
.k-route { fill: none; stroke: #2a6699; stroke-width: 6; stroke-dasharray: 2 11; stroke-linecap: round; }
.k-praxis { fill: #ef7e04; }
.k-punkt { fill: #fff; stroke: #12324f; stroke-width: 5; }
.k-punkt--leise { stroke: #47607a; }
.k-ziel { fill: #ef7e04; stroke: #12324f; stroke-width: 6; }
.k-text { font: 500 30px/1 var(--sans); fill: #12324f; paint-order: stroke; stroke: #f3f8fc; stroke-width: 7px; stroke-linejoin: round; }
.k-text--leise { fill: #47607a; }
.k-text--ziel { font: 700 44px/1 var(--serif); fill: #12324f; }

/* Fuss */
.fuss { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 20px; align-items: start; padding: 28px var(--rand); background: var(--blau); color: var(--weiss); font: 400 1rem/1.4 var(--sans); }
.fuss__zahn { width: 30px; height: 41px; }
.fuss nav { display: flex; gap: 22px; }
.fuss__quelle { grid-column: 1 / -1; margin-top: 14px; color: #e3eff8; font-size: .9375rem; }
.fuss :focus-visible { outline-color: var(--weiss); }

/* Anruf-Knopf nach dem Hero */
.anruf { position: fixed; right: 16px; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 18px; border-radius: 3px; background: var(--blau); color: var(--weiss); font: 700 1.125rem/1 var(--sans); text-decoration: none; box-shadow: 0 2px 10px rgb(18 50 79 / .28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease-out, transform .2s ease-out; }
.anruf.zeigen { opacity: 1; transform: none; pointer-events: auto; }
.anruf:hover { background: var(--blau-tief); }
.anruf svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .kopf__nav { display: none; }
  .ort, .team__text, .zeiten { grid-template-columns: 1fr; }
  .stimmen ul { grid-template-columns: 1fr; }
  .angebot__spalten { grid-template-columns: 1fr; }
  .angebot__spalten > div:last-child h3:first-child { margin-top: 16px; }
  .anfahrt__karte { height: 560px; }
  .anfahrt__schild { position: relative; left: auto; bottom: auto; width: auto; margin: 0; border: 0; border-radius: 0; padding: 24px var(--rand) 28px; }
  .anfahrt { display: flex; flex-direction: column-reverse; }
  .fuss { grid-template-columns: auto 1fr; }
  .fuss nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 4px 22px; }
  .fuss { padding-bottom: 84px; }
}
@media (max-width: 560px) {
  body { font-size: 1.125rem; }
  .hero__text { top: 84px; font-size: 2.6rem; }
  .hero__text > p { font-size: 1.125rem; }
  .team__bild img { aspect-ratio: 4 / 3; object-position: 64% 30%; }
  .pin__text { font-size: .9375rem; }
  #marke-praxis .pin__text { font-size: 1.125rem; }
  .k-text { font-size: 42px; }
  .k-text--ziel { font-size: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
