/* ============================================================
   PROZESSE PLANEN, KI EINBAUEN – VON BPMN ZU N8N
   ibetmax.com · KI & AI Hub · Wissenskarte (P26013, 22.10.2026)
   Beispiel: Angebotsanfrage an ein Marktforschungsinstitut,
   erst als Ist-, dann als Soll-Prozess, mit Token-Animation.
   Akzentfarbe: Gold (#e0ac58, Token) · KI/Automation: Türkis (#12c5bc)
   Warten/Schmerzpunkte: Orange (#f08a3c)
   Aufbau und Basiskomponenten wie /konto-sicherheit/
   ============================================================ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:          #07080b;
  --bg-alt:      rgba(255,255,255,.015);
  --panel:       rgba(255,255,255,.04);
  --panel-h:     rgba(255,255,255,.06);
  --acc:         #e0ac58;
  --acc-rgb:     224,172,88;
  --acc-light:   #f2d49f;
  --acc-faint:   rgba(224,172,88,.08);
  --border-a:    rgba(224,172,88,.26);
  --b:           #12c5bc;
  --b-rgb:       18,197,188;
  --b-faint:     rgba(18,197,188,.07);
  --border-b:    rgba(18,197,188,.26);
  --wait:        #f08a3c;
  --wait-rgb:    240,138,60;
  --wait-faint:  rgba(240,138,60,.08);
  --red:         #ef4444;
  --yellow:      #f5c842;
  --green:       #4ade80;
  --text:        rgba(255,255,255,.92);
  --text-dim:    rgba(255,255,255,.58);
  --text-faint:  rgba(255,255,255,.36);
  --border:      rgba(255,255,255,.08);
  --radius:      14px;
  --maxw:        1040px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
               "Noto Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
p { color: var(--text-dim); overflow-wrap: break-word; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
ul, ol { list-style: none; }
strong { color: var(--text); }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--acc); color: #1c1306; font-weight: 800;
  padding: 10px 16px; border-radius: 0 0 8px 0; font-size: 13px;
}
.skip-link:focus { left: 0; text-decoration: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; scroll-margin-top: 96px; }
section.alt { background: var(--bg-alt); }
.lead { margin-bottom: 28px; }
.lead + .lead { margin-top: -12px; }
.h3 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 900; color: var(--text); line-height: 1.25; margin: 44px 0 10px; }
.h3 em { color: var(--acc); font-style: normal; }
.h3--b em { color: var(--b); }

/* ── STICKY TOC ──────────────────────────────────────────── */
.toc-bar {
  position: sticky; top: 51px; z-index: 90;
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  background: rgba(8,8,14,.88);
  border-bottom: 1px solid var(--border);
}
.toc-bar__inner {
  display: flex; gap: 6px; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 9px 24px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(224,172,88,.3) transparent;
}
.toc-bar__inner::-webkit-scrollbar { height: 5px; }
.toc-bar__inner::-webkit-scrollbar-thumb { background: rgba(224,172,88,.3); border-radius: 100px; }
.toc-link {
  flex-shrink: 0; white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: var(--text-dim); text-decoration: none;
  border: 1px solid var(--border); border-radius: 100px;
  padding: 5px 13px; transition: color .2s, border-color .2s, background .2s;
}
.toc-link:hover, .toc-link.is-current {
  color: var(--acc); border-color: var(--border-a);
  background: var(--acc-faint); text-decoration: none;
}
.toc-link b { color: var(--acc); font-weight: 800; }
.toc-link--star { color: var(--acc-light); border-color: var(--border-a); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 92px 0 76px;
  background: linear-gradient(165deg, var(--bg) 50%, #141006 100%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(224,172,88,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,172,88,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 30% 40%, black, transparent);
  mask-image: radial-gradient(ellipse 80% 65% at 30% 40%, black, transparent);
}
.hero__glow {
  position: absolute; pointer-events: none;
  width: 760px; height: 760px; top: 46%; left: 28%;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(224,172,88,.10) 0%, rgba(18,197,188,.04) 40%, transparent 70%);
}
.hero .hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%; margin: 0;
  -webkit-mask-image: linear-gradient(to left, #000 45%, transparent 100%);
  mask-image: linear-gradient(to left, #000 45%, transparent 100%);
  opacity: .9;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
/* WebGL-Ebene (prozesse-hero-gl.js): Lichtteilchen und BPMN-Strecke über dem Bild, unter dem Text */
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__glpause {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  font: 600 11px/1.4 Inter, system-ui, sans-serif; letter-spacing: .04em; cursor: pointer;
  color: var(--text-dim); background: rgba(7,8,11,.55); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__glpause:hover { color: var(--acc-light); border-color: var(--border-a); }
.hero__content { position: relative; max-width: 600px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--acc); background: var(--acc-faint);
  border: 1px solid var(--border-a); border-radius: 100px;
  padding: 6px 16px; margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(28px, 5vw, 52px); font-weight: 900; line-height: 1.06;
  letter-spacing: .01em; margin-bottom: 18px;
}
.hero__title em { color: var(--acc); font-style: normal; }
.hero__title small { display: block; font-size: .46em; font-weight: 800; color: var(--text-dim); letter-spacing: .02em; margin-top: 10px; }
.hero__sub { font-size: clamp(15px, 2vw, 18px); color: var(--text); margin: 0 0 16px; line-height: 1.5; font-weight: 600; }
.hero__intro { font-size: 15px; color: var(--text-dim); margin: 0 0 22px; line-height: 1.75; }
.hero__intro strong { color: var(--acc-light); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.stand {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--acc); background: var(--acc-faint);
  border: 1px solid var(--border-a); border-radius: 100px; padding: 6px 14px;
}
.stand::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px rgba(224,172,88,.7); }
.chip {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--text-dim); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .04em;
  border-radius: 100px; padding: 11px 22px;
  text-decoration: none; transition: all .2s; border: 1px solid transparent;
  cursor: pointer; background: none; color: inherit;
}
.btn--primary { background: var(--acc); color: #1c1306; border-color: var(--acc); box-shadow: 0 4px 20px rgba(224,172,88,.25); }
.btn--primary:hover { background: rgba(224,172,88,.86); box-shadow: 0 6px 28px rgba(224,172,88,.4); transform: translateY(-1px); text-decoration: none; color: #1c1306; }
.btn--b { background: var(--b-faint); color: var(--b); border-color: var(--border-b); }
.btn--b:hover { background: rgba(18,197,188,.14); text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text-dim); border-color: var(--border); }
.btn--ghost:hover { background: rgba(255,255,255,.05); color: var(--text); border-color: rgba(255,255,255,.2); text-decoration: none; }
.btn--small { font-size: 12px; padding: 7px 14px; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

/* ── SECTION HEADERS ─────────────────────────────────────── */
.sec-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 36px; }
.sec-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; border-radius: 50%;
  background: var(--acc-faint); border: 1px solid var(--border-a);
  font-size: 13px; font-weight: 900; color: var(--acc); line-height: 1;
  flex-shrink: 0; margin-top: 2px;
}
.sec-title { font-size: clamp(22px, 3.6vw, 34px); font-weight: 900; line-height: 1.12; letter-spacing: .01em; margin-bottom: 8px; color: var(--text); }
.sec-title em { color: var(--acc); font-style: normal; }
.sec-sub { font-size: 15px; color: var(--text-dim); line-height: 1.6; }
.is-star .sec-num { background: var(--acc); color: #1c1306; box-shadow: 0 0 18px rgba(224,172,88,.45); }

/* ── GRID LAYOUTS ────────────────────────────────────────── */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.split--rev { grid-template-columns: .9fr 1.1fr; }
.split + .split { margin-top: 34px; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; position: relative; overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--acc), transparent); opacity: 0; transition: opacity .2s;
}
.card:hover { border-color: var(--border-a); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(224,172,88,.1); }
.card:hover::before { opacity: 1; }
.card--b::before { background: linear-gradient(90deg, var(--b), transparent); }
.card--b:hover { border-color: var(--border-b); box-shadow: 0 8px 28px rgba(18,197,188,.1); }
.card__icon { font-size: 26px; margin-bottom: 12px; line-height: 1; }
.card__kicker { display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); margin-bottom: 6px; }
.card--b .card__kicker { color: var(--b); }
.card__term { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 6px; line-height: 1.25; }
.card__desc { font-size: 14px; color: var(--text-dim); line-height: 1.65; }
.card__desc + .card__desc { margin-top: 8px; }
.card__measure { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.1); font-size: 12.5px; color: var(--text-faint); line-height: 1.55; }
.card__measure strong { color: var(--acc-light); font-weight: 700; }

/* ── CALLOUT / HINWEIS / ZITAT ───────────────────────────── */
.callout {
  margin-top: 24px; padding: 18px 22px;
  background: var(--acc-faint); border-left: 3px solid var(--acc);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px; color: var(--text-dim); line-height: 1.7;
}
.callout--b { background: var(--b-faint); border-left-color: var(--b); }
.callout--wait { background: var(--wait-faint); border-left-color: var(--wait); }
.note { font-size: 13px; color: var(--text-faint); line-height: 1.6; }
.more { display: inline-flex; margin-top: 14px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.more--b { color: var(--b); }
.request {
  position: relative; margin: 0 0 22px; padding: 20px 22px 18px 52px;
  border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.025);
  font-size: 15px; line-height: 1.7; color: var(--text);
}
.request::before { content: "“"; position: absolute; left: 16px; top: 4px; font-size: 52px; font-weight: 900; color: var(--acc); line-height: 1; }
.request__note { margin-top: 10px; font-size: 12px; color: var(--text-faint); }
.quote {
  margin: 0; padding: 30px 30px 28px; border-radius: 22px; text-align: center;
  border: 1px solid var(--border-a);
  background: radial-gradient(90% 120% at 50% 0%, rgba(224,172,88,.12), transparent 65%), rgba(255,255,255,.02);
}
.quote p { font-size: clamp(19px, 2.8vw, 26px); font-weight: 800; line-height: 1.4; color: var(--text); }
.quote p em { color: var(--acc); font-style: normal; }

/* ── STECKBRIEF ──────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.facts div { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.025); }
.facts dt { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.facts dd { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; }
.facts .is-open { border-style: dashed; border-color: rgba(240,138,60,.4); }
.facts .is-open dd { color: var(--wait); }

/* ── BILDER & PLATZHALTER ────────────────────────────────── */
.pic { position: relative; margin: 0; }
.pic__frame { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--border); background: #0b0f12; aspect-ratio: 16 / 9; }
.pic__frame img { width: 100%; height: 100%; object-fit: cover; }
.pic__cap { margin-top: 10px; font-size: 12.5px; color: var(--text-faint); line-height: 1.5; }
.pic__ph { display: none; }
.pic.is-missing img { display: none; }
.pic.is-missing .pic__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px; text-align: center;
  background:
    radial-gradient(60% 70% at 50% 45%, rgba(224,172,88,.09), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 12px, transparent 12px 24px);
  border: 1px dashed rgba(224,172,88,.26); border-radius: 18px;
}
.pic.is-missing .pic__ph::before {
  content: "Bild folgt";
  font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--acc); border: 1px solid var(--border-a); background: var(--acc-faint);
  border-radius: 100px; padding: 4px 12px;
}
.pic.is-missing .pic__ph::after { content: attr(data-motiv); font-size: 15px; font-weight: 800; color: var(--text-dim); max-width: 380px; line-height: 1.35; }
.pic__file { order: 3; font: 600 11.5px/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--text-faint); word-break: break-all; }
/* Hero ohne Bild: dezenter Rahmen rechts (nur Desktop) */
.hero .hero__media.is-missing { -webkit-mask-image: none; mask-image: none; opacity: 1; top: 64px; bottom: 64px; right: 24px; width: 34%; }
.hero__media.is-missing .pic__ph { opacity: .7; }

/* ── LEGENDE: BPMN IN 5 MINUTEN ──────────────────────────── */
.legend { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 22px; align-items: stretch; }
.legend__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.legend__tab {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 14px; border-radius: 14px; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 700; color: var(--text-dim); line-height: 1.3;
  background: rgba(255,255,255,.025); border: 1px solid var(--border);
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
}
.legend__tab:hover { border-color: var(--border-a); color: var(--text); }
.legend__tab[aria-selected="true"] { color: var(--text); border-color: rgba(224,172,88,.55); background: var(--acc-faint); box-shadow: 0 0 18px rgba(224,172,88,.12); }
.legend__sym { flex-shrink: 0; width: 44px; height: 44px; }
.legend__panel {
  border: 1px solid var(--border-a); border-radius: 18px; padding: 22px 24px;
  background: linear-gradient(160deg, rgba(224,172,88,.06), rgba(7,8,11,.25));
}
.legend__panel + .legend__panel { margin-top: 12px; }
.legend.is-ready .legend__panel + .legend__panel { margin-top: 0; }
.legend__panel .legend__sym { width: 76px; height: 76px; margin-bottom: 12px; }
.legend__name { font-size: 18px; font-weight: 900; color: var(--text); margin-bottom: 6px; }
.legend__text { font-size: 14.5px; line-height: 1.7; }
.legend__ex { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: var(--text-dim); padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.1); }
.legend__ex b { color: var(--acc-light); }
.markers { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 12.5px; color: var(--text-faint); }
.markers span { display: inline-flex; align-items: center; gap: 6px; }
.markers svg { width: 16px; height: 16px; }
.markers .mk * { fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.markers .mk--user * { stroke: var(--acc); }
.markers .mk--b * { stroke: var(--b); }
.markers .mk--c * { stroke: #7ef0e8; }

/* Symbole (Legende, Zuordnung, Markierungen) */
.bp-line { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bp-fill { fill: rgba(224,172,88,.10); stroke: var(--acc); stroke-width: 2; stroke-linejoin: round; }
.bp-fill--b { fill: rgba(18,197,188,.10); stroke: var(--b); }
.bp-thin { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.75); stroke-width: 1.6; }
.bp-thick { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.85); stroke-width: 3.6; }
.bp-mark { fill: none; stroke: var(--acc); stroke-width: 2.4; stroke-linecap: round; }
.bp-band { fill: rgba(224,172,88,.14); stroke: none; }

/* ── BPMN-DIAGRAMME ──────────────────────────────────────── */
.pk-wide { position: relative; left: 50%; width: min(1420px, calc(100vw - 64px)); transform: translateX(-50%); }
.pk-diagram { margin: 0; }
.pk-diagram__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline;
  max-width: var(--maxw); margin: 0 auto 10px; padding: 0 2px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint);
}
.pk-diagram__head b { color: var(--acc); font-weight: 800; }
.pk-canvas {
  border: 1px solid var(--border); border-radius: 18px; overflow: auto;
  background: radial-gradient(90% 90% at 50% 30%, rgba(224,172,88,.035), transparent 70%), #080a0d;
  padding: 10px; scrollbar-width: thin; scrollbar-color: rgba(224,172,88,.3) transparent;
}
.pk-canvas svg { display: block; width: 100%; height: auto; margin: 0 auto; }
.pk-canvas.is-scroll svg { margin: 0; }
.pk-scrollhint { max-width: var(--maxw); margin: 8px auto 0; padding: 0 2px; font-size: 12px; font-weight: 700; color: var(--acc); text-align: center; }
.pk-sim__stage .pk-canvas.is-v { max-height: max(320px, calc(100vh - 370px)); overscroll-behavior: auto; }
.pk-canvas noscript p, .pk-fallback { padding: 18px; font-size: 14px; }
.pk-diagram__cap { max-width: var(--maxw); margin: 12px auto 0; font-size: 13px; color: var(--text-faint); line-height: 1.6; padding: 0 2px; }
.pk-words { max-width: var(--maxw); margin: 10px auto 0; padding: 0 2px; }
.pk-words summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--text-dim); }
.pk-words summary:hover { color: var(--acc); }
.pk-words ol { list-style: decimal; padding: 10px 0 0 22px; display: grid; gap: 4px; }
.pk-words li { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }

/* SVG-Elemente der Diagramme */
.pk-svg { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; }
.pk-pool { fill: none; stroke: rgba(224,172,88,.28); stroke-width: 1.4; }
.pk-lane { fill: rgba(255,255,255,.012); stroke: rgba(255,255,255,.07); stroke-width: 1; }
.pk-lane--alt { fill: rgba(255,255,255,.03); }
.pk-lane-band { fill: rgba(224,172,88,.07); stroke: rgba(224,172,88,.16); stroke-width: 1; }
.pk-lane-txt { fill: rgba(242,212,159,.92); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pk-svg.is-v .pk-lane-txt { font-size: 9.5px; letter-spacing: .03em; }
.pk-f { fill: none; stroke: rgba(255,255,255,.42); stroke-width: 1.5; stroke-linejoin: round; transition: opacity .4s; }
.pk-f__halo { fill: none; stroke: #080a0d; stroke-width: 6; stroke-linejoin: round; transition: opacity .4s; }
.pk-f--timer { stroke-dasharray: 4 3; stroke: rgba(240,138,60,.55); }
.pk-arrow { fill: rgba(255,255,255,.55); }
.pk-f-lbl { fill: rgba(255,255,255,.66); font-size: 10.5px; font-weight: 700; paint-order: stroke; stroke: #080a0d; stroke-width: 3px; stroke-linejoin: round; }
.pk-svg.is-v .pk-f-lbl { font-size: 9.5px; }
.pk-n { transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .45s; }
.pk-n__box { fill: #10141a; stroke: rgba(255,255,255,.34); stroke-width: 1.4; transition: stroke .3s, fill .3s; }
.pk-n__txt { fill: rgba(255,255,255,.9); font-size: 11.5px; font-weight: 700; }
.pk-svg.is-v .pk-n__txt { font-size: 10.5px; }
.pk-n__lbl { fill: rgba(255,255,255,.72); font-size: 10.5px; font-weight: 700; paint-order: stroke; stroke: #080a0d; stroke-width: 3px; stroke-linejoin: round; }
.pk-svg.is-v .pk-n__lbl { font-size: 9.5px; }
.pk-n__mark { fill: none; stroke: rgba(255,255,255,.6); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pk-n__gw { fill: #10141a; stroke: rgba(255,255,255,.55); stroke-width: 1.6; }
.pk-n__sym { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2.4; stroke-linecap: round; }
.pk-n__ev { fill: #10141a; stroke: rgba(255,255,255,.7); stroke-width: 1.6; }
.pk-n--end .pk-n__ev { stroke-width: 3.6; }
.pk-n__clock { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.3; stroke-linecap: round; }
.pk-n--ai .pk-n__box { fill: #0b1918; stroke: rgba(18,197,188,.62); }
.pk-n--ai .pk-n__mark { stroke: var(--b); }
.pk-n--script .pk-n__box, .pk-n--service .pk-n__box, .pk-n--shield .pk-n__box { stroke: rgba(18,197,188,.4); }
.pk-n--script .pk-n__mark, .pk-n--shield .pk-n__mark { stroke: #7ef0e8; }
.pk-n--user .pk-n__box { stroke: rgba(224,172,88,.55); }
.pk-n--user .pk-n__mark { stroke: var(--acc); }
.pk-n--pain .pk-n__box { fill: #1d140c; stroke: rgba(240,138,60,.75); }
.pk-n__badge { fill: var(--wait); }
.pk-n__badge-txt { fill: #1b0f05; font-size: 10px; font-weight: 900; }
.pk-n__bnd { fill: #10141a; stroke: rgba(240,138,60,.85); stroke-width: 1.3; }
.pk-n__bnd-hand { fill: none; stroke: rgba(240,138,60,.95); stroke-width: 1.2; stroke-linecap: round; }
.pk-n__flag { fill: var(--acc-light); font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .3s; paint-order: stroke; stroke: #080a0d; stroke-width: 3px; }
.pk-n__ring { fill: none; stroke: var(--acc); stroke-width: 2; opacity: 0; }
.pk-n.is-leaving { opacity: 0; }
.pk-f.is-fading, .pk-f__halo.is-fading { opacity: 0; }

/* Zustände während der Token-Animation */
.pk-n.is-done .pk-n__box, .pk-n.is-done .pk-n__gw, .pk-n.is-done .pk-n__ev { stroke: rgba(224,172,88,.6); }
.pk-n.is-active .pk-n__box, .pk-n.is-active .pk-n__gw, .pk-n.is-active .pk-n__ev {
  stroke: var(--acc); stroke-width: 2.2; filter: drop-shadow(0 0 6px rgba(224,172,88,.65));
}
.pk-n.is-waiting .pk-n__box { stroke: var(--wait); fill: #2a170a; animation: pk-wait 1.1s ease-in-out infinite; }
@keyframes pk-wait { 0%, 100% { filter: drop-shadow(0 0 3px rgba(240,138,60,.4)); } 50% { filter: drop-shadow(0 0 14px rgba(240,138,60,.95)); } }
.pk-n.is-human .pk-n__box { stroke: var(--acc-light); stroke-width: 2.6; fill: #1f1a10; filter: drop-shadow(0 0 10px rgba(224,172,88,.9)) drop-shadow(0 0 22px rgba(18,197,188,.35)); }
.pk-n.is-human .pk-n__flag { opacity: 1; }
.pk-n.is-human .pk-n__ring { animation: pk-ring 1.4s ease-out infinite; }
@keyframes pk-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
.pk-n__ring { transform-box: fill-box; transform-origin: center; }
.pk-n.is-flash .pk-n__gw { animation: pk-flash .7s ease-out; }
@keyframes pk-flash { 0% { filter: drop-shadow(0 0 0 rgba(224,172,88,0)); } 35% { filter: drop-shadow(0 0 12px rgba(242,212,159,1)); } 100% { filter: none; } }
.pk-n.has-queue .pk-n__box { stroke: var(--wait); }

/* Token */
.pk-tok__halo { fill: rgba(224,172,88,.22); transform-box: fill-box; transform-origin: center; animation: pk-halo 1.6s ease-in-out infinite; }
@keyframes pk-halo { 0%, 100% { transform: scale(.85); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }
.pk-tok__core { fill: #ffd27a; stroke: #fff4d6; stroke-width: 1.2; filter: drop-shadow(0 0 4px rgba(255,200,110,.95)) drop-shadow(0 0 10px rgba(224,140,40,.75)); }
.pk-tok__ghost { fill: rgba(255,200,110,.45); }
.pk-tok__num { fill: #2a1a04; font-size: 8.5px; font-weight: 900; }
.pk-tok.is-queued .pk-tok__core { fill: #f0a35c; }
.pk-tok.is-gone { opacity: 0; transition: opacity .5s; }

/* ── TOKEN-ANIMATION: STEUERUNG ──────────────────────────── */
.pk-sim { margin-top: 8px; }
.pk-sim__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  padding: 14px 16px; margin-bottom: 14px;
  border: 1px solid var(--border-a); border-radius: 18px;
  background: linear-gradient(160deg, rgba(224,172,88,.07), rgba(7,8,11,.55));
}
.pk-seg { display: inline-flex; padding: 3px; border-radius: 100px; border: 1px solid var(--border); background: rgba(0,0,0,.35); }
.pk-seg button {
  font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .03em; cursor: pointer;
  color: var(--text-dim); background: transparent; border: 0; border-radius: 100px; padding: 8px 16px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.pk-seg button:hover { color: var(--text); }
.pk-seg button[aria-pressed="true"] { color: #1c1306; background: var(--acc); box-shadow: 0 0 16px rgba(224,172,88,.45); }
.pk-seg button[data-mode="ist"][aria-pressed="true"] { background: var(--wait); box-shadow: 0 0 16px rgba(240,138,60,.45); }
.pk-switch { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--text-dim); user-select: none; }
.pk-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pk-switch__track { position: relative; width: 36px; height: 20px; border-radius: 100px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); transition: background .2s, border-color .2s; flex-shrink: 0; }
.pk-switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.75); transition: transform .2s, background .2s; }
.pk-switch input:checked + .pk-switch__track { background: rgba(18,197,188,.3); border-color: var(--b); }
.pk-switch input:checked + .pk-switch__track::after { transform: translateX(16px); background: #7ef0e8; }
.pk-switch input:focus-visible + .pk-switch__track { outline: 2px solid var(--acc); outline-offset: 3px; }
.pk-switch input:disabled ~ * { opacity: .45; }
.pk-switch:has(input:disabled) { cursor: default; }
.pk-sim__btns { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.pk-clock { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.pk-clock svg { width: 46px; height: 46px; flex-shrink: 0; }
.pk-clock__face { fill: #10141a; stroke: rgba(224,172,88,.55); stroke-width: 2; transition: fill .6s; }
.pk-clock.is-night .pk-clock__face { fill: #0a1022; stroke: rgba(126,160,240,.55); }
.pk-clock__tick { stroke: rgba(255,255,255,.4); stroke-width: 1.4; stroke-linecap: round; }
.pk-clock__h { stroke: var(--acc-light); stroke-width: 3; stroke-linecap: round; }
.pk-clock__m { stroke: rgba(255,255,255,.85); stroke-width: 1.8; stroke-linecap: round; }
.pk-clock__moon { fill: rgba(170,195,255,.9); opacity: 0; transition: opacity .6s; }
.pk-clock.is-night .pk-clock__moon { opacity: 1; }
.pk-clock.is-stopped .pk-clock__face { stroke: var(--green); }
.pk-clock__txt { display: flex; flex-direction: column; line-height: 1.25; }
.pk-clock__day { font-size: 13px; font-weight: 800; color: var(--text); }
.pk-clock__hint { font-size: 11px; color: var(--text-faint); }
.pk-sim__stage .pk-canvas { padding: 10px; }
.pk-sim__status {
  max-width: var(--maxw); margin: 14px auto 0; padding: 12px 16px; min-height: 48px;
  border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.025);
  font-size: 14px; color: var(--text); line-height: 1.5;
}
.pk-sim__status:empty::before { content: "\00a0"; }
.pk-sim__count { font-size: 12.5px; font-weight: 700; color: var(--text-dim); }
.pk-sim__step { font-size: 12.5px; color: var(--text-faint); }
.pk-hints { margin-top: 22px; }

/* ── KAPAZITÄT: TABELLE & AMPEL ──────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.dtable th, .dtable td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--border); line-height: 1.55; }
.dtable thead th { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); background: rgba(224,172,88,.05); }
.dtable tbody tr:last-child td, .dtable tbody tr:last-child th { border-bottom: 0; }
.dtable td { color: var(--text-dim); }
.dtable tbody th { color: var(--text); font-weight: 700; }
.dtable td small { display: block; margin-top: 4px; color: var(--text-faint); font-size: 12px; }
.dtable .is-check { color: var(--text); }
.ampel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.ampel__item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255,255,255,.025); }
.ampel__light { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; }
.ampel__item--g .ampel__light { background: var(--green); box-shadow: 0 0 14px rgba(74,222,128,.7); }
.ampel__item--y .ampel__light { background: var(--yellow); box-shadow: 0 0 14px rgba(245,200,66,.7); }
.ampel__item--r .ampel__light { background: var(--red); box-shadow: 0 0 14px rgba(239,68,68,.7); }
.ampel__item--y { border-color: rgba(245,200,66,.35); }
.ampel__item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.ampel__item p { font-size: 13.5px; line-height: 1.55; }
.ampel__tag { display: inline-block; margin-top: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); border: 1px solid rgba(245,200,66,.35); border-radius: 100px; padding: 2px 9px; }

/* ── INZIDENZ-REGLER ─────────────────────────────────────── */
.calc {
  margin-top: 20px; padding: 26px; border-radius: 22px;
  border: 1px solid var(--border-a);
  background: radial-gradient(100% 120% at 0% 0%, rgba(224,172,88,.10), transparent 60%), rgba(255,255,255,.02);
}
.calc__formula {
  font: 600 13.5px/1.6 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--acc-light);
  padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--border);
  overflow-x: auto; white-space: nowrap;
}
.calc__formula span { color: var(--text-faint); }
.calc__control { margin: 22px 0 8px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--text-dim); }
.calc__label output { font-size: 28px; font-weight: 900; color: var(--acc); line-height: 1; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 100px; background: linear-gradient(90deg, rgba(240,138,60,.55), rgba(224,172,88,.45) 30%, rgba(18,197,188,.45)); }
.calc input[type="range"]::-moz-range-track { height: 8px; border-radius: 100px; background: linear-gradient(90deg, rgba(240,138,60,.55), rgba(224,172,88,.45) 30%, rgba(18,197,188,.45)); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #ffd27a; border: 2px solid #fff4d6; box-shadow: 0 0 14px rgba(255,200,110,.9); }
.calc input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #ffd27a; border: 2px solid #fff4d6; box-shadow: 0 0 14px rgba(255,200,110,.9); }
.calc input[type="range"]:focus-visible { outline: 2px solid var(--acc); outline-offset: 6px; border-radius: 8px; }
.calc__presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.calc__presets button[aria-pressed="true"] { color: var(--acc); border-color: var(--border-a); background: var(--acc-faint); }
.calc__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.calc__val { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: rgba(0,0,0,.25); }
.calc__val span { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.calc__val b { display: block; font-size: 18px; font-weight: 900; color: var(--text); line-height: 1.2; }
.calc__val small { display: block; font-size: 11.5px; color: var(--text-faint); margin-top: 3px; }
.calc__val--total { border-color: rgba(224,172,88,.5); background: var(--acc-faint); }
.calc__val--total b { font-size: 24px; color: var(--acc-light); }
.calc__bar { position: relative; margin: 26px 0 8px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.05); }
.calc__seg { position: absolute; top: 0; bottom: 0; transition: left .25s, width .25s; }
.calc__seg--pm { background: rgba(255,255,255,.35); border-radius: 8px 0 0 8px; }
.calc__seg--min { background: rgba(18,197,188,.65); }
.calc__seg--kon { background: rgba(224,172,88,.8); }
.calc__seg--gap { background: repeating-linear-gradient(135deg, rgba(239,68,68,.55) 0 6px, rgba(239,68,68,.2) 6px 12px); border: 1px solid rgba(239,68,68,.7); border-left: 0; }
.calc__ref { position: absolute; top: -8px; bottom: -8px; width: 2px; background: var(--text); box-shadow: 0 0 8px rgba(255,255,255,.6); }
.calc__ref::after { content: "recherchiert"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; }
.calc__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--text-faint); }
.calc__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.calc__diff { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.6; border: 1px solid var(--border); background: rgba(255,255,255,.025); color: var(--text-dim); }
.calc__diff.is-low { border-color: rgba(239,68,68,.5); background: rgba(239,68,68,.07); }
.calc__diff.is-high { border-color: rgba(245,200,66,.4); background: rgba(245,200,66,.06); }
.calc__diff.is-ok { border-color: rgba(74,222,128,.4); background: rgba(74,222,128,.06); }
.calc__diff strong { color: var(--text); }

/* ── ANONYMAX ────────────────────────────────────────────── */
.mask { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; margin: 6px 0 26px; }
.mask__side { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; background: rgba(255,255,255,.025); }
.mask__side--after { border-color: var(--border-b); background: var(--b-faint); }
.mask__label { display: block; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.mask__side--after .mask__label { color: var(--b); }
.mask__side p { font-size: 14px; line-height: 1.75; color: var(--text); }
.mask__pii { color: var(--wait); font-weight: 700; }
.mask__ph { font: 700 13px/1.6 ui-monospace, "Cascadia Code", Consolas, monospace; color: #7ef0e8; background: rgba(18,197,188,.12); border-radius: 5px; padding: 1px 5px; }
.mask__gate { display: flex; align-items: center; justify-content: center; }
.mask__gate svg { width: 54px; height: 120px; }
.mask__gate-glass { fill: rgba(18,197,188,.08); stroke: var(--b); stroke-width: 1.6; }
.mask__gate-dot { fill: var(--acc); }

/* ── ZUORDNUNG BPMN → n8n ────────────────────────────────── */
.map { display: grid; gap: 10px; }
.map__row { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1.25fr); align-items: center; }
.map__bp, .map__n8n { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.025); }
.map__bp svg { width: 34px; height: 34px; flex-shrink: 0; }
.map__bp strong, .map__n8n strong { display: block; font-size: 14px; line-height: 1.3; }
.map__n8n { border-color: var(--border-b); background: linear-gradient(135deg, rgba(18,197,188,.08), rgba(7,8,11,.3)); }
.map__n8n small { display: block; font-size: 12px; color: var(--text-faint); line-height: 1.45; margin-top: 2px; }
.map__node { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(18,197,188,.5); background: #0b1918; }
.map__node svg { width: 18px; height: 18px; }
.map__node svg * { fill: none; stroke: #7ef0e8; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map__wire { position: relative; height: 2px; margin: 0 8px; background: linear-gradient(90deg, rgba(224,172,88,.7), rgba(18,197,188,.7)); }
.map__wire::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid rgba(18,197,188,.9); border-right: 0; }
.map__wire::before { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 8px rgba(255,200,110,.9); animation: pk-wire 2.6s ease-in-out infinite; }
.map__row:nth-child(2) .map__wire::before { animation-delay: .35s; }
.map__row:nth-child(3) .map__wire::before { animation-delay: .7s; }
.map__row:nth-child(4) .map__wire::before { animation-delay: 1.05s; }
.map__row:nth-child(5) .map__wire::before { animation-delay: 1.4s; }
.map__row:nth-child(6) .map__wire::before { animation-delay: 1.75s; }
.map__row:nth-child(7) .map__wire::before { animation-delay: 2.1s; }
@keyframes pk-wire { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

/* Vergleich n8n / Make / Zapier */
.tools .dtable { min-width: 560px; }
.tools .dtable tbody th { white-space: nowrap; }
.tools .is-rec th { color: var(--b); }
.badge { display: inline-block; margin-left: 6px; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--b); border: 1px solid var(--border-b); border-radius: 100px; padding: 1px 8px; vertical-align: 2px; }

/* Downloads */
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.dl__item {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--border-a); background: linear-gradient(145deg, rgba(224,172,88,.08), rgba(7,8,11,.3));
  color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.dl__item:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--acc); box-shadow: 0 8px 28px rgba(224,172,88,.12); }
.dl__file { flex-shrink: 0; width: 44px; height: 54px; }
.dl__file path { fill: none; stroke: var(--acc); stroke-width: 1.8; stroke-linejoin: round; }
.dl__file text { fill: var(--acc-light); font: 800 9px Inter, system-ui, sans-serif; }
.dl__item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.dl__item span { display: block; font-size: 13px; color: var(--text-dim); line-height: 1.55; }
.dl__item em { display: inline-block; margin-top: 8px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.dl-note { margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.dl-note::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--b); box-shadow: 0 0 8px rgba(18,197,188,.7); }

/* Punkt-Listen */
.points { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.points li {
  position: relative; padding: 16px 18px 16px 44px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  font-size: 14px; color: var(--text-dim); line-height: 1.6;
}
.points li::before {
  content: ""; position: absolute; left: 18px; top: 22px;
  width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg);
  background: var(--acc); box-shadow: 0 0 10px rgba(224,172,88,.6);
}
.points--b li::before { background: var(--b); box-shadow: 0 0 10px rgba(18,197,188,.6); }
.points--1 { grid-template-columns: 1fr; }
.pains { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 22px; }
.pains li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(240,138,60,.28); background: var(--wait-faint); font-size: 13.5px; line-height: 1.55; color: var(--text-dim); }
.pains b { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--wait); color: #1b0f05; font-size: 11.5px; font-weight: 900; }
.pains strong { display: block; color: var(--text); margin-bottom: 2px; }

.law { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.law .points { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
.law__head { display: flex; align-items: center; gap: 14px; }
.law__head h3 { font-size: 18px; font-weight: 900; }
.soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; color: var(--text-dim); border: 1px dashed var(--border-a); border-radius: 100px; padding: 8px 16px; }
.soon b { color: var(--acc); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }

/* ── WEITERLESEN / QUELLEN / FOOTER ──────────────────────── */
.xlinks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.xlink { display: block; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); transition: border-color .2s, transform .2s, box-shadow .2s; }
.xlink:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--border-a); box-shadow: 0 8px 28px rgba(224,172,88,.1); }
.xlink__kicker { display: block; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.xlink__title { display: block; font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.xlink__text { display: block; font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }
.xlink__go { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.sources { display: grid; gap: 10px; }
.sources li { font-size: 14px; color: var(--text-dim); line-height: 1.6; padding-left: 18px; position: relative; }
.sources li::before { content: "↗"; position: absolute; left: 0; color: var(--acc); }
.footer-nav { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-nav .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.footer-nav a { font-size: 14px; font-weight: 600; color: var(--text-dim); padding: 8px 16px; border: 1px solid var(--border); border-radius: 100px; transition: all .2s; text-decoration: none; }
.footer-nav a:hover { color: var(--acc); border-color: var(--border-a); background: var(--acc-faint); text-decoration: none; }

/* ── HARMONISCHE RASTER (Desktop) ──────────────────────────── */
@media (min-width: 861px) {
  .grid--2, .points:not(.points--1) { grid-template-columns: repeat(6, 1fr); }
  .grid--2 > *, .points:not(.points--1) > li { grid-column: span 2; }
  .grid--2 > :last-child:nth-child(3n+1), .points:not(.points--1) > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .grid--2 > :nth-last-child(2):nth-child(3n+1), .grid--2 > :last-child:nth-child(3n+2),
  .points:not(.points--1) > li:nth-last-child(2):nth-child(3n+1), .points:not(.points--1) > li:last-child:nth-child(3n+2) { grid-column: span 3; }
  .grid--2 > :first-child:nth-last-child(4), .grid--2 > :first-child:nth-last-child(4) ~ *,
  .points:not(.points--1) > li:first-child:nth-last-child(4), .points:not(.points--1) > li:first-child:nth-last-child(4) ~ li { grid-column: span 3; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .legend { grid-template-columns: 1fr; }
  .legend__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-clock { margin-left: 0; }
}
@media (max-width: 860px) {
  .hero { padding-top: 72px; }
  .hero.has-media { padding-top: 0; }
  .hero .hero__media {
    position: relative; width: auto; height: auto; margin: 0 0 8px;
    aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  }
  .hero .hero__media.is-missing { display: none; }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev > .pic { order: 2; }
  .law { grid-template-columns: 1fr; }
  .ampel { grid-template-columns: 1fr; }
  .mask { grid-template-columns: 1fr; }
  .mask__gate svg { width: 120px; height: 44px; transform: rotate(90deg); }
  .map { gap: 20px; }
  .map__row { grid-template-columns: 1fr; }
  .map__wire { height: 22px; width: 2px; margin: 0 0 0 30px; background: linear-gradient(180deg, rgba(224,172,88,.7), rgba(18,197,188,.7)); }
  .map__wire::after { right: auto; left: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 7px solid rgba(18,197,188,.9); border-bottom: 0; }
  .map__wire::before { display: none; }
}
@media (max-width: 760px) {
  .pk-sim__bar { position: sticky; top: 98px; z-index: 40; gap: 10px 14px; padding: 10px 12px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(14,12,8,.92); }
  .pk-seg button { padding: 7px 12px; font-size: 12.5px; }
  .pk-switch { font-size: 12.5px; }
  .pk-clock svg { width: 38px; height: 38px; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .pk-wide { width: calc(100vw - 24px); }
  .pk-canvas { padding: 6px; border-radius: 14px; }
  .grid--2, .grid--3, .points { grid-template-columns: 1fr; }
  .sec-header { flex-direction: column; gap: 10px; }
  .legend__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legend__tab { padding: 10px; gap: 8px; font-size: 12.5px; }
  .legend__sym { width: 36px; height: 36px; }
  .calc { padding: 18px 14px; }
  .calc__formula { white-space: normal; font-size: 12.5px; }
  .calc__grid { gap: 8px; }
  .calc__val b { font-size: 16px; }
  .calc__val--total b { font-size: 20px; }
  .request { padding: 18px 16px 16px 40px; font-size: 14.5px; }
  .request::before { left: 10px; font-size: 42px; }
  .quote { padding: 22px 18px; }
  .toc-bar__inner { padding: 9px 16px; }
  .pk-sim__bar { top: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .map__wire::before { display: none; }
}
