fix: Intro-Sequenz – 5 Bugs behoben (Atmen, Preis-Versatz, Landung-Sprung, Topbar, Script-Tag)

- Fotos erhalten in start() ihre Initial-Position aus data-Attributen,
  damit die Atmen-Phase (0–2 s) die Bilder schon korrekt verteilt zeigt
- #preis, #konfetti und #landung-verlauf aus flug-buehne herausgezogen
  (direkte Kinder von flug-strecke), sodass der Sinkflug-Offset der Bühne
  den Preis-Moment nicht mehr um 190 px verschiebt
- z-index-Staffelung für buehne (1), preis (2), konfetti (3) ergänzt
- Landung-Phase startet lerp bei 190 (Sinkflug-Endwert) statt 0,
  kein sichtbarer Positions-Sprung mehr bei t=30 s
- Topbar .landen-Animation in beenden() neu ausgelöst, erscheint
  nach Intro mit Einblend-Animation statt abrupt zu erscheinen
- Kaputtes & zwischen smooth-scroll.js und transitions.js entfernt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Leon TonhäuserandClaude Sonnet 4.6 committed 2026-06-18 00:23:37 +02:00
1 parent 68a21f69bf
commit f188feca1d
3 files changed
+31 -19

No files matched your search

+3 -3
View File
@@ -7,7 +7,7 @@
.flug-strecke { height: 100vh; position: relative; overflow: hidden; }
.flug-buehne {
position: absolute; inset: 0;
overflow: hidden;
overflow: hidden; z-index: 1;
perspective: 800px; perspective-origin: 50% 50%;
background: var(--bg);
}
@@ -65,7 +65,7 @@
/* ==================== PREIS-MOMENT (Gold nur hier – Akzent) ==================== */
.preis {
position: absolute; inset: 0;
position: absolute; inset: 0; z-index: 2;
display: flex; flex-direction: column;
align-items: center; justify-content: center;
opacity: 0; will-change: opacity, transform; pointer-events: none;
@@ -119,7 +119,7 @@
.preis-text .rieseln:nth-child(8) { left: 75%; animation-delay: 1.4s; --drift: 6px; }
.preis-text .rieseln:nth-child(9) { left: 85%; animation-delay: 2.6s; --drift: -2px; }
.preis-text .rieseln:nth-child(10) { left: 94%; animation-delay: 0.6s; --drift: 4px; }
.konfetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.konfetti { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.landung-verlauf {
position: absolute; left: 0; right: 0; bottom: 0; height: 30vh;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);