/* ==========================================================================
   [PRODUKTNAME] – Landingpage
   Aufbau: 1 Tokens · 2 Basis · 3 Layout · 4 Komponenten · 5 Sektionen
           6 Animationen · 7 Responsive · 8 Reduced Motion
   ========================================================================== */

/* ---------- 1. Design-Tokens ---------- */
:root {
  --bg: #06080d;
  --bg-alt: #090c13;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #e9edf5;
  --text-soft: #b6bdcc;
  --muted: #7f879a;

  --accent: #6ee7d8;
  --accent-2: #7c83ff;
  --accent-rgb: 110, 231, 216;
  --accent-2-rgb: 124, 131, 255;
  --ok: #4ade80;
  --warn: #fbbf24;

  --gradient: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);

  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 68px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 700;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

::selection { background: rgba(var(--accent-rgb), .3); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 17px; height: 17px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section {
  position: relative;
  padding-block: clamp(80px, 11vw, 140px);
}
.section--alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 18%, var(--bg-alt) 82%, var(--bg) 100%);
}
.section--glow::before {
  content: "";
  position: absolute;
  inset: 20% 0 auto 50%;
  width: min(700px, 90vw);
  height: 500px;
  transform: translateX(-10%);
  background: radial-gradient(closest-side, rgba(var(--accent-2-rgb), .13), transparent);
  pointer-events: none;
}

.section__head {
  max-width: 680px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__title {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
}
.section__lead {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--text-soft);
  max-width: 600px;
}
.section__head--center .section__lead { margin-inline: auto; }

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.split--reverse .split__copy { order: 2; }
.split--reverse .split__visual { order: 1; }

/* ---------- 4. Komponenten ---------- */

/* Buttons */
.btn {
  --btn-pad: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--btn-pad);
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn--sm { --btn-pad: 9px 16px; font-size: .88rem; }
.btn--lg { --btn-pad: 15px 26px; font-size: 1rem; }

.btn--primary {
  background: var(--gradient);
  color: #05070b;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0), 0 8px 24px -8px rgba(var(--accent-rgb), .5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12), 0 14px 34px -10px rgba(var(--accent-rgb), .65);
}
.btn--ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
  border-color: rgba(var(--accent-rgb), .4);
}
.btn .icon--sm { transition: transform .25s var(--ease); }
.btn:hover .icon--sm { transform: translateX(2px); }

/* Card */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

/* Eyebrow / Badges / Pills / Chips */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-soft);
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.badge--dev {
  color: var(--warn);
  background: rgba(251, 191, 36, .1);
  border: 1px solid rgba(251, 191, 36, .25);
}
.badge--inline { margin-top: 28px; font-size: .8rem; padding: 7px 14px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
}
.pill--live {
  color: var(--ok);
  background: rgba(74, 222, 128, .1);
  border: 1px solid rgba(74, 222, 128, .25);
}

.pulse {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  animation: ping 2.4s var(--ease) infinite;
}

.chip {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.chip--ok {
  color: var(--accent);
  background: rgba(var(--accent-rgb), .08);
  border-color: rgba(var(--accent-rgb), .25);
}

/* Fenster-Leiste (für Mockups) */
.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.window-dots { display: inline-flex; gap: 6px; }
.window-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.window-title {
  flex: 1;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
}

/* Checkliste */
.checklist { margin-top: 28px; display: grid; gap: 12px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
}
.checklist .icon { color: var(--accent); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s, backdrop-filter .35s;
}
.nav.is-scrolled {
  background: rgba(6, 8, 13, .7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand__mark { width: 30px; height: 30px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a:not(.btn) {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .2s;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
}

/* ---------- 5. Sektionen ---------- */

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 56px) 0 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  will-change: transform;
}
.glow--a {
  width: 560px; height: 560px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .45), transparent 65%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.glow--b {
  width: 640px; height: 640px;
  bottom: -260px; right: -160px;
  background: radial-gradient(circle, rgba(var(--accent-2-rgb), .5), transparent 65%);
  animation: drift-b 26s ease-in-out infinite alternate;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.hero__title {
  margin-top: 24px;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero__lead {
  margin-top: 24px;
  max-width: 520px;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--text-soft);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 36px;
  font-size: .9rem;
  color: var(--muted);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { color: var(--accent); }

/* Workflow-Karte */
.flow-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 23, 34, .85), rgba(10, 13, 20, .85));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 80px -20px rgba(var(--accent-rgb), .25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.flow-card::before {
  /* feiner Glow-Rand */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(var(--accent-rgb), .5), transparent 40%, transparent 60%, rgba(var(--accent-2-rgb), .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.flow {
  position: relative;
  padding: 20px 20px 8px;
  display: grid;
  gap: 14px;
}
.flow__step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  opacity: .5;
  transition: opacity .5s var(--ease), border-color .5s, background-color .5s, box-shadow .5s, transform .5s var(--ease);
}
/* Verbindungslinie zwischen den Schritten */
.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 33px;
  top: 100%;
  width: 2px;
  height: 14px;
  background: var(--border-strong);
  transition: background-color .5s;
}
.flow__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--muted);
  transition: color .5s, background-color .5s, box-shadow .5s;
}
.flow__icon .icon { width: 19px; height: 19px; }
.flow__text { display: grid; line-height: 1.3; min-width: 0; }
.flow__text strong { font-size: .95rem; font-weight: 600; }
.flow__text small { font-size: .78rem; color: var(--muted); }
.flow__state {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  transition: all .4s var(--ease);
}

.flow__step.is-active {
  opacity: 1;
  border-color: rgba(var(--accent-rgb), .45);
  background: rgba(var(--accent-rgb), .06);
  box-shadow: 0 0 30px -8px rgba(var(--accent-rgb), .45);
  transform: translateX(4px);
}
.flow__step.is-active .flow__icon {
  color: var(--accent);
  background: rgba(var(--accent-rgb), .12);
  box-shadow: 0 0 18px -4px rgba(var(--accent-rgb), .6);
}
.flow__step.is-active .flow__state {
  border-color: var(--accent);
  border-top-color: transparent;
  animation: spin .9s linear infinite;
}
.flow__step.is-done { opacity: .9; }
.flow__step.is-done .flow__icon { color: var(--text); }
.flow__step.is-done::after { background: rgba(var(--accent-rgb), .5); }
.flow__step.is-done .flow__state {
  border-color: var(--ok);
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306080d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.flow-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 12px 20px 0;
  border-top: 1px solid var(--border);
}
.stat {
  display: grid;
  gap: 2px;
  padding: 16px 4px 4px;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--border); }
.stat__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat__num--warn { color: var(--warn); }
.stat__label { font-size: .75rem; color: var(--muted); }
.flow-card__note {
  padding: 10px 20px 16px;
  font-size: .7rem;
  color: var(--muted);
  text-align: right;
  opacity: .7;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  padding: 32px 28px;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.feature::before {
  /* Glow, der der Maus folgt (Position via JS) */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), .09), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), .3);
  box-shadow: var(--shadow), 0 0 50px -20px rgba(var(--accent-rgb), .4);
}
.feature:hover::before { opacity: 1; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 24px;
  border-radius: 14px;
  color: var(--accent);
  background: linear-gradient(140deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-2-rgb), .1));
  border: 1px solid rgba(var(--accent-rgb), .2);
}
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: -0.015em; }
.feature p { color: var(--text-soft); font-size: .96rem; }
.feature .badge { position: absolute; top: 24px; right: 24px; }

/* Steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps::before {
  /* Verbindungslinie */
  content: "";
  position: absolute;
  top: 90px; /* Mitte der Step-Icons */
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .4), rgba(var(--accent-2-rgb), .4), transparent);
}
.step {
  position: relative;
  padding: 28px 24px;
  text-align: center;
}
.step__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
}
.step__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid rgba(var(--accent-rgb), .35);
  color: var(--accent);
  box-shadow: 0 0 0 6px var(--bg-alt), 0 0 30px -6px rgba(var(--accent-rgb), .5);
  transition: transform .4s var(--ease);
}
.step:hover .step__icon { transform: scale(1.08); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--text-soft); }

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
}
.shot { margin: 0; }
.shot--large { grid-column: span 2; grid-row: span 2; }
.shot__frame {
  position: relative;
  height: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(20, 25, 36, .9), rgba(11, 14, 21, .9));
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.shot__frame .window-bar { padding: 10px 14px; }
.shot__frame .window-dots i { width: 8px; height: 8px; }
.shot:hover .shot__frame {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), .3);
  box-shadow: var(--shadow), 0 0 50px -20px rgba(var(--accent-rgb), .45);
}
.shot__media {
  position: relative;
  flex: 1;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.shot--large .shot__media { aspect-ratio: auto; min-height: 320px; }
.shot__media > * { transition: transform .7s var(--ease); }
.shot:hover .shot__media > * { transform: scale(1.04); }
.shot__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.shot figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 12px 4px 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-soft);
}
.shot figcaption .icon { color: var(--accent); }

/* Mockup-Platzhalter */
.mock {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.mock span {
  display: block;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}
.mock--dashboard { grid-template-rows: auto 1fr auto; height: 100%; gap: 16px; padding: 24px; }
.mock__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mock__tiles span { height: 64px; border: 1px solid var(--border); background: rgba(255,255,255,.03); position: relative; }
.mock__tiles span::after {
  content: "";
  position: absolute;
  left: 12px; bottom: 12px;
  width: 45%; height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .55), rgba(var(--accent-2-rgb), .35));
}
.mock__chart {
  min-height: 110px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  overflow: hidden;
}
.mock__chart svg { width: 100%; height: 100%; display: block; }
.mock__line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mock__area { fill: rgba(var(--accent-rgb), .08); }
.mock__rows { display: grid; gap: 8px; }
.mock__rows span { height: 14px; }
.mock__rows span:nth-child(2) { width: 85%; }
.mock__rows span:nth-child(3) { width: 65%; }

.mock--list span {
  height: 22px;
  position: relative;
  padding-left: 0;
}
.mock--list span::before {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 34px; height: 8px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: rgba(255,255,255,.1);
}
.mock--list span.ok::before { background: rgba(74, 222, 128, .55); }
.mock--list span.warn::before { background: rgba(251, 191, 36, .65); }

.mock--accounts { grid-template-columns: 1fr 1fr; }
.mock--accounts span { height: 48px; position: relative; border: 1px solid var(--border); background: rgba(255,255,255,.03); }
.mock--accounts span::after {
  content: "";
  position: absolute;
  right: 10px; top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}
.mock--accounts span.off::after { background: var(--muted); box-shadow: none; }

.mock--bars {
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  height: 100%;
  align-content: stretch;
}
.mock--bars span {
  height: var(--h);
  align-self: end;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .6), rgba(var(--accent-2-rgb), .2));
}

.mock--files { grid-template-columns: repeat(3, 1fr); }
.mock--files span {
  height: 44px;
  position: relative;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.mock--files span::before {
  content: "PDF";
  position: absolute;
  left: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: .6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .05em;
}

/* Rechnungsarchiv – Explorer */
.explorer { overflow: hidden; }
.tree { padding: 20px 20px 76px; display: grid; gap: 4px; }
.tree__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  margin-left: calc(var(--lvl) * 22px);
  border-radius: 10px;
  font-size: .93rem;
  color: var(--text-soft);
  position: relative;
}
.tree__item .icon { color: var(--muted); }
.tree__item:not([style*="--lvl:0"])::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--border-strong);
}
.tree__item--open .icon { color: var(--accent-2); }
.tree__item--accent {
  color: var(--text);
  background: rgba(var(--accent-rgb), .06);
  border: 1px solid rgba(var(--accent-rgb), .18);
}
.tree__item--accent .icon { color: var(--accent); }
.tree__item--dim { opacity: .45; }
.tree__tag {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--accent);
  background: rgba(var(--accent-rgb), .1);
}
.toast {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(16, 20, 30, .95);
  border: 1px solid rgba(74, 222, 128, .3);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.8), 0 0 24px -8px rgba(74, 222, 128, .4);
}
.toast .icon { color: var(--ok); }

/* Produktrecherche */
.research-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.research-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .94rem;
  font-weight: 500;
  transition: border-color .3s, transform .3s var(--ease);
}
.research-list li:hover { border-color: rgba(var(--accent-rgb), .3); transform: translateY(-2px); }
.research-list__icon {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  color: var(--accent);
  background: rgba(var(--accent-rgb), .1);
}
.pulse--dev { color: var(--warn); }

.trend-card { padding: 24px; }
.trend-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.trend-card__label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.trend-card__delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ok);
}
.trend-card__chart { width: 100%; height: 200px; display: block; overflow: visible; }
.trend-card__grid line { stroke: rgba(255,255,255,.06); stroke-dasharray: 4 6; }
.trend-card__line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .6));
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2s var(--ease) .3s;
}
.trend-card__area { opacity: 0; transition: opacity 1.2s var(--ease) 1s; }
.is-visible .trend-card__line { stroke-dashoffset: 0; }
.is-visible .trend-card__area { opacity: 1; }
.trend-card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* Zielbild / System */
.system {
  position: relative;
  padding-bottom: 8px;
}
.system__modules {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.system__track {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 44px;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .15), rgba(var(--accent-2-rgb), .25));
  overflow: hidden;
}
.system__pulse {
  position: absolute;
  top: 0; left: 0;
  width: 18%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: travel 4.5s var(--ease) infinite;
  animation-play-state: paused;
}
.system.is-playing .system__pulse { animation-play-state: running; }

.module {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 0 8px;
}
.module__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 12px 0 14px;
  border-radius: 18px;
  color: var(--accent);
  background: var(--bg-alt);
  border: 1px solid rgba(var(--accent-rgb), .35);
  box-shadow: 0 0 0 6px var(--bg-alt), 0 0 30px -8px rgba(var(--accent-rgb), .55);
  transition: transform .4s var(--ease);
}
.module:hover .module__icon { transform: translateY(-4px); }
.module strong { font-size: 1rem; font-weight: 600; }
.module small { font-size: .78rem; color: var(--ok); }
.module--dev .module__icon {
  color: var(--text-soft);
  border-style: dashed;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 6px var(--bg-alt);
}
.module--dev small { color: var(--warn); }

.system__hub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 56px auto 0;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), .35);
  background: linear-gradient(120deg, rgba(var(--accent-rgb), .1), rgba(var(--accent-2-rgb), .1));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 0 60px -10px rgba(var(--accent-rgb), .35);
}
.system__hub::before {
  /* Verbindung Module → Hub */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .6));
}
.system__logo { width: 26px; height: 26px; }

/* CTA / Testzugang */
.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 72px);
  border-radius: 32px;
  text-align: center;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(18, 23, 34, .8), rgba(9, 12, 19, .8));
}
.cta-card > * { position: relative; }
.cta-card .section__title { margin-top: 22px; }
.cta-card .section__lead { margin: 18px auto 36px; }
.cta-card__glow {
  position: absolute !important;
  inset: auto -20% -60% -20%;
  height: 120%;
  background:
    radial-gradient(closest-side at 35% 50%, rgba(var(--accent-rgb), .22), transparent),
    radial-gradient(closest-side at 65% 50%, rgba(var(--accent-2-rgb), .22), transparent);
  filter: blur(30px);
  pointer-events: none;
}

/* Download (vorbereitet) */
.download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
}
.download__info { display: grid; gap: 6px; }
.download__version { font-size: 1.1rem; }
.download__meta { font-size: .9rem; color: var(--muted); }
.download__meta:empty { display: none; }
.download__license { margin-top: 8px; font-size: .88rem; color: var(--text-soft); }
.download__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .3s, background-color .3s;
}
.faq__item[open] {
  border-color: rgba(var(--accent-rgb), .3);
  background: rgba(255,255,255,.045);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--muted); transition: transform .35s var(--ease), color .3s; }
.faq__item[open] summary .icon { transform: rotate(180deg); color: var(--accent); }
.faq__body { padding: 0 24px 22px; color: var(--text-soft); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--bg);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer__brand p { margin-top: 12px; color: var(--muted); font-size: .92rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer__links a { color: var(--text-soft); font-size: .92rem; transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--muted);
}
.footer__note { max-width: 520px; }

/* Dialog */
.dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #121722, #0b0e15);
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 60px -20px rgba(var(--accent-rgb), .35);
}
.dialog::backdrop {
  background: rgba(3, 4, 8, .65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dialog[open] { animation: dialog-in .35s var(--ease); }
.dialog[open]::backdrop { animation: fade-in .35s var(--ease); }
.dialog__inner {
  position: relative;
  padding: 40px 32px 32px;
  text-align: center;
}
.dialog__icon {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  color: var(--accent);
  background: rgba(var(--accent-rgb), .1);
  border: 1px solid rgba(var(--accent-rgb), .25);
}
.dialog h3 { font-size: 1.4rem; }
.dialog p { margin: 10px 0 28px; color: var(--text-soft); }
.dialog__close {
  position: absolute;
  top: 14px; right: 14px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}
.dialog__close:hover { color: var(--text); border-color: var(--border-strong); }

/* Unterseiten (Impressum, Datenschutz, Kontakt) */
.page {
  padding: calc(var(--nav-h) + 72px) 0 100px;
  min-height: 80vh;
}
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 24px; }
.page h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.page p, .page li { color: var(--text-soft); }
.page .notice {
  margin: 24px 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(251, 191, 36, .3);
  background: rgba(251, 191, 36, .07);
  color: var(--warn);
  font-size: .92rem;
}
.page__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; }

/* ---------- 6. Animationen ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal--right { transform: translateX(32px); }
.reveal--left { transform: translateX(-32px); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Ohne JavaScript alles sichtbar */
.no-js .reveal { opacity: 1; transform: none; }

/* Ordnerstruktur nacheinander einblenden */
.tree__item {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--d) * 110ms + 300ms);
}
.is-visible .tree__item { opacity: 1; transform: none; }
.is-visible .tree__item--dim { opacity: .45; }
.toast {
  opacity: 0;
  transform: translateY(12px) scale(.96);
  transition: opacity .6s var(--ease) 1.4s, transform .6s var(--ease) 1.4s;
}
.is-visible .toast { opacity: 1; transform: none; }
.no-js .tree__item, .no-js .toast { opacity: 1; transform: none; }

@keyframes ping {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift-a {
  from { transform: translate(0, 0); }
  to   { transform: translate(120px, 80px); }
}
@keyframes drift-b {
  from { transform: translate(0, 0); }
  to   { transform: translate(-100px, -60px); }
}
@keyframes travel {
  0%   { left: -18%; }
  100% { left: 100%; }
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 7. Responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shot--large { grid-column: span 2; grid-row: auto; }
  .shot--large .shot__media { aspect-ratio: 16 / 9; min-height: 0; }
}

@media (max-width: 920px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    background: rgba(6, 8, 13, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav__links a:not(.btn) { padding: 12px 4px; font-size: 1.05rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open { background: rgba(6, 8, 13, .96); border-bottom-color: var(--border); }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 12px; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 48px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__copy { order: 1; }
  .split--reverse .split__visual { order: 2; }

  .system__track { display: none; }
  .system__modules { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .system__hub::before { display: none; }
  .system__hub { margin-top: 40px; }
}

@media (max-width: 640px) {
  .features, .steps { grid-template-columns: 1fr; }
  .step { text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 20px 4px; }
  .step__num { display: none; }
  .step__icon { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; }
  .shots { grid-template-columns: 1fr; }
  .shot--large { grid-column: auto; }
  .research-list { grid-template-columns: 1fr; }
  .system__modules { grid-template-columns: repeat(2, 1fr); }
  .hero__ctas .btn { flex: 1 1 auto; }
  .flow { padding: 16px 14px 6px; }
  .flow__step { padding: 10px 12px; gap: 12px; }
  .flow__step:not(:last-child)::after { left: 30px; }
  .flow-card__stats { margin-inline: 14px; }
  .stat__num { font-size: 1.25rem; }
  .tree { padding: 16px 12px 80px; }
  .tree__item { margin-left: calc(var(--lvl) * 14px); font-size: .86rem; }
  .download { padding: 24px; }
  .download__actions .btn { flex: 1 1 100%; }
}

/* ---------- 8. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .reveal, .tree__item, .toast { opacity: 1; transform: none; }
}
