/* ==========================================================================
   biteme.digital . leistungen/enablement.css (WP-E4)
   Seiten-CSS fuer leistungen/enablement.html. Motiv: Lernpfad / Skill-Netz.
   Konventioneller Flow (kein data-flow="ascent"): Seite startet tief
   (midnight, -600 m) und hellt zum Final-CTA hin auf (twilight). Kein
   Breach. Level-Up-Mikrointeraktionen als dezente Caribbean-Hover-Glows,
   Eleganz vor Verspieltheit (Guide §1.12 / §6).
   Nur transform/opacity animiert. Initial-States fuer Inhalte setzt die
   Engine via JS; ohne JS bleibt die Seite voll lesbar.
   ========================================================================== */

body { --zone-bg: var(--zone-midnight); }

/* Zonen-Hintergrund-Layer unter dem Fisch (z:0). Die Engine faerbt ihn,
   die Startfarbe kommt aus --zone-bg, damit beim Laden nichts blitzt. */
.zone-bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--zone-bg, var(--bg-deep));
}

/* --------------------------------------------------------------------------
   1. HERO
   -------------------------------------------------------------------------- */
.enb-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding-block: clamp(7rem, 16vh, 11rem) var(--section-pad);
  overflow: hidden;
}
.enb-hero__inner { position: relative; z-index: 1; max-width: 54rem; }
.enb-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-kicker);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-caribbean);
}
.enb-back svg { transition: transform var(--t-fast) ease; }
.enb-back:hover svg { transform: translateX(-3px); }
.enb-hero h1 { font-size: var(--fs-display); }
.enb-hero__sub { margin-top: 1.5rem; max-width: 40rem; }

/* Hero-Konstellation: dezentes Skill-Netz im Hintergrund (Tiefen-Deko) */
.enb-constellation {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.enb-constellation svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.enb-constellation line { stroke: var(--accent-caribbean); stroke-width: 0.6; opacity: 0.16; }
.enb-constellation circle { fill: var(--accent-caribbean); opacity: 0.5; }
.enb-constellation circle.glint { animation: enb-glint 4.5s ease-in-out infinite; }
.enb-constellation circle.glint:nth-of-type(2) { animation-delay: -1.2s; }
.enb-constellation circle.glint:nth-of-type(3) { animation-delay: -2.6s; }
.enb-constellation circle.glint:nth-of-type(4) { animation-delay: -3.4s; }
@keyframes enb-glint {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.9; }
}

/* --------------------------------------------------------------------------
   2. AUSLOESER-KARTEN
   -------------------------------------------------------------------------- */
.enb-triggers .grid-2 { gap: 1.25rem; }
.trigger-card { display: flex; flex-direction: column; gap: 0.85rem; }
.trigger-card__lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  line-height: 1.32;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   3. LERNPFAD . Skill-Netz + Fuenf Bausteine
   -------------------------------------------------------------------------- */
.enb-path__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .enb-path__grid { grid-template-columns: 320px 1fr; align-items: start; }
}

/* Skill-Netz: Knoten verbinden sich beim Scrollen (line-draw), Knoten
   leuchten nacheinander auf (Stagger via CSS-Delays). */
.enb-net { position: relative; }
@media (min-width: 900px) { .enb-net { position: sticky; top: 96px; } }
.enb-net svg { width: 100%; height: auto; overflow: visible; }
.enb-net .net-link { stroke: var(--accent-caribbean); stroke-width: 1.4; fill: none; opacity: 0.5; }
.enb-net .net-ring { fill: var(--bg-elevated); stroke: var(--accent-caribbean); stroke-width: 1.6; }
.enb-net .net-core {
  fill: var(--accent-caribbean);
  transform-box: fill-box;
  transform-origin: center;
  animation: enb-node 3.4s ease-in-out infinite;
}
.enb-net .net-core:nth-of-type(2) { animation-delay: 0.4s; }
.enb-net .net-core:nth-of-type(3) { animation-delay: 0.8s; }
.enb-net .net-core:nth-of-type(4) { animation-delay: 1.2s; }
.enb-net .net-core:nth-of-type(5) { animation-delay: 1.6s; }
.enb-net .net-label {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--text-muted);
  letter-spacing: 0.06em;
}
@keyframes enb-node {
  0%, 100% { opacity: 0.55; filter: drop-shadow(0 0 0 rgba(160, 239, 255, 0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 6px rgba(160, 239, 255, 0.85)); }
}

.enb-bausteine { display: flex; flex-direction: column; }
.baustein {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem 1.25rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--border-subtle);
  transition: border-color var(--t-med) ease;
}
.baustein:first-child { border-top: none; }
.baustein:hover { border-color: var(--caribbean-25, rgba(160, 239, 255, 0.25)); }
.baustein__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-caribbean);
  padding-top: 0.2rem;
}
.baustein__body h3 { font-size: 1.25rem; }
.baustein__body p { margin-top: 0.5rem; color: var(--text-muted); }
.baustein__format {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--accent-caribbean);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   4. ENABLEMENT-GAME . eigenes Produkt, farblich abgesetzt
   -------------------------------------------------------------------------- */
.enb-game__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--caribbean-25, rgba(160, 239, 255, 0.25));
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(74, 36, 120, 0.55), transparent 60%),
    linear-gradient(160deg, rgba(28, 34, 54, 0.9), rgba(10, 14, 26, 0.92));
  padding: clamp(1.75rem, 5vw, 3.25rem);
}
.enb-game__card::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(160, 239, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.enb-game__head { position: relative; z-index: 1; max-width: 44rem; }
.enb-game__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-jellofish);
}
.enb-game__card h2 { font-size: clamp(2rem, 4vw, 3rem); }
.enb-game__sub { margin-top: 1rem; font-size: 1.18rem; color: var(--text-primary); }
.enb-game__lists {
  position: relative;
  z-index: 1;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .enb-game__lists { grid-template-columns: 1fr 1fr; } }
.game-list h3 {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.game-list ul { display: flex; flex-direction: column; gap: 0.85rem; }
.game-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.game-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-caribbean);
  box-shadow: 0 0 8px rgba(160, 239, 255, 0.5);
}
.game-list li strong { color: var(--text-primary); font-weight: 600; }
.enb-game__foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.enb-game__status {
  flex: 1 1 16rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.enb-game__status strong { color: var(--text-primary); font-weight: 500; }
.enb-game__alt { font-size: 0.9rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   5. VOLUMEN . ueber 100 Workshops
   -------------------------------------------------------------------------- */
.enb-volume { text-align: center; }
.enb-volume .section-head { max-width: 46rem; margin-inline: auto; }
.enb-volume__sub { margin-top: 1.25rem; max-width: 52rem; margin-inline: auto; }
.enb-volume .stream-band { margin-block: clamp(2.5rem, 6vh, 4rem); }
.enb-volume__cta { margin-top: 0.5rem; display: inline-flex; }

/* --------------------------------------------------------------------------
   6. FINAL CTA (twilight-Aufhellung, kein Breach)
   -------------------------------------------------------------------------- */
.enb-final {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.enb-final__inner { position: relative; z-index: 1; max-width: 46rem; margin-inline: auto; }
.enb-final h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.enb-final__sub { margin-top: 1.25rem; }
.enb-final__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}
.enb-final__alt { margin-top: 1.25rem; font-size: 0.9rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Reduced Motion: keine Knoten-Pulse, keine Glints
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .enb-net .net-core,
  .enb-constellation circle.glint { animation: none; opacity: 0.8; }
}
