/* ═══════════════════════════════════════════════════════════════
   Allround Design · style.css
   CI: Ink #1E2023 · Amber #E2891A · Amber Light #F0B25A
       Paper #F2F1ED · Slate #6E7178
   Fonts: Bricolage Grotesque (Headlines) · IBM Plex Sans (Body)
          IBM Plex Mono (Meta/Labels)
═══════════════════════════════════════════════════════════════ */

/* ─── RESET & TOKENS ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #1E2023;
  --ink-mid:    #2A2D32;
  --ink-light:  #363A40;
  --amber:      #E2891A;
  --amber-l:    #F0B25A;
  --amber-ll:   #F7D9A8;
  --paper:      #F2F1ED;
  --paper-d:    #E8E6E0;
  --slate:      #6E7178;
  --slate-l:    #9BA0A8;
  --white:      #FFFFFF;

  --font-head:  'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body:  'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono:  'IBM Plex Mono', 'Courier New', monospace;

  --wrap:       1280px;
  --wrap-m:     960px;
  --pad-x:      clamp(1.25rem, 5vw, 4rem);
  --pad-section: clamp(5rem, 10vw, 9rem);

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  --radius:     4px;
  --radius-l:   12px;

  --nav-h:      76px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── UTILITIES ──────────────────────────────────────────────── */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.amber-text { color: var(--amber); }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 1.25rem;
}

.section-label-wrap { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-headline-large {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* Noise texture utility */
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-amber {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.btn-amber:hover {
  background: var(--amber-l);
  border-color: var(--amber-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226,137,26,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(242,241,237,0.3);
}
.btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(242,241,237,0.06);
}

.btn-full { width: 100%; justify-content: center; }

/* ─── NAV ────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s, box-shadow 0.35s;
}

.site-nav.scrolled {
  background: rgba(30, 32, 35, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-ring { height: 34px; width: auto; }
.nav-wordmark {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper);
  line-height: 1;
}
.nav-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--amber);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
  opacity: 1 !important;
  background: var(--amber);
  color: var(--ink) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--amber-l);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: all 0.25s;
}

.mobile-menu {
  background: var(--ink-mid);
  border-top: 1px solid var(--ink-light);
  padding: 1.5rem var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  color: var(--paper);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: calc(var(--nav-h) + 3rem) var(--pad-x) var(--pad-section);
  max-width: var(--wrap);
  margin: 0 auto;
  position: relative;
}

.hero-bg-texture {
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(226,137,26,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(226,137,26,0.04) 0%, transparent 55%);
  animation: bgDrift 26s ease-in-out infinite alternate;
}

@keyframes bgDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-2.5%, 2%); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-right: 3rem;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--slate-l);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  transition: transform 0.4s var(--ease-out);
  will-change: transform;
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-l);
  display: block;
  position: relative;
  z-index: 1;
}

.hero-img-accent {
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 2px solid rgba(226,137,26,0.25);
  border-radius: var(--radius-l);
  z-index: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ─── STATEMENT ──────────────────────────────────────────────── */
.statement {
  background: var(--amber);
  color: var(--ink);
  padding: clamp(4rem, 8vw, 7rem) var(--pad-x);
  position: relative;
  overflow: hidden;
}

.statement::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.statement-inner {
  max-width: var(--wrap-m);
  margin: 0 auto;
}

.statement-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 1.5rem;
}

.statement-quote {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  border: none;
  quotes: none;
}

/* ─── LEISTUNGEN ─────────────────────────────────────────────── */
.leistungen {
  padding-top: var(--pad-section);
  padding-bottom: 0;
}

.leistungen > .section-label-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.leistungen > .section-label-wrap .section-headline-large {
  color: var(--paper);
}

.leistung-block {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}

.leistung-block--ink   { background: var(--ink);     color: var(--paper); }
.leistung-block--paper { background: var(--paper);   color: var(--ink); }
.leistung-block--amber { background: var(--amber);   color: var(--ink); }

.leistung-block--paper .lb-tag  { color: var(--slate); }
.leistung-block--paper .lb-list li::before { background: var(--amber); }
.leistung-block--amber .lb-tag  { opacity: 0.7; }
.leistung-block--amber .lb-list li::before { background: var(--ink); }

/* lb-inner ist ein echtes 3-Spalten-Grid (Zahl-Gutter / Text / Grafik) statt
   eines frei überlagernden position:absolute-Layers -- Text und Grafik können
   sich dadurch nie überlappen, und die Grafik bekommt eine eigene, garantierte
   Spaltenbreite. Eigene, etwas breitere Wrap-Grenze (1600px) als der Rest der
   Seite, damit auf großen Bildschirmen genug Platz für eine großzügige Grafik
   neben dem Text ist, ohne dass sie zum Viewport-Rand hin abdriftet. */
.lb-inner {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 160px minmax(320px, 640px) minmax(280px, 1fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.lb-number {
  font-family: var(--font-head);
  font-size: clamp(7rem, 15vw, 14rem);
  font-weight: 800;
  line-height: 1;
  opacity: 0.06;
  position: absolute;
  left: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
}

.lb-content {
  grid-column: 2;
  position: relative;
  z-index: 1;
}

.lb-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 1.25rem;
}

.lb-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.lb-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.lb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
}

.lb-list li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lb-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* ─── LB-VISUAL: Scrollytelling-Prototyp (Block 01) ─────────────
   --p (0–1) wird per JS anhand der Scrollposition von
   #leistung-print gesetzt (siehe script.js). Layer starten
   versetzt/verdreht ("unregistriert") und laufen beim Scrollen in
   Deckung — Passermarken schärfen sich parallel ein. */
.lb-visual {
  grid-column: 3;
  justify-self: center;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
}
.proof-svg { width: 100%; height: 100%; overflow: visible; }

.proof-sheet {
  fill: none;
  stroke: rgba(242, 241, 237, 0.15);
  stroke-width: 1.5;
}

.proof-crop { opacity: var(--p, 0); filter: blur(calc((1 - var(--p, 0)) * 8px)); }
.proof-crop line { stroke: var(--amber); stroke-width: 1.5; }

.proof-layer { transform-box: fill-box; transform-origin: center; }

/* Versatz-/Rotationswerte nochmals vergrößert -- die Layer sollen über
   deutlich mehr Fläche einlaufen, nicht nur ein paar Pixel wandern. */
.proof-layer--a {
  fill: var(--amber);
  opacity: 0.4;
  transform:
    translate(calc((1 - var(--p, 0)) * -340px), calc((1 - var(--p, 0)) * -230px))
    rotate(calc((1 - var(--p, 0)) * -46deg));
}
.proof-layer--b {
  fill: var(--paper);
  opacity: 0.22;
  transform:
    translate(calc((1 - var(--p, 0)) * 360px), calc((1 - var(--p, 0)) * 190px))
    rotate(calc((1 - var(--p, 0)) * 54deg));
}
.proof-layer--c {
  fill: none;
  stroke: var(--amber-l);
  stroke-width: 2;
  opacity: 0.6;
  transform:
    translate(calc((1 - var(--p, 0)) * -210px), calc((1 - var(--p, 0)) * 320px))
    rotate(calc((1 - var(--p, 0)) * -40deg));
}

/* ─── LB-VISUAL Block 02: Marke wandert über Trägerflächen ───────
   Drei Touchpoints (Visitenkarte/Briefbogen/Signage) werden nach-
   einander "gebrandet" — Rahmen wird solide, Ring-Mark skaliert
   ein. --lp je Touchpoint ist ein aus --p abgeleiteter, gestaffelter
   Lokal-Fortschritt (clamp verhindert Werte außerhalb 0–1). */
.brand-svg { width: 100%; height: 100%; overflow: visible; }

.brand-touch--1 { --lp: clamp(0, calc(var(--p, 0) * 2.6), 1); }
.brand-touch--2 { --lp: clamp(0, calc((var(--p, 0) - 0.3) * 2.6), 1); }
.brand-touch--3 { --lp: clamp(0, calc((var(--p, 0) - 0.6) * 2.6), 1); }

/* Jeder Touchpoint wandert zusätzlich aus einer eigenen Richtung ein,
   statt nur an Ort und Stelle einzublenden -- mehr Weg, mehr Bewegung. */
.brand-touch {
  transform-box: fill-box;
  transform-origin: center;
}
.brand-touch--1 { transform: translate(calc((1 - var(--lp, 0)) * -90px), calc((1 - var(--lp, 0)) * 150px)); }
.brand-touch--2 { transform: translate(calc((1 - var(--lp, 0)) * 170px), calc((1 - var(--lp, 0)) * -60px)); }
.brand-touch--3 { transform: translate(calc((1 - var(--lp, 0)) * -160px), calc((1 - var(--lp, 0)) * -110px)); }

.tp-outline {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-dasharray: calc((1 - var(--lp, 0)) * 14);
  opacity: calc(0.3 + var(--lp, 0) * 0.7);
}
.tp-mark {
  fill: var(--amber);
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(var(--lp, 0));
  opacity: var(--lp, 0);
}

/* ─── LB-VISUAL Block 03: Fortschrittslinie ───────────────────────
   Linie "zeichnet sich" von oben nach unten (stroke-dashoffset),
   fünf Knoten (= die 5 Prozess-Schritte weiter unten) skalieren
   nacheinander ein, sobald die Linie sie erreicht. */
.flow-svg { width: 100%; height: 100%; overflow: visible; }

/* Zickzack statt gerader Linie -- nutzt die Breite der SVG-Fläche statt nur
   eines schmalen Mittelstreifens, Pfadlänge ~1020 (4 Segmente à ~255px). */
.flow-line { fill: none; stroke: var(--ink); stroke-opacity: 0.15; stroke-width: 3; stroke-linejoin: round; }
.flow-line-fill {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-dasharray: 1020;
  stroke-dashoffset: calc(1020 - (var(--p, 0) * 1020));
}

.flow-node--1 { --lp: clamp(0, calc(var(--p, 0) * 6), 1); }
.flow-node--2 { --lp: clamp(0, calc((var(--p, 0) - 0.20) * 6), 1); }
.flow-node--3 { --lp: clamp(0, calc((var(--p, 0) - 0.40) * 6), 1); }
.flow-node--4 { --lp: clamp(0, calc((var(--p, 0) - 0.60) * 6), 1); }
.flow-node--5 { --lp: clamp(0, calc((var(--p, 0) - 0.80) * 6), 1); }

.flow-node circle {
  fill: var(--ink);
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(calc(0.3 + var(--lp, 0) * 0.7));
  opacity: var(--lp, 0);
}

/* ─── PROZESS ────────────────────────────────────────────────── */
.prozess {
  background: var(--ink-mid);
  padding: var(--pad-section) 0;
}

.prozess .section-headline-large { color: var(--paper); }

.prozess-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
}

.prozess-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--ink-light);
  transition: all 0.25s;
}
.prozess-step:last-child { border-bottom: none; }
.prozess-step:hover { padding-left: 8px; }

.ps-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--amber);
  padding-top: 0.3rem;
}

.ps-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.ps-body p {
  color: var(--slate-l);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── REFERENZEN ─────────────────────────────────────────────── */
.referenzen {
  background: var(--ink);
  padding: var(--pad-section) 0;
}

.referenzen .section-headline-large { color: var(--paper); }

/* Case Study */
.casestudy {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
  padding: 3rem;
  background: var(--ink-mid);
  border-radius: var(--radius-l);
  border: 1px solid var(--ink-light);
  transition: border-color 0.25s;
}
.casestudy:hover { border-color: rgba(226,137,26,0.3); }

/* Passermarken-Ecken -- greift das Register-Motiv aus Leistung 01 wieder auf,
   statt einer generischen Hover-Schatten-/Scale-Animation. Vier Ecken über
   mehrere Background-Layer auf einem Pseudo-Element, keine zusätzliche Grafik. */
.casestudy::after,
.ref-tile:not(.ref-tile--add)::after,
.schwester::after {
  content: '';
  position: absolute;
  inset: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out), inset 0.3s var(--ease-out);
  background:
    linear-gradient(var(--amber), var(--amber)) top left / 14px 1.5px no-repeat,
    linear-gradient(var(--amber), var(--amber)) top left / 1.5px 14px no-repeat,
    linear-gradient(var(--amber), var(--amber)) top right / 14px 1.5px no-repeat,
    linear-gradient(var(--amber), var(--amber)) top right / 1.5px 14px no-repeat,
    linear-gradient(var(--amber), var(--amber)) bottom left / 14px 1.5px no-repeat,
    linear-gradient(var(--amber), var(--amber)) bottom left / 1.5px 14px no-repeat,
    linear-gradient(var(--amber), var(--amber)) bottom right / 14px 1.5px no-repeat,
    linear-gradient(var(--amber), var(--amber)) bottom right / 1.5px 14px no-repeat;
}
.casestudy:hover::after,
.ref-tile:not(.ref-tile--add):hover::after,
.schwester:hover::after {
  opacity: 1;
  inset: 8px;
}

.cs-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.cs-visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.cs-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--ink);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 500;
}

.cs-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--slate-l);
  margin-bottom: 0.75rem;
}

.cs-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.cs-text {
  color: var(--slate-l);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cs-meta-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.cs-meta-details span {
  font-size: 0.85rem;
  color: var(--slate-l);
}
.cs-meta-details strong { color: var(--paper); font-weight: 600; }

.cs-placeholder-notice {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--slate);
  letter-spacing: 0.08em;
}

/* Ref-Grid */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.ref-tile {
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-l);
  border: 1px solid var(--ink-light);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s, transform 0.25s;
}
.ref-tile:hover {
  border-color: rgba(226,137,26,0.3);
  transform: translateY(-4px);
}

.ref-tile--placeholder { background: var(--ink-mid); }
.ref-tile--add {
  background: transparent;
  border-style: dashed;
  border-color: var(--ink-light);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.rt-cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.rt-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.3;
}

.rt-note {
  font-size: 0.78rem;
  color: var(--slate);
}

.rt-more {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-l);
  line-height: 1.5;
}

/* ─── SCHWESTERN ─────────────────────────────────────────────── */
.schwestern {
  background: var(--ink-mid);
  padding: var(--pad-section) 0;
  border-top: 1px solid var(--ink-light);
  border-bottom: 1px solid var(--ink-light);
}

.schwestern-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

.schwestern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.schwester {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-l);
  border: 1px solid var(--ink-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s;
}
.schwester:hover { border-color: rgba(226,137,26,0.4); transform: translateY(-4px); }

.schwester--active {
  border-color: var(--amber);
  background: rgba(226,137,26,0.06);
}

.schwester--soon { opacity: 0.55; }

.sw-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
}

.sw-desc {
  color: var(--slate-l);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}

.sw-domain {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--paper);
  opacity: 0.7;
  letter-spacing: 0.03em;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq {
  background: var(--ink);
  padding: var(--pad-section) 0;
}

.faq .section-headline-large { color: var(--paper); }

.faq-list {
  max-width: 800px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--ink-light);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  padding: 1.75rem 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper);
  list-style: none;
  user-select: none;
  outline: none;
  transition: color 0.2s;
}
.faq-q:hover, .faq-q:focus-visible { color: var(--amber-l); }
.faq-q:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.faq-q[aria-expanded="true"] { color: var(--amber-l); }

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--slate-l);
  transition: transform 0.3s var(--ease-out);
}
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--amber-l);
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease-out), padding 0.3s;
}
.faq-a.is-open { max-height: 600px; }

.faq-a p {
  color: var(--slate-l);
  font-size: 0.97rem;
  line-height: 1.75;
  padding-bottom: 1.75rem;
}

/* ─── KONTAKT ────────────────────────────────────────────────── */
.kontakt {
  background: var(--ink-mid);
  padding: var(--pad-section) 0;
  border-top: 1px solid var(--ink-light);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.kontakt-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.kontakt-sub {
  color: var(--slate-l);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 40ch;
}

.kontakt-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kf-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--ink-light);
}

.kf-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
}

.kf-val {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
}

.kf-val a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s;
}
.kf-val a:hover { color: var(--amber-l); }

/* Form */
.kontaktformular {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-l);
}

.form-field input,
.form-field textarea {
  background: var(--ink);
  border: 1px solid var(--ink-light);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.22s, box-shadow 0.22s;
  outline: none;
  width: 100%;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--slate); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(226,137,26,0.15);
}

.form-field--radio label:first-child {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-l);
  margin-bottom: 0.25rem;
  display: block;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.radio-option input {
  accent-color: var(--amber);
  width: 1rem;
  height: 1rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}
.radio-option span { font-family: var(--font-body); color: var(--paper); }

.privacy-note {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.6;
}
.privacy-note a { color: var(--slate-l); }
.privacy-note a:hover { color: var(--amber); }

.form-field--consent .consent-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--slate);
  line-height: 1.6;
}
.form-field--consent .consent-option input {
  accent-color: var(--amber);
  margin: 0.2rem 0 0 0;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}
.form-field--consent .consent-option a { color: var(--slate-l); }
.form-field--consent .consent-option a:hover { color: var(--amber); }

.form-feedback { padding: 1rem 1.25rem; border-radius: var(--radius); font-size: 0.9rem; }
.form-feedback--error { background: rgba(220,50,50,0.1); border: 1px solid rgba(220,50,50,0.3); color: #ff8080; }

.honeypot { display: none; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--ink-light);
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
}

.footer-ring {
  height: 36px;
  width: auto;
  opacity: 0.7;
  filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--paper); }

.footer-schwestern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--slate);
}
.footer-schwestern a { color: var(--amber-l); text-decoration: none; transition: color 0.2s; }
.footer-schwestern a:hover { color: var(--amber); }
.fs-active { color: var(--paper); font-weight: 500; }
.fs-soon { opacity: 0.45; }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--slate);
  letter-spacing: 0.1em;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 4rem;
  }
  .hero-visual { display: none; }
  .hero-content { padding-right: 0; }
  .lb-inner { grid-template-columns: 1fr; }
  .lb-number { font-size: 8rem; opacity: 0.05; }
  .lb-content { grid-column: 1; max-width: 100%; }
  .lb-visual { display: none; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .schwestern-grid { grid-template-columns: 1fr; }
  .casestudy { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-logo { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .ref-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-texture { animation: none; }
  .hero-img-wrap { transition: none; }
}

/* ─── FOCUS STYLES ───────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ─── SELECTION ──────────────────────────────────────────────── */
::selection {
  background: rgba(226,137,26,0.3);
  color: var(--paper);
}

/* ─── LEGAL PAGES (Impressum, Datenschutz) ──────────────────── */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--pad-section) * 0.6) var(--pad-x) var(--pad-section);
}
.legal-page .back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--amber);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 3rem;
}
.legal-page .back:hover { opacity: 0.8; }
.legal-page .back svg { width: 18px; height: 18px; }
.legal-page h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2.25rem 0 0.75rem;
}
.legal-page p {
  color: var(--slate-l);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.legal-page a { color: var(--amber); }
.legal-page a:hover { opacity: 0.8; }

/* ─── STATUS PAGES (Danke, 404) ─────────────────────────────── */
.status-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem;
  max-width: 32rem;
  margin: 0 auto;
}
.status-page .logo { height: 42px; width: auto; margin-bottom: 1rem; }
.status-page h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.status-page p {
  color: var(--slate-l);
  line-height: 1.7;
}
