/* ============================================================
   DashVision — Design-System
   Palette:  Paper #FFFFFF · Ink #0B1220 · Slate #55606E
             Kobalt #1D4ED8 · Navy #0C1526 (Dashboards)
   Type:     Schibsted Grotesk (Display) · Inter (Body) · IBM Plex Mono (Daten)
   ============================================================ */

:root {
  --paper: #ffffff;
  --ink: #0b1220;
  --slate: #55606e;
  --line: #e8ebf0;
  --tint: #f6f8fb;
  --accent: #1d4ed8;
  --accent-strong: #1e40af;
  --accent-soft: #eef3fe;
  --navy: #0d0e13;
  --navy-card: #14161d;
  --navy-line: rgba(255, 255, 255, 0.07);
  --navy-text: rgba(255, 255, 255, 0.93);
  --navy-muted: rgba(255, 255, 255, 0.52);
  --brand: #4d8dff;
  --good: #5fe0a8;
  --bad: #ff8ba5;
  --live: #6ee7b4;
  --dash-g1: #171922;
  --dash-g2: #0d0e13;
  --side-bg: rgba(255, 255, 255, 0.025);
  --chart-grid: rgba(255, 255, 255, 0.07);
  --chart-axis: rgba(255, 255, 255, 0.16);
  --chart-tick: rgba(255, 255, 255, 0.45);
  --chart-label: rgba(255, 255, 255, 0.85);
  --chart-strong: #ffffff;
  --c1: #5b9dff;
  --c2: #f5b84a;
  --c3: #3fd6c0;
  --c4: #b79cff;
  --c5: #ff7e9c;
  --display: "Schibsted Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --w: 1140px;
  --r: 14px;
  --shadow-lg: 0 40px 90px -30px rgba(11, 18, 32, 0.35), 0 18px 40px -24px rgba(11, 18, 32, 0.28);
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05), 0 8px 24px -16px rgba(11, 18, 32, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.028em; line-height: 1.06; }
h2 { font-size: clamp(1.95rem, 3.8vw, 2.95rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.012em; line-height: 1.3; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow .cell {
  width: 11px; height: 11px; border-radius: 3px;
  background: var(--accent);
  box-shadow: 14px 0 0 -3.5px rgba(29, 78, 216, 0.35);
  margin-right: 8px;
  flex: none;
}
.eyebrow-light { color: #93b4ff; }
.eyebrow-light .cell { background: #93b4ff; box-shadow: 14px 0 0 -3.5px rgba(147, 180, 255, 0.35); }

.section { padding: clamp(84px, 9vw, 128px) 0; }
.section-tint {
  background:
    radial-gradient(720px 340px at 88% -4%, rgba(37, 99, 235, 0.055), transparent 70%),
    radial-gradient(600px 300px at 4% 102%, rgba(139, 124, 247, 0.045), transparent 70%),
    linear-gradient(180deg, #f8fafd, #f2f5fa);
}
.section-sub {
  color: var(--slate);
  max-width: 560px;
  margin-top: 16px;
  font-size: 1.08rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  /* Grundgröße, damit auch ein .btn ohne -sm/-lg sauber sitzt */
  padding: 13px 24px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(29, 78, 216, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(29, 78, 216, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #cbd3dd; transform: translateY(-1px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 18, 32, 0.25); }
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { width: 22px; height: 22px; }
.brand-mark rect { fill: none; stroke: currentColor; stroke-width: 2.6; }
.brand-mark rect.fill { fill: var(--accent); stroke: var(--accent); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  padding: 158px 0 clamp(84px, 9vw, 120px);
  position: relative;
  text-align: center;
  overflow: hidden;
}
/* Excel-Raster, das nach unten in Weißraum aufgelöst wird */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 620px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 40px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 82%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 82%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -220px; left: 50%;
  width: min(1400px, 120vw); height: 720px;
  transform: translateX(-50%);
  background:
    radial-gradient(520px 340px at 32% 30%, rgba(37, 99, 235, 0.11), transparent 70%),
    radial-gradient(460px 320px at 68% 22%, rgba(139, 124, 247, 0.09), transparent 70%),
    radial-gradient(420px 300px at 50% 52%, rgba(78, 198, 224, 0.07), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translateX(-52%) translateY(0) scale(1); }
  to { transform: translateX(-48%) translateY(26px) scale(1.06); }
}
.hero .wrap { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid rgba(29, 78, 216, 0.18);
  border-radius: 100px;
  padding: 7px 15px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(29, 78, 216, 0); }
}
.hero-h1 {
  font-size: clamp(2.85rem, 6.6vw, 4.9rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero-h1 .mark { position: relative; white-space: nowrap; }
.hero-h1 .mark svg {
  position: absolute;
  left: 0; bottom: -0.14em;
  width: 100%; height: 0.18em;
  overflow: visible;
}
.hero-h1 .mark svg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 7;
  stroke-linecap: round;
  opacity: 0.9;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-funnelnote {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.07em;
  color: var(--slate);
}
.hero-trust {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--slate);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Dashboard (Navy-Mockups) ---------- */
.dash {
  background:
    radial-gradient(560px 240px at 12% 0%, rgba(255, 255, 255, 0.045), transparent 70%),
    radial-gradient(520px 260px at 96% 2%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 72%),
    linear-gradient(180deg, var(--dash-g1), var(--dash-g2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  color: var(--navy-text);
  text-align: left;
  padding: 22px;
  position: relative;
}
/* SaaS-Shell mit Sidebar */
.dash.dash--shell { display: grid; grid-template-columns: 208px 1fr; padding: 0; overflow: hidden; }
.dash-side {
  background: var(--side-bg);
  border-right: 1px solid var(--navy-line);
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  min-width: 0;
}
.side-brand { display: flex; align-items: center; gap: 11px; padding: 2px 6px 16px; }
.side-logo {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
  letter-spacing: 0.02em;
  flex: none;
}
.side-brand b { display: block; font-size: 0.83rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.side-brand i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-muted);
}
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-muted);
  padding: 8px 10px;
  border-radius: 9px;
  cursor: default;
}
.side-nav a::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2.5px;
  background: currentColor;
  opacity: 0.45;
  flex: none;
}
.side-nav a.on {
  color: var(--chart-strong);
  background: color-mix(in srgb, var(--brand) 16%, transparent);
}
.side-nav a.on::before { background: var(--brand); opacity: 1; }
.side-user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 6px 2px;
  border-top: 1px solid var(--navy-line);
}
.side-user .side-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
  flex: none;
}
.side-user b { display: block; font-size: 0.72rem; font-weight: 600; line-height: 1.25; }
.side-user i { font-style: normal; font-size: 0.62rem; color: var(--navy-muted); }
.dash-main { padding: 20px 22px 22px; min-width: 0; }
.hero-dash { margin-top: clamp(48px, 6vw, 72px); }
.dash-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 2px 4px 16px;
}
.dash-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.dash-file {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--navy-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--navy-line);
  padding: 4px 10px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dash-file svg { width: 12px; height: 12px; fill: none; stroke: var(--live); stroke-width: 2; }
a.dash-file { cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease; }
a.dash-file:hover { color: var(--navy-text); border-color: rgba(255, 255, 255, 0.28); text-decoration: underline dotted; text-underline-offset: 3px; }
body.theme-light a.dash-file:hover, .hell a.dash-file:hover { border-color: #c8d1dc; }
.dash-filter {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--navy-line);
  padding: 4px 11px;
  border-radius: 7px;
}
.dash-filter i { font-style: normal; color: rgba(255, 255, 255, 0.35); margin-left: 3px; }
.dash-live {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--live);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dash-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); animation: pulse 2s ease infinite; }
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.kpi {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: 14px;
  padding: 15px 17px 14px;
  position: relative;
  overflow: hidden;
}
.kpi::before {
  content: "";
  position: absolute;
  top: 0; left: 14px; right: 55%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: 0.8;
}
.kpi-l {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy-muted);
}
.kpi-v {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  letter-spacing: -0.02em;
  margin-top: 7px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.kpi-d {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 9px;
  font-variant-numeric: tabular-nums;
  padding: 3px 9px;
  border-radius: 100px;
}
.kpi-d svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.kpi-d.up { color: var(--good); background: rgba(95, 224, 168, 0.1); }
.kpi-d.down { color: var(--bad); background: rgba(255, 139, 165, 0.1); }
.dash-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.dash-grid.single { grid-template-columns: 1fr; }
.dash-grid.row2 { grid-template-columns: 1fr; }
.donut-wrap { display: flex; align-items: center; gap: 18px; padding: 6px 2px 4px; }
.donut-svg { width: 148px; height: 148px; flex: none; }
.donut-svg .donut-center { font-family: var(--display); font-weight: 800; font-size: 21px; fill: var(--chart-strong); letter-spacing: -0.02em; }
.donut-svg .donut-sub { font-family: var(--mono); font-size: 8.5px; fill: var(--chart-tick); letter-spacing: 0.08em; text-transform: uppercase; }
.donut-legend { list-style: none; display: flex; flex-direction: column; gap: 9px; min-width: 0; flex: 1; }
.donut-legend li { display: flex; align-items: center; gap: 9px; font-size: 0.76rem; color: var(--chart-label); }
.donut-legend b { white-space: nowrap; }
.donut-legend i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.donut-legend span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donut-legend b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--chart-strong); font-size: 0.76rem; padding-left: 10px; }
html.js .donut-svg g { opacity: 0; transform-origin: center; animation: donutIn 0.8s cubic-bezier(0.3, 0, 0.2, 1) 0.15s forwards; }
@keyframes donutIn { from { opacity: 0; transform: rotate(-14deg) scale(0.94); } to { opacity: 1; transform: none; } }
.dash-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: 12px;
  padding: 16px 17px 12px;
  min-width: 0;
}
.dash-card-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.dash-card-t { font-size: 0.86rem; font-weight: 600; letter-spacing: -0.005em; }
.legend {
  margin-left: auto;
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--navy-muted);
}
.legend i {
  display: inline-block;
  width: 14px; height: 3px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}
.chart { width: 100%; height: auto; }
.chart text { font-family: var(--mono); font-size: 10.5px; fill: var(--chart-tick); }
.chart .vlabel { fill: var(--chart-label); font-size: 10.5px; }
.chart .grid { stroke: var(--chart-grid); }
.chart .axis { stroke: var(--chart-axis); }
.card-sub { color: var(--chart-tick); font-weight: 500; font-size: 0.76rem; }

/* Daten-Tabellen (Unterseiten) */
.dtab-scroll { overflow-x: auto; }
.dtab { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.dtab th {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--chart-tick);
  text-align: left; padding: 4px 0 10px 0; border-bottom: 1px solid var(--navy-line); white-space: nowrap;
}
.dtab td {
  padding: 9px 0; border-bottom: 1px solid var(--navy-line);
  color: var(--chart-label); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.dtab td:first-child { color: var(--navy-text); font-weight: 600; }
.dtab th:not(:first-child), .dtab td:not(:first-child) { text-align: right; padding-left: 18px; }
.dtab tbody tr:last-child td { border-bottom: none; }
.dtab tr.flag td { color: var(--bad); }
.dtab tr.flag td:first-child { color: var(--bad); }
.side-nav a[href] { cursor: pointer; }

/* KI-Zusammenfassung im Dashboard */
.dash-ai {
  margin-top: 12px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 12%, transparent), color-mix(in srgb, var(--brand) 4%, transparent));
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  border-radius: 13px;
  padding: 14px 17px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.dash-ai svg { width: 17px; height: 17px; flex: none; margin-top: 2px; fill: none; stroke: color-mix(in srgb, var(--brand) 75%, #fff); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dash-ai-l {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand) 70%, #fff);
  margin-bottom: 3px;
}
.dash-ai-t { font-size: 0.9rem; line-height: 1.55; color: var(--navy-text); }
.dash-ai-t .caret {
  display: inline-block;
  width: 7px; height: 15px;
  background: #8db8ff;
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Schwebende Anomalie-Karte */
.float-card {
  position: absolute;
  right: -14px;
  bottom: 74px;
  background: rgba(18, 31, 56, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 13px 16px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  display: flex;
  gap: 11px;
  align-items: flex-start;
  max-width: 300px;
  animation: floaty 5.5s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-7px); } }
.float-card svg { width: 16px; height: 16px; flex: none; margin-top: 2px; fill: none; stroke: var(--c5); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-card b { font-size: 0.78rem; display: block; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.94); }
.float-card span { font-size: 0.74rem; color: rgba(255, 255, 255, 0.6); line-height: 1.45; }

/* ---------- Vertrauen ---------- */
.trust { padding: clamp(56px, 7vw, 84px) 0 clamp(72px, 8vw, 104px); }
.trust-line {
  text-align: center;
  font-size: 0.86rem;
  color: var(--slate);
  margin-bottom: 30px;
}
.ehrlich {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 30px) clamp(24px, 3.4vw, 34px);
  box-shadow: var(--shadow-sm);
}
.ehrlich-h {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.08rem, 2.1vw, 1.3rem);
  letter-spacing: -0.022em;
  line-height: 1.3;
  margin-bottom: 12px;
  text-wrap: balance;
}
.ehrlich p { color: var(--slate); font-size: 0.96rem; }
.ehrlich-vorteil {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink) !important;
}
.badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  margin-top: 44px;
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
}
.badges svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Schritte ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgba(11, 18, 32, 0.22); }
.step-num {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--accent-soft);
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.step-ic { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 40px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--slate); line-height: 1.6; }
.steps-note { margin-top: 30px; text-align: center; color: var(--slate); font-size: 0.95rem; }
.steps-note strong { color: var(--ink); }

/* ---------- Verwandlung (Excel → Dashboard) ---------- */
.morph {
  display: grid;
  grid-template-columns: 1fr 168px 1.15fr;
  gap: 20px;
  align-items: center;
  margin-top: 52px;
}
.excel-win {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.excel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #217346;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 14px;
}
.excel-x {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.18);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.72rem;
}
.excel-dl { color: #fff; text-decoration: underline dotted; text-underline-offset: 3px; }
.excel-dl:hover { text-decoration-style: solid; }
.excel-tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  padding: 3px 10px;
}
.excel-fx {
  display: flex;
  gap: 10px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--slate);
}
.excel-fx b { color: #217346; }
.excel-scroll { overflow-x: auto; }
.excel-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.7rem;
  color: #2a3442;
}
.excel-grid th {
  background: #f3f5f7;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.62rem;
  color: #8a94a2;
  border: 1px solid #e4e8ec;
  padding: 4px 8px;
  text-align: center;
  width: 30px;
}
.excel-grid thead th { padding: 5px 8px; }
.excel-grid td {
  border: 1px solid #e9edf1;
  padding: 4px 8px;
  white-space: nowrap;
}
.excel-grid td.eh { font-weight: 600; background: #fafbfc; }
.excel-grid td.num { text-align: right; font-variant-numeric: tabular-nums; }
.excel-grid td.messy { color: #b45309; background: #fffaf0; }
.excel-grid td.err { color: #c92a2a; font-weight: 600; }
.excel-grid td.sel { outline: 2px solid #217346; outline-offset: -2px; font-weight: 600; }
.excel-more {
  position: relative;
  text-align: center;
  padding: 12px 0 14px;
}
.excel-more::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 64px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.excel-more span {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--slate);
  border: 1px dashed #cdd5de;
  border-radius: 100px;
  padding: 5px 14px;
  background: #fff;
}
.morph-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.morph-arrow {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.morph-log {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 96px;
  justify-content: center;
}
.morph-log span {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--slate);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.morph-log span.in { opacity: 1; transform: none; }
.morph-log span.done { color: #18a058; font-weight: 600; }
.morph-dash { padding: 16px; }
.morph-dash.veiled { opacity: 0.25; filter: saturate(0.4); }
html.js .morph-dash { transition: opacity 0.6s ease, filter 0.6s ease; }
@media (max-width: 1020px) {
  .morph { grid-template-columns: 1fr; gap: 16px; }
  .morph-mid { flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 4px 0; }
  .morph-arrow { transform: rotate(90deg); width: 30px; height: 30px; }
  .morph-log { min-height: 0; align-items: flex-start; text-align: left; }
  .excel-grid { font-size: 0.72rem; }
  .excel-grid td { padding: 4px 8px; }
}

/* ---------- Versprechen ---------- */
.promise {
  background:
    radial-gradient(640px 320px at 14% 0%, rgba(37, 99, 235, 0.1), transparent 70%),
    radial-gradient(560px 300px at 88% 100%, rgba(139, 124, 247, 0.09), transparent 70%),
    linear-gradient(180deg, #eef3fe, #e9f0fd);
  border-top: 1px solid rgba(29, 78, 216, 0.12);
  border-bottom: 1px solid rgba(29, 78, 216, 0.12);
  padding: clamp(72px, 8vw, 108px) 0;
  text-align: center;
}
.promise .eyebrow { justify-content: center; }
.promise-quote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
  max-width: 880px;
  margin: 0 auto 34px;
}
.promise-quote em {
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}
.promise-note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  color: var(--slate);
}

/* ---------- Showcase-Tabs ---------- */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 44px 0 26px;
}
.tab {
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tab:hover { border-color: #c8d1dc; color: var(--ink); }
.tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.show-dash { min-height: 520px; }
.show-fullscreen { text-align: center; margin-top: 20px; }
.show-fullscreen a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  border-bottom: 1.5px solid rgba(29, 78, 216, 0.25);
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}
.show-fullscreen a:hover { border-color: var(--accent); }

/* ---------- KI-Erkenntnisse ---------- */
.insights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.insight-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.insight-tag {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}
.sev { width: 8px; height: 8px; border-radius: 50%; }
.sev-red { background: #e5484d; }
.sev-amber { background: #e79d13; }
.sev-blue { background: var(--accent); }
.sev-green { background: #18a058; }
.insight-quote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.insight-rec {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--slate);
}
.insight-rec strong { color: var(--ink); font-weight: 600; }

/* ---------- Vorteile ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.benefit {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 30px 28px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 18px;
}
.benefit svg {
  grid-row: span 2;
  width: 44px; height: 44px;
  padding: 10px;
  background: var(--accent-soft);
  border-radius: 12px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit h3 { align-self: end; }
.benefit p { font-size: 0.92rem; color: var(--slate); }

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; display: grid; gap: 10px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.012em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.chev {
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}
.faq-item[open] .chev { transform: rotate(-135deg); margin-top: 4px; }
.faq-body { padding: 0 24px 20px; }
.faq-body p { color: var(--slate); font-size: 0.95rem; }

/* ---------- Sektions-CTA (führt in den Qualifizierungs-Funnel) ---------- */
.sec-cta {
  margin-top: clamp(40px, 5vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  flex-wrap: wrap;
  padding: clamp(18px, 2.6vw, 24px) clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(100deg, var(--paper) 46%, var(--accent-soft));
  box-shadow: var(--shadow-sm);
}
/* Wächst mit, schrumpft aber so weit, dass der Button daneben stehen bleibt —
   sonst rutscht er in schmalen Sektionen (wrap-narrow) allein in die zweite Zeile. */
.sec-cta-txt { flex: 1 1 300px; min-width: 0; }
.sec-cta-txt > p:first-child {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.9vw, 1.24rem);
  letter-spacing: -0.02em;
  line-height: 1.28;
  text-wrap: balance;
}
.sec-cta-meta {
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  color: var(--slate);
}
.sec-cta .btn { flex: none; }
.sec-cta-stark {
  background: linear-gradient(100deg, #101828, var(--navy) 55%, #16233d);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--navy-text);
  box-shadow: 0 24px 60px -34px rgba(11, 18, 32, 0.7);
}
.sec-cta-stark .sec-cta-meta { color: var(--navy-muted); }
@media (max-width: 640px) {
  .sec-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .sec-cta .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.footer { background: #08090d; color: rgba(255, 255, 255, 0.85); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.brand-light { color: #fff; }
.brand-light .brand-mark rect { stroke: #fff; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); max-width: 300px; }
.footer-h {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-small { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }
.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  padding-bottom: 26px;
}
.footer-base p { font-size: 0.78rem; color: rgba(255, 255, 255, 0.38); }

/* ---------- Demo-Viewer (Kundensicht) ---------- */
.demo-body {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    radial-gradient(1000px 540px at 10% -8%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%),
    radial-gradient(860px 500px at 96% 4%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 72%),
    radial-gradient(760px 480px at 50% 108%, rgba(255, 255, 255, 0.03), transparent 70%),
    #08090d;
  background-attachment: fixed;
  color: var(--navy-text);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.apptop {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  background: rgba(8, 9, 13, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-line);
}
.apptop .brand { font-size: 1rem; color: #fff; }
.apptop .brand-mark { width: 18px; height: 18px; }
.apptop .brand-mark rect { stroke: #fff; }
.apptop-sep { width: 1px; height: 26px; background: var(--navy-line); }
.apptop-id { display: flex; flex-direction: column; min-width: 0; }
.apptop-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.apptop-sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-muted);
}
.chip-demo {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5b84a;
  border: 1px solid rgba(245, 184, 74, 0.4);
  border-radius: 100px;
  padding: 4px 11px;
  flex: none;
}
.apptop .dash-live { margin-left: auto; white-space: nowrap; }
@media (max-width: 920px) {
  .apptop .dash-live { display: none; }
  .apptop .avatar { margin-left: auto; }
}
.avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex: none;
}
.demo-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 22px 0;
}
.demo-tab {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--navy-line);
  border-radius: 100px;
  padding: 7px 15px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.demo-tab:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.demo-tab[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.demo-main {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 22px 30px;
}
.cfg { position: relative; margin-left: auto; flex: none; }
.cfg summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--navy-line);
  border-radius: 100px;
  padding: 7px 15px;
  transition: all 0.15s ease;
}
.cfg summary::-webkit-details-marker { display: none; }
.cfg summary:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.cfg[open] summary { background: rgba(255, 255, 255, 0.1); color: #fff; }
.cfg summary svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cfg-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: 265px;
  background: #121f38;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.65);
  padding: 14px 16px;
}
.cfg-h {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-muted);
  margin: 10px 0 6px;
}
.cfg-h:first-child { margin-top: 0; }
.cfg-pop label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 5px 0;
  cursor: pointer;
}
.cfg-pop input { accent-color: var(--accent); width: 15px; height: 15px; flex: none; }
.cfg-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  color: var(--navy-muted);
  line-height: 1.5;
}
.dash-full { box-shadow: none; }
.demo-foot {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  padding: 16px;
  border-top: 1px solid var(--navy-line);
}
.demo-foot a { color: rgba(255, 255, 255, 0.55); }
@media (max-width: 620px) {
  .apptop { gap: 10px; padding: 10px 14px; }
  .apptop .brand span, .apptop-sep { display: none; }
  .chip-demo { display: none; }
  .demo-switch { padding: 12px 14px 0; flex-wrap: nowrap; overflow-x: auto; }
  .demo-tab { flex: none; }
  .demo-main { padding: 12px 10px 20px; }
}

/* ---------- Heller Modus (Demo-Viewer) ---------- */
/* Helles Dashboard-Thema — als Body-Klasse (Demo) oder Wrapper-Klasse .hell
   (Startseite). Die Variablen erben nach innen, alles darunter themed sich mit. */
body.theme-light, .hell {
  --navy: #eef1f6;
  --navy-card: #ffffff;
  --navy-line: #e5e9f0;
  --navy-text: #101828;
  --navy-muted: #5a6472;
  --good: #0e9f62;
  --bad: #d6455d;
  --live: #0e9f62;
  --dash-g1: #ffffff;
  --dash-g2: #f4f6fa;
  --side-bg: #f7f9fc;
  --chart-grid: #eef1f5;
  --chart-axis: #d8dee7;
  --chart-tick: #8a94a2;
  --chart-label: #3c4654;
  --chart-strong: #101828;
}
body.theme-light {
  background:
    radial-gradient(1000px 540px at 10% -8%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 70%),
    radial-gradient(860px 500px at 96% 4%, color-mix(in srgb, var(--brand) 5%, transparent), transparent 72%),
    linear-gradient(180deg, #f3f5f9, #e9edf4);
  background-attachment: fixed;
  color: var(--navy-text);
}
body.theme-light .dash, .hell .dash {
  border-color: #e3e8f0;
  box-shadow: 0 30px 70px -34px rgba(11, 18, 32, 0.22), 0 10px 28px -20px rgba(11, 18, 32, 0.12);
}
body.theme-light .kpi, .hell .kpi { background: linear-gradient(180deg, #ffffff, #fbfcfe); }
body.theme-light .kpi-d.up, .hell .kpi-d.up { background: rgba(14, 159, 98, 0.09); }
body.theme-light .kpi-d.down, .hell .kpi-d.down { background: rgba(214, 69, 93, 0.09); }
body.theme-light .dash-file, .hell .dash-file, body.theme-light .dash-filter, .hell .dash-filter { background: #f2f5f9; }
body.theme-light .dash-filter, .hell .dash-filter { color: #5a6472; }
body.theme-light .dash-filter i, .hell .dash-filter i { color: #9aa4b2; }
body.theme-light .dash-ai-l, .hell .dash-ai-l { color: color-mix(in srgb, var(--brand) 72%, #000); }
body.theme-light .dash-ai svg, .hell .dash-ai svg { stroke: color-mix(in srgb, var(--brand) 72%, #000); }
body.theme-light .dash-ai-t .caret, .hell .dash-ai-t .caret { background: color-mix(in srgb, var(--brand) 72%, #000); }
body.theme-light .apptop, .hell .apptop { background: rgba(255, 255, 255, 0.82); border-bottom-color: #e5e9f0; }
body.theme-light .apptop .brand, .hell .apptop .brand { color: var(--navy-text); }
body.theme-light .chip-demo, .hell .chip-demo { color: #a16a00; border-color: rgba(161, 106, 0, 0.35); }
body.theme-light .demo-tab, .hell .demo-tab { background: rgba(11, 18, 32, 0.035); border-color: #e2e7ee; }
body.theme-light .demo-tab:hover, .hell .demo-tab:hover { color: var(--navy-text); border-color: #c8d1dc; }
body.theme-light .demo-tab[aria-pressed="true"], .hell .demo-tab[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
body.theme-light .cfg summary, .hell .cfg summary { background: rgba(11, 18, 32, 0.035); border-color: #e2e7ee; }
body.theme-light .cfg summary:hover, .hell .cfg summary:hover, body.theme-light .cfg[open] summary, .hell .cfg[open] summary { color: var(--navy-text); background: rgba(11, 18, 32, 0.06); }
body.theme-light .cfg-pop, .hell .cfg-pop { background: #fff; border-color: #e5e9f0; box-shadow: 0 24px 50px -22px rgba(11, 18, 32, 0.28); }
body.theme-light .cfg-pop label, .hell .cfg-pop label { color: var(--navy-text); }
body.theme-light .cfg-note, .hell .cfg-note { border-top-color: #e8ecf2; }
body.theme-light .demo-foot, .hell .demo-foot { border-top-color: #e5e9f0; color: #8a94a2; }
body.theme-light .demo-foot a, .hell .demo-foot a { color: #5a6472; }

.theme-toggle {
  width: 33px; height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--navy-line);
  color: var(--navy-muted);
  cursor: pointer;
  flex: none;
  transition: all 0.15s ease;
}
.theme-toggle:hover { color: var(--chart-strong); border-color: rgba(255, 255, 255, 0.3); }
.theme-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ic-moon { display: none; }
body.theme-light .theme-toggle, .hell .theme-toggle { background: rgba(11, 18, 32, 0.04); }
body.theme-light .theme-toggle:hover, .hell .theme-toggle:hover { border-color: #c8d1dc; }
body.theme-light .theme-toggle .ic-sun, .hell .theme-toggle .ic-sun { display: none; }
body.theme-light .theme-toggle .ic-moon, .hell .theme-toggle .ic-moon { display: block; }

/* ---------- Rechtsseiten ---------- */
.legal { padding: 140px 0 100px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--slate); font-size: 0.97rem; }
.legal ul { padding-left: 20px; }
.legal ul { margin-top: 8px; display: grid; gap: 6px; }
.legal a { color: var(--accent); }
.legal-stand {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem !important;
}

/* ---------- Reveal-Animationen ---------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.65s ease, transform 0.65s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* Chart-Animationen */
html.js .chart .line-anim {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
html.js .chart .area-anim { opacity: 0; animation: fadein 0.7s ease 0.55s forwards; }
@keyframes fadein { to { opacity: 1; } }
html.js .chart .bar-anim {
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scaleY(0);
  animation: grow 0.65s cubic-bezier(0.3, 0, 0.2, 1) forwards;
}
html.js .chart .bar-anim.neg { transform-origin: center top; }
@keyframes grow { to { transform: scaleY(1); } }
html.js .chart .vlabel-anim { opacity: 0; animation: fadein 0.4s ease forwards; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::after { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .chart .line-anim, html.js .chart .area-anim,
  html.js .chart .bar-anim, html.js .chart .vlabel-anim { animation: none; stroke-dashoffset: 0; opacity: 1; transform: none; }
  .hero-badge .dot, .dash-live .dot, .float-card { animation: none; }
  .dash-ai-t .caret { display: none; }
  .ks, .ks-excel tr, .ks-term p, .ks-excel .unter { animation: none; opacity: 1; }
  .ks-ai .caret { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card { right: 10px; }
}
@media (max-width: 960px) {
  .dash.dash--shell { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .dash-grid { grid-template-columns: 1fr; }
  .donut-wrap { justify-content: flex-start; }
  .insights { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .show-dash { min-height: 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .dash { padding: 14px; }
  .kpi { padding: 12px 13px 11px; }
  .hero { padding-top: 128px; }
  .dash-filter { display: none; }
  .hero-ctas .btn { width: 100%; }
  .cta-row { flex-direction: column; }
  .cta-row input { padding: 14px 18px; }
  .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
  .tab { flex: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Zusammenarbeit & Preise ---------- */
.z-hero {
  padding: clamp(120px, 14vw, 168px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(680px 340px at 12% 0%, rgba(37, 99, 235, 0.07), transparent 70%),
    radial-gradient(560px 300px at 92% 10%, rgba(139, 124, 247, 0.055), transparent 70%);
}
.z-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.08; text-wrap: balance; }
.z-hero-sub { color: var(--slate); font-size: 1.08rem; margin-top: 20px; }

/* Ablauf */
.z-ablauf { list-style: none; counter-reset: none; margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 4px; }
.z-schritt {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: clamp(14px, 2.4vw, 28px);
  padding: clamp(20px, 2.8vw, 28px) 0;
  border-top: 1px solid var(--line);
}
.z-schritt:last-child { border-bottom: 1px solid var(--line); }
.z-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 3px;
}
.z-schritt h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; font-size: 1.16rem; }
.z-tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 11px;
}
.z-schritt p { color: var(--slate); font-size: 0.97rem; }
.z-ihr { margin-top: 10px; font-size: 0.86rem !important; font-weight: 600; color: var(--accent) !important; }

/* Pakete */
.z-pakete { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 52px); align-items: start; }
.z-paket {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.z-paket-top {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 30px 70px -34px rgba(29, 78, 216, 0.42);
  position: relative;
}
.z-empfohlen {
  position: absolute;
  top: -11px; left: clamp(24px, 3vw, 30px);
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
  background: var(--accent); border-radius: 100px; padding: 5px 13px;
}
.z-paket-name { font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.015em; }
.z-paket-preis {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.5rem); letter-spacing: -0.035em;
  line-height: 1.1; margin: 10px 0 4px;
}
.z-paket-preis span { font-family: var(--body); font-size: 0.88rem; font-weight: 500; color: var(--slate); letter-spacing: 0; margin-left: 6px; }
.z-paket-fuer { color: var(--slate); font-size: 0.9rem; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.z-liste { list-style: none; display: grid; gap: 9px; margin: 18px 0; }
.z-liste li { position: relative; padding-left: 26px; font-size: 0.93rem; line-height: 1.5; }
.z-liste li::before {
  content: ""; position: absolute; left: 3px; top: 6px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.z-paket-note { font-size: 0.78rem; color: var(--slate); margin-top: auto; padding-top: 6px; }
.z-paket-btn { width: 100%; margin-top: 16px; }

.z-immer {
  margin-top: clamp(28px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 28px);
}
.z-immer-h { font-family: var(--display); font-weight: 800; font-size: 1.02rem; letter-spacing: -0.015em; margin-bottom: 14px; }
.z-immer ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 28px; }
.z-immer li { position: relative; padding-left: 26px; font-size: 0.91rem; color: var(--slate); }
.z-immer li::before {
  content: ""; position: absolute; left: 3px; top: 7px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Weitere Leistungen */
.z-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.z-service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 2.6vw, 26px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.z-service:hover { border-color: color-mix(in srgb, var(--accent) 35%, transparent); transform: translateY(-2px); }
.z-service h3 { font-size: 1.04rem; }
.z-preis { font-family: var(--mono); font-size: 0.76rem; color: var(--accent); margin: 6px 0 10px; }
.z-service p:last-child { color: var(--slate); font-size: 0.92rem; line-height: 1.55; }
.z-services-note { margin-top: 22px; font-size: 0.84rem; color: var(--slate); }

@media (max-width: 900px) {
  .z-pakete, .z-services { grid-template-columns: 1fr; }
  .z-immer ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .z-schritt { grid-template-columns: 1fr; gap: 6px; }
  .z-num { padding-top: 0; }
}

/* ---------- Founding-Partner-Angebot ---------- */
.z-founding {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  flex-wrap: wrap;
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 3.4vw, 34px);
  border-radius: 20px;
  background: linear-gradient(112deg, #0f1729, var(--navy) 58%, #17233d);
  border: 1px solid rgba(245, 184, 74, 0.28);
  box-shadow: 0 30px 70px -38px rgba(11, 18, 32, 0.7);
  color: var(--navy-text);
}
.z-founding-txt { flex: 1 1 380px; min-width: 0; }
.z-founding-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: #ffd9a1;
  background: rgba(245, 184, 74, 0.1);
  border: 1px solid rgba(245, 184, 74, 0.3);
  border-radius: 100px; padding: 6px 14px; margin-bottom: 14px;
}
.z-founding-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #f5b84a; flex: none; animation: pulse 2.4s ease infinite; }
.z-founding-h {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem); letter-spacing: -0.026em;
  color: #fff; margin-bottom: 12px; text-wrap: balance;
}
.z-founding p { color: var(--navy-muted); font-size: 0.95rem; }
.z-founding strong { color: rgba(255, 255, 255, 0.92); }
.z-founding-gegen {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem !important;
}
.z-founding-preis { flex: none; text-align: center; min-width: 190px; }
.z-founding-zahl {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.4rem); letter-spacing: -0.042em;
  color: #fff; line-height: 1;
}
.z-founding-alt {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--navy-muted) !important; margin-top: 8px;
}
.z-founding .z-paket-btn { margin-top: 18px; }

.z-enterprise {
  margin-top: clamp(22px, 3vw, 30px);
  padding: 18px 22px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  font-size: 0.93rem;
  color: var(--slate);
}
.z-enterprise strong { color: var(--ink); }

@media (max-width: 700px) {
  .z-founding { flex-direction: column; align-items: stretch; text-align: left; }
  .z-founding-preis { text-align: left; }
}

/* ---------- Morgen-Ansicht ---------- */
.morgen {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 380px);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.morgen-txt { min-width: 0; }
.morgen-punkte { list-style: none; display: grid; gap: 20px; margin-top: 34px; }
.morgen-punkte li { display: flex; gap: 15px; align-items: flex-start; }
.morgen-punkte svg {
  width: 21px; height: 21px; flex: none; margin-top: 3px;
  fill: none; stroke: var(--accent); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.morgen-punkte b { display: block; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -0.015em; margin-bottom: 3px; }
.morgen-punkte span { color: var(--slate); font-size: 0.93rem; line-height: 1.55; }

/* Telefon */
.morgen-phone { justify-self: center; }
.ph-rahmen {
  position: relative;
  width: 100%;
  max-width: 330px;
  /* Titanrahmen: heller an den Kanten, dunkel in der Mitte — das erzeugt
     den metallischen Eindruck ohne Bilddatei. */
  border-radius: 56px;
  padding: 10px;
  background:
    linear-gradient(148deg, #7d8189 0%, #43464d 15%, #26282e 38%,
                    #26282e 62%, #43464d 85%, #7d8189 100%);
  box-shadow:
    0 55px 95px -42px rgba(11, 18, 32, 0.62),
    0 8px 22px -10px rgba(11, 18, 32, 0.3);
}
/* feine Lichtkante innen — trennt Rahmen und Glas */
.ph-rahmen::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 49px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
  z-index: 4;
}
.ph-taste {
  position: absolute;
  width: 3px;
  background: linear-gradient(90deg, #5c6068, #2c2e34);
  border-radius: 2px 0 0 2px;
  z-index: 1;
}
.ph-aktion { left: -3px; top: 108px; height: 30px; }
.ph-lauter { left: -3px; top: 156px; height: 54px; }
.ph-leiser { left: -3px; top: 222px; height: 54px; }
.ph-power {
  right: -3px; top: 176px; height: 86px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(270deg, #5c6068, #2c2e34);
}
.ph-insel {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 100px;
  background: #000; z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.ph-schirm {
  position: relative;
  background:
    radial-gradient(420px 240px at 80% -6%, color-mix(in srgb, var(--brand, #4d8dff) 20%, transparent), transparent 70%),
    linear-gradient(180deg, #14161d, #0b0c11);
  border-radius: 46px;
  padding: 58px 18px 30px;
  min-height: 666px;   /* ergibt mit dem Rahmen 330 × 686 = Seitenverhältnis 2,08 wie beim iPhone */
  color: var(--navy-text);
  overflow: hidden;
}
/* Home-Indicator */
.ph-schirm::after {
  content: "";
  position: absolute;
  bottom: 9px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 4px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.32);
}
.ph-statusleiste {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 0.62rem; color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}
.ph-icons { letter-spacing: -1px; }
.ph-gruss { font-family: var(--display); font-weight: 800; font-size: 1.08rem; letter-spacing: -0.02em; color: #fff; }
.ph-datum { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-muted); margin-top: 5px; }

.ph-kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.ph-kachel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--navy-line);
  border-radius: 13px;
  padding: 12px 13px;
  position: relative; overflow: hidden;
}
.ph-kachel::before {
  content: ""; position: absolute; top: 0; left: 12px; right: 55%;
  height: 2px; border-radius: 2px; background: var(--good);
}
.ph-k-label { font-size: 0.63rem; color: var(--navy-muted); }
.ph-k-wert { font-family: var(--display); font-weight: 800; font-size: 1.42rem; letter-spacing: -0.03em; color: var(--good); margin-top: 4px; line-height: 1; }
.ph-k-sub { font-family: var(--mono); font-size: 0.62rem; color: rgba(255, 255, 255, 0.5); margin-top: 5px; }

.ph-meldung {
  display: flex; gap: 10px; align-items: flex-start;
  border-radius: 12px; padding: 11px 12px; margin-top: 8px;
}
.ph-meldung b { display: block; font-size: 0.76rem; font-weight: 700; color: #fff; line-height: 1.3; }
.ph-meldung span:not(.ph-m-icon) { display: block; font-size: 0.68rem; color: var(--navy-muted); margin-top: 2px; }
.ph-m-icon {
  flex: none; width: 19px; height: 19px; border-radius: 6px;
  display: grid; place-items: center; font-size: 0.68rem; font-weight: 700;
}
.ph-meldung.warn { background: rgba(245, 130, 90, 0.1); border: 1px solid rgba(245, 130, 90, 0.28); }
.ph-meldung.warn .ph-m-icon { background: rgba(245, 130, 90, 0.24); color: #ffb59a; }
.ph-meldung.info { background: rgba(245, 184, 74, 0.09); border: 1px solid rgba(245, 184, 74, 0.24); }
.ph-meldung.info .ph-m-icon { background: rgba(245, 184, 74, 0.22); color: #ffd9a1; }

.ph-ki {
  margin-top: 14px;
  background: color-mix(in srgb, var(--brand, #4d8dff) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand, #4d8dff) 36%, transparent);
  border-radius: 13px;
  padding: 13px 14px;
}
.ph-ki-kopf {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: color-mix(in srgb, var(--brand, #4d8dff) 60%, #fff); margin-bottom: 9px;
}
.ph-ki ol { margin: 0; padding-left: 17px; display: grid; gap: 7px; }
.ph-ki li { font-size: 0.73rem; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }
.ph-ki li::marker { color: color-mix(in srgb, var(--brand, #4d8dff) 72%, #fff); font-weight: 700; }

.morgen-hinweis {
  margin-top: 18px; text-align: center;
  font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.06em; color: var(--slate);
}

@media (max-width: 900px) {
  .morgen { grid-template-columns: 1fr; }
  .morgen-phone { margin-top: 12px; }
}

/* Branchenwahl der Morgen-Ansicht */
.morgen-wahl { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.mw-tab {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 15px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.mw-tab:hover { border-color: #cbd3dd; color: var(--ink); }
.mw-tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- Hero im Produkt-Layout (Kloudboard-Stil) ---------- */
.hero-kb { padding: 122px 0 clamp(56px, 6vw, 88px); text-align: left; }
.hero-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.hero-kb .hero-h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
.hero-kb .hero-ctas, .hero-kb .hero-trust { justify-content: flex-start; }
.hero-kb .hero-trust { gap: 18px; margin-top: 20px; font-size: 0.82rem; }

.hero-neu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, #f5b84a 55%, var(--line));
  background: linear-gradient(100deg, #fffdf6, #fff7e6);
  border-radius: 100px;
  padding: 8px 18px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.hero-neu:hover { border-color: #e8b04a; transform: translateY(-1px); }
.hero-neu span { color: #b97f16; }
.hero-checks { list-style: none; display: grid; gap: 13px; margin-top: 22px; }
.hero-checks li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.99rem;
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.45;
}
.hero-checks svg {
  width: 20px; height: 20px; flex: none; margin-top: 1px;
  padding: 3px; border-radius: 50%;
  background: var(--accent); stroke: #fff;
  fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.hero-ersetzt {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem; color: var(--slate);
}
.hero-ersetzt span {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate); margin-right: 8px;
}

/* Browserfenster um das Produkt */
.browser { position: relative; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, #f7f8fb, #eef1f6);
  border: 1px solid #e3e8f0;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  padding: 11px 16px;
}
.bdot { width: 11px; height: 11px; border-radius: 50%; }
.bdot.r { background: #f26d63; } .bdot.y { background: #f5bd4f; } .bdot.g { background: #56c454; }
.browser-url {
  margin: 0 auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 0.72rem; color: #55606e;
  background: #fff; border: 1px solid #e3e8f0;
  border-radius: 8px; padding: 5px 40px;
}
.browser-url svg { width: 11px; height: 11px; fill: none; stroke: #8a94a2; stroke-width: 2; }
.browser-user {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.58rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), #163a9e);
}
.browser .dash { border-radius: 0 0 20px 20px; border-top: 0; margin-top: 0; }

/* Verwandlungs-Dashboard: Wrapper reicht nur die hellen Variablen durch */
.morph-hell { display: contents; }

/* Theme-Umschalter unterm Showcase */
.show-theme {
  font-family: var(--body); font-size: inherit; font-weight: 600;
  color: var(--accent); background: none; border: none; cursor: pointer;
  text-decoration: underline dotted; text-underline-offset: 3px; padding: 0;
}
.show-theme:hover { text-decoration-style: solid; }

/* ---------- Onboarding-Film ---------- */
.kino-sektion { padding-top: clamp(64px, 7vw, 96px); }
.kino {
  border-radius: 22px;
  border: 1px solid #e3e8f0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.kino-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(180deg, #fbfcff, #eef1f7);
  background-size: 48px 36px, 48px 36px, 100% 100%;
  overflow: hidden;
}
.kino-scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ks { animation: ksIn 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes ksIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes ksInO { from { opacity: 0; } to { opacity: 1; } }
/* Fit-Szenen tragen ihre Skalierung als Inline-Transform — nur Opazitaet animieren */
.ks.ks-fit { animation-name: ksInO; }

.kino-start {
  position: absolute; inset: 0; margin: auto;
  width: 84px; height: 84px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--accent);
  box-shadow: 0 18px 50px -12px rgba(29, 78, 216, 0.65), 0 0 0 10px rgba(29, 78, 216, 0.12);
  display: grid; place-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 3;
}
.kino-start:hover { transform: scale(1.06); }
.kino-start svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.kino.gestartet .kino-start { display: none; }

.kino-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 13px 18px;
  border-top: 1px solid #e9edf3;
  background: #fbfcfe;
}
.kino-btn {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color 0.15s ease;
}
.kino-btn:hover { border-color: #c8d1dc; }
.kino-btn svg { width: 15px; height: 15px; fill: var(--ink); }
.kino .ik-pause { display: none; }
.kino.an .ik-pause { display: block; }
.kino.an .ik-play { display: none; }
.kino-progress { flex: 1; display: flex; gap: 6px; }
.kseg {
  flex: 1; height: 18px; border-radius: 9px;
  background: transparent; border: none; padding: 0; cursor: pointer;
  position: relative;
}
.kseg::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 5px; margin-top: -2.5px; border-radius: 3px; background: #e6eaf1;
}
.kseg i {
  position: absolute; left: 0; right: 100%; top: 50%;
  height: 5px; margin-top: -2.5px;
  background: var(--accent); border-radius: 3px; display: block;
}
.kino-titel {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em;
  color: var(--slate); white-space: nowrap;
}

/* Szenen */
.ks-fit { transform-origin: center center; }
.ks-excel {
  width: min(88%, 620px);
  background: #fff; border: 1px solid #dfe5ec; border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(11, 18, 32, 0.3);
  overflow: hidden;
}
.ks-excel .kopf {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-bottom: 1px solid #e8ecf2;
  font-family: var(--mono); font-size: 0.7rem; color: #55606e; background: #f7f9fb;
}
.ks-excel .kopf b { color: #1a7340; font-weight: 700; }
.ks-excel table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.72rem; }
.ks-excel td {
  border-bottom: 1px solid #eef1f5; border-right: 1px solid #eef1f5;
  padding: 7px 12px; color: #2c3644; white-space: nowrap;
}
.ks-excel tr { opacity: 0; animation: ksRow 0.4s forwards; animation-delay: calc(var(--i) * 0.3s); }
@keyframes ksRow { to { opacity: 1; } }
.ks-excel .schlecht { color: #c2273f; background: #fdf2f4; font-weight: 700; }
.ks-excel .unter { font-size: 0.66rem; color: #8a94a2; padding: 9px 14px; }

.ks-term {
  width: min(84%, 560px);
  background: linear-gradient(180deg, #171922, #0d0e13);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px;
  box-shadow: 0 30px 60px -28px rgba(11, 18, 32, 0.55);
  padding: 20px 24px;
  font-family: var(--mono); font-size: 0.78rem; line-height: 2.1;
}
.ks-term p { color: rgba(255, 255, 255, 0.82); opacity: 0; animation: ksRow 0.3s forwards; animation-delay: calc(var(--i) * 0.85s); }
.ks-term p b { color: #5fe0a8; font-weight: 600; margin-right: 9px; }
.ks-term .kopfzeile { color: rgba(255, 255, 255, 0.45); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; opacity: 1; animation: none; }

.ks-ai {
  width: min(86%, 640px);
  background: #fff; border: 1px solid #e3e8f0; border-left: 4px solid var(--accent);
  border-radius: 16px; padding: 26px 30px;
  box-shadow: 0 30px 60px -30px rgba(11, 18, 32, 0.28);
}
.ks-ai .l {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.ks-ai .t { font-size: 1.06rem; line-height: 1.7; color: var(--ink); font-weight: 500; min-height: 5.1em; }
.ks-ai .caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -2px; animation: blink 0.9s steps(2) infinite; }

.ks-ende { text-align: center; padding: 0 24px; }
.ks-ende h3 {
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); letter-spacing: -0.028em;
  line-height: 1.15; margin-bottom: 10px; text-wrap: balance;
}
.ks-ende p { color: var(--slate); font-size: 0.98rem; margin-bottom: 24px; }
.ks-ende .chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.ks-ende .chips span {
  font-family: var(--mono); font-size: 0.66rem; color: var(--slate);
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px; background: #fff;
}

@media (max-width: 880px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-rechts { border-top: 1px solid var(--line); padding-top: 24px; }
  .hero-neu { display: none; }
  .kino-titel { display: none; }
}

@media (max-width: 640px) {
  /* 16:9 ist auf dem Handy zu flach — Hochformat gibt den Szenen Raum */
  .kino-stage { aspect-ratio: 3 / 4; }
  .kino-bar { padding: 11px 13px; gap: 11px; }
  .ks-excel { width: 94%; }
  .ks-excel table { font-size: 0.6rem; }
  .ks-excel td { padding: 5px 7px; }
}

/* Ton-Knopf im Film — Standard stumm, damit niemand ueberrascht wird */
.kino-ton svg { fill: var(--ink); stroke: var(--ink); }
.kino-ton .ik-laut { display: none; }
.kino.ton .kino-ton { background: var(--accent); border-color: var(--accent); }
.kino.ton .kino-ton svg { fill: #fff; stroke: #fff; }
.kino.ton .kino-ton .ik-laut { display: block; }
.kino.ton .kino-ton .ik-stumm { display: none; }

/* Opt-out-Schalter in der Datenschutzerklärung */
.dv-optout { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 14px 0 18px; }
.dv-optout span { font-size: 0.9rem; color: var(--slate); }

/* ---------- Datenbedarf je Branche (daten-checkliste.html) ---------- */
.db-hinweis {
  max-width: 640px; margin-top: 18px; padding: 14px 18px;
  background: color-mix(in srgb, var(--accent) 5%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 12px; font-size: 0.92rem; color: var(--slate); line-height: 1.6;
}
.db-wahl-label {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 10px;
}
.db-wahl { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.db-tab {
  flex: none; font-family: var(--body); font-size: 0.9rem; font-weight: 600; cursor: pointer;
  color: var(--slate); background: #fff; border: 1px solid var(--line);
  border-radius: 100px; padding: 9px 17px; white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.db-tab:hover { border-color: #c8d1dc; color: var(--ink); }
.db-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.db-karte {
  margin-top: 26px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(22px, 3.6vw, 34px); box-shadow: var(--shadow-lg);
}
.db-warum {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.42rem);
  letter-spacing: -0.022em; line-height: 1.35; color: var(--ink); text-wrap: balance;
}

.db-ko {
  margin-top: 22px; padding: 17px 20px; border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
  border-left: 4px solid var(--brand);
}
.db-ko-h {
  font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: color-mix(in srgb, var(--brand) 75%, #000); margin-bottom: 9px;
}
.db-ko ul { list-style: none; display: grid; gap: 9px; }
.db-ko li { font-size: 0.95rem; line-height: 1.6; color: var(--ink); font-weight: 500; padding-left: 18px; position: relative; }
.db-ko li::before { content: "▸"; position: absolute; left: 0; color: var(--brand); }

.db-abschnitt {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--slate); margin: 28px 0 12px;
}
.db-quellen { display: grid; gap: 12px; }
.db-quelle { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fcfdff; }
.db-q-name { font-weight: 700; font-size: 1rem; color: var(--ink); letter-spacing: -0.012em; }
.db-spalten { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 11px 0 12px; }
.db-spalten li {
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink);
  background: color-mix(in srgb, var(--brand) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
  border-radius: 7px; padding: 5px 10px;
}
.db-q-wofuer { font-size: 0.89rem; color: var(--slate); line-height: 1.65; }

.db-mangel, .db-erkenntnis { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.db-m-h, .db-e-h {
  font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.13em; text-transform: uppercase;
  margin-bottom: 9px;
}
.db-m-h { color: #b4553f; }
.db-e-h { color: color-mix(in srgb, var(--brand) 75%, #000); }
.db-mangel p:last-child, .db-erkenntnis p:last-child { font-size: 0.93rem; color: var(--slate); line-height: 1.7; }
.db-fehler { margin-top: 26px; color: var(--slate); }

@media (max-width: 640px) { .db-spalten li { font-size: 0.68rem; } }
