/* Medical-fair GmbH – Entwurf III „Puls“
   Dunkler Hero mit 3D-Szene, helle Inhaltsseiten, Fraunces für Überschriften.
   Bewegung: GSAP + ScrollTrigger + Lenis (site.js), 3D: Three.js (puls.js).
   Ohne JavaScript oder mit prefers-reduced-motion bleibt alles sichtbar. */

@font-face {
  font-family: 'Fraunces'; src: url('../fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces'; src: url('../fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 100 900; font-style: italic; font-display: swap;
}
/* Inter (OFL), selbst gehostet, auf Latin beschnitten – keine Systemschrift, kein Google-Fonts-Abruf */
@font-face {
  font-family: 'Inter'; src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --nacht: #041d29;
  --petrol: #0a3343;
  --blau: #1aa6dd;
  --blau-hell: #6fd0f2;
  --blau-tief: #0b6f99;
  --rot: #ee1927;
  --rot-tief: #c5121e;
  --papier: #f5f9fb;
  --flaeche: #e9f3f7;
  --weiss: #fff;
  --text: #13262f;
  --text-leise: #566c76;
  --linie: #d6e5eb;
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 28px;
  --schatten: 0 30px 60px -30px rgba(4, 29, 41, .35), 0 10px 24px -12px rgba(4, 29, 41, .18);
  --kopf-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; overflow-x: clip;
  background: var(--papier); color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blau-tief); text-underline-offset: 3px; }
a:hover { color: var(--rot); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 520; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; font-variation-settings: "SOFT" 60; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
h1 em, h2 em, h3 em, .bruch__zitat em { font-style: italic; font-weight: 420; color: var(--blau-tief); }
p { margin: 0 0 1em; }

.container { width: min(100% - 44px, 1200px); margin-inline: auto; }
.skiplink { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--weiss); padding: 10px 16px; border-radius: 10px; }
.skiplink:focus { left: 10px; }

/* ---------- Knöpfe ---------- */
.btn-gruppe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: 650 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s, translate .3s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  translate: -120% 0; transition: translate .7s ease;
}
.btn:hover { translate: 0 -2px; }
.btn:hover::after { translate: 120% 0; }
.btn--primaer { background: var(--rot); color: var(--weiss); box-shadow: 0 12px 26px -12px rgba(238, 25, 39, .7); }
.btn--primaer:hover { background: var(--rot-tief); color: var(--weiss); }
.btn--geist { border-color: currentColor; color: var(--text); background: transparent; }
.btn--geist:hover { background: var(--text); color: var(--weiss); border-color: var(--text); }
.held .btn--geist, .cta-band .btn--geist, .stapel__karte--blau .btn--geist, .stapel__karte--petrol .btn--geist { color: var(--weiss); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.held .btn--geist:hover, .cta-band .btn--geist:hover { background: var(--weiss); color: var(--nacht); border-color: var(--weiss); }
.btn--sekundaer, .btn--weiss { background: var(--weiss); color: var(--blau-tief); box-shadow: 0 10px 24px -14px rgba(4,29,41,.5); }
.btn--sekundaer:hover, .btn--weiss:hover { color: var(--rot); background: var(--weiss); }
.stapel__karte--hell .btn--sekundaer { background: var(--blau-tief); color: var(--weiss); }
.stapel__karte--hell .btn--sekundaer:hover { background: var(--nacht); color: var(--weiss); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none;
  transition: translate .45s cubic-bezier(.3,.7,.2,1);
}
.kopf.ist-versteckt { translate: 0 -140%; }
.kopf__innen {
  pointer-events: auto;
  width: min(100% - 24px, 1240px); margin-inline: auto; height: var(--kopf-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 10px 0 24px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px -16px rgba(4, 29, 41, .45); border: 1px solid rgba(255,255,255,.6);
  transition: height .35s, box-shadow .35s;
}
.kopf.ist-gescrollt .kopf__innen { height: 64px; }
.kopf__logo img { height: 42px; width: auto; transition: height .35s; }
.kopf.ist-gescrollt .kopf__logo img { height: 36px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .96rem;
  transition: background-color .25s, color .25s;
}
.nav ul a:hover { background: var(--flaeche); color: var(--blau-tief); }
.nav ul a[aria-current="page"] { color: var(--blau-tief); background: var(--flaeche); }
.nav__cta { padding: 12px 22px; }
.kopf__tel { display: none; }
.burger { display: none; }

@media (max-width: 1080px) {
  .kopf__innen { padding-left: 18px; gap: 8px; }
  .kopf__tel {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    padding: 10px 14px; border-radius: 999px; background: var(--flaeche);
    color: var(--blau-tief); font-weight: 700; text-decoration: none; font-size: .92rem;
  }
  .kopf__tel svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
  .burger {
    display: grid; place-content: center; gap: 6px; width: 52px; height: 52px; border-radius: 50%;
    border: 0; background: var(--nacht); cursor: pointer;
  }
  .burger span { display: block; width: 20px; height: 2px; background: var(--weiss); border-radius: 2px; transition: rotate .3s, translate .3s; }
  .burger[aria-expanded="true"] span:first-child { translate: 0 4px; rotate: 45deg; }
  .burger[aria-expanded="true"] span:last-child { translate: 0 -4px; rotate: -45deg; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    flex-direction: column; justify-content: center; align-items: stretch; gap: 28px;
    padding: 120px 28px 40px; background: var(--nacht);
    clip-path: circle(0 at calc(100% - 50px) 52px); visibility: hidden;
    transition: clip-path .6s cubic-bezier(.7,0,.2,1), visibility 0s .6s;
  }
  .nav.ist-offen { clip-path: circle(150% at calc(100% - 50px) 52px); visibility: visible; transition: clip-path .7s cubic-bezier(.7,0,.2,1); }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul a { color: var(--weiss); font: 500 clamp(1.8rem, 8vw, 2.6rem)/1.15 var(--serif); padding: 8px 0; background: none !important; }
  .nav ul a[aria-current="page"] { color: var(--blau-hell); }
  .nav__cta { align-self: flex-start; }
}
@media (max-width: 520px) {
  .kopf__tel span { display: none; }
  .kopf__logo img, .kopf.ist-gescrollt .kopf__logo img { height: 32px; }
  .kopf__innen { height: 64px; }
}

/* ---------- Hero ---------- */
.held {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(120% 90% at 75% 40%, #0a3a4f 0%, var(--nacht) 60%);
  color: var(--weiss);
}
.held__szene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.held__schleier {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,29,41,.82) 0%, rgba(4,29,41,.45) 38%, rgba(4,29,41,0) 62%),
    linear-gradient(180deg, rgba(4,29,41,0) 70%, rgba(4,29,41,.85) 100%);
}
.held__innen { padding: calc(var(--kopf-h) + 80px) 0 120px; }
.held__innen > * { max-width: 660px; }
.held__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .82rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blau-hell); margin-bottom: 26px;
}
.pulspunkt { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--rot); flex: none; }
.pulspunkt::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--rot); animation: ping 1.05s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { scale: 1; opacity: .8; } 80%, 100% { scale: 3; opacity: 0; } }
.held__innen > .held__titel { max-width: 940px; }
.held__titel {
  font-size: clamp(3rem, 8.4vw, 7.2rem); line-height: .98; font-weight: 480;
  letter-spacing: -.025em; margin-bottom: .32em; font-variation-settings: "SOFT" 100;
}
.held__titel em { color: var(--blau-hell); font-weight: 380; }
.held__text { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(255,255,255,.82); max-width: 560px; }
.held__hinweis {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  display: grid; justify-items: center; gap: 10px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.held__hinweis i { width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.held__hinweis i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--weiss); animation: rad 1.8s ease-in-out infinite; }
@keyframes rad { 0% { translate: 0 0; opacity: 1; } 70% { translate: 0 12px; opacity: 0; } 100% { opacity: 0; } }
.held--seite { min-height: 78vh; min-height: 78svh; }
.held--seite .held__schleier { background: linear-gradient(90deg, rgba(4,29,41,.75) 0%, rgba(4,29,41,.3) 60%, rgba(4,29,41,.1) 100%), linear-gradient(180deg, rgba(4,29,41,0) 70%, rgba(4,29,41,.7) 100%); }
.held--seite .held__titel { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.held--kompakt { min-height: 54vh; min-height: 54svh; }
.held--kompakt .held__innen { padding-bottom: 70px; }
.held--kompakt .held__titel { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
/* Ohne WebGL: ruhiger Verlauf mit gezeichneter EKG-Linie */
.ohne-webgl .held { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpolyline fill='none' stroke='%231aa6dd' stroke-opacity='.45' stroke-width='2' points='0,120 380,120 410,100 430,120 470,120 485,135 505,30 525,160 540,120 600,120 640,100 680,120 1200,120'/%3E%3C/svg%3E") center 70% / 100% 200px no-repeat,
  radial-gradient(120% 90% at 75% 40%, #0a3a4f 0%, var(--nacht) 60%); }
@media (max-aspect-ratio: 23/20) {
  .seite-start .held { align-items: flex-end; }
  .seite-start .held__innen { padding: 46vh 0 110px; }
  .seite-start .held__schleier { background: linear-gradient(180deg, rgba(4,29,41,0) 30%, rgba(4,29,41,.75) 58%, rgba(4,29,41,.95) 100%); }
}
@media (max-width: 600px) {
  .held__hinweis { display: none; }
  .held__innen { padding-bottom: 80px; }
}

/* ---------- Laufband ---------- */
.laufband {
  position: relative; z-index: 3; margin-top: -34px;
  background: var(--blau); color: var(--weiss);
  rotate: -1.6deg; scale: 1.04;
  padding: 18px 0; overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(4,29,41,.5);
}
.laufband__spur { display: flex; align-items: center; gap: 28px; width: max-content; white-space: nowrap; }
.laufband span { font: italic 420 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--serif); }
.laufband b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--weiss); color: var(--rot); font: 800 1.4rem/1 var(--sans); }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--flaeche { background: var(--flaeche); }
.section--schmal { padding: clamp(56px, 7vw, 90px) 0; }
.section__kopf { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__kopf--mitte { margin-inline: auto; text-align: center; }
.section__kopf--eng { margin-bottom: 26px; }
.section__kopf p { color: var(--text-leise); font-size: 1.12rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blau-tief);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--rot); border-radius: 2px; }
.section__kopf--mitte .eyebrow::after { content: ''; width: 26px; height: 2px; background: var(--rot); border-radius: 2px; }

.raster { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.raster--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.raster--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .raster--2, .raster--3 { grid-template-columns: 1fr; } }

/* Einblenden (site.js) */
.reveal, [data-tilt] { translate: 0 var(--hoch, 0px); }
.anim .reveal { opacity: 0; --hoch: 46px; }

/* Kippen in 3D */
[data-tilt] {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  transform-style: preserve-3d; will-change: transform;
}
[data-tilt].ist-gekippt { transition: transform .12s linear, box-shadow .4s; }
[data-tilt]::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.55), transparent 45%);
  opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light;
}
[data-tilt].ist-gekippt::after { opacity: 1; }

/* ---------- Karten ---------- */
.karte {
  position: relative; background: var(--weiss); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px); border: 1px solid var(--linie);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  display: flex; flex-direction: column;
}
.karte:hover { box-shadow: var(--schatten); }
.karte p { color: var(--text-leise); }
.karte > .zahl__wert { font: 500 3.4rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1.5px var(--blau); margin-bottom: 18px; }
.karte__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--blau), var(--blau-tief)); color: var(--weiss);
  transform: translateZ(40px); box-shadow: 0 14px 24px -12px rgba(11,111,153,.8);
}
.karte__icon svg { width: 28px; height: 28px; }
.karte__fuss { margin-top: auto; padding-top: 14px; }
.karte__mehr { font-weight: 700; text-decoration: none; }
.karte__mehr::after { content: ' →'; transition: margin .3s; }
.karte__mehr:hover::after { margin-left: 6px; }

.haken, .check-liste { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.haken li, .check-liste li { position: relative; padding-left: 38px; }
.haken li::before, .check-liste li::before {
  content: ''; position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.check-liste--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; }
.check-liste--2 li { background: var(--weiss); border-radius: 18px; padding: 18px 20px 18px 62px; border: 1px solid var(--linie); }
.check-liste--2 li::before { left: 20px; top: 18px; }
@media (max-width: 760px) { .check-liste--2 { grid-template-columns: 1fr; } }

/* ---------- Vertrauen ---------- */
.vertrauen { padding: 70px 0 10px; }
.vertrauen__innen { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 26px 56px; }
.vertrauen__label { width: 100%; text-align: center; margin: 0; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-leise); font-weight: 700; }
.vertrauen img, .trust__innen img { height: 74px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.vertrauen img:hover, .trust__innen img:hover { filter: none; opacity: 1; }
.trust__innen { display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; }

/* ---------- Gestapelte Karten ---------- */
.stapel { display: grid; gap: 7vh; }
.stapel__karte {
  --dunkel: 0;
  position: sticky; top: calc(var(--kopf-h) + 40px + var(--i, 0) * 22px);
  min-height: min(76vh, 620px);
  display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden;
  border-radius: 36px; box-shadow: var(--schatten);
  transform-origin: 50% 0; will-change: transform;
}
.stapel__karte:nth-child(1) { --i: 0; }
.stapel__karte:nth-child(2) { --i: 1; }
.stapel__karte:nth-child(3) { --i: 2; }
.stapel__karte::after { content: ''; position: absolute; inset: 0; background: var(--nacht); opacity: var(--dunkel); pointer-events: none; }
.stapel__text { position: relative; padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.stapel__text h3 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.stapel__text > p { font-size: 1.1rem; max-width: 520px; }
.stapel__text .btn { align-self: flex-start; }
.stapel__nr { position: absolute; top: 26px; right: 32px; font: 500 clamp(4rem, 9vw, 8rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1.5px currentColor; opacity: .25; }
.stapel__karte--blau { background: linear-gradient(135deg, #22b3e8 0%, var(--blau-tief) 100%); color: var(--weiss); }
.stapel__karte--blau .eyebrow, .stapel__karte--petrol .eyebrow { color: rgba(255,255,255,.85); }
.stapel__karte--blau h3 em { color: var(--nacht); }
.stapel__karte--blau .haken li::before { background-color: var(--weiss); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6f99' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.stapel__karte--petrol { background: radial-gradient(90% 120% at 80% 50%, #0d4a60 0%, var(--nacht) 70%); color: var(--weiss); }
.stapel__karte--petrol h3 em { color: var(--blau-hell); }
.stapel__karte--petrol .haken li::before { background-color: var(--rot); }
.stapel__karte--hell { background: var(--weiss); border: 1px solid var(--linie); }
.stapel__karte--hell .stapel__nr { color: var(--blau); opacity: .35; }
.stapel__bild { position: relative; overflow: hidden; }
.stapel__bild--team img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 30%; mix-blend-mode: luminosity; opacity: .9; mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); }
.stapel__bild--herz { display: grid; place-items: center; padding: 40px; }
.herz-linie { width: min(100%, 380px); overflow: visible; }
.herz-linie path { fill: rgba(238,25,39,.12); stroke: var(--rot); stroke-width: 2; filter: drop-shadow(0 0 18px rgba(238,25,39,.55)); }
.herz-linie polyline { fill: none; stroke: var(--weiss); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: schreiben 2.4s ease-in-out infinite; filter: drop-shadow(0 0 8px var(--blau-hell)); }
@keyframes schreiben { 0% { stroke-dashoffset: 340; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -340; } }
.stapel__bild--foto { padding: 26px; }
.stapel__bild--foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 26px; }
@media (max-width: 860px) {
  .stapel__karte { grid-template-columns: 1fr; min-height: 0; top: calc(var(--kopf-h) + 10px + var(--i, 0) * 14px); border-radius: 28px; }
  .stapel__bild { height: 220px; order: -1; }
  .stapel__bild--team img { mask-image: linear-gradient(180deg, #000 55%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .stapel__bild--herz { padding: 20px; }
  .herz-linie { width: 200px; }
  .stapel__bild--foto { padding: 16px 16px 0; }
  .stapel__nr { font-size: 3.6rem; top: 16px; right: 20px; }
}

/* ---------- Parallax-Bruch ---------- */
.bruch { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; color: var(--weiss); isolation: isolate; }
.bruch__bild { position: absolute; inset: 0; z-index: -1; background: var(--nacht); }
.bruch__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; filter: blur(1.5px) saturate(.85); scale: 1.08; opacity: .75; }
.bruch__bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,29,41,.35), rgba(4,29,41,.75)), radial-gradient(70% 60% at 50% 50%, rgba(4,29,41,.15), rgba(4,29,41,.65)); }
.anim .bruch__bild { clip-path: inset(12% 9% round 40px); }
.bruch__text { text-align: center; padding: 120px 0; }
.bruch__zitat { font: 440 clamp(1.9rem, 4.6vw, 3.9rem)/1.14 var(--serif); max-width: 1000px; margin: 0 auto; letter-spacing: -.015em; font-variation-settings: "SOFT" 100; }
.bruch__zitat em { color: var(--blau-hell); }

/* ---------- Ablauf, waagerecht ---------- */
.ablauf { background: var(--nacht); color: var(--weiss); padding-top: clamp(90px, 10vw, 140px); overflow: hidden; }
@media (min-width: 801px) {
  .anim .ablauf { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--kopf-h) + 40px); }
  .anim .ablauf__spur { padding: 9vh 10vw 9vh 8vw; }
}
.ablauf h2 em { color: var(--blau-hell); }
.ablauf .eyebrow { color: var(--blau-hell); }
.ablauf__fenster { overflow: hidden; }
.ablauf__spur { position: relative; display: flex; align-items: center; gap: 7vw; width: max-content; padding: 16vh 10vw 18vh 8vw; }
.ablauf__linie { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.ablauf__linie path { fill: none; stroke: var(--blau); stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(26,166,221,.9)); }
.ablauf__punkt { position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--weiss); box-shadow: 0 0 0 6px rgba(238,25,39,.35), 0 0 24px 6px rgba(238,25,39,.8); opacity: 0; }
.schritt {
  position: relative; z-index: 1; flex: none; width: min(400px, 72vw);
  padding: 34px 32px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .5s, border-color .5s, translate .6s cubic-bezier(.2,.8,.2,1);
}
.schritt:nth-of-type(even) { translate: 0 22%; }
.schritt:nth-of-type(odd) { translate: 0 -22%; }
.schritt.ist-aktiv { background: rgba(26,166,221,.14); border-color: rgba(111,208,242,.6); }
.schritt__nr { display: block; font: 500 4rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1.5px var(--blau-hell); margin-bottom: 14px; transition: color .5s; }
.schritt.ist-aktiv .schritt__nr { color: var(--blau-hell); }
.schritt p { color: rgba(255,255,255,.75); margin: 0; }
@media (max-width: 800px) {
  .ablauf { padding-bottom: 80px; }
  .ablauf__spur { flex-direction: column; width: auto; padding: 50px 22px 0; gap: 18px; align-items: stretch; }
  .schritt, .schritt:nth-of-type(odd), .schritt:nth-of-type(even) { width: auto; translate: none; }
  .ablauf__linie, .ablauf__punkt { display: none; }
}
.ohne-anim .ablauf__spur { flex-wrap: wrap; width: auto; padding: 50px 22px 90px; justify-content: center; }
.ohne-anim .schritt { translate: none !important; }
.ohne-anim .ablauf__linie, .ohne-anim .ablauf__punkt { display: none; }

/* ---------- Zahlen ---------- */
.zahl { position: relative; display: grid; justify-items: center; text-align: center; gap: 14px; }
.zahl__ring { grid-area: 1 / 1; width: 170px; height: 170px; rotate: -90deg; }
.zahl__ring circle { fill: none; stroke: var(--linie); stroke-width: 5; }
.zahl__ring .zahl__bogen { stroke: var(--blau); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 18; }
.anim .zahl__ring .zahl__bogen { stroke-dashoffset: 100; }
.zahl__ring + .zahl__wert { grid-area: 1 / 1; align-self: center; }
.zahl__wert { font: 500 clamp(2.8rem, 5vw, 3.8rem)/1 var(--serif); color: var(--nacht); font-variant-numeric: tabular-nums; }
.zahl__label { color: var(--text-leise); font-weight: 600; max-width: 240px; }
.section--schmal .zahl__wert { color: var(--blau-tief); }

/* ---------- 3D-Karussell ---------- */
.karussell { padding: clamp(90px, 10vw, 140px) 0 clamp(70px, 8vw, 110px); background: linear-gradient(180deg, var(--papier), var(--flaeche)); overflow: hidden; }
.karussell__kopf { text-align: center; max-width: 760px; }
.karussell__kopf p { color: var(--text-leise); font-size: 1.12rem; }
.karussell__buehne { --kw: min(300px, 68vw); --kh: 330px; height: calc(var(--kh) + 140px); display: grid; place-items: center; perspective: 1700px; perspective-origin: 50% 40%; }
.karussell__ring { position: relative; width: var(--kw); height: var(--kh); margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; }
.kachel {
  position: absolute; inset: 0;
  transform: rotateY(calc(var(--i) * var(--winkel, 36deg))) translateZ(var(--r, 520px));
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 30px 28px; border-radius: 30px; background: var(--weiss); border: 1px solid var(--linie);
  box-shadow: 0 30px 50px -30px rgba(4,29,41,.45);
  transition: background-color .5s, color .5s, opacity .5s;
}
.kachel__nr { font: 500 4.4rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1.5px var(--blau); }
.kachel p { margin: 0; font: 650 1.12rem/1.4 var(--sans); }
.kachel.ist-vorne { background: linear-gradient(150deg, #22b3e8, var(--blau-tief)); color: var(--weiss); border-color: transparent; }
.kachel.ist-vorne .kachel__nr { -webkit-text-stroke-color: var(--weiss); }
.karussell__fuss { display: flex; justify-content: center; }
.ohne-anim .karussell__buehne { height: auto; perspective: none; display: block; width: min(100% - 44px, 1200px); margin: 40px auto; }
.ohne-anim .karussell__ring { width: auto; height: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.ohne-anim .kachel { position: static; transform: none; min-height: 220px; }

/* ---------- App ---------- */
.app__raster { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.app__karte {
  position: relative; aspect-ratio: 1; border-radius: 44px; display: grid; place-items: center;
  background: radial-gradient(80% 80% at 30% 20%, #ffffff 0%, #e3f3fa 55%, #cfe9f4 100%);
  box-shadow: var(--schatten);
}
.app__logo { width: 52%; transform: translateZ(80px); filter: drop-shadow(0 26px 30px rgba(4,29,41,.25)); }
.app__ringe { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.app__ringe i { position: absolute; inset: 14%; border-radius: 50%; border: 1.5px dashed rgba(11,111,153,.35); animation: drehen 26s linear infinite; }
.app__ringe i:nth-child(2) { inset: 6%; border-color: rgba(238,25,39,.25); animation-duration: 40s; animation-direction: reverse; transform: translateZ(30px); }
.app__ringe i:nth-child(3) { inset: 22%; border-style: solid; border-color: rgba(26,166,221,.2); transform: translateZ(50px); }
@keyframes drehen { to { rotate: 360deg; } }
@media (max-width: 860px) { .app__raster { grid-template-columns: 1fr; } .app__karte { width: 100%; max-width: 420px; justify-self: center; } }
.app-block { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }

/* ---------- Stimmen ---------- */
.stimmen__raster { align-items: start; }
.zitat {
  position: relative; margin: 0; padding: 38px 34px 30px; border-radius: var(--radius);
  background: var(--weiss); border: 1px solid var(--linie); box-shadow: var(--schatten);
  translate: 0 var(--ty, 0px);
}
.zitat::before {
  content: ''; position: absolute; top: -26px; left: 28px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
  box-shadow: 0 10px 20px -10px rgba(238,25,39,.8);
}
.zitat__text { font: italic 400 1.06rem/1.65 var(--sans); color: #2c434d; margin-bottom: 18px; }
.zitat__quelle { font-weight: 700; color: var(--blau-tief); font-size: .92rem; }
.stimmen__raster .zitat:nth-child(2) { margin-top: 60px; }
@media (max-width: 900px) { .stimmen__raster .zitat:nth-child(2) { margin-top: 0; } }

/* ---------- Team ---------- */
.person { position: relative; background: var(--weiss); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); }
.person__bild, .person__platzhalter { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 18%; transition: scale .8s cubic-bezier(.2,.8,.2,1); }
.person:hover .person__bild { scale: 1.05; }
.person__platzhalter { display: grid; place-items: center; background: linear-gradient(150deg, var(--blau), var(--blau-tief)); color: var(--weiss); font: 500 4.4rem/1 var(--serif); }
.person__text { padding: 22px 24px 26px; transform: translateZ(30px); }
.person__name { font: 520 1.35rem/1.2 var(--serif); margin: 0 0 4px; }
.person__rolle { color: var(--text-leise); margin: 0 0 10px; }
.person__ort { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--flaeche); color: var(--blau-tief); font-size: .8rem; font-weight: 700; }

/* ---------- Akkordeon ---------- */
.akkordeon { display: grid; gap: 14px; }
.akkordeon details { background: var(--weiss); border-radius: 22px; border: 1px solid var(--linie); overflow: hidden; transition: box-shadow .4s; }
.akkordeon details[open] { box-shadow: var(--schatten); }
.akkordeon summary { list-style: none; cursor: pointer; padding: 24px 70px 24px 28px; position: relative; font: 520 1.35rem/1.25 var(--serif); }
.akkordeon summary::-webkit-details-marker { display: none; }
.akkordeon summary::after { content: '+'; position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--flaeche); color: var(--blau-tief); font: 600 1.4rem/1 var(--sans); transition: rotate .35s, background-color .35s, color .35s; }
.akkordeon details[open] summary::after { rotate: 45deg; background: var(--rot); color: var(--weiss); }
.akkordeon__inhalt { padding: 0 28px 24px; color: var(--text-leise); }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--weiss); padding: clamp(100px, 12vw, 170px) 0; background: radial-gradient(90% 120% at 50% 0%, #0d4a60 0%, var(--nacht) 70%); }
.cta-band h2 em { color: var(--blau-hell); }
.cta-band p { color: rgba(255,255,255,.78); font-size: 1.15rem; max-width: 640px; margin-inline: auto; }
.cta-band .btn-gruppe { justify-content: center; }
.cta-band__ekg { position: absolute; left: 0; top: 50%; width: 100%; height: 140px; translate: 0 -50%; z-index: -1; opacity: .5; }
.cta-band__ekg polyline { fill: none; stroke: var(--blau); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 600 1800; animation: monitor 4s linear infinite; }
@keyframes monitor { from { stroke-dashoffset: 2400; } to { stroke-dashoffset: 0; } }

/* ---------- Kontakt ---------- */
.kontakt-raster { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: 1fr; } }
.formular { background: var(--weiss); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--linie); box-shadow: var(--schatten); }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .feld-paar { grid-template-columns: 1fr; } }
.feld { display: grid; gap: 7px; margin-bottom: 18px; }
.feld label { font-weight: 650; font-size: .94rem; }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; color: inherit; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--linie); background: var(--papier); transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.feld textarea { min-height: 170px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); background: var(--weiss); box-shadow: 0 0 0 4px rgba(26,166,221,.18); }
.feld .fehler { color: var(--rot-tief); font-size: .88rem; }
.feld [aria-invalid="true"] { border-color: var(--rot); }
.feld--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.feld--check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blau-tief); }
.feld--check label { font-weight: 400; color: var(--text-leise); }
.pflicht { color: var(--rot); }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hinweis { padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; font-weight: 600; }
.hinweis--ok { background: #e3f6ec; color: #11613a; }
.hinweis--fehler { background: #fde7e8; color: var(--rot-tief); }
.standort { position: relative; background: var(--weiss); border-radius: var(--radius); padding: 28px; border: 1px solid var(--linie); margin-bottom: 20px; }
.standort h3 { margin-bottom: 18px; }
.standort dl { display: grid; grid-template-columns: 24px 1fr; gap: 14px 14px; margin: 0; }
.standort dt { color: var(--blau); }
.standort dt svg { width: 20px; height: 20px; }
.standort dd { margin: 0; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.6em; }
.rechtstext h3 { font-size: 1.2rem; margin-top: 1.4em; }
.rechtstext p, .rechtstext li { color: #2c434d; }
.rechtstext__stand { color: var(--text-leise); font-size: .92rem; margin-top: 40px; }

/* ---------- 404 ---------- */
.fehler { padding: calc(var(--kopf-h) + 120px) 0 120px; text-align: center; }
.fehler__code { font: 500 clamp(7rem, 22vw, 15rem)/.9 var(--serif); color: transparent; -webkit-text-stroke: 2px var(--blau); margin: 0 0 10px; }
.fehler__text { max-width: 560px; margin-inline: auto; color: var(--text-leise); }
.fehler .btn-gruppe { justify-content: center; }

/* ---------- Fußzeile ---------- */
.fuss { background: #03161f; color: #a9bec7; padding: 90px 0 30px; overflow: hidden; }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss__raster { grid-template-columns: 1fr; } }
.fuss__logo { background: var(--weiss); padding: 12px 16px; border-radius: 16px; width: 220px; margin-bottom: 20px; }
.fuss h4, .fuss__kopf { color: var(--weiss); font: 520 1.15rem/1.08 var(--serif); letter-spacing: -.01em; font-variation-settings: "SOFT" 60; margin: 0 0 16px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fuss a { color: #d7e6ec; text-decoration: none; }
.fuss a:hover { color: var(--blau-hell); }
.fuss .fuss__riesig {
  --f: 0%;
  margin: 70px 0 20px; white-space: nowrap;
  font: 480 clamp(2.4rem, 7.4vw, 7.6rem)/1.05 var(--serif); letter-spacing: -.03em; font-variation-settings: "SOFT" 100;
  color: transparent;
  background: linear-gradient(90deg, var(--blau) var(--f), rgba(255,255,255,.09) var(--f)); -webkit-background-clip: text; background-clip: text;
}
.ohne-anim .fuss .fuss__riesig { --f: 100%; }
@media (max-width: 700px) { .fuss .fuss__riesig { white-space: normal; font-size: 13vw; } }
.fuss__unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .92rem; }
.fuss__unten p { margin: 0; }
.fuss__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.fuss__meta a, .fuss__meta button { white-space: nowrap; text-align: left; }
@media (max-width: 700px) { .fuss__unten { padding-bottom: 72px; } }

/* ---------- Nach oben ---------- */
.nach-oben {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: var(--nacht); color: var(--weiss); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 12px 30px -10px rgba(4,29,41,.6); opacity: 0; translate: 0 20px; pointer-events: none;
  transition: opacity .35s, translate .35s, background-color .3s;
}
.nach-oben.ist-sichtbar { opacity: 1; translate: 0 0; pointer-events: auto; }
.nach-oben:hover { background: var(--rot); }
.nach-oben svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* SplitText-Hüllen: kein Umbruch mitten im Wort */
.wort { display: inline-block; white-space: nowrap; }
.zeichen { display: inline-block; }
.zeile { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Cookie-Hinweis ---------- */
.link-knopf { font: inherit; color: var(--blau-tief); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-knopf:hover { color: var(--rot); }
.keks {
  position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(460px, calc(100% - 40px));
  max-height: calc(100vh - 40px); overflow: auto; overscroll-behavior: contain;
  background: var(--nacht); color: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
  opacity: 0; translate: 0 24px; transition: opacity .35s, translate .35s;
}
.keks.ist-offen { opacity: 1; translate: 0 0; }
.keks__innen { padding: 24px 24px 22px; }
.keks__titel { font: 520 1.35rem/1.2 var(--serif); color: var(--weiss); margin: 0 0 .5em; font-variation-settings: "SOFT" 60; }
.keks__text { font-size: .93rem; line-height: 1.55; margin: 0; }
.keks a { color: var(--blau-hell); }
.keks a:hover { color: var(--weiss); }
.keks__details { display: none; margin-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.keks.mit-details .keks__details { display: block; }
.keks__kat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.keks__kat strong { display: block; color: var(--weiss); font-weight: 600; }
.keks__kat small { display: block; font-size: .82rem; line-height: 1.45; color: rgba(255,255,255,.62); margin-top: 2px; }
.keks__immer { flex: none; font-size: .78rem; color: var(--blau-hell); white-space: nowrap; }
.keks__leer { font-size: .82rem; color: rgba(255,255,255,.62); margin: 12px 0 0; }
.keks__schalter { flex: none; appearance: none; width: 44px; height: 26px; border-radius: 13px; background: rgba(255,255,255,.2); position: relative; cursor: pointer; transition: background-color .25s; margin: 0; }
.keks__schalter::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--weiss); transition: translate .25s; }
.keks__schalter:checked { background: var(--blau); }
.keks__schalter:checked::after { translate: 18px 0; }
.keks__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.keks__btn { flex: 1 1 auto; justify-content: center; padding: 11px 18px; font-size: .9rem; }
.keks .btn--geist { color: var(--weiss); }
.keks [data-keks="speichern"], .keks.mit-details [data-keks="details"], .keks.mit-details [data-keks="alle"] { display: none; }
.keks.mit-details [data-keks="speichern"] { display: inline-flex; }
.fuss__meta button { font: inherit; color: #d7e6ec; background: none; border: 0; padding: 0; cursor: pointer; }
.fuss__meta button:hover { color: var(--blau-hell); }
@media (max-width: 560px) { .keks { left: 12px; right: 12px; bottom: 12px; width: auto; } .keks__innen { padding: 20px 18px 18px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .herz-linie polyline { stroke-dashoffset: 0; }
}
