* { box-sizing: border-box; }
  body { margin: 0; font-family: sans-serif; background: #000; color: #fff; }

/* Platzhalter-Sektionen vor/nach der Animation, damit man das Einscrollen sieht */
.content {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dieser Bereich bestimmt die SCROLL-LÄNGE der Animation.
    400vh = man muss 4x Bildschirmhöhe scrollen, bis die Sequenz durchgelaufen ist.
    Größer = langsamerer Ablauf, kleiner = schneller. */
.scroll-section {
    height: 400vh;
    position: relative;
}

/* Das eigentliche Canvas bleibt beim Scrollen fixiert (sticky),
    solange man sich innerhalb von .scroll-section befindet. */
.sticky-wrap {
position: sticky;
top: 0;
height: 100vh;
overflow: hidden;
}

canvas {
width: 100%;
height: 100%;
display: block;
}

.seq-text {
  position: absolute;
  z-index: 2;
  margin: 0;
  max-width: min(36rem, 80vw);
  color: #fff;
  line-height: 1.15;
  visibility: hidden; /* wird per JS eingeblendet, sobald der Text aufgeteilt ist */
  pointer-events: none;
}
.txt-black{
    color: #000 !important;
}

h2.seq-text { font-size: clamp(1.75rem, 4vw, 3.5rem); }
p.seq-text  { font-size: clamp(1rem, 1.6vw, 1.35rem); }

.pos-top-left     { top: 12%;    left: 6%; }
.pos-top-right    { top: 12%;    right: 6%; text-align: right; }
.pos-top-center   { top: 12%; left:50%; transform: translateX(-50%);}
.pos-toptop-center {top: 6%; left: 50%; transform: translateX(-50%); white-space: nowrap !important; max-width: unset !important;}
.pos-bottom-left  { bottom: 12%; left: 6%; }
.pos-bottom-right { bottom: 12%; right: 6%; text-align: right; }
.pos-center       { top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.pos-center-left { bottom: 12%; left: 2%; font-size: clamp(1.5rem, 4vw, 3rem);}
.pos-center-right { top: 50%; transform: translateY(-50%); left: auto;  right: 6%;}

h3.seq-text{
    font-size: 2rem !important;
}

.spuelmaschine-text{
    width: 20% !important;
}