*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Silber/Blau/Gold — dasselbe Design-System wie die INSPIRED-SOFTWARE-Schwesterseite
   von GuiTestStudio: helle "silberne" Flächen, Blau als Hauptakzent, Gold/Bernstein als
   zweiter Akzent, reine Sans-Serif-Typografie, weiche Glow-Schatten statt harter
   Offset-Schatten und Pill-Formen bei Buttons/Badges. Bewusst identisch übernommen,
   damit CaptureStudio optisch klar als Geschwisterprodukt von GuiTestStudio erkennbar
   ist — nur die Inhalte sind auf die Bildschirm-/Sprecher-Aufnahme umgestellt. */
:root {
  --ink:       #F3F4F7;
  --parchment: #1F2328;
  --surface:   #FFFFFF;
  --surface2:  #F8F9FB;
  --border:    #E2E5EA;
  --steel:     #2563EB;
  --bronze:    #B45309;
  --muted:     #69707A;
  /* Dritter Plattform-Akzent, site-weit verfügbar für Erfolgs-/Status-Elemente
     (z. B. "Testphase aktiv", Haken-Listen). */
  --android:   #16A34A;
  --nav-bg:    rgba(255,255,255,.85);
  --nav-border: rgba(226,229,234,.9);
  --sans:      system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:      'Courier New', Courier, monospace;
}

/* Dark-Theme — folgt automatisch der System-/Browser-Einstellung (prefers-color-scheme),
   kein manueller Umschalter. Nur Flächen-, Text- und Akzentfarben werden neu belegt; Layout,
   Formsprache (Pill-Formen, Glow-Schatten) und Inhalte bleiben identisch. Blau/Gold-Akzente
   werden für ausreichenden Kontrast auf dunklem Grund etwas aufgehellt. */
@media (prefers-color-scheme: dark) {
  :root {
    --ink:        #0B1220;
    --parchment:  #EDE9E1;
    --surface:    #131B27;
    --surface2:   #1B2531;
    --border:     #26313F;
    --steel:      #4C8DF0;
    --bronze:     #D99A46;
    --muted:      #93A1B0;
    --android:    #34D399;
    --nav-bg:     rgba(11,18,32,.85);
    --nav-border: rgba(38,49,63,.9);
  }
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Sicherheitsnetz gegen mobile Layout-Bugs: verhindert, dass ein einzelnes zu breites Element
     (z. B. eine feste Pixelbreite in einem der Diagramme) den gesamten Viewport aufbläht und dadurch
     alle vw-/Grid-Berechnungen sitweit verfaelscht (klassische Ursache fuer "gestauchte" Kacheln auf
     dem Handy trotz an sich responsivem Grid). */
  overflow-x: hidden;
}

a { color: var(--steel); text-decoration: none; }

/* ── NAV ──────────────────────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, 5vw);
  height: 60px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--parchment);
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--bronze); }
.nav-logo-icon { height: 28px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  overflow-x: auto;
}

.nav-links a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color .15s;
}
.nav-links a:hover,
.nav-links a.is-current { color: var(--parchment); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--steel);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: filter .15s, transform .15s;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }

/* Download-Button: eigener Gold-Akzent, damit er sich neben "Kontakt aufnehmen" (Blau) klar als
   die primäre, eigenständige Handlung abhebt — die Hover-Filter-Regel oben gilt dank .nav-cta
   automatisch mit. */
.nav-cta.nav-download { background: var(--bronze); }

/* ── HERO ─────────────────────────────────────────────────────────────────── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 128px max(24px, 5vw) 0px;
  position: relative;
  overflow: hidden;
}

/* Weicher Doppel-Glow hinter der Headline — zwei Farbflecken (Blau + Gold) statt eines einzelnen
   Blau-Glows. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 650px 420px at 20% 0%, rgba(37, 99, 235,.10), transparent 60%),
    radial-gradient(ellipse 550px 400px at 100% 15%, rgba(180, 83, 9,.08), transparent 55%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 6px 16px;
  border: 1px solid rgba(180,83,9,.3);
  background: rgba(180,83,9,.06);
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--parchment);
  text-wrap: balance;
  max-width: 850px;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--steel), var(--bronze));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 850px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}

/* Gestaffeltes Einblenden des Hero-Inhalts beim Laden, damit der Text sofort auffaellt statt
   einfach nur dazustehen. prefers-reduced-motion wird bereits weiter unten global abgefangen. */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow, .hero h1, .hero-sub, .hero-actions {
  animation: hero-rise .7s cubic-bezier(.16, .8, .32, 1) both;
}
.hero-eyebrow      { animation-delay: .05s; }
.hero h1           { animation-delay: .15s; }
.hero-sub          { animation-delay: .32s; }
.hero-actions      { animation-delay: .55s; }

/* Textmarker-Effekt fuer den Kernsatz der Loesung (siehe .payoff-Span im HTML) – zieht den Blick
   gezielt auf den Uebergang von Problem zu Loesung, nachdem der Absatz eingeblendet ist. */
.hero-sub .payoff {
  font-weight: 600;
  color: var(--parchment);
  background-image: linear-gradient(to right, rgba(37, 99, 235, .32), rgba(37, 99, 235, .32));
  background-repeat: no-repeat;
  background-position: 0 90%;
  background-size: 0% 42%;
  animation: payoff-sweep .6s ease-out 1.05s both;
}
@keyframes payoff-sweep { to { background-size: 100% 42%; } }

/* Kompakte Plattform-Zeile im Hero — sofortiges Cross-Plattform-Signal, ohne den Hero mit einer
   ganzen Karte zu belasten. */
.platform-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--muted);
}
.platform-strip-item { color: var(--parchment); }
.platform-strip-sep { color: var(--border); }
.platform-strip-link {
  margin-left: 8px;
  color: var(--steel);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235,.4);
}

/* Abgrenzung zu Bildbearbeitungs-/Screenshot-Workflows und reinen Screen-Recordern ohne
   Sprecher-Video. */
.hero-distinction {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 850px;
  margin: 0 auto 56px;
  padding: 16px 22px;
  border: 1px solid rgba(180,83,9,.35);
  background: rgba(180,83,9,.06);
  border-radius: 14px;
  text-align: left;
}

.hero-distinction-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-distinction p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}

.hero-distinction strong {
  color: var(--bronze);
  font-weight: 700;
}

/* Kompakte Variante des Hero-Bereichs für die Doku-Unterseiten (Installation/Erste Schritte/Tipps) —
   ohne Workflow-Animation und Distinction-Box, dafür mit Breadcrumb. */
.doc-hero {
  min-height: auto;
  padding: 140px max(24px, 5vw) 60px;
}
.doc-hero .hero-sub { margin-bottom: 0; }

.doc-breadcrumb {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.doc-breadcrumb a { color: var(--steel); }

/* ── PIPELINE-KETTE (Hero-Visual) ─────────────────────────────────────────────
   Zeigt den tatsächlichen CaptureStudio-Ablauf einer Aufnahme als horizontale
   Kette. JS (siehe Seiten-Skript) hebt die Schritte nacheinander hervor, ohne JS
   bleibt die Kette vollständig lesbar (kein Funktionsverlust). */

.pipeline {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 40px;
  overflow-x: auto;
  padding: 4px 4px 14px;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.pipeline-node {
  width: 108px;
  padding: 14px 8px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  transition: border-color .3s, box-shadow .3s, background .3s, transform .3s;
}
.pipeline-node-icon {
  font-size: 1.35rem;
  margin-bottom: 6px;
  display: block;
  filter: grayscale(1) opacity(.45);
  transition: filter .3s;
}
.pipeline-node-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
  transition: color .3s;
}

.pipeline-step.is-active .pipeline-node {
  border-color: var(--steel);
  background: rgba(37, 99, 235,.08);
  box-shadow: 0 0 26px rgba(37, 99, 235,.2);
  transform: translateY(-3px);
}
.pipeline-step.is-active .pipeline-node-icon { filter: none; }
.pipeline-step.is-active .pipeline-node-label { color: var(--parchment); }

.pipeline-step.is-done .pipeline-node {
  border-color: var(--bronze);
  background: rgba(180,83,9,.07);
  box-shadow: 0 0 22px rgba(180,83,9,.16);
}
.pipeline-step.is-done .pipeline-node-icon { filter: none; }
.pipeline-step.is-done .pipeline-node-label { color: var(--bronze); }

.pipeline-arrow {
  width: 26px;
  height: 2px;
  background: var(--border);
  position: relative;
  flex-shrink: 0;
  transition: background .4s;
}
.pipeline-arrow::after {
  content: '';
  position: absolute;
  right: -4px; top: -3px;
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid var(--border);
  transition: border-left-color .4s;
}
.pipeline-arrow.is-active { background: var(--steel); }
.pipeline-arrow.is-active::after { border-left-color: var(--steel); }

/* ── SECTION SHARED ───────────────────────────────────────────────────────── */

section { padding: 100px max(24px, 5vw); }

.section-eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--parchment);
  margin-bottom: 20px;
}

.section-intro {
  max-width: 520px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 64px;
}

/* ── CAPABILITIES ─────────────────────────────────────────────────────────── */

.capabilities { background: var(--surface); }

.cap-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--steel);
  border-radius: 14px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Grid-Items haben per Default min-width:auto, also mindestens die Breite ihres Inhalts (z. B. eines
     langen Tags) – auf schmalen Viewports kann das die Spalte breiter erzwingen als der verfuegbare
     Platz und die Karte dadurch schmal gequetscht/ueberlang wirken lassen. min-width:0 erlaubt dem
     Grid, die Karte tatsaechlich auf die berechnete Spaltenbreite zu schrumpfen. */
  min-width: 0;
  transition: background .2s, border-color .2s, transform .18s, box-shadow .18s;
}
.cap-card:hover {
  background: var(--surface2);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(37, 99, 235,.4);
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235,.1);
  font-size: 1.25rem;
  line-height: 1;
}

.cap-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--parchment);
  letter-spacing: -.01em;
}

.cap-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.cap-tag {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--steel);
  background: rgba(37, 99, 235,.1);
  border: 1px solid rgba(37, 99, 235,.2);
  border-radius: 999px;
  padding: 4px 11px;
}

/* ── HOW IT WORKS / NUMBERED STEPS ────────────────────────────────────────── */

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px 36px;
  counter-reset: steps;
}

.how-steps.single-column {
  grid-template-columns: 1fr;
  max-width: 720px;
  gap: 40px;
}

.how-step {
  counter-increment: steps;
  position: relative;
  padding-top: 56px;
  min-width: 0; /* siehe .cap-card – verhindert Content-basierten Spalten-Blowout im Grid */
}

.how-steps.single-column .how-step {
  padding-top: 0;
  padding-left: 64px;
  min-height: 44px;
}

.how-step::before {
  content: counter(steps);
  position: absolute;
  top: 0; left: 0;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bronze);
  line-height: 1;
  opacity: .9;
}

.how-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.how-step-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

.how-step-desc code, .cap-desc code, .callout code, .bento-desc code {
  font-family: var(--mono);
  font-size: .85em;
  color: var(--parchment);
  background: rgba(15,23,42,.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
}

/* ── FEATURES BENTO ───────────────────────────────────────────────────────── */

.features { background: var(--surface); }

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.bento-card {
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s, transform .15s, box-shadow .15s;
}
.bento-card:hover {
  border-color: var(--steel);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(37, 99, 235,.35);
}

.bento-card.wide  { grid-column: span 7; }
.bento-card.narrow { grid-column: span 5; }
.bento-card.half  { grid-column: span 6; }
.bento-card.full  { grid-column: span 12; }

.bento-badge {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bronze);
  background: rgba(180,83,9,.1);
  border: 1px solid rgba(180,83,9,.2);
  border-radius: 999px;
  padding: 3px 11px;
  align-self: flex-start;
}

.bento-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--parchment);
  letter-spacing: -.015em;
  line-height: 1.25;
  text-wrap: balance;
}

.bento-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 42ch;
}

/* Mini feed visualization */
.bento-feed-demo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.feed-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 8px;
  font-size: .8rem;
}
.feed-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.feed-dot.changed { background: var(--bronze); }
.feed-dot.same    { background: var(--border); }
.feed-name { flex: 1; color: var(--parchment); }
.feed-meta { font-family: var(--mono); font-size: .65rem; color: var(--muted); }

/* Chat preview */
.bento-chat-demo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.chat-bubble {
  padding: 9px 13px;
  border-radius: 8px;
  font-size: .8rem;
  max-width: 88%;
  line-height: 1.45;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--steel);
  color: #fff;
}
.chat-bubble.bot {
  align-self: flex-start;
  background: var(--surface2);
  color: var(--parchment);
}

/* Theme-swatch preview (Dokument-Designs) */
.theme-swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.theme-swatch {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(31,35,40,.15);
  flex-shrink: 0;
}

/* ── DOC PAGES: callouts, code blocks, TOC, prose ─────────────────────────── */

.doc-section-inner {
  max-width: 760px;
  margin: 0 auto;
}
.doc-section-inner.wide { max-width: 1100px; }

.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin: 28px 0;
}
.callout-icon { font-size: 1.2rem; flex-shrink: 0; }
.callout p { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.callout strong { color: var(--parchment); }

.callout.tip   { border-color: rgba(37, 99, 235,.35); background: rgba(37, 99, 235,.06); }
.callout.warn  { border-color: rgba(180,83,9,.35); background: rgba(180,83,9,.06); }

.doc-prose h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--parchment);
  letter-spacing: -.01em;
  margin: 44px 0 16px;
}

/* ── FEATURE-REIHEN (Zickzack) ─────────────────────────────────────────────
   Für erklärungsbedürftige Einzelfunktionen (z. B. Klick-Hervorhebung) mehr
   erzählerischen Raum als eine Bento-Kachel bietet — Text und Mockup wechseln
   sich pro Reihe ab. */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.features-inner .feature-row:last-child { border-bottom: none; }
.feature-row.is-reverse .feature-copy { order: 2; }
.feature-row.is-reverse .feature-visual { order: 1; }

.feature-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--parchment);
  margin-bottom: 12px;
}

.feature-desc { font-size: .95rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }

.feature-list { display: flex; flex-direction: column; gap: 9px; }
.feature-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
}
.feature-list li::before {
  content: '✓';
  color: var(--android);
  font-weight: 800;
  flex-shrink: 0;
}

.feature-visual {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .8rem;
  color: var(--muted);
}
.mock-row strong { color: var(--parchment); font-size: .8rem; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-dot.ok    { background: var(--android); }
.mock-dot.warn  { background: #D97706; }
.mock-dot.steel { background: var(--steel); }
.mock-dot.bronze { background: var(--bronze); }

.mock-bar-track { flex: 1; height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; }
.mock-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--steel), var(--bronze)); }

@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.is-reverse .feature-copy,
  .feature-row.is-reverse .feature-visual { order: unset; }
}
.doc-prose h3:first-child { margin-top: 0; }
.doc-prose p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.doc-prose ul, .doc-prose ol {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
  margin: 0 0 16px;
  padding-left: 1.4em;
}
.doc-prose li { margin-bottom: 6px; }
.doc-prose li strong { color: var(--parchment); }
.doc-prose code {
  font-family: var(--mono);
  font-size: .85em;
  color: var(--parchment);
  background: rgba(15,23,42,.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
}
.doc-prose a { text-decoration: underline; text-decoration-color: rgba(37, 99, 235,.4); }

.doc-nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.doc-nav-card {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  min-width: 0; /* siehe .cap-card – verhindert Content-basierten Spalten-Blowout im Grid */
  transition: border-color .2s, transform .15s, box-shadow .15s;
}
.doc-nav-card:hover {
  border-color: var(--steel);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px -20px rgba(37, 99, 235,.35);
}
.doc-nav-card-label { font-family: var(--mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); margin-bottom: 8px; display: block; }
.doc-nav-card-title { font-size: 1.05rem; font-weight: 700; color: var(--parchment); margin-bottom: 6px; }
.doc-nav-card-desc { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ── CTA ──────────────────────────────────────────────────────────────────── */

.cta-section {
  text-align: center;
  padding: 120px max(24px, 5vw);
}

.cta-section .section-title { margin: 0 auto 20px; max-width: 600px; }
.cta-section .section-intro { margin: 0 auto 48px; }

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 38px;
  border-radius: 999px;
  background: var(--steel);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 12px 30px -10px rgba(37, 99, 235,.45);
  transition: filter .15s, transform .15s;
}
.cta-primary:hover { filter: brightness(1.1); transform: translateY(-2px); color: #fff; }

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--parchment);
  font-size: .95rem;
  font-weight: 600;
  transition: border-color .15s, background .15s;
}
.cta-secondary:hover { border-color: var(--steel); background: rgba(37, 99, 235,.06); }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 32px max(24px, 5vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-size: .95rem;
  font-weight: 800;
  color: var(--parchment);
}
.footer-logo span { color: var(--bronze); }

.footer-copy {
  font-size: .8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: .8rem;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .bento-card.wide,
  .bento-card.narrow,
  .bento-card.half { grid-column: span 12; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
}

/* Unterhalb dieser Breite reicht bei den auto-fit/minmax-Grids (Kernfunktionen, nummerierte Schritte,
   Dokuseiten-Navigationskarten) der Platz nicht mehr fuer zwei Spalten mit ihrer Mindestbreite (220–
   240px) plus Zwischenraum – ohne diese Regel wuerde der Browser die Spalten trotzdem versuchen
   nebeneinander zu quetschen, statt sauber auf eine Spalte zu wechseln. Explizit erzwungen statt sich
   auf die auto-fit-Berechnung zu verlassen, damit das Verhalten auf jedem Geraet identisch ist. */
@media (max-width: 640px) {
  .cap-grid, .how-steps, .doc-nav-cards { grid-template-columns: 1fr; }
  .cap-card { padding: 28px 24px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 2.2rem; }
  .pipeline-node { width: 88px; padding: 10px 6px; }
  .pipeline-arrow { width: 16px; }
  .hero-distinction { flex-direction: column; text-align: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
