/* ==========================================================================
   Northlightframe W11 · Randloses 2D + 3D Showcase-Erlebnis (/referenzen/)
   - NULL Extrapapier-Kästen, NULL laute Pill-Balken, NULL Entwickler-Slider
   - Akt 1: Randlose 3D-Monolith-Bühne (#07090E) + synchronisierte Raum-Aura
   - Akt 2: 4 bündig verschmolzene 2D-Motion-Darstellungsvarianten
            (Licht-Atelier · SVG-Datenstrom · 3D-Glas-Fächer · 3D-Panorama)
   - Akt 3: Live-Handschriften-Wechsler („Ein Inhalt — drei Design-Welten“)
   - Akt 4: Ruhiges 1-px-Haarlinien-Finale
   - 0 Fremdhosts · 0 px Überlauf (1440px & 390px) · No-JS & #stillSchalter sicher
   ========================================================================== */

html[data-world="W11"] {
  --w11-bg: #07090E;
  --w11-fg: #EEF2F8;
  --w11-mute: #9BA5B5;
  --w11-line: rgba(238, 242, 248, 0.14);
  --w11-line-strong: rgba(238, 242, 248, 0.34);
  --w11-accent: #D59B42;
  --w11-accent-rgb: 213, 155, 66;
  --w11-ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--w11-bg);
}

html[data-world="W11"] body {
  background: var(--w11-bg);
  color: var(--w11-fg);
  overflow-x: clip;
}

/* Synchronisierte Varianten-Farben (Gold / Cyan / Smaragd / Eis-Silber) */
[data-w11-active="1"] {
  --w11-accent: #D59B42;
  --w11-accent-rgb: 213, 155, 66;
}
[data-w11-active="2"] {
  --w11-accent: #38BDF8;
  --w11-accent-rgb: 56, 189, 248;
}
[data-w11-active="3"] {
  --w11-accent: #34D399;
  --w11-accent-rgb: 52, 211, 153;
}
[data-w11-active="4"] {
  --w11-accent: #E2E8F0;
  --w11-accent-rgb: 226, 232, 240;
}

.w11-wrap {
  width: min(1360px, calc(100% - clamp(32px, 6vw, 96px)));
  margin-inline: auto;
}

.w11-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--w11-accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: color 420ms var(--w11-ease);
}

.w11-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   AKT 1 · RANDLOSE 3D-MONOLITH-BÜHNE DIREKT IM RAUM (#07090E)
   ========================================================================== */
.w11-hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: flex;
  align-items: center;
  padding: clamp(104px, 11.5vh, 136px) 0 clamp(56px, 7.5vh, 88px);
  background: var(--w11-bg);
  color: var(--w11-fg);
  overflow: clip;
  isolation: isolate;
  --w11-mx: 66%;
  --w11-my: 46%;
}

/* Randlos atmender Visual-Hintergrund (4 Varianten, edge-faded ins #07090E) */
.w11-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.w11-backdrop-layer {
  position: absolute;
  inset: -2%;
  opacity: 0;
  transform: scale(1.045);
  transition:
    opacity 820ms var(--w11-ease),
    transform 1200ms var(--w11-ease);
  will-change: opacity, transform;
}

.w11-backdrop-layer.is-active {
  opacity: 0.28;
  transform: scale(1.01);
}

.w11-backdrop-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 50%;
  display: block;
  filter: saturate(0.92) contrast(1.06);
  -webkit-mask-image:
    radial-gradient(ellipse 76% 72% at 64% 48%, #000 18%, rgba(0, 0, 0, 0.56) 54%, transparent 96%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse 76% 72% at 64% 48%, #000 18%, rgba(0, 0, 0, 0.56) 54%, transparent 96%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
  mask-composite: intersect;
}

/* Synchronisierte Raum-Aura (Gold / Cyan / Smaragd / Eis-Silber) */
.w11-hero-aura {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      620px circle at var(--w11-mx, 66%) var(--w11-my, 46%),
      rgba(var(--w11-accent-rgb), 0.16) 0%,
      rgba(var(--w11-accent-rgb), 0.05) 38%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 68% 58% at 72% 48%,
      rgba(var(--w11-accent-rgb), 0.11) 0%,
      transparent 70%
    );
  transition: opacity 520ms ease;
}

/* Sanfter Editorial-Scrim: volle Lesbarkeit links, offener dunkler Raum rechts */
.w11-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      98deg,
      rgba(7, 9, 14, 0.94) 0%,
      rgba(7, 9, 14, 0.80) 36%,
      rgba(7, 9, 14, 0.34) 64%,
      rgba(7, 9, 14, 0.54) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 9, 14, 0.68) 0%,
      rgba(7, 9, 14, 0.08) 20%,
      rgba(7, 9, 14, 0.12) 78%,
      var(--w11-bg) 100%
    );
}

.w11-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.w11-hero-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.3vh, 26px);
}

.w11-hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.65rem, 5.2vw, 4.95rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.036em;
  color: var(--w11-fg);
  text-wrap: balance;
}

.w11-hero-title .w11-h1-dim {
  display: block;
  color: var(--w11-mute);
  font-weight: 500;
}

.w11-hero-lead {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.62;
  color: rgba(238, 242, 248, 0.78);
}

/* Edle Kino-Tour-Aktionszeile im Hero */
.w11-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding-top: 2px;
}

.w11-tour-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(var(--w11-accent-rgb), 0.65);
  border-radius: 999px;
  background: radial-gradient(
    120% 140% at 30% 0%,
    rgba(var(--w11-accent-rgb), 0.22) 0%,
    rgba(var(--w11-accent-rgb), 0.08) 100%
  );
  color: var(--w11-fg);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 260ms var(--w11-ease),
    background-color 260ms var(--w11-ease),
    transform 260ms var(--w11-ease),
    box-shadow 260ms var(--w11-ease);
}

.w11-tour-btn:hover,
.w11-tour-btn:focus-visible {
  border-color: var(--w11-accent);
  background: rgba(var(--w11-accent-rgb), 0.24);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(var(--w11-accent-rgb), 0.22);
}

.w11-tour-btn:focus-visible {
  outline: 1px solid var(--w11-accent);
  outline-offset: 4px;
}

.w11-tour-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--w11-accent);
  font-size: 11px;
}

/* Flüsterleise 1-Zeilen-Varianten-Wahl (komplett kastenlos, 0 Pill-Balken) */
.w11-variant-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px clamp(18px, 2.2vw, 28px);
  padding: 6px 0 0;
}

.w11-var-btn {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  padding: 6px 0;
  color: var(--w11-fg);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.46;
  cursor: pointer;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  transition:
    opacity 220ms var(--w11-ease),
    border-color 260ms var(--w11-ease),
    color 260ms var(--w11-ease);
}

.w11-var-btn:hover {
  opacity: 0.86;
}

.w11-var-btn:focus-visible {
  opacity: 1;
  outline: 1px solid var(--w11-accent);
  outline-offset: 4px;
}

.w11-var-btn.is-active,
.w11-var-btn[aria-pressed="true"] {
  opacity: 1;
  color: var(--w11-fg);
  border-bottom-color: var(--w11-accent);
}

.w11-var-no {
  color: var(--w11-accent);
  font-weight: 500;
}

/* Synchronisierte 1-px-Haarlinien-Fußzeile im Hero */
.w11-hero-readout {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--w11-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: end;
}

.w11-readout-tag {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w11-accent);
  transition: color 360ms ease;
}

.w11-readout-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--w11-mute);
  max-width: 46ch;
}

.w11-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(var(--w11-accent-rgb), 0.55);
  color: var(--w11-fg);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 220ms ease, color 220ms ease, gap 220ms var(--w11-ease);
}

.w11-text-link:hover,
.w11-text-link:focus-visible {
  color: var(--w11-accent);
  border-bottom-color: var(--w11-accent);
  gap: 12px;
}

/* Rechts: Komplett rahmenlose, frei im Raum schwebende 3D-Bühne */
.w11-hero-stage-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.w11-3d-stage {
  position: relative;
  width: 100%;
  min-height: clamp(440px, 58vh, 640px);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
  cursor: grab;
}

.w11-3d-stage:active {
  cursor: grabbing;
}

.w11-3d-stage canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}

.w11-3d-stage .v3-poster-fallback {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.w11-3d-stage .v3-poster-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 48%, #000 38%, rgba(0, 0, 0, 0.5) 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 48%, #000 38%, rgba(0, 0, 0, 0.5) 68%, transparent 100%);
}

html.v3-webgl-active .w11-3d-stage .v3-poster-fallback {
  opacity: 0;
  transition: opacity 420ms ease;
}

.w11-stage-whisper {
  margin: 6px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w11-fg);
  opacity: 0.38;
}

/* ==========================================================================
   AKT 2 · VIER BÜNDIG VERSCHMOLZENE 2D-MOTION-DARSTELLUNGSVARIANTEN
   ========================================================================== */
.w11-studies {
  position: relative;
  padding: clamp(72px, 9vh, 118px) 0 0;
  background: var(--w11-bg);
  color: var(--w11-fg);
  border-top: 1px solid var(--w11-line);
  overflow: clip;
  isolation: isolate;
}

.w11-studies::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 460px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 64% 55% at 50% 0%,
    rgba(var(--w11-accent-rgb), 0.10) 0%,
    transparent 74%
  );
  transition: opacity 480ms ease;
}

.w11-studies > * {
  position: relative;
  z-index: 1;
}

.w11-sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px 48px;
  align-items: end;
  margin-bottom: clamp(28px, 4vh, 42px);
}

.w11-sec-title {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.w11-sec-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.w11-sec-lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--w11-mute);
  max-width: 48ch;
  justify-self: end;
}

/* Unaufdringliche Popcorn-Auto-Regie-Steuerung */
.w11-auto-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w11-mute);
}

.w11-auto-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.w11-auto-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--w11-accent);
  box-shadow: 0 0 10px rgba(var(--w11-accent-rgb), 0.8);
  animation: w11AutoPulse 2.2s ease-in-out infinite;
}

.w11-auto-dot.is-paused {
  animation: none;
  opacity: 0.35;
  box-shadow: none;
}

@keyframes w11AutoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.78); }
}

.w11-auto-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--w11-line);
  border-radius: 999px;
  background: transparent;
  color: var(--w11-fg);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease;
}

.w11-auto-toggle:hover,
.w11-auto-toggle:focus-visible {
  border-color: var(--w11-accent);
  color: var(--w11-accent);
}

/* Offene 1-px-Haarlinien-Navigation der 4 Szenen mit 2-px-Fortschrittslinie */
.w11-study-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--w11-line);
  border-bottom: 1px solid var(--w11-line);
}

.w11-study-tab {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 18px 16px 18px 0;
  text-align: left;
  color: var(--w11-fg);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0.48;
  transition:
    opacity 240ms var(--w11-ease),
    border-color 280ms var(--w11-ease);
}

.w11-study-tab:hover {
  opacity: 0.84;
}

.w11-study-tab:focus-visible {
  opacity: 1;
  outline: 1px solid var(--w11-accent);
  outline-offset: -2px;
}

.w11-study-tab.is-active,
.w11-study-tab[aria-selected="true"] {
  opacity: 1;
  border-bottom-color: rgba(var(--w11-accent-rgb), 0.25);
}

.w11-tab-progress {
  position: absolute;
  left: 0;
  right: 12px;
  bottom: -2px;
  height: 2px;
  background: var(--w11-accent);
  box-shadow: 0 0 10px rgba(var(--w11-accent-rgb), 0.72);
  transform-origin: left center;
  transform: scaleX(var(--w11-tab-progress, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.w11-study-tab.is-active .w11-tab-progress,
.w11-study-tab[aria-selected="true"] .w11-tab-progress {
  opacity: 1;
}

.w11-study-tab-no {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--w11-accent);
}

.w11-study-tab-name {
  font-family: var(--display);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.w11-study-tab-sub {
  font-size: 0.82rem;
  color: var(--w11-mute);
}

.w11-study-panel {
  animation: w11FadeIn 480ms var(--w11-ease) both;
}

.w11-study-panel[hidden] {
  display: none;
}

@keyframes w11FadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- STUDIE 01 · LICHT-ATELIER (WEBDESIGN, FULL-BLEED MOOD MORPH) ---------- */
.w11-s1-atelier {
  position: relative;
  width: 100%;
  padding: clamp(52px, 7.5vh, 96px) 0 clamp(60px, 8.5vh, 108px);
  background: #07090E;
  color: #EEF2F8;
  --s1-accent: #E5A94E;
  --s1-mute: #9FA9B8;
  --s1-line: rgba(238, 242, 248, 0.16);
  --s1-img-filter: brightness(0.95) contrast(1.06) saturate(0.98);
  --s1-track: -0.03em;
  --s1-weight: 600;
  transition:
    background-color 620ms var(--w11-ease),
    color 460ms var(--w11-ease);
  overflow: clip;
  isolation: isolate;
}

.w11-s1-atelier[data-s1-mood="daylight"] {
  background: #F4F1EA;
  color: #10141A;
  --s1-accent: #9A661B;
  --s1-mute: #4A515E;
  --s1-line: rgba(16, 20, 26, 0.16);
  --s1-img-filter: brightness(1.08) contrast(0.98) saturate(1.05);
  --s1-track: -0.024em;
  --s1-weight: 550;
}

.w11-s1-atelier[data-s1-mood="gallery"] {
  background: #07090E;
  color: #EEF2F8;
  --s1-accent: #E5A94E;
  --s1-mute: #9FA9B8;
  --s1-line: rgba(238, 242, 248, 0.16);
  --s1-img-filter: brightness(0.94) contrast(1.08) saturate(1.02);
  --s1-track: -0.034em;
  --s1-weight: 600;
}

.w11-s1-atelier[data-s1-mood="editorial"] {
  background: #121316;
  color: #F7F5EF;
  --s1-accent: #E8E3D8;
  --s1-mute: #A3A19B;
  --s1-line: rgba(247, 245, 239, 0.22);
  --s1-img-filter: grayscale(0.75) contrast(1.2) brightness(0.94);
  --s1-track: 0.015em;
  --s1-weight: 700;
}

/* Weiche vertikale Einbindung oben/unten in #07090E bei Tageslicht-Stimmung */
.w11-s1-atelier::before,
.w11-s1-atelier::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 54px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 520ms ease;
}

.w11-s1-atelier::before {
  top: 0;
  background: linear-gradient(180deg, var(--w11-bg) 0%, transparent 100%);
}

.w11-s1-atelier::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--w11-bg) 0%, transparent 100%);
}

.w11-s1-atelier[data-s1-mood="daylight"]::before,
.w11-s1-atelier[data-s1-mood="daylight"]::after {
  opacity: 1;
}

.w11-s1-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--s1-line);
  margin-bottom: clamp(28px, 4.5vh, 52px);
}

.w11-s1-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s1-accent);
}

.w11-quiet-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.w11-quiet-switch button {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 4px 0;
  color: inherit;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.48;
  cursor: pointer;
  transition: opacity 220ms ease, border-color 240ms ease, color 240ms ease;
}

.w11-quiet-switch button:hover {
  opacity: 0.86;
}

.w11-quiet-switch button.is-active,
.w11-quiet-switch button[aria-pressed="true"] {
  opacity: 1;
  color: var(--s1-accent);
  border-bottom-color: var(--s1-accent);
}

.w11-s1-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.5vw, 68px);
  align-items: center;
}

.w11-s1-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.w11-s1-headline {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  font-weight: var(--s1-weight);
  line-height: 1.02;
  letter-spacing: var(--s1-track);
  transition: letter-spacing 480ms var(--w11-ease), font-weight 420ms ease;
}

.w11-s1-atelier[data-s1-mood="editorial"] .w11-s1-headline {
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 0.98;
}

.w11-s1-desc {
  margin: 0;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.64;
  color: var(--s1-mute);
}

.w11-s1-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  padding-top: 20px;
  margin-top: 8px;
  border-top: 1px solid var(--s1-line);
}

.w11-s1-metrics strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.05;
  color: inherit;
}

.w11-s1-metrics span {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--s1-mute);
}

.w11-s1-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.w11-s1-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: var(--s1-img-filter);
  transition: filter 600ms var(--w11-ease), transform 700ms var(--w11-ease);
}

.w11-s1-atelier .w11-text-link {
  border-bottom-color: var(--s1-accent);
  color: inherit;
  align-self: flex-start;
  margin-top: 6px;
}

.w11-s1-atelier .w11-text-link:hover {
  color: var(--s1-accent);
}

/* ---------- STUDIE 02 · LIVE-DATENSTROM-CHOREOGRAFIE (SOFTWARE, 2D-SVG) ---------- */
.w11-s2-flow {
  position: relative;
  padding: clamp(52px, 7.5vh, 92px) 0 clamp(64px, 8.5vh, 108px);
  overflow: clip;
  isolation: isolate;
}

.w11-s2-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
}

.w11-s2-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 68% 64% at 52% 48%, #000 18%, transparent 88%);
  mask-image: radial-gradient(ellipse 68% 64% at 52% 48%, #000 18%, transparent 88%);
}

.w11-s2-inner {
  position: relative;
  z-index: 1;
}

.w11-s2-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px 28px;
  margin-bottom: clamp(20px, 3vh, 32px);
}

.w11-s2-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.w11-topo-stage {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(8px, 1.5vh, 18px) 0;
}

.w11-topo-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.w11-topo-gridline {
  stroke: rgba(238, 242, 248, 0.06);
  stroke-width: 1;
}

.w11-topo-wire {
  fill: none;
  stroke: rgba(56, 189, 248, 0.18);
  stroke-width: 1.25;
  transition: stroke 320ms ease, stroke-width 320ms ease;
}

.w11-topo-wire.is-route-hot {
  stroke: rgba(56, 189, 248, 0.45);
  stroke-width: 1.75;
}

.w11-topo-pulse {
  fill: none;
  stroke: #38BDF8;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 18 162;
  opacity: 0.55;
  animation: w11DataFlow 4.2s linear infinite;
  transition: opacity 300ms ease, stroke 300ms ease, stroke-width 300ms ease;
}

.w11-topo-pulse.is-reverse {
  animation-direction: reverse;
  animation-duration: 5.4s;
  stroke: #7DD3FC;
  opacity: 0.38;
}

.w11-topo-pulse.is-route-hot {
  opacity: 1;
  stroke: #7DD3FC;
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.85));
  animation-duration: 2.2s;
}

@keyframes w11DataFlow {
  from { stroke-dashoffset: 180; }
  to { stroke-dashoffset: 0; }
}

.w11-topo-node {
  cursor: pointer;
  outline: none;
}

.w11-topo-ring-outer {
  fill: rgba(7, 9, 14, 0.65);
  stroke: rgba(56, 189, 248, 0.34);
  stroke-width: 1;
  transition: stroke 260ms ease, fill 260ms ease, transform 320ms var(--w11-ease);
  transform-box: fill-box;
  transform-origin: center;
}

.w11-topo-ring-wave {
  fill: none;
  stroke: rgba(56, 189, 248, 0.45);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.w11-topo-node.is-active .w11-topo-ring-wave {
  opacity: 1;
  animation: w11NodeRipple 2.4s var(--w11-ease) infinite;
}

@keyframes w11NodeRipple {
  0% { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(1.85); opacity: 0; }
}

.w11-topo-core {
  fill: #94A3B8;
  transition: fill 260ms ease, transform 260ms var(--w11-ease);
  transform-box: fill-box;
  transform-origin: center;
}

.w11-topo-node:hover .w11-topo-ring-outer,
.w11-topo-node:focus-visible .w11-topo-ring-outer,
.w11-topo-node.is-active .w11-topo-ring-outer {
  stroke: #38BDF8;
  fill: rgba(56, 189, 248, 0.12);
  transform: scale(1.12);
}

.w11-topo-node:hover .w11-topo-core,
.w11-topo-node:focus-visible .w11-topo-core,
.w11-topo-node.is-active .w11-topo-core {
  fill: #38BDF8;
  transform: scale(1.22);
}

.w11-topo-code {
  fill: #38BDF8;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.w11-topo-name {
  fill: #EEF2F8;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
}

.w11-topo-sub {
  fill: #94A3B8;
  font-family: var(--mono);
  font-size: 11px;
}

.w11-s2-detail {
  margin-top: clamp(20px, 3vh, 32px);
  padding-top: 22px;
  border-top: 1px solid var(--w11-line);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) auto;
  gap: 18px 36px;
  align-items: start;
}

.w11-s2-detail-title {
  margin: 6px 0 6px;
  font-family: var(--display);
  font-size: clamp(1.28rem, 1.8vw, 1.55rem);
  font-weight: 600;
}

.w11-s2-detail-copy {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--w11-mute);
}

.w11-s2-telemetry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.w11-s2-telemetry strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 500;
  color: #38BDF8;
}

.w11-s2-telemetry span {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--w11-mute);
}

/* ---------- SZENE 03 · IHR LOKALER KI-AGENT (OFFENES LICHTFELD, NULL KASTEN-OPTIK) ---------- */
.w11-s3-glass {
  position: relative;
  padding: clamp(52px, 7.5vh, 92px) 0 clamp(64px, 8.5vh, 108px);
  overflow: clip;
  isolation: isolate;
}

.w11-s3-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
}

.w11-s3-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 68% 64% at 50% 48%, #000 18%, transparent 88%);
  mask-image: radial-gradient(ellipse 68% 64% at 50% 48%, #000 18%, transparent 88%);
}

.w11-s3-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 48% at 50% 42%, rgba(52, 211, 153, 0.14) 0%, transparent 72%),
    radial-gradient(ellipse 36% 36% at 86% 52%, rgba(213, 155, 66, 0.09) 0%, transparent 70%);
  transition: opacity 420ms ease, filter 420ms ease;
}

.w11-s3-glass.is-pulsing .w11-s3-glow {
  filter: brightness(1.55);
}

.w11-s3-inner {
  position: relative;
  z-index: 1;
}

.w11-s3-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 28px;
  margin-bottom: clamp(24px, 3.6vh, 38px);
}

.w11-s3-head h3 {
  margin: 10px 0 0;
  max-width: 24ch;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.w11-impulse-trigger {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(52, 211, 153, 0.55);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  color: #ECFDF5;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 240ms ease, background-color 240ms ease, box-shadow 240ms ease, transform 240ms var(--w11-ease);
}

.w11-impulse-trigger:hover,
.w11-impulse-trigger:focus-visible {
  border-color: #34D399;
  background: rgba(52, 211, 153, 0.22);
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.28);
  transform: translateY(-1px);
}

.w11-impulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 12px #34D399;
}

/* Animierte Live-Impuls-Lichtbahnen direkt im offenen Raum */
.w11-agent-conduit {
  width: 100%;
  margin: 0 0 clamp(6px, 1.5vh, 14px);
  overflow: visible;
}

.w11-agent-rail-svg {
  display: block;
  width: 100%;
  height: clamp(68px, 9vh, 108px);
  overflow: visible;
}

.w11-agent-wire {
  fill: none;
  stroke: rgba(52, 211, 153, 0.18);
  stroke-width: 1.2;
}

.w11-agent-wire.is-alt {
  stroke: rgba(213, 155, 66, 0.14);
}

.w11-agent-pulse {
  fill: none;
  stroke: #34D399;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 28 212;
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.9));
  animation: w11AgentBeam 3.2s linear infinite;
}

.w11-agent-pulse.is-gold {
  stroke: #E5A94E;
  stroke-dasharray: 20 220;
  filter: drop-shadow(0 0 8px rgba(229, 169, 78, 0.85));
  animation-duration: 4.4s;
  animation-delay: -1.6s;
}

.w11-s3-glass.is-pulsing .w11-agent-pulse {
  animation-duration: 1.1s;
  stroke-width: 3.4;
}

@keyframes w11AgentBeam {
  from { stroke-dashoffset: 240; }
  to { stroke-dashoffset: 0; }
}

.w11-agent-orb-ring {
  fill: none;
  stroke: rgba(52, 211, 153, 0.45);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: w11NodeRipple 2.8s var(--w11-ease) infinite;
}

.w11-agent-orb-ring.is-center {
  animation-delay: -0.9s;
}

.w11-agent-orb-ring.is-end {
  stroke: rgba(229, 169, 78, 0.5);
  animation-delay: -1.8s;
}

.w11-agent-orb-core {
  fill: #34D399;
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.95));
}

.w11-agent-orb-core.is-gold {
  fill: #E5A94E;
  filter: drop-shadow(0 0 8px rgba(229, 169, 78, 0.95));
}

.w11-glass-arena {
  perspective: 1200px;
  perspective-origin: 50% 46%;
  padding: clamp(8px, 1.5vh, 18px) 0 clamp(22px, 3vh, 38px);
  --gl-rx: 0deg;
  --gl-ry: 0deg;
  --gl-spread: 0;
  --gl-mx: 50%;
  --gl-my: 45%;
}

.w11-glass-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  transform-style: preserve-3d;
  transform: rotateX(var(--gl-rx)) rotateY(var(--gl-ry));
  will-change: transform;
}

/* 100 % kastenlose, frei schwebende Impuls-Stationen ohne Papier- oder Box-Optik */
.w11-glass-plane {
  position: relative;
  padding: 22px 0 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: opacity 260ms ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0.68;
}

.w11-glass-plane::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.42) 0%, rgba(238, 242, 248, 0.14) 70%, transparent 100%);
  transition: height 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.w11-glass-plane::after {
  content: "";
  position: absolute;
  inset: -12px -16px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    280px circle at var(--gl-mx) var(--gl-my),
    rgba(52, 211, 153, 0.11) 0%,
    transparent 70%
  );
  transition: opacity 320ms ease;
}

.w11-glass-plane:hover {
  opacity: 0.94;
}

.w11-glass-plane.is-focused {
  opacity: 1;
}

.w11-glass-plane.is-focused::before {
  height: 2px;
  background: linear-gradient(90deg, #34D399 0%, rgba(52, 211, 153, 0.35) 68%, transparent 100%);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.65);
}

.w11-glass-plane[data-glass-layer="3"].is-focused::before {
  background: linear-gradient(90deg, #E5A94E 0%, rgba(52, 211, 153, 0.45) 68%, transparent 100%);
  box-shadow: 0 0 18px rgba(229, 169, 78, 0.6);
}

.w11-glass-plane.is-focused::after {
  opacity: 1;
}

.w11-glass-plane[data-glass-layer="1"] {
  transform: translateZ(calc(0px + var(--gl-spread) * 8px)) translateX(calc(var(--gl-spread) * -8px));
}
.w11-glass-plane[data-glass-layer="2"] {
  transform: translateZ(calc(24px + var(--gl-spread) * 22px));
}
.w11-glass-plane[data-glass-layer="3"] {
  transform: translateZ(calc(48px + var(--gl-spread) * 36px)) translateX(calc(var(--gl-spread) * 8px));
}

.w11-glass-plane:focus-visible {
  outline: 1px solid #34D399;
  outline-offset: 6px;
}

.w11-plane-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.w11-impulse-orb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.85);
  flex-shrink: 0;
}

.w11-impulse-orb.is-gold {
  background: #E5A94E;
  box-shadow: 0 0 12px rgba(229, 169, 78, 0.85);
}

.w11-glass-step {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #34D399;
}

.w11-glass-plane[data-glass-layer="3"] .w11-glass-step {
  color: #E5A94E;
}

.w11-glass-plane h4 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.75vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--w11-fg);
}

.w11-glass-plane p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.62;
  color: rgba(238, 242, 248, 0.74);
}

.w11-glass-trace {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(52, 211, 153, 0.16);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.55;
  color: #6EE7B7;
}

.w11-glass-plane[data-glass-layer="3"] .w11-glass-trace {
  border-top-color: rgba(229, 169, 78, 0.22);
  color: #F3D196;
}

.w11-s3-foot {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--w11-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 28px;
}

.w11-s3-foot p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--w11-mute);
  max-width: 62ch;
}

/* ---------- STUDIE 04 · ECHTZEIT-3D & EIGENPRODUKTIONEN (100 % PANORAMA) ---------- */
.w11-s4-prod {
  position: relative;
  padding: clamp(32px, 4.5vh, 52px) 0 clamp(64px, 8.5vh, 108px);
}

.w11-s4-panorama {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: clamp(280px, 42vh, 500px);
  overflow: hidden;
  --v6-scrub-accent: #E2E8F0;
  --v6-scrub-glow: #E2E8F0;
}

.w11-s4-panorama img,
.w11-s4-panorama video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.w11-s4-panorama video {
  opacity: 0;
}

.w11-s4-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 12px 0 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w11-mute);
}

.w11-prod-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--w11-line);
}

.w11-prod-ledger li {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.9fr) minmax(0, 1.35fr) auto;
  gap: 10px 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--w11-line);
  transition: border-color 240ms ease;
}

.w11-prod-ledger li:hover {
  border-bottom-color: rgba(226, 232, 240, 0.44);
}

.w11-prod-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--w11-accent);
}

.w11-prod-ledger strong {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--w11-fg);
}

.w11-prod-ledger span.w11-prod-desc {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--w11-mute);
}

/* ==========================================================================
   AKT 3 · LIVE-HANDSCHRIFTEN-WECHSLER („EIN INHALT — DREI DESIGN-WELTEN“)
   ========================================================================== */
.w11-handschriften {
  position: relative;
  padding: clamp(84px, 11vh, 144px) 0;
  background: #F4F1EA;
  color: #10141A;
  --hs-bg: #F4F1EA;
  --hs-ink: #10141A;
  --hs-mute: #4B5360;
  --hs-accent: #9A661B;
  --hs-line: rgba(16, 20, 26, 0.16);
  --hs-font-head: var(--display);
  --hs-font-body: var(--sans);
  --hs-head-track: -0.032em;
  --hs-head-weight: 560;
  --hs-img-filter: brightness(1.04) contrast(0.98) saturate(1.04);
  transition:
    background-color 640ms var(--w11-ease),
    color 480ms var(--w11-ease);
  overflow: clip;
  isolation: isolate;
}

.w11-handschriften[data-w11-script="obsidian"] {
  background: #06080D;
  color: #EFF3FA;
  --hs-bg: #06080D;
  --hs-ink: #EFF3FA;
  --hs-mute: #97A2B4;
  --hs-accent: #E5A94E;
  --hs-line: rgba(239, 243, 250, 0.16);
  --hs-font-head: var(--display);
  --hs-font-body: var(--sans);
  --hs-head-track: -0.038em;
  --hs-head-weight: 600;
  --hs-img-filter: brightness(0.92) contrast(1.12) saturate(1.06);
}

.w11-handschriften[data-w11-script="editorial"] {
  background: #ECECE5;
  color: #111214;
  --hs-bg: #ECECE5;
  --hs-ink: #111214;
  --hs-mute: #484A4D;
  --hs-accent: #111214;
  --hs-line: rgba(17, 18, 20, 0.24);
  --hs-font-head: var(--mono);
  --hs-font-body: var(--mono);
  --hs-head-track: -0.02em;
  --hs-head-weight: 500;
  --hs-img-filter: grayscale(1) contrast(1.16) brightness(0.98);
}

/* Weiche, bündige Übergangssäume oben/unten zum dunklen #07090E-Raum */
.w11-handschriften::before,
.w11-handschriften::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(56px, 7.5vh, 96px);
  pointer-events: none;
  z-index: 1;
}

.w11-handschriften::before {
  top: 0;
  background: linear-gradient(180deg, var(--w11-bg) 0%, transparent 100%);
}

.w11-handschriften::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--w11-bg) 0%, transparent 100%);
}

/* Subtiler Kino-Lichtkegel in der Obsidian-Handschrift */
.w11-hs-aura {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    ellipse 64% 58% at 74% 50%,
    rgba(229, 169, 78, 0.14) 0%,
    transparent 70%
  );
  transition: opacity 640ms var(--w11-ease);
}

.w11-handschriften[data-w11-script="obsidian"] .w11-hs-aura {
  opacity: 1;
}

.w11-hs-inner {
  position: relative;
  z-index: 2;
}

.w11-hs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hs-line);
  margin-bottom: clamp(32px, 5vh, 58px);
}

.w11-hs-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.w11-hs-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.w11-hs-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.w11-script-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 2.4vw, 32px);
}

.w11-script-rail button {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 6px 0 8px;
  color: var(--hs-ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 220ms ease, border-color 260ms ease, color 260ms ease;
}

.w11-script-rail button:hover {
  opacity: 0.85;
}

.w11-script-rail button:focus-visible {
  opacity: 1;
  outline: 1px solid var(--hs-accent);
  outline-offset: 4px;
}

.w11-script-rail button.is-active,
.w11-script-rail button[aria-pressed="true"] {
  opacity: 1;
  color: var(--hs-accent);
  border-bottom-color: color-mix(in srgb, var(--hs-accent) 28%, transparent);
}

.w11-hs-prog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--hs-accent);
  transform-origin: left center;
  transform: scaleX(var(--w11-hs-progress, 0));
  opacity: 0;
  pointer-events: none;
}

.w11-script-rail button.is-active .w11-hs-prog {
  opacity: 1;
}

.w11-hs-auto-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--hs-line);
  border-radius: 999px;
  background: transparent;
  color: var(--hs-mute);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease;
}

.w11-hs-auto-btn:hover,
.w11-hs-auto-btn:focus-visible {
  border-color: var(--hs-accent);
  color: var(--hs-ink);
}

.w11-hs-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.w11-handschriften[data-w11-script="editorial"] .w11-hs-stage {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.w11-hs-eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-accent);
}

.w11-hs-title {
  margin: 0;
  font-family: var(--hs-font-head);
  font-size: clamp(2.15rem, 4.2vw, 3.9rem);
  font-weight: var(--hs-head-weight);
  line-height: 1.01;
  letter-spacing: var(--hs-head-track);
  color: var(--hs-ink);
  transition: letter-spacing 480ms var(--w11-ease), font-size 480ms var(--w11-ease);
}

.w11-handschriften[data-w11-script="editorial"] .w11-hs-title {
  font-size: clamp(1.75rem, 3.1vw, 2.85rem);
  line-height: 1.14;
  text-transform: uppercase;
}

.w11-hs-body {
  margin: 20px 0 0;
  max-width: 50ch;
  font-family: var(--hs-font-body);
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  line-height: 1.66;
  color: var(--hs-mute);
}

.w11-handschriften[data-w11-script="editorial"] .w11-hs-body {
  font-size: 0.9rem;
  line-height: 1.72;
}

.w11-hs-specs {
  margin-top: clamp(24px, 3.6vh, 38px);
  padding-top: 20px;
  border-top: 1px solid var(--hs-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
}

.w11-hs-specs dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hs-accent);
  margin: 0 0 5px;
}

.w11-hs-specs dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--hs-ink);
}

.w11-hs-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
}

.w11-hs-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.035);
  filter: var(--hs-img-filter);
  transition: opacity 640ms var(--w11-ease), filter 640ms var(--w11-ease), transform 780ms var(--w11-ease);
}

.w11-hs-visual img.is-active {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   AKT 4 · KLARER ABSCHLUSS & DIREKTEINSTIEG (1-PX-HAARLINIEN-FINALE)
   ========================================================================== */
.w11-finale {
  position: relative;
  padding: clamp(76px, 10vh, 132px) 0 clamp(84px, 11vh, 140px);
  background: var(--w11-bg);
  color: var(--w11-fg);
}

.w11-finale-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.w11-finale-title {
  margin: 14px 0 16px;
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.9vw, 3.5rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.032em;
}

.w11-finale-lead {
  margin: 0;
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.64;
  color: var(--w11-mute);
}

.w11-finale-links {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--w11-line);
}

.w11-finale-links li {
  border-bottom: 1px solid var(--w11-line);
}

.w11-finale-links a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: baseline;
  padding: 22px 0;
  text-decoration: none;
  color: var(--w11-fg);
  transition: padding-left 260ms var(--w11-ease), color 220ms ease;
}

.w11-finale-links a:hover,
.w11-finale-links a:focus-visible {
  padding-left: 8px;
  color: var(--w11-accent);
}

.w11-finale-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--w11-accent);
}

.w11-finale-links strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.w11-finale-links small {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--w11-mute);
}

.w11-finale-arrow {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--w11-accent);
}

/* ==========================================================================
   STILLSCHALTER & REDUCED-MOTION & RESPONSIVE (390px: 0 px ÜBERLAUF)
   ========================================================================== */
html.is-still .w11-topo-pulse,
html.is-still .w11-topo-ring-wave,
html.is-still .w11-agent-pulse,
html.is-still .w11-agent-orb-ring,
html.is-still .w11-auto-dot {
  animation: none !important;
}

html.is-still .w11-glass-stack,
html.is-still .w11-glass-plane {
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .w11-topo-pulse,
  .w11-topo-ring-wave,
  .w11-agent-pulse,
  .w11-agent-orb-ring,
  .w11-auto-dot,
  .w11-study-panel {
    animation: none !important;
  }
  .w11-glass-stack,
  .w11-glass-plane,
  .w11-backdrop-layer {
    transform: none !important;
    transition: opacity 200ms ease !important;
  }
}

@media (max-width: 1024px) {
  .w11-hero-grid,
  .w11-sec-head,
  .w11-s1-grid,
  .w11-hs-stage,
  .w11-finale-grid {
    grid-template-columns: 1fr;
  }
  .w11-sec-right {
    align-items: flex-start;
  }
  .w11-sec-lead {
    justify-self: start;
  }
  .w11-3d-stage {
    min-height: clamp(340px, 46vh, 460px);
  }
  .w11-study-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .w11-glass-stack {
    grid-template-columns: 1fr;
    transform: none !important;
  }
  .w11-glass-plane[data-glass-layer] {
    transform: none !important;
    min-height: auto;
  }
  .w11-s2-detail {
    grid-template-columns: 1fr;
  }
  .w11-prod-ledger li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px 14px;
  }
  .w11-prod-ledger span.w11-prod-desc,
  .w11-prod-ledger .w11-text-link {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .w11-hero {
    min-height: auto;
    padding: 96px 0 48px;
  }
  .w11-hero-readout {
    grid-template-columns: 1fr;
  }
  .w11-study-nav {
    grid-template-columns: 1fr;
  }
  .w11-study-tab {
    padding: 14px 0;
  }
  .w11-s1-metrics,
  .w11-hs-specs {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .w11-s4-panorama {
    aspect-ratio: 16 / 10;
    min-height: 230px;
  }
  .w11-finale-links a {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 6px 12px;
  }
}

/* V11e · Mobile Entschlackung W11 Referenzen: 3D-Monolith sofort sichtbar, kein Text-Turm (<= 768px) */
@media (max-width: 768px) {
  .w11-hero {
    padding-top: 72px !important;
    padding-bottom: 36px !important;
    min-height: auto !important;
  }
  .w11-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }
  /* 3D-Monolith direkt nach oben bringen! */
  .w11-hero-stage-col {
    order: -1;
  }
  .w11-hero-stage-col [data-v3-embedded-stage] {
    min-height: 245px !important;
    height: 255px !important;
  }
  .w11-hero-lead,
  .w11-hero-actions,
  .w11-hero-readout,
  .w11-stage-hint {
    display: none !important;
  }
  .w11-hero-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }
  .w11-hero-tabs button {
    font-size: 0.74rem !important;
    padding: 10px 6px !important;
  }
}
