/* TWP Landingpages — Komponenten (design-system §6).
   Alle Komponenten nutzen die semantischen Tokens (--fg, --fg-soft, --rule)
   und funktionieren dadurch unverändert in Paper- und Navy-Sektionen. */

/* ---------- Eyebrow: Mono-Label + Hairline, Linie zeichnet sich ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.eyebrow__label {
  flex: none;
  color: var(--navy);
}
.section--navy .eyebrow__label { color: var(--sky-text); }
.eyebrow__rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
  transform-origin: left center;
}
.eyebrow .pill { flex: none; }

/* ---------- Pill ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.38em 0.95em;
  border: 1px solid var(--sky);
  border-radius: var(--radius-pill);
  background: rgba(91, 168, 255, 0.10);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.section--navy .pill { color: #fff; background: rgba(91, 168, 255, 0.16); }
.pill--live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  animation: pill-pulse 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .pill--live::before { animation: none; }
}
@keyframes pill-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

/* ---------- MetaSafeHeader: Wortmarke + 1 CTA, keine Navigation ---------- */

.site-head {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding-block: 22px;
}
.site-head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand .brand__dot { color: var(--sky); }
.brand__mark {
  position: relative;
  width: 38px;
  height: 40px;
  flex: none;
}
.brand__mark img,
.brand__mark .brand__draw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.brand__draw { pointer-events: none; }
.brand__draw path {
  fill: none;
  stroke: var(--navy);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* draw overlay exists only in motion mode; logo is gated like hero elements */
html:not(.motion) .brand__draw { display: none; }
html.motion .brand__mark img { opacity: 0; }
html.motion:not(.motion-ready) .brand__mark img {
  animation: motion-failsafe 0.45s ease-out 1.5s forwards;
}
.footer .brand__mark { width: 30px; height: 32px; }
@media (max-width: 560px) {
  /* keep header CTA roomy on phones: mark only, no wordmark text */
  .site-head .brand > span:not(.brand__mark) { display: none; }
}

.btn--small {
  padding: 0.62rem 1.25rem;
  font-size: 0.88rem;
}

/* ---------- 3D-Tilt (Signature-Cards): Sheen folgt dem Cursor ---------- */

[data-tilt] {
  position: relative;
  will-change: transform;
}
[data-tilt]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--shx, 50%) var(--shy, 50%),
    rgba(255, 255, 255, 0.085),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  [data-tilt]:hover::after { opacity: 1; }
}

/* ---------- Hero-Gerüst: Copy links, lebendes Element rechts (§4) ---------- */

.hero {
  position: relative;
  overflow: clip;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding-block: clamp(104px, 13vh, 132px) clamp(48px, 7vh, 84px);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 6.2fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero__copy > * + * { margin-top: 1.6rem; }
.hero__copy .display-1 {
  margin-top: 2.1rem;
  /* narrower column than full-bleed: cap the H1 so it holds 2–3 lines */
  font-size: clamp(2.45rem, 4.6vw, 4rem);
}
.hero__trust {
  display: block;
  margin-top: 1.15rem;
}
@media (max-width: 920px) {
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ---------- /start Hero: Erstgespräch-Vorschau-Karte ---------- */
/* Static deliverable-card that gives the hero the same right-column anchor
   as /analyse (report) and /prozess (loop). Previews what the call delivers. */
.callcard {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.10);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
}
/* quiet stacked sheet behind — same document feel as the report card */
.callcard::before {
  content: '';
  position: absolute;
  inset: 14px -10px -10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  z-index: -1;
}
@media (max-width: 920px) { .callcard { margin-inline: auto; } }
.callcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.callcard__badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--sky);
  background: rgba(91, 168, 255, 0.10);
  border-radius: var(--radius-pill);
  padding: 0.3em 0.8em;
  white-space: nowrap;
}
.callcard__title {
  margin-top: 0.95rem;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.callcard > .rule { margin-block: 1.05rem; }
.callcard__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.callcard__list li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.callcard__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.callcard__list li span {
  display: block;
  margin-top: 0.15rem;
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0;
  color: var(--slate);
}
.callcard__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.95rem;
  height: 1px;
  background: var(--sky);
}
.callcard__foot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.callcard__foot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex: none;
}

/* Ambient canvas layer — atmosphere, never foreground (§5).
   Explicit size: a replaced element ignores inset-stretching. */
.ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Hairline-Listen & Spalten (§4: Tabellen-Anmutung) ---------- */

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
@media (max-width: 920px) {
  .cols-3 { grid-template-columns: 1fr; }
}

/* List items carry their own <hr class="rule" data-hairline> as first child
   so the line draws itself on scroll entry (§4). */
.hl-item > .rule { margin-bottom: 1.4rem; }
.hl-item h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
}
.hl-item p { color: var(--fg-soft); max-width: 34rem; }

/* ---------- Steps: echte Sequenz, nummerierte Mono-Marker ---------- */

.step > .rule { margin-bottom: 1.4rem; }
.step__no {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--sky-text);
}
.step h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0.5rem 0 0.55rem;
}
.step p { color: var(--fg-soft); }

/* ---------- StatCard: exakt der One-Pager-Look ---------- */

.stat {
  border-left: 3px solid var(--navy);
  padding-left: 1.1rem;
}
.section--navy .stat { border-left-color: var(--sky); }
.stat__value {
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--fg);
}
.stat__label {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

/* ---------- UseCaseDossier (§6) ---------- */

.dossier {
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: #fff;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .dossier:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  }
}
.dossier__name {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.55rem;
}
.dossier > .rule { margin-block: 1.3rem; }
.dossier__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 2.5vw, 2.4rem);
}
@media (max-width: 700px) {
  .dossier__body { grid-template-columns: 1fr; }
}
.dossier__body h4 { margin-bottom: 0.6rem; color: var(--navy); }
.dossier__body p { color: var(--fg-soft); font-size: 0.98rem; }
.dossier__body ul {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--fg-soft);
  font-size: 0.98rem;
}
.dossier__body li {
  padding: 0.32rem 0 0.32rem 1.3rem;
  position: relative;
}
.dossier__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.86em;
  width: 0.55rem;
  height: 1px;
  background: var(--sky);
}
.dossier__solution-close { margin-top: 0.7rem; font-weight: 600; color: var(--ink); }
.dossier__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2vw, 1.8rem);
  margin-top: 1.9rem;
}
@media (max-width: 700px) {
  .dossier__stats { grid-template-columns: 1fr; gap: 1.2rem; }
}
.dossier__footnote {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--fg-soft);
}

/* Kompakte Variante: 1 Satz Herausforderung + 3 StatCards */
.dossier--compact .dossier__body { grid-template-columns: 1fr; }

/* ---------- Logo-Leiste: dezent, Graustufen, Hover Farbe ---------- */

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.2rem);
}
.logo-row img {
  height: 30px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}
.logo-row img:hover { filter: none; opacity: 1; }

/* ---------- Team ---------- */

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}
@media (max-width: 700px) {
  .team { grid-template-columns: 1fr; }
}
.team-card {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
}
.team-card img {
  width: 92px;
  height: 92px;
  border-radius: var(--radius-card);
  object-fit: cover;
}
.team-card h3 { font-size: 1.12rem; font-weight: 700; }
.team-card p { color: var(--fg-soft); font-size: 0.95rem; }
.team-card__cred {
  font-size: 0.62rem;
  margin: 0.15rem 0 0.35rem;
  color: var(--navy);
}

/* ---------- LeadForm ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.8rem;
}
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field--full { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  padding: 0.55rem 0 0.65rem;
  font-size: 1.02rem;
  color: var(--fg);
  transition: border-color 0.3s var(--ease-out);
}
.field input::placeholder,
.field textarea::placeholder { color: color-mix(in srgb, var(--fg-soft) 62%, transparent); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--navy);
  box-shadow: 0 1px 0 0 var(--navy);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%2364748B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 1.4rem;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 3.2em; }
@media (max-width: 560px) {
  /* comfortable touch targets on phones */
  .field input,
  .field select {
    padding-block: 0.75rem 0.8rem;
  }
}

/* Prominente Box-Variante (z.B. Prozess-Feld auf /prozess) */
.field--box textarea {
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem 1.05rem;
  min-height: 7.2em;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.field--box textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}

.field .field-error {
  display: none;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #B42318; /* funktionale Fehlerfarbe, nur Validierung */
}
.field.is-invalid .field-error { display: block; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #B42318; }

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--fg-soft);
}
.form-feedback { margin-top: 1.2rem; }
.form-feedback .feedback-error {
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  font-size: 0.95rem;
  color: var(--fg);
}
.form-actions { margin-top: 2rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Success-State (gelöst-Moment: einziger Einsatz von --success) */
.success { max-width: 38rem; }
.success__check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--success);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}
.success__check svg { stroke: var(--success); }
.success h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.success__steps {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: succ;
}
.success__steps li {
  counter-increment: succ;
  border-top: 1px solid var(--rule);
  padding: 0.95rem 0 0.95rem 2.6rem;
  position: relative;
  color: var(--fg-soft);
}
.success__steps li::before {
  content: '0' counter(succ);
  position: absolute;
  left: 0;
  top: 1.05rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--sky-text);
}

/* ---------- Signature /analyse: der lebende Report ---------- */

.report {
  position: relative;
  max-width: 460px;
  margin-left: auto;
}
@media (max-width: 920px) {
  .report { margin-inline: auto; }
}
/* second sheet behind the card — quiet document-stack feel */
.report::before {
  content: '';
  position: absolute;
  inset: 14px -10px -10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  z-index: -1;
}
.report__sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.10);
  padding: clamp(1.4rem, 2.4vw, 2rem);
}
.report__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.report__badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.3em 0.8em;
  white-space: nowrap;
}
.report__title {
  margin-top: 0.9rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.report__sheet > .rule { margin-block: 1.1rem; }

/* stage holds the report pages; scrub slides them through */
.report__stage {
  position: relative;
  overflow: hidden;
  min-height: 246px;
}
.report--deep .report__stage { height: 300px; min-height: 0; }
.report--deep .report__page {
  position: absolute;
  inset: 0;
  background: #fff;
}
@media (max-width: 380px) {
  .report--deep .report__stage { height: 330px; }
}

/* Reduced motion / no JS: all four pages stacked like a printed document */
html:not(.motion-ready) .report--deep .report__stage { height: auto; overflow: visible; }
html:not(.motion-ready) .report--deep .report__page {
  position: static;
  border-top: 1px solid var(--line);
  margin-top: 1.1rem;
  padding-top: 1.1rem;
}
html:not(.motion-ready) .report--deep .report__page:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}
html:not(.motion-ready) .report__pageno { display: none; }
.report__page--stats {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}
.report__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
}
.report__row:last-child { border-bottom: 0; }
.report__label { min-height: 1.2em; }
.report__label.is-typing::after {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 0.95em;
  margin-left: 2px;
  background: var(--sky);
  vertical-align: text-bottom;
}
.report__val {
  font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.report__val small {
  font-size: 0.62em;
  font-weight: 600;
  color: var(--slate);
}
.report__page--actions {
  position: absolute;
  inset: 0;
  background: #fff;
  box-shadow: 0 -18px 36px rgba(15, 23, 42, 0.07);
  padding-top: 0.2rem;
}
.report__page--actions ul {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.report__page--actions li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.report__page--actions li:last-child { border-bottom: 0; }
.report__prio {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--sky-text);
  flex: none;
}
/* --- Deep-Report: 4 blätterbare Seiten nach echter Audit-Struktur --- */

.report__sec {
  display: block;
  color: var(--navy);
  margin-bottom: 0.9rem;
}
.rsum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.rsum__cell {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
}
.rsum__cell strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rsum__cell > span {
  display: block;
  margin-top: 0.1rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
}
.rsum__cell--tint {
  background: rgba(91, 168, 255, 0.08);
  border-color: rgba(91, 168, 255, 0.45);
}
.report__finding {
  margin-top: 0.9rem;
  border-left: 3px solid var(--navy);
  padding: 0.45rem 0 0.45rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--slate);
}
.report__finding strong { color: var(--ink); }
.report__finding .report__label { display: inline; min-height: 0; }

.rlever { display: flex; flex-direction: column; gap: 0.85rem; }
.rlever__item { border-bottom: 1px solid var(--line); padding-bottom: 0.8rem; }
.rlever__item:last-child { border-bottom: 0; }
.rlever__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}
.rlever__name { font-weight: 700; font-size: 0.92rem; letter-spacing: -0.01em; }
.rlever__score {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  color: var(--slate);
  white-space: nowrap;
}
.rlever__bar {
  margin-top: 0.45rem;
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.rlever__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform-origin: left center;
}
.rlever__meta {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}
.rlever__more {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
}

.ract { display: flex; flex-direction: column; }
.ract__item {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}
.ract__item:last-child { border-bottom: 0; }
.ract__item .report__prio { flex: none; }
.ract__item h4 { font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; }
.ract__item p { margin-top: 0.15rem; font-size: 0.8rem; color: var(--slate); }

.roi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.roi__cell {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}
.roi__cell > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
}
.roi__cell strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.roi__cell--navy {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-color: var(--navy);
  color: #fff;
}
.roi__cell--navy > span { color: rgba(255, 255, 255, 0.75); }
.roi__cell--navy strong { font-size: 1.6rem; }
.roi__cell--navy em {
  display: block;
  font-style: normal;
  margin-top: 0.1rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.75);
}

.report__pageno { white-space: nowrap; }

.report__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}
.report__note { font-size: 0.62rem; }
.report__check { flex: none; }
.report__check path {
  stroke: var(--sky);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Reduced motion / no JS: both pages stacked, everything readable */
html:not(.motion-ready) .report__stage { min-height: 0; overflow: visible; }
html:not(.motion-ready) .report__page--actions {
  position: static;
  box-shadow: none;
  border-top: 1px solid var(--line);
  margin-top: 1.1rem;
  padding-top: 1.1rem;
}

/* ---------- Signature /start: Chaos → System ---------- */

.chaos { position: relative; }
.chaos__grid {
  display: grid;
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  min-height: 100svh;
  padding-block: 12vh;
}
/* static anchor so the caption column is never a lone floating line */
.chaos__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
  color: var(--navy);
}
.chaos__eyebrow::before {
  content: '';
  width: 1.8rem;
  height: 1px;
  background: var(--sky);
  flex: none;
}
.chaos__captions { position: relative; min-height: 9.5em; }
.chaos__caption {
  position: absolute;
  inset: 0 0 auto 0;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  max-width: 17em;
}
/* until the scrub takes over, only the first caption may show (no overlap flash) */
html.motion .chaos__caption:not(:first-child) { opacity: 0; }
.chaos__stage { position: relative; }
.chaos__canvas {
  width: 100%;
  height: auto;
  display: block;
  /* reserve space before JS sizes the canvas — no layout shift */
  aspect-ratio: 100 / 66;
  max-height: 560px;
  min-height: 340px;
}
.chaos__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.chaos__label {
  position: absolute;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.chaos__label::before {
  content: '';
  display: block;
  width: 1px;
  height: 14px;
  margin: 0 auto 6px;
  background: var(--sky);
}

@media (max-width: 920px) {
  .chaos__grid {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2.2rem;
    padding-block: 9vh;
  }
  .chaos__captions { min-height: 8.5em; }
  .chaos__label { font-size: 0.62rem; }
}

/* Reduced motion / no JS: end state, captions stacked and readable */
html:not(.motion-ready) .chaos__grid { min-height: 0; }
html:not(.motion-ready) .chaos__captions { min-height: 0; }
html:not(.motion-ready) .chaos__caption { position: static; margin-bottom: 1.1rem; }

/* ---------- Calendly (/start Finale) ---------- */

.calendly-wrap {
  margin-top: 2.6rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  min-height: 640px;
}
.calendly-wrap iframe { width: 100%; height: 640px; border: 0; }

/* Fallback-Form auf Navy: Felder hell */
.section--navy .field input,
.section--navy .field select,
.section--navy .field textarea {
  color: #fff;
  border-bottom-color: var(--line-on-navy);
}
.section--navy .field input:focus,
.section--navy .field select:focus,
.section--navy .field textarea:focus {
  border-bottom-color: var(--sky);
  box-shadow: 0 1px 0 0 var(--sky);
}
.section--navy .field input::placeholder,
.section--navy .field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.section--navy .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
}
.section--navy .field-error { color: #FFB4AC; }
.section--navy .field.is-invalid input,
.section--navy .field.is-invalid textarea { border-color: #FFB4AC; }
.section--navy .success__steps li { color: var(--fg-soft); }

/* ---------- Signature /prozess: der Loop ---------- */

.loop-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.10);
  padding: clamp(1.3rem, 2.2vw, 1.8rem);
  max-width: 480px;
  margin-left: auto;
}
@media (max-width: 920px) {
  .loop-card { margin-inline: auto; }
}
.loop-card__head,
.loop-card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.loop-card__head { margin-bottom: 1rem; }
.loop-card__foot { margin-top: 1.1rem; }
.loop-kw {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.loop-totals {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.05rem;
}
.loop-hours {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--slate);
  letter-spacing: -0.01em;
}
.loop-chf {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.loop-totals.is-stopped .loop-hours,
.loop-totals.is-stopped .loop-chf { color: var(--success); }
.loop-stage { position: relative; }
.loop-canvas {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 100 / 74; /* matches the JS sizing — no layout shift */
}

/* the named task blocks that never move — until the visitor stops them */
.loop-task {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.4rem 0.5rem;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  transition: background-color 0.5s var(--ease-out);
}
.loop-task strong {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.25;
  hyphens: auto;
  overflow-wrap: break-word;
}
.loop-task svg {
  position: absolute;
  right: 0.4rem;
  bottom: 0.35rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.loop-task svg path {
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.loop-task.is-done { background: var(--success); }
.loop-task.is-done svg { opacity: 1; }
@media (max-width: 560px) {
  /* narrow columns: blocks grow with their label instead of clipping it */
  .loop-task { height: auto !important; padding: 0.35rem 0.4rem 0.45rem; }
  .loop-task strong { font-size: 0.58rem; }
  .loop-task svg { display: none; }
  .loop-task.is-done::after {
    content: '✓';
    position: absolute;
    right: 0.3rem;
    bottom: 0.15rem;
    font-size: 0.6rem;
  }
}

/* ---------- /prozess: Formular-first-Hero & Kandidaten-Cards ---------- */

.phero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6.4fr) minmax(0, 4.6fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(2.4rem, 4vw, 3.6rem);
}
@media (max-width: 920px) {
  .phero__grid { grid-template-columns: 1fr; gap: 3rem; }
}

.cand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2.2rem;
}
@media (max-width: 920px) {
  .cand-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cand-grid { grid-template-columns: 1fr; }
}
.cand-card {
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  padding: 1.3rem 1.3rem 1.2rem;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    border-color: var(--sky);
  }
}
.cand-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 0.55rem;
}
.cand-card .cand-card__hint {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--fg-soft);
}
.cand-card__check {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.cand-card__check svg { opacity: 0; transition: opacity 0.25s var(--ease-out); }
.cand-card__check svg path {
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.cand-card.is-done .cand-card__check {
  background: var(--success);
  border-color: var(--success);
}
.cand-card.is-done .cand-card__check svg { opacity: 1; }

/* ---------- FinalCTA: Navy-Finale ---------- */

.final-cta { text-align: left; }
.final-cta .display-2 { max-width: 24ch; }
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.4rem;
}
.final-cta__trust {
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

/* ---------- Footer-Minimal ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.6rem;
}
.footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.1rem;
}
.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--slate);
}
.footer__links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.88rem;
}
.footer__links a { color: var(--slate); }
@media (max-width: 700px) {
  .footer__in { flex-direction: column; align-items: flex-start; }
}
