:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-soft: #0b0f15;
  --surface: #10151d;
  --surface-strong: #141b25;
  --text: #f4f7f2;
  --muted: #a1aab3;
  --dim: #68727e;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --lime: #b8ff63;
  --cyan: #62e9ff;
  --violet: #a98bff;
  --focus: #d1ff93;
  --shell: min(74rem, calc(100% - 3rem));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scrollbar-color: #38414b var(--bg);
}

body {
  max-width: 100%;
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 4rem 4rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.2), var(--bg) 64%);
  content: "";
  pointer-events: none;
}

::selection {
  background: var(--lime);
  color: #071006;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: 0.5rem;
  background: var(--lime);
  color: #081007;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--violet));
  will-change: transform;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.ambient--one {
  top: -20rem;
  right: -12rem;
  background: var(--cyan);
}

.ambient--two {
  bottom: -24rem;
  left: -14rem;
  background: var(--violet);
}

.section-shell,
.site-header,
.proof-strip,
.site-footer {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: blur(18px);
}

.site-header::before {
  position: absolute;
  z-index: -1;
  right: 50%;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: inherit;
  content: "";
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0;
  font-weight: 780;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 2.75rem;
  max-width: min(13rem, 48vw);
  object-fit: contain;
}

.site-footer .brand-logo {
  height: 2.35rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  min-height: 2.75rem;
  align-content: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding-inline: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
}

.hero {
  display: grid;
  min-height: calc(100svh - 5.25rem);
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(5rem, 10vh, 8rem);
}

.eyebrow,
.section-index,
.panel-kicker,
.project-title-row > div > p,
.comparison-control > span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  color: var(--lime);
}

.eyebrow > span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 1rem currentColor;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 9.5ch;
  margin-bottom: 1.7rem;
  font-size: clamp(4rem, 8.8vw, 8.2rem);
  font-weight: 820;
  letter-spacing: -0.08em;
  line-height: 0.86;
}

h1 em,
h2 em {
  background: linear-gradient(100deg, var(--lime) 0%, var(--cyan) 48%, var(--violet) 100%);
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-lead {
  max-width: 43rem;
  margin-bottom: 2.4rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.hero-actions,
.enablement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3.3rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--lime);
  box-shadow: 0 0 2rem rgba(184, 255, 99, 0.13);
  color: #071006;
}

.button--primary:hover {
  background: #cbff8e;
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.055);
}

.agent-system {
  position: relative;
  min-height: 36rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 50% 48%, rgba(184, 255, 99, 0.1), transparent 28%),
    rgba(12, 16, 22, 0.72);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.36), 0 2rem 7rem rgba(0, 0, 0, 0.18);
  isolation: isolate;
}

.system-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 2rem 2rem;
  mask-image: radial-gradient(circle, #000 25%, transparent 78%);
}

.system-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.system-orbit::after {
  position: absolute;
  top: -0.28rem;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 1.4rem var(--cyan);
  content: "";
}

.system-orbit--outer {
  width: 29rem;
  height: 29rem;
  animation: orbit-spin 22s linear infinite;
}

.system-orbit--inner {
  width: 19rem;
  height: 19rem;
  animation: orbit-spin 16s linear infinite reverse;
}

.orchestrator-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: 10.5rem;
  height: 10.5rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(184, 255, 99, 0.4);
  border-radius: 50%;
  background: rgba(10, 15, 17, 0.94);
  box-shadow: 0 0 5rem rgba(184, 255, 99, 0.12), inset 0 0 2rem rgba(184, 255, 99, 0.06);
  text-align: center;
}

.orchestrator-core small,
.orchestrator-core > span:last-child {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.orchestrator-core strong {
  margin-block: 0.12rem 0.35rem;
  font-size: 1rem;
}

.core-pulse {
  position: absolute;
  inset: -0.65rem;
  border: 1px solid rgba(184, 255, 99, 0.18);
  border-radius: inherit;
  animation: core-pulse 2.8s ease-out infinite;
}

.agent-node {
  position: absolute;
  z-index: 4;
  display: flex;
  min-width: 7rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(13, 18, 25, 0.93);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.3);
  color: #dfe5e2;
  font-size: 0.74rem;
  font-weight: 700;
}

.agent-node span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
}

.agent-node--product { top: 12%; left: 10%; }
.agent-node--ux { top: 20%; right: 8%; }
.agent-node--engineering { right: 4%; bottom: 25%; }
.agent-node--qa { bottom: 12%; left: 16%; }
.agent-node--deploy { top: 49%; left: 3%; }

.system-status {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.system-status span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0.8rem var(--lime);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  display: grid;
  min-height: 10.5rem;
  align-content: center;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  margin-bottom: 0.25rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.proof-item--signal {
  position: relative;
  padding-left: 3.1rem;
}

.live-signal {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  width: 0.6rem;
  height: 0.6rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 1.2rem var(--lime);
}

.manifesto,
.process,
.projects,
.enablement {
  padding-block: clamp(7rem, 14vw, 12rem);
}

.section-index {
  margin-bottom: 2rem;
  color: var(--lime);
}

.manifesto-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6.7vw, 6.6rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.manifesto-copy {
  padding-top: 0.65rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.manifesto-copy p:last-child {
  margin-bottom: 0;
  color: var(--text);
}

.adoption-flow {
  display: grid;
  align-items: center;
  margin-top: clamp(4rem, 8vw, 7rem);
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 1rem;
}

.adoption-flow div {
  display: flex;
  min-height: 11rem;
  justify-content: center;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.adoption-flow span {
  margin-bottom: auto;
  color: var(--dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
}

.adoption-flow strong {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

.adoption-flow small {
  color: var(--muted);
}

.adoption-flow i {
  color: var(--dim);
  font-style: normal;
}

.adoption-flow .flow-live {
  border-color: rgba(184, 255, 99, 0.35);
  background: linear-gradient(145deg, rgba(184, 255, 99, 0.1), rgba(98, 233, 255, 0.035));
  box-shadow: inset 0 0 2.5rem rgba(184, 255, 99, 0.03);
}

.process {
  position: relative;
}

.process::before,
.projects::before {
  position: absolute;
  z-index: -1;
  right: 50%;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: var(--bg-soft);
  content: "";
}

.process::before {
  top: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 4rem;
}

.section-heading .section-index {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.section-heading > p:last-child {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.process-experience {
  display: grid;
  margin-top: 5rem;
  overflow: hidden;
  grid-template-columns: 0.78fr 1.22fr;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--bg);
}

.process-steps {
  display: grid;
  padding: 0.75rem;
  gap: 0.35rem;
  border-right: 1px solid var(--line);
}

.process-step {
  display: grid;
  min-height: 5.4rem;
  align-items: center;
  grid-template-columns: 2rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.process-step > span {
  grid-row: 1 / 3;
  color: var(--dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
}

.process-step strong {
  color: var(--text);
  font-size: 0.98rem;
}

.process-step small {
  font-size: 0.78rem;
}

.process-step:hover,
.process-step.is-active {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.process-step.is-active > span {
  color: var(--lime);
}

.process-panel {
  display: flex;
  min-height: 35rem;
  touch-action: pan-y;
  justify-content: center;
  flex-direction: column;
  padding: clamp(2rem, 6vw, 5.5rem);
  background:
    radial-gradient(circle at 86% 14%, rgba(98, 233, 255, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent);
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: auto;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-status span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 1rem var(--lime);
}

.panel-kicker {
  margin-bottom: 1rem;
  color: var(--cyan);
}

.process-panel h3 {
  max-width: 15ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.process-panel > p:not(.panel-kicker) {
  max-width: 43rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.panel-agents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.panel-agents span {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #d7ddda;
  font-size: 0.7rem;
}

.terminal-line {
  width: fit-content;
  margin-top: auto;
  padding: 2rem 0 0;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, transform 180ms ease;
}

.terminal-line:hover {
  color: var(--text);
  transform: translateX(0.25rem);
}

.terminal-line > span:first-child {
  margin-right: 0.5rem;
  color: var(--lime);
}

.terminal-cursor {
  color: var(--lime);
  animation: blink 1s steps(1) infinite;
}

.projects {
  position: relative;
}

.projects::before {
  top: 0;
  background:
    radial-gradient(circle at 70% 10%, rgba(169, 139, 255, 0.07), transparent 30%),
    var(--bg);
}

.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.comparison-control {
  display: grid;
  flex: 0 0 auto;
  gap: 0.65rem;
}

.comparison-control > span {
  color: var(--muted);
}

.segmented-control {
  display: flex;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.segmented-control button {
  min-height: 2.6rem;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
}

.segmented-control button.is-active {
  background: var(--text);
  color: var(--bg);
}

.estimate-note {
  max-width: 48rem;
  margin: 2rem 0 3rem;
  color: var(--dim);
  font-size: 0.78rem;
}

.project-grid {
  display: grid;
  gap: 1.25rem;
}

.project-card {
  --project-accent: var(--lime);
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  display: grid;
  min-height: 41rem;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: 1fr 0.85fr;
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: clamp(2rem, 6vw, 6rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--project-accent) 11%, transparent), transparent 24rem),
    linear-gradient(140deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  transition: border-color 220ms ease, transform 220ms ease;
}

.project-card:hover,
.project-card:focus-within {
  border-color: color-mix(in srgb, var(--project-accent) 46%, transparent);
}

.project-card--cyan { --project-accent: var(--cyan); }
.project-card--violet { --project-accent: var(--violet); }

.project-glow {
  position: absolute;
  top: -10rem;
  right: -8rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: var(--project-accent);
  filter: blur(110px);
  opacity: 0.08;
  pointer-events: none;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
  margin-bottom: 5rem;
  color: var(--dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--project-accent) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--project-accent) 8%, transparent);
  color: var(--project-accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0.8rem currentColor;
}

.status--private {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.project-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  grid-column: 1;
}

.project-title-row > div > p {
  margin-bottom: 0.75rem;
  color: var(--project-accent);
}

.project-title-row h3 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.project-symbol {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--project-accent);
  font-size: 1.2rem;
}

.speed-badge {
  width: fit-content;
  margin: 1.2rem 0 0;
  grid-column: 1;
  padding: 0.35rem 0.7rem;
  border-radius: 0.35rem;
  background: var(--project-accent);
  color: #071006;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-description {
  max-width: 39rem;
  margin: 2rem 0 0;
  grid-column: 1;
  color: var(--muted);
  font-size: 1.08rem;
}

.ai-built {
  align-self: end;
  margin-top: 3.5rem;
  grid-column: 1;
}

.ai-built > span {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--project-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ai-built p {
  max-width: 39rem;
  margin-bottom: 0;
  color: #d8deda;
}

.effort-comparison {
  display: grid;
  align-self: center;
  gap: 2rem;
  grid-column: 2;
  grid-row: 2 / 6;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(4, 6, 9, 0.45);
}

.effort {
  display: grid;
  align-content: center;
  transition: opacity 200ms ease;
}

.effort > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.effort span {
  color: var(--muted);
  font-size: 0.78rem;
}

.effort strong {
  font-size: clamp(1rem, 2vw, 1.45rem);
  letter-spacing: -0.03em;
}

.effort i {
  display: block;
  width: 100%;
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.effort i::after {
  display: block;
  width: var(--effort);
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: inherit;
  background: var(--dim);
  content: "";
  will-change: transform;
  transition: filter 200ms ease, background 200ms ease;
}

.effort--ai i::after {
  background: var(--project-accent);
}

.effort-comparison.is-animated .effort--classic i::after {
  animation-name: effort-grow-classic;
  animation-duration: 1.55s;
  animation-delay: var(--effort-sequence-delay, 0ms);
  animation-timing-function: cubic-bezier(0.18, 0.72, 0.2, 1);
  animation-fill-mode: forwards;
}

.effort-comparison.is-animated .effort--ai i::after {
  animation-name: effort-grow-ai;
  animation-duration: 180ms;
  animation-delay: calc(var(--effort-sequence-delay, 0ms) + 1.62s);
  animation-timing-function: cubic-bezier(0.08, 0.9, 0.18, 1);
  animation-fill-mode: forwards;
}

@keyframes effort-grow-classic {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes effort-grow-ai {
  0% { transform: scaleX(0); }
  78% { transform: scaleX(1.12); }
  100% { transform: scaleX(1); }
}

.compare-ai .effort--classic,
.compare-classic .effort--ai {
  opacity: 0.45;
}

.compare-ai .effort--ai i::after,
.compare-classic .effort--classic i::after {
  filter: drop-shadow(0 0 0.65rem var(--project-accent));
}

.project-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  margin-top: 2.2rem;
  grid-column: 1;
  color: var(--text);
  font-weight: 780;
  text-decoration-color: var(--project-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4rem;
}

.project-link span {
  color: var(--project-accent);
  transition: transform 180ms ease;
}

.project-link:hover span {
  transform: translate(0.16rem, -0.16rem);
}

.enablement {
  position: relative;
  min-height: 48rem;
  overflow: hidden;
  text-align: center;
}

.enablement::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 50rem;
  height: 35rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 233, 255, 0.1), rgba(169, 139, 255, 0.04) 38%, transparent 68%);
  content: "";
}

.enablement .eyebrow {
  justify-content: center;
}

.enablement h2 {
  max-width: 16ch;
  margin-inline: auto;
}

.enablement > p:not(.eyebrow) {
  max-width: 45rem;
  margin: 2rem auto 2.5rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.enablement-actions {
  justify-content: center;
}

.enablement-signal {
  display: flex;
  height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.enablement-signal span {
  width: 0.25rem;
  height: 1rem;
  border-radius: 999px;
  background: linear-gradient(var(--lime), var(--cyan));
  animation: signal 1.6s ease-in-out infinite alternate;
}

.enablement-signal span:nth-child(2) { height: 2rem; animation-delay: -0.4s; }
.enablement-signal span:nth-child(3) { height: 3rem; animation-delay: -0.8s; }
.enablement-signal span:nth-child(4) { height: 2rem; animation-delay: -1.2s; }

.site-footer {
  display: grid;
  min-height: 8rem;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

.site-footer > p:last-child {
  text-align: right;
}

.footer-meta {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
}

.footer-links {
  gap: 1rem;
}

.footer-links a {
  min-height: 2rem;
  color: var(--text);
  font-size: 0.8rem;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.3rem;
}

.footer-links a:hover {
  color: var(--lime);
}

.legal-main {
  width: min(48rem, calc(100% - 3rem));
  margin-inline: auto;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.legal-header {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  max-width: none;
  margin: 0.7rem 0 1rem;
  font-size: clamp(2.7rem, 8vw, 5.7rem);
}

.legal-header p:last-child {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
}

.legal-content {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.legal-content section + section {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.025em;
}

.legal-content h3 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content p {
  margin: 0.7rem 0;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content a {
  color: var(--cyan);
  text-underline-offset: 0.2rem;
}

.legal-contact {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.legal-contact p {
  margin: 0;
}

.no-js .reveal {
  opacity: 1;
}

.js .reveal {
  transform: translateY(1rem);
  opacity: 0;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 500ms ease;
}

.js .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes core-pulse {
  0% { transform: scale(0.9); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes signal {
  to { transform: scaleY(0.45); opacity: 0.45; }
}

@media (max-width: 68rem) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 54rem;
  }

  .agent-system {
    min-height: 32rem;
  }

  .manifesto-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-heading .section-index {
    margin-bottom: 0;
  }

  .project-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .effort-comparison {
    margin-top: 2.5rem;
    grid-column: 1;
    grid-row: auto;
  }

  .project-meta {
    margin-bottom: 3rem;
  }
}

@media (max-width: 50rem) {
  :root {
    --shell: min(100% - 2rem, 74rem);
  }

  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .adoption-flow {
    grid-template-columns: 1fr;
  }

  .adoption-flow i {
    transform: rotate(90deg);
    text-align: center;
  }

  .process-experience {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(5, minmax(8.4rem, 1fr));
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .process-step > span {
    grid-row: auto;
  }

  .process-panel {
    min-height: 31rem;
  }

  .projects-heading {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    min-height: auto;
    padding-block: 2.5rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .site-footer > p:last-child {
    text-align: left;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 35rem) {
  :root {
    --shell: min(100% - 1.25rem, 74rem);
  }

  .legal-main {
    width: min(100% - 1.25rem, 48rem);
  }

  .site-header {
    min-height: 4.6rem;
  }

  .brand-logo {
    height: 2.15rem;
    max-width: 10.5rem;
  }

  .site-footer .brand-logo {
    height: 2rem;
  }

  .nav-cta {
    padding-inline: 0.75rem;
    font-size: 0.75rem;
  }

  .hero {
    min-height: auto;
    padding-block: 5rem 6rem;
    gap: 4rem;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .hero-actions,
  .enablement-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .agent-system {
    min-height: 27rem;
    border-radius: 1.2rem;
  }

  .system-orbit--outer {
    width: 22rem;
    height: 22rem;
  }

  .system-orbit--inner {
    width: 14rem;
    height: 14rem;
  }

  .orchestrator-core {
    width: 8.5rem;
    height: 8.5rem;
  }

  .agent-node {
    min-width: auto;
    padding: 0.45rem 0.55rem;
    font-size: 0.64rem;
  }

  .agent-node--product { top: 10%; left: 4%; }
  .agent-node--ux { top: 17%; right: 3%; }
  .agent-node--engineering { right: 2%; bottom: 23%; }
  .agent-node--qa { bottom: 10%; left: 5%; }
  .agent-node--deploy { top: 54%; left: 1%; }

  .proof-item {
    min-height: 8.5rem;
    padding: 1rem;
  }

  .proof-item--signal {
    padding-left: 2.4rem;
  }

  .live-signal {
    left: 1rem;
  }

  .manifesto,
  .process,
  .projects,
  .enablement {
    padding-block: 6rem;
  }

  h2 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .project-card {
    border-radius: 1rem;
  }

  .project-title-row h3 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .project-symbol {
    width: 2.5rem;
    height: 2.5rem;
  }

  .effort-comparison {
    padding: 1.1rem;
  }

  .effort > div {
    align-items: start;
    flex-direction: column;
    gap: 0.15rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .project-card:hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    transform: none;
    opacity: 1;
  }
}

/* ============================================================
   cjlabs.ai – Erweiterungen für Dachmarke + Lösungspfade
   ============================================================ */

/* Sub-Page Hero (Event / Vereine) */
.subhero {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-block: clamp(4.5rem, 10vh, 8rem) clamp(3rem, 6vh, 5rem);
}
.subhero .eyebrow { margin-bottom: 0; }
.subhero h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
}
.subhero .hero-lead { margin-bottom: 0; }

/* Kategorie-Pill über Seiten hinweg */
.kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.pill {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

/* Zwei Lösungspfade auf der Startseite */
.solutions { padding-block: clamp(6rem, 12vw, 10rem); }
.solution-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3rem;
}
.solution-card {
  --accent: var(--lime);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 28rem;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 22rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006));
  text-decoration: none;
  color: var(--text);
  transition: border-color 220ms ease, transform 220ms ease;
}
.solution-card--cyan { --accent: var(--cyan); }
.solution-card:hover,
.solution-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 46%, transparent);
  transform: translateY(-3px);
}
.solution-card .card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.solution-card h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}
.solution-card p { color: var(--muted); }
.solution-card ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  color: #d8deda;
  font-size: 0.92rem;
}
.solution-card li { padding: 0.3rem 0 0.3rem 1.35rem; position: relative; }
.solution-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.solution-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 2rem;
  color: var(--accent);
  font-weight: 780;
}

/* Credibility Band */
.credibility { padding-block: clamp(5rem, 10vw, 8rem); }
.cred-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.cred-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.cred-badge {
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.85rem;
  font-weight: 650;
  color: #d8deda;
}
.cred-badge b { color: var(--lime); font-weight: 800; }
.cred-points { display: grid; gap: 1rem; }
.cred-points > div {
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}
.cred-points strong { display: block; margin-bottom: 0.3rem; }
.cred-points small { color: var(--muted); font-size: 0.9rem; }

/* Problem-Grid (Pain Points) */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.problem-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.02);
}
.problem-card span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: var(--dim);
}
.problem-card strong { display: block; margin: 0.6rem 0; font-size: 1.15rem; }
.problem-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Vertikale Schritte */
.steps-vertical { display: grid; gap: 1rem; margin-top: 3rem; }
.step-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.02);
}
.step-row .step-num {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(184, 255, 99, 0.4);
  border-radius: 50%;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
}
.step-row h3 { margin: 0 0 0.4rem; font-size: 1.3rem; letter-spacing: -0.02em; }
.step-row p { margin: 0; color: var(--muted); }

/* Feature-Liste */
.feature-list { display: grid; gap: 0.75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.feature-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.75rem;
  color: #d8deda;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.35rem;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-weight: 800;
}

/* Preise */
.pricing { padding-block: clamp(6rem, 12vw, 10rem); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.02);
}
.price-card.is-featured {
  border-color: rgba(184, 255, 99, 0.4);
  background: linear-gradient(160deg, rgba(184, 255, 99, 0.08), rgba(98, 233, 255, 0.02));
  box-shadow: inset 0 0 3rem rgba(184, 255, 99, 0.04);
}
.price-card .plan-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}
.price-card .plan-price {
  margin: 1rem 0 0.25rem;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 820;
  letter-spacing: -0.05em;
}
.price-card .plan-price small { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.price-card .plan-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.5rem; }
.price-card .feature-list { margin-top: 1rem; flex: 1; }
.price-card .button { margin-top: 1.75rem; width: 100%; }
.price-note {
  max-width: 48rem;
  margin: 2rem 0 0;
  color: var(--dim);
  font-size: 0.78rem;
}

/* FAQ */
.faq { padding-block: clamp(5rem, 10vw, 8rem); }
.faq-list { display: grid; gap: 0.75rem; margin-top: 2.5rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--lime);
  font-size: 1.4rem;
  transition: transform 180ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 1.5rem 1.5rem; color: var(--muted); }

/* CTA Band */
.cta-band {
  position: relative;
  overflow: hidden;
  margin-block: clamp(4rem, 8vw, 6rem);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border: 1px solid rgba(184, 255, 99, 0.3);
  border-radius: 1.6rem;
  background: linear-gradient(150deg, rgba(184, 255, 99, 0.08), rgba(98, 233, 255, 0.03));
  text-align: center;
}
.cta-band h2 { max-width: 20ch; margin: 0 auto 1rem; font-size: clamp(2.2rem, 4.5vw, 4rem); }
.cta-band p { max-width: 42rem; margin: 0 auto 2rem; color: var(--muted); }
.cta-band .hero-actions { justify-content: center; }

/* Kontakt */
.contact { padding-block: clamp(5rem, 10vw, 8rem); }
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.02);
  margin-top: 2.5rem;
}
.contact-card h3 { margin: 0 0 0.75rem; font-size: 1.6rem; letter-spacing: -0.03em; }
.contact-card p { color: var(--muted); }
.contact-card a.button { margin-top: 1rem; }
.contact-detail { display: grid; gap: 1rem; align-content: start; }
.contact-detail .row { padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 0.9rem; background: rgba(255,255,255,0.02); }
.contact-detail .row span { display: block; color: var(--dim); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.contact-detail .row a { color: var(--cyan); text-underline-offset: 0.2rem; }

@media (max-width: 68rem) {
  .cred-grid { grid-template-columns: 1fr; }
}
@media (max-width: 62rem) {
  .solution-grid,
  .price-grid,
  .problem-grid,
  .contact-card { grid-template-columns: 1fr; }
  .problem-grid { gap: 1rem; }
}

/* Content-Sektionen auf Unterseiten */
.problem-section,
.process-section,
.value-section {
  padding-block: clamp(4rem, 9vw, 7rem);
}
.problem-section h2,
.process-section h2,
.value-section h2 { margin-bottom: 0; }

/* ============================================================
   Lego-Baumeister-Visual (Hero): Problem → Bausteine → Lösung
   ============================================================ */
.lego-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.lego-scene .flow {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  opacity: 0.55;
  animation: lego-flow 2.6s linear infinite;
}
@keyframes lego-flow { to { stroke-dashoffset: -48; } }

.lego-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: lego-ring 2.9s ease-out infinite;
}
@keyframes lego-ring {
  0% { opacity: 0; transform: scale(0.85); }
  30% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.3); }
}

.lego-float-1, .lego-float-2, .lego-float-3, .lego-float-4 {
  transform-box: fill-box;
  transform-origin: center;
}
.lego-float-1 { animation: lego-float 5.5s ease-in-out infinite; }
.lego-float-2 { animation: lego-float 6.2s ease-in-out infinite 0.4s; }
.lego-float-3 { animation: lego-float 5s ease-in-out infinite 0.8s; }
.lego-float-4 { animation: lego-float 6.6s ease-in-out infinite 0.2s; }
@keyframes lego-float { 50% { transform: translateY(-5px); } }

.lego-sol { animation: lego-glow 3.6s ease-in-out infinite; }
@keyframes lego-glow { 50% { filter: drop-shadow(0 0 0.5rem rgba(184, 255, 99, 0.35)); } }

.lego-t {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  fill: var(--muted);
}
.lego-t--dim { fill: var(--dim); }
.lego-t--lime { fill: var(--lime); font-weight: 700; }
.lego-t--big {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  fill: var(--text);
}

/* ---- Lego-Animation v2: Bausteine -> Baumeister -> Tetris-Assembly ---- */
.lego-scene .intake {
  transform-box: fill-box;
  transform-origin: center;
  animation: lego-intake 8s ease-in-out infinite;
}
@keyframes lego-intake {
  0%   { transform: translate(0,0) scale(1); opacity: 0; }
  6%   { transform: translate(0,0) scale(1); opacity: 1; }
  14%  { transform: translate(0,0) scale(1); opacity: 1; }
  30%  { transform: translate(var(--dx,0), var(--dy,0)) scale(0.32); opacity: 0; }
  100% { transform: translate(var(--dx,0), var(--dy,0)) scale(0.32); opacity: 0; }
}
.lego-scene .sol-1, .lego-scene .sol-2, .lego-scene .sol-3 {
  transform-box: fill-box;
  transform-origin: center;
}
.lego-scene .sol-1 { animation: lego-drop1 8s ease-in-out infinite; }
.lego-scene .sol-2 { animation: lego-drop2 8s ease-in-out infinite; }
.lego-scene .sol-3 { animation: lego-drop3 8s ease-in-out infinite; }
@keyframes lego-drop1 {
  0%,34% { transform: translateY(-46px); opacity: 0; }
  42%    { transform: translateY(4px);   opacity: 1; }
  46%    { transform: translateY(0);      opacity: 1; }
  92%    { transform: translateY(0);      opacity: 1; }
  98%,100% { transform: translateY(0);    opacity: 0; }
}
@keyframes lego-drop2 {
  0%,46% { transform: translateY(-46px); opacity: 0; }
  54%    { transform: translateY(4px);   opacity: 1; }
  58%    { transform: translateY(0);      opacity: 1; }
  92%    { transform: translateY(0);      opacity: 1; }
  98%,100% { transform: translateY(0);    opacity: 0; }
}
@keyframes lego-drop3 {
  0%,58% { transform: translateY(-46px); opacity: 0; }
  66%    { transform: translateY(4px);   opacity: 1; }
  70%    { transform: translateY(0);      opacity: 1; }
  92%    { transform: translateY(0);      opacity: 1; }
  98%,100% { transform: translateY(0);    opacity: 0; }
}

/* Mini-Bausteine im Engpass-Abschnitt */
.brick-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; margin-top: 2.75rem; }
.mini-brick {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.5rem; margin-top: 0.5rem; padding: 0 1.1rem;
  border: 1px solid var(--line-strong); border-radius: 0.5rem;
  background: rgba(255,255,255,0.04); color: var(--muted);
  font-size: 0.82rem; font-weight: 680;
}
.mini-brick::before, .mini-brick::after {
  content: ""; position: absolute; top: -0.42rem; width: 0.72rem; height: 0.5rem;
  border-radius: 0.25rem 0.25rem 0 0; background: var(--line-strong);
}
.mini-brick::before { left: 28%; } .mini-brick::after { right: 28%; }
.mini-brick--lime { border-color: color-mix(in srgb, var(--lime) 45%, transparent); color: var(--lime); }
.mini-brick--lime::before, .mini-brick--lime::after { background: var(--lime); }
.brick-strip .b-arrow { color: var(--dim); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; letter-spacing: 0.05em; }

/* E2E-Flow Rahmung */
.flow-lead { margin: 3.75rem 0 0; color: var(--text); font-weight: 720; font-size: 1.08rem; }
.flow-note { max-width: 54rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  .lego-scene .intake,
  .lego-scene .sol-1, .lego-scene .sol-2, .lego-scene .sol-3 { animation: none; opacity: 1; transform: none; }
  .lego-scene .flow { animation: none; }
  .lego-ring { animation: none; opacity: 0.55; }
}

/* ---- Lego v3: Tetris-Teile greifen ineinander (statt stapeln) ---- */
.lego-scene .piece-1, .lego-scene .piece-2, .lego-scene .piece-3 {
  transform-box: fill-box;
  transform-origin: center;
}
.lego-scene .piece-1 { animation: lego-p1 8s ease-in-out infinite; }
.lego-scene .piece-3 { animation: lego-p3 8s ease-in-out infinite; }
.lego-scene .piece-2 { animation: lego-p2 8s ease-in-out infinite; }
@keyframes lego-p1 {
  0%,34% { transform: translateY(-66px) rotate(-10deg); opacity: 0; }
  44%    { transform: translateY(0) rotate(0deg);       opacity: 1; }
  92%    { transform: translateY(0) rotate(0deg);       opacity: 1; }
  98%,100% { transform: translateY(0) rotate(0deg);     opacity: 0; }
}
@keyframes lego-p3 {
  0%,46% { transform: translateY(-66px) rotate(10deg);  opacity: 0; }
  56%    { transform: translateY(0) rotate(0deg);       opacity: 1; }
  92%    { transform: translateY(0) rotate(0deg);       opacity: 1; }
  98%,100% { transform: translateY(0) rotate(0deg);     opacity: 0; }
}
@keyframes lego-p2 {
  0%,58% { transform: translateY(-66px) rotate(-6deg);  opacity: 0; }
  68%    { transform: translateY(0) rotate(0deg);       opacity: 1; }
  92%    { transform: translateY(0) rotate(0deg);       opacity: 1; }
  98%,100% { transform: translateY(0) rotate(0deg);     opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lego-scene .piece-1, .lego-scene .piece-2, .lego-scene .piece-3 { animation: none; opacity: 1; transform: none; }
}

/* ---- Feinschliff: Noppen entfernen, mehr Zufluss, Mini-Lösungsblock ---- */
/* Noppen (Studs) von den Mini-Bausteinen entfernen */
.mini-brick { margin-top: 0; }
.mini-brick::before, .mini-brick::after { content: none; }

/* Mini-Lösungsblock im Baustein-Streifen (spiegelt das Hero-Output) */
.mini-solution { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0; }
.mini-block { display: block; width: 3rem; height: auto; }
.mini-solution b { color: var(--lime); font-weight: 800; font-size: 0.84rem; }

/* Hero: Bausteine fließen langsamer & länger sichtbar hinein (mehr Zufluss) */
@keyframes lego-intake {
  0%   { transform: translate(0,0) scale(1); opacity: 0; }
  8%   { transform: translate(0,0) scale(1); opacity: 1; }
  70%  { transform: translate(var(--dx,0), var(--dy,0)) scale(0.34); opacity: 1; }
  80%  { transform: translate(var(--dx,0), var(--dy,0)) scale(0.18); opacity: 0; }
  100% { transform: translate(var(--dx,0), var(--dy,0)) scale(0.18); opacity: 0; }
}

/* ---- Lösung: farbig -> Blitzer -> einheitlicher Block ---- */
.lego-scene .lego-flash { transform-box: fill-box; transform-origin: center; opacity: 0; animation: lego-flash 8s ease-in-out infinite; }
@keyframes lego-flash {
  0%,68% { opacity: 0; transform: scale(0.9); }
  73%    { opacity: 0.92; transform: scale(1.12); }
  80%    { opacity: 0; transform: scale(1.14); }
  100%   { opacity: 0; transform: scale(0.9); }
}
.lego-scene .lego-unified { opacity: 0; animation: lego-unified 8s ease-in-out infinite; }
@keyframes lego-unified {
  0%,72% { opacity: 0; }
  79%    { opacity: 1; }
  92%    { opacity: 1; }
  98%,100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lego-scene .lego-flash { animation: none; opacity: 0; }
  .lego-scene .lego-unified { animation: none; opacity: 1; }
}

/* ---- Engpass: Chaos-Weg vs. AI-direkt (Zwei-Spuren-Illustration) ---- */
.path-illu { display: block; width: 100%; height: auto; margin-top: 2.75rem; }
.path-illu text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.path-illu .lane-tag { font-size: 11px; letter-spacing: 0.14em; }
.path-illu .blocker { font-size: 12px; fill: var(--dim); }
.path-illu .node-label { font-size: 12px; letter-spacing: 0.1em; }

.path-illu .chaos { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 4200; }
.path-illu .chaos-a { stroke: var(--dim); stroke-width: 1.7; animation: draw-chaos 9s ease-in-out infinite; }
.path-illu .chaos-b { stroke: var(--violet); stroke-width: 1.4; opacity: 0.5; animation: draw-chaos 9s ease-in-out infinite -0.8s; }
.path-illu .chaos-c { stroke: var(--cyan); stroke-width: 1.4; opacity: 0.5; animation: draw-chaos 9s ease-in-out infinite -1.6s; }
@keyframes draw-chaos {
  0%   { stroke-dashoffset: 4200; opacity: 1; }
  62%  { stroke-dashoffset: 0;    opacity: 1; }
  90%  { stroke-dashoffset: 0;    opacity: 1; }
  97%  { stroke-dashoffset: 0;    opacity: 0; }
  100% { stroke-dashoffset: 4200; opacity: 0; }
}
.path-illu .chaos-b, .path-illu .chaos-c { opacity: 0.5; }

.path-illu .ai-line { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1300; filter: drop-shadow(0 0 0.4rem rgba(184,255,99,0.5)); animation: draw-ai 9s ease-in-out infinite; }
@keyframes draw-ai {
  0%   { stroke-dashoffset: 1300; opacity: 1; }
  12%  { stroke-dashoffset: 0;    opacity: 1; }
  90%  { stroke-dashoffset: 0;    opacity: 1; }
  97%  { stroke-dashoffset: 0;    opacity: 0; }
  100% { stroke-dashoffset: 1300; opacity: 0; }
}
.path-illu .ai-flash { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ai-flash 9s ease-in-out infinite; }
@keyframes ai-flash {
  0%,10% { opacity: 0; transform: scale(0.4); }
  14%    { opacity: 0.95; transform: scale(1.15); }
  22%    { opacity: 0; transform: scale(1.25); }
  100%   { opacity: 0; transform: scale(0.4); }
}
.path-illu .blocker { opacity: 0; animation: blk 9s ease-in-out infinite; }
@keyframes blk {
  0%,14% { opacity: 0; }
  30%    { opacity: 1; }
  88%    { opacity: 1; }
  96%,100% { opacity: 0; }
}
.path-caption { max-width: 60rem; margin: 1.75rem 0 0; color: var(--muted); font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  .path-illu .chaos, .path-illu .ai-line { stroke-dashoffset: 0 !important; animation: none !important; opacity: 1 !important; }
  .path-illu .chaos-b, .path-illu .chaos-c { opacity: 0.5 !important; }
  .path-illu .blocker { opacity: 1 !important; animation: none !important; }
  .path-illu .ai-flash { opacity: 0 !important; animation: none !important; }
}

/* ---- Engpass v2: Sackgassen, neue Anläufe, Blocker leuchten nacheinander ---- */
.path-illu .chaos-a { animation: draw-chaos 10s ease-in-out infinite 0s; }
.path-illu .chaos-b { animation: draw-chaos 10s ease-in-out infinite 1.8s; }
.path-illu .chaos-c { animation: draw-chaos 10s ease-in-out infinite 3.0s; }
.path-illu .chaos-d { fill:none; stroke: var(--dim); stroke-width:1.4; opacity:.5; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:4200; animation: draw-chaos 10s ease-in-out infinite 0.9s; }
.path-illu .deadend { stroke:#ff5a5a; stroke-width:1.8; stroke-linecap:round; opacity:0; animation: blk 10s ease-in-out infinite; }
/* Blocker leuchten einzeln auf (fade-in am Beginn des jeweils verzögerten Zyklus) */
@keyframes blk { 0%{opacity:0} 4%{opacity:1} 84%{opacity:1} 92%,100%{opacity:0} }
.path-illu .blocker, .path-illu .chaos-a, .path-illu .chaos-b, .path-illu .chaos-c, .path-illu .chaos-d, .path-illu .ai-line, .path-illu .ai-flash { animation-duration: 10s; }
@media (prefers-reduced-motion: reduce) {
  .path-illu .chaos-d { opacity:.5 !important; stroke-dashoffset:0 !important; animation:none !important; }
  .path-illu .deadend { opacity:1 !important; animation:none !important; }
}


/* Interaktionen: reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  .terminal-line { transition: none; }
  .effort i::after {
    transform: scaleX(1);
    animation: none !important;
  }
}
