/* ==========================================================================
   Batterypass – Designsystem
   Hellgrauer Einstieg, Graphit-Sektionen, gedecktes Salbeigrün, Licht und Bewegung.
   ========================================================================== */

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root, .passcard, .floaty {
  /* Flächen: Graphit */
  --bg: #25282d;
  --bg-2: #2b2f35;
  --bg-3: #32363d;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.17);
  --hover-bg: rgba(255, 255, 255, 0.12);
  --hover-line: rgba(255, 255, 255, 0.28);

  /* Text */
  --text: #f4f5f7;
  --muted: #bcc1cb;
  --dim: #9ca2ae;

  /* Akzente */
  --volt: #74cbb7;
  --volt-rgb: 116, 203, 183;
  --volt-hover: #92d8c8;
  --volt-ink: #102622;
  --violet: #9aa9e8;
  --violet-rgb: 154, 169, 232;
  --cyan: #7cc0e0;
  --cyan-rgb: 124, 192, 224;
  --rose: #ff6f8a;
  --ok: #74cbb7;
}

/* Heller Bereich: Einstieg jeder Seite, Kopfzeile und Menü */
.hero, .header, .mobile-menu, .consent {
  --bg: #f1f2f3;
  --bg-2: #eaecee;
  --bg-3: #e3e5e8;
  --glass: rgba(24, 28, 34, 0.03);
  --glass-2: rgba(24, 28, 34, 0.06);
  --line: rgba(24, 28, 34, 0.09);
  --line-2: rgba(24, 28, 34, 0.16);
  --hover-bg: rgba(24, 28, 34, 0.08);
  --hover-line: rgba(24, 28, 34, 0.26);
  --text: #1b1f25;
  --muted: #535a65;
  --dim: #646b77;
  --volt: #2f7a6b;
  --volt-rgb: 47, 122, 107;
  --volt-hover: #27685b;
  --volt-ink: #ffffff;
  --violet: #4f67b0;
  --violet-rgb: 79, 103, 176;
  --cyan: #2b7aa3;
  --cyan-rgb: 43, 122, 163;
  color: var(--text);
}
.passcard, .floaty { color: var(--text); }

:root {
  /* Akzent auf hellen Sektionen */
  --deep: #2f7a6b;
  --deep-rgb: 47, 122, 107;
  --deep-hover: #27685b;

  /* Helle Sektionen */
  --paper: #f1f2f3;
  --paper-2: #e4e6e8;
  --ink: #1f2329;
  --ink-muted: #4d535d;
  --ink-line: rgba(31, 35, 41, 0.11);

  /* Typo */
  --f-display: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num: "Unbounded", "Inter Tight", system-ui, sans-serif;
  --f-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-cjk: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;

  /* Maße */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* -------------------------------------------------------------------------- */
/* Reset & Basis                                                              */
/* -------------------------------------------------------------------------- */

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--volt); color: var(--volt-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Körnung über allem */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* -------------------------------------------------------------------------- */
/* Layout                                                                     */
/* -------------------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 880px; }
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper .muted { color: var(--ink-muted); }
.section--edge { border-top: 1px solid var(--line); }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: center; }
.stack > * + * { margin-top: var(--stack, 16px); }

/* -------------------------------------------------------------------------- */
/* Typografie                                                                 */
/* -------------------------------------------------------------------------- */

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
[hidden] { display: none !important; }
.display {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.h-hero { font-size: clamp(42px, 7.4vw, 104px); }
.h1 { font-size: clamp(38px, 5.6vw, 76px); }
.h2 { font-size: clamp(32px, 4.4vw, 60px); }
.h3 { font-size: clamp(22px, 2.2vw, 30px); }
.h4 { font-size: 20px; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 640px; }
.section--paper .lead { color: var(--ink-muted); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 1; }
p { margin: 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--volt);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section--paper .eyebrow { color: var(--deep); }

.grad-text {
  background: linear-gradient(100deg, var(--volt) 0%, var(--cyan) 35%, var(--violet) 65%, var(--volt) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 9s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { align-items: center; }

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--glass-2);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em; white-space: nowrap;
  background: var(--btn-bg); color: var(--text);
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: transform .4s var(--ease), background .3s, border-color .3s, box-shadow .4s;
  will-change: transform;
}
.btn:hover { background: var(--hover-bg); border-color: var(--hover-line); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--volt); color: var(--volt-ink); border-color: transparent;
  box-shadow: 0 0 0 0 rgba(var(--volt-rgb),.0), 0 12px 40px -12px rgba(var(--volt-rgb),.55);
}
.btn--primary:hover { background: var(--volt-hover); box-shadow: 0 0 0 6px rgba(var(--volt-rgb),.12), 0 16px 50px -12px rgba(var(--volt-rgb),.7); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 16.5px; }
.section--paper .btn { color: var(--ink); border-color: var(--ink-line); background: rgba(10,11,15,.04); }
.section--paper .btn:hover { background: rgba(10,11,15,.08); }
.section--paper .btn--primary { background: var(--deep); color: #fff; }
.section--paper .btn--primary:hover { background: var(--deep-hover); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--volt); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--paper .link-arrow { color: var(--deep); }

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */


.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(241, 242, 243, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: none; display: inline-flex; align-items: center; gap: 11px; font-family: var(--f-num); font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.brand svg { flex: none; width: 34px; height: 34px; overflow: visible; }
.brand__pole { fill: none; stroke: currentColor; stroke-width: 3.6; stroke-linecap: round; transition: transform .5s var(--ease); }
.brand__ring { fill: none; stroke-width: 3.6; stroke-linecap: round; stroke-dasharray: 100; }
.brand__bolt { fill: var(--volt); transform-box: fill-box; transform-origin: center; }
.brand:hover .brand__ring { animation: ring-charge 1.1s var(--ease); }
.brand:hover .brand__bolt { animation: bolt-charge .55s var(--ease) 2 alternate; }
.brand:hover .brand__pole--b { transform: translateY(-1.5px); }
.brand:hover .brand__pole--p { transform: translateY(1.5px); }
@keyframes ring-charge { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes bolt-charge { to { transform: scale(1.3); } }
.brand b { color: var(--volt); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav a:hover { color: var(--text); background: var(--glass-2); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--volt); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav__item > a::before { content: none; }
.nav__chev { display: inline-block;  width: 7px; height: 7px; margin-top: -2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; transition: transform .25s var(--ease); }
.nav__item:hover .nav__chev, .nav__item:focus-within .nav__chev { transform: translateY(2px) rotate(45deg); }
.nav__drop {
  position: absolute; left: -10px; top: 100%; min-width: 290px; padding: 8px; border-radius: 16px;
  background: #fafbfb; border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(24,28,34,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav__item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(8px); }
.nav .nav__drop a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; color: var(--text); }
.nav .nav__drop a:hover { background: var(--glass-2); }
.nav .nav__drop a small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 400; color: var(--dim); }
.nav .nav__drop a[aria-current="page"]::after { content: none; }
.mm-group { margin-top: 18px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.mobile-menu a.mm-link--sub { font-size: 21px; padding: 9px 0; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--glass); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { position: relative; width: 18px; height: 1.5px; background: var(--text); transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease); }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: rotate(45deg); }
.menu-open .burger span::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: rgba(241,242,243,.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s, transform .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.mm-link { font-family: var(--f-display); font-size: 28px; letter-spacing: -0.03em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }

/* Sprachmenü */
.lang-menu { position: relative; }
.lang-menu summary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; min-width: 132px; padding: 0 16px; border-radius: 999px;
  list-style: none; cursor: pointer; user-select: none; white-space: nowrap;
  font-weight: 600; font-size: 14.5px; letter-spacing: -0.005em; color: var(--text);
  background: var(--glass-2); border: 1px solid var(--line-2); transition: background .3s, border-color .3s;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: var(--hover-bg); border-color: var(--hover-line); }
.lang-menu summary svg { flex: none; width: 16px; height: 16px; }
.lang-menu .nav__chev { margin-left: 2px; }
.lang-menu[open] .nav__chev { transform: translateY(2px) rotate(225deg); }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 180px; margin: 0; padding: 8px; list-style: none; border-radius: 16px;
  background: #fafbfb; border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(24,28,34,.35); animation: panelIn .3s var(--ease);
}
.lang-menu li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text); }
.lang-menu li a:hover { background: var(--glass-2); }
.lang-menu li a[aria-current] { font-weight: 600; color: var(--volt); }
.lang-menu li a[aria-current]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.header__cta .lang-menu { margin-left: 12px; }
.nav a { white-space: nowrap; }
.nav { flex: none; }
@media (max-width: 1320px) { .header__cta .btn--ghost-desktop { display: none; } }
@media (max-width: 1180px), (hover: none) and (max-width: 1400px) {
  .nav, .header__cta .btn--ghost-desktop { display: none; }
  .burger { display: inline-flex; }
  .header__cta .lang-menu { margin-left: 0; }
  .lang-menu summary { width: 46px; min-width: 0; min-height: 46px; padding: 0; background: var(--glass); }
  .lang-menu summary span, .lang-menu summary .nav__chev { display: none; }
  .lang-menu summary svg { width: 19px; height: 19px; }
}
@media (max-width: 520px) {
  .header__cta .btn--primary { display: none; }
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.hero { position: relative; isolation: isolate; background: var(--bg); padding-top: calc(var(--header-h) + clamp(48px, 8vw, 110px)); padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; }
.hero--sub { padding-bottom: clamp(48px, 6vw, 80px); }
.hero--sub + .section { padding-top: clamp(64px, 8vw, 110px) !important; }

.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.aurora__blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen;
  animation: float 22s ease-in-out infinite alternate;
}
.aurora__blob--1 { width: 620px; height: 620px; left: -160px; top: -200px; background: radial-gradient(circle, rgba(var(--violet-rgb),.75), transparent 65%); }
.aurora__blob--2 { width: 560px; height: 560px; right: -140px; top: 40px; background: radial-gradient(circle, rgba(var(--cyan-rgb),.5), transparent 65%); animation-duration: 26s; animation-delay: -6s; }
.aurora__blob--3 { width: 520px; height: 520px; left: 35%; top: 45%; background: radial-gradient(circle, rgba(var(--volt-rgb),.32), transparent 65%); animation-duration: 30s; animation-delay: -12s; }
.hero .aurora__blob { mix-blend-mode: multiply; opacity: .2; }
@keyframes float {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(60px, 40px, 0) scale(1.12); }
  100% { transform: translate3d(-40px, 80px, 0) scale(.95); }
}
/* Stromfluss: feine Leiterbahnen, über die Lichtimpulse laufen */
.flow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 25%, transparent 78%);
}
.flow svg { width: 100%; height: 100%; display: block; }
.flow path { fill: none; }
.flow__line { stroke: var(--line); stroke-width: 1; }
.flow__pulse {
  stroke: var(--c, var(--volt)); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 7 93; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px var(--c, var(--volt)));
  animation: flow-pulse var(--dur, 9s) linear infinite; animation-delay: var(--delay, 0s);
}
.flow__node { fill: var(--bg); stroke: var(--line-2); stroke-width: 1; }
.flow__node--on { stroke: var(--volt); animation: node-glow 4s ease-in-out infinite; }
@keyframes flow-pulse { to { stroke-dashoffset: 0; } }
@keyframes node-glow { 50% { stroke: var(--cyan); } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (max-width: 1020px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.chip__dot { position: relative; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--volt-rgb),.12); }
.chip__dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 12px var(--volt); }
.chip__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--volt); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.chip strong { color: var(--text); font-weight: 600; }

.hero h1 { margin-top: 28px; }
.hero .lead { margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; color: var(--muted); font-size: 14.5px; }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 16px; height: 16px; color: var(--volt); }

/* Wort-für-Wort-Einblendung der Headline */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 120ms); }
.is-loaded .split-words .w > span { transform: none; }

/* Pass-Karte im Hero */
.passcard-stage { position: relative; perspective: 1400px; display: flex; justify-content: center; }
.passcard {
  position: relative; width: min(100%, 430px);
  border-radius: 28px; padding: 26px;
  background: linear-gradient(160deg, #3a3f47, #272a30 45%, #2e3238);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 50px 110px -40px rgba(25,40,70,.5), 0 30px 80px -40px rgba(var(--volt-rgb),.4), inset 0 1px 0 rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg));
  transition: transform .6s var(--ease);
}
.passcard::before { /* Lichtreflex */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(500px circle at var(--gx, 30%) var(--gy, 0%), rgba(255,255,255,.14), transparent 40%);
}
.passcard__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.passcard__url { font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(var(--volt-rgb),.12); color: var(--volt); border: 1px solid rgba(var(--volt-rgb),.3); white-space: nowrap;
}
.badge svg { width: 13px; height: 13px; }
.badge--violet { background: rgba(var(--violet-rgb),.14); color: var(--violet); border-color: rgba(var(--violet-rgb),.35); }
.badge--cyan { background: rgba(var(--cyan-rgb),.1); color: var(--cyan); border-color: rgba(var(--cyan-rgb),.3); }
.badge--rose { background: rgba(255,92,122,.12); color: #ff8aa0; border-color: rgba(255,92,122,.35); }
.badge--muted { background: var(--glass-2); color: var(--muted); border-color: var(--line-2); }

.passcard__id { display: flex; gap: 20px; align-items: center; margin-top: 22px; transform: translateZ(40px); }
.qr { position: relative; flex: none; width: 116px; height: 116px; border-radius: 14px; background: #fff; padding: 9px; overflow: hidden; }
.qr svg { width: 100%; height: 100%; }
.qr::after { /* Scanlinie */
  content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%;
  background: linear-gradient(180deg, transparent, rgba(var(--volt-rgb),.0) 20%, rgba(var(--violet-rgb),.45) 90%, rgba(var(--violet-rgb),.9));
  border-bottom: 2px solid var(--violet);
  animation: scan 3.2s var(--ease) infinite;
}
@keyframes scan { 0% { top: -30%; } 60% { top: 100%; } 100% { top: 100%; } }
.passcard__label { font-size: 12px; color: var(--dim); }
.passcard__model { font-family: var(--f-display); font-size: 20px; letter-spacing: -0.03em; font-weight: 500; }
.passcard__sn { margin-top: 6px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; transform: translateZ(20px); }
.kv > div { padding: 11px 13px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.kv dt, .kv .k { font-size: 11.5px; color: var(--dim); }
.kv dd, .kv .v { margin: 2px 0 0; font-weight: 600; font-size: 14.5px; }

.charge { margin-top: 18px; transform: translateZ(10px); }
.charge__row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.charge__bar { margin-top: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.charge__fill { height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--volt)); background-size: 200% 100%; animation: flow 3s linear infinite; transition: width 1.6s var(--ease); }
@keyframes flow { to { background-position: -200% 0; } }
.passcard__hash { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
.passcard__hash .ok { color: var(--volt); }

.floaty {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; font-size: 13px; font-weight: 500;
  background: rgba(43,47,53,.92); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px -20px rgba(20,25,35,.55);
  animation: bob 6s ease-in-out infinite;
}
.floaty .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; }
.floaty .ic svg { width: 15px; height: 15px; }
.floaty small { display: block; font-size: 11.5px; color: var(--dim); font-weight: 400; }
.floaty--a { left: -9%; top: -5%; }
.floaty--b { right: -7%; bottom: -4%; animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 1020px) { .floaty--a { left: 0; } .floaty--b { right: 0; } }
@media (max-width: 520px) { .floaty { display: none; } }

/* -------------------------------------------------------------------------- */
/* Marquee                                                                    */
/* -------------------------------------------------------------------------- */

.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 14px; color: var(--muted); white-space: nowrap; }
.marquee__item::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--volt); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------------------- */
/* Countdown                                                                  */
/* -------------------------------------------------------------------------- */

.countdown-band { position: relative; overflow: hidden; }
.countdown { display: flex; flex-wrap: wrap; gap: clamp(10px, 2vw, 20px); }
.countdown__cell { flex: 1 1 140px; min-width: 0; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); position: relative; overflow: hidden; }
.countdown__num { font-family: var(--f-num); font-size: clamp(44px, 6.5vw, 92px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { margin-top: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.countdown__cell--accent .countdown__num { color: var(--volt); text-shadow: 0 0 40px rgba(var(--volt-rgb),.4); }

/* -------------------------------------------------------------------------- */
/* Karten                                                                     */
/* -------------------------------------------------------------------------- */

.card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.card::before { /* Spotlight-Glow */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--volt-rgb),.09), transparent 45%);
}
.card::after { /* Spotlight-Rand */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(var(--volt-rgb),.6), rgba(var(--violet-rgb),.25) 40%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { transform: translateY(-4px); }
.card h3 { margin-top: 20px; }
.card p { margin-top: 10px; color: var(--muted); }
.card--link { display: flex; flex-direction: column; }
.card--link .link-arrow { margin-top: auto; padding-top: 22px; }

.section--paper .card { background: #fafbfb; border-color: var(--ink-line); box-shadow: 0 1px 0 rgba(10,11,15,.03), 0 20px 50px -30px rgba(10,11,15,.25); }
.section--paper .card p { color: var(--ink-muted); }
.section--paper .card::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--deep-rgb),.07), transparent 45%); }
.section--paper .card::after { background: radial-gradient(300px circle at var(--mx) var(--my), rgba(var(--deep-rgb),.5), transparent 60%); }

.icon-tile {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(var(--volt-rgb),.16), rgba(var(--violet-rgb),.12)); border: 1px solid rgba(var(--volt-rgb),.22); color: var(--volt);
}
.icon-tile svg { width: 24px; height: 24px; }
.section--paper .icon-tile { background: linear-gradient(145deg, rgba(var(--deep-rgb),.12), rgba(var(--cyan-rgb),.12)); border-color: rgba(var(--deep-rgb),.2); color: var(--deep); }

.num-tag { font-family: var(--f-mono); font-size: 13px; color: var(--dim); }
.section--paper .num-tag { color: #6b6f7a; }

/* Problem-Visuals */
.viz { margin-top: 24px; height: 170px; border-radius: var(--r); position: relative; overflow: hidden; background: var(--paper-2); }
.viz--sources .src {
  position: absolute; padding: 6px 10px; border-radius: 9px; background: #fafbfb; border: 1px solid var(--ink-line); font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: var(--ink);
  box-shadow: 0 8px 20px -12px rgba(0,0,0,.3); animation: drift 7s ease-in-out infinite;
}
.viz--sources .src b { color: var(--deep); margin-right: 6px; }
.viz--sources .hub { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 16px; background: var(--ink); color: var(--volt); display: grid; place-items: center; font-family: var(--f-display); font-size: 20px; box-shadow: 0 0 0 8px rgba(10,11,15,.06), 0 0 0 16px rgba(10,11,15,.03); }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(6px,-8px); } }

.viz--units { display: flex; align-items: center; justify-content: center; gap: 18px; }
.viz--units .model { padding: 14px 16px; border-radius: 14px; background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: 12px; text-align: center; }
.viz--units .model strong { display: block; font-family: var(--f-display); font-size: 26px; color: var(--volt); font-weight: 500; }
.viz--units .arrow { width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 10px); animation: dash 1s linear infinite; background-size: 20px 2px; }
@keyframes dash { to { background-position: 20px 0; } }
.units-grid { display: grid; grid-template-columns: repeat(6, 14px); gap: 5px; }
.units-grid i { width: 14px; height: 14px; border-radius: 4px; background: rgba(10,11,15,.12); animation: light 2.4s ease-in-out infinite; }
@keyframes light { 0%, 100% { background: rgba(10,11,15,.12); } 50% { background: var(--deep); } }

.viz--tiers { padding: 18px; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.tier { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 11px; background: #fafbfb; border: 1px solid var(--ink-line); font-size: 13px; }
.tier span:first-child { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-muted); white-space: nowrap; }
.tier .pill { white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--ok { color: #0d7a4f; background: rgba(13,122,79,.1); }
.pill--warn { color: #9a5b00; background: rgba(214,138,0,.13); }
.pill--bad { color: #c0213f; background: rgba(192,33,63,.1); }
.pill--n { color: var(--ink); background: rgba(10,11,15,.07); }
.table--compact { min-width: 0; }
.table--compact th, .table--compact td { padding: 14px 16px; }

/* -------------------------------------------------------------------------- */
/* Pipeline (Sticky Scroll)                                                   */
/* -------------------------------------------------------------------------- */

.pipeline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.pipeline__steps { display: flex; flex-direction: column; }
.pstep { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; opacity: .3; transition: opacity .6s var(--ease); }
.pstep.is-active { opacity: 1; }
.pstep__n { font-family: var(--f-mono); font-size: 13px; color: var(--volt); }
.pstep h3 { margin-top: 14px; }
.pstep p { margin-top: 14px; color: var(--muted); max-width: 480px; }
.pstep ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; color: var(--muted); font-size: 15.5px; }
.pstep li { display: flex; gap: 10px; align-items: flex-start; }
.pstep li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--volt); }
.pipeline__sticky { position: sticky; top: calc(var(--header-h) + 40px); height: min(560px, calc(100vh - var(--header-h) - 80px)); align-self: start; }
.screen {
  position: relative; height: 100%; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(var(--violet-rgb),.4);
}
.screen__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.screen__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.screen__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
.scene { position: absolute; inset: 49px 0 0 0; padding: 26px; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.scene.is-active { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .pipeline { grid-template-columns: minmax(0,1fr); }
  .pipeline__sticky { display: none; }
  .pstep { min-height: 0; opacity: 1; padding-block: 28px; border-top: 1px solid var(--line); }
}

/* Formular-Mock in Szenen */
.field { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.field .k { font-size: 11.5px; color: var(--dim); }
.field .v { font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.field--focus { border-color: rgba(var(--volt-rgb),.5); box-shadow: 0 0 0 4px rgba(var(--volt-rgb),.08); }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--volt); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.rows { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-mono); font-size: 12px; }
.rows div { display: grid; grid-template-columns: 1.4fr 1fr .7fr; gap: 10px; padding: 9px 12px; border-radius: 9px; background: rgba(255,255,255,.03); color: var(--muted); }
.rows div:first-child { background: none; color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.rows .ok { color: var(--volt); }

.qr-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.qr-mini { aspect-ratio: 1; border-radius: 12px; background: #fff; padding: 8px; position: relative; animation: pop .6s var(--ease) both; }
.qr-mini svg { width: 100%; height: 100%; }
.qr-mini span { position: absolute; left: 0; right: 0; bottom: -20px; text-align: center; font-family: var(--f-mono); font-size: 10px; color: var(--dim); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* -------------------------------------------------------------------------- */
/* Dashboard-Mock                                                             */
/* -------------------------------------------------------------------------- */

.app {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-2);
  box-shadow: 0 60px 140px -50px rgba(var(--violet-rgb),.45), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.app__body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 520px; }
.app__side { border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.app__side .ws { display: flex; align-items: center; gap: 10px; padding: 6px 8px 18px; font-weight: 600; font-size: 14px; }
.app__side .ws i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 12px; background: linear-gradient(135deg, var(--violet), var(--cyan)); color: #fff; }
.app__side a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; color: var(--muted); }
.app__side a svg { width: 16px; height: 16px; }
.app__side a.on { background: var(--glass-2); color: var(--text); }
.app__main { padding: 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.app__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.kpi .n { font-family: var(--f-num); font-size: 28px; letter-spacing: -0.04em; font-weight: 500; }
.kpi .l { font-size: 12px; color: var(--dim); margin-top: 4px; }
.kpi--bad .n { color: #ff8aa0; } .kpi--warn .n { color: #ffc46b; } .kpi--info .n { color: var(--violet); } .kpi--ok .n { color: var(--volt); }
.app__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; }
.ring-card { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.ring { position: relative; width: 140px; height: 140px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: rgba(255,255,255,.07); }
.ring .bar { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 377; stroke-dashoffset: 377; transition: stroke-dashoffset 2s var(--ease); }
.ring__val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-num); font-size: 32px; letter-spacing: -0.04em; }
.models { padding: 8px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); display: flex; flex-direction: column; }
.model-row { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1.6fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: 10px; font-size: 13.5px; }
.model-row:hover { background: rgba(255,255,255,.03); }
.model-row b { font-weight: 600; display: block; }
.model-row small { color: var(--dim); font-size: 12px; }
.mbar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.mbar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--volt)); transition: width 1.6s var(--ease); }
@media (max-width: 900px) {
  .app__body { grid-template-columns: minmax(0,1fr); }
  .app__side { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .app__row { grid-template-columns: minmax(0,1fr); }
}

/* -------------------------------------------------------------------------- */
/* Tabs                                                                       */
/* -------------------------------------------------------------------------- */

.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.tabs__btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  font-weight: 500; font-size: 14.5px; color: var(--muted); transition: color .3s, background .3s;
}
.tabs__btn svg { width: 16px; height: 16px; }
.tabs__btn:hover { color: var(--text); }
.tabs__btn[aria-selected="true"] { background: var(--text); color: var(--bg); }
.tabs__panel { margin-top: 36px; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-in { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }

.check-list { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-list li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--volt); }
.check-list li strong { color: var(--text); font-weight: 600; }
.section--paper .check-list li { color: var(--ink-muted); }
.section--paper .check-list li strong { color: var(--ink); }
.section--paper .check-list li svg { color: var(--deep); }

.mock { border-radius: var(--r-lg); background: var(--bg-3); border: 1px solid var(--line-2); padding: 22px; box-shadow: 0 40px 90px -50px rgba(var(--cyan-rgb),.4); }
.mock__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mock__title { font-weight: 600; font-size: 14.5px; }
.mock__sub { font-size: 12px; color: var(--dim); }
.langs { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.05); font-family: var(--f-mono); font-size: 11px; }
.langs span { padding: 3px 9px; border-radius: 999px; color: var(--dim); }
.langs span.on { background: var(--volt); color: var(--volt-ink); font-weight: 600; }
.mock__fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.mock__fields .field .v small { font-weight: 400; font-family: var(--f-mono); font-size: 10.5px; color: var(--cyan); }
.mock__fields .field--empty .v { color: var(--dim); font-weight: 400; font-style: italic; }
.steps-line { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; margin-top: 18px; }
.steps-line div { font-size: 11.5px; color: var(--dim); padding-top: 10px; border-top: 2px solid rgba(255,255,255,.1); }
.steps-line div.done { color: var(--text); border-color: var(--volt); }
.steps-line div.now { color: var(--text); border-image: linear-gradient(90deg, var(--volt), rgba(255,255,255,.1)) 1; }

.suggest { margin-top: 14px; padding: 14px; border-radius: 14px; border: 1px dashed rgba(var(--cyan-rgb),.4); background: rgba(var(--cyan-rgb),.05); }
.suggest .q { margin-top: 8px; padding-left: 12px; border-left: 2px solid var(--cyan); font-size: 13.5px; color: var(--muted); font-style: italic; }
.suggest__meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
.suggest__actions { display: flex; gap: 8px; margin-top: 14px; }
.mini-btn { padding: 7px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 600; background: var(--glass-2); border: 1px solid var(--line-2); }
.mini-btn--ok { background: var(--volt); color: var(--volt-ink); border-color: transparent; }

.code {
  font-family: var(--f-mono); font-size: 12.5px; line-height: 1.7; padding: 18px; border-radius: 14px; background: #1d2024; border: 1px solid var(--line); color: #c9cdd6; overflow-x: auto; white-space: pre; margin: 0;
}
.code .c { color: #5e6475; } .code .s { color: var(--volt); } .code .k { color: var(--violet); } .code .n { color: var(--cyan); }

/* -------------------------------------------------------------------------- */
/* Tabellen                                                                   */
/* -------------------------------------------------------------------------- */

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 500; background: rgba(255,255,255,.02); }
.table tr:last-child td { border-bottom: 0; }
.table td small { display: block; color: var(--dim); font-family: var(--f-mono); font-size: 12px; margin-top: 2px; }
.table .yes { color: var(--volt); font-weight: 600; }
.table .no { color: var(--dim); }
.section--paper .table-wrap { border-color: var(--ink-line); background: #fafbfb; }
.section--paper .table th { color: #6b6f7a; background: var(--paper); }
.section--paper .table th, .section--paper .table td { border-color: var(--ink-line); }
.section--paper .table td small { color: #6b6f7a; }
.section--paper .table .yes { color: var(--deep); }

/* -------------------------------------------------------------------------- */
/* Zugriffsebenen (Rollen-Umschalter)                                         */
/* -------------------------------------------------------------------------- */

.roles { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .roles { grid-template-columns: minmax(0, 1fr); } }
.role-btns { display: flex; flex-direction: column; gap: 10px; }
.role-btn {
  text-align: left; padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--ink-line); background: #fafbfb; cursor: pointer; color: var(--ink);
  transition: border-color .3s, box-shadow .3s, transform .4s var(--ease);
}
.role-btn:hover { transform: translateX(4px); }
.role-btn strong { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.role-btn strong svg { flex: none; width: 20px; height: 20px; color: var(--deep); }
.role-btn .lvl { margin-left: auto; }
.role-btn span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-muted); }
.role-btn[aria-pressed="true"] { border-color: var(--deep); box-shadow: 0 0 0 4px rgba(var(--deep-rgb),.12), 0 20px 50px -30px rgba(var(--deep-rgb),.6); }
.role-btn .lvl { font-family: var(--f-mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--paper); color: var(--ink-muted); }
.role-view { border-radius: var(--r-xl); padding: 26px; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.role-view__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.data-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 20px; }
@media (max-width: 520px) { .data-groups { grid-template-columns: minmax(0,1fr); } }
.dgroup { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); transition: opacity .5s var(--ease), filter .5s var(--ease), transform .5s var(--ease); }
.dgroup .t { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 14.5px; }
.dgroup .t svg { width: 16px; height: 16px; color: var(--volt); flex: none; }
.dgroup p { margin-top: 6px; font-size: 13px; color: #a7acb8; }
.dgroup.is-locked { opacity: .35; filter: blur(1.5px); transform: scale(.98); }
.dgroup.is-locked .t svg { color: #7e8494; }

/* -------------------------------------------------------------------------- */
/* Hash-Kette                                                                 */
/* -------------------------------------------------------------------------- */

.chain { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; position: relative; }
@media (max-width: 1020px) { .chain { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .chain { grid-template-columns: minmax(0,1fr); } }
.block {
  position: relative; padding: 18px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 12px; transition: border-color .4s, box-shadow .4s, background .4s;
}
.block__v { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-body); }
.block__v b { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -0.03em; }
.block__what { margin-top: 10px; font-family: var(--f-body); font-size: 14px; color: var(--text); font-weight: 500; }
.block__data { margin-top: 4px; color: var(--muted); word-break: break-word; }
.block__hash { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); color: var(--dim); word-break: break-all; line-height: 1.5; }
.block__hash span { display: block; color: var(--dim); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; }
.block__hash code { color: var(--cyan); font-family: inherit; }
.block.is-valid { border-color: rgba(var(--volt-rgb),.35); }
.block.is-broken { border-color: rgba(255,92,122,.6); background: rgba(255,92,122,.06); box-shadow: 0 0 0 4px rgba(255,92,122,.08); }
.block.is-broken .block__hash code { color: #ff8aa0; text-decoration: line-through; }
.block.is-tampered .block__data { color: #ff8aa0; }
.chain-status { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--glass); }
.chain-status__msg { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.chain-status__msg i { width: 12px; height: 12px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 16px var(--volt); }
.chain-status.is-broken .chain-status__msg i { background: var(--rose); box-shadow: 0 0 16px var(--rose); }
.chain-status .btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* -------------------------------------------------------------------------- */
/* Lebenszyklus                                                               */
/* -------------------------------------------------------------------------- */

.lifecycle { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.lifecycle::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--volt), var(--rose)); opacity: .5; }
.lstage { position: relative; padding-top: 72px; }
.lstage__dot { position: absolute; top: 8px; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line-2); color: var(--volt); }
.lstage__dot svg { width: 18px; height: 18px; }
.lstage h3 { font-size: 17px; }
.lstage p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.lstage .badge { margin-top: 12px; }
@media (max-width: 1020px) {
  .lifecycle { grid-template-columns: minmax(0,1fr); gap: 0; }
  .lifecycle::before { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--violet), var(--cyan), var(--volt), var(--rose)); }
  .lstage { padding: 0 0 32px 64px; }
  .lstage__dot { top: 0; }
}

/* -------------------------------------------------------------------------- */
/* Bento                                                                      */
/* -------------------------------------------------------------------------- */

.bento { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.bento > .card { grid-column: span 2; }
.bento > .card.wide { grid-column: span 3; }
.bento > .card.xwide { grid-column: span 4; }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, minmax(0,1fr)); } .bento > .card, .bento > .card.wide, .bento > .card.xwide { grid-column: span 1; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0,1fr); } }
.card .tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* -------------------------------------------------------------------------- */
/* Fakten-Band                                                                */
/* -------------------------------------------------------------------------- */

.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden; }
.fact { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact .big { white-space: nowrap; font-family: var(--f-display); font-size: clamp(30px, 3.3vw, 50px); letter-spacing: -0.05em; line-height: 1; font-weight: 400; }
.fact .big em { font-style: normal; color: var(--volt); }
.fact p { margin-top: 14px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0,1fr)); } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0,1fr); } .fact { border-right: 0; border-bottom: 1px solid var(--line); } .fact:last-child { border-bottom: 0; } }

/* -------------------------------------------------------------------------- */
/* Preise                                                                     */
/* -------------------------------------------------------------------------- */

.plans { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: minmax(0,1fr); } }
.plan { display: flex; flex-direction: column; }
.plan .card { flex: 1; display: flex; flex-direction: column; }
.plan__name { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; }
.plan__for { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.plan__price { margin-top: 22px; font-family: var(--f-num); font-size: 46px; letter-spacing: -0.05em; font-weight: 500; line-height: 1; }
.plan__price small { font-family: var(--f-body); font-size: 15px; letter-spacing: 0; color: var(--dim); font-weight: 400; }
.plan__per { margin-top: 8px; font-size: 13.5px; color: var(--dim); min-height: 21px; }
.plan ul { margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--muted); flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--volt); }
.plan li.soon { color: var(--dim); }
.plan li.soon svg { color: var(--dim); }
.plan .card > .btn { margin-top: auto; width: 100%; }
.plan .card > .plan__per + .btn, .plan ul + .btn { margin-top: 26px; }

.plan--featured .card { background: linear-gradient(180deg, rgba(var(--volt-rgb),.07), rgba(255,255,255,.02)); }
.glow-border { position: relative; }
.glow-border::before {
  content: ""; position: absolute; inset: -1px; border-radius: calc(var(--r-lg) + 1px); padding: 1px; z-index: 0; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 55%, var(--volt) 70%, var(--cyan) 80%, var(--violet) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 5s linear infinite;
}
.glow-border > * { position: relative; z-index: 1; }
@keyframes spin { to { --angle: 360deg; } }
.ribbon { position: absolute; top: -12px; left: 24px; z-index: 3; padding: 4px 12px; border-radius: 999px; background: var(--volt); color: var(--volt-ink); font-size: 12px; font-weight: 700; }

/* Rechner */
.calc { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 16px; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0,1fr); } }
.calc__group + .calc__group { margin-top: 30px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 600; }
.calc__label output { font-family: var(--f-display); font-size: 26px; letter-spacing: -0.04em; color: var(--volt); font-weight: 500; }
.calc__hint { font-size: 13.5px; color: var(--dim); margin-top: 4px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin-top: 6px; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--volt) 0 var(--p, 50%), rgba(255,255,255,.1) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(255,255,255,.1); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--volt); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--text); border: 4px solid var(--volt); box-shadow: 0 0 0 6px rgba(var(--volt-rgb),.15); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--text); border: 4px solid var(--volt); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.toggle span small { display: block; color: var(--dim); font-size: 13.5px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.switch { flex: none; width: 48px; height: 28px; border-radius: 999px; background: rgba(255,255,255,.12); position: relative; transition: background .3s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); transition: transform .35s var(--ease); }
.toggle input:checked + .switch { background: var(--volt); }
.toggle input:checked + .switch::after { transform: translateX(20px); background: var(--volt-ink); }
.toggle input:focus-visible + .switch { outline: 2px solid var(--volt); outline-offset: 3px; }
.calc__result { position: sticky; top: calc(var(--header-h) + 20px); }
.calc__plan { font-family: var(--f-display); font-size: 44px; letter-spacing: -0.05em; font-weight: 500; margin-top: 8px; }
.calc__price { font-size: 18px; color: var(--muted); margin-top: 4px; }
.calc__why { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* Chips-Auswahl */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: all .25s; }
.chips input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chips input:focus-visible + span { outline: 2px solid var(--volt); outline-offset: 2px; }

/* -------------------------------------------------------------------------- */
/* FAQ                                                                        */
/* -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.section--paper .faq { border-color: var(--ink-line); }
.faq details { border-bottom: 1px solid var(--line); }
.section--paper .faq details { border-color: var(--ink-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 72px; padding: 22px 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background .3s; }
.section--paper .faq .pm { border-color: var(--ink-line); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .45s var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); transform: rotate(180deg); }
.section--paper .faq details[open] .pm { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 56px 26px 0; color: var(--muted); max-width: 780px; }
.section--paper .faq .ans { color: var(--ink-muted); }
.faq .ans p + p { margin-top: 12px; }

/* -------------------------------------------------------------------------- */
/* CTA                                                                        */
/* -------------------------------------------------------------------------- */

.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  border-radius: clamp(24px, 3vw, 40px); padding: clamp(56px, 8vw, 110px) var(--gutter);
  background: var(--bg-2); border: 1px solid var(--line-2);
}
.cta .aurora__blob { opacity: .45; }
.cta h2 { max-width: 900px; margin-inline: auto; }
.cta .lead { margin: 22px auto 0; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.footer { position: relative; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1020px) { .footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .footer__brand { grid-column: 1 / -1; } }
.footer__brand p { margin-top: 16px; color: var(--muted); max-width: 320px; font-size: 15px; }
.footer h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer ul a { color: var(--muted); transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer__word {
  margin-top: clamp(48px, 7vw, 96px); font-family: var(--f-num); font-weight: 600; letter-spacing: -0.06em; line-height: .9;
  font-size: clamp(36px, 9vw, 128px); white-space: nowrap; overflow: hidden; text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.footer__bottom .badges { display: flex; flex-wrap: wrap; gap: 8px; }

/* -------------------------------------------------------------------------- */
/* Formulare                                                                  */
/* -------------------------------------------------------------------------- */

.form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form { grid-template-columns: minmax(0,1fr); } }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  color: var(--text); font: inherit; font-size: 16px; transition: border-color .25s, box-shadow .25s, background .25s;
}
.form textarea { min-height: 140px; resize: vertical; }
.form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a1a7b5' stroke-width='1.6'><path d='M1 1.5l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form select option { background: var(--bg-3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 4px rgba(var(--volt-rgb),.12); background: rgba(255,255,255,.05); }
.form .consent { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; font-size: 14px; }
.form .consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--volt); flex: none; }
.form .consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; display: none; }
.form-msg.is-shown { display: block; }
.form-msg--ok { background: rgba(var(--volt-rgb),.1); border: 1px solid rgba(var(--volt-rgb),.3); color: var(--volt); }
.form-msg--err { background: rgba(255,92,122,.08); border: 1px solid rgba(255,92,122,.35); color: #ff8aa0; }

/* -------------------------------------------------------------------------- */
/* Pflicht-Check                                                              */
/* -------------------------------------------------------------------------- */

.wizard { max-width: 860px; margin: 0 auto; }
.wizard__progress { display: flex; gap: 6px; margin-bottom: 28px; }
.wizard__progress i { flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,.1); transition: background .5s var(--ease); }
.wizard__progress i.on { background: linear-gradient(90deg, var(--volt), var(--cyan)); }
.wstep { display: none; }
.wstep.is-active { display: block; animation: panelIn .6s var(--ease); }
.wstep__q:focus { outline: none; }
.wstep__q { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.035em; line-height: 1.1; }
.wstep__hint { margin-top: 12px; color: var(--muted); }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 28px; }
.option {
  text-align: left; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--glass); cursor: pointer; min-height: 44px;
  transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.option:hover { border-color: rgba(var(--volt-rgb),.5); background: rgba(var(--volt-rgb),.04); transform: translateY(-2px); }
.option strong { display: block; font-size: 16.5px; }
.option span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.result { border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line-2); background: var(--glass); }
.result--yes { border-color: rgba(var(--volt-rgb),.45); background: linear-gradient(180deg, rgba(var(--volt-rgb),.08), transparent 60%); }
.result--no { border-color: rgba(var(--cyan-rgb),.35); background: linear-gradient(180deg, rgba(var(--cyan-rgb),.07), transparent 60%); }
.result--maybe { border-color: rgba(255,196,107,.4); background: linear-gradient(180deg, rgba(255,196,107,.07), transparent 60%); }
.result h2 { margin-top: 14px; }
.result p { margin-top: 14px; color: var(--muted); }
.summary { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }

/* -------------------------------------------------------------------------- */
/* Glossar                                                                    */
/* -------------------------------------------------------------------------- */

.search { position: relative; max-width: 560px; }
.search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--dim); }
.search input { width: 100%; min-height: 58px; padding: 0 20px 0 52px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); color: var(--text); font: inherit; font-size: 17px; }
.search input:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 4px rgba(var(--volt-rgb),.12); }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.letters a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-family: var(--f-mono); font-size: 14px; color: var(--muted); border: 1px solid var(--line); }
.letters a:hover { border-color: var(--volt); color: var(--volt); }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 14px; margin-top: 40px; }
.term { padding: 24px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); }
.term dt { font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.term dt small { font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); font-weight: 400; }
.term dd { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }
.term[hidden] { display: none; }
.no-results { margin-top: 40px; color: var(--muted); display: none; }
.no-results.is-shown { display: block; }

/* -------------------------------------------------------------------------- */
/* Prosa (Wissen / Rechtstexte)                                               */
/* -------------------------------------------------------------------------- */

.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1020px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static !important; } }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.toc h4 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.toc ol { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14.5px; color: var(--muted); counter-increment: toc; transition: color .2s, background .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero) "  "; font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
.toc a:hover, .toc a.is-active { color: var(--text); background: var(--glass-2); }
.toc a.is-active::before { color: var(--volt); }

.prose { font-size: 17.5px; line-height: 1.75; color: #cfd3dc; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 72px; font-size: clamp(28px, 3vw, 40px); color: var(--text); letter-spacing: -0.03em; font-family: var(--f-display); font-weight: 500; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 40px; font-size: 22px; color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--volt); }
.prose strong { color: var(--text); }
.prose a { color: var(--volt); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.callout { padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid rgba(var(--volt-rgb),.3); background: rgba(var(--volt-rgb),.05); font-size: 16px; color: var(--muted); }
.callout strong { color: var(--volt); }
.callout--warn { border-color: rgba(255,196,107,.35); background: rgba(255,196,107,.05); }
.callout--warn strong { color: #ffc46b; }
.placeholder { background: rgba(255,196,107,.14); color: #ffc46b; padding: 1px 6px; border-radius: 6px; font-family: var(--f-mono); font-size: .88em; }

/* Zeitleiste */
.timeline { position: relative; margin: 32px 0 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--violet), var(--cyan), var(--volt)); opacity: .5; }
.timeline li { position: relative; padding: 0 0 30px 44px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--violet); }
.timeline li.key::before { border-color: var(--volt); background: var(--volt); box-shadow: 0 0 20px var(--volt); }
.timeline .date { font-family: var(--f-mono); font-size: 13px; color: var(--volt); }
.timeline h3 { margin-top: 4px !important; font-size: 19px !important; }
.timeline p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* Lösungen: Anker-Leiste */
.anchor-bar { position: sticky; top: var(--header-h); z-index: 50; background: rgba(37,40,45,.8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.anchor-bar .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.anchor-bar a { flex: none; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; color: var(--muted); border: 1px solid transparent; }
.anchor-bar a:hover, .anchor-bar a.is-active { color: var(--text); border-color: var(--line-2); background: var(--glass); }

.usecase { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .usecase { grid-template-columns: minmax(0,1fr); } }
.usecase__visual { position: sticky; top: calc(var(--header-h) + 90px); }
@media (max-width: 900px) { .usecase__visual { position: static; } }
.big-icon { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-xl); display: grid; place-items: center; position: relative; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-2); }
.big-icon svg.main { stroke-width: 1.3; width: 42%; height: auto; color: var(--volt); filter: drop-shadow(0 0 30px rgba(var(--volt-rgb),.35)); }
.big-icon .ring-deco { position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.12); animation: rot 40s linear infinite; }
.big-icon .ring-deco:nth-child(2) { inset: 24%; animation-direction: reverse; animation-duration: 30s; border-color: rgba(var(--violet-rgb),.25); }
@keyframes rot { to { transform: rotate(360deg); } }
.spec-list { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
@media (max-width: 520px) { .spec-list { grid-template-columns: minmax(0,1fr); } }

/* -------------------------------------------------------------------------- */
/* Einblend-Animationen                                                       */
/* -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--scale { transform: scale(.96) translateY(20px); }
.no-js .reveal { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------- */
/* Reduzierte Bewegung                                                        */
/* -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .flow__pulse { animation: none; stroke-dashoffset: 40; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
  .marquee__track { animation: none; }
  .passcard { transform: none; }
}

.inline-ic { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; }
.field .v.start { justify-content: flex-start; gap: 10px; }
.cta .aurora { -webkit-mask-image: none; mask-image: none; }

/* -------------------------------------------------------------------------- */
/* Chinesisch: CJK-Schriften ergänzen, enge Laufweite der Überschriften lösen  */
/* -------------------------------------------------------------------------- */
:root:lang(zh) {
  --f-display: "Inter Tight", var(--f-cjk);
  --f-body: "Inter Tight", var(--f-cjk);
}
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) .display { letter-spacing: 0; line-height: 1.25; word-break: normal; }
:lang(zh) body { line-height: 1.75; }

/* -------------------------------------------------------------------------- */
/* Pflicht-Check: Ergebnisbericht                                             */
/* -------------------------------------------------------------------------- */
.wizard:has(.wstep[data-id="result"].is-active) { max-width: 1040px; }
.report__stamp { display: none; }
.report__head { border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-2); background: var(--glass); }
.report--yes .report__head { border-color: rgba(var(--volt-rgb),.45); background: linear-gradient(180deg, rgba(var(--volt-rgb),.08), transparent 70%); }
.report--no .report__head { border-color: rgba(var(--cyan-rgb),.35); background: linear-gradient(180deg, rgba(var(--cyan-rgb),.07), transparent 70%); }
.report--maybe .report__head { border-color: rgba(255,196,107,.4); background: linear-gradient(180deg, rgba(255,196,107,.07), transparent 70%); }
.report__head h2 { margin-top: 14px; }
.report__lead { margin-top: 12px; color: var(--muted); max-width: 70ch; }
.report__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.report__stat { padding: 18px 20px; border-radius: var(--r-lg, 18px); border: 1px solid var(--line); background: var(--glass); }
.report__stat strong { display: block; font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.report__stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.report__stat:nth-child(1) strong { color: var(--volt); }
.report__stat:nth-child(2) strong { color: var(--cyan); }
.report__stat:nth-child(3) strong { color: #ffc46b; }
@media (max-width: 560px) { .report__stats { grid-template-columns: minmax(0, 1fr); } }

.ob-group { margin-top: 34px; }
.ob-group__title { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.ob-group__count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; background: var(--glass-2); color: var(--muted); }
details.ob-group summary { cursor: pointer; list-style: none; color: var(--muted); }
details.ob-group summary::-webkit-details-marker { display: none; }
details.ob-group summary::after { content: "+"; margin-left: 4px; font-family: var(--f-mono); }
details.ob-group[open] summary::after { content: "–"; }
.ob-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
@media (max-width: 760px) { .ob-list { grid-template-columns: minmax(0, 1fr); } }
.ob { position: relative; padding: 20px 22px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); overflow: hidden; }
.ob::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--muted); }
.ob--now::before { background: var(--volt); }
.ob--soon::before { background: var(--cyan); }
.ob--open::before, .ob--maybe::before { background: #ffc46b; }
.ob--no { opacity: .62; }
.ob__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--muted); }
.ob--now .ob__date { color: var(--volt); }
.ob--soon .ob__date { color: var(--cyan); }
.ob--open .ob__date, .ob--maybe .ob__date { color: #ffc46b; }
.ob__title { margin-top: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.ob__text { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.ob__hint { margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; background: rgba(var(--violet-rgb),.1); color: var(--violet); }
.report__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.report__actions .btn svg { width: 18px; height: 18px; }
.report__note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

.check-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.check-grid .card h3 { margin-top: 0; font-size: 19px; }
@media (max-width: 1020px) { .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .check-grid { grid-template-columns: minmax(0, 1fr); } }

/* Druck / PDF: nur der Bericht, hell und gut lesbar */
@media print {
  @page { margin: 16mm 14mm; }
  html, body { background: #fff !important; color: #111 !important; }
  body > *:not(main), main > section:not(:has([data-compliance])), .hero, .aurora, .flow, .grain,
  .wizard__progress, .wizard__nav, .report__actions, .skip-link { display: none !important; }
  main > section:has([data-compliance]) { padding: 0 !important; }
  .wizard.card { border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; max-width: none !important; }
  .wstep:not(.is-active) { display: none !important; }
  .wstep.is-active { animation: none !important; }
  .report__stamp { display: block; margin-bottom: 10px; font-size: 11px; color: #555; }
  .report__head, .report__stat, .ob { background: #fff !important; border: 1px solid #ccc !important; color: #111 !important; }
  .report__lead, .ob__text, .report__stat span, .ob__meta, .report__note, details.ob-group summary { color: #333 !important; }
  .report__stat strong, .ob__date { color: #111 !important; }
  .ob__hint { background: #f2f0fb !important; color: #2c2160 !important; }
  .ob--no { opacity: 1; }
  .ob { break-inside: avoid; }
  details.ob-group > .ob-list { display: grid !important; }
  .badge { border: 1px solid #999 !important; color: #111 !important; background: #fff !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  h2, h3 { color: #111 !important; -webkit-text-fill-color: #111 !important; }
}

/* -------------------------------------------------------------------------- */
/* Cookie-Einstellungen                                                       */
/* -------------------------------------------------------------------------- */
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 998; width: min(460px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 24px; border-radius: 22px; background: var(--bg); color: var(--text); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -24px rgba(18,22,28,.55); animation: panelIn .6s var(--ease);
}
.consent h2 { font-size: 20px; letter-spacing: -0.02em; }
.consent p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent__options { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.consent__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.consent__opt input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--volt); }
.consent__opt strong { display: block; font-weight: 600; }
.consent__opt small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.consent__actions .btn { white-space: normal; min-height: 46px; padding: 8px 12px; text-align: center; }
.consent__actions .btn--plain { grid-column: 1 / -1; min-height: 38px; background: none; border-color: transparent; color: var(--muted); font-weight: 500; }
.link-btn { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--muted); transition: color .2s; }
.link-btn:hover { color: var(--text); }
@media (max-width: 520px) { .consent { left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 20px; } }
@media print { .consent { display: none !important; } }

/* Neue Unterseiten */
.compare td:first-child { font-weight: 600; }
.compare .is-us { background: rgba(var(--deep-rgb), .07); }
.hub-card { color: inherit; }
.article-meta { margin-top: 18px; font-family: var(--f-mono); font-size: 12.5px; color: var(--dim); }
.hero--sub + .section--paper { margin-top: -1px; padding-top: clamp(8px, 2vw, 24px) !important; }
