feat: Intro-Bühne des Tiefenflugs (Markup und statisches CSS)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c64ebb3594
commit
c1ee8b61d7
2 files changed
+146
-1
No files matched your search
@@ -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; }
|
||||
+36
-1
@@ -53,7 +53,42 @@
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Intro „Tiefenflug" (Task 4) -->
|
||||
<!-- ==================== INTRO „TIEFENFLUG" ====================
|
||||
Eine hohe Scroll-Strecke mit festgehefteter (sticky) Bühne.
|
||||
Scrollen steuert den Flug; Logik in custom/tiefenflug.js. -->
|
||||
<div class="flug-strecke" id="flug-strecke" aria-hidden="true">
|
||||
<div class="flug-buehne" id="flug-buehne">
|
||||
|
||||
<img class="geist links" src="assets/images_ogzhxcKZoHWv2OWaCEbsi73XA.jpg" alt="" loading="lazy">
|
||||
<img class="geist rechts" src="assets/images_q0AZXsrtAE3iFcmON70ewZHqdvY.jpg" alt="" loading="lazy">
|
||||
<img class="geist links" src="assets/images_QwfHCkpPLinsSAI5SjDYNNwjQQ.jpg" alt="" loading="lazy">
|
||||
|
||||
<div class="flug-name" id="flug-name">LEON TONHÄUSER</div>
|
||||
|
||||
<!-- PLATZHALTER-Bilder: Leon tauscht die Dateinamen später aus.
|
||||
data-*: Position im Raum (px relativ zur Mitte) und Kippwinkel. -->
|
||||
<div class="flug-foto" data-x="-260" data-y="-90" data-z="0" data-kipp="22"><img src="assets/images_1o77aQT7L2L6kvAoCd1KVbSXrM.jpg" alt=""></div>
|
||||
<div class="flug-foto" data-x="240" data-y="60" data-z="-180" data-kipp="-20"><img src="assets/images_1wmdMjlHScipMQIvGkOmNlaYo.jpg" alt=""></div>
|
||||
<div class="flug-foto" data-x="-60" data-y="110" data-z="-380" data-kipp="12"><img src="assets/images_4KoP6h5jMH0NoxlYAmyzMnk5fh0.jpg" alt=""></div>
|
||||
<div class="flug-foto" data-x="190" data-y="-120" data-z="-560" data-kipp="-14" data-mobil="aus"><img src="assets/images_5cRQmI7b7YMazENQ4an645dGk.jpg" alt=""></div>
|
||||
<div class="flug-foto" data-x="-280" data-y="40" data-z="-760" data-kipp="24"><img src="assets/images_7VCGPR7DJ2AATwtn6b0Q7n0Yavw.jpg" alt=""></div>
|
||||
<div class="flug-foto" data-x="90" data-y="-30" data-z="-950" data-kipp="-8" data-mobil="aus"><img src="assets/images_8KT4Ouc9FIKFEX6ffGD09IQJI.jpg" alt=""></div>
|
||||
<div class="flug-foto" data-x="-150" data-y="-130" data-z="-1150" data-kipp="16" data-mobil="aus"><img src="assets/images_9SPyQoOFzXo05riAbjXGgoc2tJU.jpg" alt=""></div>
|
||||
<div class="flug-foto" data-x="230" data-y="120" data-z="-1330" data-kipp="-22"><img src="assets/images_Acj4QcNPfkhKlXAWxrUP5cBJjQ.jpg" alt=""></div>
|
||||
|
||||
<div class="preis" id="preis">
|
||||
<div class="preis-bild">
|
||||
<!-- PLATZHALTER: hier kommt Leons Gewinnerbild hin -->
|
||||
<img src="assets/images_gsbJqmtaUiOBBzMKyXW2P7s.jpg" alt="Gewinnerbild Nachwuchspreis 2025">
|
||||
<div class="medaille">1</div>
|
||||
</div>
|
||||
<div class="preis-text">NACHWUCHSPREIS 2025</div>
|
||||
</div>
|
||||
<canvas class="konfetti" id="konfetti"></canvas>
|
||||
|
||||
<div class="flug-hinweis" id="flug-hinweis">SCROLLEN ↓</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ==================== NORMALE STARTSEITE (Landung) ====================
|
||||
Topbar, Dock und Footer 1:1 aus leistungen.html übernommen,
|
||||
|
||||
Reference in new issue
Block a user