/* particle-wave — Modul-Styles (alles gescoped unter .ms-particle-wave) */

.ms-particle-wave {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  touch-action: none;
}

/* Foto-Ebene (Hintergrundbild aus dem background-Feld) */
.ms-particle-wave .msw-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 0;
}
.ms-particle-wave .msw-photo.is-on { opacity: 1; }

/* Overlay-Scrim ueber dem Foto */
.ms-particle-wave .msw-overlay {
  position: absolute;
  inset: 0;
  background: var(--msw-overlay-color, #06060a);
  opacity: var(--msw-overlay-opacity, 0);
  z-index: 1;
  pointer-events: none;
}

/* WebGL-Buehne */
.ms-particle-wave .msw-gl {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.ms-particle-wave .msw-gl canvas {
  display: block;
  width: 100%;
  height: 100%;
}
