/* ==========================================================================
   Physiotherapie Friese – Mockup Startseite (AK86, Entwurf 11/2026)
   Aufbau entspricht Elementor-Containern: .sec = Abschnitt (Container, voll),
   .wrap = innerer Container (Boxed 1320). Farben/Schriften = Kit-Variablen.
   ========================================================================== */

:root {
  /* Farben (Elementor: Globale Farben / Variablen) */
  --weiss: #FFFFFF;
  --kalk: #F2F4F6;
  --tinte: #10284A;
  --tinte-2: #4A5D75;
  --blau: #0454A0;
  --blau-hell: #E7EEF7;
  --gruen: #A1BC0B;
  --gruen-dunkel: #667800;
  --linie: #D6DEE7;
  --leise: #C3CDD8;

  /* Schrift (Elementor: Globale Schriftarten) */
  --ff: "Archivo", system-ui, sans-serif;
  --breit: 114%;
  --schmal: 76%;

  --fs-xs: 0.8125rem;
  --fs-s: 0.9375rem;
  --fs-m: 1.125rem;
  --fs-l: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem);
  --fs-xl: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem);
  --fs-2xl: clamp(2.125rem, 1.3rem + 3vw, 4rem);
  --fs-3xl: clamp(3.25rem, 1.6rem + 5.6vw, 7rem);

  --rand: clamp(20px, 4.5vw, 64px);
  --max: 1320px;
  --abstand: clamp(96px, 11vw, 168px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: var(--ff);
  font-size: var(--fs-m);
  line-height: 1.6;
  font-stretch: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.sec { padding-block: var(--abstand); position: relative; }

/* Typo-Rollen */
.t-display { font-stretch: var(--breit); font-weight: 300; letter-spacing: -0.03em; line-height: 0.98; }
.t-h2 { font-size: var(--fs-2xl); font-stretch: var(--breit); font-weight: 320; letter-spacing: -0.025em; line-height: 1.04; max-width: 18ch; }
.t-h3 { font-size: var(--fs-xl); font-stretch: 108%; font-weight: 360; letter-spacing: -0.015em; line-height: 1.12; }
.t-lead { font-size: var(--fs-l); line-height: 1.55; color: var(--tinte-2); max-width: 46ch; }
.t-wert { font-stretch: var(--schmal); font-weight: 560; font-variant-numeric: tabular-nums; letter-spacing: 0.005em; }
.t-klein { font-size: var(--fs-s); color: var(--tinte-2); }

/* Buttons (Elementor: Button-Widget, globale Stile) */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px; border-radius: 999px;
  background: var(--blau); color: var(--weiss);
  font: 600 1rem/1 var(--ff); font-stretch: 104%; letter-spacing: 0.005em;
  text-decoration: none; border: 1.5px solid var(--blau);
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--tinte); border-color: var(--tinte); }
.btn--hell { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.btn--hell:hover { background: var(--tinte); color: var(--weiss); }
.btn--weiss { background: var(--weiss); color: var(--blau); border-color: var(--weiss); }
.btn--weiss:hover { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); flex: none; }
.link {
  font-weight: 560; text-decoration: none; color: var(--blau);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 3px; transition: background-size .35s var(--ease);
}
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ==========================================================================
   Kopfzeile (Elementor Theme Builder: Header, sticky)
   ========================================================================== */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--weiss);
  transition: background .35s, box-shadow .35s, transform .4s var(--ease);
}
.kopf .wrap { display: flex; align-items: center; gap: 40px; height: 92px; transition: height .35s var(--ease); }
.kopf__logo img { width: 156px; transition: width .35s var(--ease); }
.kopf__nav { display: flex; gap: 30px; margin-left: auto; }
.kopf__nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 480; color: var(--tinte); position: relative; padding-block: 6px; }
.kopf__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--blau); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.kopf__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.kopf__aktion { display: flex; align-items: center; gap: 22px; }
.kopf__tel { text-decoration: none; font-size: 0.9375rem; font-weight: 560; font-stretch: var(--schmal); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.kopf .btn { padding: 13px 22px; font-size: 0.9375rem; }
.kopf__burger { display: none; }
.kopf.is-scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--linie); }
.kopf.is-scrolled .wrap { height: 72px; }
.kopf.is-scrolled .kopf__logo img { width: 128px; }

/* ==========================================================================
   Hero – Foto als Raum, Messlinien darüber (Custom Widget „Messbild“)
   ========================================================================== */
.hero { --hero-h: clamp(700px, 100svh, 1000px); position: relative; height: var(--hero-h); overflow: hidden; background: #F4F4F3; }
.hero__media {
  position: absolute; right: 0; bottom: 0;
  width: max(100%, calc(var(--hero-h) * 1.7287)); aspect-ratio: 2600 / 1504;
}
.hero__buehne { position: absolute; inset: 0; }
.hero__buehne > img { width: 100%; height: 100%; object-fit: cover; }
.mess { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mess .knochen { fill: none; stroke: var(--blau); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.mess .lot { fill: none; stroke: var(--blau); stroke-width: 2.2; stroke-dasharray: 9 9; opacity: .85; }
.mess .bogen { fill: rgba(4,84,160,.14); stroke: var(--blau); stroke-width: 2.2; }
.mess .gelenk { fill: var(--weiss); stroke: var(--blau); stroke-width: 4; }
.mess .gelenk--kern { fill: var(--blau); stroke: none; }

.etikett {
  position: absolute; transform: translate(14px, -50%);
  background: var(--weiss); padding: 8px 12px 8px 12px; border-left: 3px solid var(--blau);
  display: grid; gap: 1px; white-space: nowrap;
  box-shadow: 0 8px 24px -12px rgba(16,40,74,.35);
}
.etikett--links { transform: translate(calc(-100% - 14px), -50%); border-left: 0; border-right: 3px solid var(--blau); text-align: right; }
.etikett b { font: 560 1.625rem/1 var(--ff); font-stretch: var(--schmal); font-variant-numeric: tabular-nums; color: var(--tinte); }
.etikett > span { font-size: 0.75rem; font-weight: 500; color: var(--tinte-2); letter-spacing: 0.01em; }

.hero__text { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(56px, 9vh, 112px); }
.hero h1 { font-size: var(--fs-3xl); color: var(--tinte); }
.hero h1 .zeile { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .zeile > span { display: block; }
.hero__lead { margin-top: 30px; font-size: var(--fs-l); line-height: 1.5; color: var(--tinte-2); max-width: 31ch; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero__tel { text-decoration: none; display: grid; line-height: 1.25; }
.hero__tel small { font-size: 0.8125rem; color: var(--tinte-2); }
.hero__tel span { font-size: 1.125rem; font-weight: 560; font-stretch: var(--schmal); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.hero__notiz { position: absolute; right: var(--rand); bottom: 26px; z-index: 2; font-size: 0.75rem; color: rgba(255,255,255,.85); font-weight: 500; letter-spacing: 0.01em; }

/* Lade-Choreografie: einmal, beim Öffnen */
.js .hero h1 .zeile > span { transform: translateY(105%); }
.js .hero__lead, .js .hero__cta, .js .kopf { opacity: 0; }
.js .hero__lead, .js .hero__cta { transform: translateY(14px); }
.js .mess .knochen, .js .mess .lot { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.js .mess .bogen { opacity: 0; }
.js .mess .gelenk, .js .mess .gelenk--kern { transform: scale(0); transform-box: fill-box; transform-origin: center; }
.js .etikett { opacity: 0; translate: 0 8px; }

.is-ready .kopf { opacity: 1; transition: opacity .8s ease .1s, background .35s, box-shadow .35s; }
.is-ready .hero h1 .zeile > span { transform: none; transition: transform 1.1s var(--ease); }
.is-ready .hero h1 .zeile:nth-child(2) > span { transition-delay: .14s; }
.is-ready .hero h1 .zeile:nth-child(3) > span { transition-delay: .28s; }
.is-ready .hero__lead { opacity: 1; transform: none; transition: opacity .9s ease .6s, transform .9s var(--ease) .6s; }
.is-ready .hero__cta { opacity: 1; transform: none; transition: opacity .9s ease .75s, transform .9s var(--ease) .75s; }
.is-ready .mess .knochen { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.65,0,.35,1) 1s; }
.is-ready .mess .lot { stroke-dashoffset: 0; transition: stroke-dashoffset .8s ease 1.7s; }
.is-ready .mess .bogen { opacity: 1; transition: opacity .6s ease 2s; }
.is-ready .mess .gelenk, .is-ready .mess .gelenk--kern { transform: scale(1); transition: transform .5s cubic-bezier(.34,1.56,.64,1) calc(1.3s + var(--i, 0) * .07s); }
.is-ready .etikett { opacity: 1; translate: 0 0; transition: opacity .5s ease calc(2s + var(--i, 0) * .15s), translate .6s var(--ease) calc(2s + var(--i, 0) * .15s); }

/* ==========================================================================
   Leitsatz – Wörter füllen sich beim Scrollen (Heading + Klasse fx-fill)
   ========================================================================== */
.leitsatz { padding-block: clamp(112px, 13vw, 200px) clamp(80px, 9vw, 136px); }
.leitsatz__text { font-size: clamp(1.75rem, 1rem + 2.7vw, 3.375rem); font-stretch: 108%; font-weight: 330; letter-spacing: -0.02em; line-height: 1.18; max-width: 24ch; }
.fx-fill .w { color: var(--leise); transition: color .35s ease; }
.fx-fill .w.an { color: var(--tinte); }
.leitsatz__sig { margin-top: 44px; display: flex; align-items: center; gap: 16px; }
.leitsatz__sig img { width: 56px; height: 56px; object-fit: cover; object-position: 50% 18%; border-radius: 50%; }
.leitsatz__sig b { display: block; font-weight: 560; }
.leitsatz__sig span { font-size: var(--fs-s); color: var(--tinte-2); }

/* ==========================================================================
   Ablauf – Bild klebt links, Schritte scrollen rechts (Sticky-Container)
   ========================================================================== */
.ablauf { padding-top: 0; }
.ablauf__kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(48px, 6vw, 88px); }
.ablauf__kopf p { max-width: 38ch; margin: 0; color: var(--tinte-2); }
.ablauf__raster { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); }
.ablauf__bild { position: sticky; top: 104px; height: calc(100svh - 150px); max-height: 760px; }
.ablauf__bild figure { position: absolute; inset: 0; margin: 0; overflow: hidden; opacity: 0; transition: opacity .8s ease; }
.ablauf__bild figure.an { opacity: 1; }
.ablauf__bild img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.ablauf__bild figure.an img { transform: scale(1); }
.ablauf__bild figcaption { position: absolute; left: 20px; bottom: 20px; background: var(--weiss); padding: 9px 14px; font-size: 0.8125rem; font-weight: 500; border-left: 3px solid var(--blau); }
.lineal { position: absolute; right: -28px; top: 0; bottom: 0; width: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.lineal i { display: block; height: 1px; width: 6px; background: var(--leise); }
.lineal i:nth-child(5n+1) { width: 12px; background: var(--tinte-2); }
.lineal b { position: absolute; left: -3px; width: 18px; height: 2px; background: var(--blau); top: 0; transition: top .8s var(--ease); }
.schritte { list-style: none; margin: 0; padding: 0; }
.schritt { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; border-top: 1px solid var(--linie); color: var(--leise); transition: color .5s ease; }
.schritt:first-child { border-top: 0; min-height: 60svh; justify-content: flex-start; padding-top: 12vh; }
.schritt.an { color: var(--tinte); }
.schritt__nr { font-size: 0.9375rem; font-stretch: var(--schmal); font-weight: 560; font-variant-numeric: tabular-nums; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.schritt__nr::after { content: ""; height: 1px; width: 48px; background: currentColor; opacity: .5; }
.schritt h3 { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem); font-stretch: var(--breit); font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.schritt p { margin: 24px 0 0; max-width: 40ch; color: inherit; transition: color .5s; }
.schritt.an p { color: var(--tinte-2); }
.schritt__bild-mobil { display: none; }

/* ==========================================================================
   Verlauf – Messdiagramm (Custom Widget „Verlaufsdiagramm“)
   ========================================================================== */
.verlauf { background: var(--kalk); }
.verlauf__raster { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.verlauf__text .t-lead { margin-top: 28px; }
.verlauf__foto { margin-top: 48px; position: relative; }
.verlauf__foto img { aspect-ratio: 4 / 3.1; object-fit: cover; width: 100%; }
.verlauf__foto figcaption { margin-top: 12px; font-size: var(--fs-s); color: var(--tinte-2); }
.diagramm { background: var(--weiss); padding: clamp(24px, 3vw, 44px); position: relative; }
.diagramm__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.diagramm__titel { font-size: 1.0625rem; font-weight: 560; max-width: 30ch; line-height: 1.35; }
.diagramm__titel small { display: block; font-weight: 400; color: var(--tinte-2); font-size: var(--fs-s); margin-top: 4px; }
.umschalter { display: inline-flex; background: var(--kalk); border-radius: 999px; padding: 4px; position: relative; }
.umschalter button { position: relative; z-index: 1; border: 0; background: none; font: 520 0.9375rem/1 var(--ff); color: var(--tinte-2); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: color .3s; }
.umschalter button[aria-pressed="true"] { color: var(--weiss); }
.umschalter .pille { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--tinte); transition: left .45s var(--ease), width .45s var(--ease); }
.diagramm__flaeche { margin-top: 28px; position: relative; }
.diagramm svg { width: 100%; height: auto; display: block; overflow: visible; }
.diagramm .achse { stroke: var(--linie); stroke-width: 1; }
.diagramm .achse-text { font: 500 12px var(--ff); font-stretch: var(--schmal); fill: var(--tinte-2); font-variant-numeric: tabular-nums; }
.diagramm .kurve-gesund { fill: none; stroke: var(--tinte); stroke-width: 2; stroke-dasharray: 6 6; }
.diagramm .kurve-op { fill: none; stroke: var(--blau); stroke-width: 3.5; stroke-linejoin: round; }
.diagramm .flaeche-op { fill: url(#verlaufFill); }
.diagramm .ziel { stroke: var(--gruen); stroke-width: 2; stroke-dasharray: 3 5; transition: stroke .4s; }
.diagramm .ziel-text { font: 560 12.5px var(--ff); font-stretch: var(--schmal); fill: var(--gruen-dunkel); }
.diagramm .spitze { fill: var(--weiss); stroke: var(--blau); stroke-width: 3; }
.diagramm__legende { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; font-size: var(--fs-s); color: var(--tinte-2); }
.diagramm__legende i { display: inline-block; width: 22px; height: 0; vertical-align: middle; margin-right: 8px; border-top: 3.5px solid var(--blau); }
.diagramm__legende i.gesund { border-top: 2px dashed var(--tinte); }
.diagramm__legende i.ziel { border-top: 2px dotted var(--gruen); }
.diagramm__fuss { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--linie); display: grid; grid-template-columns: auto 1fr; gap: 8px 32px; align-items: center; }
.lsi { font: 560 clamp(3.5rem, 2.4rem + 3vw, 5.25rem)/0.9 var(--ff); font-stretch: var(--schmal); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--tinte); display: flex; align-items: baseline; }
.lsi small { font-size: 0.42em; margin-left: 4px; font-weight: 500; }
.lsi-text b { display: block; font-weight: 560; }
.lsi-text span { color: var(--tinte-2); font-size: var(--fs-s); }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.875rem; font-weight: 560; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--blau-hell); color: var(--blau); transition: background .4s, color .4s; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.ok { background: #F1F6D8; color: var(--gruen-dunkel); }
.diagramm__hinweis { margin-top: 16px; font-size: 0.75rem; color: var(--tinte-2); }

/* ==========================================================================
   Leistungen – Liste mit Bild am Mauszeiger (Loop Grid + fx-hoverbild)
   ========================================================================== */
.leistungen__kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); }
.liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tinte); }
.liste li { border-bottom: 1px solid var(--linie); }
.liste a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 48px; gap: 32px; align-items: center; padding: 34px 0; text-decoration: none; position: relative; }
.liste h3 { font-size: clamp(1.75rem, 1.1rem + 2.1vw, 3rem); font-stretch: var(--breit); font-weight: 300; letter-spacing: -0.025em; line-height: 1.05; transition: transform .5s var(--ease), color .3s; }
.liste p { margin: 0; color: var(--tinte-2); max-width: 44ch; font-size: 1.0625rem; }
.liste .pfeil { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--linie); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.liste .pfeil svg { width: 18px; height: 18px; stroke: var(--tinte); fill: none; stroke-width: 1.8; transition: stroke .3s; }
.liste a:focus-visible h3 { transform: translateX(16px); color: var(--blau); }
@media (hover: hover) {
  .liste a:hover h3 { transform: translateX(16px); color: var(--blau); }
  .liste a:hover .pfeil { background: var(--blau); border-color: var(--blau); transform: rotate(-45deg); }
  .liste a:hover .pfeil svg { stroke: var(--weiss); }
}
.liste .thumb { display: none; }
.hoverbild { position: fixed; left: 0; top: 0; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; z-index: 40; overflow: hidden; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85); transition: opacity .3s ease, transform .4s var(--ease); }
.hoverbild.an { opacity: 1; }
.hoverbild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.hoverbild img.an { opacity: 1; }

/* ==========================================================================
   Hausbesuche
   ========================================================================== */
.haus { padding-top: 0; }
.haus__raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 128px); align-items: center; }
.haus__bild { position: relative; }
.haus__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.haus__text .t-h2 { max-width: 16ch; }
.haus__text .t-lead { margin-top: 30px; }
.orte { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 40px 0 44px; border-top: 1px solid var(--linie); }
.orte div { padding: 22px 24px 0 0; }
.orte div + div { padding-left: 24px; border-left: 1px solid var(--linie); }
.orte b { display: block; font-weight: 560; margin-bottom: 4px; }
.orte span { font-size: var(--fs-s); color: var(--tinte-2); }
.haus__cta { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }

/* ==========================================================================
   Welt – Karte der Hospitationen (Custom Widget „Weltkarte“) + Über mich
   ========================================================================== */
.welt { background: var(--weiss); border-top: 1px solid var(--linie); }
.welt__kopf { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.welt__kopf p { margin: 0; color: var(--tinte-2); max-width: 46ch; }
.karte { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.karte > img { width: 100%; height: auto; }
.karte svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.karte .bahn { fill: none; stroke: var(--blau); stroke-width: 2.4; stroke-linecap: round; opacity: .75; }
.karte .bahn--kongress { stroke: var(--tinte-2); stroke-width: 1.4; stroke-dasharray: 2 7; opacity: .55; }
.karte .fuehrung { fill: none; stroke: var(--tinte-2); stroke-width: 1.5; opacity: .6; }
.js .karte .fuehrung { opacity: 0; }
.karte.an .fuehrung { opacity: .6; transition: opacity .6s ease calc(1.2s + var(--i) * .16s); }
.karte .pkt-h { fill: var(--gruen); stroke: var(--weiss); stroke-width: 5; }
.karte .pkt-k { fill: var(--weiss); stroke: var(--tinte-2); stroke-width: 3.5; }
.karte .pkt-b { fill: var(--blau); stroke: var(--weiss); stroke-width: 5; }
.karte .puls { fill: none; stroke: var(--blau); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: puls 2.8s ease-out infinite; }
@keyframes puls { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.ort { position: absolute; transform: translate(-50%, calc(-100% - 16px)); font-size: 0.8125rem; line-height: 1.25; white-space: nowrap; text-align: center; pointer-events: none; }
.ort b { display: block; font-weight: 600; font-size: 0.875rem; }
.ort span { color: var(--tinte-2); }
.ort--unten { transform: translate(-50%, 16px); }
.ort--rechts { transform: translate(16px, -50%); text-align: left; }
.ort--links { transform: translate(calc(-100% - 16px), -50%); text-align: right; }
.ort--bochum b { color: var(--blau); font-size: 1rem; }
.js .karte .bahn { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.js .karte .bahn--kongress { stroke-dasharray: 2 7; stroke-dashoffset: 0; opacity: 0; }
.js .karte .pkt-h, .js .karte .pkt-k { transform: scale(0); transform-box: fill-box; transform-origin: center; }
.js .karte .ort:not(.ort--bochum) { opacity: 0; }
.karte.an .bahn { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.65,0,.35,1) calc(var(--i) * .16s); }
.karte.an .bahn--kongress { opacity: .55; transition: opacity 1s ease calc(1s + var(--i) * .08s); }
.karte.an .pkt-h, .karte.an .pkt-k { transform: scale(1); transition: transform .5s cubic-bezier(.34,1.56,.64,1) calc(1s + var(--i) * .16s); }
.karte.an .ort:not(.ort--bochum) { opacity: 1; transition: opacity .6s ease calc(1.2s + var(--i) * .16s); }
.karte__legende { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; font-size: var(--fs-s); color: var(--tinte-2); }
.karte__legende i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 8px; }
.karte__legende i.h { background: var(--gruen); }
.karte__legende i.k { background: var(--weiss); border: 2.5px solid var(--tinte-2); }
.karte__legende i.b { background: var(--blau); }
.stationen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--tinte); }
.stationen div { padding: 20px 20px 0 0; }
.stationen div + div { padding-left: 20px; border-left: 1px solid var(--linie); }
.stationen b { display: block; font-weight: 560; font-size: 1rem; line-height: 1.3; }
.stationen span { font-size: 0.875rem; color: var(--tinte-2); }

.person { margin-top: var(--abstand); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 128px); align-items: start; }
.person__bild img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 38% 30%; }
.person__bild figcaption { margin-top: 14px; font-size: var(--fs-s); color: var(--tinte-2); }
.zitat { font-size: clamp(1.625rem, 1.1rem + 1.7vw, 2.5rem); font-stretch: 108%; font-weight: 320; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 40px; max-width: 24ch; }
.zitat::before { content: "„"; }
.zitat::after { content: "“"; }
.fakten { margin: 0; display: grid; grid-template-columns: max-content 1fr; border-top: 1px solid var(--linie); }
.fakten dt, .fakten dd { padding: 16px 0; border-bottom: 1px solid var(--linie); margin: 0; }
.fakten dt { font-size: var(--fs-s); color: var(--tinte-2); padding-right: 40px; }
.fakten dd { font-size: 1.0625rem; }
.person__links { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }

/* ==========================================================================
   Wissen – Beiträge (Elementor: Loop Grid über Beiträge)
   ========================================================================== */
.wissen { background: var(--kalk); }
.wissen__kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.wissen__kopf p { max-width: 44ch; margin: 18px 0 0; color: var(--tinte-2); }
.beitraege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.beitrag { text-decoration: none; display: block; }
.beitrag figure { margin: 0 0 22px; overflow: hidden; }
.beitrag img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease); }
.beitrag:hover img { transform: scale(1.04); }
.beitrag__meta { font-size: 0.875rem; color: var(--tinte-2); display: flex; gap: 14px; }
.beitrag__meta span + span::before { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--leise); margin-right: 14px; vertical-align: -1px; }
.beitrag h3 { margin-top: 10px; font-size: 1.5rem; font-stretch: 106%; font-weight: 400; letter-spacing: -0.012em; line-height: 1.22; transition: color .3s; }
.beitrag:hover h3 { color: var(--blau); }

/* ==========================================================================
   Karriere-Band
   ========================================================================== */
.karriere { background: var(--blau); color: var(--weiss); padding-block: clamp(64px, 7vw, 104px); overflow: hidden; }
.karriere .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.karriere h2 { font-size: clamp(1.875rem, 1.2rem + 2.2vw, 3.25rem); font-stretch: var(--breit); font-weight: 320; letter-spacing: -0.025em; line-height: 1.06; max-width: 22ch; }
.karriere__eck { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.karriere__eck span { border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 8px 14px; font-size: 0.875rem; }

/* ==========================================================================
   Kontakt / Termin
   ========================================================================== */
.kontakt__raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 120px); align-items: end; }
.kontakt h2 { font-size: var(--fs-3xl); }
.kontakt .t-lead { margin-top: 28px; }
.kontakt__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.daten { margin: 0; display: grid; grid-template-columns: max-content 1fr; border-top: 1px solid var(--tinte); }
.daten dt, .daten dd { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--linie); }
.daten dt { font-size: var(--fs-s); color: var(--tinte-2); padding-right: 40px; }
.daten dd a { text-decoration: none; }
.daten .zahl { font-stretch: var(--schmal); font-weight: 560; font-variant-numeric: tabular-nums; font-size: 1.1875rem; letter-spacing: .01em; }
.platzhalter { color: var(--tinte-2); background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(161,188,11,.16) 6px 8px); padding: 2px 6px; }

/* ==========================================================================
   Fußzeile (Theme Builder: Footer)
   ========================================================================== */
.fuss { background: var(--tinte); color: rgba(255,255,255,.78); padding-block: 88px 36px; font-size: var(--fs-s); }
.fuss__raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.fuss__logo { width: 168px; }
.fuss__claim { margin-top: 26px; font-size: 1.375rem; font-stretch: 108%; font-weight: 320; color: var(--weiss); letter-spacing: -0.01em; line-height: 1.25; }
.fuss h4 { font-size: 0.875rem; font-weight: 560; color: var(--weiss); margin-bottom: 14px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--weiss); }
.fuss__unten { margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 0.8125rem; color: rgba(255,255,255,.55); }

/* Mobile Leiste */
.mobilleiste { display: none; }

/* Sanftes Einblenden – nur für Bilder großer Abschnitte, nicht überall */
.js .fx-bild { clip-path: inset(0 0 100% 0); }
.fx-bild.an { clip-path: inset(0 0 0 0); transition: clip-path 1.3s cubic-bezier(.65,0,.35,1); }

/* Ruhige Darstellung: Screenshots (?static) und reduzierte Bewegung */
.fx-static *, .fx-static *::before, .fx-static *::after { transition: none !important; animation: none !important; }

/* ==========================================================================
   Tablet & Smartphone
   ========================================================================== */
@media (max-width: 1180px) {
  .kopf__nav { gap: 22px; }
  .kopf__tel { display: none; }
}
@media (max-width: 1024px) {
  .kopf__nav, .kopf .btn { display: none; }
  .kopf__aktion { margin-left: auto; }
  .kopf__burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; border: 1.5px solid var(--linie); border-radius: 50%; background: var(--weiss); align-items: center; cursor: pointer; }
  .kopf__burger i { display: block; width: 18px; height: 1.5px; background: var(--tinte); }
  .ablauf__raster { grid-template-columns: 1fr; }
  .ablauf__bild { display: none; }
  .schritt, .schritt:first-child { min-height: 0; padding-block: 48px; color: var(--tinte); justify-content: flex-start; }
  .schritt p { color: var(--tinte-2); }
  .schritt__bild-mobil { display: block; margin-top: 28px; }
  .schritt__bild-mobil img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
  .verlauf__raster, .haus__raster, .welt__kopf, .person, .kontakt__raster { grid-template-columns: 1fr; }
  .stationen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stationen div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stationen div { padding-bottom: 20px; border-bottom: 1px solid var(--linie); }
  .beitraege { grid-template-columns: 1fr 1fr; }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --abstand: 88px; }
  .kopf .wrap { height: 72px; }
  .kopf__logo img { width: 124px; }
  .hero { height: auto; background: var(--weiss); }
  .hero__media { position: relative; width: 100%; aspect-ratio: auto; height: 64svh; min-height: 440px; overflow: hidden; }
  .hero__media > .hero__buehne { position: absolute; inset: 0 -14% 0 auto; width: auto; height: 100%; aspect-ratio: 2600 / 1504; }
  .hero__text { height: auto; padding-top: 36px; padding-bottom: 56px; }
  .hero__notiz { display: none; }
  .etikett b { font-size: 1.125rem; }
  .etikett > span { font-size: 0.6875rem; }
  .etikett { padding: 6px 9px; }
  .leitsatz { padding-block: 72px 56px; }
  .ablauf__kopf, .leistungen__kopf, .wissen__kopf { flex-direction: column; align-items: flex-start; }
  .liste a { grid-template-columns: 88px 1fr; gap: 6px 18px; padding: 22px 0; }
  .liste .thumb { display: block; grid-row: span 2; width: 88px; aspect-ratio: 1; object-fit: cover; }
  .liste .pfeil { display: none; }
  .liste h3 { font-size: 1.5rem; }
  .liste p { font-size: 0.9375rem; }
  .hoverbild { display: none; }
  .orte { grid-template-columns: 1fr; }
  .orte div + div { border-left: 0; padding-left: 0; }
  .karte { margin-inline: calc(var(--rand) * -1); overflow: hidden; }
  .karte .ort:not(.ort--bochum), .karte .fuehrung { display: none; }
  .karte .ort b { font-size: 0.8125rem; }
  .stationen { grid-template-columns: 1fr; }
  .stationen div + div { padding-left: 0; border-left: 0; }
  .beitraege { grid-template-columns: 1fr; }
  .karriere .wrap { grid-template-columns: 1fr; }
  .diagramm__fuss { grid-template-columns: 1fr; }
  .fakten, .daten { grid-template-columns: 1fr; }
  .fakten dt, .daten dt { border-bottom: 0; padding-bottom: 0; }
  .fuss__raster { grid-template-columns: 1fr; }
  .mobilleiste { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; padding: 8px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 999px; box-shadow: 0 12px 32px -12px rgba(16,40,74,.4); }
  .mobilleiste a { text-align: center; justify-content: center; padding: 14px 10px; font-size: 0.9375rem; }
  body { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
