/* ==========================================================================
   marlow design — Spatial 3D Portfolio Experience
   Design System: Vibrant Fidelity & Architectural Depth
   ========================================================================== */

:root {
  /* Spatial Void & Canvas Tokens */
  --canvas-void: #0e0e13;
  --surface-base: #0e0e13;
  --surface-container-lowest: #0a0a0d;
  --surface-container-low: #121217;
  --surface-container: #18181f;
  --surface-container-high: #22222a;
  --surface-container-highest: #2c2c36;

  /* Frosted Glass Substrate */
  --glass-bg: rgba(37, 37, 37, 0.75);
  --glass-border: rgba(230, 119, 173, 0.35);
  --glass-border-active: #de4992;
  --glass-glow: rgba(222, 73, 146, 0.28);

  /* Brand Luminescence */
  --primary-magenta: #de4992;
  --primary-light: #ffb0ce;
  --primary-deep: #812458;
  --secondary-pink: #e677ad;
  --accent-cyan: #00f0ff;
  --accent-gold: #ffb800;

  /* Readout & Text Tokens */
  --text-pure: #efeded;
  --text-muted: #a1a1a1;
  --text-subtle: #6c6c7d;
  --text-dark: #131313;

  /* Typography */
  --font-display: 'League Spartan', sans-serif;
  --font-cursive: 'Architects Daughter', cursive, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Spatial Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Spatial Canvas Setup
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--canvas-void);
}

body {
  background-color: var(--canvas-void);
  color: var(--text-pure);
  font-family: var(--font-display);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Spatial Floor Grid & Volumetric Horizon */
.spatial-stage-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.perspective-grid-floor {
  position: absolute;
  bottom: -20vh;
  left: -50vw;
  width: 200vw;
  height: 90vh;
  background-image: 
    linear-gradient(to right, rgba(230, 119, 173, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(230, 119, 173, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(65deg);
  transform-origin: center bottom;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 60%, rgba(0, 0, 0, 0.9) 0%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 60%, rgba(0, 0, 0, 0.9) 0%, transparent 85%);
}

.volumetric-light-cone {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(222, 73, 146, 0.22) 0%, rgba(129, 36, 88, 0.08) 45%, transparent 75%);
  filter: blur(80px);
  opacity: 0.8;
  pointer-events: none;
}

/* ==========================================================================
   Header HUD Navigation
   ========================================================================== */
.hud-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.8rem;
  z-index: 300;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 119, 173, 0.18);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background var(--transition-fast);
}

.hud-header.header-hidden {
  transform: translateY(-115%);
  opacity: 0;
  pointer-events: none;
}

.hud-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hud-logo {
  height: 34px;
  width: auto;
  color: var(--primary-magenta);
  filter: drop-shadow(0 0 10px rgba(222, 73, 146, 0.4));
}

.hud-system-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  border-left: 1px solid var(--surface-container-highest);
  padding-left: 1rem;
}

.status-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

.hud-nav {
  display: flex;
  align-items: center;
}

.hud-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.hud-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.hud-link:hover,
.hud-link.active {
  color: var(--primary-light);
}

.hud-link:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-magenta);
  box-shadow: 0 0 8px var(--primary-magenta);
}

.hud-cta-pill {
  font-family: var(--font-cursive);
  font-size: 1.15rem;
  color: var(--text-pure);
  padding: 0.45rem 1.3rem;
  background: var(--glass-bg);
  border: 1px solid var(--primary-magenta);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 15px rgba(222, 73, 146, 0.25);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.hud-cta-pill:hover {
  background: var(--primary-magenta);
  color: #fff;
  box-shadow: 0 0 25px rgba(222, 73, 146, 0.6);
  transform: translateY(-2px);
}

.hud-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hud-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-pure);
  position: relative;
  transition: all var(--transition-fast);
}

.hud-hamburger span::before,
.hud-hamburger span::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-pure);
  transition: all var(--transition-fast);
}
.hud-hamburger span::before { top: -7px; }
.hud-hamburger span::after { bottom: -7px; }

.hud-hamburger.open span { background: transparent; }
.hud-hamburger.open span::before { transform: translateY(7px) rotate(45deg); }
.hud-hamburger.open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Spatial Stage / Centerpiece Hero Container
   ========================================================================== */
.spatial-stage {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: clamp(6rem, 15vh, 12rem);
  overflow: hidden;
  perspective: 1200px;
}

.agent-select-container {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem 3.5rem;
  transform-style: preserve-3d;
  z-index: 5;
}

/* --------------------------------------------------------------------------
   HERO OPENER: "CHOOSE YOUR CHARACTER" (Architects Daughter)
   -------------------------------------------------------------------------- */
.hero-character-opener-bar {
  width: 100%;
  text-align: center;
  margin-bottom: 2.25rem;
  position: relative;
  z-index: 8;
}

.choose-character-subtag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--secondary-pink);
  letter-spacing: 0.16em;
  margin-bottom: 0.35rem;
  text-shadow: 0 0 12px rgba(230, 119, 173, 0.4);
}

.choose-character-title {
  font-family: var(--font-cursive);
  font-size: clamp(2.4rem, 5.5vw, 5.2rem);
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.18em 0.38em;
  margin: 0;
  text-shadow: 
    0 0 25px rgba(222, 73, 146, 0.55),
    0 0 60px rgba(222, 73, 146, 0.3);
}

.hero-title-word {
  display: inline-block;
  vertical-align: middle;
}

.hero-title-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  line-height: 0.82;
  margin: 0 0.12em;
  vertical-align: middle;
}

.hero-title-struck {
  position: relative;
  display: inline-block;
  font-size: 0.82em;
  line-height: 0.88;
  color: #efeded;
  transform: rotate(-3deg);
}

.hero-title-scribble {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 125%;
  height: 130%;
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255, 42, 141, 0.6));
}

.hero-title-replace {
  display: inline-block;
  font-size: 0.96em;
  line-height: 0.88;
  color: #ffffff;
  margin-top: 0.06em;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   HERO STAGE DYNAMIC ENTRANCE ANIMATION (Page Open Sequence)
   ========================================================================== */

/* 0. Pending state (applied synchronously by inline script before render to avoid FOUC) */
.hero-intro-pending .word-choose,
.hero-intro-pending .word-your,
.hero-intro-pending .word-character,
.hero-intro-pending .word-my,
.hero-intro-pending .lineup-img-wrap,
.hero-intro-pending .character-ground-shadow,
.hero-intro-pending .character-silhouette-glow,
.hero-intro-pending .agent-spec-hud,
.hero-intro-pending .character-slanted-sticker {
  opacity: 0 !important;
}

.hero-intro-pending .hero-scribble-path {
  stroke-dasharray: 300 !important;
  stroke-dashoffset: 300 !important;
  opacity: 0 !important;
}

/* 1. Word: CHOOSE - Handwrite wipe from left to right (0.10s -> 0.38s) */
.hero-intro-active .word-choose {
  animation: heroHandwriteWipe 0.28s cubic-bezier(0.25, 1, 0.5, 1) 0.10s both;
}

/* 2. Word: YOUR - Written in the SAME horizontal line as CHOOSE & CHARACTER, gets scribbled, then smoothly slides up into stack position */
.hero-intro-active .word-your {
  animation: heroYourInLineAndSlideUp 1.22s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

/* 3. Word: CHARACTER - Handwrite wipe from left to right (0.62s -> 1.00s) */
.hero-intro-active .word-character {
  animation: heroHandwriteWipe 0.38s cubic-bezier(0.25, 1, 0.5, 1) 0.62s both;
}

/* 4. Scribble across "YOUR" in-line (1.05s -> 1.30s) */
.hero-intro-active .hero-scribble-path {
  animation: heroScribbleDraw 0.26s ease-in-out 1.05s both;
}

/* 5. Word: MY - Written / stamped underneath in the cleared space (1.48s -> 1.74s) */
.hero-intro-active .word-my {
  animation: heroMyHandwriteIn 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.48s both;
}

/* 6. Character Lineup Stage - Stage foundation (1.70s) */
.hero-intro-active .character-ground-shadow {
  animation: heroFadeIn 0.45s ease 1.70s both;
}

.hero-intro-active .character-silhouette-glow {
  animation: heroGlowFadeIn 0.45s ease 1.70s both;
}

/* Individual character slots pop in sequentially from left to right, then center (selected)! */
/* Far Left: Content Producer (slot 4) */
.hero-intro-active .lineup-character-slot[data-role-idx="4"] .lineup-img-wrap {
  animation: heroSlotImgPop 0.45s cubic-bezier(0.16, 1, 0.3, 1) 1.70s both;
}

/* Mid Left: Mediengestalter (slot 0) */
.hero-intro-active .lineup-character-slot[data-role-idx="0"] .lineup-img-wrap {
  animation: heroSlotImgPop 0.45s cubic-bezier(0.16, 1, 0.3, 1) 1.82s both;
}

/* Mid Right: Videoeditor (slot 2) */
.hero-intro-active .lineup-character-slot[data-role-idx="2"] .lineup-img-wrap {
  animation: heroSlotImgPop 0.45s cubic-bezier(0.16, 1, 0.3, 1) 1.94s both;
}

/* Far Right: Kreativkopf (slot 3) */
.hero-intro-active .lineup-character-slot[data-role-idx="3"] .lineup-img-wrap {
  animation: heroSlotImgPop 0.45s cubic-bezier(0.16, 1, 0.3, 1) 2.06s both;
}

/* CENTER / SELECTED: Grafikdesigner (slot 1) - Grand finale of the character reveal! */
.hero-intro-active .lineup-character-slot[data-role-idx="1"] .lineup-img-wrap {
  animation: heroActiveSlotImgPop 0.50s cubic-bezier(0.16, 1, 0.3, 1) 2.20s both;
}

/* 7. Right Rollenkarte (Agent Spec HUD) - Pops in from right/below (2.42s -> 2.88s) */
.hero-intro-active .agent-spec-hud {
  animation: heroSpecHudPop 0.50s cubic-bezier(0.16, 1, 0.3, 1) 2.42s both;
}

/* 8. Slanted Sticker ("Zum Auswählen Anklicken oder Wischen.") - Slaps down (2.65s -> 3.05s) */
.hero-intro-active .character-slanted-sticker {
  animation: heroStickerSlapIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) 2.65s both;
}

/* --- Hero Dynamic Entrance Keyframes --- */
@keyframes heroHandwriteWipe {
  0% {
    opacity: 0;
    clip-path: inset(-20px 100% -20px -10px);
    -webkit-clip-path: inset(-20px 100% -20px -10px);
    transform: translateX(-6px);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(-20px -25px -20px -10px);
    -webkit-clip-path: inset(-20px -25px -20px -10px);
    transform: translateX(0);
  }
}

@keyframes heroScribbleDraw {
  0% {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    stroke-dasharray: 300;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes heroYourInLineAndSlideUp {
  0% {
    opacity: 0;
    clip-path: inset(-20px 100% -20px -10px);
    -webkit-clip-path: inset(-20px 100% -20px -10px);
    transform: translateY(0.40em) scale(1.22) rotate(0deg) translateX(-6px);
  }
  20% {
    opacity: 1;
    clip-path: inset(-20px -25px -20px -10px);
    -webkit-clip-path: inset(-20px -25px -20px -10px);
    transform: translateY(0.40em) scale(1.22) rotate(0deg) translateX(0);
  }
  55% {
    opacity: 1;
    clip-path: inset(-20px -25px -20px -10px);
    -webkit-clip-path: inset(-20px -25px -20px -10px);
    transform: translateY(0.40em) scale(1.22) rotate(0deg);
  }
  74% {
    opacity: 1;
    transform: translateY(0.40em) scale(1.22) rotate(0deg);
  }
  100% {
    opacity: 0.75;
    transform: translateY(0) scale(1) rotate(-3deg);
  }
}

@keyframes heroMyHandwriteIn {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.4) rotate(-10deg);
    clip-path: inset(-15px 100% -15px -10px);
    -webkit-clip-path: inset(-15px 100% -15px -10px);
  }
  60% {
    opacity: 1;
    transform: translateY(2px) scale(1.15) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    clip-path: inset(-15px -25px -15px -10px);
    -webkit-clip-path: inset(-15px -25px -15px -10px);
  }
}

@keyframes heroSlotImgPop {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.86);
  }
  70% {
    opacity: 1;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroActiveSlotImgPop {
  0% {
    opacity: 0;
    transform: translateY(65px) scale(0.82);
    filter: brightness(0.65);
  }
  65% {
    opacity: 1;
    transform: translateY(-8px) scale(1.04);
    filter: brightness(1.2);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes heroSpecHudPop {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.94);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.012);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroStickerSlapIn {
  0% {
    opacity: 0;
    transform: rotate(-22deg) scale(1.8) translateZ(0);
  }
  60% {
    opacity: 1;
    transform: rotate(-3deg) scale(0.92) translateZ(0);
  }
  82% {
    transform: rotate(-6deg) scale(1.05) translateZ(0);
  }
  100% {
    opacity: 1;
    transform: rotate(-5deg) scale(1) translateZ(0);
  }
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes heroGlowFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro-pending .word-choose,
  .hero-intro-pending .word-your,
  .hero-intro-pending .word-character,
  .hero-intro-pending .word-my,
  .hero-intro-pending .lineup-img-wrap,
  .hero-intro-pending .character-ground-shadow,
  .hero-intro-pending .character-silhouette-glow,
  .hero-intro-pending .agent-spec-hud,
  .hero-intro-pending .character-slanted-sticker,
  .hero-intro-active .word-choose,
  .hero-intro-active .word-your,
  .hero-intro-active .word-character,
  .hero-intro-active .word-my,
  .hero-intro-active .lineup-img-wrap,
  .hero-intro-active .character-ground-shadow,
  .hero-intro-active .character-silhouette-glow,
  .hero-intro-active .agent-spec-hud,
  .hero-intro-active .character-slanted-sticker {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    clip-path: none !important;
    filter: none !important;
  }
  .hero-intro-pending .hero-scribble-path,
  .hero-intro-active .hero-scribble-path {
    stroke-dashoffset: 0 !important;
    animation: none !important;
    opacity: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   VALORANT-STYLE "AGENT SELECT" HERO EXPERIENCE
   -------------------------------------------------------------------------- */

.agent-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.25rem;
  align-items: stretch;
  position: relative;
  width: 100%;
}

/* Character Lineup Viewport (Side-by-Side Standings) */
.agent-character-anchor {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transform: translateZ(40px);
  width: 100%;
  height: 100%;
  /* Clip precisely at the bottom edge so glow is perfectly flush with the right box */
  clip-path: inset(-300px -300px 0px -300px);
}

.character-lineup-viewport {
  position: relative;
  width: 100%;
  max-width: 740px;
  height: 100%;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  user-select: none;
  cursor: grab;
  touch-action: pan-y;
}

.character-lineup-viewport:active {
  cursor: grabbing;
}

.character-silhouette-glow {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 400px;
  background: radial-gradient(ellipse at 50% 45%, var(--active-role-glow, rgba(222, 73, 146, 0.45)) 0%, transparent 68%);
  filter: blur(24px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}

.character-lineup-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.lineup-character-slot {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  width: 440px;
  cursor: pointer;
  transform-origin: center bottom;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s ease, 
              filter 0.4s ease, 
              z-index 0.1s;
  user-select: none;
}

.lineup-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.lineup-img-wrap img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.85));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.lineup-tag-badge {
  display: none !important;
}

/* Inactive slot styling (Left / Right Flanks) */
.lineup-character-slot:not(.active) {
  opacity: 0.35;
  filter: grayscale(85%) contrast(85%) brightness(55%);
}

.lineup-character-slot:not(.active):hover {
  opacity: 0.78;
  filter: grayscale(30%) contrast(95%) brightness(85%);
}

/* Active slot styling */
.lineup-character-slot.active {
  z-index: 10;
  opacity: 1;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 16px var(--active-role-glow, rgba(222, 73, 146, 0.55)));
  cursor: default;
}

.lineup-character-slot.active .lineup-tag-badge {
  background: var(--active-role-color, var(--primary-magenta));
  border-color: var(--active-role-light, var(--primary-light));
  color: #fff;
  box-shadow: 0 0 18px var(--active-role-glow, var(--primary-magenta));
}

.lineup-character-slot.active .lineup-tag-badge .tag-num {
  color: #fff;
}

.character-ground-shadow {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, transparent 70%);
  z-index: 1;
}

/* Slanted "Zum Auswählen Anklicken oder Wischen." Badge on Hero Stage */
.character-slanted-sticker {
  position: absolute;
  top: 10%;
  left: 10px;
  z-index: 15;
  background: var(--active-role-color, var(--primary-magenta));
  color: #ffffff;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  border: 2px solid #ffffff;
  transform: rotate(-5deg) translateZ(0);
  -webkit-transform: rotate(-5deg) translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85), 0 0 20px var(--active-role-glow, rgba(222, 73, 146, 0.45));
  user-select: none;
  pointer-events: none;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  will-change: background, box-shadow;
}

.character-slanted-sticker .sticker-hint-bold {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #ffffff;
  text-transform: none;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .character-slanted-sticker {
    top: 4%;
    left: 5px;
    padding: 0.5rem 0.8rem;
  }
  .character-slanted-sticker .sticker-hint-bold {
    font-size: 0.8rem;
  }
}

.lineup-drag-hint {
  display: none !important;
}

/* --------------------------------------------------------------------------
   DYNAMIC AGENT SPEC HUD (Right Panel, Valorant Jett Style)
   -------------------------------------------------------------------------- */
.agent-spec-hud {
  position: relative;
  z-index: 6;
  background: rgba(28, 28, 35, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--active-role-light, rgba(230, 119, 173, 0.35));
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.85rem;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.75),
    0 0 30px var(--active-role-glow, rgba(222, 73, 146, 0.18));
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  padding: 1.35rem 1.85rem 1.65rem;
  width: 100%;
  height: 640px;
  min-height: 640px;
  max-height: 640px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.agent-spec-hud:hover {
  border-color: var(--active-role-color, var(--primary-magenta));
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.85),
    0 0 40px var(--active-role-glow, rgba(222, 73, 146, 0.28));
}

.spec-hud-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 0.9rem;
}

/* Header with Title Group and Top-Right Round "Let's Connect" CTA */
.spec-hud-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}

.spec-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.spec-class-badge {
  display: none !important;
}

.spec-role-title {
  font-family: var(--font-cursive);
  font-size: clamp(2.15rem, 2.7vw, 2.95rem);
  font-weight: 700;
  color: var(--active-role-color, var(--primary-magenta));
  letter-spacing: 0.055em;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 0 28px var(--active-role-glow, rgba(222, 73, 146, 0.35));
  transition: color 0.35s ease, text-shadow 0.35s ease;
  white-space: nowrap;
}

.spec-role-tagline {
  font-family: var(--font-cursive);
  font-size: 1.18rem;
  letter-spacing: 0.025em;
  color: #ffffff;
  line-height: 1.25;
  margin-top: 0.15rem;
}

.spec-role-tagline.is-comic-sans {
  font-family: 'Comic Sans MS', 'Comic Sans', cursive, sans-serif !important;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

/* Rounded "Let's Connect" Pill Button in Top Header */
.hud-round-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.35rem;
  background: rgba(var(--active-role-rgb, 222, 73, 146), 0.12);
  border: 1.8px solid var(--active-role-color, var(--primary-magenta));
  color: var(--active-role-color, var(--primary-magenta));
  border-radius: 9999px;
  font-family: var(--font-cursive);
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 18px var(--active-role-glow, rgba(222, 73, 146, 0.25));
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.hud-round-cta:hover {
  background: var(--active-role-color, var(--primary-magenta));
  border-color: var(--active-role-color, var(--primary-magenta));
  color: #ffffff;
  box-shadow: 0 0 28px var(--active-role-glow, rgba(222, 73, 146, 0.65));
  transform: translateY(-2px);
}

.hud-round-cta .cta-arrow {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.hud-round-cta:hover .cta-arrow {
  transform: translateX(3px);
}

.spec-section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--active-role-light, var(--secondary-pink));
  letter-spacing: 0.09em;
  margin-bottom: 0.35rem;
  opacity: 0.9;
  transition: color 0.35s ease;
}

/* ==========================================================================
   TACTICAL EQUIPMENT LOADOUT (Horizontal Row across Full Width)
   ========================================================================== */
.spec-equipment-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.spec-equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.15rem;
  width: 100%;
}

.equipment-slot {
  position: relative;
  height: 80px;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(var(--active-role-rgb, 222, 73, 146), 0.16) 100%);
  border: 1.5px solid rgba(var(--active-role-rgb, 222, 73, 146), 0.38);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease, 
              box-shadow 0.25s ease,
              background 0.25s ease;
  user-select: none;
  cursor: default; /* Non-clickable */
  isolation: isolate;
}

.equipment-slot.filled-slot:hover {
  transform: translateY(-2px);
  border-color: var(--active-role-color, var(--primary-magenta));
  box-shadow: 0 0 18px var(--active-role-glow, rgba(222, 73, 146, 0.45));
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(var(--active-role-rgb, 222, 73, 146), 0.28) 100%);
}

.equipment-slot.empty-slot {
  background: rgba(15, 16, 24, 0.35);
  border: 1.5px dashed rgba(255, 255, 255, 0.12);
  cursor: default;
}

.equipment-icon-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f5f7;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  flex-shrink: 0;
}

.equipment-icon-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.equipment-icon-wrap img,
.equipment-custom-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(255, 255, 255, 0.35));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.equipment-slot.filled-slot:hover .equipment-icon-wrap {
  transform: translateY(-7px) scale(0.92);
  color: var(--active-role-light, #ffffff);
}

.equipment-slot.filled-slot:hover .equipment-custom-icon {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px var(--active-role-glow, rgba(222, 73, 146, 0.75)));
}

.equipment-name-tag {
  position: absolute;
  bottom: 5px;
  left: 3px;
  right: 3px;
  font-family: var(--font-mono);
  font-size: 0.60rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.22s ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.equipment-slot.filled-slot:hover .equipment-name-tag {
  opacity: 1;
  transform: translateY(0);
  color: var(--active-role-light, #ffffff);
}

/* ==========================================================================
   PERFORMANCE-METRIKEN (Full-Width Panoramic Spider / Radar Chart)
   ========================================================================== */
.spec-radar-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 0.15rem;
}

.spec-radar-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

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

.radar-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.radar-ring-outer {
  fill: rgba(255, 255, 255, 0.025);
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 1.4;
}

.radar-spoke {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-dasharray: 2 3;
  stroke-width: 1;
}

.radar-data-poly {
  stroke-width: 2.4;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.radar-node {
  stroke: #ffffff;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 6px currentColor);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.radar-center-dot {
  fill: rgba(255, 255, 255, 0.4);
}

.radar-label {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 800;
  fill: #ffffff;
  letter-spacing: 0.02em;
  user-select: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.9));
}

@media (max-width: 768px) {
  .spec-hud-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .spec-equipment-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
  .equipment-slot {
    height: 64px;
    padding: 0.25rem 0.2rem;
  }
  .equipment-icon-wrap {
    width: 42px;
    height: 42px;
  }
  .equipment-slot.filled-slot:hover .equipment-icon-wrap {
    transform: translateY(-5px) scale(0.90);
  }
  .equipment-name-tag {
    font-size: 0.50rem;
    bottom: 3px;
  }
  .spec-radar-container {
    max-width: 100%;
  }
  .radar-label {
    font-size: 11px;
  }
}

/* ==========================================================================
   LAYER 2: IT'S A ME ("Über mich" 4-Quadranten Collage & Interactive Face)
   ========================================================================== */
.itsme-collage-section {
  position: relative;
  padding: 6rem 0 5.5rem;
  background: var(--canvas-void);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.itsme-watermark-bg {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 14rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.015);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: 0.12em;
  user-select: none;
}

.itsme-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 3.5vw, 3rem);
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Chapter Headings: Dynamic Scroll-Linked Underline & Minimal Subtle Pulse
   ========================================================================== */
.chapter-title {
  display: inline-block;
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0.65rem;
  margin-bottom: 0.5rem;
  transform-origin: center center;
  font-size: clamp(4rem, 8.5vw, 7.2rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.035em !important;
  will-change: transform;
}

/* Dynamic Underline directly tracking scroll progress (from left to right, retracts backwards when scrolling up) */
.chapter-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--primary-magenta) 0%, var(--secondary-pink) 100%);
  transform: scaleX(var(--line-progress, 0));
  transform-origin: left center;
  pointer-events: none;
  transition: transform 0.08s ease-out;
  will-change: transform;
}

/* Subtle Physical Pulse when fully reached (NO GLOW / NO LIGHTING) */
.chapter-title.title-pulsing {
  animation: chapterTitleSubtlePulse 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes chapterTitleSubtlePulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.028);
  }
  75% {
    transform: scale(0.996);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chapter-title::after {
    transition: none;
    transform: scaleX(1);
  }
  .chapter-title.title-pulsing {
    animation: none;
  }
}

/* Section Header */
.itsme-section-header {
  margin-bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.itsme-main-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.5vw, 7.2rem);
  font-weight: 900;
  color: var(--text-pure);
  letter-spacing: -0.035em;
  margin: 0;
  line-height: 0.95;
}

.itsme-cursive-subline {
  font-family: var(--font-cursive);
  font-size: 1.35rem;
  color: var(--secondary-pink);
  margin-top: 0.25rem;
}

/* 3-Column Grid Layout */
.itsme-grid-layout {
  display: grid;
  grid-template-columns: 1fr clamp(420px, 35vw, 500px) 1fr;
  gap: clamp(1.2rem, 2vw, 2.2rem);
  align-items: center;
}

/* Left & Right Columns (2 Quadrants each) */
.itsme-col-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
  position: relative;
  z-index: 40; /* Allows stop-motion scribble arrow to extend OVER center face stage */
}

.itsme-col-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

/* Base Quadrant Card */
.itsme-quad-card {
  background: #171720;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.itsme-quad-card:hover,
.itsme-quad-card.active-quad {
  border-color: var(--primary-magenta);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(222, 73, 146, 0.28);
  transform: translateY(-2px);
}

/* Stationen, Interests & Bio cards: borderless organic canvas without outer box */
.itsme-quad-card.quad-top-right,
.itsme-quad-card.quad-bottom-right,
.itsme-quad-card.quad-bottom-left {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.4rem 0.2rem;
}

.itsme-quad-card.quad-top-right:hover,
.itsme-quad-card.quad-top-right.active-quad,
.itsme-quad-card.quad-bottom-right:hover,
.itsme-quad-card.quad-bottom-right.active-quad,
.itsme-quad-card.quad-bottom-left:hover,
.itsme-quad-card.quad-bottom-left.active-quad {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.quad-header-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--secondary-pink);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.quad-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0 0 0.8rem;
}

/* ==========================================================================
   QUADRANT 1: Links Oben (IT'S A ME, Zitat, Badges)
   ========================================================================== */
/* ==========================================================================
   QUADRANT 1: Links Oben (Handschriftliche Signatur "Martin Lowinski")
   ========================================================================== */
.itsme-name-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0.5rem 0.2rem;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-normal);
}

.itsme-signature-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.itsme-name-hero-card:hover .itsme-signature-img,
.itsme-name-hero-card.active-quad .itsme-signature-img {
  transform: scale(1.04) translateX(4px);
}

.itsme-stickers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.itsme-sticker-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: #e5e5ed;
  background: #191922;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.06em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
  cursor: default;
}

.itsme-sticker-pill:hover {
  border-color: var(--primary-magenta);
  color: #fff;
  background: rgba(222, 73, 146, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(222, 73, 146, 0.25);
}

/* ==========================================================================
   QUADRANT 3: Links Unten (Persönlicher Tagebucheintrag "DAS BIN ICH")
   ========================================================================== */
.itsme-diary-entry {
  position: relative;
  margin-top: 0.35rem;
  cursor: pointer;
}

.diary-text-content {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.94rem;
  line-height: 1.68;
  color: #f1ecf4;
  font-weight: 400;
  letter-spacing: 0.012em;
  margin: 0;
  text-align: left;
  word-break: break-word;
}

.diary-para {
  margin: 0 0 0.85rem 0;
}

.diary-para:last-child {
  margin-bottom: 0;
}

/* Punchline: "Warum also nicht ich?" in Brand-Pink, normaler Schriftschnitt, dezent nach rechts versetzt */
.diary-punchline {
  font-size: 1.15rem;
  color: var(--secondary-pink, #de4992);
  display: inline-block;
  margin-left: clamp(10px, 1.4vw, 18px);
  position: relative;
  letter-spacing: 0.015em;
  font-weight: 400;
  text-shadow: 0 0 14px rgba(222, 73, 146, 0.45);
}

.diary-bold-ich {
  font-weight: inherit;
  font-style: inherit;
  color: inherit;
  text-shadow: inherit;
}

/* Scribble Arrow Anchor & Stop-Motion Hand-Drawn Boiling Animation */
.diary-arrow-anchor {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  width: 0;
  height: 0;
  z-index: 50;
  pointer-events: none;
}

.diary-scribble-arrow {
  position: absolute;
  left: 4px;
  top: -95px;
  width: 200px;
  height: 140px;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  z-index: 50;
  filter: drop-shadow(0 0 7px rgba(222, 73, 146, 0.6));
  transform-origin: 5px 95px;
  transform: scale(0.92);
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.diary-scribble-arrow.active {
  opacity: 1;
  transform: scale(1);
}

.diary-scribble-arrow .scribble-frame {
  display: none;
}

.diary-scribble-arrow.active .frame-1 {
  display: block;
  animation: stopmotionCycle1 0.36s steps(1) infinite;
}

.diary-scribble-arrow.active .frame-2 {
  display: block;
  animation: stopmotionCycle2 0.36s steps(1) infinite;
}

.diary-scribble-arrow.active .frame-3 {
  display: block;
  animation: stopmotionCycle3 0.36s steps(1) infinite;
}

@keyframes stopmotionCycle1 {
  0% { opacity: 1; }
  33.33% { opacity: 0; }
  66.66% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes stopmotionCycle2 {
  0% { opacity: 0; }
  33.33% { opacity: 1; }
  66.66% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes stopmotionCycle3 {
  0% { opacity: 0; }
  33.33% { opacity: 0; }
  66.66% { opacity: 1; }
  100% { opacity: 0; }
}

/* Elegant handwriting pen nib gliding with the writing flow */
.diary-pen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: text-bottom;
  width: 0;
  height: 20px;
  overflow: visible;
  color: var(--primary-magenta, #de4992);
  margin-left: 3px;
  margin-right: 0;
  filter: drop-shadow(0 0 6px rgba(222, 73, 146, 0.65));
  transform-origin: bottom left;
  animation: penWriteSway 0.28s ease-in-out infinite alternate;
  pointer-events: none;
  user-select: none;
}

.diary-pen-nib-svg {
  width: 17px;
  height: 17px;
  transform: rotate(-10deg);
}

@keyframes penWriteSway {
  0% { transform: translateY(0px) rotate(-2deg); }
  100% { transform: translateY(-2px) rotate(4deg); }
}

.diary-pen.pen-lifted {
  opacity: 0;
  transform: translateY(-10px) rotate(-15deg) scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fluid wet-to-dry ink bleed effect */
.ink-char {
  display: inline;
  white-space: pre-wrap;
  animation: inkDraw 0.2s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes inkDraw {
  0% {
    opacity: 0;
    filter: blur(1.8px);
    color: #ff8abf;
    text-shadow: 0 0 6px rgba(222, 73, 146, 0.65);
  }
  45% {
    opacity: 0.9;
    filter: blur(0.4px);
    color: #ffc9e2;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    color: #f1ecf4;
    text-shadow: none;
  }
}

/* ==========================================================================
   Center Column: Interactive Eye-Tracking Face Stage
   ========================================================================== */
.itsme-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 25;
}

.itsme-face-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.itsme-face-glow {
  display: none !important;
}

.itsme-face-viewport {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 700 / 920;
  height: auto;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 1;
  cursor: crosshair;
}

/* Base frontal face is permanently solid underneath so the dark background never shines through */
#faceImgFrontalOpen {
  opacity: 1 !important;
  z-index: 1;
}

.itsme-face-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.04s ease;
  pointer-events: none;
  user-select: none;
}

.itsme-face-img.active {
  opacity: 1;
}

.itsme-face-img.blink-img {
  transition: opacity 0.02s ease;
  z-index: 999 !important;
}

/* ==========================================================================
   EASTER EGG: Katze Yuna TV-Glitch / CRT Static Face Swap
   ========================================================================== */
.easteregg-cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1000 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.itsme-face-viewport.cat-glitch-active .easteregg-cat-img {
  visibility: visible;
  animation: tvGlitchFlicker 0.42s steps(2, start) forwards;
}

.itsme-face-viewport.cat-glitch-active {
  animation: tvGlitchShake 0.35s ease-in-out;
}

/* CRT Scanline removed per user request */

@keyframes tvGlitchFlicker {
  0% {
    opacity: 0;
    filter: invert(0.9) contrast(2) hue-rotate(90deg);
    transform: translateX(4px) scale(1.02);
  }
  15% {
    opacity: 0.95;
    filter: brightness(2) contrast(1.8);
    transform: translateX(-5px) scale(0.98);
  }
  30% {
    opacity: 0.15;
    filter: brightness(0.3);
    transform: translateX(3px) scale(1.01);
  }
  45% {
    opacity: 0.85;
    filter: contrast(1.6) hue-rotate(-45deg);
    transform: translateX(-3px) scale(1);
  }
  60% {
    opacity: 0.35;
    filter: brightness(1.7);
    transform: translateX(2px) scale(1.02);
  }
  75% {
    opacity: 1;
    filter: contrast(1.2) brightness(1.3);
    transform: translateX(-1px) scale(1);
  }
  90% {
    opacity: 0.9;
    filter: brightness(1.1);
    transform: translateX(1px);
  }
  100% {
    opacity: 1;
    filter: brightness(1) contrast(1);
    transform: translateX(0) scale(1);
  }
}

@keyframes tvGlitchShake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3px, 2px); }
  40% { transform: translate(3px, -2px); }
  60% { transform: translate(-2px, -1px); }
  80% { transform: translate(2px, 1px); }
}

@keyframes tvScanlinesScroll {
  0% { background-position: 0 0; }
  100% { background-position: 0 8px; }
}

/* Slanted "HELLO! my name is MARTIN LOWINSKI" Sticker Badge */
.itsme-slanted-sticker {
  position: absolute;
  bottom: 24px;
  left: -18px;
  z-index: 4;
  background: #e60050;
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  transform: rotate(-6deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85), 0 0 18px rgba(230, 0, 80, 0.4);
  border: 2.5px solid #ffffff;
  user-select: none;
  pointer-events: none;
  transition: transform var(--transition-fast);
}

.itsme-face-stage:hover .itsme-slanted-sticker {
  transform: rotate(-3deg) scale(1.04);
}

.sticker-hello-top {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.sticker-subtext {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: lowercase;
  opacity: 0.95;
  margin-top: 0.12rem;
  color: #ffffff;
}

.sticker-name-bold {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 0.18rem;
}

/* Face Telemetry Indicator */
.itsme-face-telemetry {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 1.2rem;
  z-index: 2;
  letter-spacing: 0.05em;
}

.telemetry-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary-pink);
  box-shadow: 0 0 8px var(--secondary-pink);
  animation: pulseDot 2s infinite;
}

/* ==========================================================================
   QUADRANT 2: Rechts Oben (Vectorized Journey Map)
   ========================================================================== */
.journey-map-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.journey-vector-map {
  width: 100%;
  height: auto;
  min-height: 175px;
  max-height: 220px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm, 6px);
  overflow: visible;
  box-shadow: none;
}

.map-node-label {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.map-node-label-bold {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.map-node-sub {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
}

.map-badge-text {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.map-pulse-ring {
  animation: mapPulse 2.2s infinite ease-out;
  transform-origin: center;
}

@keyframes mapPulse {
  0% {
    r: 6;
    opacity: 1;
  }
  100% {
    r: 22;
    opacity: 0;
  }
}

.map-route-beam {
  animation: routeDash 10s linear infinite;
}

@keyframes routeDash {
  to {
    stroke-dashoffset: -100;
  }
}

.journey-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding: 0.75rem 0.2rem 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.journey-step-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.journey-step-tag .step-name {
  color: #e5e5ea;
  font-size: 0.74rem;
  font-weight: 800;
}

.journey-step-tag .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

/* Station 01: ESPELKAMP - Neon Coral #FF5733 */
.journey-step-tag.origin .step-num {
  background: rgba(255, 87, 51, 0.18);
  border: 1px solid rgba(255, 87, 51, 0.55);
  color: #FF5733;
  box-shadow: 0 0 10px rgba(255, 87, 51, 0.25);
}
.journey-step-tag.origin .step-name {
  color: #ffffff;
}

/* Arrow 1 (01 -> 02): Coral-to-Amber Glow */
.journey-arrow-icon.arrow-1 {
  color: #FF9800;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 0 6px rgba(255, 152, 0, 0.65));
  animation: arrowGlow 2.5s ease-in-out infinite alternate;
}

/* Station 02: BREMERHAVEN - Cyber Gold #FFB800 */
.journey-step-tag.study .step-num {
  background: rgba(255, 184, 0, 0.18);
  border: 1px solid rgba(255, 184, 0, 0.55);
  color: #FFB800;
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.25);
}
.journey-step-tag.study .step-name {
  color: #ffffff;
}

/* Arrow 2 (02 -> 03): Amber-to-Magenta Glow */
.journey-arrow-icon.arrow-2 {
  color: #e65196;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 0 6px rgba(230, 81, 150, 0.65));
  animation: arrowGlow 2.5s ease-in-out infinite alternate 1.25s;
}

/* Station 03: KÖLN - Signature Magenta #de4992 */
.journey-step-tag.live .step-num {
  background: rgba(222, 73, 146, 0.22);
  border: 1px solid #de4992;
  color: #ff80ab;
  box-shadow: 0 0 10px rgba(222, 73, 146, 0.35);
}
.journey-step-tag.live .step-name {
  color: #ffffff;
  font-weight: 800;
}

@keyframes arrowGlow {
  0% {
    transform: translateX(0);
    opacity: 0.8;
  }
  100% {
    transform: translateX(3px);
    opacity: 1;
  }
}

.journey-mini-map-svg {
  width: 100%;
  height: 22px;
  display: block;
}

/* ==========================================================================
   QUADRANT 4: Rechts Unten (Interaktive Illustration "Das lieb' ich")
   ========================================================================== */
.itsme-interests-stage {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.interests-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1376 / 768;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.interests-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  user-select: none;
}

/* Base B&W illustration is permanently solid underneath */
#interestsImgBase {
  z-index: 1;
  opacity: 1 !important;
}

.interests-img.active {
  z-index: 2;
  opacity: 1;
}

/* Interactive Hotspot Layer overlaid over the illustration items */
.interests-hotspots-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.interest-hotspot {
  position: absolute;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Precise bounding zones for the 4 illustrated objects */
.hotspot-controller {
  left: 2%;
  top: 38%;
  width: 32%;
  height: 52%;
  border-radius: 35%;
}

.hotspot-fussball {
  left: 17%;
  top: 14%;
  width: 34%;
  height: 48%;
  border-radius: 50%;
}

.hotspot-mikrofon {
  left: 41%;
  top: 40%;
  width: 38%;
  height: 50%;
  border-radius: 30%;
}

.hotspot-katze {
  left: 63%;
  top: 20%;
  width: 35%;
  height: 54%;
  border-radius: 40%;
}

/* ==========================================================================
   INTERACTIVE SPEECH BUBBLE (Emerges next to Martin's lips on hover)
   ========================================================================== */
@keyframes speechBubblePop {
  0% {
    opacity: 0;
    transform: scale(0.68) translateY(10px);
  }
  68% {
    opacity: 1;
    transform: scale(1.03) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.itsme-speech-bubble {
  position: absolute;
  top: 64%;
  left: calc(50% + 15px);
  width: max-content;
  max-width: 290px;
  background: rgba(18, 18, 26, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.8px solid var(--secondary-pink, #de4992);
  border-radius: 20px 20px 20px 4px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.9), 0 0 24px rgba(222, 73, 146, 0.4);
  z-index: 100 !important;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.88) translateY(8px);
  transform-origin: left top;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
  pointer-events: none;
}

.itsme-speech-bubble.active {
  opacity: 1;
  visibility: visible;
  animation: speechBubblePop 0.34s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Left pointing triangular tail pointing toward Martin's lips */
.speech-bubble-tail {
  position: absolute;
  top: 18px;
  left: -8px;
  transform: rotate(45deg);
  width: 14px;
  height: 14px;
  background: #12121a;
  border-left: 1.8px solid var(--secondary-pink, #de4992);
  border-bottom: 1.8px solid var(--secondary-pink, #de4992);
}

.speech-bubble-text {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.48;
  color: #efeded;
  font-weight: 500;
  white-space: pre-line;
  letter-spacing: 0.01em;
}

.speech-bubble-text::before {
  content: '„';
  color: var(--secondary-pink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 0;
  margin-right: 0.2rem;
}

.speech-bubble-text::after {
  content: '“';
  color: var(--secondary-pink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 0;
  margin-left: 0.2rem;
}

/* Easter Egg: Katzen-Modus für das Zitat ("MIAU MIAU") */
.itsme-speech-bubble.cat-mode {
  border-color: #ffb0ce;
  background: rgba(26, 16, 24, 0.97);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.95), 0 0 28px rgba(255, 176, 206, 0.55);
}

.itsme-speech-bubble.cat-mode .speech-bubble-tail {
  background: #1a1018;
  border-left-color: #ffb0ce;
  border-bottom-color: #ffb0ce;
}

.itsme-speech-bubble.cat-mode .speech-bubble-text {
  font-family: var(--font-cursive);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 176, 206, 0.6);
  padding: 0.1rem 0.35rem;
}

.itsme-speech-bubble.cat-mode .speech-bubble-text::before,
.itsme-speech-bubble.cat-mode .speech-bubble-text::after {
  color: #ffb0ce;
  font-size: 1.4rem;
}

@media (max-width: 1200px) {
  .itsme-speech-bubble {
    top: 75%;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    max-width: 270px;
    transform-origin: top center;
  }
  .itsme-speech-bubble.active {
    animation: none;
    transform: translateX(-50%) scale(1);
  }
  .speech-bubble-tail {
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border-left: 1.8px solid var(--secondary-pink, #de4992);
    border-top: 1.8px solid var(--secondary-pink, #de4992);
    border-bottom: none;
  }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .itsme-grid-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .itsme-col-center {
    grid-column: 1 / -1;
    margin: 1.5rem 0;
  }
  .itsme-col-right {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .itsme-grid-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

/* ==========================================================================
   TRANSITIONAL DIVIDER OPTIONS: SEIT 11 JAHREN MIT STIFT & PIXEL
   Positioned between IT'S A ME and WERDEGANG
   ========================================================================== */
.transitional-dividers-wrapper {
  position: relative;
  z-index: 18;
  background: var(--canvas-void);
  height: 220vh; /* Generous vertical scroll journey */
  min-height: 220vh;
  border-top: 1px solid rgba(230, 119, 173, 0.15);
  border-bottom: 1px solid rgba(230, 119, 173, 0.15);
  padding: 0;
}

.divider-monumental-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  overflow: visible;
}

.divider-monumental-container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.monumental-accent-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.accent-hairline-left {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(230, 119, 173, 0.2) 40%, rgba(230, 119, 173, 0.6) 100%);
}

.accent-hairline-right {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(230, 119, 173, 0.6) 0%, rgba(230, 119, 173, 0.2) 60%, transparent 100%);
}

.monumental-eyebrow-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #a1a1aa;
  padding: 0.35rem 1.1rem;
  background: rgba(24, 24, 30, 0.85);
  border: 1px solid rgba(230, 119, 173, 0.35);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.monumental-flex-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  width: 100%;
}

/* --- Dynamic Flip Stage: Kalenderblatt & Scoreboard --- */
.monumental-flip-stage {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s ease;
}

.monumental-flip-stage:hover {
  transform: translateY(-2px);
}

.flip-unit-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Spiral rings like a desktop flip calendar or sports scoreboard */
.flip-spiral-rings {
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}

.spiral-ring {
  width: 6px;
  height: 15px;
  background: linear-gradient(180deg, #444452 0%, #15151c 100%);
  border: 1px solid rgba(230, 119, 173, 0.7);
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 6px rgba(222, 73, 146, 0.4);
}

/* Flip Plate Card (3D container) */
.flip-plate-card {
  position: relative;
  background: #191922;
  border-radius: 8px;
  perspective: 700px;
  transform-style: preserve-3d;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(222, 73, 146, 0.3);
  border: 1px solid rgba(230, 119, 173, 0.35);
}

.flip-unit-year .flip-plate-card {
  width: 110px;
  height: 90px;
}

.flip-unit-score .flip-plate-card {
  width: 115px;
  height: 98px;
}

/* Upper & Lower static halves */
.flip-plate-half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.flip-upper {
  top: 0;
  align-items: flex-end;
  background: linear-gradient(180deg, #252530 0%, #1b1b24 100%);
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.9);
}

.flip-lower {
  bottom: 0;
  align-items: flex-start;
  background: linear-gradient(180deg, #181820 0%, #121217 100%);
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

/* Text inside halves: positioning text to span across the split line */
.flip-unit-year .flip-text-val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: #efeded;
  letter-spacing: 0.04em;
  line-height: 90px;
}

.flip-unit-year .flip-upper .flip-text-val {
  transform: translateY(50%);
}

.flip-unit-year .flip-lower .flip-text-val {
  transform: translateY(-50%);
}

.flip-unit-score .flip-text-val {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 900;
  color: var(--primary-magenta);
  text-shadow: 0 0 28px rgba(222, 73, 146, 0.8), 0 0 50px rgba(222, 73, 146, 0.4);
  letter-spacing: -0.04em;
  line-height: 98px;
}

.flip-unit-score .flip-upper .flip-text-val {
  transform: translateY(50%);
}

.flip-unit-score .flip-lower .flip-text-val {
  transform: translateY(-50%);
}

/* Split Seam across the center */
.flip-split-seam {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 5;
}

/* 3D Folding Leaf */
.flip-leaf {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  transform-origin: bottom center;
  transform-style: preserve-3d;
  z-index: 4;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.flip-leaf.flipping {
  animation: flipLeafAnim 0.32s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes flipLeafAnim {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(-180deg);
  }
}

.flip-leaf-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.flip-leaf-front {
  align-items: flex-end;
  background: linear-gradient(180deg, #252530 0%, #1b1b24 100%);
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.9);
}

.flip-unit-year .flip-leaf-front .flip-text-val {
  transform: translateY(50%);
}

.flip-unit-score .flip-leaf-front .flip-text-val {
  transform: translateY(50%);
}

.flip-leaf-back {
  align-items: flex-start;
  background: linear-gradient(180deg, #181820 0%, #121217 100%);
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  transform: rotateX(-180deg);
}

.flip-unit-year .flip-leaf-back .flip-text-val {
  transform: translateY(-50%);
}

.flip-unit-score .flip-leaf-back .flip-text-val {
  transform: translateY(-50%);
}

/* Stacked Label next to Scoreboard */
.scoreboard-stacked-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.15;
  justify-content: center;
}

.scoreboard-stacked-label .label-primary {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #efeded;
  text-transform: uppercase;
}

.scoreboard-stacked-label .label-secondary {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #a1a1aa;
  text-transform: uppercase;
}

/* Vertical Hairline Separator */
.monumental-vertical-separator {
  width: 1.5px;
  height: 86px;
  background: rgba(230, 119, 173, 0.4);
  box-shadow: 0 0 10px rgba(230, 119, 173, 0.35);
  flex-shrink: 0;
}

/* Right Copy Block: Pure, bold, monumental with responsive chunking */
.monumental-copy-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  max-width: 680px;
}

.monumental-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.15vw, 2.25rem);
  font-weight: 900;
  color: #efeded;
  letter-spacing: 0.02em;
  line-height: 1.18;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

@media (min-width: 1140px) {
  .monumental-headline {
    white-space: nowrap;
  }
}

.headline-chunk {
  display: inline-block;
  white-space: nowrap;
}

.headline-chunk:first-child {
  margin-right: 0.35em;
}

.headline-dynamic-num {
  color: var(--primary-magenta);
  text-shadow: 0 0 20px rgba(222, 73, 146, 0.7);
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.headline-dynamic-num.bump {
  transform: scale(1.22);
  color: #ffffff;
  text-shadow: 0 0 25px var(--primary-magenta), 0 0 45px var(--primary-magenta);
}

/* Downward Guiding Timeline Pointer */
.monumental-timeline-pointer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.75rem;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
  will-change: transform, opacity;
}

.monumental-timeline-pointer:hover {
  transform: translateY(3px);
  opacity: 1;
}

.pointer-node-pulse {
  width: 9px;
  height: 9px;
  background: var(--primary-magenta);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(222, 73, 146, 0.85);
  animation: nodePulse 2s infinite ease-in-out;
}

@keyframes nodePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(222, 73, 146, 0.7); }
  50% { transform: scale(1.3); box-shadow: 0 0 20px rgba(222, 73, 146, 1); }
}

.pointer-hairline {
  width: 2px;
  height: 26px;
  background: linear-gradient(180deg, var(--primary-magenta) 0%, #ff6eb4 60%, rgba(230, 119, 173, 0.5) 100%);
  box-shadow: 0 0 12px rgba(222, 73, 146, 0.8), 0 0 24px rgba(222, 73, 146, 0.35);
  transition: height 0.12s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top center;
}

.pointer-triangle {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--primary-magenta);
  filter: drop-shadow(0 2px 8px rgba(222, 73, 146, 0.9));
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .monumental-flex-lockup {
    flex-direction: column;
    gap: 1.75rem;
    text-align: center;
  }
  .monumental-vertical-separator {
    width: 60px;
    height: 1.5px;
  }
  .monumental-copy-block {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .monumental-flip-stage {
    flex-direction: column;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   LAYER 4: NLE Video Workstation Career Timeline ("WERDEGANG")
   Inspired by Premiere Pro / After Effects interface
   ========================================================================== */
.spatial-runway-section {
  position: relative;
  z-index: 20;
  padding: 6.5rem 2rem;
  background: var(--canvas-void);
  border-top: 1px solid rgba(230, 119, 173, 0.2);
  border-bottom: 1px solid rgba(230, 119, 173, 0.2);
}

.nle-workstation-container {
  max-width: 1380px;
  margin: 0 auto;
}

/* NLE Header Area */
.nle-header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2.5rem;
  gap: 1.25rem;
}

.nle-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.nle-sequence-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  background: #252525;
  border: 1px solid rgba(230, 119, 173, 0.35);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.08em;
  width: fit-content;
}

.nle-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-magenta);
  box-shadow: 0 0 6px var(--primary-magenta);
}

.nle-main-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.5vw, 7.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text-pure);
}

.nle-cursive-quote {
  font-family: var(--font-cursive);
  font-size: 1.35rem;
  color: var(--secondary-pink);
  margin-top: 0.25rem;
}

/* Timecode Display Box */
.nle-timecode-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 1.5rem;
  background: #252525;
  border: 1px solid rgba(230, 119, 173, 0.4);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(222, 73, 146, 0.08);
}

.nle-clapper-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(222, 73, 146, 0.15);
  border: 1px solid var(--primary-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary-light);
}

.nle-timecode-content {
  display: flex;
  flex-direction: column;
}

.nle-fps-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.nle-fps-label span {
  color: var(--secondary-pink);
}

.nle-digital-digits {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  line-height: 1.1;
}

.nle-experience-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nle-experience-label strong {
  color: var(--text-pure);
}

/* ==========================================================================
   NLE Main Workstation UI Panel
   ========================================================================== */
.nle-workstation-panel {
  background: #18181f;
  border: 1px solid rgba(230, 119, 173, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(222, 73, 146, 0.12);
}

/* NLE Toolbar */
.nle-toolbar {
  background: #252525;
  border-bottom: 1px solid rgba(230, 119, 173, 0.2);
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 48px;
}

.nle-toolbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nle-transport-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nle-btn {
  background: #1e1e24;
  border: 1px solid rgba(230, 119, 173, 0.25);
  border-radius: var(--radius-xs);
  color: var(--text-pure);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.nle-btn:hover {
  background: var(--surface-container-highest);
  border-color: var(--primary-magenta);
  color: #fff;
}

.nle-btn-play {
  background: var(--primary-magenta);
  border-color: var(--primary-light);
  color: #fff;
  width: 38px;
  height: 32px;
  box-shadow: 0 0 14px var(--primary-glow);
}

.nle-btn-play:hover {
  background: var(--primary-container);
  transform: scale(1.05);
}

.nle-snap-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(230, 119, 173, 0.2);
}

.snap-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 6px #00f0ff;
}

.nle-project-specs {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nle-project-specs strong {
  color: var(--primary-light);
}

/* ==========================================================================
   Horizontal NLE Tools Palette in Toolbar (Adobe Premiere Pro Toolbar)
   ========================================================================== */
.nle-tools-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: #1b1b23;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(230, 119, 173, 0.25);
}

.nle-tool-btn {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  color: #9898a4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.nle-tool-btn:hover {
  background: #262633;
  border-color: rgba(230, 119, 173, 0.4);
  color: #ffffff;
}

.nle-tool-btn.active {
  background: rgba(222, 73, 146, 0.18);
  border-color: var(--primary-magenta);
  color: var(--secondary-pink);
  box-shadow: inset 0 0 6px rgba(222, 73, 146, 0.35), 0 0 8px rgba(222, 73, 146, 0.2);
}

.tool-triangle-corner {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 3px 3px;
  border-color: transparent transparent rgba(255, 255, 255, 0.4) transparent;
  pointer-events: none;
}

.nle-tool-btn:hover .tool-triangle-corner,
.nle-tool-btn.active .tool-triangle-corner {
  border-color: transparent transparent var(--secondary-pink) transparent;
}

@media (max-width: 768px) {
  .nle-tools-group {
    overflow-x: auto;
    max-width: 100%;
    margin-top: 0.35rem;
  }
}

/* ==========================================================================
   Multi-Track Timeline Canvas
   ========================================================================== */
.nle-tracks-viewport {
  position: relative;
  overflow-x: auto;
  background: #18181f;
  -webkit-overflow-scrolling: touch;
}

.nle-tracks-viewport::-webkit-scrollbar {
  height: 6px;
}
.nle-tracks-viewport::-webkit-scrollbar-thumb {
  background: rgba(230, 119, 173, 0.3);
  border-radius: 3px;
}

.nle-tracks-matrix {
  position: relative;
  min-width: 920px;
  display: flex;
  flex-direction: column;
}

/* Timecode Ruler Bar */
.nle-ruler-row {
  display: flex;
  align-items: center;
  background: #202028;
  border-bottom: 1px solid rgba(230, 119, 173, 0.25);
  height: 2.75rem;
}

.nle-ruler-track-label {
  width: 260px;
  min-width: 260px;
  padding: 0 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-right: 1px solid rgba(230, 119, 173, 0.2);
}

.ruler-tracks-title {
  color: var(--primary-light);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ruler-tracks-hint {
  font-size: 0.65rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}

.nle-ruler-scale {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.ruler-year-marker {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.ruler-year-marker.first-year-marker {
  transform: translateX(4px);
}

.ruler-year-marker::before {
  content: '';
  width: 1px;
  height: 8px;
  background: rgba(230, 119, 173, 0.4);
  margin-bottom: 2px;
}

.ruler-year-marker.active-cut {
  color: var(--primary-light);
}

.ruler-pill-tag {
  background: var(--primary-magenta);
  color: #fff;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  box-shadow: 0 0 10px var(--primary-magenta);
}

/* Background Year Grid Lines cutting across tracks */
.nle-grid-lines-layer {
  position: absolute;
  top: 2.75rem;
  left: 260px;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.grid-vertical-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.04);
}

.grid-vertical-line.milestone-guide {
  background: rgba(230, 119, 173, 0.15);
}

/* Multi-Track Rows (V1 to V5) */
.nle-track-row {
  display: flex;
  align-items: center;
  height: 4.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.nle-track-header {
  width: 260px;
  min-width: 260px;
  height: 100%;
  background: #1d1d24;
  border-right: 1px solid rgba(230, 119, 173, 0.2);
  padding: 0 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

.track-info-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-number-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.track-name-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.track-btn-badges {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.track-chip-sm {
  width: 22px;
  height: 22px;
  background: #24242d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7d7d8e;
  cursor: default;
  pointer-events: none;
  padding: 0;
  transition: all var(--transition-fast);
}

.track-chip-sm.active {
  color: var(--secondary-pink);
  border-color: rgba(230, 119, 173, 0.45);
  background: rgba(222, 73, 146, 0.15);
  box-shadow: 0 0 8px rgba(222, 73, 146, 0.25);
}

/* Track Lane where clips reside */
.nle-track-lane {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

/* NLE Clip Blocks */
.nle-clip-block {
  position: absolute;
  min-height: 2.85rem;
  height: auto;
  min-width: 145px;
  border-radius: var(--radius-md);
  background: #25252e;
  border: 1px solid rgba(230, 119, 173, 0.35);
  display: flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  gap: 0.5rem;
  cursor: pointer;
  z-index: 4;
  overflow: visible;
  transition: all var(--transition-fast);
  user-select: none;
}

.nle-clip-block:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 12px var(--glass-glow);
  z-index: 10;
}

.nle-clip-block.active-selected {
  background: linear-gradient(90deg, #381a29 0%, #4a1934 100%);
  border: 2px solid var(--primary-magenta);
  box-shadow: 0 0 20px rgba(222, 73, 146, 0.6), inset 0 0 15px rgba(222, 73, 146, 0.2);
  z-index: 12;
}

.clip-icon {
  display: none;
}

.clip-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
}

.clip-title-line {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: 0.02em;
  white-space: normal;
  line-height: 1.15;
}

.clip-subtitle-line {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.clip-badge-pill {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  background: rgba(230, 119, 173, 0.2);
  border-radius: var(--radius-xs);
  color: var(--primary-light);
  white-space: nowrap;
}

/* ==========================================================================
   Interactive Vertical Playhead (Scrubber)
   ========================================================================== */
.nle-playhead-cursor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-magenta);
  box-shadow: 0 0 10px var(--primary-magenta), 0 0 20px var(--primary-magenta);
  z-index: 20;
  pointer-events: none;
  transition: left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nle-playhead-head-marker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 18px;
  background: var(--primary-magenta);
  clip-path: polygon(0% 0%, 100% 0%, 100% 65%, 50% 100%, 0% 65%);
  box-shadow: 0 0 10px var(--primary-magenta);
}

/* Vertical Hover Cursor Line (CTI) */
.nle-hover-cti-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  z-index: 18;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.nle-hover-cti-line.visible {
  opacity: 1;
}

.nle-hover-timecode-badge {
  position: absolute;
  top: 4px;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: rgba(26, 26, 32, 0.92);
  border: 1px solid rgba(230, 119, 173, 0.45);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Station Hover HUD Popover (Floating semi-transparent card) - 1.5x Scale
   ========================================================================== */
.station-hover-hud-popover {
  position: fixed;
  z-index: 9999;
  width: 780px;
  max-width: calc(100vw - 32px);
  background: rgba(18, 18, 24, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--primary-magenta);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.96), 0 0 35px rgba(222, 73, 146, 0.45);
  padding: 1.75rem 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.station-hover-hud-popover.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.popover-arrow {
  position: absolute;
  width: 14px;
  height: 14px;
  background: rgba(18, 18, 24, 0.97);
  transform: rotate(45deg);
  pointer-events: none;
}

.popover-inner {
  display: flex;
  gap: 1.85rem;
  align-items: center;
}

.popover-media-box {
  width: 220px;
  height: 165px; /* 4:3 aspect ratio matching 800x600 */
  min-width: 220px;
  min-height: 165px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--primary-magenta);
  overflow: hidden;
  position: relative;
  background: #14141a;
  box-shadow: 0 0 25px rgba(222, 73, 146, 0.35);
  flex-shrink: 0;
}

.popover-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* displays 800x600 uncropped without cuts */
  background: #14141a;
  display: block;
}

.popover-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(222, 73, 146, 0) 0%,
    rgba(222, 73, 146, 0.14) 50%,
    rgba(222, 73, 146, 0) 100%
  );
  pointer-events: none;
}

.popover-info-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

/* Ebene 1 (Meta / Eyebrow): Kompakter Header in einer Zeile */
.popover-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 9px; /* min. 8-10px Abstand */
}

.popover-status-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: #de4992;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
}

.popover-years-badge {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: #a1a1a1;
  letter-spacing: 0.04em;
}

/* Ebene 2 (Hauptüberschrift): Großer, dominanter Titel in League Spartan */
.popover-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  color: #efeded;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 10px 0; /* min. 8-10px Abstand */
}

/* Ebene 3 (Fließtext / Details): Einziger, ruhig gesetzter Text darunter */
.popover-desc-text {
  font-size: 0.95rem;
  color: #c5c5d2;
  line-height: 1.45;
  margin: 0;
}


/* ==========================================================================
   LAYER 6: Foreground Orbiting Works Archive ("ARBEITEN")
   ========================================================================== */
/* ==========================================================================
   LAYER 5: KNOW-HOW Service Grid ("Das können wir zusammen machen")
   ========================================================================== */
.knowhow-section {
  position: relative;
  z-index: 20;
  padding: 6.5rem 2rem;
  background: var(--canvas-void);
  border-bottom: 1px solid rgba(230, 119, 173, 0.2);
}

@media (min-width: 769px) and (max-width: 1600px) {
  .knowhow-section {
    padding-right: calc(2rem + 48px);
  }
}

.knowhow-container {
  max-width: 1440px;
  margin: 0 auto;
}

.knowhow-header {
  margin-bottom: 2.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.knowhow-main-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.5vw, 7.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text-pure);
}

.knowhow-cursive-subline {
  font-family: var(--font-cursive);
  font-size: 1.35rem;
  color: var(--secondary-pink);
  margin-top: 0.25rem;
}

/* 4-Column Balanced Grid */
.knowhow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

/* Service Card Surface */
.knowhow-card {
  position: relative;
  background: #252525;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  user-select: none;
}

.knowhow-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(var(--card-accent-rgb), 0.3);
}

/* Card Top Icon Stage (Monochrome / Colorless by default, vibrant accent & animated on hover) */
.knowhow-icon-stage {
  position: relative;
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, rgba(22, 22, 28, 0.7) 75%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.knowhow-card:hover .knowhow-icon-stage {
  background: radial-gradient(circle at 50% 50%, rgba(var(--card-accent-rgb), 0.14) 0%, rgba(22, 22, 28, 0.8) 75%);
  border-bottom-color: rgba(var(--card-accent-rgb), 0.3);
}

/* Subtle futuristic HUD halo behind icon */
.knowhow-icon-halo {
  position: absolute;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.knowhow-card:hover .knowhow-icon-halo {
  border-color: rgba(var(--card-accent-rgb), 0.5);
  border-style: solid;
  background: rgba(var(--card-accent-rgb), 0.08);
  box-shadow: 0 0 25px rgba(var(--card-accent-rgb), 0.25);
  transform: scale(1.1);
}

/* Lottie Container in Top Stage */
.knowhow-icon-stage .knowhow-lottie-box {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%) contrast(90%) brightness(0.85) opacity(0.5);
  transform: scale(0.95);
  transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.knowhow-icon-stage .knowhow-lottie-box svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.knowhow-card:hover .knowhow-icon-stage .knowhow-lottie-box {
  filter: grayscale(0%) contrast(105%) brightness(1) opacity(1) drop-shadow(0 0 16px rgba(var(--card-accent-rgb), 0.55));
  transform: scale(1.08);
}

/* Card Body */
.knowhow-card-body {
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex: 1;
}

.knowhow-tag-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.knowhow-tag-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--card-accent);
  text-transform: uppercase;
}

.knowhow-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--card-accent);
  letter-spacing: 0.015em;
  line-height: 1.25;
  text-shadow: 0 0 20px rgba(var(--card-accent-rgb), 0.35);
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.knowhow-card:hover .knowhow-card-title {
  text-shadow: 0 0 28px rgba(var(--card-accent-rgb), 0.75);
}

.knowhow-card-copy {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  flex: 1;
}

/* Minimalist Monochrome Tool Badges (48x48px Centered Format) */
.knowhow-tools-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.knowhow-tool-badge {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 9px;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1a1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              background-color 0.2s ease;
}

.knowhow-tool-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  pointer-events: none;
  filter: grayscale(100%) opacity(0.55);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.knowhow-tool-badge svg {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
  filter: grayscale(100%) opacity(0.55);
  transition: color 0.2s ease, filter 0.25s ease;
}

/* Hover: Individual app badges scale up smoothly (scale 1.08) and illuminate outline & glyph in card's accent */
.knowhow-tool-badge:hover {
  transform: scale(1.08);
  background: #1e1e24;
  border-color: var(--card-accent, rgba(255, 255, 255, 0.5));
  color: var(--card-accent, #ffffff);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.6), 
              0 0 16px rgba(var(--card-accent-rgb, 255, 255, 255), 0.45);
}

.knowhow-tool-badge:hover img {
  transform: scale(1.04);
  filter: grayscale(0%) opacity(1);
}

.knowhow-tool-badge:hover svg {
  filter: grayscale(0%) opacity(1);
}

/* Standalone Tools: Weitere Skills in */
.knowhow-extra-skills {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  text-align: center;
  position: relative;
  z-index: 5;
}

.extra-skills-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-pure);
  opacity: 0.88;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}

.extra-skills-title::before,
.extra-skills-title::after {
  content: '';
  display: inline-block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22));
}

.extra-skills-title::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent);
}

.extra-skills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding-top: 0;
  margin-top: 0;
}

@media (max-width: 1200px) {
  .knowhow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .knowhow-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   LAYER 6: Full-Width Horizontal Expanding Accordion ("Sliding Dossiers")
   ========================================================================== */
.works-archive-section {
  position: relative;
  z-index: 20;
  padding: 4.5rem 2rem 5rem;
  background: var(--canvas-void);
  border-bottom: 1px solid rgba(230, 119, 173, 0.2);
}

@media (min-width: 769px) and (max-width: 1600px) {
  .works-archive-section {
    padding-right: calc(2rem + 48px);
  }
}

.works-archive-container {
  max-width: 1440px;
  margin: 0 auto;
}

.works-section-header {
  margin-bottom: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.works-main-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.5vw, 7.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text-pure);
}

.works-cursive-subline {
  font-family: var(--font-cursive);
  font-size: 1.35rem;
  color: var(--secondary-pink);
  margin-top: 0.25rem;
}

/* Full-Width Horizontal Accordion Container - Compressed Sleek Height */
.dossiers-accordion-wrapper {
  display: flex;
  gap: 1rem;
  width: 100%;
  min-height: 450px;
  height: 460px;
  position: relative;
  align-items: stretch;
}

/* Individual Category Panel */
.dossier-panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: #252525;
  border: 1px solid rgba(230, 119, 173, 0.35);
  overflow: hidden;
  display: flex;
  flex: 1; /* Collapsed width: ~8% */
  min-width: 80px;
  min-height: 450px;
  height: 460px;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.dossier-panel:hover {
  border-color: var(--primary-magenta);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(222, 73, 146, 0.25);
}

.dossier-panel.expanded {
  flex: 7.5; /* Expanded width: ~68% */
  border-color: var(--primary-magenta);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(222, 73, 146, 0.35);
  cursor: default;
}

/* Collapsed State View */
.dossier-collapsed-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 0.5rem 5.5rem;
  transition: opacity 0.3s ease;
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, #252525 0%, #1e1e24 100%);
  overflow: hidden;
}

.dossier-panel.expanded .dossier-collapsed-view {
  opacity: 0;
  pointer-events: none;
}

.collapsed-top-badge {
  display: none !important;
}

/* Vertical Category Title - Restored 180° orientation with calibrated padding */
.collapsed-vertical-title {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.42rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-pure);
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  will-change: transform;
}

.dossier-panel:hover .collapsed-vertical-title {
  color: #ffffff;
  text-shadow: 0 0 25px var(--primary-magenta), 0 2px 12px rgba(0, 0, 0, 0.9);
}

.collapsed-bottom-indicator {
  display: none !important;
}

/* Expanded State View */
.dossier-expanded-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.65rem;
  opacity: 0;
  transform: translateX(15px);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  z-index: 5;
}

.dossier-expanded-view::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.dossier-panel.expanded .dossier-expanded-view {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

/* Expanded View Header */
.expanded-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(230, 119, 173, 0.2);
  padding-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.expanded-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.expanded-category-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 900;
  color: var(--text-pure);
  letter-spacing: -0.01em;
}

.expanded-count-badge {
  display: none !important;
}

.expanded-category-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* Project Cards Inside Expanded Panel - Dynamic Mosaic Grid */
.expanded-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  flex: 1;
  align-items: stretch;
}

/* When 3 cards exist (e.g. Grafikdesign, Fotografie) */
@media (min-width: 1100px) {
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1099px) {
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(3):last-child) .project-dossier-card:nth-child(3) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(3):last-child) .project-dossier-card:nth-child(3) .dossier-media-frame {
    aspect-ratio: 4 / 3;
    height: 100%;
  }
}

/* 4 Cards Grid (Film / Video & Grafikdesign): Compact 2x2 Layout so all 4 fit at once without scrolling */
@media (min-width: 993px) {
  .dossier-panel[data-panel-id="video"] .expanded-showcase-grid,
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(4):last-child) {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.75rem 1.15rem;
    height: 100%;
  }

  .dossier-panel[data-panel-id="video"] .project-dossier-card,
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(4):last-child) .project-dossier-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 95px;
    max-height: 140px;
    height: 100%;
  }

  .dossier-panel[data-panel-id="video"] .dossier-media-frame,
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(4):last-child) .dossier-media-frame {
    width: auto;
    height: 100%;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
  }

  .dossier-panel[data-panel-id="video"] .dossier-media-frame img,
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(4):last-child) .dossier-media-frame img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .dossier-panel[data-panel-id="video"] .dossier-card-body,
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(4):last-child) .dossier-card-body {
    padding: 0.55rem 0.85rem;
    gap: 0.25rem;
    justify-content: center;
    overflow: hidden;
    flex: 1;
  }

  .dossier-panel[data-panel-id="video"] .dossier-card-title,
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(4):last-child) .dossier-card-title {
    font-size: 1.05rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dossier-panel[data-panel-id="video"] .dossier-spec-badge,
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(4):last-child) .dossier-spec-badge {
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 5 Cards Grid (e.g. Grafikdesign with 5 projects): Vertical cards so text is never squeezed */
@media (min-width: 993px) {
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(5):last-child) {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.85rem 1rem;
    height: 100%;
  }

  .expanded-showcase-grid:has(.project-dossier-card:nth-child(5):last-child) .project-dossier-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }

  .expanded-showcase-grid:has(.project-dossier-card:nth-child(5):last-child) .project-dossier-card:nth-child(4),
  .expanded-showcase-grid:has(.project-dossier-card:nth-child(5):last-child) .project-dossier-card:nth-child(5) {
    grid-column: span 3;
  }

  .expanded-showcase-grid:has(.project-dossier-card:nth-child(5):last-child) .dossier-media-frame {
    width: 100%;
    height: 105px;
    aspect-ratio: auto;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
  }

  .expanded-showcase-grid:has(.project-dossier-card:nth-child(5):last-child) .dossier-media-frame img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .expanded-showcase-grid:has(.project-dossier-card:nth-child(5):last-child) .dossier-card-body {
    padding: 0.55rem 0.85rem;
    gap: 0.25rem;
    justify-content: center;
    overflow: hidden;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .expanded-showcase-grid:has(.project-dossier-card:nth-child(5):last-child) .dossier-badge-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
    overflow: hidden;
    margin-bottom: 0.1rem;
  }

  .expanded-showcase-grid:has(.project-dossier-card:nth-child(5):last-child) .dossier-card-title {
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
    font-weight: 800;
  }

  .expanded-showcase-grid:has(.project-dossier-card:nth-child(5):last-child) .dossier-spec-badge {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.project-dossier-card {
  background: #1e1e24;
  border: 1px solid rgba(230, 119, 173, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-dossier-card:hover {
  border-color: var(--primary-magenta);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--glass-glow);
}

.dossier-media-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #121216;
  position: relative;
  overflow: hidden;
}

/* Corner Arrow Indicator (↗) on each project thumbnail - Mathematically centered SVG icon */
.dossier-media-frame::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(18, 18, 24, 0.85);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 14px 14px;
  border: 1px solid rgba(230, 119, 173, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.project-dossier-card:hover .dossier-media-frame::after {
  background-color: var(--primary-magenta);
  border-color: #ffffff;
  transform: translate(2px, -2px) scale(1.12);
  box-shadow: 0 0 16px var(--primary-glow);
}

.dossier-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-smooth);
}

.dossier-card-body {
  padding: 0.9rem 1.15rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.dossier-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dossier-spec-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary-pink);
  letter-spacing: 0.04em;
}

.dossier-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.01em;
}

.dossier-action-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  background: var(--surface-container-high);
  border: 1px solid rgba(230, 119, 173, 0.35);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
  transition: all var(--transition-fast);
}

.project-dossier-card:hover .dossier-action-btn {
  background: var(--primary-magenta);
  border-color: var(--primary-light);
  color: #fff;
  box-shadow: 0 0 10px var(--primary-glow);
}




/* ==========================================================================
   LAYER 7.5: LOWINS-KI — INTERAKTIVER WORKFLOW-KOMPASS & MANIFEST
   ========================================================================== */
.lowinski-infographic-section {
  position: relative;
  z-index: 20;
  padding: 6.5rem 0 7.5rem;
  background: #0E0E13;
  border-top: 1px solid rgba(230, 119, 173, 0.25);
  overflow: hidden;
}

.lowinski-infographic-container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Clean Stage Container (No gray card box) */
.lowinski-card-wrapper {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.5rem 0 3.5rem;
  box-shadow: none;
  position: relative;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Header Block
   -------------------------------------------------------------------------- */
.lowinski-header-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.lowinski-main-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.5vw, 7.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text-pure);
  margin-bottom: 0.75rem;
}

.lowinski-cursive-subline {
  font-family: var(--font-cursive);
  font-size: 1.25rem;
  color: #e677ad;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   1. Finales 2-Spalten-Statement direkt über dem Venn-Diagramm
   -------------------------------------------------------------------------- */
.lowinski-statement-grid {
  max-width: 880px;
  width: 100%;
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-sizing: border-box;
}

.statement-col {
  display: flex;
  flex-direction: column;
}

.statement-col.col-handwerk {
  padding-right: clamp(1.5rem, 3.5vw, 2.75rem);
  border-right: 1px solid rgba(230, 119, 173, 0.2);
}

.statement-col.col-system {
  padding-left: clamp(1.5rem, 3.5vw, 2.75rem);
}

/* Eyebrow-Tags */
.statement-eyebrow {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  display: inline-block;
  line-height: 1;
}

.statement-eyebrow.eyebrow-handwerk {
  color: #e677ad; /* Soft-Rose */
}

.statement-eyebrow.eyebrow-system {
  color: #00FF9D; /* Acid Mint */
}

/* Überschriften */
.statement-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #efeded;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.85rem;
}

.statement-col.col-handwerk .statement-heading {
  color: #ff3b69;
}

.statement-col.col-system .statement-heading {
  color: #2979ff;
}

/* Fließtext */
.statement-body {
  font-family: var(--font-body, system-ui);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(239, 237, 237, 0.85);
  margin: 0;
}

/* Statement-Callout (Zentriert zwischen beiden Spalten, 16px Semi-Bold) */
.statement-callout-centered {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.statement-callout {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  font-family: var(--font-body, system-ui);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
  color: #efeded;
  border: 1px solid rgba(230, 119, 173, 0.35);
  border-left: 3px solid #e677ad;
  padding: 0.85rem 1.25rem;
  background: rgba(230, 119, 173, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 0 24px rgba(230, 119, 173, 0.04);
  text-align: center;
}

/* --------------------------------------------------------------------------
   2. Finale 3er-Matrix: Zentriertes Venn-Diagramm & Dynamisches Floating-Panel
   -------------------------------------------------------------------------- */
.lowinski-card-wrapper {
  overflow: visible;
  box-sizing: border-box;
}

.lowinski-interactive-workspace {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

/* Vollständig zentrierte Venn-Bühne */
.venn-stage-split {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
  box-sizing: border-box;
  margin: 0 auto;
}

.venn-diagram-col {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

/* --------------------------------------------------------------------------
   Dynamisches Floating Detail-Popover (Poppt neben dem aktiven Chip auf)
   -------------------------------------------------------------------------- */
.venn-floating-popover {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(260px, 22vw, 295px);
  max-width: 310px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.93);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.venn-floating-popover.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.clean-panel-card {
  background-color: #1a1a20;
  background-image: 
    radial-gradient(circle at 100% 0%, rgba(222, 73, 146, 0.16) 0%, rgba(26, 26, 32, 0.98) 65%),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 14px 14px;
  border: 1px solid rgba(230, 119, 173, 0.38);
  border-radius: 12px;
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: 
    0 18px 45px rgba(0, 0, 0, 0.85), 
    0 0 28px rgba(222, 73, 146, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
  min-height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pointer Arrow to chip */
.venn-floating-popover::after {
  content: '';
  position: absolute;
  top: var(--arrow-y, 50%);
  width: 10px;
  height: 10px;
  background: #1a1a20;
  z-index: 61;
  pointer-events: none;
  transition: border-color 0.25s ease;
}

.venn-floating-popover.pos-left::after {
  right: -6px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid var(--popover-accent, rgba(230, 119, 173, 0.5));
  border-right: 1px solid var(--popover-accent, rgba(230, 119, 173, 0.5));
  border-bottom: none;
  border-left: none;
}

.venn-floating-popover.pos-right::after {
  left: -6px;
  transform: translateY(-50%) rotate(45deg);
  border-bottom: 1px solid var(--popover-accent, rgba(230, 119, 173, 0.5));
  border-left: 1px solid var(--popover-accent, rgba(230, 119, 173, 0.5));
  border-top: none;
  border-right: none;
}

.venn-floating-popover.is-human,
.venn-floating-popover:has(.is-active-human) {
  --popover-accent: #ff3b69;
}

.venn-floating-popover.is-machine,
.venn-floating-popover:has(.is-active-machine) {
  --popover-accent: #2979ff;
}

.venn-floating-popover.is-symbiose,
.venn-floating-popover:has(.is-active-symbiose) {
  --popover-accent: #de4992;
}

/* High-End Minimalist HUD Corner Chits (Pure CSS, alle 4 Ecken) */
.clean-panel-card::before,
.clean-panel-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.clean-panel-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid rgba(230, 119, 173, 0.75);
  border-left: 2px solid rgba(230, 119, 173, 0.75);
  border-top-left-radius: 14px;
}

.clean-panel-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid rgba(230, 119, 173, 0.75);
  border-right: 2px solid rgba(230, 119, 173, 0.75);
  border-bottom-right-radius: 14px;
}

.clean-panel-card.is-active-human {
  border-color: rgba(255, 59, 105, 0.65);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 59, 105, 0.25), inset 0 1px 1px rgba(255, 59, 105, 0.3);
}

.clean-panel-card.is-active-human::before,
.clean-panel-card.is-active-human::after {
  border-color: #ff3b69;
  box-shadow: 0 0 10px rgba(255, 59, 105, 0.75);
}

.clean-panel-card.is-active-machine {
  border-color: rgba(41, 121, 255, 0.65);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(41, 121, 255, 0.25), inset 0 1px 1px rgba(41, 121, 255, 0.3);
}

.clean-panel-card.is-active-machine::before,
.clean-panel-card.is-active-machine::after {
  border-color: #2979ff;
  box-shadow: 0 0 10px rgba(41, 121, 255, 0.75);
}

.clean-panel-card.is-active-symbiose {
  border-color: rgba(222, 73, 146, 0.75);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 38px rgba(222, 73, 146, 0.32), inset 0 1px 1px rgba(222, 73, 146, 0.4);
}

.clean-panel-card.is-active-symbiose::before,
.clean-panel-card.is-active-symbiose::after {
  border-color: #ff5ba8;
  box-shadow: 0 0 10px rgba(222, 73, 146, 0.85);
}

.clean-panel-header {
  margin-bottom: 0.35rem;
}

.clean-panel-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #efeded;
  line-height: 1.25;
  margin: 0;
  transition: color 0.25s ease, opacity 0.2s ease, text-shadow 0.25s ease;
}

.clean-panel-title.is-human {
  color: #ff3b69;
  text-shadow: 0 0 18px rgba(255, 59, 105, 0.45);
}

.clean-panel-title.is-machine {
  color: #2979ff;
  text-shadow: 0 0 18px rgba(41, 121, 255, 0.45);
}

.clean-panel-title.is-symbiose {
  color: #ff5ba8;
  text-shadow: 0 0 18px rgba(222, 73, 146, 0.6);
}

.clean-panel-separator {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #de4992 0%, rgba(222, 73, 146, 0.4) 65%, transparent 100%);
  margin: 0.65rem 0 0.85rem;
  box-shadow: 0 0 10px rgba(222, 73, 146, 0.6);
  border-radius: 1px;
  transition: all 0.25s ease;
}

.clean-panel-card.is-active-human .clean-panel-separator {
  background: linear-gradient(90deg, #ff3b69 0%, rgba(255, 59, 105, 0.4) 65%, transparent 100%);
  box-shadow: 0 0 10px rgba(255, 59, 105, 0.7);
}

.clean-panel-card.is-active-machine .clean-panel-separator {
  background: linear-gradient(90deg, #2979ff 0%, rgba(41, 121, 255, 0.4) 65%, transparent 100%);
  box-shadow: 0 0 10px rgba(41, 121, 255, 0.7);
}

.clean-panel-card.is-active-symbiose .clean-panel-separator {
  background: linear-gradient(90deg, #ff5ba8 0%, rgba(222, 73, 146, 0.5) 65%, transparent 100%);
  box-shadow: 0 0 12px rgba(222, 73, 146, 0.8);
}

.clean-panel-body {
  flex: 1;
  display: flex;
  align-items: center;
}

.clean-panel-desc {
  font-family: var(--font-body, system-ui);
  font-size: 14px;
  line-height: 1.55;
  color: #efeded;
  margin: 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.clean-panel-desc.is-placeholder {
  color: #9e9ea7;
}

/* --------------------------------------------------------------------------
   Venn-Bühne & Kreis-Geometrie (500px x 500px — Großzügiger Freiraum)
   -------------------------------------------------------------------------- */
.variant-venn-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  width: 100%;
  user-select: none;
}

.variant-circle-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  will-change: transform;
}

.venn-circle {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.3rem 1.2rem 1.8rem;
  position: relative;
  transition: all var(--transition-normal);
}

/* Inner Badges "ICH" und "KI" */
.circle-inner-badge {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 1.4rem;
  text-align: center;
  user-select: none;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), text-shadow 0.3s ease;
}

.circle-inner-badge.badge-human {
  color: #ff3b69;
  text-shadow: 0 0 25px rgba(255, 59, 105, 0.5);
}

.circle-inner-badge.badge-machine {
  color: #2979ff;
  text-shadow: 0 0 25px rgba(41, 121, 255, 0.5);
}

/* Linker Kreis: ICH (Warmes Korall-Rot #ff3b69) */
.venn-circle.circle-human {
  border: 1.5px solid rgba(255, 59, 105, 0.55);
  background: radial-gradient(circle at 35% 50%, rgba(255, 59, 105, 0.12) 0%, rgba(24, 24, 28, 0.94) 80%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 32px rgba(255, 59, 105, 0.16);
}

/* Rechter Kreis: KI (Kühles Elektro-Kobalt-Blau #2979ff) */
.venn-circle.circle-machine {
  border: 1.5px solid rgba(41, 121, 255, 0.55);
  background: 
    radial-gradient(circle at 65% 50%, rgba(41, 121, 255, 0.12) 0%, rgba(24, 24, 28, 0.94) 80%),
    repeating-linear-gradient(0deg, rgba(41, 121, 255, 0.02) 0, rgba(41, 121, 255, 0.02) 1px, transparent 0, transparent 16px),
    repeating-linear-gradient(90deg, rgba(41, 121, 255, 0.02) 0, rgba(41, 121, 255, 0.02) 1px, transparent 0, transparent 16px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 32px rgba(41, 121, 255, 0.16);
}

/* Schnittmenge: DAS ZUSAMMENSPIEL (Rot + Blau = Magenta #de4992) */
.venn-overlap-core {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 240px;
  min-height: 330px;
  border-radius: 120px;
  background: rgba(222, 73, 146, 0.28);
  border: 1.5px solid #de4992;
  box-shadow: 0 0 45px rgba(222, 73, 146, 0.55), inset 0 0 28px rgba(222, 73, 146, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0.65rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, box-shadow 0.3s ease;
}

.overlap-lens-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: #ff85c0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  text-align: center;
}

/* Kreis-Positionen und Zusammentreffen */
.variant-venn-stage .col-human {
  margin-right: 15px;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.variant-venn-stage .col-machine {
  margin-left: 15px;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.variant-venn-stage.is-fused .col-human {
  transform: translateX(130px);
}

.variant-venn-stage.is-fused .col-machine {
  transform: translateX(-130px);
}

.variant-venn-stage.is-fused .col-human .circle-inner-badge {
  transform: translateX(-50px);
}

.variant-venn-stage.is-fused .col-machine .circle-inner-badge {
  transform: translateX(50px);
}

.variant-venn-stage.is-fused .venn-overlap-core {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* --------------------------------------------------------------------------
   Pulsierender Zentrumsknoten & Spinning-Ring (Interaktiver Klick-Trigger)
   -------------------------------------------------------------------------- */
.venn-spark-field {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8;
  cursor: pointer;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  user-select: none;
}

.spark-ambient-glow {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 73, 146, 0.4) 0%, rgba(41, 121, 255, 0.2) 60%, transparent 80%);
  filter: blur(8px);
  opacity: 0.75;
  pointer-events: none;
  animation: sparkGlowPulse 2.2s ease-in-out infinite alternate;
}

.spark-center-node {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.spark-core-dot {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #de4992, 0 0 30px #2979ff;
  animation: corePulse 1.4s ease-in-out infinite alternate;
}

.spark-ripple-ring {
  position: absolute;
  inset: -6px;
  border: 1.5px dashed rgba(222, 73, 146, 0.75);
  border-radius: 50%;
  animation: ringSpin 3.8s linear infinite;
}

.venn-spark-field:hover {
  transform: translate(-50%, -50%) scale(1.2);
}

.venn-spark-field:hover .spark-ambient-glow {
  opacity: 1;
  filter: blur(12px);
}

.venn-spark-field:hover .spark-core-dot {
  box-shadow: 0 0 14px #ffffff, 0 0 26px #ff5ba8, 0 0 36px #2979ff;
}

/* Im fusionierten Zustand bleibt der leuchtende weiße Kreis sichtbar über DAS ZUSAMMENSPIEL */
.variant-venn-stage.is-fused .venn-spark-field {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -125px) scale(1.05);
  z-index: 12;
}

.variant-venn-stage.is-fused .venn-spark-field:hover {
  transform: translate(-50%, -125px) scale(1.24);
}

@keyframes sparkGlowPulse {
  0% { transform: scale(0.9); opacity: 0.55; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

@keyframes corePulse {
  0% { transform: scale(0.85); box-shadow: 0 0 8px #fff, 0 0 14px #de4992; }
  100% { transform: scale(1.25); box-shadow: 0 0 12px #fff, 0 0 22px #de4992, 0 0 32px #2979ff; }
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Synaptische Verbindungslinien im überlappten Zustand (Row 0, 1, 2)
   -------------------------------------------------------------------------- */
.venn-synapse-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.4s ease 0.15s;
}

.variant-venn-stage.is-fused .venn-synapse-canvas {
  opacity: 1;
}

.synapse-path {
  fill: none;
  stroke-width: 2.2px;
  stroke-linecap: round;
  stroke-dasharray: 6 4;
  animation: synapseFlow 1.6s linear infinite;
  filter: url(#synapseGlow);
  transition: stroke-width 0.25s ease, opacity 0.25s ease;
  opacity: 0.85;
}

.synapse-path.synapse-left {
  stroke: #ff5b8f;
  stroke: url(#synapseGradLeft);
}

.synapse-path.synapse-right {
  stroke: #5b9bff;
  stroke: url(#synapseGradRight);
}

@keyframes synapseFlow {
  to {
    stroke-dashoffset: -20;
  }
}

.synapse-row-group.is-highlighted .synapse-path {
  stroke-width: 3.5px;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 16px #de4992);
}

/* Chips Stacks (3 Reihen) */
.circle-chips-stack {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  align-items: center;
  width: 100%;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.overlap-chips-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  width: 100%;
}

/* Pill Chips (Kompakt, clean, ohne Klammern) */
.venn-pill-chip {
  background: #18181c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #efeded;
  font-family: var(--font-display);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.venn-pill-chip.chip-human {
  border-color: rgba(255, 59, 105, 0.35);
}

.venn-pill-chip.chip-human:hover,
.venn-pill-chip.chip-human.is-inspecting {
  border-color: #ff3b69;
  background: rgba(255, 59, 105, 0.22);
  box-shadow: 0 0 18px rgba(255, 59, 105, 0.55);
  transform: scale(1.04);
}

.venn-pill-chip.chip-machine {
  border-color: rgba(41, 121, 255, 0.35);
}

.venn-pill-chip.chip-machine:hover,
.venn-pill-chip.chip-machine.is-inspecting {
  border-color: #2979ff;
  background: rgba(41, 121, 255, 0.22);
  box-shadow: 0 0 18px rgba(41, 121, 255, 0.55);
  transform: scale(1.04);
}

.venn-pill-chip.chip-symbiose {
  font-size: 0.65rem;
  padding: 0.4rem 0.75rem;
  background: #201924;
  border-color: rgba(222, 73, 146, 0.55);
}

.venn-pill-chip.chip-symbiose:hover,
.venn-pill-chip.chip-symbiose.is-inspecting {
  border-color: #ff5ba8;
  background: rgba(222, 73, 146, 0.36);
  box-shadow: 0 0 18px rgba(222, 73, 146, 0.75);
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   Typografische Kollisions-Vermeidung (Wunderbare Symmetrie im 500px-Kreis)
   -------------------------------------------------------------------------- */
.variant-venn-stage.is-fused .col-human .circle-chips-stack .venn-pill-chip:nth-child(1) {
  transform: translate(-110px, 0);
}
.variant-venn-stage.is-fused .col-human .circle-chips-stack .venn-pill-chip:nth-child(2) {
  transform: translate(-130px, 0);
}
.variant-venn-stage.is-fused .col-human .circle-chips-stack .venn-pill-chip:nth-child(3) {
  transform: translate(-110px, 0);
}

.variant-venn-stage.is-fused .col-human .circle-chips-stack .venn-pill-chip:nth-child(1):hover,
.variant-venn-stage.is-fused .col-human .circle-chips-stack .venn-pill-chip:nth-child(1).is-inspecting {
  transform: translate(-110px, 0) scale(1.04);
}
.variant-venn-stage.is-fused .col-human .circle-chips-stack .venn-pill-chip:nth-child(2):hover,
.variant-venn-stage.is-fused .col-human .circle-chips-stack .venn-pill-chip:nth-child(2).is-inspecting {
  transform: translate(-130px, 0) scale(1.04);
}
.variant-venn-stage.is-fused .col-human .circle-chips-stack .venn-pill-chip:nth-child(3):hover,
.variant-venn-stage.is-fused .col-human .circle-chips-stack .venn-pill-chip:nth-child(3).is-inspecting {
  transform: translate(-110px, 0) scale(1.04);
}

.variant-venn-stage.is-fused .col-machine .circle-chips-stack .venn-pill-chip:nth-child(1) {
  transform: translate(110px, 0);
}
.variant-venn-stage.is-fused .col-machine .circle-chips-stack .venn-pill-chip:nth-child(2) {
  transform: translate(130px, 0);
}
.variant-venn-stage.is-fused .col-machine .circle-chips-stack .venn-pill-chip:nth-child(3) {
  transform: translate(110px, 0);
}

.variant-venn-stage.is-fused .col-machine .circle-chips-stack .venn-pill-chip:nth-child(1):hover,
.variant-venn-stage.is-fused .col-machine .circle-chips-stack .venn-pill-chip:nth-child(1).is-inspecting {
  transform: translate(110px, 0) scale(1.04);
}
.variant-venn-stage.is-fused .col-machine .circle-chips-stack .venn-pill-chip:nth-child(2):hover,
.variant-venn-stage.is-fused .col-machine .circle-chips-stack .venn-pill-chip:nth-child(2).is-inspecting {
  transform: translate(130px, 0) scale(1.04);
}
.variant-venn-stage.is-fused .col-machine .circle-chips-stack .venn-pill-chip:nth-child(3):hover,
.variant-venn-stage.is-fused .col-machine .circle-chips-stack .venn-pill-chip:nth-child(3).is-inspecting {
  transform: translate(110px, 0) scale(1.04);
}

/* --------------------------------------------------------------------------
   One-Click Fusion Button
   -------------------------------------------------------------------------- */
.click-trigger-wrap {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
}

@keyframes buttonPulseGlow {
  0%, 100% {
    box-shadow: 0 0 16px rgba(222, 73, 146, 0.4), 0 0 35px rgba(222, 73, 146, 0.15), 0 8px 24px rgba(0, 0, 0, 0.6);
    border-color: rgba(222, 73, 146, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 30px rgba(222, 73, 146, 0.9), 0 0 60px rgba(222, 73, 146, 0.45), 0 8px 28px rgba(0, 0, 0, 0.8);
    border-color: #ff60ad;
    transform: scale(1.035);
  }
}

@keyframes radarBeacon {
  0% { transform: scale(0.96); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.fusion-toggle-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25252a;
  border: 1.5px solid rgba(222, 73, 146, 0.65);
  padding: 0.58rem 1.35rem;
  border-radius: var(--radius-pill);
  color: #efeded;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  position: relative;
  animation: buttonPulseGlow 2.2s infinite ease-in-out;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.fusion-toggle-button .handle-bracket {
  color: #de4992;
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

.fusion-toggle-button .handle-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1.5px solid rgba(222, 73, 146, 0.6);
  pointer-events: none;
  animation: radarBeacon 2.2s infinite ease-out;
}

.fusion-toggle-button:hover {
  border-color: #ff5ba8;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 0 36px rgba(222, 73, 146, 0.95), 0 0 70px rgba(222, 73, 146, 0.5);
}

.one-click-stage.is-fused .fusion-toggle-button {
  background: rgba(222, 73, 146, 0.22);
  border-color: #de4992;
  color: #ffb5d8;
}

/* --------------------------------------------------------------------------
   Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .variant-venn-stage {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-height: auto;
  }

  .variant-circle-col {
    margin: 0 !important;
    transform: none !important;
  }

  .venn-circle {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 16px;
    padding: 1.5rem 1rem;
  }

  .venn-overlap-core {
    position: static;
    transform: none !important;
    width: 100%;
    max-width: 320px;
    min-height: auto;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    margin: 0;
  }

  .variant-venn-stage.is-fused .col-human .circle-chips-stack .venn-pill-chip,
  .variant-venn-stage.is-fused .col-machine .circle-chips-stack .venn-pill-chip {
    transform: none !important;
  }

  .variant-venn-stage.is-fused .circle-inner-badge {
    transform: none !important;
  }

  .venn-floating-popover {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 1.25rem auto 0;
    transform: none !important;
  }

  .venn-floating-popover::after {
    display: none !important;
  }

  .lowinski-statement-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 32px;
    padding: 0 0.5rem;
  }

  .lowinski-statement-grid::after {
    display: none;
  }

  .statement-col.col-handwerk {
    padding-right: 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(230, 119, 173, 0.2);
  }

  .statement-col.col-system {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .lowinski-infographic-section {
    padding: 4.5rem 0 5.5rem;
  }

  .lowinski-infographic-container {
    padding: 0 1.25rem;
  }

  .lowinski-card-wrapper {
    padding: 2rem 1.25rem 1.75rem;
  }

  .lowinski-main-title {
    font-size: 30px;
  }

  .lowinski-cursive-subline {
    font-size: 1.1rem;
  }

  .manifesto-paragraph {
    font-size: 14.5px;
  }
}

/* ==========================================================================
   LAYER 8: Telemetry, Outro & Contact Modal Trigger
   ========================================================================== */
.contact-telemetry-section {
  position: relative;
  z-index: 20;
  padding: 6.5rem 2rem;
  background: linear-gradient(180deg, var(--canvas-void) 0%, #141419 100%);
  border-top: 1px solid rgba(230, 119, 173, 0.2);
}

.contact-outro-container {
  max-width: 980px;
  margin: 0 auto;
}

.outro-hero-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(222, 73, 146, 0.15);
}

.outro-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-magenta), transparent);
}

.outro-card-badge-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.outro-status-pulse {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: rgba(222, 73, 146, 0.25);
  border: 1px solid var(--primary-magenta);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.outro-cursive-tag {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--secondary-pink);
  margin-top: -0.4rem;
  margin-bottom: 1.25rem;
}

.dossier-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.dossier-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 720px;
}

.outro-actions-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.outro-primary-cta {
  font-size: 1.05rem;
  padding: 1.1rem 2.5rem;
  border: none;
  cursor: pointer;
  background: var(--primary-magenta);
  color: #fff;
  box-shadow: 0 0 25px var(--glass-glow), 0 8px 24px rgba(222, 73, 146, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.outro-primary-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(222, 73, 146, 0.85), 0 12px 30px rgba(0, 0, 0, 0.6);
}

.dossier-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.dossier-direct-link:hover {
  color: var(--primary-magenta);
}

.hud-social-row {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.social-row-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
}

.hud-social-chip {
  padding: 0.5rem 1.2rem;
  background: var(--surface-container-high);
  border: 1px solid var(--secondary-pink);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.hud-social-chip:hover {
  background: var(--primary-magenta);
  color: #fff;
  box-shadow: 0 0 15px var(--glass-glow);
}

.hud-footer-bar {
  border-top: 1px solid rgba(230, 119, 173, 0.15);
  padding: 2.5rem 2rem;
  background: var(--surface-container-lowest);
}

.footer-hud-content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-subtle);
}

.footer-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav-links a:hover {
  color: var(--primary-light);
}

/* ==========================================================================
   Project Lightbox HUD Modal
   ========================================================================== */
.project-hud-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-hud-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop-dismiss {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.modal-spatial-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  max-height: 90vh;
  background: #18181f;
  border: 1px solid var(--primary-magenta);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 45px var(--glass-glow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-hud-modal.active .modal-spatial-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 20;
  background: rgba(30, 30, 36, 0.85);
  border: 1px solid var(--secondary-pink);
  color: var(--text-pure);
  font-size: 1.8rem;
  line-height: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary-magenta);
  border-color: #fff;
  transform: rotate(90deg);
}

/* Scrollable Container Inside Modal */
.modal-scrollable-container {
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.modal-scrollable-container::-webkit-scrollbar {
  width: 6px;
}
.modal-scrollable-container::-webkit-scrollbar-thumb {
  background: rgba(230, 119, 173, 0.35);
  border-radius: 3px;
}

/* Top Dossier Header (Matching Previous Subpages Layout) */
.modal-dossier-header {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  padding: 2.5rem 3rem 2rem;
  background: #18181f;
  border-bottom: 1px solid rgba(230, 119, 173, 0.25);
  position: relative;
  align-items: start;
}

.modal-dossier-main {
  display: flex;
  flex-direction: column;
}

.modal-category-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.modal-category-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--primary-magenta);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.08em;
}

.modal-format-tag {
  display: none !important;
}

.modal-project-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--text-pure);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.modal-narrative-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #d5d5e2;
  white-space: pre-line;
}

/* Right Meta Column: Open Info Cards (Flush with White Headline) */
.modal-dossier-meta-column {
  display: flex;
  flex-direction: column;
  background: rgba(30, 30, 38, 0.75);
  border: 1px solid rgba(230, 119, 173, 0.25);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.5rem;
  height: fit-content;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 2.15rem; /* Exactly aligns top of meta box with top of white headline */
}

.modal-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modal-meta-label {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--primary-magenta);
  letter-spacing: 0.02em;
  text-shadow: 0 0 10px rgba(222, 73, 146, 0.3);
}

.modal-meta-value {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #efeded;
  line-height: 1.45;
  margin: 0;
}

.modal-meta-divider {
  height: 1px;
  background: rgba(230, 119, 173, 0.2);
  margin: 0.75rem 0;
}

/* Media Showcase Section */
.modal-media-showcase-section {
  padding: 2.25rem 3rem 2.75rem;
  background: #131317;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Video Showcase Player Responsive Container (YouTube, Vimeo, HTML5 MP4) */
.modal-video-container {
  width: 100%;
}

.modal-video-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.modal-video-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(230, 119, 173, 0.3);
  border-radius: var(--radius-pill, 999px);
  color: #c5c5d0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.modal-video-tab-btn:hover {
  border-color: var(--primary-magenta);
  color: #ffffff;
  background: rgba(222, 73, 146, 0.15);
}

.modal-video-tab-btn.active {
  background: var(--primary-magenta);
  border-color: var(--secondary-pink);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(222, 73, 146, 0.55);
}

.modal-video-viewport-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.modal-video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(230, 119, 173, 0.35);
  background: #000;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(222, 73, 146, 0.15);
  transition: max-width 0.3s ease, padding-bottom 0.3s ease;
}

.modal-video-responsive.vertical-reel {
  max-width: 290px;
  height: 380px;
  padding-bottom: 0;
  border-radius: 16px;
  border: 2px solid rgba(230, 119, 173, 0.45);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(222, 73, 146, 0.25);
  margin: 0 auto;
}

/* Fallback Notice for blocked hotlinks (e.g. rf.gd anti-bot challenge) */
.video-host-notice {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: radial-gradient(circle at center, #24202c 0%, #0d0d12 100%);
  color: #fff;
  gap: 0.6rem;
  border-radius: 14px;
}

.video-host-notice .notice-icon {
  font-size: 2.2rem;
}

.video-host-notice .notice-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-pure);
}

.video-host-notice .notice-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.45;
}

.video-host-notice .notice-action-btn {
  margin-top: 0.4rem;
  padding: 0.55rem 1.25rem;
  background: var(--primary-magenta);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(222, 73, 146, 0.5);
  transition: all 0.2s ease;
}

.video-host-notice .notice-action-btn:hover {
  background: #ff5ba8;
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(222, 73, 146, 0.85);
}

.modal-video-responsive iframe,
.modal-video-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

.modal-video-external-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.65rem;
}

.modal-video-external-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--secondary-pink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill, 999px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 119, 173, 0.25);
  transition: all 0.2s ease;
}

.modal-video-external-btn:hover {
  background: rgba(222, 73, 146, 0.18);
  border-color: var(--primary-magenta);
  color: #fff;
  box-shadow: 0 0 10px rgba(222, 73, 146, 0.3);
}

.dossier-video-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: rgba(222, 73, 146, 0.28);
  border: 1px solid rgba(222, 73, 146, 0.65);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(222, 73, 146, 0.25);
  transition: all 0.2s ease;
}

.dossier-video-tag svg,
.dossier-video-tag .dossier-play-icon {
  width: 9px;
  height: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  fill: currentColor;
  margin-top: -0.5px;
}

.project-dossier-card:hover .dossier-video-tag {
  background: var(--primary-magenta);
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(222, 73, 146, 0.7);
}

/* Dynamic Masonry / Mosaic Multi-Image Gallery Grid */
.modal-media-gallery {
  column-count: 3;
  column-gap: 12px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Dynamically adjust column count to fit actual items and keep them centered */
.modal-media-gallery[data-count="1"] {
  column-count: 1;
  max-width: 480px;
}

.modal-media-gallery[data-count="2"] {
  column-count: 2;
  max-width: 680px;
}

@media (max-width: 960px) {
  .modal-media-gallery,
  .modal-media-gallery[data-count="2"] {
    column-count: 2;
    column-gap: 10px;
  }
}

@media (max-width: 520px) {
  .modal-media-gallery,
  .modal-media-gallery[data-count="2"],
  .modal-media-gallery[data-count="1"] {
    column-count: 1;
  }
}

.modal-gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  width: 100%;
  background: #0c0c0f;
  border: 1px solid rgba(230, 119, 173, 0.25);
  border-radius: var(--radius-sm, 6px);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease, 
              box-shadow 0.25s ease;
}

.modal-gallery-item:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: var(--primary-magenta);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 16px rgba(222, 73, 146, 0.35);
  z-index: 2;
}

.modal-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: filter 0.3s ease;
}

/* Hover Zoom Indicator Badge */
.modal-gallery-item::after {
  content: "⤢";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(18, 18, 24, 0.88);
  border: 1px solid var(--primary-magenta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  box-shadow: 0 0 10px var(--primary-glow);
}

.modal-gallery-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.modal-scanline-fx {
  display: none !important;
}

/* ==========================================================================
   High-Res Gallery Zoom / Fullscreen Lightbox Overlay Modal
   ========================================================================== */
.gallery-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-zoom-modal.active {
  opacity: 1;
  pointer-events: all;
}

.zoom-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  cursor: zoom-out;
}

.zoom-modal-content {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

/* Prevent right-click / drag / text selection on portfolio & gallery media */
#portfolio img, 
.modal-gallery-item img, 
.gallery-zoom-img,
.project-hud-modal img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.zoom-img-container {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  border: 1.5px solid rgba(230, 119, 173, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(222, 73, 146, 0.28);
  background: #060608;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  transition: transform 0.15s ease-out;
}

.zoom-img-container:active,
.zoom-img-container.is-grabbing {
  cursor: grabbing;
}

.gallery-zoom-img {
  max-width: 90vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transform: scale(0.96);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  pointer-events: none; /* Allows container to handle drag & click smoothly without native ghost drag */
}

.gallery-zoom-modal.active .gallery-zoom-img {
  transform: scale(1);
}

.zoom-caption-bar {
  display: none !important;
}

.zoom-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(26, 26, 34, 0.9);
  border: 1px solid var(--primary-magenta);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 15px var(--primary-glow);
  transition: all var(--transition-fast);
}

.zoom-close-btn:hover {
  background: var(--primary-magenta);
  transform: scale(1.1);
}

.zoom-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(22, 22, 30, 0.88);
  border: 1px solid rgba(230, 119, 173, 0.4);
  color: #fff;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 5;
}

.zoom-nav-btn.prev {
  left: -58px;
}

.zoom-nav-btn.next {
  right: -58px;
}

.zoom-nav-btn:hover {
  background: var(--primary-magenta);
  border-color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}

@media (max-width: 768px) {
  .zoom-nav-btn.prev {
    left: 10px;
  }
  .zoom-nav-btn.next {
    right: 10px;
  }
  .zoom-close-btn {
    top: 10px;
    right: 10px;
  }
}

.zoom-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0.5rem;
}

.zoom-counter-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: 0.08em;
}

.zoom-hint-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-subtle);
}

.modal-media-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0;
}

.modal-spec-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary-pink);
}

.modal-footnote-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-subtle);
}

@media (max-width: 900px) {
  .modal-dossier-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem 1.5rem;
  }
  .modal-media-showcase-section {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   HUD 3-Pillar Spatial Connect Modal
   ========================================================================== */
.connect-hud-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.connect-hud-modal.active {
  opacity: 1;
  pointer-events: all;
}

.connect-spatial-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  overflow-y: auto;
  background: rgba(20, 20, 26, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--primary-magenta);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(222, 73, 146, 0.25);
  padding: 2.75rem 2.5rem;
  transform: scale(0.96) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.connect-spatial-card::-webkit-scrollbar {
  width: 6px;
}
.connect-spatial-card::-webkit-scrollbar-thumb {
  background: rgba(230, 119, 173, 0.35);
  border-radius: 3px;
}

.connect-hud-modal.active .connect-spatial-card {
  transform: scale(1) translateY(0);
}

.connect-modal-header {
  text-align: center;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connect-live-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-magenta);
  background: rgba(222, 73, 146, 0.15);
  border: 1px solid rgba(222, 73, 146, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.connect-modal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  color: var(--text-pure);
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}

.connect-modal-subline {
  display: none;
}

/* 2-Pillars Layout Grid (LinkedIn & Direct E-Mail) */
.connect-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 380px));
  justify-content: center;
  gap: 1.75rem;
  align-items: start;
  width: 100%;
  margin: 0 auto;
}

.connect-pillar-card {
  background: rgba(26, 26, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.25rem;
  min-height: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.connect-pillar-card.pillar-linkedin {
  border-color: rgba(0, 119, 181, 0.3);
}

.connect-pillar-card.pillar-email {
  border-color: rgba(255, 184, 0, 0.3);
}

.connect-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.connect-pillar-card.pillar-linkedin:hover {
  border-color: #0077b5;
  box-shadow: 0 15px 40px rgba(0, 119, 181, 0.25);
  transform: translateY(-4px);
}
.connect-pillar-card.pillar-linkedin:hover::before {
  background: #0077b5;
}

.connect-pillar-card.pillar-email:hover {
  border-color: #ffb800;
  box-shadow: 0 15px 40px rgba(255, 184, 0, 0.25);
  transform: translateY(-4px);
}
.connect-pillar-card.pillar-email:hover::before {
  background: #ffb800;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-pure);
  margin: 0 0 1.25rem;
  text-align: center;
}

.pillar-action-wrap {
  margin-top: auto;
}

.pillar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-linkedin {
  background: rgba(0, 119, 181, 0.18);
  border: 1px solid #0077b5;
  color: #efeded;
}

.btn-linkedin:hover {
  background: #0077b5;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 119, 181, 0.6);
}

.btn-email {
  background: rgba(255, 184, 0, 0.14);
  border: 1px solid #ffb800;
  color: #efeded;
}

.btn-email:hover {
  background: #ffb800;
  color: #121217;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(255, 184, 0, 0.55);
}

/* Standalone Final LET'S CONNECT Section */
.connect-standalone-section {
  position: relative;
  z-index: 20;
  padding: 6.5rem 2rem 7.5rem;
  background: #0E0E13;
  border-top: 1px solid rgba(230, 119, 173, 0.2);
  overflow: hidden;
}

@media (min-width: 769px) and (max-width: 1600px) {
  .connect-standalone-section {
    padding-right: calc(2rem + 48px);
  }
}

.connect-standalone-container {
  max-width: 1200px;
  margin: 0 auto;
}

.connect-standalone-header {
  text-align: center;
  margin-bottom: 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connect-standalone-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.5vw, 7.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text-pure);
}

.connect-standalone-subline {
  font-family: var(--font-cursive);
  font-size: 1.35rem;
  color: var(--secondary-pink);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .connect-pillars-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    gap: 1.25rem;
  }
  .connect-spatial-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   Responsive & Mobile Adaptations (Smartphone & Tablet)
   ========================================================================== */
@media (max-width: 992px) {
  .agent-stage-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .agent-roster-carousel {
    justify-content: flex-start;
    padding: 0.5rem 0.5rem 1rem;
    gap: 1.75rem;
  }

  .roster-agent-btn.active {
    transform: scale(1.08);
  }

  .agent-spec-hud {
    transform: none;
    padding: 1.8rem;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  /* Dossiers Accordion Stack on Mobile & Tablet */
  .dossiers-accordion-wrapper {
    flex-direction: column;
    height: auto;
    gap: 0.85rem;
  }

  .dossier-panel {
    min-height: 68px;
    height: 68px;
    width: 100%;
    flex: none;
  }

  .dossier-panel.expanded {
    height: auto;
    min-height: 540px;
    flex: none;
  }

  .dossier-collapsed-view {
    flex-direction: row;
    padding: 1rem 1.5rem;
    position: relative;
  }

  .collapsed-vertical-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.15rem;
  }

  .expanded-showcase-grid {
    grid-template-columns: 1fr;
  }

  .modal-dossier-header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 2rem 1.5rem 1.5rem;
  }

  .modal-dossier-meta-column {
    margin-top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .hud-hamburger {
    display: block;
  }

  .hud-nav {
    position: fixed;
    top: 4.8rem;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--primary-magenta);
    padding: 2.5rem 2rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }

  .hud-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hud-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hud-cta-pill {
    width: 100%;
    text-align: center;
  }

  .character-lineup-viewport {
    height: 54vh;
    min-height: 420px;
  }

  .lineup-character-slot {
    width: 200px;
  }

  /* NLE Timeline Mobile Adjustments */
  .nle-header-top {
    flex-direction: column;
    gap: 1rem;
  }

  .nle-timecode-box {
    width: 100%;
  }

  .nle-project-specs,
  .nle-zoom-widget {
    display: none;
  }

  .nle-inspector-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
  }

  .nle-inspector-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .nle-inspector-media {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
  }

  .outro-hero-card {
    padding: 2.25rem 1.5rem;
  }

  .outro-actions-bar {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .outro-primary-cta {
    width: 100%;
    text-align: center;
  }

  .spatial-monumental-text {
    font-size: clamp(3rem, 16vw, 5.5rem);
  }

  .footer-hud-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   LEGAL / IMPRESSUM PAGE STYLES
   ========================================================================== */
.legal-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface-background);
  color: var(--text-pure);
}

.legal-page-main {
  flex: 1;
  padding: 8rem 1.5rem 5rem;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-minimal-card {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.legal-minimal-content {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin: 2.5rem 0 3.25rem;
  text-align: center;
}

.legal-data-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-data-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
}

.legal-data-line {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #cfcee0;
  margin: 0;
  line-height: 1.6;
}

.legal-contact-section {
  padding-top: 0.5rem;
}

.legal-contact-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ff70a6;
  margin: 0 0 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-contact-link {
  color: #efeded;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 112, 166, 0.5);
  transition: all 0.2s ease;
}

.legal-contact-link:hover {
  color: #ff70a6;
  border-bottom-style: solid;
  border-color: #ff70a6;
  text-shadow: 0 0 12px rgba(222, 73, 146, 0.7);
}

.legal-back-row {
  margin-top: 2rem;
  text-align: center;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #efeded;
  padding: 0.75rem 1.85rem;
  background: rgba(222, 73, 146, 0.16);
  border: 1px solid rgba(222, 73, 146, 0.5);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 18px rgba(222, 73, 146, 0.25);
}

.legal-back-btn:hover {
  background: #de4992;
  color: #ffffff;
  box-shadow: 0 0 28px rgba(222, 73, 146, 0.65);
  transform: translateY(-2px);
}

/* Policy / Datenschutz Specific Styling */
.legal-policy-card {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  background: rgba(14, 14, 20, 0.88);
  border: 1px solid rgba(222, 73, 146, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(222, 73, 146, 0.12);
  backdrop-filter: blur(16px);
}

.legal-policy-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0 2.5rem;
}

.policy-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.policy-h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ff70a6;
  letter-spacing: 0.04em;
  margin: 0.5rem 0 0.25rem;
  border-bottom: 1px solid rgba(222, 73, 146, 0.25);
  padding-bottom: 0.4rem;
}

.policy-h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0.4rem 0 0.2rem;
}

.policy-p {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.7;
  color: #cfcee0;
  margin: 0;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.policy-list li {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cfcee0;
  position: relative;
  padding-left: 1.5rem;
}

.policy-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #ff70a6;
  font-size: 1.1rem;
}

.policy-callout {
  background: rgba(222, 73, 146, 0.08);
  border-left: 3px solid #ff70a6;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.policy-link {
  color: #ff70a6;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.policy-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(222, 73, 146, 0.8);
}

@media (max-width: 768px) {
  .legal-policy-card {
    padding: 2rem 1.25rem;
  }
}

/* ==========================================================================
   FLOATING VERTICAL DOCK NAVIGATION (Right Edge)
   ========================================================================== */
.floating-dock-nav {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) translateX(15px);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s ease;
}

.floating-dock-nav.dock-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.dock-container {
  background: rgba(18, 18, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(230, 119, 173, 0.3);
  border-radius: 28px;
  padding: 10px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6),
              0 0 16px rgba(222, 73, 146, 0.15);
}

/* Brand Logo Button */
.dock-logo-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 119, 173, 0.22);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  overflow: hidden;
}

.dock-logo-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.dock-logo-btn:hover {
  background: rgba(222, 73, 146, 0.2);
  border-color: var(--primary-magenta);
  box-shadow: 0 0 14px rgba(222, 73, 146, 0.5);
  transform: scale(1.08);
}

.dock-logo-btn:hover .dock-logo-img {
  transform: scale(1.1);
}

/* Dividers */
.dock-divider {
  width: 18px;
  height: 1px;
  background: rgba(230, 119, 173, 0.25);
  margin: 2px 0;
}

/* Nav Menu List */
.dock-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dock-nav-item {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-nav-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(239, 237, 237, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-nav-item:hover {
  background: rgba(222, 73, 146, 0.15);
}

.dock-nav-item:hover .dock-nav-indicator {
  background: #ffffff;
  transform: scale(1.35);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.dock-nav-item.active {
  background: rgba(222, 73, 146, 0.25);
}

.dock-nav-item.active .dock-nav-indicator {
  width: 10px;
  height: 10px;
  background: var(--primary-magenta);
  box-shadow: 0 0 10px var(--primary-magenta), 0 0 18px rgba(222, 73, 146, 0.8);
}

/* Floating Tooltip Labels (flyout to the left) */
.dock-nav-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(18, 18, 24, 0.95);
  border: 1px solid rgba(230, 119, 173, 0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65), 0 0 10px rgba(222, 73, 146, 0.2);
  color: #efeded;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-nav-item:hover .dock-nav-label,
.dock-connect-btn:hover .dock-nav-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Connect Action Button */
.dock-connect-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-magenta), #c22978);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  box-shadow: 0 0 15px rgba(222, 73, 146, 0.55);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 2px;
}

.dock-connect-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-magenta);
  opacity: 0.7;
  animation: dockPulseAnim 2.2s infinite ease-out;
  pointer-events: none;
}

@keyframes dockPulseAnim {
  0% { transform: scale(0.92); opacity: 0.9; }
  50% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.dock-connect-icon {
  display: inline-block;
  line-height: 1;
}

.dock-connect-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 24px rgba(222, 73, 146, 0.9);
}

@media (max-width: 768px) {
  .floating-dock-nav {
    display: none;
  }
}
