/* ============================================================
   KSMSKSMS — Recon Landing Page
   Sektionen + interaktive Komponenten (Stepper, Live-Demo)
   ============================================================ */

/* ============================================================
   HERO — Instrumenten-Panel mit Pre-Flight-Sequenz
   ============================================================ */

.hero {
  min-height: calc(100vh + 2px);
  min-height: calc(100svh + 2px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  /* Imagen-Motiv: Recon-Satellit mit Scan-Kegel — Motiv auf ::after (z0,
     scroll-transformierbar), Verläufe auf ::before (z1), Content z2 */
  background: var(--bg-deep);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/img/hero/recon-hero.webp") 66% center / cover no-repeat, var(--bg-deep);
  transform: scale(calc(1 + 0.06 * var(--hero-scroll, 0))) translate3d(0, calc(var(--hero-scroll, 0) * 24px), 0);
  transform-origin: 66% 70%;
  will-change: transform;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 14, 26, 0.36) 0%, rgba(11, 14, 26, 0.14) 90px, rgba(11, 14, 26, 0) 180px),
    linear-gradient(90deg, var(--bg-deep) 0%, rgba(11, 14, 26, 0.92) 24%, rgba(11, 14, 26, 0.38) 44%, rgba(11, 14, 26, 0.05) 62%),
    linear-gradient(0deg, var(--bg-deep) 0, var(--bg-deep) 3px, rgba(11, 14, 26, 0) 24%);
}
.hero > .starfield { display: none; }
@media (max-width: 900px) {
  .hero::after {
    background: url("../assets/img/hero/recon-hero.webp") 60% center / cover no-repeat, var(--bg-deep);
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(11, 14, 26, 0.78) 0%, rgba(11, 14, 26, 0.55) 34%, rgba(11, 14, 26, 0.25) 55%, var(--bg-deep) calc(100% - 3px), var(--bg-deep) 100%);
  }
}
/* 4K gegen Verpixelung: Mobile-Slice + große/Retina-Desktops */
@media (max-width: 900px), (min-resolution: 1.5dppx), (min-width: 1800px) {
  .hero::after {
    background-image: url("../assets/img/hero/recon-hero-4k.webp");
  }
}
/* Mobile: horizontaler Pan statt Zoom (Motiv-Ebene 150% breit) */
@media (max-width: 900px) {
  .hero::after {
    inset: 0 -25%;
    transform: translate3d(calc(var(--hero-scroll, 0) * 10%), 0, 0);
    transform-origin: center;
  }
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero h1 { max-width: 1000px; }

.hero .eyebrow { margin-bottom: 20px; color: var(--cyan); }
.hero .serif-lede { margin-top: 28px; max-width: 560px; opacity: 0.9; }
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Pre-Flight-Sequenz: gestaffeltes Einblenden beim Laden */
.preflight [data-pf] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.preflight.is-live [data-pf] { opacity: 1; transform: none; }
.preflight.is-live [data-pf="1"] { transition-delay: 60ms; }
.preflight.is-live [data-pf="2"] { transition-delay: 200ms; }
.preflight.is-live [data-pf="3"] { transition-delay: 360ms; }
.preflight.is-live [data-pf="4"] { transition-delay: 540ms; }
.preflight.is-live [data-pf="5"] { transition-delay: 740ms; }
.preflight.is-live [data-pf="6"] { transition-delay: 960ms; }
@media (prefers-reduced-motion: reduce) {
  .preflight [data-pf] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   MISSION — Karten + Gate + Scoring-Editorial
   ============================================================ */

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--ink-line);
}
@media (max-width: 900px) { .mission-grid { grid-template-columns: 1fr; } }

.mission-card {
  padding: 0 0 28px;
  border-right: 1px solid var(--ink-line);
  position: relative;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
}
.mission-card > p,
.mission-card > h3,
.mission-card > div:not(.mc-media) { padding-left: 28px; padding-right: 28px; }
.mission-card:last-child { border-right: 0; }
@media (max-width: 900px) {
  .mission-card { border-right: 0; border-bottom: 1px solid var(--ink-line); }
  .mission-card:last-child { border-bottom: 0; }
}

.mission-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 18px;
}
.mission-card .body { font-size: 15px; }
.mission-card .card-foot { margin-top: auto; padding-top: 16px; }

/* Media-Platzhalter — bis Imagen-Grafiken kommen */
.mc-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink-line);
  overflow: hidden;
}
.mc-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, var(--ink-line) 14px 15px);
  opacity: 0.6;
}
.mc-stripes.alt {
  background-image: repeating-linear-gradient(45deg, transparent 0 14px, var(--ink-line) 14px 15px);
}
/* Screenshot-Fills (mission-card + trigger-cell): echte Mocks statt Platzhalter */
.mc-media-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.dp-media.dp-media-img { padding: 0; position: relative; }
.dp-media.dp-media-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: none; opacity: 1;
}
.dp-cell.is-planned .dp-media.dp-media-img img { filter: grayscale(1); opacity: 0.45; }
.dp-cell.is-planned:hover .dp-media.dp-media-img img { filter: none; opacity: 0.85; }

.mc-media-label {
  position: absolute;
  bottom: 10px; left: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  padding: 4px 8px;
  display: inline-block;
  width: fit-content;
  border: 1px solid var(--ink-line);
  margin: 0;
}

/* Editorial — Scoring-Schema + Lead-Klassen */
.editorial-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .editorial-grid { grid-template-columns: 1fr; gap: 44px; } }
.editorial-grid .eyebrow { margin-bottom: 12px; }
.editorial-grid h3 { margin-bottom: 16px; }
.editorial-grid .body { font-size: 15px; opacity: 0.82; margin-bottom: 20px; }

.scoring-switch {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin: 8px 0 24px;
  flex-wrap: wrap;
}
.scoring-switch::before {
  content: "BRANCHE";
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  opacity: 0.55;
  align-self: center;
  margin-right: 8px;
}
.ss-tab {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--ink-line);
  padding: 9px 14px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
  position: relative;
}
.ss-tab:hover { background: rgba(0, 0, 0, 0.04); color: var(--ink); }
.ss-tab.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.ss-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--ink);
}

.spec-table--scoring th {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--ink-line);
  opacity: 0.55;
  font-weight: 500;
}
.spec-table--scoring td {
  padding: 12px 12px 12px 0;
  font-size: 13px;
  font-family: var(--font-mono);
}
.spec-table--scoring td:first-child {
  width: auto;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink);
  opacity: 1;
}
.spec-table--scoring td:first-child strong { font-weight: 600; }
.spec-table--scoring td.src,
.spec-table--scoring th.src {
  opacity: 0.55;
  text-align: right;
  padding-right: 0;
}
.tier-high { color: var(--red); }

/* ============================================================
   ACCESS-DIAGRAMM (über dem Workflow)
   ============================================================ */

.access-diagram {
  display: grid;
  grid-template-columns: 1.05fr 28px 0.9fr 28px 1.15fr 28px 1fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: 32px;
  background: var(--bg-mid);
  border: 1px solid var(--grid-line-strong);
  padding: 28px 24px;
  position: relative;
}
.access-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 168px;
}
.access-col-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.access-card {
  border: 1px solid var(--grid-line-strong);
  background: var(--bg-deep);
  padding: 12px 14px;
}
.access-card.is-primary {
  border-color: var(--cyan);
  background: rgba(122, 217, 194, 0.08);
}
.access-card .ac-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--paper);
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}
.access-card .ac-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  opacity: 0.7;
  margin: 0;
  line-height: 1.4;
}
.access-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  position: relative;
}
.access-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grid-line-strong);
}
.access-arrow span {
  position: relative;
  background: var(--bg-mid);
  padding: 0 6px;
}
.access-hub {
  border: 1px solid var(--red);
  background: rgba(217, 68, 44, 0.10);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 168px;
}
.access-hub .ah-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.access-hub .ah-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--paper);
  margin: 0;
}
.access-hub .ah-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.75;
  margin: 0;
  line-height: 1.45;
}
.access-pipeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 168px;
}
.access-step {
  border: 1px solid var(--grid-line-strong);
  background: var(--bg-deep);
  padding: 8px 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.access-step b {
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.access-step span { opacity: 0.65; }
.access-step-fanout {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px 12px;
  border-color: var(--cyan);
  background: rgba(122, 217, 194, 0.06);
}
.access-step-fanout .access-step-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.access-fanout { display: flex; flex-wrap: wrap; gap: 6px; }
.fan-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border: 1px solid var(--grid-line-strong);
  background: var(--bg-mid);
  color: var(--paper);
  opacity: 0.9;
}
@media (max-width: 880px) {
  .access-diagram { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .access-col, .access-hub, .access-pipeline { min-height: 0; }
  .access-arrow { height: 24px; transform: rotate(90deg); }
  .access-arrow::before { background: none; }
}

/* ============================================================
   WORKFLOW-STEPPER
   ============================================================ */

.workflow {
  background: var(--bg-mid);
  border: 1px solid var(--grid-line-strong);
  padding: 36px;
  position: relative;
}
.workflow-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.workflow-header .mono-xs { color: var(--muted); }
.workflow-tabs {
  display: inline-flex;
  gap: 8px;
  margin-top: 12px;
  background: var(--bg-deep);
  padding: 4px;
  border: 1px solid var(--grid-line-strong);
}
.workflow-tabs button {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: var(--paper);
  opacity: 0.6;
  transition: all 200ms ease;
}
.workflow-tabs button.active {
  background: var(--bg-soft);
  opacity: 1;
  box-shadow: inset 0 -2px 0 var(--red);
}
.workflow-tabs button .mono-xs { color: var(--cyan); }
.workflow-tabs button.active .mono-xs { color: var(--red); }
.workflow-tabs .serif-lede { font-size: 18px; }

.workflow-rail { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  position: relative;
  transition: opacity 200ms;
}
.step-idle { opacity: 0.45; }
.step-running { opacity: 1; }
.step-done { opacity: 0.85; }
.step-ready { opacity: 1; }

.step-marker {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  background: var(--bg-deep);
}
.step-done .step-marker { background: var(--cyan); color: var(--bg-deep); border-color: var(--cyan); }
.step-done .step-marker::after { content: "✓"; position: absolute; font-size: 22px; color: var(--bg-deep); }
.step-done .step-idx { display: none; }
.step-running .step-marker { background: var(--red); border-color: var(--red); }
.step-running .step-marker .step-idx { color: var(--paper); }
.step-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  animation: ringpulse 1.4s ease-out infinite;
}
@keyframes ringpulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .step-pulse { animation: none; }
}

.step-idx {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--paper);
}
.step-body { padding-top: 4px; }
.step-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.step-head h4 { font-size: 20px; }
.step-head .mono-xs { opacity: 0.6; }
.step-desc { font-size: 14px; opacity: 0.85; margin: 4px 0 6px; }
.step-tool { color: var(--cyan); }
.step-connector {
  position: absolute;
  left: 27px;
  top: 76px;
  bottom: -20px;
  width: 1.5px;
  background: var(--grid-line-strong);
}
.step-done .step-connector { background: var(--cyan); opacity: 0.5; }
@media (max-width: 640px) {
  .workflow { padding: 24px 18px; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .step-marker { width: 44px; height: 44px; }
  .step-connector { left: 21px; top: 62px; }
}

/* ============================================================
   LIVE-DEMO
   ============================================================ */

.demo {
  display: grid;
  grid-template-columns: 300px 1fr 430px;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 1100px) { .demo { grid-template-columns: 1fr; } }

.demo-input {
  background: var(--bg-mid);
  border: 1px solid var(--grid-line-strong);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.demo-input > .mono-xs { margin-bottom: 12px; color: var(--muted); }
.demo-leads {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.demo-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--grid-line-strong);
  background: var(--bg-deep);
  color: var(--paper);
  text-align: left;
  transition: all 150ms;
}
.demo-lead:hover { border-color: var(--paper); }
.demo-lead.active {
  border-color: var(--red);
  box-shadow: inset 3px 0 0 var(--red);
}
.demo-lead .dl-name { font-family: var(--font-display); font-weight: 500; font-size: 17px; }
.demo-lead .mono-xs { opacity: 0.55; }
.demo-lead .dl-url { opacity: 0.45; }
.demo-run { margin-top: 24px; width: 100%; justify-content: center; }
.demo-run[disabled] { opacity: 0.6; cursor: default; }

.demo-console-wrap {
  background: #0A0D18;
  border: 1px solid var(--grid-line-strong);
  display: flex;
  flex-direction: column;
  min-height: 480px;
}
.demo-console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--grid-line-strong);
  background: var(--bg-mid);
}
.demo-console-head .dots { display: flex; gap: 6px; }
.demo-console-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: var(--red); }
.dot-g { background: var(--gold); }
.dot-c { background: var(--cyan); }
.demo-console-head .mono-xs { opacity: 0.6; }
.demo-console-head .count { opacity: 0.45; }
.demo-console {
  flex: 1;
  padding: 18px 18px 24px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--paper);
  max-height: 480px;
}
.demo-idle { opacity: 0.4; font-family: var(--font-mono); font-size: 12px; }
.demo-idle .prompt { color: var(--cyan); }
.stream-line {
  font-family: var(--font-mono);
  white-space: pre-wrap;
  animation: fadein 200ms ease;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stream-line { animation: none; }
}
.stream-system { color: var(--cyan); }
.stream-tool { color: var(--paper); opacity: 0.9; }
.stream-data { color: var(--paper); opacity: 0.6; }
.stream-score { color: var(--gold); font-weight: 500; }
.cursor { color: var(--red); animation: blink 0.8s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.demo-report {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--grid-line-strong);
  /* voller Kontrast — der Leer-Zustand kommt aus .report-empty,
     nicht aus einem gedimmten Panel */
  opacity: 1;
  transition: opacity 400ms;
  display: flex;
  flex-direction: column;
}
.demo-report.is-revealed { opacity: 1; }
.demo-report-head {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--ink-line);
  background: var(--paper-2);
}
.demo-report-head .mono-xs { color: var(--ink-2); }
.report-card { padding: 20px; flex: 1; }
/* Leer-Zustand: Append erscheint erst nach dem Run */
.report-empty {
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  border: 1px dashed var(--ink-line-strong);
  padding: 24px;
}
.report-empty .mono-xs { color: var(--ink-2); letter-spacing: 0.14em; }
.report-empty p:last-child { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
/* Frisch geschriebene Werte: CRM-Grün als "das ist neu"-Signal */
.wr-flag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2E7D4F;
  background: rgba(63, 163, 107, 0.16);
  padding: 2px 6px;
  margin-left: 8px;
  vertical-align: 2px;
  white-space: nowrap;
}
.report-card.is-fresh .callout {
  background: rgba(63, 163, 107, 0.10);
  border-left-color: #3FA36B;
}
.report-card.is-fresh .findings li::marker { color: #3FA36B; }
.report-card.is-fresh .report-status { color: #2E7D4F; }
.report-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.report-card h3 { font-size: 24px; margin-bottom: 4px; }
.callout {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(217, 68, 44, 0.08);
  border-left: 3px solid var(--red);
  margin-top: 12px;
}
.callout-icon {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.08em;
}
.callout strong { color: var(--ink); font-family: var(--font-display); font-weight: 500; }
.callout .schema-line { margin-top: 4px; opacity: 0.55; letter-spacing: 0.14em; }
.callout .dims-line { margin-top: 6px; opacity: 0.85; line-height: 1.6; }
.callout .dims-line strong { font-family: var(--font-mono); font-weight: 600; }
.report-label { margin-top: 16px; opacity: 0.6; }
.findings {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.findings li {
  font-family: var(--font-body);
  font-size: 13px;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.findings li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--red);
}
.findings strong { font-weight: 600; }
.report-status { margin-top: 20px; opacity: 0.55; font-size: 11px; }

/* ============================================================
   DONE / PLANNED
   ============================================================ */

.dp-block { margin-bottom: 56px; }
.dp-block:last-child { margin-bottom: 0; }
.dp-block-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 16px;
}
.dp-block-head .mono-xs { opacity: 0.5; }

.dp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.dp-cell {
  padding: 16px 18px;
  border: 1px solid var(--ink-line);
  background: var(--paper);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
  transition: transform 150ms;
}
.dp-cell:hover { transform: translateY(-2px); }
.dp-cell .dp-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
}
.dp-cell .dp-sub { font-family: var(--font-mono); font-size: 11px; }
.dp-cell .status { align-self: flex-start; }
.dp-cell.is-planned {
  background: transparent;
  border-style: dashed;
  color: var(--ink-2);
  opacity: 0.8;
}
.dp-cell.is-live {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.dp-cell.is-live .dp-name { color: var(--paper); }
.dp-cell.is-live .dp-sub { opacity: 0.75; }
.dp-cell.is-custom { border-style: dashed; }

/* ============================================================
   T-0 ANCHOR STRIP — T-0 Brand v5 „Dark Sky" Tokens
   (guides/design.md @ T-0-co/t-0_brand-assets)
   ============================================================ */

.t0-strip {
  --t0-bg: #1A2332;
  --t0-text: #E8F4F0;
  --t0-text-muted: #B8C8B8;
  --t0-accent: #1FB1EA;
  --t0-accent-alt: #3A7A8A;
  --t0-accent-warm: #D36600;
  --t0-accent-warm-hover: #EE7300;
  --t0-border: rgba(31, 177, 234, 0.30);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 0;
  color: var(--t0-text);
  background:
    radial-gradient(ellipse 60% 80% at 18% 50%, rgba(31, 177, 234, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 70% at 88% 60%, rgba(58, 122, 138, 0.18), transparent 65%),
    linear-gradient(180deg, var(--t0-bg) 0%, #141C2A 100%);
  border-top: 1px solid var(--t0-border);
  border-bottom: 1px solid rgba(31, 177, 234, 0.14);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
.t0-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(232, 244, 240, 0.85), transparent 50%),
    radial-gradient(1px 1px at 24% 78%, rgba(232, 244, 240, 0.55), transparent 50%),
    radial-gradient(1.5px 1.5px at 38% 36%, rgba(31, 177, 234, 0.55), transparent 55%),
    radial-gradient(1px 1px at 47% 88%, rgba(232, 244, 240, 0.45), transparent 50%),
    radial-gradient(1px 1px at 62% 18%, rgba(232, 244, 240, 0.7), transparent 50%),
    radial-gradient(1.5px 1.5px at 71% 64%, rgba(31, 177, 234, 0.5), transparent 55%),
    radial-gradient(1px 1px at 83% 30%, rgba(232, 244, 240, 0.55), transparent 50%),
    radial-gradient(1px 1px at 92% 74%, rgba(232, 244, 240, 0.65), transparent 50%);
}
.t0-strip-supported {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t0-text-muted);
  margin-bottom: 6px;
}
/* Kurz-Kontext über dem Lockup: warum taucht hier eine zweite Company auf */
.t0-strip-lede {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.6;
  color: var(--t0-text);
  opacity: 0.85;
  max-width: 640px;
  margin-bottom: 28px;
}
.t0-strip-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.t0-strip-lockup {
  display: flex;
  align-items: center;
  gap: 32px;
}
.t0-strip-text { min-width: 0; }
.t0-eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t0-accent);
  margin: 0 0 8px;
}
.t0-wordmark {
  font-family: "Jersey 10", "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 0.82;
  letter-spacing: 0.005em;
  color: var(--t0-text);
  margin: 0 0 10px;
  text-shadow:
    2px 2px 0 #1A2332,
    4px 4px 0 #D36600;
}
.t0-tagline {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: var(--t0-text-muted);
  margin: 0;
  max-width: 56ch;
}
.t0-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1A2332;
  background: var(--t0-accent-warm);
  box-shadow: 6px 6px 0 0 var(--t0-accent-alt);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.t0-cta span { transition: transform 120ms ease; }
.t0-cta:hover {
  background: var(--t0-accent-warm-hover);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--t0-accent);
}
.t0-cta:hover span { transform: translateX(3px); }
.t0-cta:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 0 var(--t0-accent-alt);
}
@media (max-width: 720px) {
  .t0-strip { padding: 56px 0; }
  .t0-strip-lockup { gap: 22px; }
  .t0-wordmark { text-shadow: 2px 2px 0 #1A2332, 3px 3px 0 #D36600; }
}

/* ============================================================
   CTA / KONTAKT
   ============================================================ */

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) { .cta-grid { grid-template-columns: 1fr; gap: 48px; } }
.cta-grid .eyebrow { margin-bottom: 20px; color: var(--red); }
.cta-grid .serif-lede { margin-top: 28px; opacity: 0.85; }

/* .cta-card / .cta-fields / .form-success → brand.css (shared mit Kontakt) */

/* ============================================================
   §01: Flat-Feature-Boxen (MCP / CRM-Adapter / DSGVO)
   ============================================================ */

.mission-grid-flat { margin-top: 24px; }
.mission-grid-flat .mission-card-flat {
  min-height: 0;
  padding-top: 4px;
}
.mission-card-flat > h3,
.mission-card-flat > p { padding-left: 28px; padding-right: 28px; }

/* ============================================================
   §04: Medien über den dp-Cells — Logos, Mono-Marken, Shot-Platzhalter
   ============================================================ */

.dp-media {
  margin: -16px -18px 4px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink-line);
}
.dp-media img { width: 26px; height: 26px; opacity: 0.82; }
.dp-mono {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.55;
}
.dp-media-shot {
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, var(--ink-line) 10px 11px),
    var(--paper-2);
  position: relative;
}
.dp-shot-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-line);
  padding: 2px 6px;
  opacity: 0.75;
}
/* geplante/custom Zellen: Medienstreifen dezenter */
.dp-cell.is-planned .dp-media { background: transparent; border-bottom-style: dashed; }
.dp-cell.is-planned .dp-media img { opacity: 0.45; }
.dp-cell.is-planned .dp-mono { opacity: 0.35; }

/* ============================================================
   §05 Kontakt: Recon-Sendemotiv als BG (.cta-motif aus brand.css)
   ============================================================ */

.cta-motif { --cta-img: url("../assets/img/sections/recon-contact.webp"); }

/* ============================================================
   §02: n8n-Workflow-Karte (statisch, ersetzt den Stepper)
   ============================================================ */

.n8n-map {
  margin-top: 32px;
  border: 1px solid var(--grid-line-strong);
  background: var(--bg-mid);
  padding: 24px;
}
.n8n-map-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.n8n-map-head .mono-xs { opacity: 0.6; }
.n8n-lanes {
  display: flex;
  gap: 10px;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 6px;
}
.n8n-stage {
  flex: 1 0 158px;
  min-width: 158px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.n8n-stage-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.8;
  margin-bottom: 2px;
}
.n8n-node {
  position: relative;
  border: 1px solid var(--grid-line-strong);
  border-radius: 6px;
  background: var(--bg-soft);
  padding: 9px 12px;
}
/* Connector-Punkte links/rechts — n8n-Anmutung */
.n8n-node::before,
.n8n-node::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--bg-mid);
  border: 1px solid var(--grid-line-strong);
}
.n8n-node::before { left: -4px; }
.n8n-node::after { right: -4px; }
.n8n-node b {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.n8n-node span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.55;
  margin-top: 2px;
}
.n8n-node.is-hot { border-color: rgba(122, 217, 194, 0.5); }
.n8n-node.is-hot::after { background: var(--cyan); border-color: var(--cyan); }
.n8n-arrow {
  align-self: center;
  color: var(--cyan);
  opacity: 0.5;
  flex: 0 0 auto;
}
.n8n-map-foot { margin-top: 14px; opacity: 0.45; }

/* Kontakt-Motiv liegt links (Form-Card ist rechts) — Bild gespiegelt,
   Verlauf entsprechend gedreht */
.cta-motif::after {
  background: var(--cta-img) left center / cover no-repeat, var(--bg-deep);
  transform-origin: 30% center;
}
.cta-motif::before {
  background: linear-gradient(270deg, var(--bg-deep) 0%, rgba(11, 14, 26, 0.9) 30%, rgba(11, 14, 26, 0.55) 60%, rgba(11, 14, 26, 0.3) 100%);
}

/* Hero: Benefits-Reihe unter den Stats */
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--grid-line);
}
.hero-benefits span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.85;
}

/* Gutter zwischen den Mission-Cards — gleiche Breite wie der vertikale
   Abstand zur Flat-Reihe (24px); Karten dafür einzeln gerahmt */
.mission-grid { gap: 24px; border: 0; }
.mission-card,
.mission-card:last-child { border: 1px solid var(--ink-line); }
@media (max-width: 900px) {
  .mission-card,
  .mission-card:last-child { border: 1px solid var(--ink-line); }
}

/* Flat-Boxen haben jetzt Media + Foot wie die normalen Cards */
.mission-grid-flat .mission-card-flat { padding-top: 0; }

/* n8n-Karte: Stufen vertikal zentriert — wirkt wie ein echter Node-Graph */
.n8n-stage { justify-content: center; }

/* n8n-Karte entsprechend dem roten Hub: rote Umrandung + BG-Tint */
.n8n-map {
  border-color: var(--red);
  background: linear-gradient(0deg, rgba(217, 68, 44, 0.07), rgba(217, 68, 44, 0.07)), var(--bg-mid);
}

/* dp-Logos: linksbündig, schwarzweiß — Farbe erst beim Hover der Zelle */
.dp-media {
  justify-content: flex-start;
  padding: 0 18px;
  gap: 10px;
}
.dp-media img {
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 150ms ease, opacity 150ms ease;
}
.dp-cell:hover .dp-media img {
  filter: none;
  opacity: 1;
}
