/* =========================================================
   LIMANTIC – Design System
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Farben */
  --ink-950: #061219;
  --ink-900: #0a1c26;
  --ink-850: #0e2430;
  --ink-800: #12303f;
  --ink-700: #1c4254;
  --ink-600: #2b566a;

  --teal-600: #1d8597;
  --teal-500: #2aa3b8;
  --teal-400: #4cc0d2;
  --teal-300: #8bd9e4;
  --teal-100: #dcf2f5;
  --teal-50: #eef8fa;

  --gold-500: #c89f45;
  --gold-100: #f7eedb;
  --coral-500: #e2715a;
  --coral-100: #fbe6e1;
  --green-500: #2f9e6b;

  --paper: #f7f6f2;
  --surface: #ffffff;
  --line: #e6e3db;
  --line-strong: #d6d2c6;
  --text: #0d2230;
  --text-2: #3d505c;
  --muted: #6b7a83;

  --on-dark: #eaf3f5;
  --on-dark-2: #a9bec7;
  --on-dark-3: #6f8a96;
  --line-dark: rgba(255, 255, 255, 0.09);

  /* Typo */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;

  /* Maße */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 68px;

  --shadow-sm: 0 1px 2px rgba(13, 34, 48, 0.06), 0 1px 1px rgba(13, 34, 48, 0.04);
  --shadow: 0 10px 30px -12px rgba(13, 34, 48, 0.18), 0 2px 6px rgba(13, 34, 48, 0.05);
  --shadow-lg: 0 40px 80px -30px rgba(6, 18, 25, 0.45), 0 12px 24px -12px rgba(6, 18, 25, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--teal-500); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.section--white { background: var(--surface); }
.section--dark { background: var(--ink-900); color: var(--on-dark); }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7;
}
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--teal-300); }

.h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -0.045em; font-weight: 640; line-height: 1.0; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.05; }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.25; font-weight: 620; }
.serif {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.01em;
}
/* Akzentwörter in Überschriften: gleiche Schrift, nur farbig */
.h1 .serif, .h2 .serif { font-family: var(--font-sans); font-style: normal; font-weight: inherit; font-size: 1em; letter-spacing: inherit; line-height: inherit; }
.accent { color: var(--teal-600); }
.section--dark .accent, .on-dark .accent { color: var(--teal-300); }

.lead { font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text-2); }
.section--dark .lead, .on-dark .lead { color: var(--on-dark-2); }
.muted { color: var(--muted); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink-900); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--primary {
  --bg: var(--teal-500); --fg: #fff;
  box-shadow: 0 8px 24px -8px rgba(42, 163, 184, .7), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--primary:hover { --bg: var(--teal-400); }
.btn--dark:hover { --bg: var(--ink-700); }
.btn--ghost { --bg: transparent; --fg: var(--text); --bd: var(--line-strong); }
.btn--ghost:hover { --bd: var(--text); }
.on-dark .btn--ghost, .section--dark .btn--ghost { --fg: var(--on-dark); --bd: rgba(255,255,255,.22); }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover { --bd: rgba(255,255,255,.6); --bg: rgba(255,255,255,.04); }
.btn--sm { height: 40px; padding: 0 18px; font-size: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; text-decoration: none; color: var(--teal-600);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.on-dark .link-arrow, .section--dark .link-arrow { color: var(--teal-300); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background .3s, box-shadow .3s, color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header--solid {
  background: rgba(10, 28, 38, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-dark);
}
.site-header--light,
.site-header--light.is-scrolled {
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit; flex: none;
}
.brand svg { width: 28px; height: 28px; }
.brand-word {
  font-weight: 600; font-size: 1.06rem; letter-spacing: 0.2em;
}
.brand-mark circle { fill: var(--teal-400); }
.brand-mark path { stroke: var(--teal-400); }
.site-header--light .brand-mark circle { fill: var(--teal-500); }
.site-header--light .brand-mark path { stroke: var(--teal-500); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 8px 14px; border-radius: 999px;
  font-size: .94rem; font-weight: 500; text-decoration: none;
  color: inherit; opacity: .8; transition: opacity .2s, background .2s;
}
.nav a:hover { opacity: 1; background: rgba(255,255,255,.07); }
.site-header--light .nav a:hover { background: rgba(13,34,48,.05); }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--teal-400);
}
.header-cta { margin-left: 12px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid rgba(255,255,255,.18); cursor: pointer;
  align-items: center; justify-content: center;
}
.site-header--light .nav-toggle { border-color: var(--line-strong); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink-900); color: var(--on-dark);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a:not(.btn) {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px; font-size: 1.35rem; font-weight: 560; letter-spacing: -0.02em;
  text-decoration: none; border-bottom: 1px solid var(--line-dark);
}
.mobile-nav a:not(.btn)::after { content: "→"; color: var(--teal-300); font-weight: 400; }
.mobile-nav .btn { margin-top: 28px; width: 100%; }
.nav-open { overflow: hidden; }

@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 921px) {
  .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink-900); color: var(--on-dark);
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(64px, 9vw, 120px);
  isolation: isolate;
}
.hero::before {
  /* Punktraster wie die Graph-Fläche der App */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(139, 217, 228, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 30%, transparent 80%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -260px; top: -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,163,184,.28) 0%, rgba(42,163,184,.06) 40%, transparent 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  font-size: .86rem; color: var(--on-dark-2);
}
.pill b {
  font-weight: 600; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-900); background: var(--teal-300); padding: 3px 9px; border-radius: 999px;
}
.hero .h1 { margin-top: 26px; }
.hero .h1 .serif { color: var(--teal-300); }
.hero .lead { margin-top: 26px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px;
  font-size: .9rem; color: var(--on-dark-3); list-style: none;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--teal-400); }

/* Begriffsgraph */
.graph {
  position: relative;
  height: clamp(420px, 46vw, 560px);
  user-select: none; -webkit-user-select: none;
}
.graph-edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.graph-edges path {
  fill: none; stroke: rgba(139, 217, 228, 0.38); stroke-width: 1.4;
  stroke-dasharray: 5 6; animation: flow 1.6s linear infinite;
  transition: stroke .3s, opacity .3s;
}
.graph-edges path.is-hot { stroke: var(--teal-300); stroke-width: 1.8; stroke-dasharray: none; }
.graph-edges path.is-dim { opacity: .25; }
@keyframes flow { to { stroke-dashoffset: -22; } }

.edge-label {
  position: absolute; transform: translate(-50%, -50%);
  padding: 3px 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  color: var(--teal-100); background: var(--ink-850); border: 1px solid rgba(139,217,228,.22);
  transition: opacity .3s, border-color .3s, color .3s;
  pointer-events: none;
}
.edge-label.is-hot { border-color: var(--teal-300); color: #fff; }
.edge-label.is-dim { opacity: .25; }

.node {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 9px; border-radius: 12px;
  background: rgba(18, 48, 63, 0.92); border: 1px solid rgba(139,217,228,.2);
  box-shadow: 0 16px 32px -16px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: grab; touch-action: none;
  transition: border-color .25s, box-shadow .25s, opacity .3s, background .25s;
  animation: node-in .8s var(--ease) both;
}
.node:hover, .node.is-hot { border-color: var(--teal-400); }
.node.is-dim { opacity: .45; }
.node.is-dragging { cursor: grabbing; box-shadow: 0 24px 48px -16px rgba(0,0,0,.7), 0 0 0 4px rgba(76,192,210,.15); z-index: 5; }
@keyframes node-in { from { opacity: 0; transform: translate(-50%, -40%) scale(.94); } }
.node-badge {
  width: 30px; height: 30px; flex: none; border-radius: 8px;
  display: grid; place-items: center;
  font-weight: 700; font-size: .85rem; color: #fff; background: var(--green-500);
}
.node-badge--teal { background: var(--teal-600); }
.node-badge--gold { background: var(--gold-500); }
.node-title { font-weight: 600; font-size: .95rem; line-height: 1.15; color: #fff; display: block; }
.node-type { font-size: .72rem; color: var(--on-dark-3); display: block; }
.node-count {
  min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px; border-radius: 999px;
  display: grid; place-items: center; font-size: .72rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.2); color: var(--on-dark-2);
}
.node--main {
  flex-direction: column; align-items: stretch; gap: 0; padding: 0; width: 230px;
  background: rgba(18, 48, 63, 0.96); border-color: rgba(139,217,228,.42);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 6px rgba(76,192,210,.06);
}
.node--main .node-art {
  height: 92px; border-radius: 11px 11px 0 0; overflow: hidden;
  background: linear-gradient(160deg, #1b5d5a 0%, #2f8a62 55%, #8bbf6a 100%);
  position: relative;
}
.node--main .node-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.node--main .node-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 4px; }
.node--main .node-def {
  padding: 2px 14px 14px; font-size: .78rem; line-height: 1.45; color: var(--on-dark-2);
}
.status {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #7fe0b0;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3fcf8e; box-shadow: 0 0 0 3px rgba(63,207,142,.18); }

.graph-hint {
  position: absolute; right: 0; bottom: -6px;
  font-size: .78rem; color: var(--on-dark-3); display: flex; align-items: center; gap: 6px;
}
.graph-hint svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .graph { height: 440px; margin-top: 8px; }
}
@media (max-width: 560px) {
  .graph { height: 370px; margin-inline: -8px; }
  .pill { font-size: .8rem; gap: 8px; }
  .pill b { white-space: nowrap; font-size: .66rem; }
  .node { padding: 7px 10px 7px 7px; gap: 8px; }
  .node-badge { width: 24px; height: 24px; font-size: .74rem; border-radius: 7px; }
  .node-title { font-size: .84rem; }
  .node-type, .node-count { display: none; }
  .node--main { width: 176px; }
  .node--main .node-art { height: 58px; }
  .node--main .node-def { display: none; }
  .node--main .node-head { padding: 10px; }
  .edge-label { font-size: .66rem; padding: 2px 7px; }
  .node.hide-sm, .edge-label.hide-sm, .graph-edges path.hide-sm { display: none; }
  .graph-hint { display: none; }
}

/* ---------- Logo-Leiste / Kernaussagen ---------- */
.proof {
  border-top: 1px solid var(--line-dark);
  background: var(--ink-900); color: var(--on-dark-2);
}
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.proof-item {
  padding: 30px 28px; display: flex; gap: 16px; align-items: flex-start;
  border-left: 1px solid var(--line-dark);
}
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item svg { width: 22px; height: 22px; flex: none; color: var(--teal-300); margin-top: 2px; }
.proof-item strong { display: block; color: var(--on-dark); font-weight: 600; margin-bottom: 4px; }
.proof-item p { font-size: .92rem; line-height: 1.5; }
@media (max-width: 860px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-left: 0; border-top: 1px solid var(--line-dark); padding: 22px 0; }
  .proof-item:first-child { border-top: 0; }
}

/* ---------- Use Case ---------- */
.usecase-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end;
}
.usecase-head .h2 { margin-top: 18px; }
@media (max-width: 900px) { .usecase-head { grid-template-columns: 1fr; } }

.seg {
  display: inline-flex; gap: 4px; padding: 5px; margin-top: clamp(36px, 5vw, 56px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  max-width: 100%;
}
.seg button {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--text-2); font-weight: 600; font-size: .92rem; white-space: nowrap;
  transition: background .25s, color .25s;
}
.seg button svg { width: 17px; height: 17px; }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: var(--ink-900); color: #fff; }
.seg button[aria-selected="true"] svg { color: var(--teal-300); }
@media (max-width: 420px) {
  .seg { display: flex; }
  .seg button { flex: 1; justify-content: center; padding: 0 10px; font-size: .84rem; }
  .seg button svg { display: none; }
}

.usecase-panel {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 36px;
}
.js .usecase-panel:not(.is-active) { display: none; }
.usecase-panel.is-active { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.usecase-copy p { color: var(--text-2); margin-top: 14px; }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text-2); font-size: .97rem; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--coral-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4553e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks b { color: var(--text); font-weight: 620; }
@media (max-width: 900px) { .usecase-panel { grid-template-columns: 1fr; } }

/* Datenaustausch A ↔ B */
.exchange {
  display: grid; grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr); align-items: center;
}
.org {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.org header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.org header strong { display: block; font-size: .92rem; letter-spacing: -0.01em; }
.org header small { display: block; font-size: .76rem; color: var(--muted); }
.org-badge {
  width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center;
  font-weight: 700; font-size: .85rem; color: #fff; background: var(--ink-700);
}
.org--b .org-badge { background: var(--gold-500); }
.record { margin: 0; padding: 8px 10px; }
.record > div {
  display: flex; justify-content: space-between; gap: 10px; padding: 7px 8px; border-radius: 8px;
  font-size: .86rem;
}
.record dt { color: var(--muted); }
.record dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.record .is-warn { background: var(--coral-100); }
.record .is-warn dt { color: #a8462f; font-weight: 600; }
.org-means {
  margin: 0 10px 12px; padding: 8px 10px; border-radius: 8px; background: var(--paper);
  font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--text-2);
}
.org-means b { font-weight: 400; color: var(--text); box-shadow: inset 0 -0.4em 0 var(--coral-100); }

.flow { position: relative; height: 100%; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.flow-line {
  position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: repeating-linear-gradient(90deg, var(--teal-500) 0 6px, transparent 6px 12px);
  background-size: 24px 2px; animation: dash-x 1s linear infinite;
}
.flow-line::after {
  content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--teal-500); border-right: 0;
}
@keyframes dash-x { to { background-position: 24px 0; } }
.flow-packet {
  position: relative; z-index: 1;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .68rem;
  background: var(--ink-900); color: var(--teal-300); padding: 6px 9px; border-radius: 7px; text-align: center; line-height: 1.35;
  box-shadow: 0 8px 18px -8px rgba(6,18,25,.5);
}
.flow-warn {
  position: absolute; top: calc(50% + 26px); left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px; width: max-content; max-width: 150px;
  font-size: .7rem; font-weight: 600; line-height: 1.25; color: #a8462f; text-align: center;
}
.flow-warn svg { width: 14px; height: 14px; flex: none; }

.bridge {
  margin-top: 16px; padding: 16px; border-radius: var(--radius);
  background: var(--ink-900); color: var(--on-dark); box-shadow: var(--shadow);
}
.bridge-title {
  display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--on-dark-2); margin-bottom: 12px;
}
.bridge-title svg { width: 20px; height: 20px; }
.bridge-title svg circle { fill: var(--teal-400); }
.bridge-title svg path { stroke: var(--teal-400); }
.map-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px;
  padding: 8px 0; border-top: 1px solid var(--line-dark);
}
.map-row .term {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(139,217,228,.18);
  font-size: .86rem; font-weight: 600; color: #fff;
}
.map-row .term:last-child { justify-content: flex-end; text-align: right; }
.map-row .term i {
  font-style: normal; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  font-size: .68rem; background: var(--ink-600); color: #fff; flex: none;
}
.map-row .term:last-child i { background: var(--gold-500); order: 2; }
.map-row .term small { font-weight: 500; color: var(--on-dark-2); font-size: .76rem; }
.rel {
  font-size: .7rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  padding: 4px 10px; border-radius: 999px; position: relative;
}
.rel--ok { color: #7fe0b0; background: rgba(63,207,142,.12); border: 1px solid rgba(63,207,142,.35); }
.rel--diff { color: #f3a593; background: rgba(226,113,90,.12); border: 1px solid rgba(226,113,90,.4); }

@media (max-width: 640px) {
  .exchange { grid-template-columns: 1fr; }
  .flow { min-height: 96px; }
  .flow-line {
    left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin: 0 0 0 -1px;
    background: repeating-linear-gradient(180deg, var(--teal-500) 0 6px, transparent 6px 12px);
    background-size: 2px 24px; animation: dash-y 1s linear infinite;
  }
  .flow-line::after { right: auto; left: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 7px solid var(--teal-500); border-bottom: 0; }
  .flow-warn { position: relative; top: auto; left: auto; transform: none; max-width: none; z-index: 1; background: var(--paper); padding: 2px 8px; border-radius: 6px; }
  .map-row { grid-template-columns: 1fr; gap: 6px; }
  .map-row .term:last-child { justify-content: flex-start; text-align: left; }
  .map-row .term:last-child i { order: 0; }
  .rel { justify-self: start; margin-left: 12px; }
}
@keyframes dash-y { to { background-position: 0 24px; } }

.usecase > .container > .resolve { margin-top: clamp(32px, 4vw, 48px); }

.voices { display: grid; gap: 14px; position: relative; }
.voice {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.voice:nth-child(2) { margin-left: clamp(0px, 4vw, 48px); }
.voice:nth-child(3) { margin-left: clamp(0px, 2vw, 24px); }
.voice-avatar {
  grid-row: span 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 650; font-size: .85rem; color: #fff;
}
.voice-who { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.voice-says { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.voice-means {
  grid-column: 2; margin-top: 2px; font-family: var(--font-serif); font-style: italic;
  font-size: 1.18rem; line-height: 1.35; color: var(--text-2);
}
.voice-means mark { background: none; color: inherit; padding: 0; box-shadow: inset 0 -0.45em 0 var(--hl, var(--teal-100)); }

.resolve {
  margin-top: 18px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--ink-900); color: var(--on-dark);
  display: flex; gap: 16px; align-items: center;
  box-shadow: var(--shadow);
}
.resolve-icon {
  width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: rgba(76,192,210,.14); color: var(--teal-300);
}
.resolve-icon svg { width: 22px; height: 22px; }
.resolve p { font-size: .95rem; color: var(--on-dark-2); line-height: 1.5; }
.resolve strong { color: #fff; font-weight: 600; }
@media (max-width: 900px) {
  .voice:nth-child(n) { margin-left: 0; }
}

/* ---------- Prinzip (Definieren / Vernetzen / Verstehen) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pillar-art {
  aspect-ratio: 16 / 11; position: relative; overflow: hidden;
  background: var(--teal-50);
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
}
.pillar-art::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(29,133,151,.16) 1px, transparent 1px);
  background-size: 18px 18px;
}
.pillar-art > * { position: relative; }
.pillar:nth-child(2) .pillar-art { background: #f3f1ea; }
.pillar:nth-child(3) .pillar-art { background: #eef3ef; }
.pillar-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pillar-num { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--teal-600); }
.pillar-body p { color: var(--text-2); font-size: .98rem; }
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* Mini-Illustrationen */
.mini-card {
  width: 68%; max-width: 260px; background: #fff; border-radius: 12px;
  box-shadow: 0 18px 36px -18px rgba(13,34,48,.35); border: 1px solid var(--line);
  overflow: hidden; transform: rotate(-2deg);
}
.mini-card-img { height: 70px; background: linear-gradient(150deg, #c89f45, #e2c27a); position: relative; }
.mini-card-img svg { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; color: #fff; }
.mini-card-body { padding: 10px 12px 12px; }
.mini-card-title { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: .92rem; }
.mini-card-title i { width: 16px; height: 16px; border-radius: 4px; background: var(--gold-500); display: inline-block; }
.mini-lines { margin-top: 8px; display: grid; gap: 5px; }
.mini-lines span { height: 6px; border-radius: 3px; background: #e9e6de; }
.mini-lines span:nth-child(1) { width: 92%; }
.mini-lines span:nth-child(2) { width: 100%; }
.mini-lines span:nth-child(3) { width: 64%; }
.mini-tag {
  position: absolute; right: 14%; bottom: 16%;
  background: var(--ink-900); color: #fff; font-size: .72rem; font-weight: 600;
  padding: 6px 10px; border-radius: 8px; transform: rotate(3deg);
  box-shadow: 0 10px 20px -10px rgba(0,0,0,.5);
}
.mini-graph { width: 86%; height: auto; }
.mini-graph .e { stroke: #9aa9ae; stroke-width: 1.4; }
.mini-graph .n rect { fill: #fff; stroke: #d6d2c6; }
.mini-graph .n text { font: 600 11px var(--font-sans); fill: var(--text); }
.mini-graph .n--main rect { fill: var(--ink-900); stroke: var(--ink-900); }
.mini-graph .n--main text { fill: #fff; }
.mini-graph .l { font: 500 9.5px var(--font-sans); fill: var(--muted); paint-order: stroke; stroke: #f3f1ea; stroke-width: 5px; stroke-linejoin: round; }
.venn { width: 82%; height: auto; }

/* ---------- Plattform ---------- */
.platform-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.platform-head .h2 { margin-top: 18px; }
.platform-head-side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
@media (max-width: 900px) { .platform-head { grid-template-columns: 1fr; } }

.browser {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.browser-bar {
  height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 14px;
  background: #f1efe9; border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d8d4ca; display: block; }
.browser-url {
  flex: 1; max-width: 360px; margin-inline: auto; height: 24px; border-radius: 6px; background: #fff;
  border: 1px solid var(--line); font-size: .72rem; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.browser-url svg { width: 11px; height: 11px; }
/* App-Mockup (feste Innengröße 1100×640, per JS auf Containerbreite skaliert) */
.mk-scale { position: relative; width: 100%; aspect-ratio: 1100 / 640; overflow: hidden; background: #e9eef0; }
.mk {
  position: absolute; left: 0; top: 0; width: 1100px; height: 640px;
  transform-origin: 0 0; transform: scale(var(--mk-s, 1));
  font-family: var(--font-sans); font-size: 12px; color: #23343d; background: #e9eef0;
  display: flex; flex-direction: column;
}
.mk svg { display: inline-block; }
.mk-top {
  height: 48px; flex: none; display: flex; align-items: center; gap: 18px; padding: 0 18px;
  background: #2b4756; color: #e7f0f3;
}
.mk-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; font-weight: 500; }
.mk-logo svg { width: 18px; height: 18px; }
.mk-logo svg circle { fill: #e7f0f3; }
.mk-logo svg path { stroke: #e7f0f3; }
.mk-domain {
  margin-left: auto; display: inline-flex; gap: 22px; align-items: center;
  background: #e9eef0; color: #2b4756; font-weight: 600; font-size: 11px; letter-spacing: .04em;
  height: 30px; padding: 0 12px; border-radius: 4px;
}
.mk-domain i { font-style: normal; opacity: .6; }
.mk-top-icons { display: flex; gap: 12px; align-items: center; }
.mk-top-icons i { width: 20px; height: 20px; border-radius: 5px; background: rgba(231,240,243,.35); display: block; }
.mk-top-icons .mk-avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--teal-500); color: #fff;
  font-style: normal; font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
.mk-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 104px 206px 1fr 250px; gap: 10px; padding: 10px; }
.mk-panel { background: #fff; border-radius: 6px; box-shadow: 0 1px 2px rgba(35,52,61,.08); overflow: hidden; position: relative; }
.mk .g {
  width: 20px; height: 20px; flex: none; border-radius: 4px; display: grid; place-items: center;
  background: #1f6b3d; color: #fff; font-style: normal; font-weight: 700; font-size: 11px;
}
.mk .g.t { background: var(--teal-600); }
.mk .g.o { background: var(--gold-500); }

.mk-nav { display: flex; flex-direction: column; gap: 2px; padding: 4px 0; }
.mk-nav span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; font-size: 12.5px; color: #3c5260; }
.mk-nav span svg { width: 16px; height: 16px; }
.mk-nav span.is-on { background: #fff; color: #1d3a48; font-weight: 600; box-shadow: 0 1px 2px rgba(35,52,61,.08); }
.mk-nav hr { border: 0; border-top: 1px solid #cfd9dd; margin: 8px 6px; }

.mk-list { padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.mk-search { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.mk-search span {
  flex: 1; height: 32px; border: 1px solid #d5dee2; border-radius: 4px; display: flex; align-items: center; gap: 6px;
  padding: 0 8px; color: #8a9aa2;
}
.mk-search span svg { width: 13px; height: 13px; }
.mk-search b {
  width: 30px; height: 30px; border-radius: 50%; background: var(--teal-500); color: #fff;
  display: grid; place-items: center; font-size: 17px; font-weight: 500;
}
.mk-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 5px; }
.mk-item > div { flex: 1; min-width: 0; }
.mk-item strong { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12.5px; color: #1d3a48; }
.mk-item strong u { width: 7px; height: 7px; border-radius: 50%; background: #3fcf8e; display: inline-block; }
.mk-item em { display: block; height: 6px; width: 90%; margin-top: 6px; border-radius: 3px; background: #e3e9ec; }
.mk-item small { color: #7b8d95; font-size: 11px; min-width: 10px; text-align: right; }
.mk-item.is-on { background: #e3eef1; }
.mk-item.is-on em { background: #cbdce1; }

.mk-canvas {
  background-color: #fff;
  background-image: radial-gradient(#d4dde1 1px, transparent 1px);
  background-size: 16px 16px;
}
.mk-toolbar { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.mk-select {
  display: inline-flex; gap: 40px; align-items: center; height: 32px; padding: 0 10px;
  border: 1px solid #d5dee2; border-radius: 4px; background: #fff; color: #3c5260;
}
.mk-select i { font-style: normal; opacity: .5; }
.mk-tools { display: flex; gap: 8px; }
.mk-tools i { width: 26px; height: 26px; border-radius: 50%; background: #eef2f4; border: 1px solid #dde5e8; display: block; }
.mk-tools i.on { background: #2b4756; border-color: #2b4756; }
.mk-edges { position: absolute; left: 0; top: 0; width: 490px; height: 572px; }
.mk-edges path { fill: none; stroke: #8fa3ab; stroke-width: 1.4; }
.mk-edges path.dash { stroke-dasharray: 5 5; }
.mk-edge-l {
  position: absolute; transform: translate(-50%, -50%); background: #fff; padding: 1px 6px; border-radius: 4px;
  font-size: 10.5px; color: #4b6270; border: 1px solid #e0e7ea; white-space: nowrap;
}
.mk-node {
  position: absolute; width: 122px; background: #fff; border-radius: 6px;
  border: 1px solid #d5dee2; box-shadow: 0 2px 6px rgba(35,52,61,.1); overflow: hidden;
}
.mk-node--main { width: 150px; border: 2px solid #2b4756; box-shadow: 0 8px 20px rgba(35,52,61,.18); }
.mk-node--plain { width: auto; }
.mk-img { display: block; height: 58px; background: #cfe3d4; position: relative; }
.mk-node--main .mk-img { height: 74px; }
.mk-img--wide { height: 92px; margin: 8px 10px; border-radius: 5px; }
.mk-img--tree { background: radial-gradient(circle at 50% 40%, #3d8a4f 0 22%, transparent 23%), linear-gradient(#bfe0f0, #e4f2ea 70%, #8cbf7a 70%); }
.mk-img--life { background: linear-gradient(90deg, #d8e8c9 0 50%, #e9d9b8 50%); }
.mk-img--life::before { content: ""; position: absolute; left: 22%; top: 30%; width: 16px; height: 16px; border-radius: 50%; background: #74a35a; }
.mk-img--life::after { content: ""; position: absolute; right: 18%; top: 22%; width: 18px; height: 26px; border-radius: 9px 9px 4px 4px; background: #9a7448; }
.mk-img--plant {
  background:
    linear-gradient(135deg, #5aa36a 0 50%, transparent 50%) 0 0 / 50% 50% no-repeat,
    linear-gradient(#3f8a54, #2e6e42) 100% 0 / 50% 50% no-repeat,
    linear-gradient(160deg, #8fc57c, #4d9a5d) 0 100% / 50% 50% no-repeat,
    linear-gradient(20deg, #2f7a4b, #9bcf86) 100% 100% / 50% 50% no-repeat,
    #b9dcb5;
}
.mk-img--garden { background: linear-gradient(#cde6f0 0 35%, #8dbb6e 35% 55%, #6b8f4f 55% 62%, #a4c97f 62%); }
.mk-node-f { display: flex; align-items: center; gap: 7px; padding: 7px 8px; }
.mk-node-f b { font-weight: 600; font-size: 12.5px; color: #1d3a48; }
.mk-node--main .mk-node-f b { font-size: 14px; }

.mk-detail { overflow: hidden; }
.mk-d-head { display: flex; align-items: center; gap: 8px; padding: 12px; }
.mk-d-head strong { font-size: 15px; font-weight: 600; color: #1d3a48; }
.mk-dot { width: 8px; height: 8px; border-radius: 50%; background: #3fcf8e; }
.mk-more {
  margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-500); color: #fff;
  display: grid; place-items: center; font-size: 12px; letter-spacing: -1px;
}
.mk-sec {
  display: flex; justify-content: space-between; align-items: center;
  background: #2b4756; color: #e7f0f3; padding: 7px 12px; font-size: 12px; font-weight: 500;
}
.mk-sec i { font-style: normal; opacity: .7; }
.mk-text { padding: 10px 12px 2px; font-size: 11.5px; line-height: 1.5; color: #3c5260; margin: 0; }
.mk-text b { color: #1d3a48; }
.mk-lines { padding: 6px 12px 12px; display: grid; gap: 6px; }
.mk-lines em { display: block; height: 6px; border-radius: 3px; background: #e3e9ec; }
.mk-link { display: flex; gap: 10px; align-items: center; padding: 7px 12px; border-bottom: 1px solid #edf1f3; }
.mk-link > span { color: #4b6270; font-size: 14px; width: 14px; }
.mk-link b { display: block; font-size: 11.5px; color: var(--teal-600); font-weight: 600; }
.mk-link small { display: block; font-size: 10.5px; color: #6f828b; }
.mk-add { display: flex; gap: 8px; padding: 10px 12px; }
.mk-add span { flex: 1; height: 28px; border: 1px solid #d5dee2; border-radius: 4px; display: flex; align-items: center; padding: 0 8px; color: #8a9aa2; font-size: 11px; }
.mk-add b { height: 28px; padding: 0 12px; border-radius: 4px; background: #2b4756; color: #fff; font-size: 11px; display: grid; place-items: center; }
.shot-wrap { position: relative; }
.annot {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: var(--ink-900); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow);
  white-space: nowrap;
}
.annot i {
  width: 20px; height: 20px; border-radius: 50%; background: var(--teal-500);
  display: grid; place-items: center; font-style: normal; font-size: .7rem;
}
.annot--1 { left: -18px; top: 30%; }
.annot--2 { left: 42%; top: 13%; }
.annot--3 { right: -18px; top: 56%; }
@media (max-width: 760px) { .annot { display: none; } }

.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--line);
}
.feature {
  padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line);
}
.feature:not(:nth-child(4n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-600); margin-bottom: 18px;
  border: 1px solid var(--teal-100);
}
.feature-icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.04rem; letter-spacing: -0.015em; font-weight: 620; }
.feature p { margin-top: 8px; font-size: .93rem; color: var(--text-2); line-height: 1.55; }
@media (max-width: 1020px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(n) { padding: 28px 24px 28px 0; border-left: 0; }
  .feature:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 580px) {
  .features { grid-template-columns: 1fr; }
  .feature:nth-child(n) { padding: 24px 0; border-left: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 16px; }
  .feature-icon { margin-bottom: 0; grid-row: span 2; }
  .feature p { margin-top: 4px; }
}

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--teal-600);
}
.section--white .step-num { background: #fff; }
.step h3 { margin-top: 10px; }
.step p { color: var(--text-2); font-size: .96rem; }
.step .link-arrow { margin-top: auto; padding-top: 6px; font-size: .9rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 6px 18px; padding-bottom: 32px; }
  .step::before {
    content: ""; position: absolute; left: 27px; top: 60px; bottom: 6px; width: 1px;
    background: repeating-linear-gradient(180deg, var(--line-strong) 0 5px, transparent 5px 10px);
  }
  .step:last-child::before { display: none; }
  .step:last-child { padding-bottom: 0; }
  .step-num { grid-row: span 4; }
  .step h3 { margin-top: 12px; }
}

/* ---------- Theorie ---------- */
.theory { overflow: hidden; }
.theory::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 20% 50%, rgba(42,163,184,.16), transparent 70%);
  pointer-events: none;
}
.theory-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px); align-items: center; position: relative;
}
.triangle-wrap { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.triangle { width: 100%; height: auto; overflow: visible; }
.triangle .side { stroke: rgba(139,217,228,.45); stroke-width: 1.5; fill: none; transition: stroke .3s, stroke-width .3s; }
.triangle .side--indirect { stroke-dasharray: 6 7; stroke: rgba(139,217,228,.3); }
.triangle .side.is-hot { stroke: var(--teal-300); stroke-width: 2.4; }
.triangle .side-label { font: 500 13px var(--font-sans); fill: var(--on-dark-3); letter-spacing: .02em; transition: fill .3s; }
.triangle .side-label.is-hot { fill: var(--teal-300); }
.triangle .vertex { cursor: pointer; outline: none; }
.triangle .vertex circle.halo { fill: rgba(76,192,210,.08); stroke: rgba(76,192,210,.25); transition: r .4s var(--ease), fill .3s; }
.triangle .vertex circle.core { fill: var(--teal-400); transition: fill .3s; }
.triangle .vertex text.v-title { font: 650 17px var(--font-sans); fill: #fff; letter-spacing: -0.01em; }
.triangle .vertex text.v-sub { font: italic 400 17px var(--font-serif); fill: var(--on-dark-2); }
.triangle .vertex:hover circle.halo,
.triangle .vertex:focus-visible circle.halo,
.triangle .vertex.is-active circle.halo { fill: rgba(76,192,210,.2); stroke: var(--teal-300); }
.triangle .vertex.is-active circle.core { fill: #fff; }

.theory-panel {
  margin-top: 30px; padding: 22px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  min-height: 132px;
}
.theory-panel h3 { font-size: 1.1rem; color: #fff; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.theory-panel h3 span { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--teal-300); font-size: 1.15rem; }
.theory-panel p { margin-top: 8px; color: var(--on-dark-2); font-size: .97rem; }
.theory-tabs { display: flex; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.theory-tabs button {
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid rgba(255,255,255,.16); color: var(--on-dark-2);
  font-size: .88rem; font-weight: 500; transition: all .25s;
}
.theory-tabs button:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.theory-tabs button[aria-selected="true"] { background: var(--teal-300); border-color: var(--teal-300); color: var(--ink-900); font-weight: 600; }
.theory-note {
  display: flex; gap: 14px; align-items: center; margin-top: 28px; color: var(--on-dark-3); font-size: .9rem;
}
.theory-note svg { width: 34px; height: 34px; flex: none; }
.theory-note svg circle { fill: var(--teal-400); }
.theory-note svg path { stroke: var(--teal-400); }
@media (max-width: 900px) {
  .theory-grid { grid-template-columns: 1fr; }
  .triangle-wrap { max-width: 440px; }
  .triangle .side-label { font-size: 17px; }
  .triangle .vertex text.v-title { font-size: 22px; }
  .triangle .vertex text.v-sub { font-size: 21px; }
}

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: clamp(20px, 3vw, 32px);
  background: var(--ink-900); color: var(--on-dark);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(139, 217, 228, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000);
  mask-image: linear-gradient(90deg, transparent 20%, #000);
}
.cta::after {
  content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; right: -200px; bottom: -340px;
  background: radial-gradient(circle, rgba(42,163,184,.4), transparent 65%);
}
.cta .h2 .serif { color: var(--teal-300); }
.cta .lead { margin-top: 18px; max-width: 32em; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 820px) {
  .cta { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .cta-actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950); color: var(--on-dark-2);
  padding-top: clamp(56px, 7vw, 88px); padding-bottom: 32px; font-size: .93rem;
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px;
}
.footer-brand { color: var(--on-dark); }
.footer-claim { margin-top: 18px; max-width: 22em; color: var(--on-dark-3); }
.footer-col h4 {
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-3); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--on-dark-2); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--on-dark-3); font-size: .85rem;
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

/* ---------- Video-Dialog ---------- */
.video-dialog {
  width: min(1040px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 18px;
  background: #000; color: #fff; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
}
.video-dialog::backdrop { background: rgba(6, 18, 25, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-dialog video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-dialog .close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center;
}
.video-dialog .close svg { width: 18px; height: 18px; }

/* ---------- Einfache Inhaltsseiten (Impressum) ---------- */
.page-hero {
  background: var(--ink-900); color: var(--on-dark);
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 88px));
  padding-bottom: clamp(48px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(139, 217, 228, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.page-hero .h2 { margin-top: 16px; position: relative; }
.prose-page { max-width: 720px; }
.prose-page h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.prose-page p, .prose-page address { color: var(--text-2); font-style: normal; line-height: 1.7; }
.prose-page a { color: var(--teal-600); }
.legal-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}

/* ---------- Scroll-Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
