/* ===========================================================================
   schlaf.css - Unterseite /schlaf-elektrosmog/
   Nutzt AUSSCHLIESSLICH die Startseiten-Tokens aus home.css (kein zweites
   Designsystem). Präfix sx- für Schlaf-Komponenten.
   Reihenfolge: Hero (ink) - Intro (cream) - Bettzone (ink) - Skala (cream)
   - Quelle/Eingriff (cream) - Ablauf (warm) - Verwandte (warm) - FAQ (cream)
   - CTA (ink). Nur drei dunkle Bänder, kein Strobe.
   =========================================================================== */

/* Hero-Hoehen-Lock (hero override): Subpage-Hero auf 900px gedeckelt, nie hoeher
   als Home. Deckelt nur sehr hohe Viewports; 1440-Look bleibt unveraendert. */
.hero.hero-proof-scene {
  min-height: min(100vh, 900px);
  max-height: 900px;
}
.hero-proof-scene .hero-inner {
  min-height: min(100vh, 900px);
}

/* ---- gemeinsamer Section-Kopf ---- */
.sx-head { max-width: 760px; margin: 0 0 48px; }
.sx-head .uc { color: var(--muted); margin-bottom: 18px; }
.sx-head h2 {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 400;
  font-size: clamp(32px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -0.03em;
}
.sx-head h2 em { font-style: italic; color: var(--clay); font-weight: 300; }
.sx-head p { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 640px; }

/* ===================== S2 - Editorial-Intro ===================== */
.sx-intro { background: var(--cream); padding: 88px 48px; border-top: 1px solid var(--line); }
.sx-intro-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: start; }
.sx-intro-left .uc { color: var(--muted); margin-bottom: 22px; }
.sx-intro-left h2 {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 400;
  font-size: clamp(34px, 4.4vw, 64px); line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 28px; max-width: 15ch;
}
.sx-intro-left h2 em { font-style: italic; color: var(--clay); font-weight: 300; }
.sx-intro-left p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 560px; }

/* dokumentarischer Mess-Moment: nur 1px-Rand, kein Schatten */
.sx-intro-figure { margin: 44px 0 0; max-width: 540px; }
.sx-intro-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
}

/* ruhige Mono-Faktenleiste rechts: drei Hairline-Zeilen, kein Schatten, keine Karte */
.sx-intro-facts { border-top: 1px solid var(--ink); }
.sx-intro-fact {
  display: grid;
  grid-template-columns: 34px 104px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.sx-intro-fact svg { width: 18px; height: 18px; color: var(--ink-soft); }
.sx-intro-fact .t {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.sx-intro-fact p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ===================== S3 - Annotated Bettzone (dunkler Beleg) ===================== */
.sx-annot { background: var(--ink); color: var(--cream); padding: 88px 48px; }
.sx-annot-inner { max-width: 1400px; margin: 0 auto; }
.sx-annot .sx-head { margin-bottom: 44px; }
.sx-annot .sx-head .uc { color: rgba(var(--cream-rgb),0.5); }
.sx-annot .sx-head h2 { color: var(--cream); }
.sx-annot .sx-head h2 em { color: var(--clay-light); }
.sx-annot .sx-head p { color: rgba(var(--cream-rgb),0.8); }

/* ---- Bettzone: echtes Raumbild links + klickbare Hotspots, Text-Liste rechts ----
   Mechanik wie Raumluft: Toggle blendet alle Punkte, Tap/Klick pinnt ein Label,
   die nummerierte Liste rechts ist die Alternative. */
.sx-zone-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(44px, 4.5vw, 76px);
  align-items: center;
}
.sx-zone-figure { min-width: 0; }
.sx-zone-stage {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(var(--black-rgb),0.5);
}
.sx-zone-stage > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
/* dezente Tiefe, damit die hellen Punkte auf dem Bild tragen */
.sx-zone-stage::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--shade-rgb),0.05) 0%, rgba(var(--shade-rgb),0.20) 100%);
}

/* Toggle links oben ueber dem Bild (links-orientiert, fein) */
.sx-zone-toggle {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(var(--cream-rgb),0.20);
  border-radius: 2px;
  background: rgba(var(--ink-rgb),0.72);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  color: var(--cream);
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.4s cubic-bezier(0.22,1,0.36,1), background 0.4s cubic-bezier(0.22,1,0.36,1);
}
.sx-zone-toggle:hover { border-color: var(--clay-light); background: rgba(var(--ink-rgb),0.82); }
.sx-zone-toggle:focus-visible { outline: 2px solid var(--clay-light); outline-offset: 2px; }
.sx-zone-toggle-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--clay-light);
  background: var(--clay-light);
  transition: background 0.4s cubic-bezier(0.22,1,0.36,1);
}
.sx-zone-toggle[aria-pressed="false"] .sx-zone-toggle-dot { background: transparent; }

/* Hotspot-Button (min 44x44 Tap-Flaeche, Punkt zentriert) */
.sx-hot {
  position: absolute;
  z-index: 3;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1), visibility 0.5s;
}
/* aktiver Hotspot liegt samt Label immer ueber den Nachbar-Punkten */
.sx-hot:hover,
.sx-hot:focus-within,
.sx-hot.is-open { z-index: 6; }
.sx-zone-stage[data-dots="off"] .sx-hot {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.sx-hot-dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 26px; height: 26px;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--cream);
  background: var(--clay);
  color: var(--cream);
  font-family: "Geist Mono", monospace;
  font-size: 12px; line-height: 1;
  box-shadow: 0 0 0 5px rgba(var(--clay-rgb),0.22), 0 2px 8px rgba(var(--black-rgb),0.35);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s cubic-bezier(0.22,1,0.36,1);
}
.sx-hot:hover .sx-hot-dot,
.sx-hot.is-open .sx-hot-dot {
  transform: translate(-50%, -50%) scale(1.16);
  box-shadow: 0 0 0 7px rgba(var(--clay-rgb),0.28), 0 4px 12px rgba(var(--black-rgb),0.4);
}
.sx-hot:focus-visible { outline: none; }
.sx-hot:focus-visible .sx-hot-dot {
  transform: translate(-50%, -50%) scale(1.16);
  box-shadow: 0 0 0 2px var(--cream), 0 0 0 5px var(--clay), 0 0 0 8px rgba(var(--clay-rgb),0.30);
}

/* Label ueber dem Punkt */
.sx-hot-label {
  position: absolute;
  left: 50%; top: calc(50% + 26px);
  transform: translateX(-50%) translateY(6px);
  width: max-content;
  max-width: 236px;
  padding: 12px 14px 13px;
  border: 1px solid rgba(var(--cream-rgb),0.18);
  border-radius: 2px;
  background: rgba(var(--ink-rgb),0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.4s cubic-bezier(0.22,1,0.36,1), transform 0.4s cubic-bezier(0.22,1,0.36,1), visibility 0.4s;
}
.sx-hot--up .sx-hot-label {
  top: auto;
  bottom: calc(50% + 26px);
  transform: translateX(-50%) translateY(-6px);
}
/* Rechts sitzende Punkte: Label oeffnet nach links, damit es am schmalen
   Viewport (375px) nicht ueber den rechten Rand ragt und lesbar bleibt. */
.sx-hot--right .sx-hot-label {
  left: auto;
  right: 50%;
  transform: translateX(0) translateY(6px);
}
.sx-hot:hover .sx-hot-label,
.sx-hot:focus-within .sx-hot-label,
.sx-hot.is-open .sx-hot-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sx-hot--right:hover .sx-hot-label,
.sx-hot--right:focus-within .sx-hot-label,
.sx-hot--right.is-open .sx-hot-label {
  transform: translateX(0) translateY(0);
}
.sx-hot-label b {
  display: block;
  margin-bottom: 5px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.sx-hot-label span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(var(--cream-rgb),0.82);
}

/* --- Lese-Spalte rechts (Text-Alternative) --- */
.sx-zone-read { min-width: 0; }
.sx-zone-read > strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 1.7vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--cream);
  text-wrap: balance;
}
.sx-zone-list {
  margin-top: 26px;
  border-top: 1px solid rgba(var(--cream-rgb),0.22);
}
.sx-zone-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0 16px 10px;
  margin-left: -10px;
  border-bottom: 1px solid rgba(var(--cream-rgb),0.14);
  cursor: pointer;
  transition: background 0.3s ease;
}
/* Tap auf Karte oder Zahl im Bild hebt die Zeile hervor (aktiver Zustand) */
.sx-zone-row.is-active,
.sx-zone-row:hover {
  background: rgba(var(--cream-rgb),0.06);
}
.sx-zone-row.is-active {
  background: rgba(var(--cream-rgb),0.10);
}
.sx-zone-row:focus-visible {
  outline: 2px solid var(--clay-light);
  outline-offset: -2px;
  background: rgba(var(--cream-rgb),0.10);
}
.sx-zone-row.is-active .sx-zone-num,
.sx-zone-row:hover .sx-zone-num {
  background: var(--clay-light);
  color: var(--ink);
  border-color: var(--clay-light);
}
/* Nummern als ruhige Ring-Marker (keine clay-gefuellte Flaeche) */
.sx-zone-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(var(--clay-light-rgb),0.65);
  background: transparent;
  color: var(--clay-light);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  line-height: 1;
  margin-top: 2px;
}
.sx-zone-row b {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.sx-zone-row p {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(var(--cream-rgb),0.78);
}
.sx-zone-note {
  margin-top: 22px;
  font-family: "Host Grotesk", sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(var(--cream-rgb),0.65);
}
@media (prefers-reduced-motion: reduce) {
  .sx-hot,
  .sx-hot-dot,
  .sx-hot-label,
  .sx-zone-toggle,
  .sx-zone-toggle-dot { transition: none; }
}

/* ===================== S4 - Interaktive SBM-2015-Mess-Skala (Signatur) =====================
   Einziger Ort fuer die SBM-Skala sitewide. Echtes CSS-Visual: vier Zonen als Balken
   (log-gewichtet, damit 0,1 bis ueber 1000 lesbar bleiben) plus ziehbarer Clay-Marker,
   Mono-Schwellenwerte an den Zonengrenzen und Feld-Toggle. Kein gezeichnetes Objekt.
   Default-Geometrie = Feld Funk (No-JS-Fallback). */
.sx-scale { background: var(--cream); padding: 88px 48px; border-top: 1px solid var(--line); }
.sx-scale-inner {
  max-width: 1400px; margin: 0 auto;
  /* Log-Zonen-Geometrie + Marker-Position. Default = Funk (42 µW/m², stark auffaellig). */
  --z1-l: 0%;      --z1-w: 16.67%;
  --z2-l: 16.67%;  --z2-w: 33.33%;
  --z3-l: 50%;     --z3-w: 33.33%;
  --z4-l: 83.33%;  --z4-w: 16.67%;
  --pos: 60.4%;
}
.sx-scale .sx-head { margin-bottom: 48px; }

/* Kopf ueber dem Balken: Feld-Toggle linksbuendig.
   Toggle fein: weiche Hairline, leichte Divider, aktiv ruhig auf ink. */
.sx-scale-top { display: flex; justify-content: flex-start; align-items: center; gap: 22px; margin-bottom: 64px; flex-wrap: wrap; }
.sx-scale-toggle {
  display: inline-flex;
  border: 1px solid rgba(var(--ink-rgb),0.16);
  border-radius: 4px;
  overflow: hidden;
  background: var(--warm);
}
.sx-scale-toggle-btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; margin: 0; border: 1px solid transparent; border-right-color: rgba(var(--ink-rgb),0.10);
  border-radius: 4px;
  background: transparent; color: var(--muted); cursor: pointer;
  font-family: "Host Grotesk", sans-serif; font-size: 12.5px; letter-spacing: 0.04em;
  transition: color 0.45s cubic-bezier(0.22,1,0.36,1), background 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s cubic-bezier(0.22,1,0.36,1);
}
.sx-scale-toggle-btn:last-child { border-right: none; }
.sx-scale-toggle-btn svg { width: 15px; height: 15px; flex: none; opacity: 0.8; transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1); }
.sx-scale-toggle-btn:hover { color: var(--ink-soft); background: rgba(var(--ink-rgb),0.04); }
.sx-scale-toggle-btn[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: var(--cream); box-shadow: none; }
.sx-scale-toggle-btn[aria-checked="true"] svg { opacity: 1; }
.sx-scale-toggle-btn:focus-visible { outline: 2px solid var(--clay); outline-offset: -2px; }

/* Der Balken (Track). pointer-Treiber fuer den ziehbaren Marker. */
.sx-scale-track {
  position: relative; height: 60px; border-radius: 2px;
  /* pan-y: vertikales Seiten-Scrollen bleibt frei (Finger auf dem Balken friert die Seite nicht mehr ein),
     horizontales Ziehen des Markers laeuft weiter ueber Pointer-Events. */
  touch-action: pan-y; cursor: ew-resize;
  background: var(--warm);
  box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb),0.12);
}
.sx-scale-track:focus { outline: none; }
.sx-scale-track:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
.sx-scale-zones { position: absolute; inset: 0; }
.sx-scale-zone {
  position: absolute; top: 0; bottom: 0;
  /* feine 1px-Tick-Linie an jeder Zonengrenze, damit die vier Bereiche klar ablesen */
  border-right: 1px solid rgba(var(--ink-rgb),0.24);
  transition: left 0.6s cubic-bezier(0.22,1,0.36,1), width 0.6s cubic-bezier(0.22,1,0.36,1);
}
.sx-scale-zone:last-of-type { border-right: none; }
/* Tint-Stufen einen Tick klarer getrennt, bleibt ruhig (keine Ampelfarben) */
.sx-scale-zone.z1 { background: rgba(var(--forest-rgb),0.12); }
.sx-scale-zone.z2 { background: rgba(var(--taupe-rgb),0.18); }
.sx-scale-zone.z3 { background: rgba(var(--clay-soft-rgb),0.30); }
.sx-scale-zone.z4 { background: rgba(var(--clay-rgb),0.42); }

/* Ziehbarer Marker: Clay-Linie + Griff + Wert-Blase */
.sx-scale-marker {
  position: absolute; top: 0; bottom: 0; width: 2px;
  left: var(--pos); transform: translateX(-50%);
  background: var(--clay);
  pointer-events: none;
  transition: left 0.6s cubic-bezier(0.22,1,0.36,1);
}
/* duenne Leader-Linie: bindet die Fokus-Zahl an den Marker */
.sx-scale-marker::before {
  content: "";
  position: absolute; left: 50%; bottom: 100%;
  transform: translateX(-50%);
  width: 1px; height: 16px;
  background: rgba(var(--clay-rgb),0.5);
}
.sx-scale-grip {
  position: absolute; top: 50%; left: 50%;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--clay); border: 2px solid var(--cream);
  box-shadow: 0 0 0 1px rgba(var(--clay-rgb),0.45);
  transform: translate(-50%, -50%);
}
.sx-scale-marker.is-focus .sx-scale-grip { box-shadow: 0 0 0 5px rgba(var(--clay-rgb),0.28); }
.sx-scale-bubble {
  position: absolute; bottom: 100%; left: 50%; margin-bottom: 18px;
  transform: translateX(-50%); white-space: nowrap; text-align: center;
}
.sx-scale-bubble b { font-family: "Geist Mono", monospace; font-weight: 500; font-size: 26px; color: var(--ink); letter-spacing: -0.01em; }
.sx-scale-bubble span { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted); margin-left: 5px; letter-spacing: 0.02em; }
/* An den Raendern Blase nicht ueberstehen lassen */
.sx-scale-marker.edge-l .sx-scale-bubble { left: 0; transform: none; }
.sx-scale-marker.edge-r .sx-scale-bubble { left: auto; right: 0; transform: none; }

/* Mono-Schwellenwerte an den Zonengrenzen (gleiche Zonen-Vars, wandern beim Feld-Wechsel mit) */
.sx-scale-ticks { position: relative; height: 15px; margin-top: 10px; }
.sx-scale-ticks span {
  position: absolute; top: 0; transform: translateX(-50%);
  white-space: nowrap;
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-soft);
  transition: left 0.6s cubic-bezier(0.22,1,0.36,1);
}

/* Achsen-Labels unter dem Balken (gleiche Zonen-Vars) */
.sx-scale-axis { position: relative; height: 18px; margin-top: 8px; }
.sx-scale-axis span {
  position: absolute; top: 0; text-align: center;
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  transition: left 0.6s cubic-bezier(0.22,1,0.36,1), width 0.6s cubic-bezier(0.22,1,0.36,1);
}

/* Zieh-Hinweis direkt an der Skala */
.sx-scale-hint {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.sx-scale-hint svg { width: 14px; height: 14px; color: var(--clay); }

/* Ablese-Zeile: Kicker oben, Klasse + Handlungssatz direkt darunter gestapelt, dann Notiz + Quelle */
.sx-scale-readout { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.sx-scale-kicker { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sx-scale-line { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sx-scale-class { font-family: "Bricolage Grotesque", sans-serif; font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.015em; color: var(--ink); line-height: 1.08; }
.sx-scale-sentence { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 56ch; }
.sx-scale-cta {
  font-size: 13.5px;
  color: var(--clay);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--clay-rgb), 0.4);
  padding-bottom: 1px;
  transition: color 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.4s cubic-bezier(0.22,1,0.36,1);
}
.sx-scale-cta:hover { border-bottom-color: var(--clay); }
.sx-scale-note { margin: 0; font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: 0.04em; color: var(--ink-soft); }
.sx-scale-source { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }

/* ===================== S5 - CauseChain (hell, volle Rail-Breite) =====================
   Helle Sektion auf cream: die Seite behaelt nur drei dunkle Baender (Hero, Bettzone,
   Kontakt). Die drei Schritte sitzen auf einem durchgehenden 1px-Rail ueber die volle
   Container-Breite, die Nodes liegen sichtbar auf der Linie. */
.sx-chain { background: var(--cream); color: var(--ink); padding: 84px 48px; border-top: 1px solid var(--line); }
.sx-chain-inner { max-width: 1400px; margin: 0 auto; }

.sx-flow {
  position: relative;
  display: flex;
  align-items: stretch;
  margin-top: 4px;
}
/* die durchgehende Verbindungslinie: laeuft ueber die volle Breite bis zur rechten Kante */
.sx-flow::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(var(--ink-rgb),0.25);
}
.sx-flow-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 32px 34px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sx-flow-step:last-child { padding-right: 0; }
/* Knoten sichtbar AUF der Linie am Schritt-Anfang */
.sx-flow-node {
  position: absolute;
  top: 6px; left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--clay);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(var(--clay-rgb),0.14);
}
/* Pfeil-Chevron zwischen den Schritten: sitzt auf der Linie und zeigt zum naechsten Knoten */
.sx-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px; right: 22px;
  width: 6px; height: 6px;
  border-top: 1.5px solid var(--clay);
  border-right: 1.5px solid var(--clay);
  transform: translateY(-50%) rotate(45deg);
}
/* Abschluss-Knoten: das Rail endet an der rechten Kante mit einem letzten Punkt */
.sx-flow-step:last-child::after {
  content: "";
  position: absolute;
  top: 6px; right: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clay);
  transform: translateY(-50%);
}
.sx-flow-top { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; }
/* kleine Mono-Step-Nummern (einzige Nummern-Logik der Seite) */
.sx-flow-n {
  font-family: "Geist Mono", monospace; font-weight: 500;
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--clay);
}
.sx-flow-lab {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.sx-flow-step h3 {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 400;
  font-size: clamp(21px, 2.1vw, 30px); line-height: 1.05; letter-spacing: -0.025em;
  color: var(--ink);
}
.sx-flow-step p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); max-width: 40ch; }

/* Kleine Massnahmen: ruhige Mono-Liste mit Clay-Strich-Bullets, nichts sieht nach Button aus */
.sx-chain-ex { margin-top: 44px; display: flex; gap: 14px 30px; flex-wrap: wrap; align-items: baseline; }
.sx-chain-ex .lab { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.sx-chip {
  position: relative;
  padding: 0 0 0 20px;
  border: none;
  background: none;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.sx-chip::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 10px; height: 1px;
  background: var(--clay);
}

/* B1: geerdetes Detail-Bild, ruhig und nicht dominant. Gleiches Figuren-Treatment wie
   die Intro-Figur (1px-Rand, radius 2px, kein Schatten), links ausgerichtet, halbe Breite. */
.sx-chain-figure { margin: 56px 0 0; max-width: 600px; }
.sx-chain-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.sx-chain-cap {
  margin-top: 14px;
  padding-left: 20px;
  position: relative;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}
.sx-chain-cap::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 10px; height: 1px;
  background: var(--clay);
}

/* ===================== S6 - Ablauf (kompakte helle Hairline-Sektion) ===================== */
.sx-ablauf { background: var(--warm); padding: 88px 48px; border-top: 1px solid var(--line); }
.sx-ablauf-inner { max-width: 1400px; margin: 0 auto; }
.sx-ablauf .sx-head { margin-bottom: 36px; }
.sx-ablauf-list { border-top: 1px solid var(--ink); }
.sx-ablauf-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.sx-ablauf-row span {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.sx-ablauf-row p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}
/* Vertrauens-Anker: die Person hinter der Messung */
.sx-ablauf-person { margin-top: 30px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.sx-ablauf-person a {
  color: var(--clay);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--clay-rgb), 0.4);
  padding-bottom: 1px;
  transition: color 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.4s cubic-bezier(0.22,1,0.36,1);
}
.sx-ablauf-person a:hover { border-bottom-color: var(--clay); }

/* ===================== Verwandte Themen (page-scoped Politur) =====================
   Erhoehte Spezifitaet noetig, weil die Komponenten-Styles gescoped sind.
   Kein Pfeil pro Zeile (Konzept-Regel), Hover bleibt Titel-clay. */
section.related .rel-list.rel-list { max-width: none; }
section.related .rel-link.has-thumb.has-thumb { grid-template-columns: 200px 1fr; }
section.related .rel-thumb.rel-thumb { width: 200px; aspect-ratio: 16 / 10; }
/* Raumluft-Thumb: Fensterkante und Licht statt fleckiger Putz-Textur im Ausschnitt */
section.related .rel-thumb[src*="raumluft-hero-v2"] { object-position: 100% 50%; }

/* ===================== S9 - CTA (linkes dark-band-Muster) ===================== */
.cta-c { display: block; text-align: left; padding: 76px 48px; }
.cta-c .cta-inner { max-width: 1400px; margin: 0 auto; }
.cta-c .uc { margin-bottom: 22px; }
.cta-c h2 { font-weight: 400; margin: 0 0 24px; max-width: 20ch; }
.cta-c h2 em { color: var(--clay-light); font-weight: 300; }
.cta-c .cta-lead { margin: 0 0 34px; font-size: 16px; line-height: 1.6; color: rgba(var(--cream-rgb),0.78); max-width: 52ch; }
.cta-c .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.cta-c .cta-mail {
  font-size: 14px;
  color: rgba(var(--cream-rgb),0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--clay-light-rgb), 0.5);
  padding-bottom: 1px;
  transition: color 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.4s cubic-bezier(0.22,1,0.36,1);
}
.cta-c .cta-mail:hover { color: var(--clay-light); border-bottom-color: var(--clay-light); }
.cta-c .meta {
  margin-top: 34px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(var(--cream-rgb),0.55);
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .sx-intro, .sx-chain { padding: 72px 24px; }
  .sx-annot, .sx-scale, .sx-ablauf { padding: 56px 24px; }
  .cta-c { padding: 56px 24px; }
  .sx-intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .sx-intro-figure { max-width: none; }
  .sx-chain-figure { max-width: none; margin-top: 40px; }
  /* Bettzone: Bild oben, Text-Liste darunter, groessere Tap-Punkte */
  .sx-zone-layout { grid-template-columns: 1fr; gap: 32px; }
  .sx-hot { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .sx-hot-label { max-width: 210px; }
  /* Skala */
  .sx-scale-track { height: 56px; }
  .sx-scale-top { margin-bottom: 52px; }
  .sx-scale-toggle { width: 100%; }
  .sx-scale-toggle-btn { flex: 1 1 0; justify-content: center; padding: 12px 8px; font-size: 12px; }
  .sx-scale-bubble b { font-size: 22px; }
  /* CauseChain: Kette stapelt vertikal, Linie + Chevrons + Knoten aus */
  .sx-flow { flex-direction: column; margin-top: 0; }
  .sx-flow::before,
  .sx-flow-step::after,
  .sx-flow-node { display: none; }
  .sx-flow-step { padding: 22px 0; }
  .sx-flow-top { margin-top: 0; }
  .sx-flow-step:not(:last-child) { border-bottom: 1px solid var(--line); }
  /* Ablauf: Label ueber dem Satz */
  .sx-ablauf-row { grid-template-columns: 1fr; gap: 6px; }
  /* Verwandte Themen: kompaktere Thumbs */
  section.related .rel-link.has-thumb.has-thumb { grid-template-columns: 128px 1fr; }
  section.related .rel-thumb.rel-thumb { width: 128px; }
}

/* Skala-Politur fuer schmale Handys: nur Endpunkt-Labels, lesbare Schriftgroessen (Zielgruppe 40+) */
@media (max-width: 480px) {
  .sx-scale-axis { height: 16px; }
  .sx-scale-axis span { font-size: 11px; }
  .sx-scale-axis span:nth-child(2),
  .sx-scale-axis span:nth-child(3) { display: none; }
  .sx-scale-axis span:first-child { left: 0 !important; width: auto !important; text-align: left; }
  .sx-scale-axis span:last-child { left: auto !important; right: 0; width: auto !important; text-align: right; }
  .sx-scale-ticks span { font-size: 11px; }
  .sx-scale-bubble span { font-size: 11px; }
  .sx-scale-kicker { font-size: 11px; }
  .sx-scale-hint { font-size: 11px; }
  .sx-scale-note { font-size: 11.5px; }
  .sx-scale-source { font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .sx-scale-zone, .sx-scale-marker, .sx-scale-axis span, .sx-scale-ticks span, .sx-scale-toggle-btn { transition: none; }
}

/* FAQ-Hintergrund exakt auf die Creme der Skala-Sektion vereinheitlichen.
   Global waere er var(--warm) und damit einen Hauch kuehler als var(--cream). */
#faq { background: var(--cream); }
