Merge branch 'feature/startseite-tiefenflug' into 'main'
docs: Designkonzept Startseite Tiefenflug festhalten See merge request leon/portfolio-photo!6
This commit is contained in:
commit
b1b521b0f8
7 files changed
+1485
No files matched your search
@@ -6,3 +6,6 @@
|
||||
|
||||
# Claude Code (lokale Einstellungen)
|
||||
.claude/settings.local.json
|
||||
|
||||
# Brainstorming-Mockups (visueller Begleiter)
|
||||
.superpowers/
|
||||
@@ -0,0 +1,680 @@
|
||||
# Startseite „Tiefenflug“ – Implementierungsplan
|
||||
|
||||
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
|
||||
|
||||
**Ziel:** Die abgenommene Startseiten-Variante „Tiefenflug“ (Spec: `docs/superpowers/specs/2026-06-11-startseite-tiefenflug-design.md`) als neue statische Seite `public/start-2.html` bauen – schwebende 3D-Foto-Galerie, scrollgesteuerter Flug mit Kurven und Sinkflug, Preis-Moment mit goldener Medaille und Konfetti, Landung auf einer normalen Startseite im Stil des Framer-Exports.
|
||||
|
||||
**Architektur:** Additiv zum Framer-Export: eine neue flache HTML-Seite (wie `public/leistungen.html`), eigenes CSS/JS unter `public/custom/`. Das Intro ist eine hohe Scroll-Strecke mit sticky Bühne; Vanilla-JS rechnet den Scroll-Fortschritt in Kamera-Position um (nur `transform`/`opacity`). Kein Build-Schritt, keine Frameworks.
|
||||
|
||||
**Tech-Stack:** Statisches HTML/CSS/JS, canvas-confetti (lokal vendored), Git LFS für Bilder, GitLab Pages.
|
||||
|
||||
**Wichtige Bezugsdateien (Muster):**
|
||||
- `public/leistungen.html` – Vorlage für Kopf (Font-Block Zeilen 20–46), Token-CSS (`<style>` ab Zeile 48), Topbar/Dock/Footer-Markup.
|
||||
- `docs/style-tokens.md` – Farben, Rundungen, Easing.
|
||||
- Demo (nur Referenz, nicht eingecheckt): `.superpowers/brainstorm/76912-1781131382/content/hero-demo-flug-v4.html`
|
||||
|
||||
**Platzhalter-Hinweis:** Die konkrete Bildauswahl (8 Flug-Fotos, 3 Verlaufs-Bilder, Gewinnerbild) ist bewusst Platzhalter aus vorhandenen Export-Fotos – Leon tauscht sie später nur in den `<img src>`-Listen in `start-2.html`.
|
||||
|
||||
---
|
||||
|
||||
## Vorbereitung
|
||||
|
||||
- [ ] **Schritt V1: Feature-Branch anlegen**
|
||||
|
||||
```bash
|
||||
git checkout docs/konzept-startseite-tiefenflug
|
||||
git checkout -b feature/startseite-tiefenflug
|
||||
```
|
||||
|
||||
- [ ] **Schritt V2: Prüfen, dass die LFS-Bilder echte Dateien sind**
|
||||
|
||||
```bash
|
||||
file public/assets/images_1o77aQT7L2L6kvAoCd1KVbSXrM.jpg
|
||||
```
|
||||
|
||||
Erwartet: `JPEG image data …`. Falls stattdessen ASCII/Pointer: `git lfs pull` ausführen und erneut prüfen.
|
||||
|
||||
---
|
||||
|
||||
### Task 1: canvas-confetti lokal vendoren
|
||||
|
||||
**Files:**
|
||||
- Create: `public/custom/vendor/canvas-confetti.min.js`
|
||||
|
||||
- [ ] **Schritt 1.1: Bibliothek herunterladen**
|
||||
|
||||
```bash
|
||||
mkdir -p public/custom/vendor
|
||||
curl -sSLo public/custom/vendor/canvas-confetti.min.js \
|
||||
https://cdn.jsdelivr.net/npm/canvas-confetti@1.9.3/dist/confetti.browser.min.js
|
||||
```
|
||||
|
||||
- [ ] **Schritt 1.2: Prüfen**
|
||||
|
||||
```bash
|
||||
head -c 200 public/custom/vendor/canvas-confetti.min.js && echo && \
|
||||
wc -c public/custom/vendor/canvas-confetti.min.js
|
||||
```
|
||||
|
||||
Erwartet: minifiziertes JS (beginnt mit Kommentar/`!function`), Größe grob 15–30 KB.
|
||||
|
||||
- [ ] **Schritt 1.3: Commit**
|
||||
|
||||
```bash
|
||||
git add public/custom/vendor/canvas-confetti.min.js
|
||||
git commit -m "feat: canvas-confetti lokal einbinden (kein CDN zur Laufzeit)"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Task 2: Grundgerüst `start-2.html` + Basis-CSS
|
||||
|
||||
**Files:**
|
||||
- Create: `public/start-2.html`
|
||||
- Create: `public/custom/tiefenflug.css`
|
||||
|
||||
- [ ] **Schritt 2.1: Basis-CSS aus `leistungen.html` übernehmen**
|
||||
|
||||
Den Inhalt des ersten `<style>`-Blocks (Token, Body, Topbar, Dock, Buttons, Footer – Zeilen 49–232 von `public/leistungen.html`, also alles zwischen `<style>` in Zeile 48 und `</style>` in Zeile 233) in die neue Datei kopieren:
|
||||
|
||||
```bash
|
||||
sed -n '49,232p' public/leistungen.html > public/custom/tiefenflug.css
|
||||
```
|
||||
|
||||
Danach oben in `public/custom/tiefenflug.css` diesen Kommentar einfügen:
|
||||
|
||||
```css
|
||||
/* Stile der Startseiten-Variante „Tiefenflug" (start-2.html).
|
||||
Basis: Token + Bausteine aus leistungen.html (Stand Juni 2026),
|
||||
damit Topbar, Dock, Buttons und Footer identisch aussehen.
|
||||
Eigene Abschnitte folgen unten ab „TIEFENFLUG-INTRO". */
|
||||
```
|
||||
|
||||
- [ ] **Schritt 2.2: `public/start-2.html` anlegen**
|
||||
|
||||
Kopf exakt nach dem Muster von `leistungen.html`: Zeilen 1–46 von `public/leistungen.html` übernehmen (DOCTYPE bis Ende des Inter-Font-Blocks `</style>` Zeile 46), dann Titel/Description ersetzen und statt eines Inline-Styles die CSS-Datei verlinken. Konkret muss der Kopf danach so aussehen (Font-Block gekürzt dargestellt – er wird 1:1 aus `leistungen.html` übernommen, **nicht** abtippen):
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html lang="de" class="kein-js">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>Leon Tonhäuser | Sport- & Eventfotografie</title>
|
||||
<meta name="description" content="Sport- und Eventfotografie: Emotionen, Momente und die Energie des Sports – Portfolio von Leon Tonhäuser.">
|
||||
<link href="assets/images_TjoYzMAQxwv1bHENgPbqipmQUU.png" rel="icon">
|
||||
<link rel="apple-touch-icon" href="assets/images_TjoYzMAQxwv1bHENgPbqipmQUU.png">
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics : Block aus leistungen.html übernehmen -->
|
||||
|
||||
<!-- Inter: exakt dieselben Schriftdateien wie der Framer-Export -->
|
||||
<style> /* @font-face-Block: Zeilen 21–45 aus leistungen.html unverändert übernehmen */ </style>
|
||||
|
||||
<!-- Fragment Mono für Monospace-Akzente (Preis-Schriftzug) -->
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/tiefenflug.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Intro „Tiefenflug" (Task 4) -->
|
||||
|
||||
<!-- Normale Startseite (Task 3) -->
|
||||
|
||||
<script src="custom/vendor/canvas-confetti.min.js"></script>
|
||||
<script src="custom/tiefenflug.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
Wichtig: `class="kein-js"` am `<html>`-Element nicht vergessen (Fallback in Task 6).
|
||||
|
||||
- [ ] **Schritt 2.3: Prüfen**
|
||||
|
||||
```bash
|
||||
python3 -m http.server 8000 --directory public &
|
||||
sleep 1
|
||||
curl -s -o /dev/null -w "%{http_code}\n" http://localhost:8000/start-2.html
|
||||
curl -s http://localhost:8000/start-2.html | grep -c "framerusercontent.com/assets"
|
||||
```
|
||||
|
||||
Erwartet: `200` und mindestens `20` (Font-Block vollständig übernommen).
|
||||
|
||||
- [ ] **Schritt 2.4: Commit**
|
||||
|
||||
```bash
|
||||
git add public/start-2.html public/custom/tiefenflug.css
|
||||
git commit -m "feat: Grundgerüst der Startseiten-Variante Tiefenflug (start-2)"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Task 3: Die „normale Seite“ (Landung)
|
||||
|
||||
**Files:**
|
||||
- Modify: `public/start-2.html` (Body, Abschnitt „Normale Startseite“)
|
||||
- Modify: `public/custom/tiefenflug.css` (neue Abschnitte anhängen)
|
||||
|
||||
- [ ] **Schritt 3.1: Topbar, Dock und Footer aus `leistungen.html` übernehmen**
|
||||
|
||||
Markup von Topbar (`<header class="topbar landen">…</header>`) und Dock (`<nav class="dock" …>…</nav>`) 1:1 aus `public/leistungen.html` (ab Zeile 237) in den Body von `start-2.html` kopieren. Einzige Änderung: im Dock `aria-current="page"` vom Leistungen-Link entfernen. Den Footer-Block (`<footer class="footer">…`) ebenfalls 1:1 übernehmen (in `leistungen.html` per `grep -n "<footer" public/leistungen.html` lokalisieren).
|
||||
|
||||
- [ ] **Schritt 3.2: Hero + Inhalt der Landung einfügen**
|
||||
|
||||
Zwischen Topbar und Footer dieses Markup einfügen:
|
||||
|
||||
```html
|
||||
<main class="landung" id="landung">
|
||||
<section class="hero">
|
||||
<div class="container">
|
||||
<span class="pill">Sport- & Eventfotografie</span>
|
||||
<h1>Emotionen. Momente.<br>Die Energie des Sports.</h1>
|
||||
<p class="gedaempft">
|
||||
Ich fotografiere Sport und Events – vom Bundesliga-Spieltag bis zur
|
||||
Firmenfeier. Hier findest du meine Arbeit, meine Leistungen und den
|
||||
direkten Draht zu mir.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="auszug">
|
||||
<div class="container">
|
||||
<div class="auszug-grid">
|
||||
<!-- PLATZHALTER-Bilder: Leon tauscht die Dateinamen später aus -->
|
||||
<a href="./portfolio"><img src="assets/images_iigWdDFCf8T2QM3an2as12jCnQ.jpg" alt="Sportfoto" loading="lazy"></a>
|
||||
<a href="./portfolio"><img src="assets/images_JXsl9En2J7M7cX6lyo3A3oCyI.jpg" alt="Sportfoto" loading="lazy"></a>
|
||||
<a href="./portfolio"><img src="assets/images_NsguBJT0K3lVp51PO9BwTikd37I.jpg" alt="Eventfoto" loading="lazy"></a>
|
||||
</div>
|
||||
<a class="button" href="./kontakt">Kontakt aufnehmen</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="zeilen">
|
||||
<div class="container">
|
||||
<a class="zeile" href="./portfolio"><b>Portfolio</b><span>Sport / Events →</span></a>
|
||||
<a class="zeile" href="./leistungen"><b>Leistungen</b><span>Pakete & Ablauf →</span></a>
|
||||
<a class="zeile" href="./über-mich"><b>Über mich</b><span>Person & Auszeichnungen →</span></a>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
```
|
||||
|
||||
- [ ] **Schritt 3.3: Zugehöriges CSS anhängen**
|
||||
|
||||
Ans Ende von `public/custom/tiefenflug.css` anhängen:
|
||||
|
||||
```css
|
||||
/* ==================== LANDUNG (normale Startseite) ==================== */
|
||||
|
||||
.landung .hero { padding: 90px 0 40px; }
|
||||
.landung .hero h1 {
|
||||
font-size: clamp(40px, 6vw, 72px);
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.05em;
|
||||
line-height: 1.05;
|
||||
margin: 18px 0 18px;
|
||||
}
|
||||
.landung .hero .gedaempft { max-width: 560px; }
|
||||
|
||||
.auszug { padding: 30px 0 70px; }
|
||||
.auszug-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 14px;
|
||||
margin-bottom: 36px;
|
||||
}
|
||||
.auszug-grid img {
|
||||
width: 100%;
|
||||
height: 280px;
|
||||
object-fit: cover;
|
||||
border-radius: var(--radius-karte);
|
||||
transition: transform 0.2s ease-out;
|
||||
}
|
||||
.auszug-grid a:hover img { transform: scale(1.02); }
|
||||
|
||||
.zeilen { padding-bottom: 90px; }
|
||||
.zeile {
|
||||
display: flex; justify-content: space-between; align-items: baseline;
|
||||
border-top: 1px solid var(--linie);
|
||||
padding: 22px 0;
|
||||
color: var(--text-leise);
|
||||
font-size: 16px;
|
||||
transition: color 0.2s ease-out;
|
||||
}
|
||||
.zeile b { color: var(--text); font-size: 20px; font-weight: 600; letter-spacing: -0.04em; }
|
||||
.zeile:hover { color: var(--text); }
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.auszug-grid { grid-template-columns: 1fr; }
|
||||
.auszug-grid img { height: 220px; }
|
||||
}
|
||||
```
|
||||
|
||||
- [ ] **Schritt 3.4: Prüfen (Browser)**
|
||||
|
||||
`http://localhost:8000/start-2.html` öffnen. Erwartet: Topbar wie auf `/leistungen` (Name links, Logo mittig, Kontakt-Button rechts), Hero-Titel, 3er-Bildraster in Farbe mit 16px-Rundung, schwarzer Pill-Button, drei Abschnittszeilen, Footer. Keine Konsolenfehler – einzige erlaubte Ausnahme: ein 404 für `custom/tiefenflug.js` (die Datei entsteht erst in Task 5).
|
||||
|
||||
- [ ] **Schritt 3.5: Commit**
|
||||
|
||||
```bash
|
||||
git add public/start-2.html public/custom/tiefenflug.css
|
||||
git commit -m "feat: Landungs-Bereich der Tiefenflug-Variante im Export-Stil"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Task 4: Intro-Bühne (Markup + statisches CSS)
|
||||
|
||||
**Files:**
|
||||
- Modify: `public/start-2.html` (Body, vor `<main class="landung">`)
|
||||
- Modify: `public/custom/tiefenflug.css` (anhängen)
|
||||
|
||||
- [ ] **Schritt 4.1: Intro-Markup einfügen**
|
||||
|
||||
Direkt nach `<body>` (vor der Topbar – die Topbar gehört zur Landung und bleibt unter dem Intro):
|
||||
|
||||
```html
|
||||
<!-- ==================== 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>
|
||||
```
|
||||
|
||||
- [ ] **Schritt 4.2: Intro-CSS anhängen**
|
||||
|
||||
Ans Ende von `public/custom/tiefenflug.css`:
|
||||
|
||||
```css
|
||||
/* ==================== 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; }
|
||||
```
|
||||
|
||||
- [ ] **Schritt 4.3: Prüfen (Browser)**
|
||||
|
||||
`http://localhost:8000/start-2.html` neu laden. Erwartet: 100vh-weiße Bühne mit 8 schwebenden („atmenden“) Fotos in der Mitte übereinander gestapelt (noch ohne 3D-Versatz – der kommt per JS), dahinter der Umriss-Name, unten der pulsierende Hinweis. Darunter (nach langem Scrollen) die Landung aus Task 3.
|
||||
|
||||
- [ ] **Schritt 4.4: Commit**
|
||||
|
||||
```bash
|
||||
git add public/start-2.html public/custom/tiefenflug.css
|
||||
git commit -m "feat: Intro-Bühne des Tiefenflugs (Markup und statisches CSS)"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Task 5: Flug-Logik `tiefenflug.js`
|
||||
|
||||
**Files:**
|
||||
- Create: `public/custom/tiefenflug.js`
|
||||
|
||||
- [ ] **Schritt 5.1: Datei anlegen (kompletter Inhalt)**
|
||||
|
||||
```js
|
||||
// Steuert das Intro „Tiefenflug" auf start-2.html.
|
||||
//
|
||||
// Prinzip: Die Seite hat oben eine hohe Scroll-Strecke (#flug-strecke) mit
|
||||
// festgehefteter Bühne. Der Scroll-Fortschritt (0..1) wird in eine
|
||||
// Kamerafahrt übersetzt: vorwärts (Z), seitliches Ausscheren (X, Sinus),
|
||||
// am Ende Sinkflug (Y) hinab zum Preis-Moment. Werte/Dramaturgie laut Spec
|
||||
// docs/superpowers/specs/2026-06-11-startseite-tiefenflug-design.md.
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
// JS läuft → Fallback-Klasse entfernen (CSS blendet das Intro sonst aus)
|
||||
document.documentElement.classList.remove('kein-js');
|
||||
|
||||
var strecke = document.getElementById('flug-strecke');
|
||||
if (!strecke) return;
|
||||
|
||||
// Reduzierte Bewegung: Intro überspringen, normale Seite direkt zeigen
|
||||
if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
|
||||
document.documentElement.classList.add('ohne-intro');
|
||||
return;
|
||||
}
|
||||
|
||||
var buehne = document.getElementById('flug-buehne');
|
||||
var name = document.getElementById('flug-name');
|
||||
var preis = document.getElementById('preis');
|
||||
var hinweis = document.getElementById('flug-hinweis');
|
||||
var geister = [].slice.call(buehne.querySelectorAll('.geist'));
|
||||
var fotos = [].slice.call(buehne.querySelectorAll('.flug-foto'))
|
||||
.filter(function (f) { return f.offsetParent !== null; }); // mobil ausgeblendete überspringen
|
||||
|
||||
var FLUG_TIEFE = 1650; // px, die die Kamera nach vorn fliegt
|
||||
var FLUG_ENDE = 0.72; // Anteil der Strecke, ab dem der Preis-Moment beginnt
|
||||
var SCHWENK = 130; // px seitliches Ausscheren (rechts, dann links)
|
||||
var SINKFLUG = 190; // px Sinkflug am Ende
|
||||
var GEIST_FENSTER = [[0.10, 0.30], [0.30, 0.50], [0.50, 0.68]];
|
||||
|
||||
var eingerastet = false; // Feature: einmal durch = kein Rückflug bis zum Neuladen
|
||||
var konfettiAb = false;
|
||||
var mausX = 0, mausY = 0;
|
||||
|
||||
var kanone = null;
|
||||
if (window.confetti) {
|
||||
kanone = window.confetti.create(document.getElementById('konfetti'), { resize: true });
|
||||
}
|
||||
|
||||
function maxScroll() {
|
||||
return strecke.offsetHeight - window.innerHeight;
|
||||
}
|
||||
|
||||
// Dreiecksfenster: 0 → 1 → 0 zwischen von..bis (weich rein, weich raus)
|
||||
function fenster01(p, von, bis) {
|
||||
if (p <= von || p >= bis) return 0;
|
||||
var t = (p - von) / (bis - von);
|
||||
return t < 0.5 ? t * 2 : (1 - t) * 2;
|
||||
}
|
||||
|
||||
function zeichnen() {
|
||||
var fortschritt = Math.min(window.scrollY / maxScroll(), 1);
|
||||
var flug = Math.min(fortschritt / FLUG_ENDE, 1);
|
||||
var kamZ = flug * FLUG_TIEFE;
|
||||
|
||||
// Flugbahn: rechts → links ausscheren (endet mittig), am Ende sinken
|
||||
var kamX = Math.sin(flug * Math.PI * 2) * SCHWENK;
|
||||
var sinkT = Math.max(0, (flug - 0.7) / 0.3);
|
||||
var kamY = sinkT * sinkT * SINKFLUG;
|
||||
var kurve = -kamX / SCHWENK * 2.5; // leichtes Gegen-Kippen in der Kurve
|
||||
|
||||
fotos.forEach(function (foto) {
|
||||
var z = parseFloat(foto.dataset.z) + kamZ;
|
||||
var x = parseFloat(foto.dataset.x) - kamX + mausX * 14;
|
||||
var y = parseFloat(foto.dataset.y) - kamY + mausY * 10;
|
||||
var deckkraft = 1;
|
||||
if (z > 260) deckkraft = Math.max(0, 1 - (z - 260) / 160); // passiert → ausblenden
|
||||
foto.style.opacity = deckkraft;
|
||||
foto.style.visibility = deckkraft === 0 ? 'hidden' : 'visible';
|
||||
foto.style.transform =
|
||||
'translate(-50%, -50%) translate3d(' + x + 'px,' + y + 'px,' + z + 'px)' +
|
||||
' rotateY(' + foto.dataset.kipp + 'deg) rotateZ(' + kurve + 'deg)';
|
||||
});
|
||||
|
||||
// Name: Buchstabenabstand zieht sich zusammen, wächst leicht, Parallaxe
|
||||
var abstand = 18 - flug * 16;
|
||||
var deckkraftName = flug < 0.8 ? 1 : Math.max(0, 1 - (flug - 0.8) / 0.15);
|
||||
name.style.letterSpacing = abstand + 'px';
|
||||
name.style.opacity = deckkraftName;
|
||||
name.style.transform =
|
||||
'translate(-50%, -50%) translate(' + (-kamX * 0.35) + 'px,' + (-kamY * 0.35) + 'px)' +
|
||||
' scale(' + (1 + flug * 0.35) + ')';
|
||||
|
||||
// Verlaufs-Bilder abwechselnd einblenden
|
||||
geister.forEach(function (geist, i) {
|
||||
var f = GEIST_FENSTER[i] || [0, 0];
|
||||
geist.style.opacity = fenster01(fortschritt, f[0], f[1]) * 0.5;
|
||||
});
|
||||
|
||||
// Preis-Moment: steigt von unten herauf, dann Konfetti
|
||||
var preisDa = Math.max(0, Math.min((fortschritt - FLUG_ENDE) / 0.08, 1));
|
||||
var weich = 1 - Math.pow(1 - preisDa, 3); // ease-out
|
||||
preis.style.opacity = preisDa;
|
||||
preis.style.transform =
|
||||
'translateY(' + ((1 - weich) * 38) + 'vh) scale(' + (0.92 + weich * 0.08) + ')';
|
||||
if (preisDa >= 1 && !konfettiAb && kanone) {
|
||||
konfettiAb = true;
|
||||
kanone({ particleCount: 90, spread: 75, origin: { y: 0.35 },
|
||||
colors: ['#c9a227', '#f3d27a', '#ffffff', '#121212'] });
|
||||
setTimeout(function () {
|
||||
kanone({ particleCount: 50, spread: 100, origin: { y: 0.3 },
|
||||
colors: ['#c9a227', '#f3d27a', '#ffffff'] });
|
||||
}, 350);
|
||||
}
|
||||
|
||||
hinweis.style.opacity = fortschritt > 0.05 ? 0 : '';
|
||||
}
|
||||
|
||||
window.addEventListener('scroll', function () {
|
||||
var max = maxScroll();
|
||||
// Einrasten: Wer den Flug beendet hat, kommt höchstens bis zum
|
||||
// Preis-Moment zurück – der Flug startet erst beim Neuladen wieder.
|
||||
if (!eingerastet && window.scrollY >= max) eingerastet = true;
|
||||
if (eingerastet && window.scrollY < max) {
|
||||
window.scrollTo(0, max);
|
||||
return;
|
||||
}
|
||||
zeichnen();
|
||||
}, { passive: true });
|
||||
|
||||
window.addEventListener('resize', zeichnen);
|
||||
|
||||
// Maus-Parallaxe nur auf Geräten mit Zeiger
|
||||
if (window.matchMedia('(pointer: fine)').matches) {
|
||||
buehne.addEventListener('mousemove', function (e) {
|
||||
mausX = e.clientX / window.innerWidth - 0.5;
|
||||
mausY = e.clientY / window.innerHeight - 0.5;
|
||||
zeichnen();
|
||||
});
|
||||
}
|
||||
|
||||
zeichnen();
|
||||
})();
|
||||
```
|
||||
|
||||
- [ ] **Schritt 5.2: Prüfen (Browser)**
|
||||
|
||||
`http://localhost:8000/start-2.html` neu laden und langsam scrollen. Checkliste:
|
||||
1. Fotos verteilen sich räumlich (3D-Versatz statt Stapel) und man fliegt hindurch.
|
||||
2. Kamera schert erst rechts, dann links aus; Bilder kippen leicht gegen die Kurve.
|
||||
3. Name zieht sich zusammen, wächst, bewegt sich versetzt mit.
|
||||
4. Verlaufs-Bilder erscheinen abwechselnd links/rechts und verschwinden.
|
||||
5. Am Ende Sinkflug → Gewinnerbild steigt herauf, Medaille frei sichtbar, Konfetti feuert genau einmal.
|
||||
6. Weiterscrollen → Landung; Hochscrollen → höchstens bis zum Preis-Moment (Einrasten), erst Neuladen startet den Flug neu.
|
||||
7. Maus bewegen über der Bühne → leichte Parallaxe.
|
||||
|
||||
- [ ] **Schritt 5.3: Commit**
|
||||
|
||||
```bash
|
||||
git add public/custom/tiefenflug.js
|
||||
git commit -m "feat: Flug-Logik des Tiefenflugs (Scroll-Kamera, Preis-Moment, Einrasten)"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Task 6: Fallbacks (ohne JS, reduzierte Bewegung, mobil)
|
||||
|
||||
**Files:**
|
||||
- Modify: `public/custom/tiefenflug.css` (anhängen)
|
||||
|
||||
- [ ] **Schritt 6.1: Fallback-CSS anhängen**
|
||||
|
||||
```css
|
||||
/* ==================== FALLBACKS ====================
|
||||
- .kein-js: steht im HTML und wird von tiefenflug.js entfernt;
|
||||
ohne JS bleibt sie stehen und das Intro verschwindet.
|
||||
- .ohne-intro: setzt tiefenflug.js bei prefers-reduced-motion.
|
||||
- mobil: weniger schwebende Fotos (data-mobil="aus"). */
|
||||
|
||||
.kein-js .flug-strecke,
|
||||
.ohne-intro .flug-strecke { display: none; }
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.flug-foto img, .flug-hinweis { animation: none; }
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.flug-foto[data-mobil="aus"] { display: none; }
|
||||
.flug-strecke { height: 380vh; }
|
||||
.flug-name { -webkit-text-stroke-width: 1px; }
|
||||
}
|
||||
```
|
||||
|
||||
- [ ] **Schritt 6.2: Prüfen**
|
||||
|
||||
1. In den DevTools JavaScript deaktivieren → Seite neu laden → Erwartet: kein Intro, direkt die normale Startseite. (JS wieder aktivieren.)
|
||||
2. In den DevTools „Emulate CSS prefers-reduced-motion: reduce“ → neu laden → Erwartet: kein Intro.
|
||||
3. Responsive-Modus, Breite 390px → Erwartet: 5 statt 8 Flug-Fotos, Flug funktioniert per Touch-Scroll (ohne Parallaxe).
|
||||
|
||||
- [ ] **Schritt 6.3: Commit**
|
||||
|
||||
```bash
|
||||
git add public/custom/tiefenflug.css
|
||||
git commit -m "feat: Fallbacks für Tiefenflug (ohne JS, reduzierte Bewegung, mobil)"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Task 7: Abschluss – Gesamttest und Merge Request
|
||||
|
||||
- [ ] **Schritt 7.1: Gesamtdurchlauf**
|
||||
|
||||
Lokalen Server starten (falls nicht mehr aktiv) und die komplette Checkliste aus Schritt 5.2 plus Task-6-Fälle einmal am Stück durchgehen. Zusätzlich:
|
||||
|
||||
```bash
|
||||
curl -s http://localhost:8000/start-2.html | grep -o 'src="[^"]*"\|href="[^"]*"' | sort -u
|
||||
```
|
||||
|
||||
Erwartet: alle lokalen Pfade existieren (stichprobenartig mit `ls public/...` prüfen), keine CDN-Skripte außer Google Fonts (Fragment Mono) und Google Analytics.
|
||||
|
||||
- [ ] **Schritt 7.2: Server stoppen, Branch pushen**
|
||||
|
||||
```bash
|
||||
kill %1 2>/dev/null
|
||||
git push -u origin feature/startseite-tiefenflug
|
||||
```
|
||||
|
||||
Dann Leon Bescheid geben: Merge Request `feature/startseite-tiefenflug` → `main` selbst anlegen und mergen (Arbeitsweise des Projekts). Die Seite ist danach unter `https://<pages-domain>/start-2` erreichbar – bewusst noch nirgends verlinkt, damit sie in Ruhe mit der bestehenden Startseite verglichen werden kann.
|
||||
|
||||
**Offene Punkte für Leon (aus der Spec):**
|
||||
1. Echte Fotoauswahl für Flug (8), Verlaufs-Bilder (3) und das Gewinnerbild – einfach `src`-Werte in `start-2.html` tauschen.
|
||||
2. Offizieller Wortlaut „Nachwuchspreis 2025“ bestätigen (`.preis-text` in `start-2.html`).
|
||||
@@ -0,0 +1,96 @@
|
||||
# Designkonzept: Startseite „Tiefenflug“ (abgenommen 11.06.2026)
|
||||
|
||||
> Alternatives Startseiten-Konzept für das Foto-Portfolio – als zweite
|
||||
> Design-Richtung neben dem bestehenden Framer-Export. Vom Nutzer im
|
||||
> Brainstorming (visueller Begleiter, Demo V4) abgenommen.
|
||||
> Klick-Demo: `.superpowers/brainstorm/76912-1781131382/content/hero-demo-flug-v4.html`
|
||||
> (lokal, nicht eingecheckt).
|
||||
|
||||
## 1. Kontext und Ziel
|
||||
|
||||
Die Startseite entscheidet laut Briefing über den ersten Eindruck („Wow – hier
|
||||
hat jemand seinen Auftritt durchdacht“). Dieses Konzept ist eine bewusst andere
|
||||
Signatur-Idee als das im Briefing dokumentierte Kamera-HUD („Lebendiges
|
||||
Instrument“): ein **einmaliges 3D-Intro-Erlebnis**, danach eine ganz normale,
|
||||
pflegbare Seite im Stil des bestehenden Framer-Exports.
|
||||
|
||||
Entstehung: Aus sechs vorgestellten Signatur-Ideen wählte der Nutzer die
|
||||
Kombination aus **D · Schwebende Galerie** und **E · Tiefenflug**.
|
||||
(„B · Split Second“ – Serienbild-Idee – gefiel ebenfalls und bleibt als
|
||||
mögliches Stilmittel für später notiert.)
|
||||
|
||||
## 2. Das Erlebnis (Storyboard)
|
||||
|
||||
Eine Scroll-Strecke (ca. 4–5 Bildschirmhöhen), die ein Intro erzählt. Scrollen
|
||||
steuert den Fortschritt – nichts läuft ohne Zutun des Besuchers ab.
|
||||
|
||||
| Phase (Scroll-Fortschritt) | Was passiert |
|
||||
| --- | --- |
|
||||
| **Start (0)** | 8 Fotos schweben frei im weißen Raum, die äußeren leicht nach innen gekippt. Sie „atmen“ (langsames Auf- und Abschweben, versetzte Phasen). Dahinter steht groß der Name **LEON TONHÄUSER** als Umriss-Schrift. Unten pulst ein dezenter Hinweis „Scrollen“. |
|
||||
| **Flug (0 → ~0,72)** | Die Kamera fliegt durch die schwebenden Fotos hindurch. Flugbahn: erst leicht nach **rechts**, dann nach **links** ausscheren (Sinus), mit minimalem „Banking“ (Bilder kippen gegen die Kurve). Passierte Fotos blenden weich aus. Der Name zieht sich beim Flug zusammen (Buchstabenabstand 18 px → 2 px), wächst leicht und bewegt sich als Parallaxe-Ebene versetzt mit. Zusätzlich erscheinen **abwechselnd links und rechts großflächige Bilder mit Verlauf ins Weiße** (Maske), die wieder verschwinden – je eines pro Flugabschnitt. |
|
||||
| **Sinkflug (~0,7 → 0,72)** | Am Ende sinkt die Kamera nach unten (quadratisches Easing), die Welt zieht nach oben weg. |
|
||||
| **Preis-Moment (~0,72 → 0,8)** | Das **Gewinnerbild** steigt von unten herauf (ease-out). Über seiner Unterkante hängt eine **goldene Medaille „1“** (frei sichtbar, eigene Ebene), darunter der Schriftzug **NACHWUCHSPREIS 2025** in Fragment Mono / Gold. Ist der Moment voll da, feuert **Konfetti** (canvas-confetti) zweistufig in Gold/Weiß/Schwarz. Der Name ist hier ausgeblendet. |
|
||||
| **Landung (0,8 → 1)** | Weiterscrollen führt auf die „normale“ Startseite. |
|
||||
| **Einrasten (Feature, kein Bug)** | Wer den Flug einmal beendet hat, kommt beim Hochscrollen höchstens bis zum Preis-Moment zurück – nie wieder in den Flug. Erst beim Neuladen startet das Intro erneut. |
|
||||
|
||||
## 3. Die „normale Seite“ nach der Landung
|
||||
|
||||
Gestaltet im Stil des bestehenden Framer-Exports (`docs/style-tokens.md`):
|
||||
|
||||
- Kopfzeile mit **Logo/Name mittig**, Navigation links/rechts (wie Original).
|
||||
- Großer Titel „Sport- & Eventfotografie“, Unterzeile mit Markenkern
|
||||
(Emotionen · Momente · Energie des Sports).
|
||||
- Bildraster (16 px Rundung), schwarzer **Pill-Button** „Kontakt aufnehmen“
|
||||
(100 px Radius), Abschnittszeilen Portfolio / Leistungen / Referenzen.
|
||||
- Schrift: **Inter** (Original-Webfont des Framer-Exports, mit Feature-Settings –
|
||||
nicht Google Fonts), Monospace-Akzente in **Fragment Mono**.
|
||||
|
||||
## 4. Stil-Regeln
|
||||
|
||||
- **Weiß, clean, monochrom** – das Layout bleibt Schwarz/Weiß/Grau
|
||||
(`#fcfcfc`-Hintergrund, Töne aus `docs/style-tokens.md`).
|
||||
- **Farbe kommt nur aus den Fotos.** Die Demo nutzte Graustufen-Platzhalter –
|
||||
die echte Seite zeigt die Fotos in Farbe.
|
||||
- **Gold nur als Akzent** für die Auszeichnung: Medaille, Schriftzug, Konfetti.
|
||||
Goldton: `#c9a227` (Verlauf bis `#f3d27a` / `#9a7a1c`).
|
||||
- Bewegung nach Token-Faustregel: ease-out-Charakter, nichts Lineares/Abruptes;
|
||||
das Schweben langsam (~5 s je Halbschwingung).
|
||||
|
||||
## 5. Technischer Ansatz
|
||||
|
||||
- **Neue, eigenständige Seite im Repo** (z. B. `public/start-2/index.html` mit
|
||||
eigener CSS/JS-Datei unter `public/custom/`), additiv – der Framer-Export
|
||||
wird nicht umgebaut. Wenn die Seite überzeugt, kann sie später die Startseite
|
||||
ersetzen; Feinheiten (Verlinkung, Weiterleitung) entscheidet Leon dann per MR.
|
||||
- **Vanilla-JS, scroll-gesteuert** (wie die Demo): ein sticky Bühnen-Element in
|
||||
einer hohen Scroll-Strecke; Scroll-Fortschritt → Kamera-Z, Flugbahn-X/Y.
|
||||
Nur `transform`/`opacity` animieren (`will-change`), CSS-`perspective` für
|
||||
die 3D-Tiefe. Auf der echten Seite scrollt das **Fenster selbst** (keine
|
||||
Box wie in der Demo).
|
||||
- **Konfetti:** canvas-confetti (lokal abgelegt statt CDN, damit die Seite
|
||||
ohne Fremd-Server lädt), Farben Gold/Weiß plus dezente schwarze Partikel.
|
||||
- **Maus-Parallaxe** nur auf Geräten mit Zeiger; auf Touch entfällt sie.
|
||||
- **Einrasten:** Scroll-Position wird nach Flugende auf den Preis-Moment
|
||||
geklemmt (Minimal-Scroll = Ende der Flugstrecke).
|
||||
- **Rücksicht:** Bei `prefers-reduced-motion` wird das Intro übersprungen und
|
||||
die normale Seite direkt gezeigt. Gleiches gilt als Fallback ohne JavaScript.
|
||||
- **Mobil:** weniger schwebende Fotos (z. B. 5 statt 8), kleinere Versätze,
|
||||
gleiche Dramaturgie.
|
||||
- **Bilder:** echte Fotos über Git LFS, web-optimierte Größen; das Gewinnerbild
|
||||
des Nachwuchspreises 2025 wird von Leon geliefert.
|
||||
|
||||
## 6. Skalierung auf weitere Seiten
|
||||
|
||||
Der Tiefenflug bleibt exklusiv der Startseite. Die anderen Seiten übernehmen
|
||||
die Bildsprache dezent, damit alles aus einem Guss wirkt:
|
||||
|
||||
- Schwebende, leicht gekippte Fotos als Hero-Motiv (ohne Flug),
|
||||
- Umriss-Typografie für Seitentitel,
|
||||
- identische Token (Farben, Rundungen, Easing).
|
||||
|
||||
## 7. Offene Punkte (vor/bei der Umsetzung)
|
||||
|
||||
1. Echte Fotoauswahl: 8 Flug-Fotos, 3 Verlaufs-Bilder, Gewinnerbild (Leon).
|
||||
2. Exakter Wortlaut des Preises (offiziell „Nachwuchspreis 2025“?).
|
||||
3. Ablageort/Name der Variante (`/start-2/` o. ä.) – Vorschlag kommt im
|
||||
Implementierungsplan.
|
||||
@@ -0,0 +1,363 @@
|
||||
/* Stile der Startseiten-Variante „Tiefenflug" (start-2.html).
|
||||
Basis: Token + Bausteine aus leistungen.html (Stand Juni 2026),
|
||||
damit Topbar, Dock, Buttons und Footer identisch aussehen.
|
||||
Eigene Abschnitte folgen unten ab „TIEFENFLUG-INTRO". */
|
||||
|
||||
/* Werte aus docs/style-tokens.md (Framer-Export) */
|
||||
:root {
|
||||
--bg: #ffffff;
|
||||
--flaeche-hell: #f9fafb;
|
||||
--pill-grau: #f2f4f7;
|
||||
--linie: #e4e7ec;
|
||||
--text: #000000;
|
||||
--text-gedaempft: rgba(0, 0, 0, 0.56);
|
||||
--text-leise: #667085;
|
||||
--radius-karte: 16px;
|
||||
--radius-pill: 100px;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
body {
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: "Inter", "Inter Placeholder", sans-serif;
|
||||
font-feature-settings: "blwf" on, "cv09" on, "cv03" on, "cv04" on, "cv11" on;
|
||||
font-weight: 500;
|
||||
letter-spacing: -0.04em;
|
||||
line-height: 1.5;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
a { color: inherit; text-decoration: none; }
|
||||
img { display: block; }
|
||||
|
||||
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
|
||||
|
||||
/* ---------- Kopfleiste (wie im Export: Name links, Logo mittig, Kontakt-Button rechts) ---------- */
|
||||
.topbar {
|
||||
position: relative;
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
padding: 24px;
|
||||
}
|
||||
.topbar-name { line-height: 1.5; }
|
||||
.topbar-name strong { display: block; font-size: 20px; font-weight: 500; letter-spacing: -0.05em; }
|
||||
.topbar-name span { font-size: 14px; font-weight: 400; color: var(--text-leise); }
|
||||
.topbar-logo {
|
||||
position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
|
||||
}
|
||||
.topbar-logo img { width: 50px; height: 50px; object-fit: contain; }
|
||||
|
||||
/* ---------- Schwebende Navigation unten (wie im Export: blendet beim Scrollen ein) ---------- */
|
||||
.dock {
|
||||
position: fixed; bottom: 32px; left: 50%; z-index: 60;
|
||||
display: flex; align-items: center; gap: 28px;
|
||||
background: var(--text); color: #fff;
|
||||
border-radius: 24px; padding: 13px 24px;
|
||||
opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
|
||||
transition: opacity 0.4s ease-out, transform 0.4s ease-out;
|
||||
}
|
||||
.dock.sichtbar { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
|
||||
.dock-logo img { width: 38px; height: 38px; object-fit: contain; }
|
||||
.dock-links { display: flex; align-items: center; gap: 28px; font-size: 16px; }
|
||||
.dock-links a { color: #fff; transition: opacity 0.2s ease-out; }
|
||||
.dock-links a:hover { opacity: 0.64; }
|
||||
.dock-links a[aria-current="page"] { opacity: 0.64; }
|
||||
.dock-burger { display: none; }
|
||||
|
||||
@media (max-width: 809.98px) {
|
||||
.container { padding: 0 20px; }
|
||||
.topbar { padding: 20px 20px; }
|
||||
|
||||
.dock { gap: 20px; padding: 12px 18px; }
|
||||
.dock-burger {
|
||||
display: block; background: none; border: 0; cursor: pointer;
|
||||
width: 36px; height: 36px; position: relative;
|
||||
}
|
||||
.dock-burger span {
|
||||
position: absolute; left: 6px; width: 24px; height: 2px; background: #fff;
|
||||
transition: transform 0.2s ease-out;
|
||||
}
|
||||
.dock-burger span:nth-child(1) { top: 13px; }
|
||||
.dock-burger span:nth-child(2) { top: 21px; }
|
||||
|
||||
.dock-links {
|
||||
display: none;
|
||||
position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%);
|
||||
flex-direction: column; align-items: center; gap: 4px;
|
||||
background: var(--text); border-radius: 24px;
|
||||
padding: 20px 40px; width: max-content;
|
||||
}
|
||||
.dock-links a { display: block; padding: 8px 0; font-size: 20px; }
|
||||
.dock.offen .dock-links { display: flex; }
|
||||
.dock.offen .dock-burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
|
||||
.dock.offen .dock-burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
|
||||
}
|
||||
|
||||
/* ---------- Typografie ---------- */
|
||||
h1 { font-size: 55px; line-height: 1.2; letter-spacing: -0.06em; font-weight: 500; }
|
||||
h2 { font-size: 40px; line-height: 1.2; letter-spacing: -0.06em; font-weight: 500; }
|
||||
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.05em; font-weight: 500; }
|
||||
.gedaempft { color: var(--text-gedaempft); }
|
||||
|
||||
@media (max-width: 809.98px) {
|
||||
h1 { font-size: 40px; }
|
||||
h2 { font-size: 32px; }
|
||||
}
|
||||
|
||||
/* ---------- Bausteine ---------- */
|
||||
.pill {
|
||||
display: inline-block; background: var(--pill-grau);
|
||||
border-radius: 32px; padding: 6px 16px; font-size: 16px;
|
||||
}
|
||||
.button {
|
||||
display: inline-block; background: var(--text); color: #fff;
|
||||
border-radius: var(--radius-pill); padding: 12px 28px; font-size: 16px;
|
||||
transition: opacity 0.2s ease-out, transform 0.2s ease-out;
|
||||
}
|
||||
.button:hover { opacity: 0.85; transform: scale(1.02); }
|
||||
|
||||
/* ---------- Abschnitte ---------- */
|
||||
.hero { padding: 90px 0 70px; }
|
||||
.hero p { max-width: 620px; margin-top: 24px; }
|
||||
.hero h1 { margin-top: 20px; max-width: 800px; }
|
||||
|
||||
.pakete { padding: 30px 0 60px; }
|
||||
.pakete-grid {
|
||||
display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
|
||||
}
|
||||
.paket {
|
||||
background: var(--flaeche-hell); border: 1px solid var(--linie);
|
||||
border-radius: var(--radius-karte); padding: 32px;
|
||||
display: flex; flex-direction: column; gap: 16px;
|
||||
}
|
||||
.paket .zielgruppe { font-size: 14px; color: var(--text-leise); }
|
||||
.paket ul { list-style: none; margin-top: 4px; flex-grow: 1; }
|
||||
.paket li {
|
||||
padding-left: 26px; position: relative; margin-bottom: 10px;
|
||||
font-size: 16px; color: var(--text-gedaempft);
|
||||
}
|
||||
.paket li::before { content: "✓"; position: absolute; left: 0; color: var(--text); }
|
||||
.paket .button { align-self: flex-start; }
|
||||
|
||||
@media (max-width: 1023.98px) { .pakete-grid { grid-template-columns: 1fr; } }
|
||||
|
||||
.ablauf { padding: 60px 0; border-top: 1px solid var(--linie); }
|
||||
.ablauf-grid {
|
||||
display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
|
||||
}
|
||||
.schritt .nummer {
|
||||
font-size: 14px; color: var(--text-leise); display: block; margin-bottom: 12px;
|
||||
}
|
||||
.schritt p { font-size: 16px; color: var(--text-gedaempft); margin-top: 8px; }
|
||||
@media (max-width: 809.98px) { .ablauf-grid { grid-template-columns: 1fr; } }
|
||||
|
||||
.abschluss { padding: 90px 0 110px; text-align: center; }
|
||||
.abschluss h2 { max-width: 640px; margin: 0 auto; }
|
||||
.abschluss .button { margin-top: 32px; }
|
||||
|
||||
/* ---------- Footer ---------- */
|
||||
.footer { border-top: 1px solid var(--linie); padding: 60px 0 140px; }
|
||||
.footer-grid {
|
||||
display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
|
||||
}
|
||||
.footer h4 { font-size: 14px; margin-bottom: 14px; }
|
||||
.footer ul { list-style: none; }
|
||||
.footer li { margin-bottom: 8px; }
|
||||
.footer a { font-size: 16px; color: var(--text-gedaempft); transition: color 0.2s ease-out; }
|
||||
.footer a:hover { color: var(--text); }
|
||||
.footer-credit { font-size: 14px; color: var(--text-leise); margin-top: 48px; }
|
||||
.footer-credit a { font-size: 14px; }
|
||||
|
||||
/* ---------- Sanftes Einblenden beim Scrollen (wie im Export: nach oben + Opazität) ---------- */
|
||||
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
|
||||
.reveal.sichtbar { opacity: 1; transform: none; }
|
||||
|
||||
/* ---------- Lande-Animation beim Seitenaufruf (Easing + Dauer wie die Erscheinen-Effekte des Exports) ---------- */
|
||||
.landen {
|
||||
opacity: 0; transform: translateY(40px);
|
||||
animation: landen 2s cubic-bezier(0.56, 0.22, 0.05, 0.99) forwards;
|
||||
}
|
||||
@keyframes landen {
|
||||
to { opacity: 1; transform: none; }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.reveal { opacity: 1; transform: none; transition: none; }
|
||||
.dock { transition: none; }
|
||||
.landen { opacity: 1; transform: none; animation: none; }
|
||||
}
|
||||
|
||||
/* ==================== LANDUNG (normale Startseite) ==================== */
|
||||
|
||||
.landung .hero { padding: 90px 0 40px; }
|
||||
.landung .hero h1 {
|
||||
font-size: clamp(40px, 6vw, 72px);
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.05em;
|
||||
line-height: 1.05;
|
||||
margin: 18px 0 18px;
|
||||
}
|
||||
.landung .hero .gedaempft { max-width: 560px; }
|
||||
|
||||
.auszug { padding: 30px 0 70px; }
|
||||
.auszug-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 14px;
|
||||
margin-bottom: 36px;
|
||||
}
|
||||
.auszug-grid img {
|
||||
width: 100%;
|
||||
height: 280px;
|
||||
object-fit: cover;
|
||||
border-radius: var(--radius-karte);
|
||||
transition: transform 0.2s ease-out;
|
||||
}
|
||||
.auszug-grid a:hover img { transform: scale(1.02); }
|
||||
|
||||
.zeilen { padding-bottom: 90px; }
|
||||
.zeile {
|
||||
display: flex; justify-content: space-between; align-items: baseline;
|
||||
border-top: 1px solid var(--linie);
|
||||
padding: 22px 0;
|
||||
color: var(--text-leise);
|
||||
font-size: 16px;
|
||||
transition: color 0.2s ease-out;
|
||||
}
|
||||
.zeile b { color: var(--text); font-size: 20px; font-weight: 600; letter-spacing: -0.04em; }
|
||||
.zeile:hover { color: var(--text); }
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.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; }
|
||||
|
||||
/* ==================== FALLBACKS ====================
|
||||
- .kein-js: steht im HTML und wird von tiefenflug.js entfernt;
|
||||
ohne JS bleibt sie stehen und das Intro verschwindet.
|
||||
- .ohne-intro: setzt tiefenflug.js bei prefers-reduced-motion.
|
||||
- mobil: weniger schwebende Fotos (data-mobil="aus"). */
|
||||
|
||||
.kein-js .flug-strecke,
|
||||
.ohne-intro .flug-strecke { display: none; }
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.flug-foto img, .flug-hinweis { animation: none; }
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.flug-foto[data-mobil="aus"] { display: none; }
|
||||
.flug-strecke { height: 380vh; }
|
||||
.flug-name { -webkit-text-stroke-width: 1px; }
|
||||
}
|
||||
@@ -0,0 +1,139 @@
|
||||
// Steuert das Intro „Tiefenflug" auf start-2.html.
|
||||
//
|
||||
// Prinzip: Die Seite hat oben eine hohe Scroll-Strecke (#flug-strecke) mit
|
||||
// festgehefteter Bühne. Der Scroll-Fortschritt (0..1) wird in eine
|
||||
// Kamerafahrt übersetzt: vorwärts (Z), seitliches Ausscheren (X, Sinus),
|
||||
// am Ende Sinkflug (Y) hinab zum Preis-Moment. Werte/Dramaturgie laut Spec
|
||||
// docs/superpowers/specs/2026-06-11-startseite-tiefenflug-design.md.
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
// JS läuft → Fallback-Klasse entfernen (CSS blendet das Intro sonst aus)
|
||||
document.documentElement.classList.remove('kein-js');
|
||||
|
||||
var strecke = document.getElementById('flug-strecke');
|
||||
if (!strecke) return;
|
||||
|
||||
// Reduzierte Bewegung: Intro überspringen, normale Seite direkt zeigen
|
||||
if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
|
||||
document.documentElement.classList.add('ohne-intro');
|
||||
return;
|
||||
}
|
||||
|
||||
var buehne = document.getElementById('flug-buehne');
|
||||
var name = document.getElementById('flug-name');
|
||||
var preis = document.getElementById('preis');
|
||||
var hinweis = document.getElementById('flug-hinweis');
|
||||
var geister = [].slice.call(buehne.querySelectorAll('.geist'));
|
||||
var fotos = [].slice.call(buehne.querySelectorAll('.flug-foto'))
|
||||
.filter(function (f) { return f.offsetParent !== null; }); // mobil ausgeblendete überspringen
|
||||
|
||||
var FLUG_TIEFE = 1650; // px, die die Kamera nach vorn fliegt
|
||||
var FLUG_ENDE = 0.72; // Anteil der Strecke, ab dem der Preis-Moment beginnt
|
||||
var SCHWENK = 130; // px seitliches Ausscheren (rechts, dann links)
|
||||
var SINKFLUG = 190; // px Sinkflug am Ende
|
||||
var GEIST_FENSTER = [[0.10, 0.30], [0.30, 0.50], [0.50, 0.68]];
|
||||
|
||||
var eingerastet = false; // Feature: einmal durch = kein Rückflug bis zum Neuladen
|
||||
var konfettiAb = false;
|
||||
var mausX = 0, mausY = 0;
|
||||
|
||||
var kanone = null;
|
||||
if (window.confetti) {
|
||||
kanone = window.confetti.create(document.getElementById('konfetti'), { resize: true });
|
||||
}
|
||||
|
||||
function maxScroll() {
|
||||
return strecke.offsetHeight - window.innerHeight;
|
||||
}
|
||||
|
||||
// Dreiecksfenster: 0 → 1 → 0 zwischen von..bis (weich rein, weich raus)
|
||||
function fenster01(p, von, bis) {
|
||||
if (p <= von || p >= bis) return 0;
|
||||
var t = (p - von) / (bis - von);
|
||||
return t < 0.5 ? t * 2 : (1 - t) * 2;
|
||||
}
|
||||
|
||||
function zeichnen() {
|
||||
var fortschritt = Math.min(window.scrollY / maxScroll(), 1);
|
||||
var flug = Math.min(fortschritt / FLUG_ENDE, 1);
|
||||
var kamZ = flug * FLUG_TIEFE;
|
||||
|
||||
// Flugbahn: rechts → links ausscheren (endet mittig), am Ende sinken
|
||||
var kamX = Math.sin(flug * Math.PI * 2) * SCHWENK;
|
||||
var sinkT = Math.max(0, (flug - 0.7) / 0.3);
|
||||
var kamY = sinkT * sinkT * SINKFLUG;
|
||||
var kurve = -kamX / SCHWENK * 2.5; // leichtes Gegen-Kippen in der Kurve
|
||||
|
||||
fotos.forEach(function (foto) {
|
||||
var z = parseFloat(foto.dataset.z) + kamZ;
|
||||
var x = parseFloat(foto.dataset.x) - kamX + mausX * 14;
|
||||
var y = parseFloat(foto.dataset.y) - kamY + mausY * 10;
|
||||
var deckkraft = 1;
|
||||
if (z > 260) deckkraft = Math.max(0, 1 - (z - 260) / 160); // passiert → ausblenden
|
||||
foto.style.opacity = deckkraft;
|
||||
foto.style.visibility = deckkraft === 0 ? 'hidden' : 'visible';
|
||||
foto.style.transform =
|
||||
'translate(-50%, -50%) translate3d(' + x + 'px,' + y + 'px,' + z + 'px)' +
|
||||
' rotateY(' + foto.dataset.kipp + 'deg) rotateZ(' + kurve + 'deg)';
|
||||
});
|
||||
|
||||
// Name: Buchstabenabstand zieht sich zusammen, wächst leicht, Parallaxe
|
||||
var abstand = 18 - flug * 16;
|
||||
var deckkraftName = flug < 0.8 ? 1 : Math.max(0, 1 - (flug - 0.8) / 0.15);
|
||||
name.style.letterSpacing = abstand + 'px';
|
||||
name.style.opacity = deckkraftName;
|
||||
name.style.transform =
|
||||
'translate(-50%, -50%) translate(' + (-kamX * 0.35) + 'px,' + (-kamY * 0.35) + 'px)' +
|
||||
' scale(' + (1 + flug * 0.35) + ')';
|
||||
|
||||
// Verlaufs-Bilder abwechselnd einblenden
|
||||
geister.forEach(function (geist, i) {
|
||||
var f = GEIST_FENSTER[i] || [0, 0];
|
||||
geist.style.opacity = fenster01(fortschritt, f[0], f[1]) * 0.5;
|
||||
});
|
||||
|
||||
// Preis-Moment: steigt von unten herauf, dann Konfetti
|
||||
var preisDa = Math.max(0, Math.min((fortschritt - FLUG_ENDE) / 0.08, 1));
|
||||
var weich = 1 - Math.pow(1 - preisDa, 3); // ease-out
|
||||
preis.style.opacity = preisDa;
|
||||
preis.style.transform =
|
||||
'translateY(' + ((1 - weich) * 38) + 'vh) scale(' + (0.92 + weich * 0.08) + ')';
|
||||
if (preisDa >= 1 && !konfettiAb && kanone) {
|
||||
konfettiAb = true;
|
||||
kanone({ particleCount: 90, spread: 75, origin: { y: 0.35 },
|
||||
colors: ['#c9a227', '#f3d27a', '#ffffff', '#121212'] });
|
||||
setTimeout(function () {
|
||||
kanone({ particleCount: 50, spread: 100, origin: { y: 0.3 },
|
||||
colors: ['#c9a227', '#f3d27a', '#ffffff'] });
|
||||
}, 350);
|
||||
}
|
||||
|
||||
hinweis.style.opacity = fortschritt > 0.05 ? 0 : '';
|
||||
}
|
||||
|
||||
window.addEventListener('scroll', function () {
|
||||
var max = maxScroll();
|
||||
// Einrasten: Wer den Flug beendet hat, kommt höchstens bis zum
|
||||
// Preis-Moment zurück – der Flug startet erst beim Neuladen wieder.
|
||||
if (!eingerastet && window.scrollY >= max) eingerastet = true;
|
||||
if (eingerastet && window.scrollY < max) {
|
||||
window.scrollTo(0, max);
|
||||
return;
|
||||
}
|
||||
zeichnen();
|
||||
}, { passive: true });
|
||||
|
||||
window.addEventListener('resize', zeichnen);
|
||||
|
||||
// Maus-Parallaxe nur auf Geräten mit Zeiger
|
||||
if (window.matchMedia('(pointer: fine)').matches) {
|
||||
buehne.addEventListener('mousemove', function (e) {
|
||||
mausX = e.clientX / window.innerWidth - 0.5;
|
||||
mausY = e.clientY / window.innerHeight - 0.5;
|
||||
zeichnen();
|
||||
});
|
||||
}
|
||||
|
||||
zeichnen();
|
||||
})();
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Minified by jsDelivr using Terser v5.37.0.
|
||||
* Original file: /npm/canvas-confetti@1.9.3/dist/confetti.browser.js
|
||||
*
|
||||
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
||||
*/
|
||||
!function(t,e){!function t(e,a,n,r){var o=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL),i="function"==typeof Path2D&&"function"==typeof DOMMatrix,l=function(){if(!e.OffscreenCanvas)return!1;var t=new OffscreenCanvas(1,1),a=t.getContext("2d");a.fillRect(0,0,1,1);var n=t.transferToImageBitmap();try{a.createPattern(n,"no-repeat")}catch(t){return!1}return!0}();function s(){}function c(t){var n=a.exports.Promise,r=void 0!==n?n:e.Promise;return"function"==typeof r?new r(t):(t(s,s),null)}var h,f,u,d,m,g,p,b,M,v,y,w=(h=l,f=new Map,{transform:function(t){if(h)return t;if(f.has(t))return f.get(t);var e=new OffscreenCanvas(t.width,t.height);return e.getContext("2d").drawImage(t,0,0),f.set(t,e),e},clear:function(){f.clear()}}),x=(m=Math.floor(1e3/60),g={},p=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(u=function(t){var e=Math.random();return g[e]=requestAnimationFrame((function a(n){p===n||p+m-1<n?(p=n,delete g[e],t()):g[e]=requestAnimationFrame(a)})),e},d=function(t){g[t]&&cancelAnimationFrame(g[t])}):(u=function(t){return setTimeout(t,m)},d=function(t){return clearTimeout(t)}),{frame:u,cancel:d}),C=(v={},function(){if(b)return b;if(!n&&o){var e=["var CONFETTI, SIZE = {}, module = {};","("+t.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{b=new Worker(URL.createObjectURL(new Blob([e])))}catch(t){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",t),null}!function(t){function e(e,a){t.postMessage({options:e||{},callback:a})}t.init=function(e){var a=e.transferControlToOffscreen();t.postMessage({canvas:a},[a])},t.fire=function(a,n,r){if(M)return e(a,null),M;var o=Math.random().toString(36).slice(2);return M=c((function(n){function i(e){e.data.callback===o&&(delete v[o],t.removeEventListener("message",i),M=null,w.clear(),r(),n())}t.addEventListener("message",i),e(a,o),v[o]=i.bind(null,{data:{callback:o}})}))},t.reset=function(){for(var e in t.postMessage({reset:!0}),v)v[e](),delete v[e]}}(b)}return b}),I={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function T(t,e,a){return function(t,e){return e?e(t):t}(t&&null!=t[e]?t[e]:I[e],a)}function E(t){return t<0?0:Math.floor(t)}function P(t){return parseInt(t,16)}function S(t){return t.map(O)}function O(t){var e=String(t).replace(/[^0-9a-f]/gi,"");return e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),{r:P(e.substring(0,2)),g:P(e.substring(2,4)),b:P(e.substring(4,6))}}function k(t){t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight}function B(t){var e=t.getBoundingClientRect();t.width=e.width,t.height=e.height}function F(t,e){e.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.velocity*=e.decay,e.flat?(e.wobble=0,e.wobbleX=e.x+10*e.scalar,e.wobbleY=e.y+10*e.scalar,e.tiltSin=0,e.tiltCos=0,e.random=1):(e.wobble+=e.wobbleSpeed,e.wobbleX=e.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.y+10*e.scalar*Math.sin(e.wobble),e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+2);var a=e.tick++/e.totalTicks,n=e.x+e.random*e.tiltCos,r=e.y+e.random*e.tiltSin,o=e.wobbleX+e.random*e.tiltCos,l=e.wobbleY+e.random*e.tiltSin;if(t.fillStyle="rgba("+e.color.r+", "+e.color.g+", "+e.color.b+", "+(1-a)+")",t.beginPath(),i&&"path"===e.shape.type&&"string"==typeof e.shape.path&&Array.isArray(e.shape.matrix))t.fill(function(t,e,a,n,r,o,i){var l=new Path2D(t),s=new Path2D;s.addPath(l,new DOMMatrix(e));var c=new Path2D;return c.addPath(s,new DOMMatrix([Math.cos(i)*r,Math.sin(i)*r,-Math.sin(i)*o,Math.cos(i)*o,a,n])),c}(e.shape.path,e.shape.matrix,e.x,e.y,.1*Math.abs(o-n),.1*Math.abs(l-r),Math.PI/10*e.wobble));else if("bitmap"===e.shape.type){var s=Math.PI/10*e.wobble,c=.1*Math.abs(o-n),h=.1*Math.abs(l-r),f=e.shape.bitmap.width*e.scalar,u=e.shape.bitmap.height*e.scalar,d=new DOMMatrix([Math.cos(s)*c,Math.sin(s)*c,-Math.sin(s)*h,Math.cos(s)*h,e.x,e.y]);d.multiplySelf(new DOMMatrix(e.shape.matrix));var m=t.createPattern(w.transform(e.shape.bitmaLine truncated
|
||||
//# sourceMappingURL=/sm/0e9ac22f62a550282b886b288da51d7892173a94bbd286c2ffc6e7b881509c88.map
|
||||
@@ -0,0 +1,196 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de" class="kein-js">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>Leon Tonhäuser | Sport- & Eventfotografie</title>
|
||||
<meta name="description" content="Sport- und Eventfotografie: Emotionen, Momente und die Energie des Sports – Portfolio von Leon Tonhäuser.">
|
||||
<link href="assets/images_TjoYzMAQxwv1bHENgPbqipmQUU.png" rel="icon">
|
||||
<link rel="apple-touch-icon" href="assets/images_TjoYzMAQxwv1bHENgPbqipmQUU.png">
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CC4TX68365"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){window.dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-CC4TX68365');
|
||||
</script>
|
||||
|
||||
<!-- Inter: exakt dieselben Schriftdateien wie der Framer-Export -->
|
||||
<style>
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/hyOgCu0Xnghbimh0pE8QTvtt2AU.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/NeGmSOXrPBfEFIy5YZeHq17LEDA.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116 }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/oYaAX5himiTPYuN8vLWnqBbfD2s.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+1F00-1FFF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/lEJLP4R0yuCaMCjSXYHtJw72M.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0370-03FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/yDtI2UI8XcEg1W2je9XPN3Noo.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/A0Wcc7NgXMjUuFdquHDrIZpzZw0.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116 }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+1F00-1FFF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0370-03FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/5A3Ce6C9YYmCjpQx9M4inSaKU.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/Qx95Xyt0Ka3SGhinnbXIGpEIyP4.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116 }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/6mJuEAguuIuMog10gGvH5d3cl8.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+1F00-1FFF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/xYYWaj7wCU5zSQH0eXvSaS19wo.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0370-03FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/otTaNuNpVK4RbdlT7zDDdKvQBA.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/UjlFhCnUjxhNfep4oYBPqnEssyo.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/DolVirEGb34pEXEp8t8FQBSK4.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/d3tHnaQIAeqiE5hGcRw4mmgWYU.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
|
||||
@font-face { font-family: "Inter Placeholder"; src: local("Arial"); ascent-override: 89.79%; descent-override: 22.36%; line-gap-override: 0.00%; size-adjust: 107.89% }
|
||||
</style>
|
||||
|
||||
<!-- Fragment Mono für Monospace-Akzente (Preis-Schriftzug) -->
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/tiefenflug.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- ==================== 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,
|
||||
damit die Seite zum Rest des Auftritts passt. -->
|
||||
<header class="topbar landen">
|
||||
<a class="topbar-name" href="./">
|
||||
<strong>Leon Tonhäuser</strong>
|
||||
<span>Sportfotograf</span>
|
||||
</a>
|
||||
<a class="topbar-logo" href="./" aria-label="Startseite">
|
||||
<!-- schwarze Logo-Variante (die weiße ist für dunkle Hintergründe, z. B. im Dock) -->
|
||||
<img src="assets/images_TjoYzMAQxwv1bHENgPbqipmQUU.png" alt="Leon Tonhäuser Logo" width="50" height="50">
|
||||
</a>
|
||||
<a class="button" href="./kontakt">Kontakt</a>
|
||||
</header>
|
||||
|
||||
<nav class="dock" id="dock" aria-label="Hauptnavigation">
|
||||
<a class="dock-logo" href="./" aria-label="Startseite">
|
||||
<img src="assets/images_dE8z6bELH3tvktgnLYQzqdIIl4.png" alt="Leon Tonhäuser Logo" width="38" height="38">
|
||||
</a>
|
||||
<div class="dock-links" id="dock-links">
|
||||
<a href="./portfolio">Portfolio</a>
|
||||
<a href="./blog">Blog</a>
|
||||
<a href="./über-mich">Über mich</a>
|
||||
<a href="./leistungen">Leistungen</a>
|
||||
<a href="./kontakt">Kontakt</a>
|
||||
<a href="https://shop.tonhaeuser.cloud" target="_blank" rel="noopener">Shop</a>
|
||||
</div>
|
||||
<button class="dock-burger" aria-label="Menü öffnen" aria-expanded="false" aria-controls="dock-links"
|
||||
onclick="document.getElementById('dock').classList.toggle('offen');this.setAttribute('aria-expanded',document.getElementById('dock').classList.contains('offen'))">
|
||||
<span></span><span></span>
|
||||
</button>
|
||||
</nav>
|
||||
|
||||
<main class="landung" id="landung">
|
||||
<section class="hero">
|
||||
<div class="container">
|
||||
<span class="pill">Sport- & Eventfotografie</span>
|
||||
<h1>Emotionen. Momente.<br>Die Energie des Sports.</h1>
|
||||
<p class="gedaempft">
|
||||
Ich fotografiere Sport und Events – vom Bundesliga-Spieltag bis zur
|
||||
Firmenfeier. Hier findest du meine Arbeit, meine Leistungen und den
|
||||
direkten Draht zu mir.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="auszug">
|
||||
<div class="container">
|
||||
<div class="auszug-grid">
|
||||
<!-- PLATZHALTER-Bilder: Leon tauscht die Dateinamen später aus -->
|
||||
<a href="./portfolio"><img src="assets/images_iigWdDFCf8T2QM3an2as12jCnQ.jpg" alt="Sportfoto" loading="lazy"></a>
|
||||
<a href="./portfolio"><img src="assets/images_JXsl9En2J7M7cX6lyo3A3oCyI.jpg" alt="Sportfoto" loading="lazy"></a>
|
||||
<a href="./portfolio"><img src="assets/images_NsguBJT0K3lVp51PO9BwTikd37I.jpg" alt="Eventfoto" loading="lazy"></a>
|
||||
</div>
|
||||
<a class="button" href="./kontakt">Kontakt aufnehmen</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="zeilen">
|
||||
<div class="container">
|
||||
<a class="zeile" href="./portfolio"><b>Portfolio</b><span>Sport / Events →</span></a>
|
||||
<a class="zeile" href="./leistungen"><b>Leistungen</b><span>Pakete & Ablauf →</span></a>
|
||||
<a class="zeile" href="./über-mich"><b>Über mich</b><span>Person & Auszeichnungen →</span></a>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<div class="footer-grid">
|
||||
<a class="topbar-name" href="./">
|
||||
<strong>Leon Tonhäuser</strong>
|
||||
<span>Sportfotograf</span>
|
||||
</a>
|
||||
<div>
|
||||
<h4>Seiten</h4>
|
||||
<ul>
|
||||
<li><a href="./">Home</a></li>
|
||||
<li><a href="./portfolio">Portfolio</a></li>
|
||||
<li><a href="./blog">Blog</a></li>
|
||||
<li><a href="./über-mich">Über mich</a></li>
|
||||
<li><a href="./leistungen">Leistungen</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Informationen</h4>
|
||||
<ul>
|
||||
<li><a href="./kontakt">Kontakt</a></li>
|
||||
<li><a href="./datenschutz">Datenschutz</a></li>
|
||||
<li><a href="./impressum">Impressum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p class="footer-credit">
|
||||
Created by <a href="https://hxmzaehsan.com" target="_blank" rel="noopener">Hamza Ehsan</a>
|
||||
© 2025 | Edited by Leon Tonhäuser
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="custom/vendor/canvas-confetti.min.js"></script>
|
||||
<script src="custom/tiefenflug.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user