.blurryfade span {
  opacity: calc(1 - var(--i) / var(--total) * 0.75);
  filter: blur(calc(var(--i) / var(--total) * 2px));
  transition: opacity 0.3s, filter 0.3s;
}

/* === ANIMATIONS === */

.word {
  display: inline-block;
  opacity: 0;
}

.tile-light {
  --mouse-x: 50%;
  --mouse-y: 50%;
  background: radial-gradient(
    circle at var(--mouse-x) var(--mouse-y),
    var(--hue-3, #8f4d9077) 0%,
    transparent 80%
  );
}
.anim__opacity-words .scroll-word {
  
  opacity: 0;
}

/* === SCROLL ANIM - CARDS === */

/* Gesamte Scroll-Strecke — Höhe wird per JS gesetzt */
.sec-scrollanim__cards {
    position: relative;
}

/* Sticky-Wrapper: nimmt immer 100vh ein und bleibt kleben */
.cards-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Stack-Container: alle Karten übereinander */
.cards-stack {
    position: relative;

}

/* Jede Karte liegt absolut im Stack */
.card {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    will-change: transform;
    transform-origin: center top;
    /* Startzustand: unsichtbar unterhalb */
    transform: translateY(110%) scale(1.1);
    opacity: 0;
}

   .particles {
      position: relative;
      overflow: hidden;
    }

    .particles canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }