/* =================================================================
   STUDIO-WEBSITE — Basisschicht (Alt-Tokens unten, aktive Skin und
   Rework-Fundament liegen als spätere Blöcke darüber).
   ================================================================= */
:root {
  --fp-paper: var(--pv-stone-lit);
  --fp-ink: #0B0908;
  --fp-bg: var(--fp-paper);
  --fp-fg: var(--fp-ink);
  --fp-line: rgba(14, 14, 12, 0.10);
  --fp-line-strong: rgba(14, 14, 12, 0.35);
  --fp-muted: var(--pv-on-light-muted);
  --fp-accent: #FF4400;
  /* Für TEXT auf hellem Grund: dunklere Akzentvariante (WCAG 4.5:1) —
     Grafik/Linien nutzen weiter --fp-accent. */
  --fp-accent-text: #C33500;

  --fp-font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --fp-mono: 'Fragment Mono', 'Courier New', monospace;

  --fp-space-1: 4px;
  --fp-space-2: 8px;
  --fp-space-3: 12px;
  --fp-space-4: 16px;
  --fp-space-6: 24px;
  --fp-space-8: 32px;
  --fp-space-12: 48px;
  --fp-space-16: 64px;
  --fp-space-24: 96px;
  --fp-space-32: 128px;

  --fp-margin: clamp(20px, 4vw, 80px);
}

/* =================================================================
   Reset
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--fp-bg);
  color: var(--fp-fg);
  font-family: var(--fp-font);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; padding: 0; }
input, textarea { font: inherit; border-radius: 0; }

.mono {
  font-family: var(--fp-mono);
  font-size: clamp(11px, 0.65rem + 0.2vw, 13px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.u-skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: #0B0908;
  color: var(--pv-stone-lit);
  outline: 2px solid var(--fp-accent);
  padding: var(--fp-space-3) var(--fp-space-6);
  z-index: 999;
}
.u-skip-link:focus { left: var(--fp-space-4); top: var(--fp-space-4); }

::selection { background: var(--fp-accent); color: #fff; }

/* Seiten-Layout (Unterseiten) */
.fp-page {
  position: relative;
  z-index: 1;
  padding: clamp(120px, 18vh, 180px) var(--fp-margin) var(--fp-space-12);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.fp-page__title {
  font-size: clamp(2.6rem, 1.2rem + 8vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  font-weight: 700;
  font-stretch: 118%;
  text-transform: uppercase;
  margin-top: var(--fp-space-6);
}
.fp-page__title em { font-style: normal; color: var(--fp-accent-text); }
.fp-page__lead {
  margin-top: var(--fp-space-8);
  max-width: 34em;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  color: var(--fp-muted);
}

.fp-footer__namehint { color: var(--fp-muted); margin-left: var(--fp-space-3); }
.fp-footer__mark { display: flex; align-items: center; gap: 0; }

/* =================================================================
   Sektions-Grundlagen
   ================================================================= */
main { position: relative; z-index: 1; }
section { position: relative; }

.fp-seclabel { color: var(--fp-muted); }
.fp-seclabel span { color: var(--fp-accent-text); margin-right: var(--fp-space-2); }

/* =================================================================
   SEKTION 01 — HERO
   ================================================================= */
.fp-hero {
  height: 100svh;
  min-height: 560px;
  display: grid;
  place-items: center;
  padding-inline: var(--fp-margin);
  overflow: clip;
}
.fp-hero__stage { position: relative; width: 100%; }

/* Hero-Split: Statement links, selbstbauende Website rechts */
.fp-hero--split .fp-hero__stage {
  display: grid;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
@media (min-width: 1024px) {
  .fp-hero--split .fp-hero__stage { grid-template-columns: 6fr 5fr; }
}
/* Zeilen kommen per <br>; nowrap + fitMark() verhindern jeden Wortbruch */
.fp-hero--split .fp-hero__mark {
  font-size: clamp(2.6rem, 7.6vw, 8.5rem);
  text-align: left;
  white-space: nowrap;
  word-break: keep-all;
}
.fp-hero--split .fp-hero__sub { flex-direction: column; align-items: flex-start; gap: var(--fp-space-2); }

/* Die selbstbauende Website */
.fp-build {
  border: 1px solid var(--fp-line-strong);
  background: var(--fp-mock-paper, #fff);
}
.fp-build__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding-inline: var(--fp-space-3);
  border-bottom: 1px solid var(--fp-line-strong);
}
.fp-build__bar i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(14,14,12,0.35); }
.fp-build__url { color: var(--pv-on-light-muted); margin-left: var(--fp-space-2); }
.fp-build__page {
  position: relative;
  height: clamp(240px, 36vh, 380px);
}
.fp-build__el { position: absolute; background: #0B0908; }
.fp-build__nav { top: 6%; left: 6%; right: 6%; height: 8%; }
.fp-build__h1 { top: 24%; left: 6%; width: 44%; height: 9%; }
.fp-build__h2 { top: 36%; left: 6%; width: 32%; height: 5%; background: rgba(14,14,12,0.35); }
.fp-build__img { top: 22%; right: 6%; width: 38%; height: 40%; background: var(--fp-mock-navy); }
.fp-build__card { bottom: 9%; width: 24%; height: 22%; }
.fp-build__card--a { left: 6%; background: var(--fp-mock-yellow); }
.fp-build__card--b { left: 34%; background: var(--fp-mock-terra); }
.fp-build__card--c { left: 62%; background: var(--fp-mock-navy); }
.fp-build__btn { top: 48%; left: 6%; width: 18%; height: 7%; background: var(--fp-accent); }
.fp-build__status {
  border-top: 1px solid var(--fp-line-strong);
  padding: var(--fp-space-2) var(--fp-space-3);
  color: var(--pv-on-light-muted);
}

.fp-hero__mark {
  font-size: clamp(1.8rem, 9.6vw, 12rem);
  line-height: 0.84;
  letter-spacing: -0.015em;
  font-weight: 700;
  font-stretch: 125%;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.fp-hero__mark .char { will-change: transform; }

/* Code-Tags rahmen die Wortmarke wie Markup */
.fp-hero__tag { color: var(--fp-muted); }
.fp-hero__tag--open { margin-bottom: clamp(10px, 1.6vw, 20px); }
.fp-hero__tag--close { margin-top: clamp(10px, 1.6vw, 20px); text-align: right; }
.fp-ok { color: var(--fp-accent-text); }

/* Der eine blinkende Terminal-Caret — Signatur, bewusst die einzige Schleife */
.fp-caret {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 0.3em;
  vertical-align: text-bottom;
  background: var(--fp-accent);
  animation: fp-blink 1.1s steps(2, start) infinite;
}
@keyframes fp-blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .fp-caret { animation: none; } }

.fp-hero__sub {
  display: flex;
  justify-content: space-between;
  gap: var(--fp-space-6);
  margin-top: clamp(12px, 2vw, 24px);
  color: var(--fp-muted);
  flex-wrap: wrap;
}
.fp-hero__claim { color: var(--fp-fg); }

.fp-hero__scroll {
  position: absolute;
  bottom: 40px;
  right: var(--fp-margin);
  color: var(--fp-muted);
  writing-mode: vertical-rl;
}

/* =================================================================
   SEKTION 03 — SYSTEM (invertiert)
   ================================================================= */
.fp-system__stage {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--fp-space-16) var(--fp-margin);
  gap: clamp(20px, 3vh, 40px);
}
.fp-system__readout {
  position: absolute;
  top: var(--fp-space-16);
  right: var(--fp-margin);
  color: var(--fp-muted);
}
.fp-system__readout span { color: var(--fp-accent-text); }

/* =================================================================
   Mock-Farbwelt: Farbe kommt aus der ARBEIT (Demo-Paletten),
   nicht aus Dekoration. Nur innerhalb von Mock-Fenstern verwenden.
   ================================================================= */
:root {
  --fp-mock-navy: #1E3A5F;
  --fp-mock-yellow: #F2C230;
  --fp-mock-terra: #B25B3F;
  --fp-mock-paper: #FFFFFF;
}

/* Phasen-Verwandlung: eine Website durchläuft Entwurf → Design → Code → Live */
.fp-stages {
  display: grid;
  gap: var(--fp-space-8);
}
@media (min-width: 1024px) {
  .fp-stages { grid-template-columns: 3fr 1fr; align-items: end; }
}
.fp-stagemock {
  position: relative;
  border: 1px solid var(--fp-line-strong);
  background: var(--fp-mock-paper);
  height: clamp(280px, 44vh, 460px);
}
.fp-stagemock__bar {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 6px;
  align-items: center;
  height: 34px;
  padding-inline: var(--fp-space-3);
  border-bottom: 1px solid var(--fp-line-strong);
  background: var(--fp-mock-paper);
}
.fp-stagemock__bar i {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(14,14,12,0.35);
}
.fp-stage {
  position: absolute;
  inset: 34px 0 0 0;
  padding: 6%;
}
.fp-stage[data-fp-stage="2"],
.fp-stage[data-fp-stage="3"],
.fp-stage[data-fp-stage="4"] { clip-path: inset(0 0 100% 0); }

/* Stage 1+2 tragen die Geometrie der Live-Demo (Reinholt & Cie.):
   zentriertes Editorial-Layout — Nav, Eyebrow, zwei Headline-Zeilen,
   Subline, zwei Buttons. Dieselbe Website wächst durch die Phasen. */
:root {
  --fp-mock-cream: var(--pv-stone-lit);
  --fp-mock-gold: #A8894E;
}

/* Stage 1: Skelett — gestrichelte Platzhalter, gleiche Positionen */
.fp-stage__sk { position: absolute; border: 1.5px dashed rgba(14,14,12,0.35); }
.fp-stage__sk--nav { top: 5%; left: 6%; right: 6%; height: 8%; }
.fp-stage__sk--eyebrow { top: 24%; left: 41%; width: 18%; height: 3%; }
.fp-stage__sk--h1a { top: 33%; left: 18%; width: 64%; height: 8%; }
.fp-stage__sk--h1b { top: 44%; left: 24%; width: 52%; height: 8%; }
.fp-stage__sk--sub { top: 57%; left: 30%; width: 40%; height: 3.5%; }
.fp-stage__sk--btn1 { top: 67%; left: 31%; width: 17%; height: 9%; }
.fp-stage__sk--btn2 { top: 67%; left: 52%; width: 17%; height: 9%; }

/* Stage 2: Design — dieselben Positionen, eingefärbt in Reinholt-Palette */
.fp-stage[data-fp-stage="2"] { background: var(--fp-mock-cream); }
.fp-stage__d { position: absolute; background: var(--fp-mock-navy); }
.fp-stage__d--nav { top: 5%; left: 6%; right: 6%; height: 8%; }
.fp-stage__d--eyebrow { top: 24%; left: 41%; width: 18%; height: 3%; background: var(--fp-mock-gold); }
.fp-stage__d--h1a { top: 33%; left: 18%; width: 64%; height: 8%; }
.fp-stage__d--h1b { top: 44%; left: 24%; width: 52%; height: 8%; }
.fp-stage__d--sub { top: 57%; left: 30%; width: 40%; height: 3.5%; background: rgba(21,34,56,0.4); }
.fp-stage__d--btn1 { top: 67%; left: 31%; width: 17%; height: 9%; }
.fp-stage__d--btn2 { top: 67%; left: 52%; width: 17%; height: 9%; background: transparent; border: 1.5px solid var(--fp-mock-gold); }

/* Stage 3: Code — dunkler Editor */
.fp-stage--code { background: var(--fp-ink); }
.fp-stage--code pre {
  margin: 0;
  color: var(--pv-stone-lit);
  font-size: clamp(10px, 1.2vw, 14px);
  line-height: 1.7;
  white-space: pre;
  overflow: hidden;
  text-transform: none; /* Code ist case-sensitiv — kein Mono-Uppercase */
  letter-spacing: 0.02em;
}

/* Stage 4: Live — Design + Badge */
.fp-stage--live { background: var(--fp-mock-paper); }
.fp-stage__badge {
  position: absolute;
  right: 6%;
  bottom: 34%;
  background: var(--fp-ink);
  color: var(--pv-stone-lit);
  padding: 4px 10px;
}

.fp-stages__labels {
  display: flex;
  flex-direction: column;
  gap: var(--fp-space-3);
  color: var(--fp-muted);
}
/* Stepper: der aktive Schritt leuchtet unübersehbar, erledigte tragen ✓ */
.fp-stages__labels li {
  position: relative;
  padding-left: 18px;
  opacity: 0.45;
  transition: opacity 0.35s ease, color 0.35s ease, transform 0.35s ease, font-size 0.35s ease;
}
.fp-stages__labels li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  width: 10px;
  height: 2px;
  background: var(--fp-accent);
  transition: transform 0.35s ease;
}
.fp-stages__labels li span { color: var(--fp-accent-text); margin-right: var(--fp-space-2); }
.fp-stages__labels li.is-done { opacity: 0.8; color: var(--fp-fg); }
.fp-stages__labels li.is-done::after { content: " ✓"; color: var(--fp-accent-2); }
.fp-stages__labels li.is-current {
  opacity: 1;
  color: var(--fp-fg);
  transform: translateX(6px);
  font-size: 15px;
}
.fp-stages__labels li.is-current::before {
  transform: translateY(-50%) scaleX(1);
}
/* Rückwärts-Kompatibilität für alte is-on-Setzungen */
.fp-stages__labels li.is-on { color: var(--fp-fg); opacity: 0.8; }
@media (max-width: 1023px) {
  .fp-stages__labels { flex-direction: row; flex-wrap: wrap; gap: var(--fp-space-2) var(--fp-space-6); }
}

.fp-system__copy {
  position: relative;
  min-height: 7em; /* Platz für die längeren Phasen-Texte — Absätze liegen absolut übereinander */
  max-width: 30em;
  align-self: flex-end;
}
.fp-system__copy p {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  clip-path: inset(0 0 100% 0);
}
.fp-system__copy p.is-current { clip-path: inset(0 0 0 0); }

.fp-system__final {
  font-size: clamp(2rem, 6vw, 6rem);
  line-height: 0.9;
  font-weight: 700;
  font-stretch: 62%;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
}

/* =================================================================
   SEKTION 05 — KONTAKT (invertiert, kein Pin — das Instrument ruht)
   ================================================================= */
.fp-contact {
  min-height: 100svh;
  padding: var(--fp-space-32) var(--fp-margin) var(--fp-space-12);
  display: flex;
  flex-direction: column;
}
.fp-contact__title {
  font-size: clamp(2.6rem, 1.2rem + 9vw, 11rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  font-weight: 700;
  font-stretch: 118%;
  text-transform: uppercase;
  margin-top: var(--fp-space-8);
}
.fp-contact__line { display: block; overflow: clip; }
.fp-contact__slot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.06em;
  vertical-align: baseline;
}

.fp-contact__grid {
  display: grid;
  gap: var(--fp-space-16);
  margin-top: clamp(48px, 8vh, 112px);
}
@media (min-width: 1024px) {
  .fp-contact__grid { grid-template-columns: 7fr 5fr; gap: var(--fp-space-24); }
}

.fp-field { position: relative; margin-bottom: var(--fp-space-12); }
.fp-field label { display: block; color: var(--fp-muted); margin-bottom: var(--fp-space-2); }
.fp-field input, .fp-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--fp-fg);
  padding: var(--fp-space-2) 0 var(--fp-space-3);
  resize: none;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
}
.fp-field input:focus, .fp-field textarea:focus { outline: none; }
.fp-field::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fp-line-strong);
}
.fp-field__rule {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fp-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.fp-field:focus-within .fp-field__rule { transform: scaleX(1); }
.fp-field:focus-within label { color: var(--fp-accent-text); }
.fp-field__count {
  position: absolute;
  right: 0; bottom: -1.6em;
  color: var(--fp-muted);
}
.fp-field__error { color: var(--fp-accent-text); margin-top: var(--fp-space-2); }

.fp-submit {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 72px;
  margin-top: var(--fp-space-8);
  border: 1px solid var(--fp-line-strong);
  font-family: var(--fp-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s;
}
.fp-submit:hover { border-color: var(--fp-accent-text); color: var(--fp-accent-text); }

.fp-contact__stamp { color: var(--fp-accent-text); margin-top: var(--fp-space-6); }

.fp-contact__direct { align-self: start; }
.fp-contact__direct > .mono { color: var(--fp-muted); }
.fp-contact__mail {
  display: inline-block;
  font-size: clamp(1.2rem, 1rem + 1.4vw, 2rem);
  font-weight: 700;
  font-stretch: 110%;
  margin-top: var(--fp-space-4);
  position: relative;
}
.fp-contact__mail::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--fp-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.fp-contact__mail:hover::after { transform: scaleX(1); transform-origin: left; }
.fp-contact__note { color: var(--fp-muted); margin-top: var(--fp-space-4); }

/* =================================================================
   Footer — strukturierte Führung: Marke / 3 Spalten / Basiszeile.
   Extra-Bodenfreiheit unten, damit die fixierten Readouts (X/Y, BUILD)
   nie über Footer-Inhalten schweben.
   ================================================================= */
.fp-footer {
  margin-top: auto;
  padding-top: var(--fp-space-24);
}
.fp-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--fp-space-3) var(--fp-space-8);
  flex-wrap: wrap;
  border-top: 1px solid var(--fp-line-strong);
  padding-top: var(--fp-space-8);
}
.fp-footer__tag { color: var(--fp-muted); }
.fp-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--fp-space-8);
  margin-top: var(--fp-space-12);
}
@media (max-width: 639px) {
  .fp-footer__grid { grid-template-columns: 1fr; gap: var(--fp-space-6); }
}
.fp-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--fp-space-3);
  align-items: flex-start;
}
.fp-footer__head { color: var(--fp-muted); margin-bottom: var(--fp-space-1); }
.fp-footer__col a {
  color: var(--fp-fg);
  min-height: 24px;
  transition: color 0.2s;
}
.fp-footer__col a:hover { color: var(--fp-accent-text); }
.fp-footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--fp-space-3) var(--fp-space-8);
  flex-wrap: wrap;
  border-top: 1px solid var(--fp-line);
  margin-top: var(--fp-space-16);
  padding-top: var(--fp-space-4);
  padding-bottom: var(--fp-space-12);
  color: var(--fp-muted);
}
.fp-footer__base button {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--fp-fg);
  min-height: 24px;
  transition: color 0.2s;
}
.fp-footer__base button:hover { color: var(--fp-accent-text); }

/* =================================================================
   Seclabel-Link, CTA-Band, Footer-Nav
   ================================================================= */
.fp-seclabel__link { color: var(--fp-fg); }
.fp-seclabel__link:hover { color: var(--fp-accent-text); }

.fp-cta {
  position: relative;
  padding: var(--fp-space-32) var(--fp-margin) var(--fp-space-12);
  display: flex;
  flex-direction: column;
  min-height: 80svh;
}
.fp-cta--sub { padding: var(--fp-space-24) 0 0; min-height: 0; }
.fp-cta__title {
  font-size: clamp(2.4rem, 1.2rem + 7.5vw, 9rem);
  line-height: 0.9;
  font-weight: 700;
  font-stretch: 118%;
  text-transform: uppercase;
  margin-top: var(--fp-space-6);
}
.fp-cta__title em { font-style: normal; color: var(--fp-accent-text); }
.fp-cta__line { display: block; overflow: clip; }
.fp-cta__line-inner { display: block; }
.fp-cta__row {
  display: flex;
  align-items: center;
  gap: var(--fp-space-12);
  flex-wrap: wrap;
  margin-top: var(--fp-space-16);
}
.fp-btn-block {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 72px;
  padding-inline: var(--fp-space-12);
  border: 1px solid var(--fp-line-strong);
  font-family: var(--fp-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.fp-btn-block:hover { border-color: var(--fp-accent-text); color: var(--fp-accent-text); }
.fp-cta__mail { color: var(--fp-muted); }
.fp-cta__mail:hover { color: var(--fp-accent-text); }


/* =================================================================
   Showroom: Browser-Simulator
   ================================================================= */
.fp-showroom {
  display: grid;
  gap: var(--fp-space-8);
  margin-top: var(--fp-space-16);
}
@media (min-width: 1024px) {
  .fp-showroom { grid-template-columns: minmax(240px, 1fr) 3.5fr; }
}
.fp-showroom__list { display: flex; flex-direction: column; }
.fp-showroom__case {
  display: flex;
  flex-direction: column;
  gap: var(--fp-space-1);
  padding: var(--fp-space-4) var(--fp-space-3);
  border-top: 1px solid var(--fp-line-strong);
  text-align: left;
  transition: background 0.2s;
}
.fp-showroom__case:last-of-type { border-bottom: 1px solid var(--fp-line-strong); }
.fp-showroom__case .mono { color: var(--fp-muted); }
.fp-showroom__case strong {
  font-size: clamp(1.1rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 700;
  font-stretch: 110%;
  text-transform: uppercase;
}
.fp-showroom__case:hover strong { color: var(--fp-accent-text); }
.fp-showroom__case.is-current { background: var(--fp-line); }
.fp-showroom__case.is-current strong { color: var(--fp-accent-text); }
.fp-showroom__meta {
  margin-top: var(--fp-space-8);
  color: var(--fp-muted);
  display: flex;
  flex-direction: column;
  gap: var(--fp-space-2);
  border-left: 1px solid var(--fp-line-strong);
  padding-left: var(--fp-space-3);
}

.fp-browser { border: 1px solid var(--fp-line-strong); }
.fp-browser__bar {
  display: flex;
  align-items: center;
  gap: var(--fp-space-4);
  padding: var(--fp-space-3) var(--fp-space-4);
  border-bottom: 1px solid var(--fp-line-strong);
  flex-wrap: wrap;
}
.fp-browser__dots { display: flex; gap: 6px; }
.fp-browser__dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--fp-line-strong);
}
.fp-browser__dots i:first-child { background: var(--fp-accent); border-color: var(--fp-accent-text); }
.fp-browser__url {
  flex: 1;
  min-width: 140px;
  color: var(--fp-muted);
  border: 1px solid var(--fp-line);
  padding: var(--fp-space-2) var(--fp-space-3);
}
.fp-browser__devices { display: flex; gap: 2px; }
.fp-browser__devices button {
  padding: var(--fp-space-2) var(--fp-space-3);
  border: 1px solid var(--fp-line-strong);
  color: var(--fp-muted);
  font-family: var(--fp-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: color 0.2s, border-color 0.2s;
  min-height: 32px;
}
.fp-browser__devices button:hover { color: var(--fp-fg); }
.fp-browser__devices button.is-current {
  color: var(--fp-accent-text);
  border-color: var(--fp-accent-text);
}
.fp-browser__open { color: var(--fp-fg); font-size: 15px; padding: var(--fp-space-2); }
.fp-browser__open:hover { color: var(--fp-accent-text); }

.fp-browser__stage {
  background: var(--fp-line);
  padding: clamp(0px, 1.5vw, 24px);
  display: flex;
  justify-content: center;
}
.fp-browser__viewport {
  width: 100%;
  max-width: 100%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #fff;
}
.fp-browser__viewport iframe {
  display: block;
  width: 100%;
  height: clamp(420px, 62vh, 720px);
  border: 0;
}
.fp-browser__viewport.is-tablet { width: min(768px, 100%); }
.fp-browser__viewport.is-mobil { width: min(375px, 100%); }
.fp-browser__hint {
  padding: var(--fp-space-3) var(--fp-space-4);
  border-top: 1px solid var(--fp-line-strong);
  color: var(--fp-muted);
}

/* Rechtsseiten */
.fp-page > .fp-seclabel { font-size: 13px; letter-spacing: 0.08em; font-weight: 500; }
.fp-legal { margin-top: var(--fp-space-16); max-width: 40em; }
.fp-legal__todo { color: var(--fp-accent-text); margin-bottom: var(--fp-space-8); font-size: 0.95rem; }
.fp-legal h2 {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 700;
  font-stretch: 110%;
  text-transform: uppercase;
  margin-top: var(--fp-space-12);
}
.fp-legal p { color: var(--fp-muted); margin-top: var(--fp-space-3); }

/* =================================================================
   Reduzierte Bewegung: Endzustände sofort, nichts pinnt
   body.is-static wird von JS gesetzt und erzwingt gestapelte Layouts.
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body.is-static .fp-contact__slot {
  background: var(--fp-accent);
  border-radius: 50%;
}
body.is-static .fp-system__copy p { position: static; clip-path: none; }
body.is-static .fp-system__copy p + p { margin-top: var(--fp-space-3); }

/* =================================================================
   MODERN-DEV-RESKIN — die neue Haut.
   Weg vom Architekturbüro (Papier, Haarlinien-Raster, Signalorange),
   hin zum Dev-Studio: Deep Dark, Elektro-Violett/Cyan, Radien, Glow,
   Glas-Leisten. Liegt bewusst ALS LETZTE SCHICHT über allem —
   die Seiten hängen an den Tokens und folgen automatisch.
   ================================================================= */
/* QUIET-LUXURY-BASIS: Licht-first. Warmes Off-White als Grundfläche,
   Graphit-Text, tiefes Navy als bewusster Kontrast (Heimat des Logos),
   Signalrot rationiert. Dunkle px-Ebenen einzelner Seiten werden von
   den Seiten-Buildern auf dieses System gehoben. */
:root {
  --fp-paper: var(--pv-stone-lit);              /* warmes Off-White — Grundfläche */
  --fp-ink: #240B0B;                /* tiefes Nachtrot — dunkle Panel-/Kontrastfläche */
  --fp-bg: var(--pv-stone-lit);
  --fp-bg-soft: var(--pv-stone-lit);            /* gebrochenes Warmgrau für ruhige Wechselflächen */
  --fp-fg: #191716;                 /* Graphit, kein reines Schwarz */
  --fp-line: rgba(33, 26, 23, 0.12);
  --fp-line-strong: rgba(33, 26, 23, 0.26);
  --fp-muted: var(--pv-on-light-muted);
  --fp-accent: var(--pv-blue);             /* Signalrot #CC0000 — Token heißt aus Bestandsgründen --pv-blue */
  --fp-accent-2: var(--pv-blue-hi);           /* Signalrot — Icons/Details */
  --fp-accent-text: var(--pv-blue);
  --fp-surface: #FFFFFF;
  --fp-r: 12px;
  --fp-r-lg: 18px;
  --fp-shadow: 0 18px 60px rgba(33, 26, 23, 0.12);
  --fp-glow: none;
  /* Navy-Welt für dunkle Kontrast-Sections — Namen bleiben aus
     Bestandsgründen, drin steht das dunkle Nachtrot #240B0B */
  --pl-navy: #240B0B;
  --pl-navy-2: #240B0B;
  --pl-navy-fg: var(--pv-on-dark);
  --pl-navy-muted: var(--pv-on-dark-muted);
  --pl-navy-line: rgba(249, 244, 242, 0.14);
  --pl-blue-hi: var(--pv-blue-hi);            /* Logo-443-Rot — NUR auf Navy; Name bleibt aus Bestandsgründen */
  --pl-champagne: var(--pv-on-dark-muted);          /* sehr kontrolliert: Hairlines/Ziffern auf Navy */
  color-scheme: light;
}
/* PERF: kein background-attachment:fixed (malt bei JEDEM Scroll-Frame neu
   und ruckelt auf realer Hardware) — die Glows leben auf einer eigenen
   fixen, compositeten Ebene. Sieht identisch aus, kostet nichts. */
body { background: var(--fp-bg); }
/* Feines Korn als Material — auf warmem Licht wie edles Naturpapier.
   Keine Glows, keine Verläufe: Ruhe ist das Luxusgut. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E") repeat;
  background-size: 160px 160px;
  transform: translateZ(0);
}

/* Mono-Labels: bleiben technisch, aber leiser (weniger Sperrung) */
.mono { letter-spacing: 0.05em; }

/* Logo-Slot: harte, gesetzte Marke — kein leuchtendes Verlaufs-Quadrat
   (DAS KI-Baukasten-Signal schlechthin). Voller Kern, klare Kante. */
.fp-logo-slot { border-radius: 4px; border-color: var(--fp-fg); }
.fp-logo-slot::after {
  border-radius: 1px;
  background: var(--fp-accent);
  box-shadow: none;
}

/* Buttons: geometrisch statt Gradient-Pille-mit-Glow (KI-Signal).
   Hover = Akzentkante + flache Farbfläche, kein Leuchten. */
.fp-btn-block, .fp-submit {
  border-radius: 10px;
  border-color: var(--fp-line-strong);
  background: transparent;
  /* DNA (d): rein 0.35s schnell, raus 0.5s weich */
  transition: border-color 0.5s ease, color 0.5s ease, background-color 0.5s ease;
}
.fp-btn-block:hover, .fp-submit:hover {
  border-color: var(--pl-navy);
  color: var(--pl-navy-fg);
  background-color: var(--pl-navy);
  transition-duration: 0.35s;
}
.fp-submit__corner { display: none; } /* Passermarken-Ecken sind Architektur */

/* Akzent in Headlines: satt und solide — Gradient-Text ist KI-Vokabular */
.fp-page__title em, .fp-cta__title em {
  color: var(--fp-accent-text);
}

/* Formulare */
.fp-field input, .fp-field textarea { color: var(--fp-fg); }
.fp-field__rule { background: linear-gradient(90deg, var(--fp-accent), var(--fp-accent-2)); }

/* Caret + Häkchen (Restbestände — Seiten-Builder bauen sie ab) */
.fp-caret { background: var(--fp-accent); box-shadow: none; }
.fp-ok { color: var(--fp-accent); }

::selection { background: var(--pl-navy); color: #FFFFFF; }
.u-skip-link { background: var(--pl-navy); color: #fff; outline: none; border-radius: 8px; }

/* Mock-/Browser-Fenster (alle Seiten): Radius, Tiefe, Glas-Rand.
   Die weißen Kunden-Mocks POPPEN jetzt als "das Werk" aus dem Dunkel. */
/* Explizite Container-Liste — Substring-Selektoren ([class*="win"]) trafen
   auch BEM-Kinder (.px-pmock__h1 …) und renderten sie als Schatten-Pillen. */
.fp-build, .fp-browser, .px-win, .px-pmock, .px-mockwin,
.px-case__winwrap, .px-bench, .px-mp__win, .fp-stagemock {
  border-radius: var(--fp-r);
  overflow: clip;
  border-color: var(--fp-line-strong);
  box-shadow: var(--fp-shadow);
}
.fp-build__btn { background: var(--fp-accent); }

/* Footer: weicher Abschluss */
.fp-footer__top { border-top-color: var(--fp-line-strong); }
.fp-footer__base { border-top-color: var(--fp-line); }

/* Karten-Lift (DNA d): umrandete Karten heben sich dem Zeiger entgegen */
.fp-showroom__case {
  transition: transform 0.5s ease, border-color 0.5s ease, background 0.5s ease;
}
.fp-showroom__case:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 0, 0, 0.45);
  transition-duration: 0.35s;
}

/* Basis hat KEINE Ambient-Glow-Drift mehr (KI-Signal). Die Ebene bleibt
   als Träger für Kapitel-Atmosphären (galerie/werkstatt/terminal). */
body::after {
  content: "";
  position: fixed;
  inset: -15%;
  z-index: -1;
  pointer-events: none;
  background: none;
}

/* PERF: skalierte Live-iframes auf eigene Compositor-Ebenen —
   sonst rastert der Browser sie beim Scrollen ständig neu (Zucken) */
.fp-browser__viewport iframe,
.px-case__stage iframe,
.px-heute iframe,
.px-liveframe {
  will-change: transform;
  backface-visibility: hidden;
}

/* Reduced-Motion behält alles — nur Farben ändern sich nicht dynamisch */

/* =================================================================
   REWORK-FUNDAMENT — „Ein Studio, fünf Instrumente"
   Kapitel-Tokens pro Seite (body[data-chapter]), Fokus-Sichtbarkeit,
   Nav-Höhen-Token, Mobile-Nav-Deckung. Liegt bewusst NACH dem Reskin;
   Seiten ohne data-chapter (index, Rechtsseiten) behalten die Basis.
   ================================================================= */
:root {
  --fp-nav-h: 60px; /* Höhe des KOMPAKTEN Sticky-Verlagskopfs (Anker/Sticky-Offsets) */
  /* Akzent für TEXT auf hellen Flächen (WCAG AA) — Marken-Rot */
  --fp-accent-on-light: var(--pv-blue);
  /* ✓-/OK-Ton, kapitelweise übersteuerbar */
  --fp-ok: var(--pv-blue-hi);
  /* PORT 443: Chrom-Silber des Logos — für die Wortmarke und edle Details */
  --fp-metal: var(--pv-stone-deep);
}

/* ---------- PORT 443 — Marke im Chrome: Kachel + Wortmarke ----------
   Kachel = echter Ausschnitt aus dem Logo (Navy-Tile, P + Lichtstreif).
   Auf Licht: PORT in Graphit, 443 in Signalrot. Auf Navy-Flächen
   (Footer-Varianten dunkler Sections): Silber via --fp-metal nutzbar. */
.fp-logo-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: 1px solid var(--fp-line-strong);
}
.fp-logo-word {
  margin-left: 14px;
  font-family: var(--fp-font);
  font-size: 22px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: 0.18em;
  color: var(--fp-fg);
  white-space: nowrap;
}
.fp-logo-word b { font-weight: 700; color: var(--fp-accent); margin-left: 0.4em; }
.fp-logo-img--lg { width: 80px; height: 80px; border-radius: 14px; }
.fp-logo-word--lg { font-size: 26px; margin-left: 16px; }
@media (max-width: 559px) {
  .fp-logo-img { width: 46px; height: 46px; border-radius: 10px; }
  .fp-logo-word { font-size: 17px; margin-left: 10px; }
}
html { scroll-padding-top: calc(var(--fp-nav-h) + 16px); }

/* Sticky-Verlagskopf nimmt echten Platz ein: Der Start-Hero füllt den
   REST des ersten Viewports (statt 100svh unter dem Kopf zu addieren) */
.fp-hero { height: calc(100svh - 210px); min-height: 560px; }
@media (max-width: 1023px) {
  .fp-hero { height: auto; min-height: calc(100svh - 188px); }
}

/* Tastatur-Fokus: sichtbar auf jedem Grund */
:focus-visible {
  outline: 2px solid var(--fp-accent);
  outline-offset: 2px;
}

/* Reduced Motion: keine Endlos-Animation darf als Mikro-Flackern weiterlaufen */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-iteration-count: 1 !important; }
}

/* ---------- Kapitel-Reste (Quiet-Luxury-Umbau) ------------------------------
   Die dunklen Kapitel-Welten (galerie/terminal/spec-Bühne) sind abgeschafft —
   alle Seiten stehen auf der hellen Basis; dunkle Momente sind Navy-SECTIONS
   innerhalb der Seiten. WERKSTATT (studio) behält vorerst seine warmen
   Seiten-Tokens, bis der Studio-Builder die Seite auf das neue System hebt;
   das Chrome (Nav) bleibt aber auch dort hell. */
body[data-chapter="terminal"] { --fp-ok: #1E7A4F; }

/* Helles Blatt-Token-Set (leistungen nutzt es weiter — jetzt Werte der Basis) */
body[data-chapter="spec"] {
  --fp-sheet: #FFFFFF;
  --fp-sheet-ink: #191716;
  --fp-sheet-muted: var(--pv-on-light-muted);
  --fp-sheet-line: rgba(33, 26, 23, 0.12);
  --fp-sheet-line-strong: rgba(33, 26, 23, 0.28);
  --fp-sheet-ok: #1E7A4F;
}
