diff --git a/public/custom/tiefenflug.css b/public/custom/tiefenflug.css index 00ad2ad..9745c28 100644 --- a/public/custom/tiefenflug.css +++ b/public/custom/tiefenflug.css @@ -232,3 +232,113 @@ .auszug-grid { grid-template-columns: 1fr; } .auszug-grid img { height: 220px; } } + +/* ==================== TIEFENFLUG-INTRO ==================== */ + +.flug-strecke { height: 480vh; position: relative; } + +.flug-buehne { + position: sticky; top: 0; + height: 100vh; + overflow: hidden; + perspective: 800px; + perspective-origin: 50% 50%; + background: var(--bg); +} + +/* Name als Umriss-Schrift hinter den Fotos */ +.flug-name { + position: absolute; left: 50%; top: 50%; + transform: translate(-50%, -50%); + font-weight: 600; + font-size: clamp(40px, 8vw, 110px); + letter-spacing: 18px; + white-space: nowrap; + color: transparent; + -webkit-text-stroke: 1.5px rgba(18, 18, 18, 0.28); + will-change: transform, opacity; + pointer-events: none; +} + +/* Verlaufs-Bilder: laufen weich ins Weiße aus, JS steuert die Deckkraft */ +.geist { + position: absolute; top: 0; bottom: 0; + width: 52%; height: 100%; + object-fit: cover; + opacity: 0; + will-change: opacity; + pointer-events: none; +} +.geist.links { left: 0; -webkit-mask-image: linear-gradient(to right, black 20%, transparent 95%); mask-image: linear-gradient(to right, black 20%, transparent 95%); } +.geist.rechts { right: 0; -webkit-mask-image: linear-gradient(to left, black 20%, transparent 95%); mask-image: linear-gradient(to left, black 20%, transparent 95%); } + +/* Schwebende Fotos */ +.flug-foto { + position: absolute; left: 50%; top: 50%; + width: clamp(180px, 22vw, 300px); + aspect-ratio: 3 / 2; + transform-style: preserve-3d; + will-change: transform, opacity; + pointer-events: none; +} +.flug-foto img { + width: 100%; height: 100%; + object-fit: cover; + border-radius: 4px; + box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); + animation: schweben 5s ease-in-out infinite alternate; +} +.flug-foto:nth-child(2n) img { animation-delay: 1.3s; } +.flug-foto:nth-child(3n) img { animation-delay: 2.4s; } +@keyframes schweben { + from { transform: translateY(0); } + to { transform: translateY(-12px); } +} + +.flug-hinweis { + position: absolute; bottom: 24px; left: 50%; + transform: translateX(-50%); + font-family: "Fragment Mono", monospace; + font-size: 13px; + letter-spacing: 3px; + color: #98a2b3; + animation: pulsieren 1.8s ease-in-out infinite; +} +@keyframes pulsieren { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } } + +/* Preis-Moment (Gold nur hier – Akzent für die Auszeichnung) */ +.preis { + position: absolute; inset: 0; + display: flex; flex-direction: column; + align-items: center; justify-content: center; + opacity: 0; + will-change: opacity, transform; + pointer-events: none; +} +.preis-bild { position: relative; } +.preis-bild img { + display: block; + width: min(560px, 70vw); + border-radius: var(--radius-karte); + box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); +} +.medaille { + position: absolute; left: 50%; bottom: -44px; + transform: translateX(-50%); + z-index: 3; + width: 96px; height: 96px; + border-radius: 50%; + background: radial-gradient(circle at 35% 30%, #f3d27a, #c9a227 60%, #9a7a1c); + display: flex; align-items: center; justify-content: center; + font-weight: 600; font-size: 34px; color: #fff; + border: 3px solid #fff; + box-shadow: 0 10px 28px rgba(154, 122, 28, 0.45), inset 0 2px 6px rgba(255, 255, 255, 0.5); +} +.preis-text { + margin-top: 64px; + font-family: "Fragment Mono", monospace; + font-size: 14px; + letter-spacing: 3px; + color: #9a7a1c; +} +.konfetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } diff --git a/public/start-2.html b/public/start-2.html index b0e99fc..8720cab 100644 --- a/public/start-2.html +++ b/public/start-2.html @@ -53,7 +53,42 @@ - + +