/* ============================================================
   OVYLON Sub-Brand · Cockpit, Pulse, Flow, Products, Compare, Constellation
   ============================================================ */

/* shared rhythm */
.sb-hero { padding-top: 80px; }
.sb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
.sb-hero-copy { display: flex; flex-direction: column; justify-content: center; }
.sb-cockpit-wrap { display: flex; align-items: stretch; min-height: 0; align-self: center; width: 100%; }
@media (max-width: 980px) {
  .sb-hero-grid { grid-template-columns: 1fr; gap: 40px; align-items: stretch; }
}

/* ============================================================
   1 · COCKPIT (Core)
   ============================================================ */
.sb-cockpit { width: 100%; }
.ck-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 0;
}
.ck-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
}
.ck-cell:nth-child(2n) { border-right: 0; }
.ck-cell:nth-last-child(-n+2) { border-bottom: 0; }
.ck-cell-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.ck-cell-c { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 500; text-transform: none; letter-spacing: 0; }
[data-theme="dark"] .ck-cell-c { color: var(--accent); }
.ck-cell-c b { font-variant-numeric: tabular-nums; }

/* Callers */
.ck-callers { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ck-caller {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(-6px);
  animation: ckCallerIn 360ms ease-out forwards;
}
.ck-caller.ck-caller-live {
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  background: color-mix(in oklab, var(--accent) 8%, var(--bg));
}
@keyframes ckCallerIn {
  to { opacity: 1; transform: translateY(0); }
}
.ck-caller .av {
  width: 24px; height: 24px; border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 22%, var(--bg-2));
  color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  display: grid; place-items: center;
}
[data-theme="dark"] .ck-caller .av { color: var(--accent); }
.ck-caller .nm { font-weight: 500; color: var(--ink); }
.ck-caller .lc { color: var(--ink-3); font-size: 10.5px; font-family: var(--font-mono); }
.ck-caller .ti { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); }
.ck-caller-live .ti { color: var(--accent-ink); }
[data-theme="dark"] .ck-caller-live .ti { color: var(--accent); }

/* Chat — sprechblasen */
.ck-chat { flex: 1; display: flex; flex-direction: column; gap: 7px; font-size: 12px; line-height: 1.45; overflow-y: auto; overflow-x: hidden; padding-right: 4px; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.ck-chat::-webkit-scrollbar { width: 4px; }
.ck-chat::-webkit-scrollbar-track { background: transparent; }
.ck-chat::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 2px; }
.ck-chat .ln {
  opacity: 0;
  animation: ckLineIn 320ms cubic-bezier(.2,.7,.3,1) forwards;
  padding: 7px 10px;
  border-radius: 10px;
  max-width: 86%;
  position: relative;
  border: 1px solid transparent;
}
.ck-chat .ln-u {
  align-self: flex-end;
  color: var(--ink);
  background: var(--bg-2);
  border-color: var(--line);
  border-bottom-right-radius: 3px;
}
.ck-chat .ln-b {
  align-self: flex-start;
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 16%, var(--bg));
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  border-bottom-left-radius: 3px;
}
[data-theme="dark"] .ck-chat .ln-b {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
}
.ck-chat .ln-b::before {
  content: "KI";
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--accent-ink);
  margin-right: 6px;
  vertical-align: 1px;
  font-family: var(--font-mono);
}
[data-theme="dark"] .ck-chat .ln-b::before { color: var(--ink); }
@keyframes ckLineIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Actions */
.ck-acts { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; font-family: var(--font-mono); }
.ck-act {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 4px 6px;
  border-radius: 4px;
  opacity: 0;
  animation: ckActIn 320ms ease-out forwards;
}
.ck-act .ck-tk {
  color: var(--accent-ink); font-weight: 700;
  transform: scale(0);
  animation: ckTickPop 360ms cubic-bezier(0.4,1.6,0.4,1) 120ms forwards;
}
[data-theme="dark"] .ck-act .ck-tk { color: var(--accent); }
.ck-act .ck-ti { color: var(--ink-3); font-size: 10px; }
@keyframes ckActIn {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes ckTickPop { to { transform: scale(1); } }

/* DE map */
.ck-de { width: 100%; height: 100%; max-height: 175px; flex: 1; }
.ck-pins circle.pin {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px color-mix(in oklab, var(--accent) 60%, transparent));
}
.ck-pins circle.pin-live {
  animation: pinPulse 1.4s ease-out infinite;
}
@keyframes pinPulse {
  0%, 100% { r: 3; opacity: 1; }
  50% { r: 5; opacity: 0.7; }
}
.ck-pins circle.pin-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0.6;
  animation: pinRing 2s ease-out infinite;
}
@keyframes pinRing {
  0% { r: 3; opacity: 0.7; }
  100% { r: 14; opacity: 0; }
}

/* ============================================================
   2 · PULSE STRIP
   ============================================================ */
.sb-pulse {
  background: color-mix(in oklab, var(--accent) 7%, var(--bg-2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.sb-pulse::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 70%);
  pointer-events: none;
}
[data-theme="dark"] .sb-pulse {
  background: color-mix(in oklab, var(--accent) 5%, var(--bg-2));
}
.sb-pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 760px) { .sb-pulse-grid { grid-template-columns: 1fr; } }
.sb-pulse-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 28px;
  border-left: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line));
  position: relative;
}
.sb-pulse-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.sb-pulse-suf {
  font-size: 0.5em; color: var(--ink-3); font-weight: 400;
}
.sb-pulse-k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.sb-pulse-spark, .sb-pulse-pulse {
  width: 100%; height: 32px;
  color: var(--accent-ink);
  margin-top: 6px;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: sparkDraw 1.6s ease-out 0.4s forwards;
}
[data-theme="dark"] .sb-pulse-spark, [data-theme="dark"] .sb-pulse-pulse { color: var(--accent); }
@keyframes sparkDraw {
  to { stroke-dashoffset: 0; }
}
.sb-pulse-donut {
  width: 80px; height: 40px;
  color: var(--accent-ink);
  margin-top: 6px;
}
[data-theme="dark"] .sb-pulse-donut { color: var(--accent); }
.sb-pulse-donut circle:last-child {
  stroke-dashoffset: 100;
  animation: donutFill 1.6s ease-out 0.4s forwards;
}
@keyframes donutFill {
  to { stroke-dashoffset: 6; }
}

/* ============================================================
   3 · LIVE FLOW
   ============================================================ */
.sb-flow { padding: 96px 0; }
.flow-stage {
  position: relative;
  margin-top: 48px;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  padding: 24px 8px;
}
.flow-rail {
  position: absolute;
  left: 4%; right: 4%; top: 50%;
  width: 92%; height: 6px;
  transform: translateY(-50%);
  pointer-events: none;
}
.flow-rail-active {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: railDraw 2.4s ease-out 0.3s forwards;
}
@keyframes railDraw { to { stroke-dashoffset: 0; } }
.flow-stations {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.flow-st {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  gap: 6px;
  position: relative;
}
.flow-pin {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid color-mix(in oklab, var(--accent) 50%, var(--line));
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  color: var(--accent-ink);
  z-index: 2;
  position: relative;
  transition: transform 200ms, box-shadow 200ms;
  margin-top: 90px;
}
[data-theme="dark"] .flow-pin { color: var(--accent); }
.flow-st-h {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  margin-top: 14px;
}
.flow-st-p {
  font-size: 12.5px; color: var(--ink-3); line-height: 1.4;
  max-width: 150px;
}
.flow-st-tag {
  font-size: 10px; color: var(--accent-ink);
  text-transform: uppercase; letter-spacing: 0.08em;
}
[data-theme="dark"] .flow-st-tag { color: var(--accent); }
.flow-st.is-active .flow-pin {
  transform: scale(1.18);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 25%, transparent);
}
[data-theme="dark"] .flow-st.is-active .flow-pin {
  color: var(--bg);
}

/* travelling tokens */
.flow-tokens {
  position: absolute;
  left: 4%; right: 4%; top: 50%;
  width: 92%; height: 0;
  pointer-events: none;
}
.flow-tok {
  position: absolute;
  top: 0;
  width: 12px; height: 12px;
  margin-left: -6px; margin-top: -6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px 2px color-mix(in oklab, var(--accent) 60%, transparent);
  animation: tokRun 7.2s linear infinite;
}
@keyframes tokRun {
  0%   { left: 0%;   opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ============================================================
   4 · PRODUCT DEMOS
   ============================================================ */
.sb-products {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 980px) { .prod-grid { grid-template-columns: 1fr; } }
.prod-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  gap: 14px;
  transition: border-color 200ms, transform 200ms;
}
.prod-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.prod-num {
  color: var(--accent-ink);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
[data-theme="dark"] .prod-num { color: var(--accent); }
.prod-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.prod-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.prod-demo {
  margin-top: auto;
  height: 140px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.prod-card:hover .prod-demo,
.prod-card:hover .prod-demo * { animation-play-state: paused; }
.prod-meta {
  font-size: 10.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Chat demo */
.prod-demo-chat { display: flex; flex-direction: column; gap: 6px; padding: 12px; justify-content: flex-end; }
.pdc-msg {
  font-size: 11.5px;
  padding: 6px 10px;
  border-radius: 8px;
  max-width: 85%;
  line-height: 1.35;
  opacity: 0;
  animation: pdcIn 6s linear infinite;
}
.pdc-user {
  align-self: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-2);
  animation-delay: 0s;
}
.pdc-bot {
  align-self: flex-end;
  background: color-mix(in oklab, var(--accent) 16%, var(--bg));
  color: var(--ink);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line));
  animation-delay: 1.6s;
}
.pdc-typing {
  align-self: flex-end;
  display: inline-flex; gap: 3px;
  padding: 6px 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  animation: pdcIn 6s linear infinite;
  animation-delay: 4s;
}
.pdc-typing span {
  width: 4px; height: 4px; border-radius: 999px;
  background: var(--accent);
  animation: typeDot 1.2s ease-in-out infinite;
}
.pdc-typing span:nth-child(2) { animation-delay: 0.15s; }
.pdc-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes pdcIn {
  0%, 6%   { opacity: 0; transform: translateY(8px); }
  10%, 92% { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; transform: translateY(0); }
}

/* Phone demo */
.prod-demo-phone { display: grid; place-items: center; }
.pdp-ring {
  position: relative; width: 72px; height: 72px;
  display: grid; place-items: center;
}
.pdp-ring-r {
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: pdpRing 2.4s ease-out infinite;
}
.pdp-ring-r:nth-child(2) { animation-delay: 0.6s; }
.pdp-ring-r:nth-child(3) { animation-delay: 1.2s; }
@keyframes pdpRing {
  0% { transform: scale(0.4); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}
.pdp-icon {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  display: grid; place-items: center;
  z-index: 2;
}
[data-theme="dark"] .pdp-icon { color: var(--bg); }
.pdp-meta {
  position: absolute; bottom: 10px; left: 0; right: 0;
  text-align: center;
  font-size: 10.5px;
  color: var(--ink-3);
}

/* Workflow demo */
.prod-demo-flow { display: grid; place-items: center; padding: 16px; }
.pdw-svg { width: 100%; height: 100%; max-height: 110px; color: var(--ink); }
.pdw-line { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; }
.pdw-node { fill: var(--bg); stroke: var(--ink-3); stroke-width: 1.2; }
.pdw-tok {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px color-mix(in oklab, var(--accent) 60%, transparent));
  animation: pdwTok 3.6s linear infinite;
}
@keyframes pdwTok {
  0%   { cx: 40; opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { cx: 180; opacity: 0; }
}

/* ============================================================
   5 · COMPARE
   ============================================================ */
.sb-compare { padding: 96px 0; }
.cmp {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  margin-top: 48px;
}
@media (max-width: 820px) { .cmp { grid-template-columns: 1fr; } }
.cmp-side {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cmp-before {
  background: color-mix(in oklab, oklch(0.62 0.18 25) 6%, var(--bg-2));
}
[data-theme="dark"] .cmp-before {
  background: color-mix(in oklab, oklch(0.7 0.18 25) 8%, var(--bg-2));
}
.cmp-after {
  background: color-mix(in oklab, var(--accent) 7%, var(--bg-2));
}
.cmp-h {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.cmp-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.cmp-row:first-of-type { border-top: 0; }
.cmp-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.cmp-up { color: oklch(0.55 0.2 25); }
[data-theme="dark"] .cmp-up { color: oklch(0.78 0.18 25); }
.cmp-down { color: var(--accent-ink); }
[data-theme="dark"] .cmp-down { color: var(--accent); }
.cmp-bar {
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 12px;
  position: relative;
}
.cmp-bar > span {
  display: block;
  height: 100%;
  width: var(--w);
  background: oklch(0.6 0.2 25);
  animation: cmpFill 1.2s ease-out 0.4s both;
  transform-origin: left;
}
.cmp-bar > span.cmp-bar-acc {
  background: var(--accent);
}
@keyframes cmpFill {
  from { width: 0; }
}
.cmp-cap { font-size: 11px; color: var(--ink-3); }
.cmp-divider {
  display: grid;
  place-items: center;
  width: 56px;
  background: var(--bg);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 820px) { .cmp-divider { width: auto; padding: 16px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } }

/* ===== Day-Compare (neuer Praxis-Tag) ===== */
.day-compare {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
}
.day-head {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  padding: 14px 24px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.day-head-l { color: oklch(0.55 0.2 25); }
[data-theme="dark"] .day-head-l { color: oklch(0.78 0.18 25); }
.day-head-r { color: var(--accent-ink); text-align: right; }
[data-theme="dark"] .day-head-r { color: var(--accent); }
.day-head-mid { text-align: center; color: var(--ink-4); font-size: 14px; }
.day-metric {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.dm-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.dm-label svg { width: 16px; height: 16px; color: var(--ink-3); flex-shrink: 0; }
.dm-grid {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  gap: 0;
  align-items: center;
}
.dm-side {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 10px;
}
.dm-before {
  background: color-mix(in oklab, oklch(0.62 0.18 25) 7%, var(--bg-2));
  align-items: flex-start;
}
[data-theme="dark"] .dm-before {
  background: color-mix(in oklab, oklch(0.7 0.18 25) 10%, var(--bg-2));
}
.dm-after {
  background: color-mix(in oklab, var(--accent) 8%, var(--bg-2));
  align-items: flex-end;
}
.dm-v {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.dm-before .dm-v { color: oklch(0.5 0.2 25); }
[data-theme="dark"] .dm-before .dm-v { color: oklch(0.82 0.18 25); }
.dm-after .dm-v { color: var(--accent-ink); }
[data-theme="dark"] .dm-after .dm-v { color: var(--accent); }
.dm-bar {
  height: 4px;
  width: 100%;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.dm-bar > span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  animation: dmFill 1.1s ease-out 0.2s both;
  transform-origin: left;
}
.dm-before .dm-bar > span { background: oklch(0.6 0.2 25); }
.dm-after .dm-bar > span { background: var(--accent); }
@keyframes dmFill { from { width: 0; } }
.dm-sub { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.dm-delta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
}
.dm-arrow {
  font-size: 22px;
  color: var(--ink-4);
  font-family: var(--font-display);
}
.dm-pct {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media (max-width: 760px) {
  .dm-grid { grid-template-columns: 1fr; gap: 12px; }
  .dm-after, .dm-before { align-items: flex-start; }
  .dm-delta { flex-direction: row; }
  .dm-arrow { transform: rotate(90deg); font-size: 18px; }
}

/* Stress-Index — ein klares finales Visual */
.day-stress {
  padding: 24px;
  background: var(--bg-2);
}
.ds-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.ds-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ds-row {
  display: grid;
  grid-template-columns: 56px 1fr 84px;
  gap: 14px;
  align-items: center;
}
.ds-l {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ds-bar {
  height: 12px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.ds-bar > span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  animation: dmFill 1.4s ease-out 0.6s both;
  transform-origin: left;
}
.ds-bar-before > span { background: linear-gradient(90deg, oklch(0.7 0.18 25), oklch(0.55 0.22 25)); }
.ds-bar-after > span  { background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 70%, transparent), var(--accent)); }
.ds-v {
  font-size: 13px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-weight: 500;
}
.ds-cap { margin-top: 14px; font-size: 11px; color: var(--ink-3); }

/* ===== Workflow-Pipelines (Custom-Automatisierungen) ===== */
.wfp-pipelines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0 24px;
}
@media (max-width: 1000px) { .wfp-pipelines { grid-template-columns: 1fr; } }
.wfp-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color 240ms ease, box-shadow 240ms ease;
}
.wfp-card.is-active {
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 12%, transparent);
}
.wfp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.wfp-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.wfp-time {
  font-size: 11px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wfp-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--ink-4);
  transition: background 240ms;
}
.wfp-card.is-active .wfp-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
  animation: wfpPulse 1.4s ease-in-out infinite;
}
@keyframes wfpPulse {
  0%,100% { box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent); }
  50%     { box-shadow: 0 0 0 7px color-mix(in oklab, var(--accent) 8%, transparent); }
}
.wfp-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}
.wfp-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.wfp-steps::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
  z-index: 0;
}
.wfp-step {
  display: grid;
  grid-template-columns: 18px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  padding: 8px 0;
  font-size: 12px;
  color: var(--ink-3);
  opacity: 0.55;
  transition: opacity 240ms, color 240ms;
  position: relative;
  z-index: 1;
}
.wfp-bullet {
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1.5px solid var(--line-2);
  display: block;
  transition: background 240ms, border-color 240ms, box-shadow 240ms;
  justify-self: center;
  grid-row: 1 / span 2;
  align-self: start;
  margin-top: 2px;
}
.wfp-step-l { color: var(--ink-2); font-weight: 500; grid-column: 2; }
.wfp-step-sub { font-size: 10px; color: var(--ink-4); grid-column: 2; line-height: 1.3; }
.wfp-step.is-active {
  opacity: 1;
}
.wfp-step.is-active .wfp-bullet {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent);
}
.wfp-step.is-active .wfp-step-l { color: var(--ink); }
.wfp-step.is-done {
  opacity: 1;
}
.wfp-step.is-done .wfp-bullet {
  background: color-mix(in oklab, var(--accent) 30%, var(--bg));
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  position: relative;
}
.wfp-step.is-done .wfp-bullet::after {
  content: "";
  position: absolute;
  left: 3px; top: 1px;
  width: 3px; height: 6px;
  border: solid var(--accent-ink);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
[data-theme="dark"] .wfp-step.is-done .wfp-bullet::after { border-color: var(--accent); }
.wfp-step.is-done .wfp-step-l { color: var(--ink-2); }
.wfp-foot {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

/* ============================================================
   6 · CONSTELLATION
   ============================================================ */
.sb-constellation { padding: 96px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.cns {
  position: relative;
  width: 100%;
  height: 460px;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
}
.cns-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cns-edge {
  stroke: var(--line-2);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  transition: stroke 200ms;
}
.cns-edge.is-hot {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 0;
}
.cns-tok {
  fill: var(--accent);
  filter: drop-shadow(0 0 8px color-mix(in oklab, var(--accent) 70%, transparent));
}
.cns-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  min-width: 160px;
  text-align: center;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
  z-index: 2;
}
.cns-node:hover {
  transform: translate(-50%, -50%) scale(1.04);
  border-color: var(--c, var(--accent));
  box-shadow: 0 0 0 1px var(--c, var(--accent)), 0 18px 40px -20px color-mix(in oklab, var(--c, var(--accent)) 40%, transparent);
}
.cns-node[data-c="web"]       { --c: oklch(0.65 0.13 200); }
.cns-node[data-c="act"]       { --c: oklch(0.65 0.13 78); }
.cns-node[data-c="afterlive"] { --c: oklch(0.6 0.18 305); }
[data-theme="dark"] .cns-node[data-c="web"]       { --c: oklch(0.8 0.13 200); }
[data-theme="dark"] .cns-node[data-c="act"]       { --c: oklch(0.78 0.13 78); }
[data-theme="dark"] .cns-node[data-c="afterlive"] { --c: oklch(0.76 0.16 305); }
.cns-self {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -20px color-mix(in oklab, var(--accent) 50%, transparent);
}
.cns-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--c, var(--accent));
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--c, var(--accent)) 50%, transparent);
  animation: livepulse 1.6s ease-out infinite;
}
.cns-self .cns-dot { background: var(--accent); }
.cns-name { font-family: var(--font-display); font-size: 15px; font-weight: 500; letter-spacing: -0.005em; }
.cns-sub  { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.cns-tip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 180ms;
  z-index: 3;
}
.cns-tip.is-on { opacity: 1; }
[data-theme="dark"] .cns-tip { background: var(--ink); color: var(--bg); }
.cns-cta { display: flex; justify-content: center; margin-top: 32px; }


/* === PRODUCT DEMOS — REWRITE === */

/* Card layout: workflow card spans full width on wide screens */
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
@media (max-width: 900px) { .prod-grid { grid-template-columns: 1fr; } }
.prod-card-wide { grid-column: 1 / -1; }
.prod-bullets { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--ink-2); }
.prod-bullets li { padding-left: 14px; position: relative; line-height: 1.45; }
.prod-bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prod-bullets b { color: var(--ink); font-weight: 500; }
.prod-bullets-2col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px 22px; }
@media (max-width: 700px) { .prod-bullets-2col { grid-template-columns: 1fr; } }

/* 01 · Chat — rail-based animated conversation */
.prod-demo-chat { position: relative; min-height: 220px; padding: 14px; overflow: hidden; }
.pdc-rail { display: flex; flex-direction: column; gap: 8px; transition: transform 600ms cubic-bezier(.2,.7,.3,1); }
.pdc-rail .ln {
  padding: 8px 12px; border-radius: 12px; max-width: 82%; font-size: 13px; line-height: 1.45;
  border: 1px solid transparent;
  opacity: 0; transform: translateY(6px);
  animation: pdcIn 380ms cubic-bezier(.2,.7,.3,1) forwards;
}
.pdc-rail .ln-u { align-self: flex-end; background: var(--bg-2); border-color: var(--line); color: var(--ink); border-bottom-right-radius: 4px; }
.pdc-rail .ln-b { align-self: flex-start; background: color-mix(in srgb, var(--accent) 16%, var(--bg)); border-color: color-mix(in srgb, var(--accent) 30%, transparent); color: var(--accent-ink); border-bottom-left-radius: 4px; }
[data-theme="dark"] .pdc-rail .ln-b { color: var(--ink); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.pdc-rail .ln-b::before {
  content: "KI"; display: inline-block; font-size: 9px; font-weight: 600; letter-spacing: 0.06em;
  padding: 1px 5px; border-radius: 3px; background: var(--accent); color: var(--accent-ink);
  margin-right: 6px; vertical-align: 1px; font-family: var(--font-mono);
}
[data-theme="dark"] .pdc-rail .ln-b::before { color: var(--ink); }
.pdc-rail .ln-src { align-self: flex-start; font-size: 10.5px; color: var(--ink-3); padding: 0 10px; opacity: 0; animation: pdcIn 380ms 120ms forwards; font-family: var(--font-mono); }
@keyframes pdcIn { to { opacity: 1; transform: translateY(0); } }
.pdc-typing { position: absolute; left: 18px; bottom: 14px; display: flex; gap: 4px; opacity: 0; transition: opacity 200ms; }
.pdc-typing.is-on { opacity: 1; }
.pdc-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: pdcDot 1200ms infinite ease-in-out; }
.pdc-typing span:nth-child(2) { animation-delay: 150ms; }
.pdc-typing span:nth-child(3) { animation-delay: 300ms; }
@keyframes pdcDot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* 02 · Phone — swipe-to-answer + waveform */
.prod-demo-phone { padding: 0; min-height: 240px; overflow: hidden; }
.pdp-stage { position: relative; width: 100%; height: 240px; }
.pdp-card { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px; gap: 12px; transition: opacity 380ms ease, transform 380ms cubic-bezier(.2,.7,.3,1); }
.pdp-card-incoming { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.pdp-card-active { background: var(--bg); opacity: 0; transform: translateY(8px); }
.pdp-incoming-h { font-size: 10px; letter-spacing: 0.12em; color: var(--ink-3); }
.pdp-incoming-name { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.pdp-incoming-sub { font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }
.pdp-swipe { width: 100%; max-width: 280px; margin-top: 8px; }
.pdp-swipe-track {
  position: relative; height: 52px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.pdp-swipe-hint {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.08em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--ink-3) 0%, var(--accent) 50%, var(--ink-3) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: pdpHint 2400ms linear infinite;
}
@keyframes pdpHint { from { background-position: 0% 0; } to { background-position: -200% 0; } }
.pdp-swipe-knob {
  position: absolute; left: 4px; top: 4px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  box-shadow: 0 4px 18px -4px color-mix(in srgb, var(--accent) 60%, transparent);
  transition: transform 600ms cubic-bezier(.5,.1,.2,1);
}
[data-theme="dark"] .pdp-swipe-knob { color: var(--ink); }
.pdp-stage.is-active .pdp-swipe-knob { transform: translateX(220px); }
.pdp-stage.is-active .pdp-card-incoming { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.pdp-stage.is-active .pdp-card-active { opacity: 1; transform: translateY(0); }

.pdp-active-h { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.08em; color: var(--accent-ink); }
[data-theme="dark"] .pdp-active-h { color: var(--accent); }
.pdp-wave { display: flex; align-items: center; gap: 4px; height: 64px; }
.pdp-wave span {
  display: block; width: 4px; border-radius: 2px;
  background: var(--accent);
  height: 8px;
  animation: pdpWave 900ms ease-in-out infinite alternate;
}
.pdp-wave span:nth-child(2n) { animation-duration: 700ms; }
.pdp-wave span:nth-child(3n) { animation-duration: 1100ms; background: color-mix(in srgb, var(--accent) 70%, var(--ink)); }
.pdp-wave span:nth-child(4n) { animation-duration: 800ms; }
.pdp-wave span:nth-child(5n) { animation-duration: 1300ms; background: color-mix(in srgb, var(--accent) 50%, var(--ink-2)); }
.pdp-wave span:nth-child(7n) { animation-duration: 600ms; }
@keyframes pdpWave { from { height: 6px; } to { height: 56px; } }
.pdp-wave span:nth-child(1) { animation-delay: 0ms; }
.pdp-wave span:nth-child(2) { animation-delay: 60ms; }
.pdp-wave span:nth-child(3) { animation-delay: 120ms; }
.pdp-wave span:nth-child(4) { animation-delay: 40ms; }
.pdp-wave span:nth-child(5) { animation-delay: 180ms; }
.pdp-wave span:nth-child(6) { animation-delay: 90ms; }
.pdp-wave span:nth-child(7) { animation-delay: 220ms; }
.pdp-wave span:nth-child(8) { animation-delay: 30ms; }
.pdp-active-cap { font-size: 12px; color: var(--ink-2); font-style: italic; min-height: 18px; max-width: 280px; text-align: center; }

/* 03 · Workflows — node graph */
.prod-demo-flow2 { padding: 18px; min-height: 240px; }
.pdf-svg { width: 100%; height: 240px; display: block; }
.pdf-edge { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 3; }
.pdf-tok { fill: var(--accent); }
[data-theme="dark"] .pdf-tok { filter: drop-shadow(0 0 4px var(--accent)); }
.pdf-node { fill: var(--bg); stroke: var(--line); stroke-width: 1.2; transition: stroke 220ms; }
.pdf-node-g:hover .pdf-node { stroke: var(--accent); }
.pdf-nt { fill: var(--ink); font-family: var(--font-mono); font-size: 11px; text-anchor: middle; dominant-baseline: middle; }
.pdf-node-c { fill: var(--accent); stroke: color-mix(in srgb, var(--accent) 60%, transparent); stroke-width: 2; }
.pdf-nt-c { fill: var(--accent-ink); font-family: var(--font-display); font-size: 13px; font-weight: 500; }
[data-theme="dark"] .pdf-nt-c { fill: var(--ink); }

/* === CAPABILITIES GRID === */
.sb-caps { padding: 96px 0; border-top: 1px solid var(--line); }
.caps-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
@media (max-width: 900px) { .caps-grid { grid-template-columns: 1fr; } }
.caps-col { padding: 28px 28px 32px; border-right: 1px solid var(--line); }
.caps-col:last-child { border-right: 0; }
@media (max-width: 900px) { .caps-col { border-right: 0; border-bottom: 1px solid var(--line); } .caps-col:last-child { border-bottom: 0; } }
.caps-h { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.caps-h h3 { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.caps-ico { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, var(--bg)); color: var(--accent-ink); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
[data-theme="dark"] .caps-ico { color: var(--accent); }
.caps-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.caps-list li { padding-left: 18px; position: relative; }
.caps-list li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--accent); font-family: var(--font-mono); font-size: 13px; }

/* === SYSTEM DIAGRAM === */
.sb-system { padding: 96px 0; border-top: 1px solid var(--line); }
.sys-stage { position: relative; aspect-ratio: 1200 / 660; max-width: 1200px; margin: 0 auto; }
.sys-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sys-frame { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.sys-frame-label { font-family: var(--font-mono); font-size: 11px; fill: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.sys-hub { fill: var(--bg); stroke: var(--ovy, var(--accent)); stroke-width: 2; }
.sys-hub-inner { fill: color-mix(in srgb, var(--ovy, var(--accent)) 12%, var(--bg)); stroke: color-mix(in srgb, var(--ovy, var(--accent)) 30%, transparent); stroke-width: 1; }
.sys-hub-t { fill: var(--ink); font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: 0.04em; }
.sys-hub-s { fill: var(--ink-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.sys-hub-s2 { fill: var(--ink-3); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.05em; }
.sys-edge { fill: none; stroke: var(--line-2); stroke-width: 1.5; transition: stroke 220ms, stroke-width 220ms; }
.sys-edge-x { stroke-dasharray: 2 5; opacity: 0.55; }
.sys-edge.is-hot { stroke: var(--accent); stroke-width: 2.4; opacity: 1; }
.sys-tok { fill: var(--accent); }
[data-theme="dark"] .sys-tok { filter: drop-shadow(0 0 6px var(--accent)); }

.sys-card {
  position: absolute; width: 27%; padding: 16px 18px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  transition: transform 240ms ease, border-color 220ms, box-shadow 240ms;
  display: block;
}
.sys-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 38px -14px color-mix(in srgb, var(--accent) 50%, transparent);
}
.sys-card-self { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.sys-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sys-card-tag { font-size: 10px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.sys-card-self .sys-card-tag { color: var(--accent-ink); font-weight: 600; }
[data-theme="dark"] .sys-card-self .sys-card-tag { color: var(--accent); }
.sys-card-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.sys-card-name { font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 4px; }
.sys-card-sub { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.sys-card-feat { font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.05em; padding-top: 8px; border-top: 1px solid var(--line); }

.sys-tip {
  position: absolute; pointer-events: none; opacity: 0;
  background: var(--ink); color: var(--bg);
  padding: 6px 10px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px;
  transform: translate(-50%, -130%); transition: opacity 180ms;
  white-space: nowrap; z-index: 5;
}
.sys-tip.is-on { opacity: 1; }

.sys-cta { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .sys-stage { aspect-ratio: auto; }
  .sys-svg { display: none; }
  .sys-card { position: static; width: auto; margin-bottom: 14px; }
  .sys-stage { display: flex; flex-direction: column; }
}


/* === IRIS / VISION-JUMP === */
.iris-layer {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  visibility: hidden;
  overflow: hidden; /* Safeguard: clipped grosse Iris-Ring/Content beim Skalieren */
}
.iris-layer.is-on { visibility: visible; }

/* Inneres: Reveal-Kreis mit DOM-Klon-Preview der Ziel-Seite */
.iris-content {
  position: absolute; inset: 0;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 1500ms cubic-bezier(0.45, 0, 0.25, 1);
  /* Default-Body-Hintergrund — sieht aus wie auf der echten Seite.
     Brand-Farbe NICHT hier — sonst scheint sie durch transparente Sektionen
     des Klons (Hero, etc.) und faerbt die ganze Vorschau ein. */
  background: var(--bg, oklch(0.985 0.004 95));
  overflow: hidden;
  will-change: clip-path;
}
.iris-layer.is-active .iris-content { clip-path: circle(150% at 50% 50%); }

/* DOM-Klon-Container — Ziel-Seite Body wird hier reinkopiert.
   Native Elemente, Browser rendert jeden Frame neu (kein Bitmap-Trick wie iframe). */
.iris-clone {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.iris-clone > * { pointer-events: none; }

/* Äußerer Ring: SVG mit non-scaling-stroke (bleibt konstant dünn beim Skalieren) */
.iris-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 240px; height: 240px;
  margin-left: -120px; margin-top: -120px;
  transform: translate3d(0,0,0) scale(0);
  transform-origin: center center;
  transition: transform 1500ms cubic-bezier(0.45, 0, 0.25, 1);
  pointer-events: none;
  shape-rendering: geometricPrecision;
  will-change: transform;
}
.iris-layer.is-active .iris-ring { transform: translate3d(0,0,0) scale(20); }
.iris-ring circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

/* SYSTEM hub link (clickable center) */
.sys-hub-link { cursor: pointer; }
.sys-hub-link:hover .sys-hub { stroke-width: 3; }
.sys-hub-link:hover .sys-hub-inner { fill: color-mix(in srgb, var(--accent) 18%, var(--bg)); }
.sys-hub-t { font-size: 30px !important; font-weight: 600 !important; }
.sys-hub-s { font-size: 11px !important; letter-spacing: 0.18em !important; }
.sys-hub-s2 { font-size: 10px !important; letter-spacing: 0.05em !important; fill: var(--ink-2) !important; }

/* Brand-tinted hover on system cards */
.sys-card { --brand: var(--accent); transition: border-color 200ms, box-shadow 200ms, background 200ms; }
.sys-card[data-c="core"]      { --brand: oklch(0.62 0.16 145); }
.sys-card[data-c="web"]       { --brand: oklch(0.65 0.13 195); }
.sys-card[data-c="act"]       { --brand: oklch(0.72 0.14 75); }
.sys-card[data-c="afterlive"] { --brand: oklch(0.55 0.20 295); }
.sys-card:hover {
  border-color: var(--brand) !important;
  box-shadow: 0 22px 50px -14px color-mix(in srgb, var(--brand) 55%, transparent), 0 0 0 1px var(--brand) !important;
  background: color-mix(in srgb, var(--brand) 8%, var(--bg)) !important;
}
.sys-card:hover .sys-card-name { color: var(--brand) !important; }
.sys-card:hover .sys-card-dot { background: var(--brand) !important; box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 30%, transparent) !important; }
.sys-card:hover .sys-card-tag { color: var(--brand) !important; }

/* Sessions · live-verteilung */
.ck-map { padding: 12px 14px 14px; }
.ck-map-body { display: grid; grid-template-columns: 90px 1fr; gap: 12px; flex: 1; align-items: center; }
.ck-de { width: 100%; height: auto; max-height: 170px; }
.ck-cities { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; font-size: 11px; }
.ck-cities li { display: grid; grid-template-columns: 56px 1fr 24px; gap: 8px; align-items: center; line-height: 1.3; }
.ck-city-n { color: var(--ink); }
.ck-city-bar { display: block; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ck-city-bar > span { display: block; height: 100%; width: var(--w, 0%); background: var(--accent); border-radius: 2px; transition: width 600ms ease; }
.ck-city-v { color: var(--ink-2); text-align: right; font-size: 10.5px; }
.ck-pins .pin { fill: color-mix(in srgb, var(--accent) 65%, var(--ink-3)); }
.ck-pins .pin-live { fill: var(--accent); }

/* ============================================================
   WEB · Lighthouse rings + traffic graph
   ============================================================ */
.lh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; flex: 1; align-content: center; }
.lh-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lh-ring { width: 50px; height: 50px; }
.lh-bg { fill: none; stroke: var(--line); stroke-width: 4; }
.lh-fg { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 32px 32px; }
[data-theme="dark"] .lh-fg { stroke: var(--accent); }
.lh-num { font-family: var(--font-display); font-size: 16px; font-weight: 600; fill: var(--ink); text-anchor: middle; }
.lh-k { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }

.wb-traffic { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.wb-graph { width: 100%; height: 70px; flex-shrink: 0; }
.wb-routes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--ink-2); }
.wb-routes li { display: flex; justify-content: space-between; padding: 2px 0; border-top: 1px dashed var(--line); }
.wb-routes li:first-child { border-top: 0; }
.wb-routes .mono { color: var(--accent-ink); }
[data-theme="dark"] .wb-routes .mono { color: var(--accent); }

/* ============================================================
   ACT · Risk classification engine + audit log
   ============================================================ */
.ra-cell { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; padding-right: 2px; }
.ra-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; align-items: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); font-size: 12px; transition: background 280ms, border-color 280ms; }
.ra-row.is-hot { background: color-mix(in srgb, var(--accent) 14%, var(--bg-2)); border-color: var(--accent); }
.ra-row .ra-lvl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.ra-row .ra-q { color: var(--ink); }
.ra-row .ra-vd { font-family: var(--font-mono); font-size: 10px; padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--ink-3); }
.ra-row.is-hot .ra-vd { color: var(--accent-ink); border-color: var(--accent); background: var(--bg); }
[data-theme="dark"] .ra-row.is-hot .ra-vd { color: var(--accent); }
.ra-stop { color: oklch(0.55 0.2 25) !important; border-color: oklch(0.55 0.2 25) !important; }
[data-theme="dark"] .ra-stop { color: oklch(0.78 0.18 25) !important; border-color: oklch(0.78 0.18 25) !important; }

.al-list { display: flex; flex-direction: column; gap: 4px; flex: 1; font-family: var(--font-mono); font-size: 11px; }
.al-row { display: grid; grid-template-columns: 38px 1fr; gap: 8px; padding: 4px 6px; border-radius: 4px; opacity: 0; animation: alIn 360ms ease-out forwards; }
@keyframes alIn { to { opacity: 1; } }
.al-t { color: var(--accent-ink); }
[data-theme="dark"] .al-t { color: var(--accent); }
.al-x { color: var(--ink-2); }
.al-x b { color: var(--ink); font-weight: 500; }

/* Calendar of trainings */
.ca-cell { padding: 10px; flex: 1; min-height: 0; }
.ca-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.ca-cell .ca-h { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); text-align: center; padding: 4px 0; }
.ca-d { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 3px; display: grid; place-items: center; font-size: 10px; color: var(--ink-3); background: var(--bg-2); }
.ca-d.has { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); color: var(--accent-ink); font-weight: 600; }
[data-theme="dark"] .ca-d.has { color: var(--accent); }
.ca-d.is-today { box-shadow: 0 0 0 1.5px var(--accent); }

/* Risk dashboard */
.rd-cell { padding: 10px 12px; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.rd-stat { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline; padding: 5px 0; border-top: 1px dashed var(--line); }
.rd-stat:first-child { border-top: 0; }
.rd-k { font-size: 11px; color: var(--ink-2); }
.rd-v { font-family: var(--font-display); font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.rd-v.is-up { color: oklch(0.55 0.2 25); }
[data-theme="dark"] .rd-v.is-up { color: oklch(0.78 0.18 25); }
.rd-v.is-down { color: var(--accent-ink); }
[data-theme="dark"] .rd-v.is-down { color: var(--accent); }

/* ============================================================
   AFTERLIVE · Voice transcript + knowledge graph + waveform
   ============================================================ */
.av-cell { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.av-msg { display: flex; gap: 8px; align-items: flex-start; opacity: 0; transform: translateY(6px); animation: avIn 380ms cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes avIn { to { opacity: 1; transform: translateY(0); } }
.av-av { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; flex-shrink: 0; font-family: var(--font-display); font-weight: 600; font-size: 10px; }
.av-av-u { background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }
.av-av-b { background: var(--accent); color: var(--bg); }
[data-theme="dark"] .av-av-b { color: var(--ink); }
.av-bd { flex: 1; }
.av-who { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.av-tx { font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.av-msg.av-b .av-tx { color: var(--ink); }
.av-src { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-3); margin-top: 3px; }

/* Listening wave (continuous) */
.av-wave { display: flex; align-items: center; gap: 3px; height: 28px; padding: 4px 8px; border: 1px dashed var(--line-2); border-radius: 6px; }
.av-wave span { display: block; width: 3px; border-radius: 2px; background: var(--accent); height: 6px; animation: avWave 900ms ease-in-out infinite alternate; }
@keyframes avWave { from { height: 4px; } to { height: 20px; } }
.av-wave span:nth-child(2n) { animation-duration: 700ms; }
.av-wave span:nth-child(3n) { animation-duration: 1100ms; opacity: 0.7; }
.av-wave span:nth-child(5n) { animation-duration: 1300ms; }

/* Knowledge sources */
.ks-cell { padding: 10px 12px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.ks-row { display: grid; grid-template-columns: 1fr 60px auto; gap: 8px; align-items: center; padding: 4px 0; font-size: 11px; border-top: 1px dashed var(--line); }
.ks-row:first-child { border-top: 0; }
.ks-name { color: var(--ink); font-weight: 500; }
.ks-bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ks-bar > span { display: block; height: 100%; width: var(--w, 0%); background: var(--accent); transition: width 800ms ease; }
.ks-cnt { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); text-align: right; }

/* Memory graph (small cluster) */
.mg-cell { padding: 0; flex: 1; min-height: 0; position: relative; overflow: hidden; }
.mg-svg { width: 100%; height: 100%; min-height: 170px; display: block; }
.mg-edge { stroke: var(--line-2); stroke-width: 1; opacity: 0.7; transition: stroke 220ms; }
.mg-edge.is-hot { stroke: var(--accent); stroke-width: 1.6; opacity: 1; }
.mg-node { fill: var(--bg); stroke: var(--ink-3); stroke-width: 1.2; }
.mg-node-c { fill: var(--accent); stroke: color-mix(in srgb, var(--accent) 50%, transparent); stroke-width: 2; }
.mg-tx { font-family: var(--font-mono); font-size: 9px; fill: var(--ink-2); text-anchor: middle; dominant-baseline: middle; }
.mg-tx-c { fill: var(--accent-ink); font-weight: 600; font-size: 10px; }
[data-theme="dark"] .mg-tx-c { fill: var(--ink); }
.mg-tok { fill: var(--accent); }
[data-theme="dark"] .mg-tok { filter: drop-shadow(0 0 4px var(--accent)); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: translateY(0); }


/* ============================================================
   ACT · DOSSIER / AKTENMAPPE — eigene Designsprache
   ============================================================ */

body[data-brand="act"] {
  --paper: oklch(0.965 0.014 78);
  --paper-2: oklch(0.945 0.018 76);
  --paper-3: oklch(0.92 0.022 74);
  --ink-paper: oklch(0.18 0.02 60);
  --ink-paper-2: oklch(0.42 0.022 60);
  --ink-paper-3: oklch(0.6 0.02 60);
  --rule: oklch(0.82 0.018 78);
  --rule-2: oklch(0.7 0.02 78);
  --stamp: oklch(0.5 0.18 25);
  --serif: "Inter Tight", Georgia, "Times New Roman", serif;
}
[data-theme="dark"] body[data-brand="act"] {
  --paper: oklch(0.21 0.013 80);
  --paper-2: oklch(0.26 0.015 78);
  --paper-3: oklch(0.3 0.018 78);
  --ink-paper: oklch(0.96 0.012 80);
  --ink-paper-2: oklch(0.78 0.014 78);
  --ink-paper-3: oklch(0.6 0.014 78);
  --rule: oklch(0.4 0.018 78);
  --rule-2: oklch(0.5 0.02 78);
  --stamp: oklch(0.72 0.16 25);
}

.act-page { background: var(--paper); color: var(--ink-paper); }
.act-page .container { max-width: 1200px; }

/* COVER SHEET ============================================== */
.act-cover {
  padding: 36px var(--pad) 80px;
  background: var(--paper);
  position: relative;
  border-bottom: 4px double var(--rule-2);
}
.act-cover::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 18px;
  background:
    repeating-linear-gradient(90deg, var(--ink-paper) 0 8px, transparent 8px 16px);
  opacity: 0.18;
}
.act-cover-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 24px;
}
.act-bar {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-paper-2);
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.act-bar > span { display: inline-flex; gap: 6px; align-items: baseline; }
.act-bar > span + span::before {
  content: "·";
  color: var(--rule-2);
  margin-right: 12px;
}
.act-bar b { color: var(--ink-paper); font-weight: 500; }

.act-margin {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-paper-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px dashed var(--rule);
  border-right: 1px dashed var(--rule);
  padding: 0 4px;
  white-space: nowrap;
}
.act-margin-r {
  position: relative;
}

.act-body { padding: 8px 0 24px; min-height: 480px; }

.act-aktenz {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-paper-2);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.act-aktenz b { color: var(--ink-paper); font-weight: 500; }
.act-aktenz em {
  font-style: normal;
  text-transform: uppercase;
  font-size: 10px;
  padding: 2px 6px;
  border: 1px solid var(--ink-paper);
  letter-spacing: 0.08em;
  color: var(--ink-paper);
}

.act-display {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(48px, 7.6vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.038em;
  color: var(--ink-paper);
  margin: 16px 0 24px;
  text-wrap: balance;
}
.act-display em {
  font-style: italic;
  color: var(--accent-ink);
  font-weight: 450;
  position: relative;
}
[data-theme="dark"] .act-display em { color: var(--accent); }
.act-display em::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%; bottom: -4px;
  height: 2px;
  background: var(--accent);
  opacity: 0.5;
}

.act-lede {
  font-size: 18px;
  max-width: 60ch;
  line-height: 1.55;
  color: var(--ink-paper-2);
  margin: 0 0 32px;
}

.act-cols {
  column-count: 2;
  column-gap: 40px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-paper-2);
  max-width: 78ch;
  margin: 32px 0 0;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  text-align: justify;
  hyphens: auto;
}
.act-cols p { margin: 0 0 12px; break-inside: avoid; }
.act-cols p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 3.6em;
  font-weight: 450;
  float: left;
  line-height: 0.85;
  margin: 4px 8px 0 0;
  color: var(--accent-ink);
  font-style: italic;
}
[data-theme="dark"] .act-cols p:first-child::first-letter { color: var(--accent); }

/* RUBBER STAMP ============================================== */
.act-stamp {
  position: absolute;
  border: 3px solid var(--stamp);
  border-radius: 6px;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--stamp);
  transform: rotate(-7deg);
  background: transparent;
  text-align: center;
  line-height: 1.25;
  user-select: none;
  opacity: 0.86;
  z-index: 3;
}
.act-stamp::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--stamp);
  border-radius: 4px;
  opacity: 0.5;
}
.act-stamp small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-top: 4px;
  opacity: 0.75;
}

/* CTA ====================================================== */
.act-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.act-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--ink-paper);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--ink-paper);
  transition: opacity 200ms;
}
.act-btn:hover { opacity: 0.85; }
.act-btn-ghost {
  background: transparent;
  color: var(--ink-paper);
  border: 1px solid var(--rule-2);
}

/* SECTIONS ================================================= */
.act-section {
  padding: 80px var(--pad);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
}
.act-section.act-section-alt { background: var(--paper-2); }
.act-section-inner { max-width: 1200px; margin: 0 auto; }

.act-section-head {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 28px;
}
.act-section-num {
  font-family: var(--serif);
  font-size: 76px;
  font-weight: 450;
  font-style: italic;
  color: var(--accent-ink);
  line-height: 0.85;
}
[data-theme="dark"] .act-section-num { color: var(--accent); }
.act-section-num small {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-paper-2);
  margin-top: 6px;
}
.act-section-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-paper-2);
  margin-bottom: 8px;
}
.act-section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  color: var(--ink-paper);
}
.act-section-aside {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--ink-paper-2);
  text-transform: uppercase;
  text-align: right;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.act-section-aside b { color: var(--ink-paper); font-weight: 500; }

/* § 1 RISIKOKLASSE-REGISTER ================================ */
.act-register {
  border-top: 2.5px solid var(--ink-paper);
  border-bottom: 2.5px solid var(--ink-paper);
  font-family: var(--font-mono);
  background: var(--paper);
}
.act-register-head, .act-register-row {
  display: grid;
  grid-template-columns: 100px 1fr 130px 100px 130px;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.act-register-head {
  background: color-mix(in srgb, var(--ink-paper) 7%, var(--paper));
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-paper-2);
}
.act-register-row { font-size: 12px; transition: background 320ms; }
.act-register-row:nth-child(even) { background: color-mix(in srgb, var(--ink-paper) 2.5%, var(--paper)); }
.act-register-row:last-child { border-bottom: 0; }
.act-register-row.is-active {
  background: color-mix(in srgb, var(--accent) 12%, var(--paper));
}
.act-register-row .ar-z { color: var(--ink-paper-2); font-weight: 500; }
.act-register-row .ar-q { color: var(--ink-paper); font-family: var(--font-body); font-size: 14px; line-height: 1.35; }
.act-register-row .ar-q small { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--ink-paper-2); letter-spacing: 0.04em; margin-top: 2px; text-transform: uppercase; }

.act-class-badge {
  display: inline-flex;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid var(--ink-paper);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-paper);
  white-space: nowrap;
}
.act-class-badge.is-min { color: var(--ink-paper-2); border-color: var(--rule-2); }
.act-class-badge.is-low { color: var(--accent-ink); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
[data-theme="dark"] .act-class-badge.is-low { color: var(--accent); }
.act-class-badge.is-high { color: var(--stamp); border-color: var(--stamp); background: color-mix(in srgb, var(--stamp) 8%, transparent); }
.act-class-badge.is-stop { color: var(--paper); background: var(--stamp); border-color: var(--stamp); }

.act-vd {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.act-vd.is-ok { color: var(--accent-ink); }
[data-theme="dark"] .act-vd.is-ok { color: var(--accent); }
.act-vd.is-stop { color: var(--stamp); }
.act-vd.is-prog { color: var(--ink-paper-2); }

.act-sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-paper-2);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.act-sig::before {
  content: "✎";
  font-style: normal;
  color: var(--ink-paper-3);
  font-size: 10px;
}

.act-section-foot {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-paper-2);
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* § 2 PRÜFSCHRITTE — Akten-Flow ============================ */
.act-flow {
  position: relative;
  padding-left: 64px;
  margin-top: 12px;
}
.act-flow::before {
  content: "";
  position: absolute;
  left: 28px; top: 24px; bottom: 24px;
  width: 0;
  border-left: 1px dashed var(--rule-2);
}
.act-flow-step {
  position: relative;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 32px;
  border-bottom: 1px solid var(--rule);
}
.act-flow-step:last-child { border-bottom: 0; }
.act-flow-marker {
  position: absolute;
  left: -50px;
  top: 32px;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--paper);
  border: 1.5px solid var(--ink-paper);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-paper);
  z-index: 1;
}
.act-flow-step.is-current .act-flow-marker {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent);
}
[data-theme="dark"] .act-flow-step.is-current .act-flow-marker { color: var(--ink); }
.act-flow-date {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-paper-2);
  margin-bottom: 8px;
}
.act-flow-h {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 450;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink-paper);
}
.act-flow-p {
  font-size: 14.5px;
  color: var(--ink-paper-2);
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}
.act-flow-aside {
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
  color: var(--ink-paper-2);
  border-left: 1px solid var(--rule);
  padding: 6px 0 6px 18px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.act-flow-aside .row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
}
.act-flow-aside .row > b { color: var(--ink-paper); font-weight: 500; }
.act-flow-aside .row + .row { border-top: 1px dotted var(--rule); }
.act-mini-stamp {
  margin-top: 12px;
  padding: 4px 8px;
  border: 1.5px solid var(--accent);
  color: var(--accent-ink);
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.1em;
  align-self: flex-end;
  text-transform: uppercase;
  font-weight: 600;
}
[data-theme="dark"] .act-mini-stamp { color: var(--accent); }

/* § 3 PRÜFGEGENSTAND — vier Paragrafen ===================== */
.act-paragraphs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}
.act-para {
  padding: 36px 36px 36px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.act-para:nth-child(2n) { border-right: 0; }
.act-para:nth-last-child(-n+2) { border-bottom: 0; }
.act-para-no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-paper-2);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
}
.act-para-no b { color: var(--ink-paper); font-weight: 600; letter-spacing: 0.04em; }
.act-para-h {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 450;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
  line-height: 1.05;
}
.act-para-p {
  font-size: 14px;
  color: var(--ink-paper-2);
  line-height: 1.55;
  max-width: 50ch;
}
.act-para-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--rule);
  padding-top: 14px;
}
.act-para-list li {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-paper);
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  line-height: 1.4;
}
.act-para-list li::before {
  content: "§";
  color: var(--accent-ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
}
[data-theme="dark"] .act-para-list li::before { color: var(--accent); }

/* § 4 BESTANDSERHEBUNG — geschwärzt vs. vollständig ======== */
.act-redact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.act-doc {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 32px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-paper);
  position: relative;
  min-height: 460px;
  overflow: hidden;
}
.act-doc.act-doc-after {
  background: var(--paper);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 64px -32px color-mix(in srgb, var(--accent) 40%, transparent);
}
.act-doc-h {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-paper);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.act-doc-meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-paper-2);
  border-bottom: 1.5px solid var(--rule);
  padding-bottom: 10px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.act-doc-line {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: baseline;
}
.act-doc-line .lno {
  color: var(--ink-paper-2);
  opacity: 0.5;
  font-size: 9.5px;
  text-align: right;
}
.act-doc-line .lt {
  color: var(--ink-paper);
}
.act-doc-line.is-redact .lt {
  position: relative;
  color: transparent !important;
  user-select: none;
}
.act-doc-line.is-redact .lt::before {
  content: "";
  position: absolute;
  inset: 2px -4px 2px -4px;
  background: var(--ink-paper);
  border-radius: 1px;
}
.act-doc-line.is-redact-short .lt::before { right: 40%; }
.act-doc-line.is-redact-mid .lt::before { right: 18%; }

.act-doc-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1.5px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-paper-2);
}
.act-doc-foot b { color: var(--ink-paper); font-weight: 600; }
.act-doc.act-doc-before .act-doc-foot b { color: var(--stamp); }
.act-doc.act-doc-after .act-doc-foot b { color: var(--accent-ink); }
[data-theme="dark"] .act-doc.act-doc-after .act-doc-foot b { color: var(--accent); }
.act-doc-stamp {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 2px solid var(--stamp);
  color: var(--stamp);
  transform: rotate(8deg);
  opacity: 0.85;
}
.act-doc.act-doc-after .act-doc-stamp {
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-4deg);
}
[data-theme="dark"] .act-doc.act-doc-after .act-doc-stamp { color: var(--accent); }

/* SYSTEM — Act override ==================================== */
body[data-brand="act"] .sb-system { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
body[data-brand="act"] .sys-frame { fill: var(--paper); stroke: var(--rule-2); }
body[data-brand="act"] .sys-frame-label { fill: var(--ink-paper-2); }
body[data-brand="act"] .sys-card { background: var(--paper); border-color: var(--rule); }
body[data-brand="act"] .sys-card-name { color: var(--ink-paper); }
body[data-brand="act"] .sys-card-sub { color: var(--ink-paper-2); }
body[data-brand="act"] .sys-card-feat { color: var(--ink-paper-2); border-top-color: var(--rule); }
body[data-brand="act"] .sys-tip { background: var(--ink-paper); color: var(--paper); }
body[data-brand="act"] .display-l, body[data-brand="act"] .eyebrow { color: inherit; }
body[data-brand="act"] .lede { color: var(--ink-paper-2); }

/* MOBILE =================================================== */
@media (max-width: 900px) {
  .act-cover-inner { grid-template-columns: 1fr; }
  .act-margin { writing-mode: horizontal-tb; transform: none; border-left: 0; border-right: 0; border-top: 1px dashed var(--rule); border-bottom: 1px dashed var(--rule); padding: 6px 0; justify-content: flex-start; }
  .act-stamp { position: relative !important; top: auto !important; right: auto !important; margin-top: 24px; align-self: flex-start; }
  .act-cols { column-count: 1; }
  .act-section-head { grid-template-columns: 1fr; }
  .act-section-aside { text-align: left; }
  .act-paragraphs { grid-template-columns: 1fr; }
  .act-para { border-right: 0 !important; border-bottom: 1px solid var(--rule) !important; }
  .act-para:last-child { border-bottom: 0 !important; }
  .act-redact { grid-template-columns: 1fr; }
  .act-flow-step { grid-template-columns: 1fr; }
  .act-flow-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 12px; text-align: left; }
  .act-register-head, .act-register-row { grid-template-columns: 80px 1fr 100px; gap: 8px; padding: 10px 12px; }
  .act-register-head > :nth-child(4), .act-register-head > :nth-child(5),
  .act-register-row > :nth-child(4), .act-register-row > :nth-child(5) { display: none; }
}


/* ============================================================
   ACT · DOSSIER (Recht / Akte / Compliance)
   ============================================================ */
:root {
  --paper:    oklch(0.985 0.008 88);
  --paper-2:  oklch(0.965 0.01  85);
  --paper-3:  oklch(0.93 0.012 82);
  --ink-act:  oklch(0.22 0.02 50);
  --ink-act2: oklch(0.42 0.02 50);
  --rule:     oklch(0.65 0.04 60);
  --redact:   oklch(0.18 0.02 60);
  --stop:     oklch(0.55 0.18 27);
  --high:     oklch(0.62 0.16 50);
  --low:      oklch(0.62 0.13 95);
  --min:      oklch(0.62 0.13 145);
  --prog:     oklch(0.58 0.13 235);
}
[data-theme="dark"] {
  --paper:    oklch(0.18 0.01 60);
  --paper-2:  oklch(0.16 0.01 60);
  --paper-3:  oklch(0.13 0.01 60);
  --ink-act:  oklch(0.94 0.01 80);
  --ink-act2: oklch(0.78 0.01 80);
  --rule:     oklch(0.45 0.02 60);
  --redact:   oklch(0.05 0 0);
}
body[data-brand="act"].act-page { background: var(--paper); color: var(--ink-act); }
body[data-brand="act"] .act-cover,
body[data-brand="act"] .act-section {
  font-family: var(--font-display), serif;
}
body[data-brand="act"] .mono { font-family: var(--font-mono); }

/* COVER ============== */
.act-cover {
  position: relative;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 31px,
      color-mix(in oklab, var(--rule) 16%, transparent) 31px,
      color-mix(in oklab, var(--rule) 16%, transparent) 32px
    ),
    var(--paper);
  border-bottom: 2px solid var(--ink-act);
  padding: 0;
  overflow: hidden;
}
.act-cover-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 64px 80px;
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  gap: 24px;
}
.act-bar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-act2);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.act-bar b { color: var(--ink-act); font-weight: 600; }
.act-margin {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-act2);
  align-self: stretch;
  text-align: center;
  padding: 8px 0;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.act-margin-r { border-left: 1px solid var(--rule); border-right: none; }
.act-body { padding: 8px 0 24px; max-width: 980px; }
.act-aktenz {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-act2);
  margin-bottom: 32px;
}
.act-aktenz em { font-style: italic; opacity: 0.7; padding-right: 4px; }
.act-display {
  font-family: var(--font-display), serif;
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink-act);
  margin: 0 0 32px;
  text-wrap: balance;
}
.act-display em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-ink);
}
[data-theme="dark"] .act-display em { color: var(--accent); }
.act-lede {
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-act2);
  max-width: 640px;
  margin: 0 0 36px;
  font-weight: 400;
}
.act-cta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.act-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink-act);
  color: var(--paper);
  border: 1px solid var(--ink-act);
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 160ms;
}
.act-btn:hover { transform: translateY(-1px); }
.act-btn-ghost {
  background: transparent;
  color: var(--ink-act);
}
.act-sig {
  font-family: var(--font-display), serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink-act2);
}
.act-cols {
  column-count: 2;
  column-gap: 48px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-act2);
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.act-cols p { margin: 0 0 12px; break-inside: avoid; }
@media (max-width: 800px) { .act-cols { column-count: 1; } }

/* Stamps */
.act-stamp {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid var(--ink-act);
  color: var(--ink-act);
  padding: 12px 18px;
  transform: rotate(-6deg);
  background: color-mix(in oklab, var(--paper) 70%, transparent);
  text-align: center;
  pointer-events: none;
}
.act-stamp small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.05em;
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.7;
}

/* Sections */
.act-section { background: var(--paper); padding: 96px 0; }
.act-section-alt { background: var(--paper-2); }
.act-section-inner { max-width: 1280px; margin: 0 auto; padding: 0 64px; }
.act-section-head {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 32px;
}
.act-section-num {
  font-family: var(--font-display), serif;
  font-size: 64px;
  line-height: 1;
  color: var(--ink-act);
  font-weight: 500;
  display: flex;
  flex-direction: column;
}
.act-section-num small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-act2);
  font-weight: 400;
  margin-top: 6px;
}
.act-section-title {
  font-family: var(--font-display), serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink-act);
}
.act-section-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-act2);
  margin-bottom: 12px;
}
.act-section-aside {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-act2);
  text-align: right;
}
.act-section-aside b { color: var(--ink-act); font-weight: 600; }
.act-section-foot {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-act2);
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  margin-top: 24px;
}

/* REGISTER ====== */
.act-register {
  border: 1px solid var(--ink-act);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  overflow: hidden;
}
.act-register-head, .act-register-row {
  display: grid;
  grid-template-columns: 110px 1.6fr 130px 110px 1fr;
  gap: 16px;
  padding: 12px 18px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.act-register-head {
  background: var(--ink-act);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 0;
}
.act-register-row { background: var(--paper); transition: background 220ms; }
.act-register-row:nth-child(odd) { background: color-mix(in oklab, var(--rule) 5%, var(--paper)); }
.act-register-row:last-child { border-bottom: 0; }
.act-register-row.is-active {
  background: color-mix(in oklab, var(--accent) 12%, var(--paper)) !important;
  box-shadow: inset 4px 0 0 var(--accent);
}
.ar-z { color: var(--ink-act2); font-weight: 500; }
.ar-q { display: flex; flex-direction: column; gap: 2px; color: var(--ink-act); }
.ar-q small { color: var(--ink-act2); font-size: 11px; font-family: var(--font-mono); }
.act-class-badge {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid currentColor;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.act-class-badge.is-stop { color: var(--stop); }
.act-class-badge.is-high { color: var(--high); }
.act-class-badge.is-low  { color: var(--low); }
.act-class-badge.is-min  { color: var(--min); }
.act-vd { font-weight: 600; letter-spacing: 0.05em; }
.act-vd.is-ok   { color: var(--min); }
.act-vd.is-stop { color: var(--stop); }
.act-vd.is-prog { color: var(--prog); }
.act-register-row .act-sig { font-family: var(--font-display), serif; font-style: italic; font-size: 14px; color: var(--ink-act2); }

/* FLOW ====== */
.act-flow {
  position: relative;
  margin: 0;
  padding-left: 64px;
  list-style: none;
}
.act-flow::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--rule) 0, var(--rule) 100%);
}
.act-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px dashed var(--rule);
  align-items: start;
}
.act-flow-step:last-child { border-bottom: 0; }
.act-flow-marker {
  position: absolute;
  left: -64px;
  top: 32px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display), serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink-act2);
  z-index: 2;
  transition: all 280ms;
}
.act-flow-step.is-current .act-flow-marker {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: color-mix(in oklab, var(--accent) 12%, var(--paper));
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 18%, transparent);
}
[data-theme="dark"] .act-flow-step.is-current .act-flow-marker { color: var(--accent); }
.act-flow-date {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-act2);
  margin-bottom: 8px;
}
.act-flow-h {
  font-family: var(--font-display), serif;
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--ink-act);
}
.act-flow-p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-act2);
  margin: 0;
  max-width: 580px;
}
.act-flow-aside {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.act-flow-aside .row { display: flex; justify-content: space-between; }
.act-flow-aside .row span { color: var(--ink-act2); text-transform: uppercase; letter-spacing: 0.05em; }
.act-flow-aside .row b { color: var(--ink-act); font-weight: 600; }
.act-mini-stamp {
  margin-top: 4px;
  padding: 4px 8px;
  border: 1.5px solid var(--accent-ink);
  color: var(--accent-ink);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-2deg);
}
[data-theme="dark"] .act-mini-stamp { color: var(--accent); border-color: var(--accent); }

/* PARAGRAPHS ====== */
.act-paragraphs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--ink-act);
  background: var(--paper);
}
.act-para {
  padding: 32px 32px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.act-para:nth-child(2n) { border-right: 0; }
.act-para:nth-last-child(-n+2) { border-bottom: 0; }
.act-para-no {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-act2);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rule);
}
.act-para-no b {
  font-family: var(--font-display), serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink-act);
}
.act-para-h {
  font-family: var(--font-display), serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--ink-act);
}
.act-para-p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-act2);
  margin: 0 0 16px;
}
.act-para-list { margin: 0; padding: 0; list-style: none; }
.act-para-list li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-act);
  padding: 6px 0 6px 20px;
  border-top: 1px solid var(--rule);
  position: relative;
  font-family: var(--font-mono);
}
.act-para-list li::before {
  content: '§';
  position: absolute;
  left: 0;
  top: 6px;
  font-family: var(--font-display), serif;
  font-style: italic;
  color: var(--accent-ink);
}
[data-theme="dark"] .act-para-list li::before { color: var(--accent); }
@media (max-width: 800px) {
  .act-paragraphs { grid-template-columns: 1fr; }
  .act-para { border-right: 0; }
}

/* REDACT ===== */
.act-redact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.act-doc {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink-act);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.act-doc-before { background: var(--paper-2); }
.act-doc-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 2px solid var(--ink-act);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  transform: rotate(4deg);
}
.act-doc-before .act-doc-stamp { color: var(--stop); border-color: var(--stop); }
.act-doc-after .act-doc-stamp { color: var(--min); border-color: var(--min); }
.act-doc-h {
  font-family: var(--font-display), serif;
  font-size: 22px;
  margin: 0 80px 6px 0;
  color: var(--ink-act);
  font-weight: 500;
}
.act-doc-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-act2);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  margin-bottom: 6px;
}
.act-doc-line {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-act);
  padding: 6px 0;
  border-bottom: 1px dashed color-mix(in oklab, var(--rule) 50%, transparent);
}
.act-doc-line .lno { color: var(--ink-act2); font-size: 10px; }
.act-doc-line.is-redact .lt { background: var(--redact); color: var(--redact); border-radius: 2px; user-select: none; }
.act-doc-line.is-redact-mid .lt {
  background: linear-gradient(to right, var(--redact) 60%, transparent 60%);
  color: transparent; border-radius: 2px;
}
.act-doc-line.is-redact-mid .lt b { color: transparent; }
.act-doc-line.is-redact-short .lt {
  background: linear-gradient(to right, var(--redact) 30%, transparent 30%);
  color: var(--ink-act);
}
.act-doc-foot {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-act2);
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  margin-top: auto;
}
@media (max-width: 800px) { .act-redact { grid-template-columns: 1fr; } }
.act-doc b { color: var(--ink-act); font-weight: 600; }

@media (max-width: 800px) {
  .act-section-head { grid-template-columns: 1fr; gap: 12px; }
  .act-section-aside { text-align: left; }
  .act-cover-inner { padding: 24px 20px 60px; grid-template-columns: 1fr; }
  .act-margin { display: none; }
  .act-flow-step { grid-template-columns: 1fr; }
  .act-flow { padding-left: 56px; }
  .act-flow-marker { left: -56px; }
}


/* ============================================================
   ACT · RISK OPERATIONS CENTER (modern enterprise dashboard)
   ============================================================ */
body.rops-page {
  --rops-bg:    oklch(0.985 0.004 95);
  --rops-bg-2:  oklch(0.97 0.006 95);
  --rops-bg-3:  oklch(0.94 0.008 90);
  --rops-ink:   oklch(0.18 0.02 60);
  --rops-ink-2: oklch(0.42 0.02 60);
  --rops-line:  oklch(0.88 0.01 80);
  --rops-card:  oklch(1 0 0);
  --rops-stop:  oklch(0.58 0.18 27);
  --rops-high:  oklch(0.66 0.16 55);
  --rops-low:   oklch(0.65 0.13 95);
  --rops-min:   oklch(0.62 0.13 145);
  --rops-prog:  oklch(0.58 0.13 235);
  background: var(--rops-bg);
  color: var(--rops-ink);
}
[data-theme="dark"] body.rops-page {
  --rops-bg:    oklch(0.16 0.01 60);
  --rops-bg-2:  oklch(0.13 0.01 60);
  --rops-bg-3:  oklch(0.20 0.01 60);
  --rops-ink:   oklch(0.96 0.01 80);
  --rops-ink-2: oklch(0.74 0.01 80);
  --rops-line:  oklch(0.30 0.01 60);
  --rops-card:  oklch(0.20 0.01 60);
}

.rops-page .mono { font-family: var(--font-mono); }

/* HERO ============== */
.rops-hero {
  background:
    radial-gradient(900px 600px at 80% -10%, color-mix(in oklab, var(--accent) 14%, transparent) 0, transparent 60%),
    radial-gradient(700px 500px at 10% 110%, color-mix(in oklab, var(--accent) 8%, transparent) 0, transparent 60%),
    var(--rops-bg);
  padding: 24px 0 96px;
  border-bottom: 1px solid var(--rops-line);
}
.rops-shell { max-width: 1320px; margin: 0 auto; padding: 0 64px; }
.rops-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--rops-line);
  background: var(--rops-card);
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--rops-ink-2);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.rops-bar b { color: var(--rops-ink); font-weight: 600; }
.rops-bar-l { display: inline-flex; align-items: center; gap: 10px; }
.rops-dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent);
  animation: ropsPulse 2s ease-in-out infinite;
}
@keyframes ropsPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.rops-pulse-dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
  animation: ropsPulse 1.6s ease-in-out infinite;
  display: inline-block;
}
.rops-headline { max-width: 880px; margin-bottom: 40px; }
.rops-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rops-ink-2);
  margin-bottom: 16px;
}
.rops-headline h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 20px;
  text-wrap: balance;
}
.rops-headline h1 em {
  font-style: italic; font-weight: 400; color: var(--accent-ink);
}
[data-theme="dark"] .rops-headline h1 em { color: var(--accent); }
.rops-lede {
  font-size: 19px; line-height: 1.5; color: var(--rops-ink-2); max-width: 640px;
}

/* GRID OF CARDS */
.rops-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.4fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.rops-grid > .rops-cd { grid-column: 1; grid-row: 1; }
.rops-grid > .rops-score { grid-column: 2; grid-row: 1 / span 2; }
.rops-grid > .rops-findings { grid-column: 3; grid-row: 1 / span 2; }
.rops-grid > .rops-heat-card { grid-column: 1; grid-row: 2; }

@media (max-width: 1100px) {
  .rops-grid { grid-template-columns: 1fr 1fr; }
  .rops-grid > * { grid-column: auto !important; grid-row: auto !important; }
}
@media (max-width: 720px) {
  .rops-grid { grid-template-columns: 1fr; }
  .rops-shell { padding: 0 20px; }
}

.rops-card {
  background: var(--rops-card);
  border: 1px solid var(--rops-line);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  overflow: hidden;
}
.rops-card header {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--rops-ink-2);
  text-transform: uppercase;
}
.rops-card .rops-live {
  color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 6px;
}
[data-theme="dark"] .rops-card .rops-live { color: var(--accent); }

/* Countdown */
.rops-cd-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 8px;
}
.rops-cd-num small {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 400;
  color: var(--rops-ink-2);
  margin-right: 6px;
}
.rops-cd-bar {
  height: 6px; background: var(--rops-bg-3); border-radius: 999px; overflow: hidden;
}
.rops-cd-bar #cd-fill {
  height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 60%, var(--rops-stop)));
  transition: width 800ms ease-out;
}
.rops-cd footer {
  font-size: 10px; color: var(--rops-ink-2);
}
.rops-trend { color: var(--rops-min); }

/* Score dial */
.rops-score { align-items: stretch; }
.rops-dial {
  position: relative;
  width: 100%; aspect-ratio: 1;
  max-width: 240px;
  margin: 0 auto;
}
.rops-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rops-dial-track { fill: none; stroke: var(--rops-bg-3); stroke-width: 14; }
.rops-dial-fill { fill: none; stroke: var(--accent); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset 800ms ease-out; }
.rops-dial-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: 56px; letter-spacing: -0.03em;
  color: var(--rops-ink);
}
.rops-dial-num small {
  font-size: 14px; font-weight: 400; color: var(--rops-ink-2); margin-left: 4px; align-self: flex-end; padding-bottom: 12px;
  font-family: var(--font-mono);
}
.rops-dial-label {
  position: absolute; bottom: -4px; left: 0; right: 0;
  text-align: center; font-size: 10px; color: var(--rops-ink-2); letter-spacing: 0.1em; text-transform: uppercase;
}
.rops-score footer {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  border-top: 1px solid var(--rops-line);
  padding-top: 12px; margin-top: 8px;
}
.rops-score footer > div { display: flex; flex-direction: column; }
.rops-score footer span { font-size: 10px; color: var(--rops-ink-2); letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-mono); }
.rops-score footer b { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--rops-ink); font-variant-numeric: tabular-nums; }

/* Findings feed */
.rops-findings { min-height: 280px; }
#rops-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.feed-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--rops-line);
  border-radius: 12px;
  background: var(--rops-bg-2);
  opacity: 0; transform: translateY(-8px);
  animation: feedIn 360ms ease-out forwards;
}
@keyframes feedIn { to { opacity: 1; transform: none; } }
.feed-item .ft { width: 8px; height: 8px; border-radius: 999px; }
.feed-item .ft-min  { background: var(--rops-min); box-shadow: 0 0 0 4px color-mix(in oklab, var(--rops-min) 18%, transparent); }
.feed-item .ft-low  { background: var(--rops-low); box-shadow: 0 0 0 4px color-mix(in oklab, var(--rops-low) 18%, transparent); }
.feed-item .ft-high { background: var(--rops-high); box-shadow: 0 0 0 4px color-mix(in oklab, var(--rops-high) 18%, transparent); }
.feed-item .ft-stop { background: var(--rops-stop); box-shadow: 0 0 0 4px color-mix(in oklab, var(--rops-stop) 18%, transparent); }
.feed-item .ft-prog { background: var(--rops-prog); box-shadow: 0 0 0 4px color-mix(in oklab, var(--rops-prog) 18%, transparent); }
.feed-item div { display: flex; flex-direction: column; }
.feed-item b { font-size: 13px; font-weight: 600; color: var(--rops-ink); }
.feed-item small { font-size: 11px; color: var(--rops-ink-2); margin-top: 2px; }
.feed-item .when { font-size: 10px; color: var(--rops-ink-2); }
.rops-findings footer { display: flex; justify-content: space-between; }
.rops-findings footer b { color: var(--rops-ink); }

/* Mini heatmap */
.rops-heat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 36px;
  gap: 4px;
  flex: 1;
  min-height: 160px;
}
.rops-heat-cell {
  border-radius: 6px;
  opacity: 0;
  animation: heatIn 480ms ease-out forwards;
  position: relative;
}
.rops-heat-cell::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  animation: heatPulse 2.4s ease-in-out infinite;
}
@keyframes heatIn { to { opacity: 1; } }
@keyframes heatPulse {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 0; }
  50% { box-shadow: 0 0 0 3px currentColor; opacity: 0.16; }
}
.rops-heat-cell.h-min  { background: color-mix(in oklab, var(--rops-min) 70%, transparent); color: var(--rops-min); }
.rops-heat-cell.h-low  { background: color-mix(in oklab, var(--rops-low) 70%, transparent); color: var(--rops-low); }
.rops-heat-cell.h-high { background: color-mix(in oklab, var(--rops-high) 75%, transparent); color: var(--rops-high); }
.rops-heat-cell.h-stop { background: color-mix(in oklab, var(--rops-stop) 78%, transparent); color: var(--rops-stop); }
.rops-heat-leg {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 10px; color: var(--rops-ink-2);
}
.rops-heat-leg .lg { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.rops-heat-leg .lg-min { background: var(--rops-min); }
.rops-heat-leg .lg-low { background: var(--rops-low); }
.rops-heat-leg .lg-high { background: var(--rops-high); }
.rops-heat-leg .lg-stop { background: var(--rops-stop); }

/* CTA */
.rops-cta { display: flex; gap: 12px; margin-top: 32px; }
.rops-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rops-ink); color: var(--rops-bg);
  border: 1px solid var(--rops-ink);
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform 160ms;
}
.rops-btn:hover { transform: translateY(-1px); }
.rops-btn-ghost { background: transparent; color: var(--rops-ink); }
.rops-btn-mini { padding: 9px 14px; font-size: 10px; }
[data-theme="dark"] .rops-btn { background: var(--rops-ink); color: var(--rops-bg); }

/* SECTIONS ============== */
.rops-section { padding: 96px 0; background: var(--rops-bg); }
.rops-section-tint { background: var(--rops-bg-2); }
.rops-section-dark { background: var(--rops-bg-3); }
.rops-section-inner { max-width: 1320px; margin: 0 auto; padding: 0 64px; }
.rops-section-head { max-width: 720px; margin-bottom: 48px; }
.rops-section-head h2 {
  font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.02em; line-height: 1.04; font-weight: 600;
  margin: 0 0 14px;
}
.rops-section-head p { font-size: 17px; color: var(--rops-ink-2); line-height: 1.5; margin: 0; }

/* MATRIX */
.rops-matrix { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.rops-mtx-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.mtx-cell {
  text-align: left;
  background: var(--rops-card);
  border: 1px solid var(--rops-line);
  padding: 14px 16px;
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 6px;
  cursor: pointer;
  font: inherit; color: inherit;
  opacity: 0; transform: translateY(8px);
  animation: mtxIn 480ms ease-out forwards;
  transition: transform 200ms, box-shadow 200ms, border-color 200ms;
  position: relative;
}
@keyframes mtxIn { to { opacity: 1; transform: none; } }
.mtx-cell:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.mtx-cell.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); }
.mtx-name { font-weight: 600; font-size: 13px; color: var(--rops-ink); }
.mtx-meta { font-size: 10px; color: var(--rops-ink-2); }
.mtx-badge {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  border: 1px solid currentColor;
}
.mtx-min  { color: var(--rops-min); }
.mtx-low  { color: var(--rops-low); }
.mtx-high { color: var(--rops-high); }
.mtx-stop { color: var(--rops-stop); }
.mtx-cell .mtx-name, .mtx-cell .mtx-meta { color: inherit; }
.mtx-min .mtx-name, .mtx-low .mtx-name, .mtx-high .mtx-name, .mtx-stop .mtx-name { color: var(--rops-ink); }
.mtx-min .mtx-meta, .mtx-low .mtx-meta, .mtx-high .mtx-meta, .mtx-stop .mtx-meta { color: var(--rops-ink-2); }

.rops-mtx-aside {
  background: var(--rops-card);
  border: 1px solid var(--rops-line);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.rops-aside-tag { font-size: 10px; color: var(--rops-ink-2); letter-spacing: 0.12em; text-transform: uppercase; }
.rops-mtx-aside h3 { font-family: var(--font-display); font-size: 24px; margin: 0; font-weight: 600; }
.rops-aside-meta { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--rops-ink-2); }
.rops-aside-meta b { color: var(--rops-ink); font-weight: 600; }
.rops-aside-meta b.is-min { color: var(--rops-min); }
.rops-aside-meta b.is-low { color: var(--rops-low); }
.rops-aside-meta b.is-high { color: var(--rops-high); }
.rops-aside-meta b.is-stop { color: var(--rops-stop); }
.rops-aside-actions { display: flex; flex-direction: column; gap: 6px; }
.rops-aside-actions .row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 10px; align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--rops-line);
  border-radius: 10px;
  font-size: 12px;
  background: var(--rops-bg);
}
.rops-aside-actions .dot { width: 8px; height: 8px; border-radius: 999px; }
.rops-aside-actions .done { border-color: color-mix(in oklab, var(--rops-min) 36%, var(--rops-line)); }
.rops-aside-actions .done .dot { background: var(--rops-min); }
.rops-aside-actions .prog { border-color: color-mix(in oklab, var(--rops-prog) 36%, var(--rops-line)); }
.rops-aside-actions .prog .dot { background: var(--rops-prog); animation: ropsPulse 1.6s ease-in-out infinite; }
.rops-aside-actions .open .dot { background: var(--rops-ink-2); }
.rops-aside-actions .when { font-family: var(--font-mono); font-size: 10px; color: var(--rops-ink-2); }
.rops-aside-cta { margin-top: auto; }

@media (max-width: 980px) {
  .rops-matrix { grid-template-columns: 1fr; }
  .rops-mtx-grid { grid-template-columns: repeat(2, 1fr); }
}

/* PIPELINE */
.rops-pipe { background: var(--rops-card); border: 1px solid var(--rops-line); border-radius: 18px; padding: 28px; }
.rops-pipe-track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: stretch;
  position: relative;
}
.rops-pipe-track::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 26px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--rops-line), transparent);
}
.pipe-step {
  position: relative;
  padding: 14px 12px 16px;
  background: var(--rops-bg-2);
  border-radius: 12px;
  border: 1px solid var(--rops-line);
  display: flex; flex-direction: column; gap: 8px;
  transition: all 320ms;
}
.pipe-step .ps-n { font-size: 10px; color: var(--rops-ink-2); letter-spacing: 0.12em; }
.pipe-step .ps-dot {
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--rops-bg-3); border: 2px solid var(--rops-line);
}
.pipe-step h4 { font-family: var(--font-display); font-size: 16px; margin: 0; font-weight: 600; }
.pipe-step small { font-size: 11px; color: var(--rops-ink-2); }
.pipe-step.is-active {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, var(--rops-bg-2));
  transform: translateY(-3px);
}
.pipe-step.is-active .ps-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 22%, transparent);
}
.rops-pipe-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--rops-line);
  font-size: 11px; color: var(--rops-ink-2);
}
.rops-pipe-meta b { color: var(--rops-ink); font-weight: 600; }
@media (max-width: 900px) {
  .rops-pipe-track { grid-template-columns: repeat(2, 1fr); }
  .rops-pipe-track::before { display: none; }
  .rops-pipe-meta { grid-template-columns: repeat(2, 1fr); }
}

/* EVIDENCE WALL */
.rops-evidence {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.rops-ev {
  background: var(--rops-card);
  border: 1px solid var(--rops-line);
  border-radius: 16px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 200ms, box-shadow 200ms;
}
.rops-ev:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.rops-ev header { display: flex; justify-content: space-between; }
.ev-tag { font-size: 10px; color: var(--accent-ink); letter-spacing: 0.1em; }
[data-theme="dark"] .ev-tag { color: var(--accent); }
.ev-ver { font-size: 10px; color: var(--rops-ink-2); }
.rops-ev h4 { font-family: var(--font-display); font-size: 20px; margin: 0; font-weight: 600; }
.rops-ev p { font-size: 13px; color: var(--rops-ink-2); margin: 0; line-height: 1.45; }
.ev-bar { height: 4px; background: var(--rops-bg-3); border-radius: 999px; overflow: hidden; margin-top: 4px; }
.ev-bar i { display: block; height: 100%; background: var(--accent); width: calc(var(--p) * 1%); animation: evBar 1200ms ease-out; }
@keyframes evBar { from { width: 0; } }
.rops-ev footer { display: flex; justify-content: space-between; font-size: 10px; color: var(--rops-ink-2); border-top: 1px solid var(--rops-line); padding-top: 10px; margin-top: auto; }
@media (max-width: 880px) { .rops-evidence { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rops-evidence { grid-template-columns: 1fr; } }

/* SIMULATOR */
.rops-sim { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: stretch; }
.rops-sim-stage {
  background: var(--rops-card);
  border: 1px solid var(--rops-line);
  border-radius: 18px;
  padding: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.rops-letter {
  background: var(--rops-bg);
  border: 1px solid var(--rops-line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 20px;
  font-family: var(--font-display);
}
.rops-letter-head, .rops-letter-foot {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--rops-ink-2); letter-spacing: 0.06em; text-transform: uppercase;
}
.rops-letter-head { padding-bottom: 12px; border-bottom: 1px solid var(--rops-line); margin-bottom: 14px; }
.rops-letter-foot { padding-top: 12px; border-top: 1px solid var(--rops-line); margin-top: 16px; }
.rops-letter-h { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.rops-letter-p { font-size: 13px; line-height: 1.5; color: var(--rops-ink-2); margin: 0; font-style: italic; }
.rops-sim-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rops-sim-steps .step {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--rops-line);
  border-radius: 10px;
  background: var(--rops-bg-2);
  position: relative;
}
.step-n {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--rops-ink-2);
  width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid var(--rops-line);
  display: flex; align-items: center; justify-content: center;
  background: var(--rops-card);
}
.step-t { font-size: 13px; font-weight: 500; }
.step-d { font-size: 10px; color: var(--rops-ink-2); }
.step.is-done { background: color-mix(in oklab, var(--rops-min) 8%, var(--rops-bg-2)); border-color: color-mix(in oklab, var(--rops-min) 30%, var(--rops-line)); }
.step.is-done .step-n { color: var(--rops-min); border-color: var(--rops-min); }
.step.is-current { background: color-mix(in oklab, var(--accent) 10%, var(--rops-bg-2)); border-color: var(--accent); }
.step.is-current .step-n { color: var(--accent-ink); border-color: var(--accent); animation: ropsPulse 1.6s ease-in-out infinite; }
[data-theme="dark"] .step.is-current .step-n { color: var(--accent); }

.rops-sim-side { display: flex; flex-direction: column; gap: 16px; }
.rops-stat {
  background: var(--rops-card); border: 1px solid var(--rops-line); border-radius: 16px;
  padding: 22px; display: flex; flex-direction: column; gap: 4px;
}
.rops-stat-n {
  font-family: var(--font-display); font-size: 64px; line-height: 1;
  font-weight: 600; letter-spacing: -0.03em;
  color: var(--accent-ink);
}
[data-theme="dark"] .rops-stat-n { color: var(--accent); }
.rops-stat.is-bad .rops-stat-n { color: var(--rops-stop); opacity: 0.7; }
.rops-stat-n small { font-family: var(--font-mono); font-size: 14px; font-weight: 400; color: var(--rops-ink-2); margin-left: 6px; }
.rops-stat-l { font-size: 12px; color: var(--rops-ink-2); }
.rops-stat-strip {
  font-size: 10px; color: var(--rops-ink-2);
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 18px;
  background: var(--rops-bg-3);
  border-radius: 12px;
}
.rops-stat-strip b { color: var(--rops-ink); font-weight: 600; }

@media (max-width: 980px) {
  .rops-sim { grid-template-columns: 1fr; }
  .rops-sim-stage { grid-template-columns: 1fr; }
  .rops-section-inner { padding: 0 28px; }
}
@media (max-width: 720px) {
  .rops-section-inner { padding: 0 20px; }
}


/* ============================================================
   AFTERLIVE · Continuity Engine
   ============================================================ */
.ce-page { background: var(--bg); }
.ce-shell { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.ce-section { padding: 96px 0; }
.ce-section-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.ce-section-tint { background: var(--bg-2); }
.ce-section-dark {
  background: oklch(0.18 0.04 280);
  color: oklch(0.95 0.02 280);
}
[data-theme="dark"] .ce-section-dark { background: oklch(0.12 0.04 280); }

.ce-section-head { max-width: 760px; margin: 0 0 56px; }
.ce-section-head h2 { font-family: 'Inter Tight', sans-serif; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.02em; margin: 14px 0 18px; }
.ce-section-head h2 em { font-style: normal; color: oklch(0.62 0.18 280); }
.ce-section-head p { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.ce-section-dark .ce-section-head p { color: oklch(0.78 0.04 280); }
.ce-eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: oklch(0.62 0.18 280); font-weight: 500; }

/* Hero */
.ce-hero { padding: 56px 0 96px; position: relative; overflow: hidden; }
.ce-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 40% at 30% 25%, oklch(0.7 0.18 280 / 0.10), transparent 70%),
              radial-gradient(50% 40% at 80% 60%, oklch(0.65 0.15 220 / 0.08), transparent 70%);
  pointer-events: none;
}
.ce-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; font-size: 12px; color: var(--ink-2);
}
.ce-bar .ce-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: oklch(0.7 0.16 145); margin-right: 8px; box-shadow: 0 0 0 4px oklch(0.7 0.16 145 / 0.2); animation: cePulse 1.6s ease-in-out infinite; }
@keyframes cePulse { 0%, 100% { box-shadow: 0 0 0 4px oklch(0.7 0.16 145 / 0.2); } 50% { box-shadow: 0 0 0 8px oklch(0.7 0.16 145 / 0); } }
.ce-bar-r b { color: var(--ink); font-weight: 600; }

.ce-headline { padding: 56px 0 40px; max-width: 880px; }
.ce-headline h1 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: clamp(56px, 8vw, 96px); line-height: 0.98; letter-spacing: -0.03em;
  margin: 18px 0 28px;
}
.ce-headline h1 em { font-style: normal; color: oklch(0.62 0.18 280); position: relative; }
.ce-headline h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: oklch(0.62 0.18 280); border-radius: 2px;
  transform-origin: left; animation: ceUnderline 1.2s 0.6s cubic-bezier(0.25, 1, 0.5, 1) both;
}
@keyframes ceUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ce-lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 720px; }

/* Hero stage */
.ce-stage { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; margin-top: 32px; }
@media (max-width: 1100px) { .ce-stage { grid-template-columns: 1fr; } }

.ce-portrait, .ce-sphere {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.ce-portrait > header, .ce-sphere > header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; font-size: 11px; color: var(--ink-2); letter-spacing: 0.12em; text-transform: uppercase;
}
.ce-pulse { color: oklch(0.55 0.2 25); font-weight: 600; }

.ce-portrait-card {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px;
  align-items: center; padding: 18px; background: var(--bg-2);
  border-radius: 12px; border: 1px solid var(--line);
}
.ce-avatar { position: relative; width: 110px; height: 110px; }
.ce-avatar svg { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.ce-portrait-particles {
  position: absolute; inset: 0; pointer-events: none;
  --cx: 100%; --cy: 50%;
}
.pp-dot {
  position: absolute; left: 50%; top: 50%; width: 6px; height: 6px;
  border-radius: 50%; background: var(--c);
  filter: blur(0.5px); box-shadow: 0 0 8px var(--c);
  transform: translate(-50%, -50%);
  animation: ppFly 2.4s ease-out forwards;
}
@keyframes ppFly {
  to { transform: translate(calc(-50% + cos(var(--a)) * var(--d)), calc(-50% + sin(var(--a)) * var(--d))) scale(0.4); opacity: 0; }
}
.ce-name { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.ce-role { font-size: 12px; color: var(--ink-2); margin: 4px 0 14px; }
.ce-stat-row { display: flex; gap: 16px; }
.ce-stat-row > div { flex: 1; }
.ce-stat-row b { display: block; font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 600; color: oklch(0.62 0.18 280); }
.ce-stat-row small { font-size: 10px; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.1em; }

.ce-progress { margin-top: 20px; padding: 16px 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.ce-progress-h { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-2); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.ce-progress-h b { color: oklch(0.62 0.18 280); font-size: 16px; font-family: 'Inter Tight', sans-serif; }
.ce-progress-bar { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.ce-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, oklch(0.62 0.18 280), oklch(0.65 0.15 220)); border-radius: 4px; transition: width 1.6s cubic-bezier(0.25, 1, 0.5, 1); position: relative; }
.ce-progress-fill::after { content: ''; position: absolute; right: 0; top: -2px; bottom: -2px; width: 12px; background: oklch(1 0 0 / 0.4); filter: blur(4px); animation: ceProgGlow 2s infinite; }
@keyframes ceProgGlow { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.ce-progress-meta { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink-3); margin-top: 10px; }

/* Sphere */
.ce-sphere { padding-bottom: 22px; }
.ce-sphere-stage { position: relative; padding: 12px 0 16px; }
.ce-sphere-svg { width: 100%; height: 360px; display: block; }
.ce-rings .ce-ring { fill: none; stroke: var(--line); stroke-dasharray: 2 4; }
[data-theme="dark"] .ce-rings .ce-ring { stroke: oklch(0.3 0.02 280); }
.cl-dot { animation: clPulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes clPulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.4); opacity: 1; } }
.cl-stream { animation: clStream 2.4s cubic-bezier(0.4, 0.6, 0.4, 1) forwards; }
@keyframes clStream {
  0% { transform: translate(0, 0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(calc(var(--tx) + 260px), var(--ty)); opacity: 0; }
}
.ce-cluster-legend {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
  padding: 14px 18px; background: var(--bg-2); border-radius: 10px;
  border: 1px solid var(--line); font-size: 12px;
}
.ce-leg { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.ce-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.ce-leg-1 i { background: oklch(0.7 0.16 280); }
.ce-leg-2 i { background: oklch(0.65 0.15 200); }
.ce-leg-3 i { background: oklch(0.7 0.14 145); }
.ce-leg-4 i { background: oklch(0.72 0.14 60); }
.ce-leg b { color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 13px; margin-left: auto; }

/* Hero CTA */
.ce-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.ce-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 10px; font-weight: 500; font-size: 15px;
  background: oklch(0.62 0.18 280); color: white;
  text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
  border: 1px solid oklch(0.55 0.18 280);
}
.ce-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px oklch(0.62 0.18 280 / 0.3); }
.ce-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.ce-btn-ghost:hover { background: var(--bg-2); }
.ce-btn-mini { padding: 8px 14px; font-size: 13px; }

/* Studio */
.ce-studio { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
@media (max-width: 1000px) { .ce-studio { grid-template-columns: 1fr; } }
.ce-studio-main, .ce-studio-side {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
}
.ce-studio-main { overflow: hidden; }
.ce-studio-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  background: var(--bg-2); font-size: 11px; color: var(--ink-2);
}
.ce-rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: oklch(0.55 0.2 25); margin-right: 8px; animation: cePulse 1.4s infinite; box-shadow: 0 0 0 4px oklch(0.55 0.2 25 / 0.2); }
.ce-wave {
  display: flex; align-items: center; gap: 2px; height: 80px;
  padding: 12px 18px; background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.ce-wave .wb {
  flex: 1; min-width: 2px; height: var(--h); background: oklch(0.62 0.18 280); opacity: 0.6;
  border-radius: 2px; animation: ceWave 1.2s ease-in-out infinite;
}
@keyframes ceWave { 0%, 100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
.ce-transcript {
  list-style: none; padding: 18px 24px; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.ce-tl { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); }
.ce-tl-q { background: var(--bg-2); }
.ce-tl-a { background: var(--bg); }
.ce-tl .who { font-size: 11px; color: var(--ink-2); display: block; margin-bottom: 6px; letter-spacing: 0.1em; text-transform: uppercase; }
.ce-tl p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--ink); }
.ce-tl mark { background: oklch(0.62 0.18 280 / 0.18); color: var(--ink); padding: 0 4px; border-radius: 3px; }

.ce-studio-side { padding: 18px; }
.ce-side-h { font-size: 10px; letter-spacing: 0.16em; color: var(--ink-2); text-transform: uppercase; margin: 0 0 12px; }
.ce-topics { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ce-topic {
  padding: 8px 12px; background: var(--bg-2); border-left: 3px solid; border-radius: 6px;
  font-size: 13px; animation: ceTopicIn 0.45s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.ce-topic b { display: block; font-weight: 500; }
.ce-topic small { font-size: 11px; color: var(--ink-2); }
.ce-topic-high { border-color: oklch(0.6 0.2 25); }
.ce-topic-mid { border-color: oklch(0.7 0.15 60); }
.ce-topic-low { border-color: oklch(0.65 0.15 200); }
@keyframes ceTopicIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.ce-quotes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ce-quotes li { display: flex; gap: 10px; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.ce-quotes time { color: oklch(0.62 0.18 280); font-size: 11px; flex-shrink: 0; }
.ce-actions { display: flex; flex-direction: column; gap: 8px; }
.ce-actions .row { display: flex; gap: 10px; align-items: center; padding: 8px 12px; background: var(--bg-2); border-radius: 6px; font-size: 13px; }
.ce-actions .dot { width: 8px; height: 8px; border-radius: 50%; }
.ce-actions .dot.is-new { background: oklch(0.7 0.16 145); }
.ce-actions .dot.is-link { background: oklch(0.65 0.15 200); }
.ce-actions .dot.is-mark { background: oklch(0.7 0.16 280); }

/* Atlas */
.ce-atlas { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 1000px) { .ce-atlas { grid-template-columns: 1fr; } }
.ce-atlas-canvas {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; position: relative; min-height: 540px;
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
}
.ce-atlas-canvas svg { width: 100%; height: 100%; }
.ce-edge { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: 0.6; }
.ce-node-t { font-size: 11px; fill: var(--ink); font-family: 'IBM Plex Mono', monospace; }
.ce-node.is-selected .ce-node-glow { animation: ceNodePulse 2s ease-in-out infinite; }
.ce-node.is-high .ce-node-glow { animation: ceNodePulse 1.6s ease-in-out infinite; }
@keyframes ceNodePulse { 0%, 100% { transform: scale(1); opacity: 0.18; } 50% { transform: scale(1.4); opacity: 0.06; } }
.ce-atlas-side {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column; gap: 18px;
}
.ce-side-tag { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.ce-atlas-side h3 { font-family: 'Inter Tight', sans-serif; font-size: 22px; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
.ce-atlas-meta { display: grid; gap: 10px; padding: 14px; background: var(--bg-2); border-radius: 10px; border: 1px solid var(--line); }
.ce-atlas-meta > div { display: flex; justify-content: space-between; font-size: 13px; }
.ce-atlas-meta span { color: var(--ink-2); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.ce-atlas-meta b { font-weight: 500; }
.ce-atlas-meta b.is-stop { color: oklch(0.55 0.2 25); }
.ce-atlas-quote { padding: 16px; background: oklch(0.62 0.18 280 / 0.06); border-left: 3px solid oklch(0.62 0.18 280); border-radius: 6px; }
.ce-atlas-quote p { margin: 0 0 8px; font-style: italic; font-size: 14px; line-height: 1.5; }
.ce-atlas-quote small { color: var(--ink-2); font-size: 11px; }
.ce-atlas-actions { margin-top: auto; }

/* Roadmap */
.ce-roadmap {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; overflow-x: auto;
}
.ce-rm-grid {
  display: grid;
  grid-template-columns: 220px repeat(12, 1fr);
  gap: 4px;
  min-width: 920px;
}
.rm-h { font-size: 11px; color: var(--ink-2); letter-spacing: 0.08em; text-align: center; padding: 8px 0; font-family: 'IBM Plex Mono', monospace; border-bottom: 1px solid var(--line); }
.rm-h-empty { border-bottom: 1px solid var(--line); }
.rm-row-l { padding: 14px 12px 14px 0; border-right: 1px solid var(--line); }
.rm-row-l b { display: block; font-family: 'Inter Tight', sans-serif; font-size: 16px; font-weight: 600; }
.rm-row-l small { display: block; font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.rm-c { height: 44px; background: var(--bg-2); border-radius: 4px; position: relative; transition: all 0.3s; }
.rm-c.is-on { background: var(--c); opacity: 0.4; }
.rm-c.is-s { border-radius: 22px 4px 4px 22px; opacity: 0.85; }
.rm-c.is-e { border-radius: 4px 22px 22px 4px; opacity: 0.85; box-shadow: inset 0 0 0 2px white; }
.rm-c.is-on::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 6px; height: 6px; background: white; border-radius: 50%; opacity: 0.7;
}
.rm-c.is-s::after {
  content: ''; position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; background: white; border-radius: 50%;
}

/* Ask */
.ce-ask { max-width: 880px; margin: 0 auto; }
.ce-ask-bar {
  display: flex; gap: 10px; align-items: center;
  padding: 8px 8px 8px 18px; background: oklch(0.16 0.04 280);
  border: 1px solid oklch(0.3 0.06 280); border-radius: 12px;
  margin-bottom: 18px;
}
.ce-ask-icon { font-size: 18px; color: oklch(0.7 0.16 280); font-weight: 600; }
.ce-ask-input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: oklch(0.95 0.02 280); font-size: 16px; padding: 12px 0;
  font-family: inherit;
}
.ce-section-dark .ce-btn-mini { background: oklch(0.7 0.16 280); border-color: oklch(0.6 0.18 280); }

.ce-answer {
  background: oklch(0.16 0.04 280); border: 1px solid oklch(0.3 0.06 280);
  border-radius: 12px; overflow: hidden;
  animation: ceAnswerIn 0.6s cubic-bezier(0.25, 1, 0.5, 1) both;
}
@keyframes ceAnswerIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.ce-answer > header {
  display: flex; justify-content: space-between; padding: 12px 18px;
  background: oklch(0.2 0.05 280); border-bottom: 1px solid oklch(0.3 0.06 280);
  font-size: 11px; color: oklch(0.78 0.04 280); letter-spacing: 0.1em; text-transform: uppercase;
}
.ce-answer-body { padding: 22px 24px; }
.ce-answer-text { font-size: 16px; line-height: 1.6; margin: 0 0 18px; }
.ce-tag { color: oklch(0.78 0.16 280); border-bottom: 1px dashed oklch(0.78 0.16 280); text-decoration: none; padding-bottom: 1px; }
.ce-answer-cite { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .ce-answer-cite { grid-template-columns: 1fr; } }
.cite { padding: 14px; background: oklch(0.2 0.04 280); border-radius: 8px; border-left: 3px solid oklch(0.62 0.18 280); }
.cite header { font-size: 10px; color: oklch(0.7 0.04 280); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.cite p { font-size: 13px; font-style: italic; margin: 0 0 8px; line-height: 1.4; }
.cite footer { font-size: 11px; color: oklch(0.6 0.04 280); }
.ce-answer-foot {
  display: flex; justify-content: space-between; padding: 12px 18px;
  border-top: 1px solid oklch(0.3 0.06 280); font-size: 11px; color: oklch(0.7 0.04 280);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.ce-ask-suggestions {
  margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  font-size: 12px; color: oklch(0.7 0.04 280);
}
.ce-ask-suggestions button {
  background: transparent; border: 1px solid oklch(0.3 0.06 280); color: oklch(0.85 0.02 280);
  padding: 8px 14px; border-radius: 999px; font-size: 12px; cursor: pointer;
  font-family: inherit; transition: all 0.15s;
}
.ce-ask-suggestions button:hover { border-color: oklch(0.62 0.18 280); color: oklch(0.78 0.16 280); }

/* ROI */
.ce-roi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .ce-roi { grid-template-columns: repeat(2, 1fr); } }
.ce-roi-card {
  padding: 28px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  position: relative; overflow: hidden;
}
.ce-roi-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: oklch(0.62 0.18 280); }
.ce-roi-card.is-bad::before { background: oklch(0.55 0.2 25); }
.ce-roi-card.is-good::before { background: oklch(0.65 0.16 145); }
.ce-roi-n { font-family: 'Inter Tight', sans-serif; font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 10px; }
.ce-roi-card.is-bad .ce-roi-n { color: oklch(0.55 0.2 25); }
.ce-roi-card.is-good .ce-roi-n { color: oklch(0.55 0.18 145); }
.ce-roi-n small { font-size: 18px; color: var(--ink-2); font-weight: 500; margin-left: 4px; }
.ce-roi-l { font-size: 13px; color: var(--ink-2); line-height: 1.45; }


/* ============================================================
   WEB · Build Console
   ============================================================ */
.bc-page { background: var(--bg); }
.bc-shell { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
/* Sektion-Basics (vereinheitlicht für flüssigen Page-Fluss) */
.bc-section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
/* Subtiler Hairline-Divider zwischen aufeinanderfolgenden Sektionen */
.bc-section + .bc-section {
  border-top: 1px solid var(--line);
}
.bc-section-tint + .bc-section-tint,
.bc-section-dark + .bc-section-dark { border-top: 0; }
.bc-section-inner { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.bc-section-tint { background: var(--bg-2); }
.bc-section-dark { background: oklch(0.16 0.02 200); color: oklch(0.95 0.02 200); }
[data-theme="dark"] .bc-section-dark { background: oklch(0.10 0.02 200); }

/* Section-Header (matches Hero-Sprache) */
.bc-section-head {
  max-width: 880px; margin: 0 0 clamp(40px, 5vw, 72px);
}
.bc-section-head h2 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.bc-section-head h2 em {
  font-style: normal;
  background: linear-gradient(180deg, oklch(0.65 0.15 195), oklch(0.45 0.15 200));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bc-section-head p {
  font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6;
  color: var(--ink-2); max-width: 60ch; margin: 0;
}
.bc-section-dark .bc-section-head p { color: oklch(0.78 0.02 200); }
.bc-section-dark .bc-section-head h2 em {
  background: linear-gradient(180deg, oklch(0.78 0.15 195), oklch(0.62 0.15 200));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Eyebrow als border-box (matches Hero) */
.bc-eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 22px;
  font-weight: 500;
}
.bc-section-tint .bc-eyebrow { background: var(--bg); }
.bc-section-dark .bc-eyebrow {
  background: oklch(0.12 0.02 200);
  border-color: oklch(0.28 0.02 200);
  color: oklch(0.78 0.02 200);
}

.bc-hero { padding: 56px 0 96px; position: relative; overflow: hidden; }
.bc-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(50% 40% at 70% 30%, oklch(0.65 0.15 195 / 0.08), transparent 70%);
  pointer-events: none;
}
.bc-headline { max-width: 880px; margin-bottom: 40px; }
.bc-headline h1 { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: clamp(56px, 8vw, 96px); line-height: 0.98; letter-spacing: -0.03em; margin: 18px 0 28px; }
.bc-headline h1 em { font-style: normal; color: oklch(0.6 0.15 195); }
.bc-lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 720px; }

/* Console */
.bc-console {
  background: oklch(0.14 0.02 200); border-radius: 14px;
  border: 1px solid oklch(0.28 0.02 200); overflow: hidden;
  box-shadow: 0 30px 60px -20px oklch(0.1 0.02 200 / 0.4);
  color: oklch(0.92 0.02 200);
}
.bc-console-bar {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 18px; background: oklch(0.18 0.02 200); border-bottom: 1px solid oklch(0.28 0.02 200);
  font-size: 12px;
}
.bc-traffic { display: flex; gap: 6px; }
.bc-traffic i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.bc-traffic i:nth-child(1) { background: oklch(0.65 0.15 25); }
.bc-traffic i:nth-child(2) { background: oklch(0.75 0.13 80); }
.bc-traffic i:nth-child(3) { background: oklch(0.65 0.15 145); }
.bc-tabs { display: flex; gap: 4px; flex: 1; }
.bc-tab {
  background: transparent; border: 1px solid transparent; color: oklch(0.7 0.02 200);
  padding: 6px 14px; border-radius: 6px; font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  cursor: pointer; transition: all 0.15s;
}
.bc-tab:hover { background: oklch(0.22 0.02 200); color: oklch(0.92 0.02 200); }
.bc-tab.is-active { background: oklch(0.22 0.04 195); color: oklch(0.85 0.13 195); border-color: oklch(0.4 0.06 195); }
.bc-host { color: oklch(0.7 0.02 200); }
.bc-host b { color: oklch(0.85 0.13 195); font-weight: 500; }

.bc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 320px auto;
  gap: 1px;
  background: oklch(0.28 0.02 200);
}
@media (max-width: 1100px) { .bc-grid { grid-template-columns: 1fr; grid-template-rows: 300px 240px auto auto; } }
.bc-editor, .bc-preview, .bc-pipeline, .bc-metrics { background: oklch(0.14 0.02 200); }

.bc-editor-bar, .bc-preview-bar, .bc-pipeline-bar {
  padding: 8px 16px; background: oklch(0.18 0.02 200); border-bottom: 1px solid oklch(0.28 0.02 200);
  font-size: 11px; color: oklch(0.7 0.02 200);
  display: flex; justify-content: space-between; align-items: center;
}
.bc-file { color: oklch(0.85 0.13 195); }
.bc-saving { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: oklch(0.65 0.15 145); margin-right: 6px; animation: bcPulse 1.4s infinite; }
@keyframes bcPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.bc-editor-body { display: flex; min-height: calc(320px - 36px); overflow: visible; }
.bc-gutter {
  display: flex; flex-direction: column; padding: 14px 0; width: 36px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: oklch(0.45 0.02 200);
  text-align: right; padding-right: 10px; background: oklch(0.16 0.02 200);
}
.bc-gutter span { line-height: 1.6; }
.bc-code {
  flex: 1; padding: 14px 18px; margin: 0; font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; line-height: 1.6; color: oklch(0.92 0.02 200); overflow: hidden;
  white-space: pre;
}
.bc-code::after { content: '▍'; color: oklch(0.85 0.13 195); animation: bcCaret 0.6s infinite; }
@keyframes bcCaret { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.bc-preview { display: flex; flex-direction: column; }
.bc-url { color: oklch(0.78 0.02 200); }
.bc-build-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: oklch(0.65 0.15 145); margin-right: 6px; animation: bcPulse 1.4s infinite; }
.bc-preview-body {
  flex: 1; background: oklch(0.96 0.005 200); padding: 18px; display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .bc-preview-body { background: oklch(0.22 0.01 200); }
.bc-pv-bar { height: 8px; background: linear-gradient(90deg, oklch(0.6 0.15 195) 0%, oklch(0.6 0.15 195) 30%, transparent 30%); border-radius: 4px; opacity: 0.5; }
.bc-pv-hero { padding: 18px; background: white; border-radius: 8px; box-shadow: 0 4px 12px oklch(0.1 0 0 / 0.06); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
[data-theme="dark"] .bc-pv-hero { background: oklch(0.3 0.01 200); }
.bc-pv-hero h3 { font-family: 'Inter Tight', sans-serif; font-size: 18px; margin: 0; color: oklch(0.2 0.02 200); }
[data-theme="dark"] .bc-pv-hero h3 { color: oklch(0.95 0.02 200); }
.bc-pv-hero button { padding: 8px 14px; background: oklch(0.6 0.15 195); border: 0; border-radius: 6px; color: white; font-size: 12px; font-family: inherit; }
.bc-pv-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.bc-pv-grid span { height: 40px; background: white; border-radius: 6px; }
[data-theme="dark"] .bc-pv-grid span { background: oklch(0.3 0.01 200); }
.bc-pv-cta { height: 32px; background: oklch(0.85 0.04 195); border-radius: 6px; }

.bc-pipeline { padding: 18px; }
.bc-pipe { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bc-pipe li {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px;
  background: oklch(0.18 0.02 200); border-radius: 6px;
  font-size: 13px; transition: all 0.3s;
  border-left: 2px solid transparent;
}
.bc-pipe li.is-on {
  background: oklch(0.22 0.04 195); border-left-color: oklch(0.6 0.15 195);
  animation: bcStepIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
@keyframes bcStepIn { from { transform: translateX(-4px); opacity: 0.5; } to { transform: translateX(0); opacity: 1; } }
.bc-step-i {
  width: 22px; height: 22px; border-radius: 50%; background: oklch(0.22 0.02 200); color: oklch(0.7 0.02 200);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bc-pipe li.is-on .bc-step-i { background: oklch(0.6 0.15 195); color: white; }
.bc-pipe li:last-child .bc-step-i { background: oklch(0.55 0.16 145); color: white; }
.bc-step-l { flex: 1; }
.bc-step-t { color: oklch(0.55 0.02 200); font-size: 11px; }
.bc-deploy-meta { display: flex; gap: 14px; padding-top: 14px; margin-top: 12px; border-top: 1px solid oklch(0.28 0.02 200); font-size: 11px; color: oklch(0.6 0.02 200); }

.bc-metrics { padding: 18px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .bc-metrics { grid-template-columns: 1fr; } }
.bc-metric-h { font-size: 10px; color: oklch(0.6 0.02 200); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.bc-donut { position: relative; width: 80px; }
.bc-donut svg { width: 80px; height: 80px; }
.bc-donut-c { stroke-dashoffset: 201; animation: bcDonut 1.6s 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
@keyframes bcDonut { to { stroke-dashoffset: 14; } }
.bc-donut-n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Inter Tight', sans-serif; font-weight: 600; }
.bc-donut-n b { font-size: 26px; color: oklch(0.78 0.13 195); }
.bc-test-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin-bottom: 10px; }
.bc-test-grid span { aspect-ratio: 1; background: oklch(0.55 0.16 145); border-radius: 2px; opacity: 0; animation: bcTestIn 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
@keyframes bcTestIn { to { opacity: 1; } }
.bc-test-meta { font-size: 12px; color: oklch(0.78 0.02 200); }
.bc-test-meta b { color: oklch(0.85 0.13 195); }
.bc-spark { width: 100%; height: 40px; }

.bc-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.bc-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 10px; font-weight: 500; font-size: 15px;
  background: oklch(0.6 0.15 195); color: white; text-decoration: none;
  border: 1px solid oklch(0.5 0.15 195); transition: transform 0.15s, box-shadow 0.15s;
}
.bc-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px oklch(0.6 0.15 195 / 0.3); }
.bc-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.bc-btn-ghost:hover { background: var(--bg-2); }

/* Stacks */
.bc-stacks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 800px) { .bc-stacks { grid-template-columns: 1fr; } }
.bc-stack {
  padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  position: relative; overflow: hidden; transition: all 0.2s;
}
.bc-stack::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: oklch(0.6 0.15 195); transform: scaleY(0.3); transform-origin: top; transition: transform 0.4s; }
.bc-stack:hover { border-color: oklch(0.6 0.15 195 / 0.4); }
.bc-stack:hover::before { transform: scaleY(1); }
.bc-stack-h { display: flex; gap: 14px; font-size: 11px; color: var(--ink-2); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.bc-stack-h b { color: oklch(0.6 0.15 195); }
.bc-stack h3 { font-family: 'Inter Tight', sans-serif; font-size: 24px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
.bc-stack p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0 0 18px; }
.bc-stack-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bc-stack-tags li { padding: 4px 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; font-size: 11px; color: var(--ink-2); }

/* Deploy demo */
.bc-deploy-stage {
  background: oklch(0.16 0.02 200); border-radius: 14px; padding: 40px;
  display: flex; flex-direction: column; gap: 32px; align-items: center;
  border: 1px solid oklch(0.28 0.02 200);
}
.bc-deploy-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px;
  background: oklch(0.6 0.15 195); color: white; border: 0; border-radius: 10px;
  font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit;
  box-shadow: 0 8px 24px oklch(0.6 0.15 195 / 0.3);
}
.bc-deploy-btn:hover { transform: translateY(-2px); }
.bc-deploy-btn .ico { font-size: 16px; }
.bc-deploy-flow {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; width: 100%; max-width: 1000px;
}
@media (max-width: 800px) { .bc-deploy-flow { grid-template-columns: repeat(2, 1fr); } }
.bc-flow-step {
  padding: 14px; background: oklch(0.18 0.02 200); border: 1px solid oklch(0.28 0.02 200);
  border-radius: 8px; color: oklch(0.7 0.02 200); font-size: 13px; transition: all 0.4s;
  display: flex; flex-direction: column; gap: 6px; opacity: 0.4;
}
.bc-flow-step span.mono { font-size: 11px; color: oklch(0.5 0.02 200); }
.bc-flow-step.is-on {
  background: oklch(0.24 0.06 195); border-color: oklch(0.5 0.15 195);
  color: oklch(0.92 0.02 200); opacity: 1; transform: translateY(-2px);
}
.bc-flow-step.is-on span.mono { color: oklch(0.78 0.13 195); }
.bc-flow-final.is-on { background: oklch(0.24 0.08 145); border-color: oklch(0.5 0.16 145); }

/* Cases */
.bc-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .bc-cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .bc-cases { grid-template-columns: 1fr; } }
.bc-case { display: flex; flex-direction: column; gap: 14px; }
.bc-case-frame { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bc-case-bar { padding: 8px 14px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 11px; color: var(--ink-2); }
.bc-case-screen { aspect-ratio: 16 / 9; padding: 16px; position: relative; overflow: hidden; }
.bc-case-blocks { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 100%; }
.bc-case-blocks .b { background: oklch(0.6 0.15 195 / 0.18); border-radius: 6px; }
.bc-case-blocks .b-1 { grid-row: 1 / 3; background: oklch(0.6 0.15 195 / 0.3); }
.bc-case-2 { display: flex; align-items: center; }
.bc-case-rows { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.bc-case-rows span { height: 12px; background: oklch(0.6 0.15 195 / 0.18); border-radius: 4px; }
.bc-case-rows span:nth-child(1) { width: 70%; }
.bc-case-rows span:nth-child(2) { width: 92%; }
.bc-case-rows span:nth-child(3) { width: 60%; }
.bc-case-rows span:nth-child(4) { width: 80%; }
.bc-case-rows span:nth-child(5) { width: 45%; }
.bc-case-3 { display: flex; align-items: center; gap: 18px; }
.bc-case-circle { width: 70px; height: 70px; border-radius: 50%; background: conic-gradient(oklch(0.6 0.15 195) 0% 70%, oklch(0.6 0.15 195 / 0.18) 70% 100%); flex-shrink: 0; }
.bc-case-bars { display: flex; gap: 6px; align-items: end; height: 70px; flex: 1; }
.bc-case-bars span { flex: 1; background: oklch(0.6 0.15 195 / 0.4); border-radius: 4px 4px 0 0; }
.bc-case-bars span:nth-child(1) { height: 50%; }
.bc-case-bars span:nth-child(2) { height: 80%; }
.bc-case-bars span:nth-child(3) { height: 65%; }
.bc-case-bars span:nth-child(4) { height: 95%; }
.bc-case-grid4 { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 6px; height: 100%; }
.bc-case-grid4 span { background: oklch(0.6 0.15 195 / 0.2); border-radius: 6px; }
.bc-case-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 100%; }
.bc-case-tiles span { background: oklch(0.6 0.15 195 / 0.2); border-radius: 6px; }
.bc-case-json { background: oklch(0.18 0.02 200); color: oklch(0.85 0.05 195); padding: 14px; border-radius: 6px; margin: 0; font-size: 12px; }
.bc-case-meta h4 { font-family: 'Inter Tight', sans-serif; font-size: 18px; margin: 0 0 4px; letter-spacing: -0.01em; }
.bc-case-meta p { font-size: 13px; color: var(--ink-2); margin: 0 0 8px; line-height: 1.45; }
.bc-case-stats { display: flex; gap: 8px; font-size: 11px; color: oklch(0.6 0.15 195); }

/* Component wall */
.bc-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 900px) { .bc-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .bc-wall { grid-template-columns: repeat(3, 1fr); } }
.bc-comp {
  padding: 16px 12px; background: oklch(0.2 0.02 200); border: 1px solid oklch(0.3 0.02 200);
  border-radius: 8px; display: flex; flex-direction: column; gap: 10px; align-items: center;
  opacity: 0; animation: bcCompIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  transition: all 0.2s;
}
.bc-comp:hover { background: oklch(0.24 0.04 195); border-color: oklch(0.5 0.13 195); }
@keyframes bcCompIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.bc-comp-vis { width: 100%; height: 36px; display: flex; align-items: center; justify-content: center; background: oklch(0.16 0.02 200); border-radius: 6px; }
.bc-comp-shape { width: 60%; height: 8px; background: oklch(0.6 0.15 195); border-radius: 999px; }
.bc-comp-n { font-size: 10px; color: oklch(0.78 0.05 195); }


/* ============================================================
   WEB · Case mocks + differentiated component wall
   ============================================================ */
/* Reset old monotone case styles */
.bc-case-screen { padding: 0 !important; background: oklch(0.96 0.005 200); }
[data-theme="dark"] .bc-case-screen { background: oklch(0.18 0.01 200); }
.bc-case-bar { display: flex !important; align-items: center; gap: 10px; }
.bc-case-dots { display: flex; gap: 4px; }
.bc-case-dots i { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.7 0.02 200); display: block; opacity: 0.5; }

/* Case 1: Buchhaltung SaaS */
.bc-case-saas { display: grid; grid-template-columns: 50px 1fr; height: 100%; }
.saas-side { background: oklch(0.94 0.005 200); display: flex; flex-direction: column; gap: 10px; padding: 12px 0; align-items: center; border-right: 1px solid oklch(0.88 0.005 200); }
[data-theme="dark"] .saas-side { background: oklch(0.16 0.01 200); border-right-color: oklch(0.24 0.01 200); }
.saas-logo { width: 28px; height: 28px; border-radius: 8px; background: oklch(0.6 0.15 195); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.saas-nav-i { width: 24px; height: 24px; background: oklch(0.88 0.005 200); border-radius: 5px; }
.saas-nav-i.is-on { background: oklch(0.6 0.15 195 / 0.2); border-left: 2px solid oklch(0.6 0.15 195); }
.saas-main { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.saas-h { display: flex; justify-content: space-between; align-items: center; }
.saas-h-l { font-weight: 600; font-size: 13px; color: oklch(0.2 0.02 200); }
[data-theme="dark"] .saas-h-l { color: oklch(0.92 0.02 200); }
.saas-h-pill { padding: 4px 10px; background: oklch(0.6 0.15 195); color: white; border-radius: 6px; font-size: 11px; }
.saas-stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.saas-stats > div { padding: 8px 10px; background: white; border: 1px solid oklch(0.9 0.005 200); border-radius: 6px; }
[data-theme="dark"] .saas-stats > div { background: oklch(0.22 0.01 200); border-color: oklch(0.28 0.01 200); }
.saas-stats b { display: block; font-size: 14px; color: oklch(0.6 0.15 195); font-family: 'Inter Tight', sans-serif; font-weight: 600; }
.saas-stats small { font-size: 9px; color: oklch(0.5 0.02 200); text-transform: uppercase; letter-spacing: 0.05em; }
.saas-rows { display: flex; flex-direction: column; gap: 4px; }
.saas-row { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: white; border: 1px solid oklch(0.92 0.005 200); border-radius: 5px; font-size: 11px; }
[data-theme="dark"] .saas-row { background: oklch(0.22 0.01 200); border-color: oklch(0.28 0.01 200); color: oklch(0.85 0.02 200); }
.saas-row span { flex: 1; }
.saas-row b { font-family: 'IBM Plex Mono', monospace; font-weight: 500; color: oklch(0.2 0.02 200); }
[data-theme="dark"] .saas-row b { color: oklch(0.92 0.02 200); }
.saas-row .d { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.saas-row .d.ok { background: oklch(0.65 0.15 145); }
.saas-row .d.late { background: oklch(0.65 0.18 25); }
.saas-row.is-late { background: oklch(0.65 0.18 25 / 0.06); border-color: oklch(0.65 0.18 25 / 0.3); }

/* Case 2: Mandantenportal */
.bc-case-portal { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.port-h { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: white; border: 1px solid oklch(0.9 0.005 200); border-radius: 8px; }
[data-theme="dark"] .port-h { background: oklch(0.22 0.01 200); border-color: oklch(0.28 0.01 200); }
.port-logo { width: 28px; height: 28px; border-radius: 50%; background: oklch(0.4 0.04 200); color: white; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.port-name { flex: 1; }
.port-name b { display: block; font-size: 12px; color: oklch(0.2 0.02 200); }
[data-theme="dark"] .port-name b { color: oklch(0.92 0.02 200); }
.port-name small { font-size: 10px; color: oklch(0.5 0.02 200); }
.port-2fa { padding: 3px 8px; background: oklch(0.65 0.15 145 / 0.18); color: oklch(0.45 0.15 145); border-radius: 4px; font-size: 10px; font-weight: 600; }
.port-tabs { display: flex; gap: 16px; padding: 0 4px; border-bottom: 1px solid oklch(0.88 0.005 200); }
[data-theme="dark"] .port-tabs { border-bottom-color: oklch(0.24 0.01 200); }
.port-tabs span { padding: 6px 0; font-size: 11px; color: oklch(0.5 0.02 200); border-bottom: 2px solid transparent; }
.port-tabs span.is-on { color: oklch(0.6 0.15 195); border-bottom-color: oklch(0.6 0.15 195); font-weight: 500; }
.port-docs { display: flex; flex-direction: column; gap: 6px; }
.port-doc { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: white; border: 1px solid oklch(0.9 0.005 200); border-radius: 6px; font-size: 11px; }
[data-theme="dark"] .port-doc { background: oklch(0.22 0.01 200); border-color: oklch(0.28 0.01 200); color: oklch(0.85 0.02 200); }
.port-doc .d-ico { font-size: 14px; }
.port-doc div { flex: 1; }
.port-doc b { display: block; font-weight: 600; color: oklch(0.2 0.02 200); }
[data-theme="dark"] .port-doc b { color: oklch(0.92 0.02 200); }
.port-doc small { font-size: 10px; color: oklch(0.5 0.02 200); }
.port-doc .d-act { padding: 4px 10px; background: oklch(0.6 0.15 195); color: white; border-radius: 5px; font-size: 10px; font-weight: 500; }
.port-doc .d-act.done { background: oklch(0.65 0.15 145 / 0.2); color: oklch(0.45 0.15 145); }

/* Case 3: Mobile */
.bc-case-mobile { display: flex; align-items: center; justify-content: center; padding: 14px; }
.mob-frame { width: 130px; background: white; border: 1px solid oklch(0.85 0.005 200); border-radius: 14px; padding: 8px; box-shadow: 0 8px 20px oklch(0.1 0 0 / 0.08); display: flex; flex-direction: column; gap: 6px; }
[data-theme="dark"] .mob-frame { background: oklch(0.22 0.01 200); border-color: oklch(0.3 0.01 200); }
.mob-statusbar { display: flex; justify-content: space-between; font-size: 8px; color: oklch(0.4 0.02 200); padding: 0 4px; font-family: 'IBM Plex Mono', monospace; }
.mob-h { font-weight: 700; font-size: 12px; padding: 0 4px; color: oklch(0.2 0.02 200); }
[data-theme="dark"] .mob-h { color: oklch(0.92 0.02 200); }
.mob-card { display: flex; align-items: center; gap: 8px; padding: 8px; background: oklch(0.6 0.15 195 / 0.1); border-radius: 8px; border: 1px solid oklch(0.6 0.15 195 / 0.2); }
.mob-gauge { position: relative; width: 36px; height: 36px; }
.mob-gauge svg { width: 100%; height: 100%; }
.mob-gauge span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: oklch(0.45 0.15 145); }
.mob-card b { display: block; font-size: 10px; font-weight: 600; color: oklch(0.2 0.02 200); }
[data-theme="dark"] .mob-card b { color: oklch(0.92 0.02 200); }
.mob-card small { font-size: 8px; color: oklch(0.5 0.02 200); }
.mob-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 8px; background: oklch(0.96 0.005 200); border-radius: 5px; font-size: 9px; }
[data-theme="dark"] .mob-row { background: oklch(0.16 0.01 200); color: oklch(0.85 0.02 200); }
.mob-row b.m-ok { color: oklch(0.5 0.15 145); }
.mob-row b.m-warn { color: oklch(0.55 0.16 60); }

/* Case 4: Schichtplan */
.bc-case-shift { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.shift-h { display: flex; justify-content: space-between; align-items: center; }
.shift-h b { font-weight: 700; font-size: 13px; color: oklch(0.2 0.02 200); }
[data-theme="dark"] .shift-h b { color: oklch(0.92 0.02 200); }
.shift-h small { display: block; font-size: 9px; color: oklch(0.5 0.02 200); text-transform: uppercase; letter-spacing: 0.08em; }
.shift-sso { padding: 4px 10px; background: oklch(0.6 0.15 195 / 0.15); color: oklch(0.5 0.15 195); border-radius: 4px; font-size: 10px; font-weight: 600; font-family: 'IBM Plex Mono', monospace; }
.shift-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.shift-day { background: white; border: 1px solid oklch(0.9 0.005 200); border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 3px; align-items: center; min-height: 70px; }
[data-theme="dark"] .shift-day { background: oklch(0.22 0.01 200); border-color: oklch(0.28 0.01 200); }
.shift-day span { font-size: 10px; font-weight: 600; color: oklch(0.4 0.02 200); }
.shift-day .s { width: 100%; height: 18px; border-radius: 3px; }
.shift-day .s-1, .leg .s-1 { background: oklch(0.7 0.13 195); }
.shift-day .s-2, .leg .s-2 { background: oklch(0.7 0.13 50); }
.shift-day .s-3, .leg .s-3 { background: oklch(0.5 0.13 280); }
.shift-foot { display: flex; gap: 12px; padding-top: 8px; border-top: 1px solid oklch(0.92 0.005 200); }
[data-theme="dark"] .shift-foot { border-top-color: oklch(0.24 0.01 200); }
.leg { display: flex; align-items: center; gap: 5px; font-size: 10px; color: oklch(0.5 0.02 200); }
.leg i { width: 10px; height: 10px; border-radius: 2px; display: block; }

/* Case 5: Shop */
.bc-case-shop { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.shop-h { display: flex; align-items: center; gap: 8px; }
.shop-logo { width: 28px; height: 28px; border-radius: 8px; background: oklch(0.65 0.15 145); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.shop-search { flex: 1; padding: 6px 12px; background: white; border: 1px solid oklch(0.9 0.005 200); border-radius: 6px; font-size: 11px; color: oklch(0.55 0.02 200); }
[data-theme="dark"] .shop-search { background: oklch(0.22 0.01 200); border-color: oklch(0.28 0.01 200); }
.shop-cart { width: 28px; height: 28px; background: oklch(0.6 0.15 195); color: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; position: relative; }
.shop-cart::before { content: '🛒'; font-size: 12px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.85; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-prod { background: white; border: 1px solid oklch(0.9 0.005 200); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 3px; position: relative; overflow: hidden; }
[data-theme="dark"] .shop-prod { background: oklch(0.22 0.01 200); border-color: oklch(0.28 0.01 200); }
.shop-img { aspect-ratio: 16/9; border-radius: 5px; margin-bottom: 4px; }
.sp-1 { background: linear-gradient(135deg, oklch(0.65 0.15 145), oklch(0.55 0.15 200)); }
.sp-2 { background: linear-gradient(135deg, oklch(0.4 0.06 50), oklch(0.55 0.10 60)); }
.sp-3 { background: linear-gradient(135deg, oklch(0.55 0.04 250), oklch(0.7 0.06 250)); }
.sp-4 { background: linear-gradient(135deg, oklch(0.6 0.12 50), oklch(0.5 0.08 30)); }
.shop-prod b { font-size: 10px; font-weight: 600; color: oklch(0.2 0.02 200); }
[data-theme="dark"] .shop-prod b { color: oklch(0.92 0.02 200); }
.shop-prod small { font-size: 10px; font-weight: 600; color: oklch(0.6 0.15 195); }
.shop-stock { position: absolute; right: 6px; top: 6px; padding: 2px 6px; border-radius: 3px; font-size: 8px; font-weight: 600; }
.shop-stock.ok { background: oklch(0.65 0.15 145 / 0.2); color: oklch(0.45 0.15 145); }
.shop-stock.low { background: oklch(0.65 0.16 50 / 0.2); color: oklch(0.5 0.15 50); }

/* Case 6: API */
.bc-case-api { display: flex; flex-direction: column; height: 100%; padding: 0; }

/* ==========================================================================
   MISSION CONTROL — Defense-grade Dashboard / Spec-Sheet Pattern
   Schwarzer Hintergrund, neon-cyan Akzente, grosse Stat-Numbers, technisch.
   Inspiration: SpaceX-Spec-Sheet, Bloomberg-Terminal, Palantir-Foundry.
   Wiederverwendbar fuer alle Subbrands ueber --mc-accent Variable.
   ========================================================================== */
.mc-section {
  --mc-bg: oklch(0.10 0.012 220);
  --mc-bg-2: oklch(0.13 0.015 220);
  --mc-bg-3: oklch(0.16 0.018 220);
  --mc-line: oklch(0.24 0.02 220);
  --mc-line-2: oklch(0.32 0.025 220);
  --mc-ink: oklch(0.96 0.005 220);
  --mc-ink-2: oklch(0.78 0.01 220);
  --mc-ink-3: oklch(0.55 0.015 220);
  --mc-accent: oklch(0.78 0.15 195);
  --mc-accent-soft: oklch(0.78 0.15 195 / 0.12);
  --mc-warn: oklch(0.75 0.16 65);

  position: relative;
  background: var(--mc-bg);
  color: var(--mc-ink);
  padding: clamp(56px, 8vw, 120px) 0;
  border-top: 1px solid oklch(0 0 0); border-bottom: 1px solid oklch(0 0 0);
  overflow: hidden;
}
/* Subtiler grid-Hintergrund wie in CAD-Programmen */
.mc-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, oklch(0 0 0) 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, oklch(0 0 0) 30%, transparent 80%);
}
.mc-inner {
  position: relative;
  max-width: 1480px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* Top-Bar — Mission Control Header */
.mc-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px;
  background: var(--mc-bg-2);
  border: 1px solid var(--mc-line);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--mc-ink-3);
  margin-bottom: clamp(28px, 4vw, 56px);
  flex-wrap: wrap; gap: 12px;
}
.mc-bar-left { display: flex; gap: 18px; align-items: center; }
.mc-bar-tag { color: var(--mc-accent); font-weight: 600; }
.mc-bar-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--mc-accent); box-shadow: 0 0 12px var(--mc-accent);
  animation: mcPulse 1.6s ease-in-out infinite;
  margin-right: 6px;
}
@keyframes mcPulse { 50% { opacity: 0.4; } }

/* Hauptueberschrift */
.mc-title-block { margin-bottom: clamp(40px, 5vw, 80px); }
.mc-eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mc-accent); margin-bottom: 16px;
}
.mc-title {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(40px, 7vw, 96px); font-weight: 500;
  letter-spacing: -0.04em; line-height: 0.98;
  color: var(--mc-ink);
  margin: 0 0 16px;
}
.mc-title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--mc-accent), oklch(0.65 0.16 220));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mc-lede {
  font-size: clamp(15px, 1.6vw, 18px); line-height: 1.55;
  color: var(--mc-ink-2); max-width: 60ch; margin: 0;
}

/* GRID — 12-col mit responsiven spans */
.mc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}
.mc-card {
  background: var(--mc-bg-2);
  border: 1px solid var(--mc-line);
  padding: clamp(20px, 2.5vw, 32px);
  position: relative;
  overflow: hidden;
}
.mc-card-h {
  display: flex; justify-content: space-between; align-items: center;
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mc-ink-3);
  padding-bottom: 14px; margin-bottom: 20px;
  border-bottom: 1px solid var(--mc-line);
}
.mc-card-h-tag { color: var(--mc-accent); }
.mc-card-h-tag.is-demo { color: var(--mc-warn); }

/* Span-Klassen fuer die 12-col grid */
.mc-span-12 { grid-column: span 12; }
.mc-span-8  { grid-column: span 8; }
.mc-span-6  { grid-column: span 6; }
.mc-span-4  { grid-column: span 4; }
.mc-span-3  { grid-column: span 3; }
@media (max-width: 1024px) {
  .mc-span-8, .mc-span-6, .mc-span-4 { grid-column: span 12; }
  .mc-span-3 { grid-column: span 6; }
}
@media (max-width: 600px) {
  .mc-span-3 { grid-column: span 12; }
}

/* BIG-STAT-Cards (Mission-Control feel) */
.mc-stat {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 180px;
}
.mc-stat-k {
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mc-ink-3);
}
.mc-stat-v {
  font-family: "Inter Tight", sans-serif; font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em; line-height: 1;
  color: var(--mc-ink);
  margin-top: 8px;
}
.mc-stat-v .unit {
  font-family: "IBM Plex Mono", monospace; font-size: 0.32em; font-weight: 400;
  letter-spacing: 0.08em; color: var(--mc-ink-3);
  margin-left: 6px; text-transform: uppercase;
}
.mc-stat-meta {
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  color: var(--mc-ink-3); line-height: 1.5;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--mc-line-2);
}
.mc-stat-meta b { color: var(--mc-accent); font-weight: 500; }

/* Architecture-Schematic (gross, dramatisch) */
.mc-schem-svg { width: 100%; height: auto; aspect-ratio: 16/9; }
.mc-schem-node {
  fill: var(--mc-bg-3); stroke: var(--mc-line-2); stroke-width: 1;
}
.mc-schem-node.is-primary {
  stroke: var(--mc-accent); stroke-width: 1.5;
  filter: drop-shadow(0 0 8px oklch(0.78 0.15 195 / 0.4));
}
.mc-schem-label {
  font-family: "Inter Tight", sans-serif; font-size: 14px; font-weight: 500;
  fill: var(--mc-ink); letter-spacing: -0.01em;
}
.mc-schem-meta {
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  fill: var(--mc-ink-3); letter-spacing: 0.06em;
}
.mc-schem-edge {
  stroke: var(--mc-line-2); stroke-width: 1; fill: none;
  stroke-dasharray: 3 3;
}
.mc-schem-edge.is-active {
  stroke: var(--mc-accent); stroke-width: 1.2; stroke-dasharray: 0;
  filter: drop-shadow(0 0 4px oklch(0.78 0.15 195 / 0.6));
}
.mc-schem-token {
  fill: var(--mc-accent);
  filter: drop-shadow(0 0 6px var(--mc-accent));
}

/* EDGE-MAP gross */
.mc-map-svg { width: 100%; height: auto; aspect-ratio: 16/10; }
.mc-map-svg .land {
  fill: var(--mc-bg-3); stroke: var(--mc-line-2); stroke-width: 0.5;
}
.mc-map-svg .grid-line {
  stroke: oklch(1 0 0 / 0.04); stroke-width: 0.5; fill: none;
}
.mc-map-svg .pin {
  fill: var(--mc-accent);
  filter: drop-shadow(0 0 6px var(--mc-accent));
}
.mc-map-svg .pin-ring {
  fill: none; stroke: var(--mc-accent); stroke-width: 1; opacity: 0.5;
  animation: mcPinPulse 2.6s ease-out infinite;
}
@keyframes mcPinPulse {
  0% { r: 4; opacity: 0.7; stroke-width: 1.5; }
  100% { r: 22; opacity: 0; stroke-width: 0.5; }
}
.mc-map-svg .pin-label {
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  fill: var(--mc-ink-2); letter-spacing: 0.08em;
}
.mc-map-svg .pin-coord {
  font-family: "IBM Plex Mono", monospace; font-size: 8px;
  fill: var(--mc-ink-3); letter-spacing: 0.05em;
}

/* Stack-Liste */
.mc-stack-grid {
  display: grid; gap: 1px; background: var(--mc-line);
}
.mc-stack-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 16px;
  background: var(--mc-bg-2);
  padding: 18px 20px;
  align-items: center;
}
.mc-stack-num {
  font-family: "IBM Plex Mono", monospace; font-size: 14px;
  color: var(--mc-accent); font-weight: 500;
}
.mc-stack-body { display: flex; flex-direction: column; gap: 4px; }
.mc-stack-name {
  font-family: "Inter Tight", sans-serif; font-size: 16px; font-weight: 500;
  color: var(--mc-ink); letter-spacing: -0.01em;
}
.mc-stack-desc {
  font-size: 13px; color: var(--mc-ink-2); line-height: 1.5;
}
.mc-stack-tag {
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mc-ink-3);
  border: 1px solid var(--mc-line-2); padding: 4px 8px;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .mc-stack-item { grid-template-columns: 36px 1fr; gap: 12px; padding: 14px; }
  .mc-stack-tag { display: none; }
}

/* Footer Disclaimer */
.mc-foot {
  margin-top: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 8px;
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  color: var(--mc-ink-3); line-height: 1.5;
  padding-top: 24px; border-top: 1px solid var(--mc-line);
}

/* ==========================================================================
   OPERATIONS TERMINAL — Defense-grade Hero (Anduril × Bloomberg × Linear)
   Voll-bleed dark, Status-Bar oben, 3-Panel-Grid (Globe + Build-Log + Specs),
   Ticker unten. Substanz statt Spielerei. CSS-only, kein WebGL.
   ========================================================================== */
.terminal-hero {
  position: relative;
  min-height: 100vh;
  background: oklch(0.07 0.012 220);
  color: oklch(0.96 0.005 220);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  display: flex; flex-direction: column;
  overflow: hidden;
}
/* Scanlines + CAD-Grid */
.terminal-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, oklch(1 0 0 / 0.018) 2px, oklch(1 0 0 / 0.018) 3px),
    linear-gradient(to right, oklch(1 0 0 / 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.025) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  pointer-events: none; z-index: 1;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 90%);
}
/* Cyan-Glow oben */
.terminal-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 35% at 50% 0%, oklch(0.65 0.16 195 / 0.15), transparent 70%),
    radial-gradient(40% 30% at 80% 60%, oklch(0.55 0.18 250 / 0.10), transparent 70%);
  pointer-events: none; z-index: 1;
}

/* TOP STATUS-BAR */
.term-bar {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px clamp(20px, 4vw, 40px);
  background: oklch(0.10 0.012 220);
  border-bottom: 1px solid oklch(0.20 0.015 220);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: oklch(0.65 0.015 220);
  flex-wrap: wrap; gap: 12px;
}
.term-bar-left { display: flex; gap: clamp(12px, 2vw, 24px); align-items: center; flex-wrap: wrap; }
.term-status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: oklch(0.78 0.16 195);
  box-shadow: 0 0 12px oklch(0.78 0.16 195);
  margin-right: 8px;
  animation: termBlink 1.6s ease-in-out infinite;
}
@keyframes termBlink { 50% { opacity: 0.4; transform: scale(0.85); } }
.term-bar-tag { color: oklch(0.78 0.16 195); font-weight: 600; }

/* MAIN STAGE */
.term-stage {
  position: relative; z-index: 3;
  flex: 1;
  max-width: 1600px; margin: 0 auto; width: 100%;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 40px);
  display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px);
}

/* HEADLINE */
.term-headline { max-width: 1100px; }
.term-eyebrow {
  display: block;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: oklch(0.78 0.16 195);
  margin-bottom: 24px;
}
.term-h1 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(48px, 8.5vw, 132px); font-weight: 500;
  letter-spacing: -0.045em; line-height: 0.94;
  color: oklch(0.97 0.005 220);
  margin: 0;
}
.term-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, oklch(0.85 0.16 195), oklch(0.55 0.18 250));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.term-h1-cursor {
  display: inline-block; width: 0.55ch; height: 0.85em;
  background: oklch(0.78 0.16 195);
  vertical-align: -0.05em; margin-left: 0.1em;
  animation: termCursor 0.8s step-end infinite;
}
@keyframes termCursor { 50% { opacity: 0; } }
.term-lede {
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.4vw, 19px); line-height: 1.55;
  color: oklch(0.78 0.015 220);
  max-width: 64ch;
  margin: 24px 0 28px;
}
.term-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.term-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 500;
  background: transparent;
  border: 1px solid oklch(0.32 0.02 220);
  color: oklch(0.85 0.015 220);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.term-btn:hover { border-color: oklch(0.78 0.16 195); color: oklch(0.97 0.005 220); }
.term-btn-primary {
  background: oklch(0.78 0.16 195);
  border-color: oklch(0.78 0.16 195);
  color: oklch(0.08 0.02 220);
  box-shadow: 0 0 24px oklch(0.78 0.16 195 / 0.3);
}
.term-btn-primary:hover {
  background: oklch(0.85 0.16 195);
  box-shadow: 0 0 36px oklch(0.78 0.16 195 / 0.5);
  transform: translateY(-1px);
}

/* TRIPLE-PANEL GRID */
.term-panels {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 1px;
  background: oklch(0.18 0.015 220);
  border: 1px solid oklch(0.18 0.015 220);
}
@media (max-width: 1100px) {
  .term-panels { grid-template-columns: 1fr; }
}
.term-panel {
  background: oklch(0.10 0.012 220);
  padding: clamp(20px, 2.5vw, 32px);
  min-height: 320px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
}
.term-panel-h {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: oklch(0.55 0.015 220);
  border-bottom: 1px solid oklch(0.18 0.015 220);
  padding-bottom: 12px;
}
.term-panel-h-tag { color: oklch(0.78 0.16 195); }
.term-panel-h-tag.is-demo { color: oklch(0.78 0.13 65); }

/* GLOBE */
.term-globe-wrap {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  perspective: 1000px;
}
.term-globe {
  width: clamp(180px, 22vw, 260px);
  aspect-ratio: 1;
  position: relative;
  transform-style: preserve-3d;
  animation: termGlobeRot 28s linear infinite;
  filter: drop-shadow(0 0 16px oklch(0.78 0.16 195 / 0.5));
}
@keyframes termGlobeRot { to { transform: rotateY(360deg); } }
.term-globe-svg {
  width: 100%; height: 100%;
}
.term-globe-svg .ring {
  fill: none; stroke: oklch(0.78 0.16 195); stroke-width: 0.5;
  opacity: 0.4;
}
.term-globe-svg .axis {
  fill: none; stroke: oklch(0.78 0.16 195); stroke-width: 0.4;
  opacity: 0.3;
}
.term-globe-pin {
  fill: oklch(0.78 0.16 195);
  filter: drop-shadow(0 0 6px oklch(0.78 0.16 195));
}
.term-globe-meta {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: oklch(0.55 0.015 220);
  text-align: center;
  border-top: 1px dashed oklch(0.18 0.015 220);
  padding-top: 12px;
}
.term-globe-meta b { color: oklch(0.85 0.015 220); font-weight: 500; }

/* BUILD-LOG */
.term-log {
  flex: 1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; line-height: 1.7;
  color: oklch(0.65 0.015 220);
  overflow: hidden;
}
.term-log-line {
  display: grid;
  grid-template-columns: 70px 56px 1fr;
  gap: 12px;
  padding: 4px 0;
  opacity: 0;
  animation: termLogIn 0.4s ease-out forwards;
}
.term-log-line:nth-child(1) { animation-delay: 0.4s; }
.term-log-line:nth-child(2) { animation-delay: 0.7s; }
.term-log-line:nth-child(3) { animation-delay: 1.0s; }
.term-log-line:nth-child(4) { animation-delay: 1.3s; }
.term-log-line:nth-child(5) { animation-delay: 1.6s; }
.term-log-line:nth-child(6) { animation-delay: 1.9s; }
.term-log-line:nth-child(7) { animation-delay: 2.2s; }
@keyframes termLogIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
.term-log-time { color: oklch(0.40 0.015 220); }
.term-log-tag { font-weight: 500; }
.term-log-tag.is-info { color: oklch(0.65 0.16 250); }
.term-log-tag.is-ok { color: oklch(0.78 0.16 195); }
.term-log-tag.is-warn { color: oklch(0.78 0.13 65); }
.term-log-msg { color: oklch(0.85 0.015 220); }
.term-log-msg .num { color: oklch(0.78 0.16 195); }

/* SPECS */
.term-specs { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.term-spec {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px dashed oklch(0.18 0.015 220);
}
.term-spec:last-child { border-bottom: 0; padding-bottom: 0; }
.term-spec-k {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: oklch(0.55 0.015 220);
}
.term-spec-v {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(28px, 3vw, 40px); font-weight: 500;
  color: oklch(0.97 0.005 220);
  line-height: 1; letter-spacing: -0.02em;
}
.term-spec-v .unit {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.36em; font-weight: 400;
  color: oklch(0.55 0.015 220); margin-left: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* TICKER unten */
.term-ticker {
  position: relative; z-index: 3;
  border-top: 1px solid oklch(0.20 0.015 220);
  background: oklch(0.08 0.012 220);
  padding: 14px 0;
  font-size: 11px;
  color: oklch(0.55 0.015 220);
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.08em;
}
.term-ticker-track {
  display: inline-block;
  animation: termTicker 60s linear infinite;
}
@keyframes termTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.term-ticker-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.78 0.16 195);
  margin: 0 12px; vertical-align: middle;
}
.term-ticker-tag { color: oklch(0.78 0.16 195); margin-right: 6px; }
.term-ticker-sep { color: oklch(0.30 0.015 220); margin: 0 18px; }

/* Reduce motion: animations off */
@media (prefers-reduced-motion: reduce) {
  .term-globe, .term-status-dot, .term-h1-cursor, .term-ticker-track,
  .term-log-line { animation: none !important; opacity: 1 !important; }
}

/* ==========================================================================
   HUB-VARIANT — Operations-Terminal in Blau (Ovylon-Hauptseite)
   Override aller Cyan-Akzente zu Hub-Blau (oklch 0.65 0.18 250)
   ========================================================================== */
.terminal-hero.is-hub {
  background: oklch(0.07 0.012 260);
}
.terminal-hero.is-hub::after {
  background:
    radial-gradient(50% 35% at 50% 0%, oklch(0.55 0.18 250 / 0.18), transparent 70%),
    radial-gradient(40% 30% at 80% 60%, oklch(0.65 0.20 280 / 0.12), transparent 70%);
}
.terminal-hero.is-hub .term-status-dot {
  background: oklch(0.65 0.18 250);
  box-shadow: 0 0 12px oklch(0.65 0.18 250);
}
.terminal-hero.is-hub .term-bar-tag,
.terminal-hero.is-hub .term-eyebrow,
.terminal-hero.is-hub .term-panel-h-tag,
.terminal-hero.is-hub .term-log-tag.is-ok,
.terminal-hero.is-hub .term-log-msg .num,
.terminal-hero.is-hub .term-ticker-tag {
  color: oklch(0.72 0.18 250);
}
.terminal-hero.is-hub .term-ticker-dot {
  background: oklch(0.72 0.18 250);
}
.terminal-hero.is-hub .term-h1 em {
  background: linear-gradient(135deg, oklch(0.85 0.18 250), oklch(0.55 0.20 290));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.terminal-hero.is-hub .term-h1-cursor {
  background: oklch(0.72 0.18 250);
}
.terminal-hero.is-hub .term-btn-primary {
  background: oklch(0.72 0.18 250);
  border-color: oklch(0.72 0.18 250);
  color: oklch(0.08 0.012 260);
  box-shadow: 0 0 24px oklch(0.65 0.18 250 / 0.35);
}
.terminal-hero.is-hub .term-btn-primary:hover {
  background: oklch(0.78 0.18 250);
  box-shadow: 0 0 40px oklch(0.65 0.18 250 / 0.55);
}
.terminal-hero.is-hub .term-btn:hover {
  border-color: oklch(0.72 0.18 250); color: oklch(0.97 0.005 260);
}
.terminal-hero.is-hub .term-globe {
  filter: drop-shadow(0 0 16px oklch(0.65 0.18 250 / 0.5));
}

/* SUB-BRAND CONSTELLATION (statt Globe für Hub) */
.term-cs-svg {
  width: 100%; max-width: 280px;
}
.term-cs-edge {
  stroke: oklch(0.72 0.18 250);
  stroke-width: 1; opacity: 0.4; fill: none;
  stroke-dasharray: 2 4;
  animation: csEdgeFlow 4s linear infinite;
}
@keyframes csEdgeFlow { to { stroke-dashoffset: -24; } }
.term-cs-node {
  fill: oklch(0.10 0.012 260);
  stroke: oklch(0.72 0.18 250);
  stroke-width: 1.5;
}
.term-cs-hub {
  fill: oklch(0.72 0.18 250);
  filter: drop-shadow(0 0 12px oklch(0.72 0.18 250));
  animation: csHubPulse 2.4s ease-in-out infinite;
  transform-origin: center; transform-box: fill-box;
}
@keyframes csHubPulse {
  0%, 100% { filter: drop-shadow(0 0 12px oklch(0.72 0.18 250)); }
  50% { filter: drop-shadow(0 0 20px oklch(0.78 0.20 250)); }
}
.term-cs-label {
  font-family: "IBM Plex Mono", monospace; font-size: 8px;
  fill: oklch(0.85 0.015 260);
  letter-spacing: 0.1em;
}

/* Trust-Strip im Terminal */
.term-trust {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 0 0;
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  color: oklch(0.55 0.015 260);
  flex-wrap: wrap;
  border-top: 1px dashed oklch(0.18 0.015 260);
  margin-top: 8px;
  letter-spacing: 0.06em;
}
.term-trust-eyebrow {
  color: oklch(0.72 0.18 250);
  margin-right: 8px;
  letter-spacing: 0.15em;
}
.term-trust-sep { color: oklch(0.28 0.015 260); }

/* ==========================================================================
   NETWORK-GLOBE — Großer 3D-Wireframe-Globus mit fliessenden Network-Flows
   Inspiration: Stripe-Globe, NVIDIA, Linear "speed"-Animations
   ========================================================================== */
.tng-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 640px;
  margin: 0 auto;
  pointer-events: none;
}
.tng-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 40px oklch(0.65 0.18 250 / 0.4));
  overflow: visible;
}

/* Globe-Wireframe (rotiert) */
.tng-globe-rot {
  transform-origin: 0 0;
  transform-box: view-box;
  animation: tngRotate 60s linear infinite;
}
@keyframes tngRotate {
  to { transform: rotate3d(0, 1, 0, 360deg); }
}
.tng-ring {
  fill: none;
  stroke: oklch(0.55 0.18 250);
  stroke-width: 0.4;
  opacity: 0.2;
}
.tng-equator {
  fill: none;
  stroke: oklch(0.72 0.18 250);
  stroke-width: 0.6;
  opacity: 0.5;
}

/* Connection Lines (mit flow-animation) */
.tng-link {
  fill: none;
  stroke: oklch(0.72 0.18 250);
  stroke-width: 0.7;
  opacity: 0.35;
  stroke-dasharray: 3 5;
  animation: tngLinkFlow 4s linear infinite;
}
@keyframes tngLinkFlow {
  to { stroke-dashoffset: -32; }
}
.tng-link.is-active {
  opacity: 0.7; stroke-width: 0.9;
}

/* Network Nodes — mit Pulse-Ring + Glow */
.tng-node {
  fill: oklch(0.08 0.012 260);
  stroke: oklch(0.78 0.18 250);
  stroke-width: 1.2;
}
.tng-node-glow {
  fill: oklch(0.78 0.18 250);
  filter: drop-shadow(0 0 8px oklch(0.78 0.18 250));
}
.tng-pulse {
  fill: none;
  stroke: oklch(0.78 0.18 250);
  stroke-width: 1;
  opacity: 0;
  animation: tngPulse 3s ease-out infinite;
}
@keyframes tngPulse {
  0%   { r: 4;  opacity: 0.7; stroke-width: 1.5; }
  100% { r: 22; opacity: 0;   stroke-width: 0.3; }
}

/* Hub Center */
.tng-hub-outer {
  fill: oklch(0.78 0.18 250 / 0.15);
  filter: blur(2px);
}
.tng-hub {
  fill: oklch(0.78 0.18 250);
  filter: drop-shadow(0 0 16px oklch(0.78 0.18 250));
  animation: tngHubBreathe 2.4s ease-in-out infinite;
  transform-origin: 0 0;
  transform-box: view-box;
}
@keyframes tngHubBreathe {
  0%, 100% { filter: drop-shadow(0 0 16px oklch(0.78 0.18 250)); }
  50%      { filter: drop-shadow(0 0 28px oklch(0.88 0.20 250)); }
}
.tng-hub-label {
  font-family: "IBM Plex Mono", monospace; font-size: 6px;
  fill: oklch(0.95 0.005 260);
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* Particles entlang der Connection-Pfade */
.tng-particle {
  fill: oklch(0.92 0.18 250);
  filter: drop-shadow(0 0 5px oklch(0.92 0.18 250));
}
.tng-particle-trail {
  fill: oklch(0.78 0.18 250);
  opacity: 0.6;
  filter: blur(1px);
}

/* Atmosphere — outer glow */
.tng-atmosphere {
  fill: none;
  stroke: oklch(0.78 0.18 250);
  stroke-width: 1;
  opacity: 0.15;
  filter: blur(3px);
}

/* Node-Labels (data-center / sub-brand) */
.tng-label {
  font-family: "IBM Plex Mono", monospace; font-size: 5px;
  fill: oklch(0.78 0.18 250);
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.85;
}
.tng-label-meta {
  font-family: "IBM Plex Mono", monospace; font-size: 4px;
  fill: oklch(0.55 0.015 260);
  letter-spacing: 0.06em;
}

/* Reduce-motion */
@media (prefers-reduced-motion: reduce) {
  .tng-globe-rot, .tng-link, .tng-pulse, .tng-hub, .tng-particle {
    animation: none !important;
  }
}

/* Hero-Grid: Headline links, Globe rechts */
.term-stage.tng-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.term-stage.tng-hero-grid .term-headline { max-width: 600px; }
.term-stage.tng-hero-grid .tng-trust {
  grid-column: 1 / -1;
}
@media (max-width: 1100px) {
  .term-stage.tng-hero-grid {
    grid-template-columns: 1fr; gap: 40px;
  }
  .tng-stage { max-width: 480px; }
}

/* Inline Metrics-Bar */
.tng-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: oklch(0.18 0.015 260);
  border: 1px solid oklch(0.18 0.015 260);
  margin-top: clamp(32px, 4vw, 48px);
  max-width: 540px;
}
@media (max-width: 600px) {
  .tng-metrics { grid-template-columns: repeat(2, 1fr); }
}
.tng-metric {
  background: oklch(0.10 0.012 260);
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.tng-metric-v {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(22px, 2.2vw, 30px); font-weight: 500;
  color: oklch(0.97 0.005 260);
  line-height: 1; letter-spacing: -0.02em;
}
.tng-metric-v small {
  font-family: "IBM Plex Mono", monospace; font-size: 0.45em; font-weight: 400;
  color: oklch(0.55 0.015 260); margin-left: 4px;
}
.tng-metric-k {
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: oklch(0.55 0.015 260);
}

/* ==========================================================================
   (legacy) HERO Browser-Stack — bleibt für Fallback drin, neue terminal-hero
   ueberschreibt
   ========================================================================== */
.hero-3d {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 160px) 0 clamp(100px, 14vw, 200px);
  background:
    radial-gradient(80% 60% at 50% 0%, oklch(0.18 0.04 220) 0%, transparent 60%),
    linear-gradient(180deg, oklch(0.08 0.012 220) 0%, oklch(0.05 0.008 220) 100%);
  color: oklch(0.96 0.005 220);
}
.hero-3d-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 50% at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at center, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-3d-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 30% at 80% 20%, oklch(0.65 0.16 195 / 0.18), transparent 70%),
    radial-gradient(35% 30% at 20% 80%, oklch(0.55 0.18 250 / 0.12), transparent 70%);
}
.hero-3d-shell {
  position: relative; z-index: 2;
  display: grid !important;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  max-width: 1520px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
@media (max-width: 1100px) {
  .hero-3d-shell { grid-template-columns: 1fr; gap: 48px; }
}

/* HEADLINE-Block (dark variant) */
.hero-3d-headline {
  position: relative; z-index: 3;
}
.hero-3d-headline .bc-eyebrow {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid oklch(0.3 0.02 220);
  background: oklch(0.12 0.015 220);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: oklch(0.78 0.02 220);
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-3d-headline h1 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(44px, 6.5vw, 96px); font-weight: 500;
  letter-spacing: -0.045em; line-height: 0.96;
  margin: 0 0 28px;
  color: oklch(0.97 0.005 220);
}
.hero-3d-headline h1 em {
  font-style: normal;
  background: linear-gradient(180deg, oklch(0.85 0.16 195), oklch(0.55 0.18 220));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-3d-headline .bc-lede {
  font-size: clamp(15px, 1.4vw, 19px); line-height: 1.55;
  color: oklch(0.78 0.015 220);
  max-width: 52ch; margin: 0 0 36px;
}
.hero-3d-headline .bc-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-3d-headline .btn-primary {
  background: oklch(0.78 0.16 195); color: oklch(0.08 0.02 220);
  border-color: transparent;
  box-shadow: 0 0 24px oklch(0.78 0.16 195 / 0.3);
}
.hero-3d-headline .btn-primary:hover {
  background: oklch(0.85 0.16 195); transform: translateY(-1px);
  box-shadow: 0 0 32px oklch(0.78 0.16 195 / 0.5);
}
.hero-3d-headline .btn-ghost {
  background: transparent; color: oklch(0.85 0.015 220);
  border: 1px solid oklch(0.32 0.02 220);
}
.hero-3d-headline .btn-ghost:hover {
  border-color: oklch(0.78 0.16 195); color: oklch(0.96 0.005 220);
}

/* BROWSER-STACK Stage */
.laptop-stage {
  position: relative;
  perspective: 2200px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  width: 100%; aspect-ratio: 4/3;
}
.laptop {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(var(--rx, -18deg)) rotateX(var(--ry, 8deg));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  animation: laptopFloat 8s ease-in-out infinite;
}
@keyframes laptopFloat {
  0%, 100% { transform: rotateY(var(--rx, -18deg)) rotateX(var(--ry, 8deg)) translateY(0); }
  50%      { transform: rotateY(var(--rx, -18deg)) rotateX(var(--ry, 8deg)) translateY(-8px); }
}

/* Jede Browser-Card */
.laptop-lid, .laptop-base, .laptop-shadow { display: none; }
.browser-card {
  position: absolute;
  width: 80%; aspect-ratio: 16/10;
  background: oklch(0.13 0.012 220);
  border: 1px solid oklch(0.28 0.02 220);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px oklch(0 0 0 / 0.6),
    0 0 0 1px oklch(0.35 0.02 220 / 0.5),
    inset 0 1px 0 oklch(1 0 0 / 0.05);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cardEntry 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
@keyframes cardEntry {
  from { opacity: 0; transform: translateZ(var(--zStart, -200px)) translateX(40px); }
  to   { opacity: 1; }
}
.browser-card-1 {
  /* Hinterste Card */
  top: 5%; left: 5%;
  transform: translateZ(-180px) translateX(80px) translateY(-30px);
  --zStart: -300px;
  animation-delay: 0.1s;
  opacity: 0.7;
}
.browser-card-2 {
  /* Mittlere Card */
  top: 12%; left: 15%;
  transform: translateZ(-90px) translateX(40px) translateY(-15px);
  --zStart: -200px;
  animation-delay: 0.25s;
  opacity: 0.9;
}
.browser-card-3 {
  /* Vorderste Card (Hauptfokus) */
  top: 18%; left: 8%;
  width: 88%;
  transform: translateZ(0);
  --zStart: -100px;
  animation-delay: 0.4s;
  z-index: 3;
}

/* Browser-Chrome (URL-Bar + Traffic Lights) */
.browser-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: oklch(0.16 0.012 220);
  border-bottom: 1px solid oklch(0.25 0.02 220);
}
.browser-traffic { display: inline-flex; gap: 6px; }
.browser-traffic i {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
}
.browser-traffic i:nth-child(1) { background: oklch(0.7 0.18 25); }
.browser-traffic i:nth-child(2) { background: oklch(0.78 0.16 80); }
.browser-traffic i:nth-child(3) { background: oklch(0.7 0.16 145); }
.browser-url {
  flex: 1;
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  color: oklch(0.6 0.015 220);
  background: oklch(0.10 0.012 220);
  padding: 4px 10px; border-radius: 4px;
  border: 1px solid oklch(0.22 0.02 220);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-content {
  position: relative;
  height: calc(100% - 36px);
  background: oklch(0.95 0.005 220);
  overflow: hidden;
}

/* Mock-Inhalt: Marketing-Site (Card 3 vorne) */
.mock-marketing { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; }
.mock-logo { width: 70px; height: 12px; background: oklch(0.2 0.02 220); border-radius: 2px; }
.mock-nav-links { display: flex; gap: 8px; }
.mock-nav-links span { width: 30px; height: 6px; background: oklch(0.7 0.01 220); border-radius: 1px; }
.mock-nav-cta { width: 50px; height: 14px; background: oklch(0.65 0.16 195); border-radius: 3px; }
.mock-hero-h1 {
  width: 80%; height: 22px; background: oklch(0.18 0.02 220); border-radius: 3px;
  margin-top: 10px;
}
.mock-hero-h1-2 { width: 55%; height: 22px; background: oklch(0.18 0.02 220); border-radius: 3px; }
.mock-hero-p { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.mock-hero-p span { height: 5px; background: oklch(0.7 0.01 220); border-radius: 1px; }
.mock-hero-p span:nth-child(1) { width: 90%; }
.mock-hero-p span:nth-child(2) { width: 75%; }
.mock-cta-row { display: flex; gap: 8px; margin-top: 8px; }
.mock-btn-pri { width: 70px; height: 18px; background: oklch(0.18 0.02 220); border-radius: 3px; }
.mock-btn-sec { width: 60px; height: 18px; background: oklch(0.85 0.005 220); border: 1px solid oklch(0.7 0.01 220); border-radius: 3px; }
.mock-grid {
  margin-top: 12px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.mock-grid > div {
  height: 60px; background: oklch(0.92 0.005 220);
  border: 1px solid oklch(0.85 0.005 220); border-radius: 4px;
  position: relative; overflow: hidden;
}
.mock-grid > div::before {
  content: ""; position: absolute; top: 8px; left: 8px;
  width: 16px; height: 16px;
  background: oklch(0.65 0.16 195); border-radius: 50%; opacity: 0.7;
}
.mock-grid > div::after {
  content: ""; position: absolute; bottom: 8px; left: 8px; right: 8px;
  height: 4px; background: oklch(0.7 0.01 220); border-radius: 1px;
}

/* Mock-Inhalt: B2B-Portal (Card 2 mitte) — dunkler theme */
.mock-portal { padding: 0; display: grid; grid-template-columns: 60px 1fr; height: 100%; }
.mock-portal-side { background: oklch(0.12 0.02 220); padding: 12px 8px; }
.mock-portal-side-i {
  width: 100%; height: 28px; background: oklch(0.22 0.02 220);
  border-radius: 4px; margin-bottom: 6px;
}
.mock-portal-side-i.is-on { background: oklch(0.65 0.16 195); }
.mock-portal-main { background: oklch(0.18 0.02 220); padding: 12px; color: oklch(0.85 0.01 220); }
.mock-portal-h { width: 60%; height: 12px; background: oklch(0.55 0.02 220); border-radius: 2px; margin-bottom: 10px; }
.mock-portal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.mock-portal-stat {
  background: oklch(0.13 0.02 220); border: 1px solid oklch(0.25 0.02 220);
  border-radius: 4px; padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.mock-portal-stat-v { width: 50%; height: 10px; background: oklch(0.85 0.01 220); border-radius: 1px; }
.mock-portal-stat-k { width: 80%; height: 4px; background: oklch(0.45 0.02 220); border-radius: 1px; }
.mock-portal-table {
  background: oklch(0.13 0.02 220); border: 1px solid oklch(0.25 0.02 220);
  border-radius: 4px; padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.mock-portal-row { display: grid; grid-template-columns: 16px 1fr 50px; gap: 8px; align-items: center; }
.mock-portal-row > span:first-child { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.7 0.16 145); }
.mock-portal-row > span:nth-child(2) { height: 5px; background: oklch(0.45 0.02 220); border-radius: 1px; }
.mock-portal-row > span:nth-child(3) { height: 5px; background: oklch(0.85 0.01 220); border-radius: 1px; }

/* Mock-Inhalt: Mobile-App (Card 1 hinten) */
.mock-mobile { padding: 18px; display: flex; align-items: center; justify-content: center; height: 100%; background: oklch(0.96 0.005 220); }
.mock-phone {
  width: 80px; height: 140px;
  background: oklch(0.12 0.012 220);
  border: 2px solid oklch(0.25 0.012 220);
  border-radius: 14px;
  padding: 8px;
  position: relative;
}
.mock-phone::before {
  content: ""; position: absolute; top: 4px; left: 50%;
  width: 24px; height: 4px;
  background: oklch(0.05 0.005 220); border-radius: 2px;
  transform: translateX(-50%);
}
.mock-phone-screen {
  width: 100%; height: 100%;
  background: oklch(0.95 0.005 220); border-radius: 4px;
  padding: 6px; display: flex; flex-direction: column; gap: 4px;
}
.mock-phone-h { height: 6px; width: 60%; background: oklch(0.18 0.02 220); border-radius: 1px; }
.mock-phone-card { flex: 1; background: oklch(0.65 0.16 195); border-radius: 4px; }
.mock-phone-list { display: flex; flex-direction: column; gap: 3px; }
.mock-phone-list span { height: 6px; background: oklch(0.85 0.005 220); border-radius: 1px; }

/* Mobile: Stack vereinfachen */
@media (max-width: 1100px) {
  .laptop-stage { aspect-ratio: 4/3; max-width: 600px; margin: 0 auto; }
  .browser-card-1, .browser-card-2 { display: none; }
  .browser-card-3 { width: 100%; left: 0; top: 10%; }
  .laptop { animation: none; transform: rotateY(-8deg) rotateX(4deg); }
}
.api-tabs { display: flex; gap: 6px; padding: 8px 12px; background: oklch(0.94 0.005 200); border-bottom: 1px solid oklch(0.9 0.005 200); }
[data-theme="dark"] .api-tabs { background: oklch(0.16 0.01 200); border-bottom-color: oklch(0.24 0.01 200); }
.api-tabs span { padding: 4px 10px; font-size: 10px; color: oklch(0.5 0.02 200); border-radius: 4px; font-family: 'IBM Plex Mono', monospace; }
.api-tabs span.is-on { background: oklch(0.6 0.15 195); color: white; }
.api-code { flex: 1; padding: 12px 16px; margin: 0; background: oklch(0.18 0.02 200); color: oklch(0.78 0.02 200); font-size: 11px; line-height: 1.5; overflow: hidden; white-space: pre; }
.api-code .kw { color: oklch(0.7 0.16 25); font-weight: 600; }
.api-code .path { color: oklch(0.85 0.13 195); }
.api-code .hd { color: oklch(0.55 0.05 200); }
.api-code .key { color: oklch(0.7 0.13 280); }
.api-code .str { color: oklch(0.7 0.14 145); }
.api-code .resp { color: oklch(0.65 0.15 145); font-weight: 600; }

/* ============================================================
   Component wall — differentiated visuals
   ============================================================ */
.bc-comp-vis { width: 100%; height: 60px !important; padding: 8px; }
.bc-comp-shape { display: none !important; }
.bc-comp-vis > * { width: 100%; }

/* shared color */
.bc-comp-vis .cv-btn { background: oklch(0.6 0.15 195); color: white; border: 0; padding: 6px 12px; border-radius: 5px; font-size: 10px; font-family: inherit; }
.bc-comp-vis .cv-btn-mini { padding: 4px 8px; font-size: 9px; }

/* Input */
.cv-input { width: 100%; height: 24px; background: oklch(0.95 0.005 200); border: 1px solid oklch(0.6 0.15 195); border-radius: 5px; display: flex; align-items: center; padding: 0 8px; }
[data-theme="dark"] .cv-input { background: oklch(0.18 0.01 200); }
.cv-input-c { width: 1px; height: 12px; background: oklch(0.6 0.15 195); animation: cvCaret 0.7s infinite; }
@keyframes cvCaret { 50% { opacity: 0; } }

/* Toggle */
.cv-toggle { width: 36px; height: 20px; background: oklch(0.6 0.15 195); border-radius: 10px; padding: 2px; transition: background 0.2s; align-self: center; margin: 8px auto; }
.cv-toggle span { display: block; width: 16px; height: 16px; background: white; border-radius: 50%; transform: translateX(16px); transition: transform 0.25s; }

/* Card */
.cv-card { background: white; border: 1px solid oklch(0.9 0.005 200); border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 3px; height: 100%; }
[data-theme="dark"] .cv-card { background: oklch(0.22 0.01 200); border-color: oklch(0.28 0.01 200); }
.cv-card i { width: 100%; height: 12px; background: oklch(0.6 0.15 195); border-radius: 2px; }
.cv-card b { width: 80%; height: 6px; background: oklch(0.85 0.005 200); border-radius: 2px; }
[data-theme="dark"] .cv-card b { background: oklch(0.32 0.01 200); }
.cv-card .b2 { width: 50%; }

/* Tabs */
.cv-tabs { display: flex; gap: 2px; align-items: end; height: 100%; padding-bottom: 2px; border-bottom: 1px solid oklch(0.85 0.005 200); }
[data-theme="dark"] .cv-tabs { border-bottom-color: oklch(0.28 0.01 200); }
.cv-tabs span { width: 24px; height: 16px; background: oklch(0.92 0.005 200); border-radius: 4px 4px 0 0; }
[data-theme="dark"] .cv-tabs span { background: oklch(0.22 0.01 200); }
.cv-tabs span.is-on { background: oklch(0.6 0.15 195); }

/* Dialog */
.cv-dialog { background: white; border: 1px solid oklch(0.85 0.005 200); border-radius: 5px; padding: 5px; height: 100%; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 2px 8px oklch(0.1 0 0 / 0.1); }
[data-theme="dark"] .cv-dialog { background: oklch(0.24 0.01 200); border-color: oklch(0.32 0.01 200); }
.cv-dialog b { width: 70%; height: 4px; background: oklch(0.3 0.02 200); border-radius: 2px; }
[data-theme="dark"] .cv-dialog b { background: oklch(0.7 0.02 200); }
.cv-dialog b.b2 { width: 90%; height: 3px; background: oklch(0.85 0.005 200); }
.cv-dialog-btns { display: flex; gap: 3px; margin-top: auto; justify-content: flex-end; }
.cv-dialog-btns i { width: 16px; height: 8px; background: oklch(0.85 0.005 200); border-radius: 2px; }
.cv-dialog-btns i.is-prim { background: oklch(0.6 0.15 195); }

/* Drawer */
.cv-drawer { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4px; height: 100%; }
.cv-drawer::before { content: ''; background: oklch(0.92 0.005 200); border-radius: 3px; }
[data-theme="dark"] .cv-drawer::before { background: oklch(0.22 0.01 200); }
.cv-drawer span { background: oklch(0.6 0.15 195); border-radius: 3px; animation: cvSlide 1.6s ease-in-out infinite alternate; }
@keyframes cvSlide { from { transform: translateX(2px); } to { transform: translateX(0); } }

/* Toast */
.cv-toast { background: oklch(0.18 0.02 200); border-left: 3px solid oklch(0.65 0.15 145); border-radius: 4px; padding: 6px 8px; display: flex; align-items: center; gap: 6px; margin: 8px 0; }
.cv-toast-d { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.65 0.15 145); }
.cv-toast b { width: 60%; height: 4px; background: oklch(0.7 0.02 200); border-radius: 2px; }

/* Avatar */
.cv-avatars { display: flex; align-items: center; height: 100%; padding-left: 6px; }
.cv-avatars span { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: white; margin-left: -6px; border: 2px solid oklch(0.18 0.02 200); }
.cv-avatars .a1 { background: oklch(0.6 0.15 195); margin-left: 0; }
.cv-avatars .a2 { background: oklch(0.65 0.15 145); }
.cv-avatars .a3 { background: oklch(0.5 0.06 200); font-size: 8px; }

/* Menu */
.cv-menu { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 2px 0; }
.cv-menu i { height: 100%; flex: 1; background: oklch(0.92 0.005 200); border-radius: 2px; }
[data-theme="dark"] .cv-menu i { background: oklch(0.22 0.01 200); }
.cv-menu i.is-on { background: oklch(0.6 0.15 195 / 0.4); border-left: 2px solid oklch(0.6 0.15 195); }

/* Tooltip */
.cv-tooltip { position: relative; display: flex; align-items: end; justify-content: center; height: 100%; padding-bottom: 4px; }
.cv-tt-pop { position: absolute; top: 4px; padding: 3px 8px; background: oklch(0.18 0.02 200); color: white; border-radius: 3px; font-size: 8px; }
.cv-tt-pop::before { content: 'Hilfe'; }
.cv-tt-pop::after { content: ''; position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%); border: 3px solid transparent; border-top-color: oklch(0.18 0.02 200); }
.cv-tooltip i { width: 14px; height: 14px; border-radius: 50%; background: oklch(0.6 0.15 195); display: block; }

/* Form */
.cv-form { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 2px 0; align-items: stretch; }
.cv-form-l { width: 30%; height: 4px; background: oklch(0.85 0.005 200); border-radius: 2px; }
[data-theme="dark"] .cv-form-l { background: oklch(0.32 0.01 200); }
.cv-form-i { width: 100%; height: 12px; background: oklch(0.95 0.005 200); border: 1px solid oklch(0.85 0.005 200); border-radius: 3px; }
[data-theme="dark"] .cv-form-i { background: oklch(0.18 0.01 200); border-color: oklch(0.28 0.01 200); }
.cv-form .cv-btn { align-self: flex-start; }

/* Stepper */
.cv-stepper { display: flex; align-items: center; height: 100%; gap: 3px; padding: 0 4px; position: relative; }
.cv-stepper::before { content: ''; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: oklch(0.85 0.005 200); transform: translateY(-50%); z-index: 0; }
[data-theme="dark"] .cv-stepper::before { background: oklch(0.28 0.01 200); }
.cv-stepper i { width: 14px; height: 14px; border-radius: 50%; background: oklch(0.92 0.005 200); border: 2px solid oklch(0.85 0.005 200); position: relative; z-index: 1; flex-shrink: 0; }
[data-theme="dark"] .cv-stepper i { background: oklch(0.22 0.01 200); border-color: oklch(0.32 0.01 200); }
.cv-stepper i.is-done { background: oklch(0.65 0.15 145); border-color: oklch(0.65 0.15 145); }
.cv-stepper i.is-on { background: oklch(0.6 0.15 195); border-color: oklch(0.6 0.15 195); box-shadow: 0 0 0 3px oklch(0.6 0.15 195 / 0.2); }

/* Picker */
.cv-picker { background: white; border: 1px solid oklch(0.85 0.005 200); border-radius: 4px; padding: 6px 8px; display: flex; align-items: center; justify-content: space-between; height: 24px; align-self: center; margin: 8px 0; }
[data-theme="dark"] .cv-picker { background: oklch(0.22 0.01 200); border-color: oklch(0.32 0.01 200); }
.cv-picker b { width: 50%; height: 4px; background: oklch(0.6 0.15 195); border-radius: 2px; }
.cv-pick-arr { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid oklch(0.5 0.02 200); }

/* Calendar */
.cv-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; height: 100%; align-content: center; padding: 2px; }
.cv-cal i { aspect-ratio: 1; background: oklch(0.92 0.005 200); border-radius: 2px; min-height: 6px; }
[data-theme="dark"] .cv-cal i { background: oklch(0.22 0.01 200); }
.cv-cal i.is-on { background: oklch(0.6 0.15 195); box-shadow: 0 0 0 2px oklch(0.6 0.15 195 / 0.3); }

/* Badge */
.cv-badges { display: flex; gap: 6px; align-items: center; justify-content: center; height: 100%; }
.cv-badges span { padding: 3px 10px; border-radius: 999px; font-size: 9px; font-weight: 700; }
.cv-badges .is-ok { background: oklch(0.65 0.15 145 / 0.2); color: oklch(0.45 0.15 145); }
.cv-badges .is-warn { background: oklch(0.65 0.16 50 / 0.2); color: oklch(0.45 0.16 50); width: 16px; padding: 3px 0; text-align: center; }

/* Stats */
.cv-stats { display: flex; align-items: baseline; gap: 6px; padding: 8px; height: 100%; align-items: center; }
.cv-stats b { font-size: 22px; font-weight: 700; color: oklch(0.6 0.15 195); font-family: 'Inter Tight', sans-serif; }
.cv-stats small { font-size: 10px; color: oklch(0.55 0.15 145); font-weight: 600; }

/* Chart */
.cv-chart { display: flex; gap: 3px; align-items: end; height: 100%; padding: 2px 4px; }
.cv-chart span { flex: 1; height: var(--h); background: linear-gradient(to top, oklch(0.6 0.15 195), oklch(0.7 0.13 195)); border-radius: 2px 2px 0 0; min-height: 4px; }

/* Empty */
.cv-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 3px; }
.cv-empty-c { width: 18px; height: 18px; border: 2px dashed oklch(0.6 0.15 195 / 0.5); border-radius: 4px; }
.cv-empty i { width: 30px; height: 3px; background: oklch(0.85 0.005 200); border-radius: 2px; }
[data-theme="dark"] .cv-empty i { background: oklch(0.32 0.01 200); }

/* Skeleton */
.cv-skel { display: flex; flex-direction: column; gap: 4px; padding: 4px; height: 100%; justify-content: center; }
.cv-skel span { height: 6px; border-radius: 3px; background: linear-gradient(90deg, oklch(0.92 0.005 200) 0%, oklch(0.85 0.005 200) 50%, oklch(0.92 0.005 200) 100%); background-size: 200% 100%; animation: cvSkel 1.5s infinite linear; }
[data-theme="dark"] .cv-skel span { background: linear-gradient(90deg, oklch(0.22 0.01 200) 0%, oklch(0.3 0.01 200) 50%, oklch(0.22 0.01 200) 100%); background-size: 200% 100%; }
.cv-skel span.b2 { width: 70%; }
@keyframes cvSkel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Alert */
.cv-alert { background: oklch(0.65 0.16 50 / 0.15); border-left: 3px solid oklch(0.65 0.16 50); border-radius: 4px; padding: 6px 8px; display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.cv-alert i { width: 16px; height: 16px; border-radius: 50%; background: oklch(0.65 0.16 50); color: white; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.cv-alert b { width: 70%; height: 4px; background: oklch(0.5 0.13 50); border-radius: 2px; }

/* Table */
.cv-table { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 2px 0; }
.cv-table i { height: 100%; flex: 1; background: oklch(0.92 0.005 200); border-radius: 2px; }
[data-theme="dark"] .cv-table i { background: oklch(0.22 0.01 200); }
.cv-table i:first-child { background: oklch(0.6 0.15 195); }

/* Filter */
.cv-filter { display: flex; gap: 4px; align-items: center; justify-content: center; height: 100%; }
.cv-filter span { padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 600; background: oklch(0.92 0.005 200); color: oklch(0.5 0.02 200); }
[data-theme="dark"] .cv-filter span { background: oklch(0.22 0.01 200); color: oklch(0.7 0.02 200); }
.cv-filter span.is-on { background: oklch(0.6 0.15 195); color: white; }

/* Combo */
.cv-combo { background: white; border: 1px solid oklch(0.85 0.005 200); border-radius: 4px; padding: 6px 8px; display: flex; align-items: center; justify-content: space-between; height: 24px; align-self: center; margin: 8px 0; }
[data-theme="dark"] .cv-combo { background: oklch(0.22 0.01 200); border-color: oklch(0.32 0.01 200); }
.cv-combo b { padding: 2px 6px; background: oklch(0.6 0.15 195 / 0.2); color: oklch(0.5 0.15 195); border-radius: 3px; font-size: 9px; font-weight: 700; }
.cv-combo b::before { content: 'DACH'; }
.cv-combo-x { color: oklch(0.5 0.02 200); font-size: 10px; }
.cv-combo-x::before { content: '×'; }
