/* ==========================================================================
   NotSan-Trainer – Design-System
   Hybrid: helle Seite, dunkle "Monitor"-Sektionen als Highlights
   ========================================================================== */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-bold.woff") format("woff"); }
@font-face { font-family: "MonitorMono"; font-weight: 700; font-display: swap; src: url("../fonts/mono-bold.woff") format("woff"); }

:root {
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --surface-2: #EEF1F7;
  --ink: #0E1726;
  --ink-2: #364154;
  --muted: #5B6577;
  --line: #E1E6EF;

  --red: #E8322B;
  --red-2: #FF5A3C;
  --red-soft: #FFE9E6;
  --green: #2BE6A0;
  --green-ink: #0A8F5E;
  --cyan: #3CC8F5;
  --amber: #FFC24B;
  --violet: #8B7CFF;

  --navy-950: #060A14;
  --navy-900: #0A1222;
  --navy-800: #111B30;
  --navy-700: #1A2640;
  --navy-line: rgba(255,255,255,.08);

  --grad-red: linear-gradient(135deg, var(--red-2), #D91E26);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(14,23,38,.06), 0 2px 8px rgba(14,23,38,.05);
  --shadow: 0 10px 30px -10px rgba(14,23,38,.18), 0 2px 6px rgba(14,23,38,.05);
  --shadow-lg: 0 40px 80px -30px rgba(14,23,38,.35);
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --container: 1200px;
  --header-h: 76px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "MonitorMono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.text-grad { background: var(--grad-red); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-green { color: var(--green); }
.hl { position: relative; white-space: nowrap; }
.hl svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .5em; overflow: visible; }
.hl path { fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.3s .5s var(--ease); }
.is-in .hl path, .hl.is-in path { stroke-dashoffset: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg-b: var(--ink); --fg-b: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  font-weight: 500; font-size: 1rem; line-height: 1; background: var(--bg-b); color: var(--fg-b);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s; isolation: isolate; overflow: hidden;
  will-change: transform;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.35), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn:hover::after { opacity: 1; }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(14,23,38,.45); }
.btn:active { transform: scale(.97); }
.btn--red { --bg-b: var(--red); background: var(--grad-red); box-shadow: 0 10px 30px -10px rgba(232,50,43,.6); }
.btn--red:hover { box-shadow: 0 18px 40px -12px rgba(232,50,43,.7); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { --bg-b: #fff; --fg-b: var(--ink); }
.btn--glass { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 500; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.badge--soon { background: #FFF6E0; color: #8A5B00; box-shadow: inset 0 0 0 1px #FFE2A3; }
.badge--live { background: #E4FBF2; color: var(--green-ink); box-shadow: inset 0 0 0 1px #B9F2DA; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; }
.dot--pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: ping 1.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Scroll-Fortschritt ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad-red); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; transition: background .35s, box-shadow .35s, transform .45s var(--ease);
}
.site-header.is-scrolled { background: rgba(246,247,251,.78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand .logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(14,23,38,.05); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--red); }
.nav-drop { position: relative; }
.nav-drop > button { background: none; border: 0; padding: 9px 14px; font-size: .95rem; font-weight: 500; color: var(--ink-2); cursor: pointer; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.nav-drop > button:hover { background: rgba(14,23,38,.05); color: var(--ink); }
.nav-drop svg { transition: transform .3s var(--ease); }
.nav-drop:hover svg, .nav-drop:focus-within svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 360px; padding: 10px; border-radius: 20px;
  background: var(--surface); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: top center;
  transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
}
.drop::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.drop a { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; }
.drop a::after { display: none; }
.drop a:hover { background: var(--surface-2); }
.drop strong { display: block; color: var(--ink); font-size: .95rem; }
.drop small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; line-height: 1.35; }
.ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--green); }
.ico--red { background: var(--red-soft); color: var(--red); }
.ico svg { width: 22px; height: 22px; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy-950); color: #fff;
  padding: calc(var(--header-h) + 24px) 24px 32px; display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path .7s var(--ease-in-out); overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 38px); }
.mobile-menu a { color: #fff; text-decoration: none; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; padding: 8px 0; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .6s var(--ease); }
.mobile-menu a small { display: block; font-size: .85rem; font-weight: 400; color: rgba(255,255,255,.55); letter-spacing: 0; }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: .15s; } .menu-open .mobile-menu a:nth-child(2) { transition-delay: .2s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .25s; } .menu-open .mobile-menu a:nth-child(4) { transition-delay: .3s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .35s; } .menu-open .mobile-menu a:nth-child(6) { transition-delay: .4s; }
.menu-open .mobile-menu a:nth-child(7) { transition-delay: .45s; } .menu-open .mobile-menu a:nth-child(8) { transition-delay: .5s; }
.mobile-menu .btn { margin-top: 14px; font-size: 1.05rem; }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .site-header .logo-light { display: none; }
.menu-open .site-header .logo-dark { display: block; }
.menu-open .burger { background: #fff; } .menu-open .burger span { background: var(--ink); }
.menu-open { overflow: hidden; }

@media (max-width: 1020px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .burger { display: inline-block; }
}
@media (max-width: 480px) { .header-cta .btn { display: none; } .brand img { height: 36px; } }

/* ---------- Sektionen ---------- */
main { display: block; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 90px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.section--dark {
  position: relative; background: var(--navy-950); color: #E8EDF7; overflow: clip; isolation: isolate;
  border-radius: clamp(28px, 4vw, 48px); margin: 0 clamp(8px, 1.4vw, 20px);
}
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(43,230,160,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(43,230,160,.06) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.section--dark::after {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: var(--gx, 70%); top: var(--gy, 0%);
  transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(232,50,43,.18), transparent 60%); pointer-events: none; transition: left .6s var(--ease), top .6s var(--ease);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark .muted { color: rgba(232,237,247,.68); }
.section--dark .eyebrow { color: var(--green); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg canvas { width: 100%; height: 100%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 30%, rgba(255,90,60,.10), transparent 70%), radial-gradient(40% 40% at 10% 80%, rgba(43,230,160,.10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 38px; color: var(--muted); font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--green-ink); width: 18px; height: 18px; }
.hero-visual { position: relative; perspective: 1400px; }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow); font-size: .85rem; font-weight: 500; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-chip .ico { width: 34px; height: 34px; border-radius: 10px; }
.float-chip .ico svg { width: 18px; height: 18px; }
.float-chip small { display: block; color: var(--muted); font-weight: 400; font-size: .75rem; }
.float-chip--a { left: -28px; bottom: 16%; }
.float-chip--b { right: -18px; top: -26px; animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .float-chip--a { left: 8px; bottom: -22px; } .float-chip--b { right: 8px; top: -22px; }
}

/* ---------- Gerät / Monitor-Mockup ---------- */
.device {
  position: relative; border-radius: 26px; padding: 12px; background: linear-gradient(160deg, #26324d, #0b1222 60%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.12); transform-style: preserve-3d;
}
.device::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(255,255,255,.3), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.screen { border-radius: 16px; overflow: hidden; background: #03060d; position: relative; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #0A1222; border-bottom: 1px solid var(--navy-line); color: rgba(255,255,255,.7); font-size: .75rem; }
.app-bar b { color: #fff; font-weight: 500; }
.app-bar .dots { display: flex; gap: 6px; } .app-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: #2a3550; }
.app-bar .dots i:first-child { background: var(--red); }

.monitor { display: grid; grid-template-columns: 1fr 132px; gap: 0; background: #03060d; color: #fff; font-family: var(--mono); }
.monitor canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.monitor .waves { position: relative; min-height: 240px; border-right: 1px solid rgba(255,255,255,.06); }
.monitor .lane-label { position: absolute; left: 10px; font-size: 10px; letter-spacing: .08em; opacity: .85; font-family: var(--font); font-weight: 500; }
.vitals { display: grid; grid-auto-rows: 1fr; }
.vital { padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; justify-content: center; position: relative; transition: background .3s; }
.vital:last-child { border-bottom: 0; }
.vital small { font-family: var(--font); font-size: 10px; font-weight: 500; letter-spacing: .06em; opacity: .85; display: flex; justify-content: space-between; }
.vital .val { font-size: 34px; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vital .val.sm { font-size: 22px; }
.vital .unit { font-family: var(--font); font-size: 9px; opacity: .6; }
.vital--hr { color: var(--green); } .vital--spo2 { color: var(--cyan); } .vital--co2 { color: var(--amber); } .vital--nibp { color: #fff; }
.vital.alarm { animation: alarm 1s steps(2) infinite; }
@keyframes alarm { 50% { background: rgba(232,50,43,.35); } }
.heart { display: inline-block; color: var(--red); transition: transform .12s; }
.heart.beat { transform: scale(1.45); }
.monitor-foot { display: flex; gap: 8px; padding: 10px 12px; background: #0A1222; border-top: 1px solid var(--navy-line); flex-wrap: wrap; font-family: var(--font); }
.monitor-foot .act { padding: 7px 11px; border-radius: 9px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); font-size: .72rem; font-weight: 500; border: 1px solid rgba(255,255,255,.08); transition: background .25s, transform .25s; }
.monitor-foot .act.on { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.msg-row { min-height: 54px; padding: 8px 12px; background: #050913; border-top: 1px solid var(--navy-line); display: flex; align-items: center; }
.monitor-msg { width: 100%; padding: 8px 12px; border-radius: 10px; background: rgba(43,230,160,.06); border: 1px solid rgba(43,230,160,.18); color: #fff; font-family: var(--font); font-size: .78rem; line-height: 1.4; backdrop-filter: blur(6px); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.monitor-msg.show { opacity: 1; transform: none; }
.monitor-msg b { color: var(--green); }
@media (max-width: 560px) {
  .monitor { grid-template-columns: 1fr 96px; }
  .vital .val { font-size: 24px; } .vital .val.sm { font-size: 16px; }
  .monitor .waves { min-height: 200px; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.marquee-item svg { width: 20px; height: 20px; color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Karten ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx, -100px) var(--my, -100px), rgba(232,50,43,.08), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.card h3 { margin-top: 18px; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 52px; height: 52px; border-radius: 16px; }
.card .ico svg { width: 26px; height: 26px; }
.card--dark { background: var(--navy-800); color: #E8EDF7; box-shadow: inset 0 0 0 1px var(--navy-line); }
.card--dark::before { background: radial-gradient(400px circle at var(--mx, -100px) var(--my, -100px), rgba(43,230,160,.12), transparent 45%); }
.card--dark p { color: rgba(232,237,247,.7); }
.card-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; font-weight: 500; text-decoration: none; color: var(--red); }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card-link .arrow { transition: transform .3s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(5px); }
.card .num { font-family: var(--mono); font-size: .8rem; color: var(--muted); position: absolute; right: 26px; top: 26px; }

/* Feature-Liste */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checks li::before { content: ""; width: 26px; height: 26px; border-radius: 8px; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8322B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/15px no-repeat; margin-top: 2px; }
.section--dark .checks li::before, .page-hero--dark .checks li::before { background-color: rgba(43,230,160,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BE6A0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }

/* ---------- Split-Layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--navy-line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--navy-900); padding: 30px 26px; }
.stat .n { font-family: var(--mono); font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat .n em { font-style: normal; color: var(--green); }
.stat p { margin: 10px 0 0; color: rgba(232,237,247,.65); font-size: .92rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Horizontal-Showcase (gepinnt) ---------- */
.hscroll { position: relative; height: calc(var(--panels, 3) * 100vh); }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.hscroll-head h2 { margin: 0; }
.hscroll-count { font-family: var(--mono); color: rgba(255,255,255,.5); font-size: .95rem; white-space: nowrap; }
.hscroll-count b { color: var(--green); font-size: 1.6rem; }
.hscroll-track { display: flex; gap: 28px; padding-left: max(16px, calc((100vw - var(--container)) / 2)); will-change: transform; }
.panel {
  flex: 0 0 min(980px, 86vw); display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: center;
  padding: clamp(24px, 3.5vw, 44px); border-radius: 30px; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); box-shadow: inset 0 0 0 1px var(--navy-line);
}
.panel h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.panel p { color: rgba(232,237,247,.7); }
.panel .tag { font-family: var(--mono); color: var(--green); font-size: .8rem; letter-spacing: .1em; }
.hscroll-bar { margin-top: 36px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.hscroll-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--hp, 0)); background: linear-gradient(90deg, var(--green), var(--cyan)); }
@media (max-width: 900px) {
  .hscroll { height: auto; }
  .hscroll-sticky { position: static; height: auto; padding: 90px 0; }
  .hscroll-track { flex-direction: column; padding: 0 16px; transform: none !important; }
  .panel { flex: auto; grid-template-columns: 1fr; }
  .hscroll-bar, .hscroll-count { display: none; }
}

/* Mini-UI-Mockups in Panels */
.mock { border-radius: 18px; overflow: hidden; background: #03060d; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 1px var(--navy-line); font-size: .85rem; }
.mock-body { padding: 18px; color: #E8EDF7; display: grid; gap: 12px; }
.mock .q { font-weight: 500; color: #fff; }
.opt { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: all .4s var(--ease); }
.opt i { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(255,255,255,.25); flex: none; font-style: normal; font-size: .72rem; display: grid; place-items: center; }
.opt.right { background: rgba(43,230,160,.12); border-color: rgba(43,230,160,.5); }
.opt.right i { background: var(--green); border-color: var(--green); color: var(--navy-950); }
.opt.wrong { background: rgba(232,50,43,.12); border-color: rgba(232,50,43,.5); }
.feedback { padding: 12px 14px; border-radius: 12px; background: rgba(60,200,245,.08); border-left: 3px solid var(--cyan); color: rgba(232,237,247,.85); font-size: .8rem; }
.flash { perspective: 1000px; height: 200px; }
.flash-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flash.flipped .flash-inner { transform: rotateY(180deg); }
.flash-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(150deg, #1a2640, #0d1628); border: 1px solid rgba(255,255,255,.1); }
.flash-face.back { transform: rotateY(180deg); background: linear-gradient(150deg, #13243a, #0a1a26); }
.flash-face h4 { font-size: 1.5rem; margin: 6px 0; color: #fff; }
.flash-face dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .78rem; }
.flash-face dt { color: var(--green); } .flash-face dd { margin: 0; color: rgba(232,237,247,.8); }
.calc { font-family: var(--mono); background: rgba(255,194,75,.08); border: 1px solid rgba(255,194,75,.3); border-radius: 12px; padding: 12px 14px; color: var(--amber); font-size: .8rem; }
.strip { height: 110px; border-radius: 12px; background: #fff8f6; background-image: linear-gradient(rgba(232,50,43,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(232,50,43,.15) 1px, transparent 1px), linear-gradient(rgba(232,50,43,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(232,50,43,.07) 1px, transparent 1px); background-size: 25px 25px, 25px 25px, 5px 5px, 5px 5px; overflow: hidden; }
.strip canvas { width: 100%; height: 100%; }

/* ---------- Shorts ---------- */
.shorts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.short { position: relative; }
.short:nth-child(2) { margin-top: 60px; }
.phone { position: relative; border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #2a3654, #0a1120); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.15); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 20px; background: #000; z-index: 2; }
.phone video, .phone .poster { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 33px; background: #03060d; }
.short figcaption { margin-top: 18px; text-align: center; }
.short figcaption strong { display: block; color: #fff; }
.short figcaption span { color: rgba(232,237,247,.6); font-size: .9rem; }
.play-state { position: absolute; right: 22px; bottom: 22px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; cursor: pointer; }
@media (max-width: 860px) {
  .shorts { grid-template-columns: repeat(3, 72vw); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 20px; margin: 0 -16px; }
  .short { scroll-snap-align: center; } .short:nth-child(2) { margin-top: 0; }
}

/* ---------- Schritte ---------- */
.steps { position: relative; display: grid; gap: 22px; counter-reset: s; }
.steps-line { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--grad-red); transform-origin: top; transform: scaleY(var(--sp, 0)); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start; position: relative; }
.step-n { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); font-weight: 700; font-size: 1.2rem; position: relative; z-index: 1; transition: background .5s, color .5s, box-shadow .5s; }
.step.is-in .step-n { background: var(--ink); color: #fff; box-shadow: 0 0 0 6px var(--bg); }
.step h3 { margin: 14px 0 6px; }

/* ---------- Preise ---------- */
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); position: relative; margin-bottom: 40px; }
.toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 11px 22px; border-radius: 999px; font-weight: 500; cursor: pointer; color: var(--muted); transition: color .3s; }
.toggle button[aria-pressed="true"] { color: #fff; }
.toggle .pill { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-group[hidden] { display: none; }
.price {
  position: relative; padding: 34px 30px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s;
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price--hot { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); }
.price--hot .muted, .price--hot .checks li { color: rgba(232,237,247,.75); }
.price--hot .checks li::before { background-color: rgba(43,230,160,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BE6A0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.price .ribbon { position: absolute; top: 18px; right: 18px; padding: 6px 12px; border-radius: 999px; background: var(--grad-red); color: #fff; font-size: .75rem; font-weight: 500; }
.price h3 { margin: 0 0 6px; }
.price .amount { font-size: 3rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 20px 0 6px; }
.price .amount small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price--hot .amount small { color: rgba(232,237,247,.6); }
.price .checks { margin: 24px 0 28px; font-size: .95rem; }
.price .btn { margin-top: auto; }
.price-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 26px; }
.placeholder-badge { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 6px; background: #FFF6E0; color: #8A5B00; font-size: .72rem; vertical-align: middle; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 500; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1726' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .45s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--red-soft); }
.faq .answer { padding: 0 26px 24px; color: var(--ink-2); overflow: hidden; }
.faq .answer p:last-child { margin: 0; }

/* ---------- Formulare ---------- */
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { position: relative; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 7px; }
.field label .opt-l { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(14,23,38,.08); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--red); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: #E4FBF2; color: #065F3E; }
.form-status.err { display: block; background: var(--red-soft); color: #9B1C17; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
.btn[aria-busy="true"]::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-anim { text-align: center; padding: 30px 0 10px; }
.success-anim svg { width: 84px; height: 84px; margin: 0 auto 18px; }
.success-anim circle { stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw 1s var(--ease) forwards; }
.success-anim path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; padding: clamp(50px, 7vw, 90px); border-radius: 36px; background: var(--grad-red); color: #fff; overflow: hidden; isolation: isolate; }
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 52ch; }
.cta-band .ekg-deco { position: absolute; right: -40px; bottom: 0; width: 70%; height: 100%; z-index: -1; opacity: .35; }
.cta-band .ekg-deco path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.cta-band.is-in .ekg-deco path { animation: dash 3s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* ---------- Seitentitel Unterseiten ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(50px, 8vw, 110px)) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero .lead { margin-bottom: 30px; }
.page-hero--dark { background: var(--navy-950); color: #fff; border-radius: 0 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px); isolation: isolate; }
.page-hero--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(43,230,160,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(43,230,160,.07) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 60% 20%, #000 20%, transparent 70%); }
.page-hero--dark h1 { color: #fff; } .page-hero--dark .lead { color: rgba(232,237,247,.72); }
.page-hero--dark .eyebrow { color: var(--green); }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { text-decoration: none; } .breadcrumb a:hover { color: var(--red); }
.page-hero--dark .breadcrumb { color: rgba(255,255,255,.5); }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .4em; }
.prose a { color: var(--red); }
.notice { padding: 18px 22px; border-radius: 16px; background: #FFF6E0; color: #6B4700; box-shadow: inset 0 0 0 1px #FFE2A3; font-size: .95rem; margin-bottom: 32px; }
.ph { background: #FFF1B8; padding: 0 4px; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(60px, 8vw, 110px); background: var(--navy-950); color: rgba(232,237,247,.7); padding: 80px 0 30px; border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0; position: relative; overflow: hidden; }
.footer-ekg { position: absolute; left: 0; right: 0; top: 0; height: 60px; opacity: .5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer li { overflow-wrap: anywhere; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; } .site-footer a:hover { color: #fff; }
.site-footer .brand img { height: 44px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: .85rem; }
.footer-word { font-size: clamp(2.6rem, 10.4vw, 10.6rem); font-weight: 700; letter-spacing: -.05em; line-height: .85; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); margin: 50px 0 -10px; white-space: nowrap; user-select: none; }
.newsletter { display: flex; gap: 8px; margin-top: 18px; max-width: 380px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: .92rem; }
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter input:focus { outline: none; border-color: var(--green); }
.newsletter-msg { font-size: .85rem; margin-top: 10px; min-height: 1.3em; }
.disclaimer { font-size: .8rem; color: rgba(232,237,247,.45); margin-top: 22px; max-width: 46ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal-Animationen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="blur"] { filter: blur(12px); transform: translateY(20px); transition-property: opacity, transform, filter; }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.split-w { display: inline-block; max-width: 100%; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.is-in .split-w > span, .split-w.is-in > span { transform: none; }

.draw path { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset 2s var(--ease); }
.draw.is-in path { stroke-dashoffset: 0; }

/* Cursor-Glow in dunklen Bereichen */
.cursor-glow { position: fixed; left: 0; top: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(43,230,160,.10), transparent 60%); opacity: 0; transition: opacity .4s; mix-blend-mode: screen; }
.cursor-glow.on { opacity: 1; }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .center { text-align: center; }
.stack > * + * { margin-top: 18px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--navy-line); font-size: .85rem; }
.light .pill-list span, .pill-list.light span { background: var(--surface); border-color: var(--line); }
.divider-ekg { height: 80px; width: 100%; }
.err-code { font-family: var(--mono); font-size: clamp(5rem, 18vw, 12rem); line-height: 1; color: var(--ink); letter-spacing: -.05em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .split-w > span { transform: none; }
  .marquee-track { animation: none; }
}

/* Schritte in dunklen Sektionen */
.section--dark .steps-line { background: var(--navy-line); }
.section--dark .step-n { background: var(--navy-800); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); }
.section--dark .step.is-in .step-n { background: var(--green); color: var(--navy-950); box-shadow: 0 0 0 6px var(--navy-950), 0 0 30px rgba(43,230,160,.4); }
.section--dark .steps-line i { background: linear-gradient(var(--green), var(--cyan)); }

/* EKG-Galerie */
.strip-card { padding: 18px; }
.strip-card .strip { height: 120px; margin-bottom: 14px; }
.strip-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.strip-card p { font-size: .9rem; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tag-row span { font-size: .72rem; font-weight: 500; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.tag-row .shock { background: var(--red-soft); color: #9B1C17; }

/* Feature-Tabelle */
.ftable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); font-size: .95rem; }
.ftable th, .ftable td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ftable tr:last-child td { border-bottom: 0; }
.ftable thead th { background: var(--navy-950); color: #fff; font-weight: 500; font-size: .85rem; letter-spacing: .04em; }
.ftable tbody tr { transition: background .2s; }
.ftable tbody tr:hover { background: var(--bg); }
.ftable td:first-child { font-weight: 500; width: 32%; }
.ftable .group td { background: var(--surface-2); font-weight: 700; color: var(--ink); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; border-radius: 22px; }
@media (max-width: 700px) { .ftable td:first-child { width: auto; } .ftable th, .ftable td { padding: 12px 14px; } }

/* Kontakt-Infos */
.info-list { display: grid; gap: 14px; }
.info-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.info-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.info-item .ico { width: 48px; height: 48px; }
.info-item small { display: block; color: var(--muted); }

/* Timeline (Über uns) */
.timeline { position: relative; display: grid; gap: 30px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--red), var(--green)); border-radius: 2px; }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -33px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px var(--red); }
.section--dark .tl-item::before { background: var(--navy-950); box-shadow: inset 0 0 0 3px var(--green); }
.tl-item h3 { margin: 0 0 4px; }
.tl-item .when { font-family: var(--mono); font-size: .8rem; color: var(--red); letter-spacing: .06em; }
.section--dark .tl-item .when { color: var(--green); }

/* Admin */
.admin-wrap { padding: calc(var(--header-h) + 40px) 0 60px; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); flex-wrap: wrap; }
.tabs button { border: 0; background: none; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs .count { display: inline-block; min-width: 22px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: .75rem; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { background: var(--surface-2); font-size: .8rem; }
.admin-table td.msg { max-width: 420px; white-space: pre-wrap; color: var(--ink-2); }
.admin-table select { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); font: inherit; font-size: .85rem; }
.status-new { color: var(--red); font-weight: 700; }
.icon-btn { border: 0; background: var(--surface-2); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: .8rem; }
.icon-btn:hover { background: var(--red-soft); color: #9B1C17; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.kpi { padding: 18px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.kpi b { display: block; font-size: 1.8rem; font-family: var(--mono); }
.kpi span { color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr 1fr; } .admin-table { display: block; overflow-x: auto; } }

/* Header über dunklem Seitenkopf */
.hero-dark .site-header:not(.is-scrolled) .logo-light { display: none; }
.hero-dark .site-header:not(.is-scrolled) .logo-dark { display: block; }
.hero-dark .site-header:not(.is-scrolled) .nav a,
.hero-dark .site-header:not(.is-scrolled) .nav-drop > button { color: rgba(255,255,255,.78); }
.hero-dark .site-header:not(.is-scrolled) .nav a:hover,
.hero-dark .site-header:not(.is-scrolled) .nav-drop > button:hover { color: #fff; background: rgba(255,255,255,.08); }
.hero-dark .site-header:not(.is-scrolled) .nav a[aria-current="page"] { color: #fff; }
.hero-dark .site-header:not(.is-scrolled) .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.hero-dark .site-header:not(.is-scrolled) .burger { background: #fff; }
.hero-dark .site-header:not(.is-scrolled) .burger span { background: var(--ink); }
.hero-dark .drop a { color: var(--ink-2); }
.hero-dark .site-header .drop a { color: var(--ink-2) !important; background: none; }
.hero-dark .site-header .drop a:hover { background: var(--surface-2) !important; }

/* Mindestabnahme-Kasten (Preise für Schulen) */
.min-pack { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.min-pack > div:first-child { flex: 1 1 420px; }
.price .amount small { display: inline-block; }
.price-group[data-group="school"] .amount small { display: block; margin-top: 10px; }
