/* ============================================================
   SEQUENTIC · sequentic.eu
   Eine Bühne, schwebende Akten: Cover-Navy-Mesh mit Licht-Orbs,
   helle Papier-Objekte, dunkles Glas. Teal führt, Signal-Cyan
   nur am aktiven Schritt. Corporate Design v4.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy: #0A1628;
  --navy-deep: #060e1a;
  --paper: #f8fafa;
  --ink: #0f1d1b;
  --ink-soft: #3d524d;
  --mute: #64748b;
  --teal: #0d9488;
  --teal-deep: #0b7c72;
  --mint: #2dd4bf;
  --signal: #22d3ee;
  --ok: #10b981;
  --warn: #f59e0b;
  --err: #ef4444;
  --line: #dbe5e3;
  --line-dark: rgba(163, 199, 214, 0.14);
  --t-dark-body: #c3cfdd;
  --t-dark-dim: #8da0b3;
  --f-ui: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --f-text: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --wrap: 74rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-win: 0 2px 6px rgba(6, 15, 31, 0.4), 0 34px 90px rgba(6, 15, 31, 0.55);
  --shadow-sheet: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 2px rgba(6, 15, 31, 0.28), 0 4px 8px rgba(6, 15, 31, 0.2), 0 16px 32px rgba(6, 15, 31, 0.2), 0 48px 96px rgba(6, 15, 31, 0.34);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--navy-deep);
}
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--t-dark-body);
  background: transparent;
}
h1, h2, h3, h4 { font-family: var(--f-ui); line-height: 1.15; margin: 0; }
p, ul, ol, dl, figure, table { margin: 0; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: 8px;
  font-family: var(--f-ui); font-weight: 600; transition: top 0.2s;
}
.skip:focus { top: 1rem; }

/* ---------- Die Bühne ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(60rem 42rem at 88% -18%, rgba(16, 68, 82, 0.5), transparent 62%),
    radial-gradient(50rem 36rem at -12% 112%, rgba(18, 46, 84, 0.55), transparent 60%),
    linear-gradient(158deg, #0e1e38 0%, var(--navy) 46%, var(--navy-deep) 100%);
}
.orb { position: absolute; will-change: transform; }
.orb::before {
  content: ""; display: block; width: 100%; height: 100%; border-radius: 50%;
  filter: blur(85px) saturate(1.4);
  transition: opacity 1.4s ease;
}
.orb--1 { width: 46rem; height: 46rem; left: -13rem; top: -11rem; }
.orb--1::before { background: radial-gradient(circle at 38% 38%, rgba(45, 212, 191, 0.2), transparent 68%); animation: drift1 46s ease-in-out infinite alternate; }
.orb--2 { width: 42rem; height: 42rem; right: -15rem; top: 26%; }
.orb--2::before { background: radial-gradient(circle at 42% 40%, rgba(64, 130, 214, 0.19), transparent 68%); animation: drift2 56s ease-in-out infinite alternate; }
.orb--3 { width: 36rem; height: 36rem; left: 16%; bottom: -15rem; }
.orb--3::before { background: radial-gradient(circle at 40% 42%, rgba(45, 212, 191, 0.11), transparent 68%); animation: drift3 64s ease-in-out infinite alternate; }
@keyframes drift1 { from { transform: translate(0, 0); } to { transform: translate(3rem, 2.2rem); } }
@keyframes drift2 { from { transform: translate(0, 0); } to { transform: translate(-3.4rem, 2.8rem); } }
@keyframes drift3 { from { transform: translate(0, 0); } to { transform: translate(2.6rem, -2.4rem); } }
body.is-finale .orb::before { opacity: 0.35; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-ui); font-weight: 700; font-size: 0.95rem;
  color: #fff; background: var(--teal);
  padding: 0.78rem 1.4rem; border-radius: 10px; border: 1px solid transparent;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.btn:hover {
  background: #0ba192; text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.4);
}
.btn--small { padding: 0.5rem 1rem; font-size: 0.85rem; border-radius: 8px; }
.btn--big { padding: 1rem 1.9rem; font-size: 1.05rem; border-radius: 12px; }
.btn--ghost {
  background: transparent; color: #dbe7ee;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover { color: #fff; border-color: var(--mint); background: rgba(255, 255, 255, 0.06); box-shadow: none; }

/* ---------- Kopf ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.25s, box-shadow 0.25s;
}
.top.is-scrolled {
  background: rgba(7, 15, 29, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 12px 34px rgba(0, 0, 0, 0.3);
}
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 4rem; }
.top__right { display: flex; align-items: center; gap: 1.2rem; flex: none; }
.top__login { font-family: var(--f-ui); font-weight: 600; font-size: 0.9rem; color: var(--t-dark-body); white-space: nowrap; }
.top__login:hover { color: #fff; text-decoration: none; }
.top__right .btn--small { white-space: nowrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand__mark { color: #e8eef4; flex: none; }
.brand__word { font-family: var(--f-ui); font-size: 1.22rem; letter-spacing: -0.01em; color: #fff; }
.brand__word b { font-weight: 700; }
.brand__word i { font-style: normal; font-weight: 400; color: var(--mint); }
.top__progress {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: transparent;
}
.top__progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--teal), var(--mint));
}

/* ---------- Vorgangsleiste ---------- */
.rail {
  position: fixed; right: clamp(0.75rem, 2vw, 2rem); top: 50%; z-index: 40;
  transform: translateY(-50%) translateX(14px);
  display: none; flex-direction: column; align-items: flex-end; gap: 0.4rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.rail.is-live { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.rail__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.rail__node, .rail__goal {
  display: flex; align-items: center; justify-content: flex-end; gap: 0.6rem;
  padding: 0.15rem 0;
}
.rail__node:hover, .rail__goal:hover { text-decoration: none; }
.rail__label {
  display: none;
  font-family: var(--f-ui); font-weight: 600; font-size: 0.66rem;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--t-dark-dim); opacity: 0.8; transition: color 0.2s, opacity 0.2s;
}
.rail__node:hover .rail__label, .rail__goal:hover .rail__label { opacity: 1; color: #fff; }
.rail__ring { position: relative; width: 30px; height: 30px; flex: none; }
.rail__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rail__ring b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-ui); font-weight: 700; font-size: 0.58rem; font-style: normal;
  color: var(--t-dark-dim); transition: color 0.2s;
}
.rail__bg { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 2.5; }
.rail__fill {
  fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 75.4; stroke-dashoffset: 75.4;
  transition: stroke-dashoffset 0.25s linear, stroke 0.25s;
}
.rail__node.is-active .rail__label { color: var(--mint); opacity: 1; }
.rail__node.is-active .rail__ring b { color: var(--mint); }
.rail__node.is-active .rail__fill { stroke: var(--signal); }
.rail__goal { margin-top: 0.5rem; }
.rail__goalring { position: relative; width: 44px; height: 44px; flex: none; }
.rail__goalring svg:first-child { width: 100%; height: 100%; transform: rotate(-90deg); }
.rail__goalring .rail__bg { stroke-width: 3; }
.rail__goalfill {
  fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 113.1; stroke-dashoffset: 113.1;
  transition: stroke-dashoffset 0.2s linear, stroke 0.3s;
}
.rail__goalicon {
  position: absolute; inset: 0; margin: auto; width: 17px; height: 17px;
  color: var(--t-dark-dim); transition: color 0.3s;
}
.rail__goal.is-ready .rail__goalfill { stroke: var(--signal); }
.rail__goal.is-ready .rail__goalicon { color: var(--signal); }
.rail__goal.is-ready .rail__goalring { animation: goalBeat 2.8s ease-in-out infinite; }
@keyframes goalBeat {
  0%, 28%, 100% { transform: scale(1); filter: none; }
  8% { transform: scale(1.09); filter: drop-shadow(0 0 7px rgba(34, 211, 238, 0.55)); }
  16% { transform: scale(1); }
  22% { transform: scale(1.06); filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.4)); }
}
.no-js .rail { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  padding-top: 8.5rem;
  padding-bottom: clamp(4rem, 7vw, 6rem);
}
.hero__wm {
  position: absolute; top: -6rem; right: -7rem; width: 42rem; height: 42rem;
  color: var(--mint); opacity: 0.05; transform: rotate(-9deg);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__ey {
  font-family: var(--f-ui); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint);
  margin-bottom: 1.4rem;
}
.hero__h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.9rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.08;
  max-width: 20ch; color: #fff;
}
.hero__q, .hero__a { display: block; }
.hero__lead {
  margin-top: 1.6rem; font-size: 1.13rem; line-height: 1.7;
  color: var(--t-dark-body); max-width: 54ch;
}
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__meta {
  list-style: none; padding: 0; margin: 2.6rem 0 0;
  display: grid; gap: 0.55rem;
  border-top: 1px solid var(--line-dark); padding-top: 1.4rem;
  max-width: 34rem;
}
.hero__meta li {
  font-size: 0.92rem; color: var(--t-dark-dim);
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.8rem; align-items: baseline;
}
.hero__meta b {
  font-family: var(--f-ui); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint);
}
.hero__claim {
  margin-top: 2.4rem; font-family: var(--f-ui); font-weight: 600;
  font-size: 0.95rem; color: #7f95a8;
}

/* ---------- Bühne / Produktfenster ---------- */
.stage { position: relative; }
.stage__tilt {
  transform: perspective(1100px) rotateY(-5deg) rotateX(1.2deg);
  will-change: transform;
}
.stage__hint {
  margin-top: 1.1rem; font-size: 0.85rem; color: var(--t-dark-dim); text-align: center;
}
.pw {
  border-radius: 18px;
  background: linear-gradient(150deg, #143a48 0%, #0f2a3a 48%, #0a1f2e 100%);
  box-shadow: var(--shadow-win), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 1.1rem 1.2rem;
}
.pw__chrome { display: flex; align-items: flex-start; gap: 1rem; padding: 0.2rem 0.3rem 0.8rem; }
.pw__meta { min-width: 0; }
.pw__title { display: block; font-family: var(--f-ui); font-weight: 700; font-size: 1.02rem; color: #fff; }
.pw__sub { display: block; font-size: 0.78rem; color: #9fb4b2; margin-top: 0.15rem; }
.pw__badge {
  margin-left: auto; flex: none;
  font-family: var(--f-ui); font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mint); background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 0.3rem 0.6rem; border-radius: 99px;
}
.pw__progress { display: flex; align-items: center; gap: 0.7rem; padding: 0 0.3rem 0.9rem; }
.pw__bar {
  flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden;
}
.pw__bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  border-radius: 3px; transition: width 0.4s ease;
}
.pw__count { font-family: var(--f-ui); font-weight: 700; font-size: 0.78rem; color: var(--mint); }
.pw__card {
  background: #e9eff2; border: 1px solid #d3dee3; border-radius: 13px;
  padding: 0.9rem;
}
.pw__cardhead { display: flex; align-items: center; gap: 0.55rem; padding: 0.1rem 0.2rem 0.75rem; }
.pw__num { font-family: var(--f-ui); font-weight: 800; font-size: 1.15rem; color: rgba(15, 29, 27, 0.28); }
.pw__cardtitle { font-family: var(--f-ui); font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.pw__ring { margin-left: auto; width: 26px; height: 26px; }
.pw__ring svg { transform: rotate(-90deg); }
.pw__ringbg { fill: none; stroke: rgba(15, 29, 27, 0.12); stroke-width: 3; }
.pw__ringfill {
  fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 69.1; stroke-dashoffset: 69.1; transition: stroke-dashoffset 0.4s ease;
}
.pw__step { display: none; }
.pw__step.is-on { display: block; animation: stepIn 0.35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pw__q {
  font-family: var(--f-ui); font-weight: 600; font-size: 0.92rem; color: var(--ink);
  background: #fff; border: 1px solid #e1e8ed; border-radius: 10px 10px 0 0;
  border-bottom: 0; padding: 0.75rem 0.9rem;
}
.pw__opts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  background: #fff; border: 1px solid #e1e8ed; border-top: 0;
  border-radius: 0 0 10px 10px; padding: 0.7rem 0.9rem 0.9rem;
}
.pw__opt {
  font-family: var(--f-ui); font-weight: 600; font-size: 0.84rem; color: var(--ink-soft);
  background: #fff; border: 1px solid #d8e1e6; border-radius: 9px;
  padding: 0.6rem 0.7rem; text-align: left;
  border-left-width: 3px; transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.pw__opt--ok { border-left-color: var(--ok); }
.pw__opt--bad { border-left-color: var(--err); }
.pw__opt:hover { transform: translateY(-1px); }
.pw__opt--ok:hover { border-color: var(--ok); background: #f2fbf7; }
.pw__opt--bad:hover { border-color: var(--err); background: #fdf5f4; }
.pw__task {
  display: flex; align-items: center; gap: 0.7rem; width: 100%;
  background: #fff; border: 1px solid #e1e8ed; border-radius: 10px;
  padding: 0.8rem 0.9rem; text-align: left;
  font-family: var(--f-ui); font-weight: 600; font-size: 0.9rem; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.pw__task:hover {
  border-color: rgba(13, 148, 136, 0.5); transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 40, 51, 0.11);
}
.pw__check {
  flex: none; width: 22px; height: 22px; border-radius: 7px;
  border: 2px solid #c3d2d8; color: transparent; display: grid; place-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pw__check svg { width: 13px; height: 13px; }
.pw__task.is-done .pw__check { background: var(--ok); border-color: var(--ok); color: #fff; }
.pw__tag {
  margin-left: auto; font-style: normal; font-family: var(--f-ui); font-weight: 700;
  font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-deep); background: rgba(13, 148, 136, 0.1);
  padding: 0.22rem 0.5rem; border-radius: 6px;
}
.pw__exit {
  background: #fdf2ef; border: 1px solid #f3c8bf; border-left: 3px solid var(--err);
  border-radius: 10px; padding: 0.85rem 1rem;
}
.pw__exithead { font-family: var(--f-ui); font-weight: 700; font-size: 0.9rem; color: #9f2f22; }
.pw__exitbody { font-size: 0.86rem; color: #6d4a43; margin-top: 0.35rem; line-height: 1.55; }
.pw__reset {
  margin-top: 0.7rem; background: none; border: 1px solid #d8e1e6; border-radius: 8px;
  font-family: var(--f-ui); font-weight: 600; font-size: 0.78rem; color: var(--ink-soft);
  padding: 0.45rem 0.8rem;
}
.pw__reset:hover { border-color: var(--teal); color: var(--teal-deep); }
.pw__done { display: none; margin-top: 0.75rem; }
.pw__done.is-on { display: block; animation: stepIn 0.35s ease; }
.pw__donehead {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--f-ui); font-weight: 700; font-size: 0.95rem; color: #d9f5ee;
  padding: 0.1rem 0.2rem 0.7rem;
}
.pw__donehead svg { width: 20px; height: 20px; color: var(--mint); flex: none; }
.pw__vermerkbtn {
  width: 100%;
  font-family: var(--f-ui); font-weight: 700; font-size: 0.95rem; color: #fff;
  background: linear-gradient(135deg, var(--teal), #0e7490);
  border: 0; border-radius: 10px; padding: 0.8rem 1rem;
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}
.pw__vermerkbtn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(13, 148, 136, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.pw__vermerk {
  margin-top: 0.75rem; background: #fff; border: 1px solid #e1e8ed; border-radius: 10px;
  padding: 1rem 1.1rem;
}
.pw__vh {
  font-family: var(--f-ui); font-weight: 700; font-size: 0.66rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
  padding-bottom: 0.5rem; border-bottom: 1px solid #e8eeed; margin-bottom: 0.6rem;
}
.pw__vline {
  font-size: 0.86rem; line-height: 1.6; color: var(--ink-soft); margin-top: 0.45rem;
  opacity: 0; transform: translateY(4px); transition: opacity 0.45s ease, transform 0.45s ease;
}
.pw__vline.is-typed { opacity: 1; transform: none; }
.pw__vsig {
  font-family: var(--f-ui); font-weight: 600; font-size: 0.76rem; color: var(--teal-deep);
  margin-top: 0.7rem; opacity: 0; transition: opacity 0.45s ease 0.15s;
}
.pw__vsig.is-typed { opacity: 1; }

/* ---------- Sektionen auf der Bühne ---------- */
.sec { padding-block: clamp(2.6rem, 5vw, 4.2rem); }

/* Schwebende Papier-Objekte */
.sheet {
  background: var(--paper); color: var(--ink);
  border-radius: 24px;
  padding: clamp(1.8rem, 4.5vw, 3.8rem);
  box-shadow: var(--shadow-sheet);
}
.pane {
  color: #fff;
  background: linear-gradient(165deg, rgba(20, 40, 68, 0.6), rgba(9, 20, 38, 0.68));
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(163, 199, 214, 0.17);
  border-radius: 24px;
  padding: clamp(1.8rem, 4.5vw, 3.8rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 2px 5px rgba(6, 15, 31, 0.42), 0 48px 130px rgba(6, 15, 31, 0.5);
}
.js .sheet, .js .pane, .js .akte {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js .sheet.is-in, .js .pane.is-in, .js .akte.is-in { opacity: 1; transform: none; }

.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.sheet__top .sec__ey { margin-bottom: 0; }
.sring { width: 26px; height: 26px; flex: none; }
.sring svg { transform: rotate(-90deg); }
.sring__bg { fill: none; stroke: rgba(15, 29, 27, 0.12); stroke-width: 3; }
.sring__fill {
  fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 69.1; stroke-dashoffset: 69.1;
  transition: stroke-dashoffset 0.25s linear;
}
.sring--dark .sring__bg { stroke: rgba(255, 255, 255, 0.15); }
.sring--dark .sring__fill { stroke: var(--mint); }

.sec__ey {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--f-ui); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-deep);
  margin-bottom: 1.3rem;
}
.sec__node {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none;
  border: 2px solid var(--teal); border-radius: 50%;
  font-size: 0.68rem; letter-spacing: 0; color: var(--teal-deep);
}
.sec__node--goal svg { width: 13px; height: 13px; }
.sec__h {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem); font-weight: 700;
  letter-spacing: -0.025em; max-width: 24ch; color: var(--ink);
}
.sec__lead {
  margin-top: 1.1rem; font-size: 1.12rem; line-height: 1.7;
  color: var(--ink-soft); max-width: 62ch;
}
.sec__note { margin-top: 2rem; font-size: 0.92rem; color: var(--mute); max-width: 70ch; }

.sec--dark .sec__ey, .sec--final .sec__ey { color: var(--mint); }
.sec--dark .sec__node, .sec--final .sec__node { border-color: var(--mint); color: var(--mint); }
.sec--dark .sec__h, .sec--final .sec__h { color: #fff; }
.sec--dark .sec__lead, .sec--final .sec__lead { color: var(--t-dark-body); }

.prose p { max-width: 66ch; margin-top: 1.1rem; font-size: 1.04rem; line-height: 1.75; color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- 01 · Zahlen / Zitat ---------- */
.figures {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 3rem; border-top: 1px solid var(--line);
}
.figures__item { padding: 1.6rem 1.8rem 0 0; }
.figures__item + .figures__item { border-left: 1px solid var(--line); padding-left: 1.8rem; }
.figures dt {
  font-family: var(--f-ui); font-weight: 400; font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.figures dd { margin: 0.5rem 0 0; font-size: 0.92rem; line-height: 1.55; color: var(--mute); max-width: 30ch; }
.quote { margin-top: 3.2rem; border-left: 3px solid var(--teal); padding-left: 1.6rem; max-width: 46rem; }
.quote blockquote { font-size: 1.22rem; line-height: 1.6; font-weight: 500; color: var(--ink); }
.quote figcaption {
  margin-top: 0.9rem; font-family: var(--f-ui); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--mute);
}
#lage .prose { margin-top: 2.4rem; }

/* ---------- 02 · Mechanik / Ablaufschema ---------- */
.mech { list-style: none; margin: 2.8rem 0 0; padding: 0; max-width: 56rem; }
.mech__row {
  display: grid; grid-template-columns: 15rem 1fr; gap: 1.5rem;
  padding: 1.4rem 0; border-top: 1px solid var(--line);
}
.mech__row:last-child { border-bottom: 1px solid var(--line); }
.mech__key {
  font-family: var(--f-ui); font-weight: 700; font-size: 1rem; color: var(--ink);
  position: relative; padding-left: 1.4rem;
}
.mech__key::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
}
.mech__row p { font-size: 0.99rem; line-height: 1.7; color: var(--ink-soft); max-width: 58ch; }
.flow {
  margin-top: 3rem; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.6rem 1.6rem 1.2rem; overflow-x: auto;
}
.flow svg { min-width: 700px; width: 100%; height: auto; }
.flow__sel { fill: #0f2733; }
.flow__chip { fill: transparent; stroke: rgba(255, 255, 255, 0.28); }
.flow__chip--on { fill: var(--teal); stroke: none; }
.flow__chiptext { font-family: var(--f-ui); font-weight: 600; font-size: 11px; fill: #fff; }
.flow__chiptext--off { fill: rgba(255, 255, 255, 0.55); }
.flow__card { fill: #fff; stroke: #d8e4e2; }
.flow__card--dim { fill: #f2f6f5; stroke: #e2eae8; }
.flow__num { font-family: var(--f-ui); font-weight: 800; font-size: 13px; fill: rgba(13, 148, 136, 0.85); }
.flow__label { font-family: var(--f-ui); font-weight: 700; font-size: 13px; fill: var(--ink); }
.flow__label--ondark { fill: #fff; }
.flow__label--dim { fill: var(--mute); }
.flow__label--doc { fill: var(--teal-deep); }
.flow__line { fill: #e3ebe9; }
.flow__ring { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 40 17; }
.flow__doc { fill: #fff; stroke: var(--teal); stroke-width: 2; }
.flow__docline { fill: #cfe4e0; }
.flow__edge { fill: none; stroke: var(--teal); stroke-width: 2; }
.flow__edge--gate { stroke: var(--warn); stroke-dasharray: 6 5; }
.flow figcaption {
  display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1rem;
  font-size: 0.8rem; color: var(--mute);
}
.flow__lg { display: inline-flex; align-items: center; gap: 0.45rem; }
.flow__sw { display: inline-block; width: 18px; height: 3px; border-radius: 2px; }
.flow__sw--teal { background: var(--teal); }
.flow__sw--amber { background: var(--warn); }
.flow__sw--doc { width: 11px; height: 11px; border: 2px solid var(--teal); border-radius: 3px; background: #fff; }

/* ---------- 03 · Builder ---------- */
.cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); margin-top: 2.6rem; align-items: start; }
.cols__aside {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem 1.7rem;
  box-shadow: 0 1px 2px rgba(15, 29, 27, 0.04), 0 14px 40px rgba(15, 29, 27, 0.08);
}
.cols__aside h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.cols__aside p { margin-top: 0.8rem; font-size: 0.95rem; line-height: 1.65; color: var(--ink-soft); }
.cols__extra { border-top: 1px solid var(--line); padding-top: 0.9rem; color: var(--mute); font-size: 0.88rem; }

/* ---------- 04 · Datenhoheit ---------- */
.vault {
  list-style: none; margin: 3rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem;
}
.vault li {
  border-left: 2px solid rgba(45, 212, 191, 0.45); padding-left: 1.3rem;
  font-size: 0.97rem; line-height: 1.65; color: var(--t-dark-body);
}
.vault b {
  display: block; font-family: var(--f-ui); font-weight: 700; font-size: 1.02rem;
  color: #fff; margin-bottom: 0.4rem;
}
.proof {
  margin-top: 3.2rem; max-width: 46rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(45, 212, 191, 0.35); border-radius: 14px;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 0 50px rgba(45, 212, 191, 0.08);
}
.proof__head { font-family: var(--f-ui); font-weight: 700; font-size: 1.05rem; color: var(--mint); }
.proof p:last-child { margin-top: 0.5rem; font-size: 0.97rem; line-height: 1.65; color: var(--t-dark-body); }
.pane__facts {
  margin-top: 2.4rem; border-top: 1px solid var(--line-dark); padding-top: 1.2rem;
  font-family: var(--f-ui); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 2;
  color: var(--t-dark-dim); font-variant-numeric: tabular-nums;
}

/* ---------- 05 · Wirtschaftlichkeit ---------- */
.ttable {
  margin-top: 2.8rem; border-collapse: collapse; max-width: 36rem; width: 100%;
  font-size: 0.98rem;
}
.ttable caption, .ptable caption {
  caption-side: top; text-align: left;
  font-family: var(--f-ui); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
  padding-bottom: 0.7rem;
}
.ttable td { padding: 0.65rem 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.ttable td:last-child {
  text-align: right; font-family: var(--f-ui); font-weight: 700; color: var(--ink);
  white-space: nowrap; padding-left: 2rem;
}
.ttable tfoot td { border-top: 2px solid var(--ink); font-weight: 700; color: var(--ink); }
.ttable tfoot td:first-child { font-family: var(--f-ui); }

.calc {
  margin-top: 3.2rem; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 1px 2px rgba(15, 29, 27, 0.04), 0 18px 50px rgba(15, 29, 27, 0.07);
}
.calc__label {
  display: block; font-family: var(--f-ui); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
}
.calc__big {
  display: block; font-family: var(--f-ui); font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -0.03em; color: var(--teal-deep);
  line-height: 1.1; margin-top: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.calc input[type="range"] {
  width: 100%; margin-top: 1rem; accent-color: var(--teal); height: 1.4rem;
}
.calc__hint { margin-top: 0.7rem; font-size: 0.84rem; color: var(--mute); }
.calc__out {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 2rem; align-content: center;
  border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 4vw, 3rem);
}
.calc__out dt {
  font-family: var(--f-ui); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
}
.calc__out dd {
  margin: 0.3rem 0 0; font-family: var(--f-ui); font-weight: 800;
  font-size: 1.45rem; letter-spacing: -0.02em; color: var(--ink);
}
.calc__out dd sup { font-weight: 600; color: var(--mute); }
#calcVergabe { font-size: 1.05rem; line-height: 1.4; padding-top: 0.25rem; }
.calc__out div:nth-child(4) dd { font-size: 1.05rem; line-height: 1.4; padding-top: 0.25rem; }
.calc__out div:nth-child(4) dd span { font-size: 1.45rem; }
.calc__foot { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1rem; font-size: 0.85rem; line-height: 1.6; color: var(--mute); }

.ptable { margin-top: 3.2rem; border-collapse: collapse; width: 100%; font-size: 0.98rem; }
.ptable th {
  text-align: left; font-family: var(--f-ui); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
  padding: 0 0.9rem 0.6rem; border-bottom: 2px solid var(--ink);
}
.ptable td { padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.ptable td:first-child { font-family: var(--f-ui); font-weight: 800; color: var(--ink); width: 4.5rem; }
.ptable td:nth-child(3) { font-family: var(--f-ui); font-weight: 700; color: var(--ink); white-space: nowrap; }
.ptable tr.is-hit td { background: rgba(13, 148, 136, 0.07); }
.ptable tr.is-hit td:first-child { box-shadow: inset 3px 0 0 var(--teal); }

/* ---------- 06 · Vermerk-Finale ---------- */
.sec--final { padding-bottom: clamp(4rem, 8vw, 7rem); }
.sec--final .wrap { position: relative; }
.sec--final .wrap::before {
  content: ""; position: absolute; left: 50%; top: 6rem;
  width: min(58rem, 100vw); height: 42rem; transform: translateX(-50%);
  background: radial-gradient(34rem 24rem at 50% 42%, rgba(45, 212, 191, 0.13), transparent 66%);
  pointer-events: none;
}
.akte {
  position: relative;
  margin: 3rem auto 0; max-width: 46rem;
  background: #fff; border: 1px solid #dde6e4; border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 5px rgba(2, 8, 16, 0.4), 0 40px 110px rgba(2, 8, 16, 0.52);
}
.akte__head {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 2.4rem; border-bottom: 1px solid var(--line);
  font-family: var(--f-ui); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--mute);
}
.akte__body { padding: 1.8rem 2.4rem 2.4rem; }
.akte__body h3 {
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink);
  margin-top: 1.6rem;
}
.akte__body h3:first-child { margin-top: 0; }
.akte__body p { margin-top: 0.7rem; font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.akte__sig {
  font-family: var(--f-ui); font-weight: 600; color: var(--teal-deep) !important;
  margin-top: 1.8rem !important; font-size: 0.92rem !important;
}
.js .akte [data-line] { opacity: 0; transform: translateY(6px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .akte [data-line].is-typed { opacity: 1; transform: none; }
.final__cta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 3rem; }
.final__mail { position: relative; text-align: center; margin-top: 1.3rem; font-size: 0.92rem; color: var(--t-dark-dim); }
.final__mail a { color: var(--mint); }

/* ---------- Anlage · FAQ ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.sheet--slim { max-width: 52rem; margin-inline: auto; }
.faq { margin-top: 0.4rem; }
.faq__item { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-family: var(--f-ui); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.faq dd { margin: 0.5rem 0 0; font-size: 0.97rem; line-height: 1.7; color: var(--ink-soft); max-width: 64ch; }

/* ---------- Fuß ---------- */
.foot { border-top: 1px solid var(--line-dark); color: var(--t-dark-dim); padding-block: 3.5rem 2.5rem; }
.foot__in { display: grid; gap: 1.6rem; }
.brand__word--foot { font-size: 1.35rem; }
.foot__brand p { margin-top: 0.4rem; font-size: 0.92rem; }
.foot__trust {
  font-size: 0.88rem; max-width: 52ch;
  border-left: 2px solid rgba(45, 212, 191, 0.45); padding-left: 1rem;
}
.foot__nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.foot__nav a { font-family: var(--f-ui); font-weight: 600; font-size: 0.88rem; color: var(--t-dark-body); }
.foot__nav a:hover { color: #fff; text-decoration: none; }
.foot__c { font-size: 0.82rem; border-top: 1px solid var(--line-dark); padding-top: 1.4rem; }

/* ---------- Rechtsseiten ---------- */
.legal { background: var(--paper); min-height: 100vh; color: var(--ink); }
.legal main { max-width: 46rem; margin-inline: auto; padding: 4.5rem clamp(1.25rem, 4vw, 2.5rem) 5rem; }
.legal h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.legal h2 { font-size: 1.15rem; font-weight: 700; margin-top: 2.4rem; }
.legal p, .legal li { margin-top: 0.8rem; font-size: 0.98rem; line-height: 1.75; color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; }
.legal address { font-style: normal; margin-top: 0.8rem; line-height: 1.75; color: var(--ink-soft); }
.legal .back { display: inline-block; margin-bottom: 2rem; font-family: var(--f-ui); font-weight: 600; font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (min-width: 1320px) {
  .rail { display: flex; }
  .top__progress { display: none; }
}
@media (min-width: 1560px) {
  .rail__label { display: inline; }
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stage { max-width: 34rem; margin-inline: auto; width: 100%; }
  .stage__tilt { transform: none !important; }
  .cols { grid-template-columns: 1fr; }
  .vault { grid-template-columns: 1fr; gap: 1.6rem; }
  .calc { grid-template-columns: 1fr; }
  .calc__out { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .figures { grid-template-columns: 1fr; border-top: 0; }
  .figures__item { border-top: 1px solid var(--line); padding: 1.2rem 0 0.4rem; }
  .figures__item + .figures__item { border-left: 0; padding-left: 0; }
  .figures dd { max-width: none; }
  .sheet, .pane { border-radius: 18px; }
}
@media (max-width: 860px) {
  .mech__row { grid-template-columns: 1fr; gap: 0.4rem; }
  .orb--3 { display: none; }
}
@media (max-width: 720px) {
  .top__login { display: none; }
}
@media (max-width: 400px) {
  .top__right .btn--small { font-size: 0.78rem; padding: 0.45rem 0.75rem; }
}
@media (max-width: 640px) {
  .hero { padding-top: 6.5rem; }
  .hero__meta li { grid-template-columns: 1fr; gap: 0.15rem; }
  .akte__head, .akte__body { padding-inline: 1.4rem; }
  .final__cta .btn { width: 100%; text-align: center; }
  .ptable { font-size: 0.86rem; }
  .ptable th, .ptable td { padding-inline: 0.5rem; }
}

/* ---------- Druck ---------- */
@media print {
  .bg, .top, .rail, .skip, .stage__hint { display: none; }
  html, body { background: #fff; color: var(--ink); }
  .sheet, .pane, .akte { box-shadow: none; border: 1px solid var(--line); }
}

/* ---------- Bewegung reduziert ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .orb::before { animation: none; }
  .stage__tilt { transform: none !important; }
  .rail__goal.is-ready .rail__goalring { animation: none; }
  .js .sheet, .js .pane, .js .akte { opacity: 1; transform: none; }
  .js .akte [data-line], .pw__vline, .pw__vsig { opacity: 1 !important; transform: none !important; }
}
