/* ============================================================================
   SWISS MARKETER — Pipeline Section · Premium Redesign v3
   "Vom ersten Klick bis zum unterschriebenen Vertrag"
   Desktop: WebGL 3D · Mobile: static SVG pipeline · journey timeline
   ============================================================================
   NOTE FOR LATER (HTML-level swap, not CSS):
   - .big-metric values still hardcoded in index.html (247, 39, +70%, 3.1×).
     Recommended safer copy:
       247   -> "Stabiler" + label "Lead-Zufluss · Pro Monat"
       39    -> "Voll"     + label "Geplante Termine · Sales-Kalender"
       +70%  -> "Spürbar"  + label "Conversion Lift · Vor → Nach"
       3.1×  -> "Mehrfach" + label "ROI · Auf Mediabudget"
     The CSS below already supports either numeric or descriptor values
     (tabular-nums, flexible sizing, multi-line labels).
   - Same applies to .pipe-flow__kpi chips ("1.2k / Mo", "247 Leads", …)
     and .pipe-stage__chip ("17 Touchpoints", "142 Leads / Tag", …).
     CSS now supports descriptor copy ("Eingang", "Qualifiziert", "Multi-Touch")
     plus a small ✱ Illustrativ footnote chip if desired.
   ============================================================================ */

:root {
  --pipe-c-visitors: #a8b2c8;
  --pipe-c-leads:    #facc15;
  --pipe-c-qual:     #fb7185;
  --pipe-c-auto:     #fb923c;
  --pipe-c-opp:      #ef4444;
  --pipe-c-won:      #10b981; /* legacy fallback */
  --pipe-c-emerald:  #059669; /* deeper, less neon */
  --pipe-c-emerald-glow: rgba(5, 150, 105, 0.40);
  --pipe-red:        #dc0018;
  --pipe-red-glow:   rgba(220, 0, 24, 0.55);
}

/* ---------------------------------------------------------------------------
   1) Section header refinements + ambient blob drift
--------------------------------------------------------------------------- */
#network .stage__head {
  position: relative;
  z-index: 2;
}
#network .stage__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(220, 0, 24, 0.10);
  border: 1px solid rgba(220, 0, 24, 0.28);
  color: #ff8a98 !important;
}
#network .stage__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #ff4d6a;
  box-shadow: 0 0 8px rgba(255, 77, 106, 0.7);
  /* Smooth GPU-only pulse — transform/opacity */
  animation: pipeEyebrowPulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: transform, opacity;
}
@keyframes pipeEyebrowPulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.55; }
}

/* Ambient red blobs on this section — slow drift, very subtle */
#network .stage__blob--red {
  filter: blur(80px);
  opacity: 0.25 !important;
  animation: pipeBlobDrift 60s ease-in-out infinite;
  will-change: transform;
}
#network .stage__blob--red:nth-of-type(2) {
  animation-duration: 72s;
  animation-direction: reverse;
}
@keyframes pipeBlobDrift {
  0%, 100% { transform: translate3d(0, 0, 0)        scale(1); }
  25%      { transform: translate3d(-24px, 18px, 0) scale(1.04); }
  50%      { transform: translate3d(14px, -22px, 0) scale(0.97); }
  75%      { transform: translate3d(20px, 12px, 0)  scale(1.03); }
}

/* ---------------------------------------------------------------------------
   2) Journey Timeline — premium horizontal/vertical rail
      Auto-cycling active step (red glow), hover tooltip, tighter spacing
--------------------------------------------------------------------------- */
.pipe-journey {
  margin: clamp(24px, 4vw, 36px) auto 0;
  max-width: 1100px;
  padding: 0 clamp(4px, 2vw, 16px);
  position: relative;
  z-index: 2;
}
.pipe-journey__rail {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.32);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pipe-journey__rail::-webkit-scrollbar { display: none; }

.pipe-journey__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 14px 10px 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  min-width: 108px;
  flex: 1 1 0;
  cursor: default;
  isolation: isolate;
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.pipe-journey__step:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Color dot left of label */
.pipe-journey__step::before {
  content: '';
  position: absolute;
  top: 14px; left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--c, white);
  box-shadow:
    0 0 10px var(--c, white),
    0 0 0 2px rgba(0, 0, 0, 0.45);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.pipe-journey__step:hover::before {
  transform: scale(1.2);
}

/* Hover tooltip — pure CSS, transform/opacity only */
.pipe-journey__step::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 4px);
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(12, 12, 16, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}
.pipe-journey__step:hover::after,
.pipe-journey__step:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Fallback tooltip text if data-tip is absent (works even without HTML edits) */
.pipe-journey__step[data-color="visitors"]:not([data-tip])::after { content: 'Was passiert hier: Multi-Channel Akquise'; }
.pipe-journey__step[data-color="leads"]:not([data-tip])::after    { content: 'Was passiert hier: Capture & Scoring 1–10'; }
.pipe-journey__step[data-color="qual"]:not([data-tip])::after     { content: 'Was passiert hier: KI-Filter & Bedarfs-Check'; }
.pipe-journey__step[data-color="auto"]:not([data-tip])::after     { content: 'Was passiert hier: CRM-Routing 24/7'; }
.pipe-journey__step[data-color="opp"]:not([data-tip])::after      { content: 'Was passiert hier: Termin · Angebot · Verhandlung'; }
.pipe-journey__step[data-color="won"]:not([data-tip])::after      { content: 'Was passiert hier: Abschluss & Referral-Loop'; }

.pipe-journey__num {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.50);
  padding-left: 0;
}
.pipe-journey__label {
  font-family: var(--font-display, sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: white;
  white-space: nowrap;
}
.pipe-journey__arrow {
  align-self: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.32);
  padding: 0 2px;
  flex-shrink: 0;
  user-select: none;
}

/* Color-coded steps */
.pipe-journey__step[data-color="visitors"] { --c: var(--pipe-c-visitors); }
.pipe-journey__step[data-color="leads"]    { --c: var(--pipe-c-leads); }
.pipe-journey__step[data-color="qual"]     { --c: var(--pipe-c-qual); }
.pipe-journey__step[data-color="auto"]     { --c: var(--pipe-c-auto); }
.pipe-journey__step[data-color="opp"]      { --c: var(--pipe-c-opp); }
.pipe-journey__step[data-color="won"]      { --c: var(--pipe-c-emerald); }

/* Auto-cycle "current step" — CSS-only, no JS.
   24s loop (6 steps × 4s each). Each step shines for ~3.4s with smooth taper. */
.pipe-journey__step {
  animation: pipeStepIdle 24s linear infinite;
  animation-delay: var(--pipe-step-delay, 0s);
}
.pipe-journey__rail .pipe-journey__step:nth-of-type(1) { --pipe-step-delay:  0s; }
.pipe-journey__rail .pipe-journey__step:nth-of-type(3) { --pipe-step-delay: -4s; } /* arrows shift index */
/* In current HTML the steps are 1,3,5,7,9,11 children (alternating with arrows).
   nth-of-type counts same-tag siblings — so 1..6 maps cleanly: */
.pipe-journey__step:nth-of-type(1) { --pipe-step-delay:  0s; }
.pipe-journey__step:nth-of-type(2) { --pipe-step-delay: -4s; }
.pipe-journey__step:nth-of-type(3) { --pipe-step-delay: -8s; }
.pipe-journey__step:nth-of-type(4) { --pipe-step-delay: -12s; }
.pipe-journey__step:nth-of-type(5) { --pipe-step-delay: -16s; }
.pipe-journey__step:nth-of-type(6) { --pipe-step-delay: -20s; }

@keyframes pipeStepIdle {
  /* idle for most of the cycle, brief premium glow during own 4s slot */
  0%, 100%         { box-shadow: none; border-color: rgba(255,255,255,0.07); }
  0.5%             { border-color: rgba(220, 0, 24, 0.45); box-shadow: 0 0 0 1px rgba(220, 0, 24, 0.35), 0 0 28px rgba(220, 0, 24, 0.22); }
  6%               { border-color: rgba(220, 0, 24, 0.55); box-shadow: 0 0 0 1px rgba(220, 0, 24, 0.42), 0 0 36px rgba(220, 0, 24, 0.32); }
  12%              { border-color: rgba(220, 0, 24, 0.40); box-shadow: 0 0 0 1px rgba(220, 0, 24, 0.30), 0 0 24px rgba(220, 0, 24, 0.18); }
  16.667%, 100%    { border-color: rgba(255,255,255,0.07); box-shadow: none; }
}
/* Hovering pauses the auto-cycle for that step (so the tooltip reads cleanly) */
.pipe-journey__step:hover { animation-play-state: paused; }

/* Mobile: vertical journey, stronger connecting line */
@media (max-width: 768px) {
  .pipe-journey__rail {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 14px;
    gap: 0;
    overflow: visible;
  }
  .pipe-journey__step {
    min-width: 0;
    flex: 0 0 auto;
    padding: 12px 14px 12px 38px;
    margin: 0 0 4px;
  }
  .pipe-journey__step::before {
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
  }
  /* stronger gradient connector line behind dots */
  .pipe-journey__rail::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 32px;
    bottom: 32px;
    width: 2px;
    background: linear-gradient(180deg,
      rgba(168,178,200,0.55) 0%,
      rgba(250,204,21,0.55) 20%,
      rgba(251,113,133,0.55) 40%,
      rgba(251,146,60,0.55) 60%,
      rgba(239,68,68,0.55)  80%,
      rgba(5,150,105,0.55)  100%);
    opacity: 0.55;
    pointer-events: none;
    border-radius: 2px;
    z-index: 0;
  }
  .pipe-journey { position: relative; }
  .pipe-journey__rail { position: relative; }
  .pipe-journey__step { position: relative; z-index: 1; }

  .pipe-journey__num {
    padding-left: 0;
    font-size: 9px;
    letter-spacing: 0.14em;
  }
  .pipe-journey__label {
    font-size: 14px;
  }
  .pipe-journey__arrow {
    font-size: 0;
    padding: 0;
    align-self: center;
    color: rgba(255, 255, 255, 0.28);
    margin: -2px 0;
  }
  .pipe-journey__arrow::after { content: '\2193'; font-size: 14px; }
  /* On mobile the tooltip would overflow — render inline below the label */
  .pipe-journey__step::after {
    position: static;
    transform: none;
    opacity: 0.7;
    padding: 4px 0 0 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    white-space: normal;
    line-height: 1.4;
  }
  .pipe-journey__step:hover::after,
  .pipe-journey__step:focus-visible::after {
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
   3) Pipe stage — fix bottom cut-off, generous spacing, chip backdrops
--------------------------------------------------------------------------- */
.pipe-stage {
  margin-top: clamp(24px, 3vw, 36px) !important;
  padding-bottom: 0;
  position: relative;
}

/* Desktop: keep WebGL alive, polish chip floats */
@media (min-width: 769px) {
  .pipe-stage .pipe-flow-static { display: none; }

  /* Top chip — centered with breathing space */
  .pipe-stage .pipe-stage__top {
    display: flex;
    justify-content: center;
    padding: 18px 24px 0 !important;
  }
  .pipe-stage .pipe-stage__live {
    padding: 8px 16px !important;
    background: rgba(8, 8, 12, 0.55) !important;
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 12px 28px rgba(0, 0, 0, 0.35);
  }

  /* Bottom chips — float with blur backdrop */
  .pipe-stage .pipe-stage__bot {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 24px 18px !important;
  }
  .pipe-stage .pipe-stage__chip {
    background: rgba(8, 8, 12, 0.55) !important;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 8px 22px rgba(0, 0, 0, 0.30);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, background-color 0.25s;
  }
  .pipe-stage .pipe-stage__chip:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18) !important;
  }
  .pipe-stage .pipe-stage__chip--accent {
    background: rgba(220, 0, 24, 0.18) !important;
    border-color: rgba(220, 0, 24, 0.45) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.10),
      0 10px 26px rgba(220, 0, 24, 0.22);
  }
}

/* Mobile: hide heavy WebGL, show static flow */
@media (max-width: 768px) {
  .pipe-stage {
    aspect-ratio: auto !important;
    min-height: auto !important;
    padding: 18px 12px 20px;
    border-radius: 22px;
  }
  .pipe-stage #network-3d { display: none !important; }
  .pipe-stage .pipe-stage__top { position: static; padding: 0; margin-bottom: 14px; }
  .pipe-stage .pipe-stage__bot { position: static; padding: 0; margin-top: 14px; }
}

/* ---------------------------------------------------------------------------
   4) Static Pipeline Flow — mobile-only animated vertical journey
      Smoother stagger, layer pulse on dot-pass, sophisticated emerald terminal
--------------------------------------------------------------------------- */
.pipe-flow-static {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
}
@media (max-width: 768px) {
  .pipe-flow-static { display: flex; }
}

.pipe-flow__layer {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 0;
}

/* Vertical connector line */
.pipe-flow__layer::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 50%;
  bottom: -2px;
  width: 2px;
  background: linear-gradient(180deg, var(--c, rgba(255,255,255,0.18)) 0%, rgba(255,255,255,0.04) 100%);
  z-index: 0;
}
.pipe-flow__layer:last-child::before { display: none; }

/* Number circle — pulses when the flowing dot passes (synced via animation-delay) */
.pipe-flow__num {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: grid;
  place-items: center;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--c, white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.25),
    0 0 0 2px color-mix(in srgb, var(--c, white) 14%, transparent);
  animation: pipeFlowNumPulse 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: var(--d, 0s);
  will-change: transform, box-shadow;
}
@keyframes pipeFlowNumPulse {
  0%, 6%, 100% {
    transform: scale(1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 4px 12px rgba(0, 0, 0, 0.25),
      0 0 0 2px color-mix(in srgb, var(--c, white) 14%, transparent);
  }
  /* dot arrives at this layer around 8% of its own delay-offset cycle */
  8% {
    transform: scale(1.08);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.10),
      0 4px 12px rgba(0, 0, 0, 0.25),
      0 0 0 3px color-mix(in srgb, var(--c, white) 35%, transparent),
      0 0 22px color-mix(in srgb, var(--c, white) 45%, transparent);
  }
  14% {
    transform: scale(1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 4px 12px rgba(0, 0, 0, 0.25),
      0 0 0 2px color-mix(in srgb, var(--c, white) 14%, transparent);
  }
}

.pipe-flow__body {
  min-width: 0;
}
.pipe-flow__title {
  font-family: var(--font-display, sans-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: white;
  display: block;
  line-height: 1.2;
}
.pipe-flow__channels {
  margin-top: 3px;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
  text-wrap: pretty;
}

/* KPI pill on the right — softened toward descriptor copy.
   HTML currently has "1.2k / Mo", "247 Leads", etc.
   New visual treatment: smaller, more muted, less "metric" looking. */
.pipe-flow__kpi {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--c-bg, rgba(255,255,255,0.04));
  border: 1px solid var(--c-border, rgba(255,255,255,0.10));
  color: var(--c-fg, rgba(255,255,255,0.72));
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* Color tinting per layer */
.pipe-flow__layer[data-color="visitors"] { --c: var(--pipe-c-visitors); }
.pipe-flow__layer[data-color="leads"]    { --c: var(--pipe-c-leads); }
.pipe-flow__layer[data-color="qual"]     { --c: var(--pipe-c-qual); }
.pipe-flow__layer[data-color="auto"]     { --c: var(--pipe-c-auto); }
.pipe-flow__layer[data-color="opp"]      { --c: var(--pipe-c-opp); }
.pipe-flow__layer[data-color="sales"]    { --c: #ef4444; }
.pipe-flow__layer[data-color="won"]      { --c: var(--pipe-c-emerald); }

/* Flowing-dot animation — extended to 8s with graceful stagger */
.pipe-flow__layer::after {
  content: '';
  position: absolute;
  left: 19.5px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--c, white);
  box-shadow:
    0 0 12px var(--c, white),
    0 0 4px var(--c, white);
  opacity: 0;
  animation: pipeFlowDot 8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  animation-delay: var(--d, 0s);
  will-change: transform, opacity;
  z-index: 2;
}
.pipe-flow__layer:nth-child(1) { --d: 0s; }
.pipe-flow__layer:nth-child(2) { --d: 1.05s; }
.pipe-flow__layer:nth-child(3) { --d: 2.10s; }
.pipe-flow__layer:nth-child(4) { --d: 3.15s; }
.pipe-flow__layer:nth-child(5) { --d: 4.20s; }
.pipe-flow__layer:nth-child(6) { --d: 5.25s; }
.pipe-flow__layer:nth-child(7) { --d: 6.30s; }
.pipe-flow__layer:last-child::after { display: none; }

@keyframes pipeFlowDot {
  0%       { opacity: 0; transform: translateY(0)    scale(0.85); }
  6%       { opacity: 1; transform: translateY(4px)  scale(1); }
  40%      { opacity: 1; transform: translateY(50px) scale(1); }
  48%      { opacity: 0; transform: translateY(64px) scale(0.85); }
  100%     { opacity: 0; transform: translateY(64px) scale(0.85); }
}

/* Sophisticated emerald terminal pill — less neon, more depth */
.pipe-flow__terminal {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(5,150,105,0.18) 0%, rgba(5,150,105,0.06) 60%, rgba(5,150,105,0.02) 100%);
  border: 1px solid rgba(5, 150, 105, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(5, 150, 105, 0.10),
    0 10px 30px rgba(5, 150, 105, 0.14);
  position: relative;
  overflow: hidden;
}
/* subtle inner sheen, GPU-only */
.pipe-flow__terminal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(255,255,255,0.05), transparent 55%);
  pointer-events: none;
}
.pipe-flow__terminal__icon {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pipe-c-emerald) 0%, #047857 100%);
  color: #f0fdf4;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 12px rgba(5, 150, 105, 0.45);
  flex-shrink: 0;
}
.pipe-flow__terminal__icon svg { display: block; }
.pipe-flow__terminal__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pipe-flow__terminal__text strong {
  font-family: var(--font-display, sans-serif);
  font-size: 14.5px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.01em;
}
.pipe-flow__terminal__text span {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(110, 231, 183, 0.78);
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   5) Top + bottom stat chips — mobile stacking
--------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .pipe-stage__top,
  .pipe-stage__bot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .pipe-stage__live,
  .pipe-stage__chip {
    font-size: 9.5px !important;
    padding: 6px 11px !important;
    letter-spacing: 0.10em !important;
  }
}

/* ---------------------------------------------------------------------------
   6) Process cards — tighter, more present number, breakpoint grids
--------------------------------------------------------------------------- */
/* Default — make 01..05 numerals presence */
.pipe-card {
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.pipe-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(220, 0, 24, 0.32) !important;
  background:
    linear-gradient(135deg, rgba(220, 0, 24, 0.05), rgba(255, 255, 255, 0.02)) !important;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(220, 0, 24, 0.10);
}
.pipe-card__num {
  font-family: var(--font-mono, monospace) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
}
.pipe-card:hover .pipe-card__num {
  color: white !important;
}

/* Tablet 768–1023 → 3 + 2 grid (cleaner than 2+2+1) */
@media (min-width: 769px) and (max-width: 1023px) {
  .pipe-process {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 12px !important;
  }
  .pipe-process .pipe-card:nth-child(1) { grid-column: span 2; }
  .pipe-process .pipe-card:nth-child(2) { grid-column: span 2; }
  .pipe-process .pipe-card:nth-child(3) { grid-column: span 2; }
  .pipe-process .pipe-card:nth-child(4) { grid-column: span 3; }
  .pipe-process .pipe-card:nth-child(5) { grid-column: span 3; }
}

/* Mobile → 1-col stack */
@media (max-width: 768px) {
  .pipe-process {
    margin-top: clamp(24px, 4vw, 36px) !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .pipe-card {
    padding: 16px 18px !important;
    border-radius: 16px !important;
  }
  .pipe-card__head {
    margin-bottom: 6px;
  }
  .pipe-card__num {
    font-size: 20px !important;
  }
  .pipe-card__title {
    font-size: 15.5px !important;
  }
  .pipe-card__sub {
    font-size: 11px !important;
    line-height: 1.5 !important;
  }
  /* Soften hover on touch (no big lift) */
  .pipe-card:hover {
    transform: none;
  }
}

/* Desktop polish — keep existing 5-col, tighten gap */
@media (min-width: 1024px) {
  .pipe-process {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
  .pipe-card__num {
    font-size: 24px !important;
  }
}

/* ---------------------------------------------------------------------------
   7) Big metrics row — typography & spacing polish
      NOTE: actual value/label text is in HTML. CSS handles either numerals
      or descriptor copy ("Stabiler", "Voll", "Spürbar", "Mehrfach").
--------------------------------------------------------------------------- */
.big-metrics {
  /* slightly tighter rhythm than default */
  margin-top: clamp(24px, 4vw, 40px) !important;
}
.big-metric {
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    background-color 0.25s ease;
}
.big-metric:hover {
  transform: translateY(-2px);
}
.big-metric__value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em !important;
  line-height: 1.05 !important;
  /* Works for short numerals (39) and longer descriptors (Stabiler) */
  font-feature-settings: "tnum" 1, "ss01" 1;
}
.big-metric__label {
  /* Slightly more breathing under the value */
  margin-top: 8px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.08em !important;
}

/* Mobile — 2-col grid, comfortable padding */
@media (max-width: 480px) {
  .big-metrics {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .big-metric {
    padding: 14px 12px !important;
  }
  .big-metric__value { font-size: clamp(22px, 6vw, 28px) !important; }
  .big-metric__label { font-size: 9px !important; }
}

/* ---------------------------------------------------------------------------
   8) Reduced motion — kill all decorative animations cleanly
--------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  #network .stage__eyebrow::before,
  #network .stage__blob--red,
  .pipe-flow__layer::after,
  .pipe-flow__num,
  .pipe-journey__step {
    animation: none !important;
  }
  .pipe-flow__layer::after { opacity: 0 !important; }
  .pipe-journey__step,
  .pipe-card,
  .big-metric,
  .pipe-stage__chip {
    transition: none !important;
  }
  .pipe-journey__step:hover,
  .pipe-card:hover,
  .big-metric:hover,
  .pipe-stage__chip:hover {
    transform: none !important;
  }
}

/* ============================================================================
   9) HIGH-END LIVE-PIPELINE CENTERPIECE
   Replaces the broken WebGL + overlapping labels with a premium CSS-only
   animated network visualization: central Growth-OS hub + 6 channel nodes
   + SVG-animated flow lines + descriptor chips.
   ============================================================================ */

/* Hide the broken WebGL container + its absolute-positioned overlapping labels
   on this section so the new centerpiece can breathe. */
#network .pipe-stage #network-3d,
#network .pipe-stage .net3d-label,
#network .pipe-stage .net3d-layer,
#network .pipe-stage .net3d-labels {
  display: none !important;
}

.pipe-centerpiece {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: clamp(20px, 3vw, 32px) auto 0;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 60px);
  aspect-ratio: 16 / 9;
  min-height: 360px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(220, 0, 24, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 77, 106, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(8, 8, 12, 0.65) 0%, rgba(20, 22, 31, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(220, 0, 24, 0.08);
  overflow: hidden;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Subtle grid backdrop */
.pipe-centerpiece__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* SVG lines container */
.pipe-centerpiece__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(220, 0, 24, 0.18));
}
.pipe-centerpiece__line {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: pipeLineDraw 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.pipe-centerpiece__line:nth-child(2) { animation-delay: 0.4s; }
.pipe-centerpiece__line:nth-child(3) { animation-delay: 0.6s; }
.pipe-centerpiece__line:nth-child(4) { animation-delay: 0.5s; }
.pipe-centerpiece__line:nth-child(5) { animation-delay: 0.7s; }
.pipe-centerpiece__line:nth-child(6) { animation-delay: 0.9s; }
@keyframes pipeLineDraw {
  to { stroke-dashoffset: 0; }
}

/* Channel nodes */
.pipe-node {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: pipeNodeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s;
  white-space: nowrap;
}
.pipe-node:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.22);
}
@keyframes pipeNodeIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.pipe-node__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--c, #fff);
  box-shadow: 0 0 12px var(--c, #fff), 0 0 0 2px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

/* Node positions: 3 left (10%), 3 right (90%), distributed at 20% / 50% / 80% Y */
.pipe-node--tl { top: 14%; left: 4%; animation-delay: 0.30s; }
.pipe-node--ml { top: 50%; left: 4%; transform: translateY(-50%); animation-delay: 0.50s; }
.pipe-node--bl { top: 86%; left: 4%; transform: translateY(-100%); animation-delay: 0.70s; }
.pipe-node--tr { top: 14%; right: 4%; animation-delay: 0.40s; }
.pipe-node--mr { top: 50%; right: 4%; transform: translateY(-50%); animation-delay: 0.60s; }
.pipe-node--br { top: 86%; right: 4%; transform: translateY(-100%); animation-delay: 0.80s; }

/* Translate-correction so animation respects the Y-translate */
.pipe-node--ml:hover { transform: translateY(-50%) scale(1.05); }
.pipe-node--bl:hover { transform: translateY(-100%) scale(1.05); }
.pipe-node--mr:hover { transform: translateY(-50%) scale(1.05); }
.pipe-node--br:hover { transform: translateY(-100%) scale(1.05); }

/* CENTRAL HUB */
.pipe-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: clamp(160px, 18vw, 200px);
  height: clamp(160px, 18vw, 200px);
}
.pipe-hub__ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(220, 0, 24, 0.32);
  animation: pipeHubRing 3.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}
.pipe-hub__ring--1 { animation-delay: 0s; }
.pipe-hub__ring--2 { animation-delay: 1.6s; }
@keyframes pipeHubRing {
  0%   { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}
.pipe-hub__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(120px, 14vw, 150px);
  height: clamp(120px, 14vw, 150px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #ff6680 0%, #DC0018 55%, #b30014 100%);
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.25),
    inset 0 -8px 20px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(220, 0, 24, 0.55),
    0 0 0 4px rgba(220, 0, 24, 0.12),
    0 18px 40px rgba(220, 0, 24, 0.35);
  isolation: isolate;
}
.pipe-hub__core::before {
  content: '';
  position: absolute;
  inset: -25%;
  border-radius: 999px;
  background: conic-gradient(
    from 0deg,
    rgba(255, 200, 210, 0) 0%,
    rgba(255, 200, 210, 0.45) 25%,
    rgba(255, 102, 128, 0) 50%,
    rgba(255, 200, 210, 0.4) 75%,
    rgba(255, 200, 210, 0) 100%
  );
  filter: blur(8px);
  z-index: -1;
  animation: pipeHubSwirl 14s linear infinite;
  pointer-events: none;
}
@keyframes pipeHubSwirl {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.pipe-hub__label {
  display: block;
  font-family: var(--font-display, sans-serif);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}
.pipe-hub__sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  z-index: 1;
}
.pipe-hub__pulse {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.85);
  animation: pipeHubCorePulse 1.6s ease-in-out infinite;
}
@keyframes pipeHubCorePulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.45; transform: translateX(-50%) scale(0.7); }
}

/* Live status pill (top-left) */
.pipe-centerpiece__live {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  background: rgba(220, 0, 24, 0.14);
  border: 1px solid rgba(220, 0, 24, 0.35);
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffb4ba;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(220, 0, 24, 0.22);
}
.pipe-centerpiece__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff4d6a;
  box-shadow: 0 0 0 3px rgba(220, 0, 24, 0.30), 0 0 12px #ff4d6a;
  animation: pipeLiveDot 1.5s ease-in-out infinite;
}
@keyframes pipeLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* Throughput chips (bottom-right) */
.pipe-centerpiece__chips {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 5;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 70%;
}
.pipe-centerpiece__chip {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: right;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.30);
}
.pipe-centerpiece__chip-label {
  font-family: var(--font-mono, monospace);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
}
.pipe-centerpiece__chip-val {
  font-family: var(--font-display, sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: white;
  white-space: nowrap;
}
.pipe-centerpiece__chip--accent {
  background: linear-gradient(135deg, rgba(220, 0, 24, 0.28), rgba(220, 0, 24, 0.10));
  border-color: rgba(220, 0, 24, 0.45);
  box-shadow: 0 8px 20px rgba(220, 0, 24, 0.22);
}
.pipe-centerpiece__chip--accent .pipe-centerpiece__chip-val {
  color: #ffb4ba;
}

/* ---------------------------------------------------------------------------
   MOBILE: centerpiece hidden (the .pipe-flow-static handles mobile flow nicely)
--------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .pipe-centerpiece { display: none; }
}

/* ---------------------------------------------------------------------------
   Reduced motion: kill animations
--------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pipe-centerpiece__line { animation: none; stroke-dashoffset: 0; }
  .pipe-centerpiece__lines circle { animation: none !important; opacity: 0 !important; }
  .pipe-node { animation: none; opacity: 1; }
  .pipe-hub__ring,
  .pipe-hub__core::before,
  .pipe-hub__pulse,
  .pipe-centerpiece__live-dot { animation: none; }
}

/* ============================================================================
   10) PREMIUM FUNNEL — high-end SVG funnel with live stream + stage cards
   "So wird aus jedem Besucher echter Umsatz"
   ============================================================================ */
.funnel-premium {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1140px;
  margin: clamp(28px, 4vw, 48px) auto 0;
  align-items: stretch;
}
@media (min-width: 880px) {
  .funnel-premium { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; }
}

/* LEFT: Funnel viz card */
.funnel-premium__viz {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(220, 0, 24, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, rgba(8, 8, 12, 0.85) 0%, rgba(20, 22, 31, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(220, 0, 24, 0.10);
  overflow: hidden;
}
.funnel-premium__viz-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 460px;
  max-height: 620px;
}

/* Subtle grid backdrop */
.funnel-premium__backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  pointer-events: none;
}

/* Live status badge (top-right of viz) */
.funnel-premium__status {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(220, 0, 24, 0.14);
  border: 1px solid rgba(220, 0, 24, 0.34);
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffb4ba;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3;
}
.funnel-premium__status-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #ff4d6a;
  box-shadow: 0 0 8px rgba(255, 77, 106, 0.7);
  animation: funnelLiveDot 1.5s ease-in-out infinite;
}
@keyframes funnelLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* The SVG funnel itself */
.funnel-premium__svg {
  position: absolute;
  inset: 20px 0 0 0;
  width: 100%;
  height: calc(100% - 20px);
  z-index: 2;
}

/* Stage labels positioned over the funnel */
.funnel-premium__label {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.funnel-premium__label-num {
  font-family: var(--font-mono, monospace);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
}
.funnel-premium__label-text {
  font-family: var(--font-display, sans-serif);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: white;
}
.funnel-premium__label--1 { top: 8%;  left: 6%;  }
.funnel-premium__label--2 { top: 42%; right: 6%; }
.funnel-premium__label--3 { bottom: 12%; left: 8%; }

/* RIGHT: Stage breakdown cards */
.funnel-premium__stages {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.funnel-premium__stage {
  position: relative;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.30);
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s,
    box-shadow 0.32s;
}
.funnel-premium__stage::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}
.funnel-premium__stage:hover {
  transform: translateY(-3px);
  border-color: rgba(220, 0, 24, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.40),
    0 0 28px rgba(220, 0, 24, 0.12);
}
.funnel-premium__stage-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.funnel-premium__stage-num {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.20em;
  color: rgba(255, 255, 255, 0.50);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.funnel-premium__stage-icon {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(220, 0, 24, 0.10);
  color: #ff8a98;
  display: grid;
  place-items: center;
  border: 1px solid rgba(220, 0, 24, 0.20);
}
.funnel-premium__stage-title {
  font-family: var(--font-display, sans-serif);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 800;
  letter-spacing: -0.018em;
  color: white;
  line-height: 1.15;
  margin: 0 0 8px;
}
.funnel-premium__stage-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.funnel-premium__stage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.funnel-premium__stage-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}

/* Accent stage (closing) */
.funnel-premium__stage--accent {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.10) 0%, rgba(16, 185, 129, 0.03) 100%);
  border-color: rgba(16, 185, 129, 0.28);
}
.funnel-premium__stage--accent .funnel-premium__stage-icon {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.34);
}
.funnel-premium__stage--accent .funnel-premium__stage-chip {
  background: rgba(16, 185, 129, 0.10);
  border-color: rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
}
.funnel-premium__stage--accent:hover {
  border-color: rgba(16, 185, 129, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.40),
    0 0 28px rgba(16, 185, 129, 0.18);
}

/* Footer note */
.funnel-premium__foot {
  text-align: center;
  margin-top: 26px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
}

/* Hide old WebGL funnel-3d on this section completely (replaced by SVG) */
#funnel #funnel-3d,
#funnel .webgl-stage,
#funnel .hm-funnel-css,
#funnel .hm-kpi-row {
  display: none !important;
}

/* Reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .funnel-premium__status-dot { animation: none; }
  .funnel-premium__svg circle { animation: none !important; opacity: 0 !important; }
  .funnel-premium__stage { transition: none; }
}
