/* ============================================================
   ET Systems – Design System v3.1
   Premium light theme · Weiß mit blauen Akzenten
   KI-Integration & Prozessautomatisierung
   ============================================================ */

:root {
  --bg:            #ffffff;
  --bg-raise:      #f5f8fc;
  --surface:       #ffffff;
  --card:          #ffffff;
  --card-hover:    #fbfdff;
  --line:          #e4eaf3;
  --line-strong:   #cdd9e8;

  --text-strong:   #0e1c30;
  --text:          #43556e;
  --text-dim:      #6e7f96;

  --brand:         #0078d7;
  --brand-deep:    #0a5cb8;
  --brand-soft:    #1e8ae0;
  --brand-glow:    rgba(0, 120, 215, .28);
  --accent-cyan:   #2fa8ea;
  --ok:            #0e9f6e;
  --warn:          #d9990a;

  --grad-brand:    linear-gradient(120deg, #2f9bea, #0078d7 55%, #0a5cb8);
  --grad-text:     linear-gradient(105deg, #0078d7, #2f9bea 60%, #0a5cb8);

  /* Dunkle „Screen“-Panels (Pipeline, Assistent, Footer) */
  --panel-bg-1:    #0d1830;
  --panel-bg-2:    #101f3d;
  --panel-line:    rgba(148, 178, 220, .18);
  --panel-line-strong: rgba(148, 178, 220, .3);
  --panel-text-strong: #eef3fa;
  --panel-text:    #b3c1d6;
  --panel-text-dim: #8395ae;

  --radius:        14px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow-card:   0 1px 2px rgba(14, 40, 80, .05), 0 14px 40px -18px rgba(14, 40, 80, .14);
  --shadow-pop:    0 24px 70px -22px rgba(10, 40, 90, .3);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Consolas, monospace;

  --container: 1180px;
}

/* ── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
::selection { background: rgba(0,120,215,.18); color: var(--text-strong); }

h1, h2, h3, h4 {
  color: var(--text-strong);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 750;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }
strong { color: var(--text-strong); font-weight: 650; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 640px) { .container { padding-inline: 18px; } }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-alt { background: var(--bg-raise); border-block: 1px solid var(--line); }
.section-header { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-header p { color: var(--text); font-size: 1.06rem; }
.section-header.left { text-align: left; margin-inline: 0; }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.label::before {
  content: ""; width: 22px; height: 1px; background: var(--brand); opacity: .7;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: .95rem; font-weight: 600; font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 26px -10px var(--brand-glow);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 32px -10px var(--brand-glow); }
.btn-outline {
  border-color: var(--line-strong);
  color: var(--text-strong);
  background: #fff;
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand-deep); background: rgba(0,120,215,.05); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-white { background: #fff; color: var(--brand-deep); }
.btn-white:hover { color: var(--brand-deep); transform: translateY(-1px); }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ── Header / Navigation ──────────────────────────────────── */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(14, 40, 80, .25);
}
.nav-inner {
  max-width: var(--container); margin-inline: auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo img { width: 34px; height: 34px; border-radius: 8px; }
.nav-logo-text {
  color: var(--text-strong); font-weight: 750; font-size: 1.04rem; letter-spacing: -.01em;
  display: flex; flex-direction: column; line-height: 1.15;
}
.nav-logo-text span { font-size: .64rem; font-weight: 500; color: var(--text-dim); letter-spacing: .06em; }

.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0 0 0 auto; padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: inline-flex; align-items: center;
  color: var(--text); font-size: .93rem; font-weight: 550;
  padding: 9px 13px; border-radius: 9px;
  transition: color .15s, background .15s;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--brand-deep); background: rgba(0,120,215,.07); }
.nav-menu > li > a.btn-nav {
  background: var(--grad-brand); color: #fff; font-weight: 620;
  padding: 10px 20px; border-radius: 999px; margin-left: 8px;
  box-shadow: 0 8px 22px -10px var(--brand-glow);
}
.nav-menu > li > a.btn-nav:hover { transform: translateY(-1px); color: #fff; }

.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  padding: 8px;
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-menu > li:hover > .nav-dropdown,
.nav-menu > li:focus-within > .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown li a {
  display: block; padding: 9px 13px; border-radius: 9px;
  color: var(--text); font-size: .9rem;
}
.nav-dropdown li a:hover { background: rgba(0,120,215,.08); color: var(--brand-deep); }
.nav-dropdown .dd-head {
  padding: 10px 13px 4px; font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line-strong); border-radius: 10px;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text-strong); border-radius: 2px; transition: .2s; }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 68px; left: 0; right: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(14,40,80,.25);
    padding: 14px 18px 22px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { display: flex; padding: 12px 12px; font-size: 1rem; }
  .nav-menu > li > a.btn-nav { margin: 10px 0 0; justify-content: center; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: hidden; transform: none;
    display: none; box-shadow: none; border: none; background: var(--bg-raise);
    margin: 2px 0 6px; padding: 4px;
  }
  .nav-menu > li.dd-open > .nav-dropdown { display: block; visibility: visible; }
}

/* Push page below fixed header */
main, .page-top-pad { padding-top: 68px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  background: linear-gradient(180deg, #f6f9fd, #ffffff 70%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20, 70, 140, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 70, 140, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 720px; height: 720px; border-radius: 50%;
  filter: blur(120px); opacity: .12;
}
.hero-glow-1 { background: #0078d7; top: -320px; right: -160px; }
.hero-glow-2 { background: #7db8e8; bottom: -380px; left: -220px; opacity: .18; }

.hero-split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px);
  align-items: center; position: relative;
}
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font-size: .8rem; font-weight: 550;
  padding: 7px 15px; border-radius: 999px;
  margin-bottom: 26px;
  box-shadow: 0 2px 10px -4px rgba(14,40,80,.12);
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(14, 159, 110, .16);
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-subtitle {
  font-size: 1.09rem; color: var(--text);
  max-width: 560px; margin: 18px 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  color: var(--text-dim); font-size: .86rem; font-weight: 550;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

/* ── Pipeline visual (dunkles Screen-Panel) ───────────────── */
.pipeline {
  position: relative;
  background: linear-gradient(180deg, var(--panel-bg-2), var(--panel-bg-1));
  border: 1px solid rgba(10, 50, 110, .35);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-pop);
  padding: 26px 26px 22px;
}
.pipeline-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; margin-bottom: 18px;
  border-bottom: 1px solid var(--panel-line);
  font-size: .78rem; color: var(--panel-text-dim); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.pipeline-head .live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  color: #4ade80; font-size: .72rem; letter-spacing: .1em;
}
.pipeline-head .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  55%      { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.pipe-node {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--panel-line);
  border-radius: 13px;
  padding: 12px 16px;
  position: relative;
  transition: border-color .3s, background .3s;
}
.pipe-icon {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(47,155,234,.16);
  color: #6db9f0;
}
.pipe-icon svg { width: 19px; height: 19px; }
.pipe-node-title { color: var(--panel-text-strong); font-weight: 620; font-size: .92rem; line-height: 1.3; }
.pipe-node-sub { color: var(--panel-text-dim); font-size: .78rem; line-height: 1.35; }
.pipe-node .pipe-check {
  margin-left: auto; width: 20px; height: 20px; flex: none;
  color: #4ade80; opacity: 0; transform: scale(.6);
  transition: opacity .3s, transform .3s;
}
.pipe-connector {
  width: 2px; height: 20px; margin-left: 44px !important;
  background: linear-gradient(var(--panel-line-strong), var(--panel-line));
  position: relative; overflow: hidden;
}
.pipe-connector::after {
  content: ""; position: absolute; inset-inline: 0; top: -60%;
  height: 60%;
  background: linear-gradient(transparent, #55c6f5);
  animation: flow 2.4s linear infinite;
}
@keyframes flow { to { top: 110%; } }

/* Sequenced highlight */
.pipeline[data-animate] .pipe-node { animation: node-glow 9.6s infinite; }
.pipeline[data-animate] .pipe-node .pipe-check { animation: check-in 9.6s infinite; }
.pipeline[data-animate] .pipe-node:nth-child(2), .pipeline[data-animate] .pipe-node:nth-child(2) .pipe-check { animation-delay: 0s; }
.pipeline[data-animate] .pipe-node:nth-child(4), .pipeline[data-animate] .pipe-node:nth-child(4) .pipe-check { animation-delay: 1.6s; }
.pipeline[data-animate] .pipe-node:nth-child(6), .pipeline[data-animate] .pipe-node:nth-child(6) .pipe-check { animation-delay: 3.2s; }
.pipeline[data-animate] .pipe-node:nth-child(8), .pipeline[data-animate] .pipe-node:nth-child(8) .pipe-check { animation-delay: 4.8s; }
.pipeline[data-animate] .pipe-node:nth-child(10), .pipeline[data-animate] .pipe-node:nth-child(10) .pipe-check { animation-delay: 6.4s; }
.pipeline[data-animate] .pipe-node:nth-child(12), .pipeline[data-animate] .pipe-node:nth-child(12) .pipe-check { animation-delay: 8s; }
@keyframes node-glow {
  0%, 2% { border-color: var(--panel-line); background: rgba(255,255,255,.035); }
  6%, 14% { border-color: rgba(85,198,245,.6); background: rgba(47,155,234,.13); }
  20%, 100% { border-color: var(--panel-line); background: rgba(255,255,255,.035); }
}
@keyframes check-in {
  0%, 5%   { opacity: 0; transform: scale(.6); }
  10%, 96% { opacity: 1; transform: scale(1); }
  100%     { opacity: 1; transform: scale(1); }
}

/* ── Cards ────────────────────────────────────────────────── */
.cards-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 960px) {
  .cards-grid, .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards-grid, .cards-grid-4, .cards-grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 4px 8px rgba(14,40,80,.05), 0 22px 48px -18px rgba(14,40,80,.18); }
.card h3 { margin: 0 0 8px; }
.card p { font-size: .93rem; margin-bottom: 0; color: var(--text); }
.card .card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .88rem; font-weight: 600; }

.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(0,120,215,.09);
  border: 1px solid rgba(0,120,215,.18);
  color: var(--brand);
  margin-bottom: 18px;
}
.card-icon svg { width: 21px; height: 21px; }

.flow-line {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong);
  font-size: .8rem; color: var(--text-dim); font-family: var(--mono);
  line-height: 1.9;
}
.flow-line b { color: var(--brand); font-weight: 600; }

/* ── Two column layout ────────────────────────────────────── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px); align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.feature-list { list-style: none; padding: 0; margin: 0 0 8px; }
.feature-list li {
  position: relative; padding: 6px 0 6px 32px;
  color: var(--text); font-size: .97rem;
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 18px; height: 18px; border-radius: 6px;
  background: rgba(14,159,110,.1) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230e9f6e" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 11px no-repeat;
  border: 1px solid rgba(14,159,110,.25);
}

/* ── Steps (Vorgehensweise) ───────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 960px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px; position: relative;
  box-shadow: var(--shadow-card);
}
.step-num {
  font-family: var(--mono); font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  color: var(--brand); display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.04rem; }
.step p { font-size: .9rem; margin: 0; }

/* ── Layer panels (Verstehen/Entscheiden/Ausführen) ───────── */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .layers { grid-template-columns: 1fr; } }
.layer {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  background: var(--card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
}
.layer-tag {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em;
  color: var(--brand); font-weight: 700; display: block; margin-bottom: 12px;
}
.layer ul { list-style: none; margin: 14px 0 0; padding: 0; }
.layer li {
  padding: 7px 0 7px 22px; font-size: .92rem; color: var(--text);
  position: relative; border-bottom: 1px solid var(--line);
}
.layer li:last-child { border-bottom: none; }
.layer li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--brand); opacity: .75;
}

/* ── Chat / assistant showcase (dunkles Screen-Panel) ─────── */
.assistant-demo {
  max-width: 640px; margin-inline: auto;
  background: linear-gradient(180deg, var(--panel-bg-2), var(--panel-bg-1));
  border: 1px solid rgba(10, 50, 110, .35);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.assistant-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-bottom: 1px solid var(--panel-line);
  font-size: .8rem; font-weight: 600; color: var(--panel-text-dim); letter-spacing: .06em;
}
.assistant-head svg { width: 16px; height: 16px; color: #6db9f0; }
.assistant-body { padding: 22px 22px 26px; }
.chat-user {
  background: rgba(47,155,234,.16);
  border: 1px solid rgba(47,155,234,.35);
  color: var(--panel-text-strong);
  border-radius: 16px 16px 4px 16px;
  padding: 14px 18px;
  font-size: .95rem; line-height: 1.55;
  max-width: 92%; margin-left: auto; margin-bottom: 20px;
}
.chat-steps { list-style: none; margin: 0; padding: 0; }
.chat-steps li {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 4px;
  font-size: .92rem; color: var(--panel-text);
  opacity: 0; transform: translateY(6px);
}
.chat-steps li strong { color: var(--panel-text-strong); }
.chat-steps .cs-ico {
  width: 24px; height: 24px; flex: none; display: grid; place-items: center;
  border-radius: 8px; background: rgba(74,222,128,.14); color: #4ade80;
}
.chat-steps .cs-ico.wait { background: rgba(251,191,36,.15); color: #fbbf24; }
.chat-steps .cs-ico svg { width: 13px; height: 13px; }
.chat-steps.play li { animation: step-in .5s ease forwards; }
.chat-steps.play li:nth-child(1) { animation-delay: .3s; }
.chat-steps.play li:nth-child(2) { animation-delay: .9s; }
.chat-steps.play li:nth-child(3) { animation-delay: 1.5s; }
.chat-steps.play li:nth-child(4) { animation-delay: 2.1s; }
.chat-steps.play li:nth-child(5) { animation-delay: 2.7s; }
.chat-steps.play li:nth-child(6) { animation-delay: 3.3s; }
.chat-steps.play li:nth-child(7) { animation-delay: 3.9s; }
.chat-steps.play li:nth-child(8) { animation-delay: 4.5s; }
@keyframes step-in { to { opacity: 1; transform: translateY(0); } }

/* ── Flow map (systems left → ET → results right) ─────────── */
.flowmap {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 40px);
  align-items: center;
}
@media (max-width: 860px) {
  .flowmap { grid-template-columns: 1fr; }
  .flowmap-center { order: -1; margin-inline: auto; }
}
.flowmap-col { display: grid; gap: 10px; }
.flowmap-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 15px;
  font-size: .89rem; font-weight: 560; color: var(--text);
  box-shadow: 0 2px 10px -6px rgba(14,40,80,.12);
}
.flowmap-item svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.flowmap-col.right .flowmap-item svg { color: var(--ok); }
.flowmap-center {
  text-align: center;
  background: linear-gradient(160deg, #0a5cb8, #0078d7);
  border: 1px solid rgba(10,92,184,.5);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  box-shadow: 0 20px 50px -18px var(--brand-glow);
}
.flowmap-center .fm-name { color: #fff; font-weight: 800; letter-spacing: .06em; font-size: 1.05rem; }
.flowmap-center .fm-sub {
  margin-top: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  color: #bfe0fa; line-height: 1.9;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin-inline: auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer;
  font: inherit; font-weight: 620; font-size: 1rem; text-align: left;
  color: var(--text-strong);
  padding: 18px 22px;
}
.faq-arrow { transition: transform .25s ease; color: var(--text-dim); flex: none; }
.faq-question.active .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer.open { max-height: 600px; }
.faq-answer p { padding: 0 22px 20px; margin: 0; font-size: .95rem; }
.faq-answer p + p { padding-top: 0; margin-top: -8px; }

/* ── Forms ────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .87rem; font-weight: 600; color: var(--text-strong); }
.form-field label .opt { color: var(--text-dim); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--text-strong);
  font: inherit; font-size: .95rem;
  padding: 12px 15px;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-field select { appearance: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236e7f96" stroke-width="2" stroke-linecap="round"><polyline points="6 9 12 15 18 9"/></svg>'); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,120,215,.13);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field ::placeholder { color: #9aa9bd; }
.form-note { font-size: .82rem; color: var(--text-dim); }
.form-alert { display: none; border-radius: 12px; padding: 14px 18px; font-size: .93rem; margin-top: 16px; }
.form-alert.ok { background: rgba(14,159,110,.08); border: 1px solid rgba(14,159,110,.3); color: #0b7d57; }
.form-alert.err { background: rgba(220,60,60,.06); border: 1px solid rgba(220,60,60,.3); color: #b43333; }

/* ── CTA banner (blaues Akzent-Panel) ─────────────────────── */
.cta-banner {
  position: relative;
  padding: clamp(64px, 8vw, 100px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 100% at 50% 130%, rgba(255,255,255,.16), transparent 70%),
    linear-gradient(150deg, #0a5cb8, #0078d7 60%, #1e8ae0);
  overflow: hidden;
}
.cta-banner h2 { max-width: 720px; margin-inline: auto; color: #fff; }
.cta-banner p { max-width: 560px; margin: 0 auto 30px; font-size: 1.05rem; color: rgba(255,255,255,.85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-banner .btn-primary { background: #fff; color: var(--brand-deep); box-shadow: 0 12px 30px -12px rgba(0,20,50,.5); }
.cta-banner .btn-primary:hover { color: var(--brand-deep); }
.cta-banner .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.cta-banner .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }

/* ── Breadcrumbs ──────────────────────────────────────────── */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; margin: 0 0 18px; padding: 0;
  font-size: .82rem; color: var(--text-dim);
}
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--brand); }

/* ── Page hero (subpages) ─────────────────────────────────── */
.page-hero {
  position: relative;
  padding: clamp(56px, 8vw, 92px) 0 clamp(40px, 6vw, 64px);
  overflow: hidden;
  background: linear-gradient(180deg, #f6f9fd, #ffffff);
}
.page-hero h1 { max-width: 840px; }
.page-hero .lead { font-size: 1.12rem; color: var(--text); max-width: 720px; }

/* ── Prose (Wissen articles) ──────────────────────────────── */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose p, .prose li { font-size: 1.02rem; line-height: 1.8; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
  margin: 1.6em 0; padding: 16px 22px;
  border-left: 3px solid var(--brand);
  background: rgba(0,120,215,.05);
  border-radius: 0 12px 12px 0;
  color: var(--text-strong);
}
.prose blockquote p { margin: 0; }
.prose .info-box {
  background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; margin: 1.8em 0;
}
.prose .info-box h3 { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text-strong); font-weight: 650; border-bottom-color: var(--line-strong); background: var(--bg-raise); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  color: var(--text-dim); font-size: .85rem; margin-bottom: 8px;
}

/* ── Tags / badges ────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center;
  padding: 5px 13px; border-radius: 999px;
  background: rgba(0,120,215,.08); border: 1px solid rgba(0,120,215,.22);
  color: var(--brand-deep); font-size: .78rem; font-weight: 600;
}
.tag.neutral { background: var(--bg-raise); border-color: var(--line-strong); color: var(--text); }

/* ── Footer (dunkelblaues Akzent-Panel) ───────────────────── */
.site-footer {
  background: linear-gradient(180deg, #0c1a34, #091326);
  border-top: 1px solid rgba(10,50,110,.4);
  padding: clamp(48px, 6vw, 72px) 0 32px;
  font-size: .9rem;
  color: var(--panel-text);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 44px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 42px; height: 42px; border-radius: 10px; margin-bottom: 16px; }
.footer-brand p { color: var(--panel-text-dim); font-size: .88rem; max-width: 300px; }
.footer-col h4 {
  color: var(--panel-text-strong); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--panel-text-dim); }
.footer-col a:hover { color: #6db9f0; }
.footer-contact-item { margin: 0 0 8px; color: var(--panel-text-dim); }
.footer-contact-item a { color: var(--panel-text); }
.footer-contact-item a:hover { color: #6db9f0; }
.footer-bottom {
  border-top: 1px solid var(--panel-line);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  color: var(--panel-text-dim); font-size: .82rem;
}
.footer-bottom a { color: var(--panel-text-dim); }
.footer-bottom a:hover { color: #6db9f0; }
.footer-bottom p { margin: 0; }

/* ── Animations (shared with components.js observers) ─────── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.fade-in { opacity: 0; transition: opacity .8s ease; }
.fade-up.visible, .fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Utilities ────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-2 { margin-top: 12px; } .mt-3 { margin-top: 20px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.max-720 { max-width: 720px; } .max-820 { max-width: 820px; }
.mx-auto { margin-inline: auto; }

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .fade-up, .fade-in, .chat-steps li { opacity: 1 !important; transform: none !important; }
}
