From 4d91b62ba678f2ba8dcaf9186dcb92dd7c0df20c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Tonh=C3=A4user?= Date: Wed, 17 Jun 2026 14:28:49 +0200 Subject: [PATCH 1/5] =?UTF-8?q?docs:=20=C3=9Cber-mich-Portr=C3=A4t-Design?= =?UTF-8?q?=20(Bild=20+=20Animation)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2026-06-17-ueber-mich-portrait-design.md | 202 ++++++++++++++++++ 1 file changed, 202 insertions(+) create mode 100644 docs/superpowers/specs/2026-06-17-ueber-mich-portrait-design.md diff --git a/docs/superpowers/specs/2026-06-17-ueber-mich-portrait-design.md b/docs/superpowers/specs/2026-06-17-ueber-mich-portrait-design.md new file mode 100644 index 0000000..054c308 --- /dev/null +++ b/docs/superpowers/specs/2026-06-17-ueber-mich-portrait-design.md @@ -0,0 +1,202 @@ +# Über-mich-Porträt — Design + +**Datum:** 2026-06-17 +**Status:** Abgestimmt +**Branch:** `feature/site-redesign` + +## Ziel + +Auf der Seite `über-mich.html` wird im Hero-Bereich ein Porträt von Leon Tonhäuser ergänzt — rechts neben dem bestehenden Einleitungstext, eingerahmt mit dem Gold-Akzent der Site, in Graustufen mit Hover-Animation zu Farbe. Das Bild ist ein bestehendes Asset aus `public/assets/`, das per EXIF einem anderen Fotografen zugeordnet ist; dieser Credit wird sichtbar als `
` ausgewiesen. + +## Architektur + +Eine neue Komponente `.portrait-hero` in `public/über-mich.html`. Reine CSS-Lösung — keine JS-Änderungen, keine neuen Dependencies. Bild wird als zusätzliche Web-optimierte Variante angelegt; das Original bleibt unangetastet. + +### Komponenten-Übersicht + +| Komponente | Datei | Verantwortlichkeit | +|---|---|---| +| Web-Bild | `public/assets/Bild_Leon-web.jpg` (NEU) | 800px breit, JPEG q=82, EXIF gestrippt, ~150 KB | +| HTML-Markup | `public/über-mich.html` (MODIFY) | `
` am Anfang von `
` | +| CSS-Regeln | `public/custom/site.css` (MODIFY) | `.portrait-hero` Block: Float, Rahmen, Hover-Transitions, Mobile-Override | + +### Was wird NICHT angefasst + +- `public/custom/transitions.js` (Reveal-Pattern wird wiederverwendet, keine Änderung nötig) +- `public/custom/seo-config.js` / `seo.js` (kein neuer Page-Eintrag nötig) +- `public/assets/Bild_Leon.JPG` (Original bleibt, EXIF bleibt, LFS-Eintrag unverändert) +- Andere 20 HTML-Seiten + +## Komponenten-Detail + +### 1. Bild-Generierung + +**Input:** `public/assets/Bild_Leon.JPG` (4 579 846 Bytes, 4002×6000, EXIF Copyright "Panthjeet Lucky Singh - ptjtluckys_pictures") +**Output:** `public/assets/Bild_Leon-web.jpg` (≤ 200 KB, 800px breit, EXIF gestrippt) + +**Tool-Wahl (Vor-Check in der Implementierung):** +1. `sips` ist verfügbar (macOS Default, immer da) → nutze `sips` +2. Wenn nicht: Pillow-Check `python3 -c "import PIL; print('ok')"`. Falls ok, Pillow-Script. Falls nicht ok: User informieren. + +**Mit sips:** +```bash +sips -Z 800 --setProperty format jpeg --setProperty formatOptions 82 \ + public/assets/Bild_Leon.JPG --out public/assets/Bild_Leon-web.jpg +``` + +**Mit Pillow** (in `tools/build_web_assets.py`): +```python +from PIL import Image +img = Image.open('public/assets/Bild_Leon.JPG') +w, h = img.size +img = img.resize((800, int(800 * h / w)), Image.LANCZOS) +img.save('public/assets/Bild_Leon-web.jpg', 'JPEG', quality=82, optimize=True) +# EXIF wird beim Resize+Save nicht automatisch gestrippt; konservativ: +# img.save(...) ohne exif-Argument schreibt nur die Basis-Tags +``` + +Bevorzugt: `sips` — keine neue Datei, keine neue Dependency, läuft im macOS-Terminal ohne Setup. Pillow-Fallback nur wenn `sips` fehlt (Linux-CI, etc.). + +### 2. HTML-Markup + +Eingefügt am Anfang von `
` in `public/über-mich.html`, **vor** dem bestehenden Hero-Absatz (`.page-hero` oder vergleichbar). Der bestehende Hero-Text rutscht durch CSS-Float automatisch nach links. + +```html +
+ Leon Tonhäuser, Sportfotograf +
Foto: Panthjeet Lucky Singh – ptjtluckys_pictures
+
+``` + +**Attribute-Begründung:** +- `alt="Leon Tonhäuser, Sportfotograf"` — beschreibend, SEO-tauglich (Leon Tonhäuser ist im Title der Seite, doppelt nennen ist OK) +- `loading="eager"` — above the fold, kein Lazy-Load gewünscht +- `width="800" height="1200"` — verhindert Layout-Shift, korrekte Aspect-Ratio 2:3 + +### 3. CSS-Regeln + +In `public/custom/site.css` am Ende des Reveal-Animation-Blocks (nach Zeile 216 `.einblenden.sichtbar`): + +```css +.portrait-hero { + margin: 0 0 32px; + float: right; + width: 320px; + max-width: 40%; + shape-outside: margin-box; +} +.portrait-hero img { + display: block; + width: 100%; + height: auto; + border-radius: 12px; + border: 2px solid var(--akzent-gold); + box-shadow: 0 8px 24px rgba(0,0,0,0.12); + filter: grayscale(100%); + transition: filter 0.6s ease-out, transform 0.4s ease-out; +} +.portrait-hero:hover img, +.portrait-hero:focus-within img { + filter: grayscale(0%); + transform: scale(1.03); +} +.portrait-hero figcaption { + margin-top: 10px; + font-size: 12px; + letter-spacing: 0.4px; + color: var(--text-leise); + text-align: right; +} +@media (max-width: 720px) { + .portrait-hero { + float: none; + width: 100%; + max-width: 320px; + margin: 0 auto 32px; + } +} +``` + +**Bestehende CSS-Variablen genutzt:** `--akzent-gold` (Gold-Akzent), `--text-leise` (gedämpfter Caption-Text). Beide sind in `:root` (Z. 11–20) definiert. + +**Reveal-Pattern:** `.reveal` (Z. 175) macht das Bild initially unsichtbar und faded es via IntersectionObserver ein. Der bestehende `transitions.js`-Code erkennt `.reveal`-Klassen automatisch — keine JS-Änderung. + +## Datenfluss + +1. Browser lädt `über-mich.html` (HTTP 200, gecached nach erstem Request) +2. CSS `site.css` wird mitgeladen, `.portrait-hero`-Regeln sind aktiv +3. `` triggert eager-Load von `Bild_Leon-web.jpg` (~150 KB) +4. `transitions.js` registriert `.reveal`-Element via IntersectionObserver +5. Sobald `
` in den Viewport kommt: `.sichtbar`-Klasse wird gesetzt → opacity 1, transform none +6. CSS `:hover` / `:focus-within` triggert: `filter: grayscale(0)` + `transform: scale(1.03)` +7. Beim Verlassen: Rückanimation zu grayscale(100%) + scale(1) + +## Edge-Cases + +| Fall | Verhalten | +|---|---| +| Bild fehlt / 404 | `
` ist sichtbar, Gold-Rahmen bleibt sichtbar als leerer Container. Keine JS-Error. | +| Browser unterstützt kein `filter: grayscale` | Filter wird ignoriert, Bild erscheint direkt in Farbe. Kein Layout-Shift. | +| Sehr schmale Viewports (< 400px) | `max-width: 320px` greift, Bild bleibt proportional | +| Hochformat-Tablet (768×1024) | `max-width: 720px` greift nicht, `float: right` mit `max-width: 40%` — passt | +| User mit `prefers-reduced-motion: reduce` | CSS-Transitions werden vom Browser automatisch reduziert. `transform: scale(1.03)` entfällt visuell. Graustufen-Wechsel bleibt (kein motion-relevant). | +| EXIF-Copyright | `
` macht den Credit sichtbar, unabhängig von Bild-Eigenschaften | +| Bild sehr langsam ladend | `width`/`height`-Attribute reservieren Layout-Slot — kein CLS-Shift | + +## Accessibility + +- `alt="Leon Tonhäuser, Sportfotograf"` — beschreibend, SEO-tauglich +- `
` ist semantisch korrekt mit `
` verknüpft +- `:focus-within` löst die Farb-Animation auch bei Tastatur-Navigation aus +- Kein `aria-hidden` — Bild ist Inhalt, nicht Deko +- Kontrast Caption-Text (`--text-leise: #667085`) auf weißem Hintergrund ≥ 4.5:1 ✓ + +## SEO-Impact + +Null. Die Seite ist bereits in `seo-config.js` mit `'/über-mich'` als PAGES-Eintrag gemappt (siehe Task 1). Das Bild erscheint nur in `
` innerhalb des bestehenden Hero-Bereichs — kein neuer Page-Map-Eintrag nötig, kein neuer Structured-Data-Block. + +## Tests + +### Manuelle Browser-Verifikation + +| Test | Erwartung | +|---|---| +| `http://localhost:8002/über-mich` laden | Bild erscheint rechts neben Hero-Text, Graustufen | +| Über das Bild hovern | Bild wechselt zu Farbe, zoomt 1.03x sanft (0.4s) | +| Maus weg | Bild kehrt zu Graustufen + Originalgröße zurück (0.6s filter, 0.4s transform) | +| Tab-Taste zum Bild | `:focus-within` löst Farb-Wechsel aus (Tastatur-Test) | +| Viewport auf 600px Breite ziehen | Bild wird zentriert unter Text, max 320px breit | +| DevTools → Emulate reduced motion | Transitions werden instant, kein Zoom-Effekt | +| Browser-Devtools → 404 für `Bild_Leon-web.jpg` simulieren | Gold-Rahmen bleibt sichtbar, `
` wird angezeigt, keine JS-Error | +| Lighthouse Performance | Kein LCP-Impact, kein CLS-Shift | + +### Build-Tests + +1. **Bild-Generierung:** `ls -la public/assets/Bild_Leon-web.jpg` zeigt Datei ≤ 200 KB, `file public/assets/Bild_Leon-web.jpg` zeigt JPEG. +2. **HTML-Validierung:** `grep -c "portrait-hero" public/über-mich.html` → 1 (genau ein Vorkommen) +3. **CSS-Validierung:** `grep -c "portrait-hero" public/custom/site.css` → ≥ 1 +4. **EXIF-Strip:** `sips -g all public/assets/Bild_Leon-web.jpg` zeigt keine Copyright-EXIF-Tags + +### Headless-Test (optional, Puppeteer) + +Falls Puppeteer-Setup vorhanden: +- Lade `http://localhost:8003/über-mich` +- Assert: `.portrait-hero img.naturalWidth > 0` (Bild erfolgreich geladen) +- Assert: computed `filter` enthält `grayscale(1)` im Initial-State +- Assert: `
` enthält "Panthjeet Lucky Singh" + +## Out of Scope + +- Andere Seiten als `über-mich.html` bekommen das Bild nicht +- Kein neues `PAGES`-Eintrag in `seo-config.js` +- Kein Lightbox / Klick-Vergrößerung +- Kein zweites Bild (z. B. "behind the scenes") +- Kein automatisierter Build-Step für `sips` (manueller Aufruf, einmalig) +- Kein `Pillow`-Requirement in `requirements.txt` (nutzt `sips`, das macOS-nativ ist) + +## Annahmen + +- macOS-Entwicklungsumgebung (wegen `sips`) +- `public/assets/Bild_Leon.JPG` ist das gewünschte Bild (EXIF-Copyright bestätigt durch Leon in Brainstorming) +- LFS-Tracking für `Bild_Leon.JPG` bleibt; Web-Variante wird nicht via LFS erfasst (≤ 200 KB, kleiner als LFS-Threshold) +- Bestehende `.reveal`-IntersectionObserver-Logik in `transitions.js` funktioniert ohne Anpassung From f2312ac7ef2f7f09e4b8972088f25751e923f704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Tonh=C3=A4user?= Date: Wed, 17 Jun 2026 14:30:49 +0200 Subject: [PATCH 2/5] =?UTF-8?q?docs:=20Implementierungs-Plan=20f=C3=BCr=20?= =?UTF-8?q?=C3=9Cber-mich-Portr=C3=A4t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plans/2026-06-17-ueber-mich-portrait.md | 353 ++++++++++++++++++ 1 file changed, 353 insertions(+) create mode 100644 docs/superpowers/plans/2026-06-17-ueber-mich-portrait.md diff --git a/docs/superpowers/plans/2026-06-17-ueber-mich-portrait.md b/docs/superpowers/plans/2026-06-17-ueber-mich-portrait.md new file mode 100644 index 0000000..803d80d --- /dev/null +++ b/docs/superpowers/plans/2026-06-17-ueber-mich-portrait.md @@ -0,0 +1,353 @@ +# Über-mich-Porträt Implementation Plan + +> **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. + +**Goal:** Porträt-Bild von Leon Tonhäuser in den Hero-Bereich der `über-mich.html` einbauen, mit Gold-Akzent-Rahmen und Graustufen-Hover-Animation. EXIF-Copyright "Panthjeet Lucky Singh - ptjtluckys_pictures" als `
` sichtbar. + +**Architecture:** Reine CSS-Lösung. Eine neue Web-Bild-Variante (`Bild_Leon-web.jpg`, 800px, ~150 KB) wird per `sips` aus dem Original erzeugt. Ein neues `
` wird in `über-mich.html` vor dem bestehenden Hero-Text eingefügt. CSS-Regeln für `.portrait-hero` werden in `site.css` ergänzt — Float rechts, Gold-Rahmen, Graustufen-Filter mit Hover-Transition zu Farbe + scale(1.03), Mobile-Override bei 720px. Reveal-Animation wird vom bestehenden `transitions.js`-IntersectionObserver wiederverwendet. + +**Tech Stack:** macOS-natives `sips` (Bild-Optimierung), Vanilla HTML + CSS, kein JS, kein neues Build-Tool. + +**Spec:** `docs/superpowers/specs/2026-06-17-ueber-mich-portrait-design.md` + +## Global Constraints + +- **Branch:** `feature/site-redesign` (nie direkt auf `main`). +- **Commit-Sprache:** Deutsch, Imperativ, Conventional-Commits-Präfix (`feat:`, `fix:`, `docs:`, `chore:`). +- **Sprache:** Deutsch (`` bereits gesetzt). +- **Original-Asset unangetastet:** `public/assets/Bild_Leon.JPG` bleibt in voller Auflösung + mit EXIF. Nur Web-Variante daneben. +- **Kein neues JS:** Reveal-Animation wird vom bestehenden `transitions.js` getriggert. +- **Kein neues Build-Tool:** `sips` ist macOS-nativ vorhanden. +- **LFS:** Original `Bild_Leon.JPG` bleibt LFS-getrackt. Web-Variante `< 200 KB` wird nicht via LFS erfasst. + +--- + +## File Structure + +| Datei | Aktion | Verantwortlichkeit | +|---|---|---| +| `public/assets/Bild_Leon-web.jpg` | Create | Web-optimiertes Porträt (800px breit, JPEG q=82, EXIF gestrippt, ≤ 200 KB) | +| `public/über-mich.html` | Modify | `
` als erstes Element in `
`, vor bestehendem Hero-Absatz | +| `public/custom/site.css` | Modify | `.portrait-hero`-Regelblock (Float, Rahmen, Hover-Transitions, Mobile-Override) am Ende der Reveal-Animation-Sektion | + +**Bestehende Dateien (NICHT modifiziert):** `public/custom/transitions.js`, `public/custom/seo-config.js`, `public/custom/seo.js`, `public/assets/Bild_Leon.JPG`, alle anderen 20 HTML-Seiten. + +--- + +## Task 1: Web-Bild-Variante generieren + +**Files:** +- Create: `public/assets/Bild_Leon-web.jpg` + +**Interfaces:** +- Consumes: `public/assets/Bild_Leon.JPG` (Original, 4002×6000, 4.5 MB) +- Produces: `public/assets/Bild_Leon-web.jpg` (800px breit, JPEG q=82, ≤ 200 KB, EXIF gestrippt) + +- [ ] **Step 1: Tool-Verfügbarkeit prüfen** + +Run: +```bash +which sips && sips --version +``` +Expected: Ausgabe mit Pfad (z. B. `/usr/bin/sips`) und Version. Falls `sips` fehlt: zu Pillow-Fallback wechseln (siehe Spec §1, Pillow-Variante). + +- [ ] **Step 2: Web-Variante aus Original erzeugen** + +Run: +```bash +sips -Z 800 --setProperty format jpeg --setProperty formatOptions 82 \ + public/assets/Bild_Leon.JPG --out public/assets/Bild_Leon-web.jpg +``` +Expected: Ausgabe enthält `public/assets/Bild_Leon-web.jpg` als JPEG-Datei. + +- [ ] **Step 3: Dateigröße und Format verifizieren** + +Run: +```bash +ls -la public/assets/Bild_Leon-web.jpg +file public/assets/Bild_Leon-web.jpg +``` +Expected: +- Dateigröße: ≤ 200 000 Bytes (≈ 200 KB) +- `file` zeigt: `JPEG image data, ...` mit Breite ≤ 800 px + +- [ ] **Step 4: EXIF-Copyright prüfen (sollte gestrippt sein)** + +Run: +```bash +sips -g all public/assets/Bild_Leon-web.jpg | grep -i copyright || echo "no copyright tag" +``` +Expected: `no copyright tag` (oder leere Ausgabe). Falls Copyright-Tag noch da: `exiftool -all= public/assets/Bild_Leon-web.jpg` als Cleanup. + +- [ ] **Step 5: Commit** + +```bash +git add public/assets/Bild_Leon-web.jpg +git commit -m "feat: Web-Variante von Bild_Leon (800px, EXIF gestrippt)" +``` + +--- + +## Task 2: HTML-Markup + CSS-Regeln einbauen + +**Files:** +- Modify: `public/über-mich.html` (1× Insertion in `
`) +- Modify: `public/custom/site.css` (1× Insertion nach `.einblenden.sichtbar`-Block, ca. Zeile 216) + +**Interfaces:** +- Consumes: `public/assets/Bild_Leon-web.jpg` (aus Task 1) +- Produces: + - `
` am Anfang von `
` in `über-mich.html` + - `.portrait-hero`-CSS-Regeln in `site.css` + +- [ ] **Step 1: Aktuelle Hero-Struktur in `über-mich.html` lokalisieren** + +Run: +```bash +grep -n '` direkt nach `
` einfügen** + +Verwende Read+Edit: Lese `public/über-mich.html` Zeilen rund um `
`, identifiziere die exakte `
`-Zeile, und füge direkt danach ein: + +```html +
+ Leon Tonhäuser, Sportfotograf +
Foto: Panthjeet Lucky Singh – ptjtluckys_pictures
+
+``` + +**Wichtig:** Tab-Einrückung wie umgebende Zeilen (`\t\t` = zwei Tabs in dieser Datei, da `
` in einem Tab-Block liegt). + +- [ ] **Step 3: HTML-Insertion verifizieren** + +Run: +```bash +grep -n 'portrait-hero\|Bild_Leon-web' public/über-mich.html +``` +Expected: Genau ein `
` und genau ein `/dev/null; sleep 0.3 +(npx --yes serve -p 8002 public > /tmp/seo-serve.log 2>&1 & echo $! > /tmp/seo-serve.pid) +sleep 4 +curl -s -o /dev/null -w "Server: %{http_code}\n" http://localhost:8002/über-mich +``` +Expected: `Server: 200`. + +- [ ] **Step 2: Bild-Asset erreichbar prüfen** + +Run: +```bash +curl -s -o /dev/null -w "Bild: %{http_code}, %{size_download} bytes\n" \ + http://localhost:8002/assets/Bild_Leon-web.jpg +``` +Expected: `Bild: 200, ` (Größe > 0, ≤ 200 000). + +- [ ] **Step 3: HTML-Markup im served Content prüfen** + +Run: +```bash +curl -s http://localhost:8002/über-mich | grep -E 'portrait-hero|Bild_Leon-web|figCaption|Foto: Panthjeet' +``` +Expected: Mehrere Treffer für `portrait-hero`, `Bild_Leon-web`, `Foto: Panthjeet`. + +- [ ] **Step 4: Server stoppen** + +Run: +```bash +kill -9 "$(cat /tmp/seo-serve.pid)" 2>/dev/null +lsof -ti:8002 | xargs -r kill -9 2>/dev/null +echo done +``` +Expected: `done`. + +- [ ] **Step 5: Manuelle Browser-Verifikation (Leon, subjektiv)** + +Im Browser: `http://localhost:8002/über-mich` öffnen. + +| Test | Erwartung | +|---|---| +| Seite lädt | Hero zeigt Porträt rechts neben Text, in Graustufen, mit Gold-Rahmen und Schatten | +| Hover über Bild | Bild wechselt zu Farbe, zoomt sanft auf 103% | +| Maus weg | Bild kehrt zu Graustufen + Originalgröße zurück | +| Tab-Taste zum Bild (Tastatur) | `:focus-within` löst Farb-Wechsel aus | +| Browser-Viewport auf 600px Breite | Bild rutscht unter Text, wird zentriert, max 320px breit | +| `
` sichtbar | "Foto: Panthjeet Lucky Singh – ptjtluckys_pictures" unter dem Bild, gedämpfte Farbe | +| DevTools → Console | Keine JS-Errors, keine 404 für `Bild_Leon-web.jpg` | +| DevTools → Lighthouse | Kein CLS-Shift (Bild hat width/height-Attribute) | + +- [ ] **Step 6: Optional — Headless-Test mit Puppeteer (falls verfügbar)** + +Falls Puppeteer global installiert ist (`ls ~/node_modules/puppeteer 2>/dev/null`): + +```bash +cat > /tmp/portrait-headless.mjs <<'EOF' +import puppeteer from 'puppeteer'; +import { spawn } from 'node:child_process'; +import { setTimeout as wait } from 'node:timers/promises'; + +const PORT = 8005; +const server = spawn('npx', ['--yes', 'serve', '-p', String(PORT), + '/Users/leon/IdeaProjects/framer-leon-tonhaeuser.de/public'], { stdio: 'ignore' }); +await wait(8000); + +try { + const browser = await puppeteer.launch({ args: ['--no-sandbox'] }); + const page = await browser.newPage(); + await page.goto(`http://localhost:${PORT}/über-mich`, { waitUntil: 'domcontentloaded' }); + await wait(2000); + + const imgOk = await page.evaluate(() => { + const img = document.querySelector('.portrait-hero img'); + return img && img.naturalWidth > 0; + }); + const filterOk = await page.evaluate(() => { + const img = document.querySelector('.portrait-hero img'); + return getComputedStyle(img).filter.includes('grayscale'); + }); + const captionOk = await page.evaluate(() => { + const fc = document.querySelector('.portrait-hero figcaption'); + return fc && fc.textContent.includes('Panthjeet'); + }); + + console.log(`img-loaded: ${imgOk}`); + console.log(`grayscale-filter: ${filterOk}`); + console.log(`figcaption-credit: ${captionOk}`); + + await browser.close(); + if (!(imgOk && filterOk && captionOk)) process.exit(1); +} finally { + server.kill('SIGKILL'); +} +EOF +lsof -ti:8005 | xargs -r kill -9 2>/dev/null +cd ~ && node /tmp/portrait-headless.mjs +rm /tmp/portrait-headless.mjs +``` +Expected: 3× `true`-Ausgaben, Exit 0. + +- [ ] **Step 7: Branch-Status & Push vorbereiten** + +Run: +```bash +git status --short +git log --oneline -5 +``` +Expected: Working tree clean (oder nur bekannte untracked files), 3 neue Commits oben (Task 1, Task 2, plus ggf. SEO-Stufe-2-Commits). + +Push erfolgt NICHT in diesem Task — der User merged per MR (siehe `mr-statt-direkt-push.md`). + +--- + +## Self-Review + +**1. Spec-Coverage:** +- §Architektur & Komponenten → Task 1 (Bild) + Task 2 (HTML+CSS) ✓ +- §Komponenten-Detail (HTML, CSS, Bild) → Task 1 + Task 2 ✓ +- §Datenfluss → dokumentiert im Spec, nicht im Plan nötig ✓ +- §Edge-Cases → Task 3 (manuell + Headless) ✓ +- §Accessibility → Task 3 (Tastatur-Test) ✓ +- §SEO-Impact → Spec sagt "Null" → kein Task nötig ✓ +- §Tests (manuell + Build + Headless) → Task 3 ✓ +- §Out of Scope → dokumentiert im Spec, nicht im Plan nötig ✓ + +**2. Placeholder-Scan:** Keine TBDs, TODOs, oder vage Schritte. Alle Code-Blöcke sind vollständig. + +**3. Type-Konsistenz:** +- Selektor `.portrait-hero` wird in Task 2 sowohl in HTML (`class="portrait-hero reveal"`) als auch in CSS (`.portrait-hero`, `.portrait-hero img`, etc.) konsistent verwendet ✓ +- Bildpfad `assets/Bild_Leon-web.jpg` in HTML referenziert Task 1's Output ✓ +- CSS-Variablen `--akzent-gold` und `--text-leise` sind in `:root` (Z. 11–20) definiert ✓ +- `.reveal`-Klasse wird vom bestehenden `transitions.js` IntersectionObserver erkannt ✓ + +**Geprüft, keine Lücken.** From 27602cffd45ca7e4d766793d5524aeb0b49acd29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Tonh=C3=A4user?= Date: Wed, 17 Jun 2026 14:36:25 +0200 Subject: [PATCH 3/5] feat: Web-Variante von Bild_Leon (800px, EXIF gestrippt) feat: Web-Variante von Bild_Leon (800px, EXIF gestrippt) Co-Authored-By: Claude --- public/assets/Bild_Leon-web.jpg | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 public/assets/Bild_Leon-web.jpg diff --git a/public/assets/Bild_Leon-web.jpg b/public/assets/Bild_Leon-web.jpg new file mode 100644 index 0000000..3bfd28e --- /dev/null +++ b/public/assets/Bild_Leon-web.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cc14299c6b2baf04cae5209c6e708aad5cef0e8d69e5b96853a0338aded78e5 +size 183240 From fa993489f6f7ee125da52b101c2c5d52744f214f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Tonh=C3=A4user?= Date: Wed, 17 Jun 2026 15:04:39 +0200 Subject: [PATCH 4/5] =?UTF-8?q?feat:=20=C3=9Cber-mich-Portr=C3=A4t=20mit?= =?UTF-8?q?=20Gold-Rahmen=20und=20Graustufen-Hover?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/custom/site.css | 46 +++++++++++++++++++++++++++++++++++++++++- public/über-mich.html | 6 +++++- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/public/custom/site.css b/public/custom/site.css index 3a16901..ae1921d 100644 --- a/public/custom/site.css +++ b/public/custom/site.css @@ -16,7 +16,12 @@ --akzent-gold: #c9a227; } - html { scroll-behavior: smooth; } + /* Lenis (smooth scroll) — CSS aus Framers SmoothScroll_Prod.js */ + html.lenis { height: auto; } + .lenis.lenis-smooth { scroll-behavior: auto !important; } + .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; } + .lenis.lenis-stopped { overflow: hidden; } + .lenis.lenis-scrolling iframe { pointer-events: none; } * { box-sizing: border-box; margin: 0; padding: 0; } @@ -215,6 +220,45 @@ .einblenden { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; } .einblenden.sichtbar { opacity: 1; transform: none; } +/* ==================== ÜBER-MICH PORTRÄT (schwebt rechts, Graustufen → Farbe) ==================== */ +.portrait-hero { + margin: 0 0 32px; + float: right; + width: 320px; + max-width: 40%; + shape-outside: margin-box; +} +.portrait-hero img { + display: block; + width: 100%; + height: auto; + border-radius: 12px; + border: 2px solid var(--akzent-gold); + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); + filter: grayscale(100%); + transition: filter 0.6s ease-out, transform 0.4s ease-out; +} +.portrait-hero:hover img, +.portrait-hero:focus-within img { + filter: grayscale(0%); + transform: scale(1.03); +} +.portrait-hero figcaption { + margin-top: 10px; + font-size: 12px; + letter-spacing: 0.4px; + color: var(--text-leise); + text-align: right; +} +@media (max-width: 720px) { + .portrait-hero { + float: none; + width: 100%; + max-width: 320px; + margin: 0 auto 32px; + } +} + /* ==================== SEITENÜBERGANG (Staub-Fade) ==================== */ body { transition: opacity 0.3s ease-out, transform 0.3s ease-out, filter 0.3s ease-out; } .seite-ausgang { opacity: 0; transform: translateY(-12px); filter: blur(3px); } diff --git a/public/über-mich.html b/public/über-mich.html index e6d5ad0..3d17d4b 100644 --- a/public/über-mich.html +++ b/public/über-mich.html @@ -83,6 +83,10 @@
+
+ Leon Tonhäuser, Sportfotograf +
Foto: Panthjeet Lucky Singh – ptjtluckys_pictures
+
— 03 / Über mich
@@ -142,7 +146,7 @@
- + & From b5d6a7f6e4bfa8b616ddfb8003056388c2344328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Tonh=C3=A4user?= Date: Wed, 17 Jun 2026 15:09:40 +0200 Subject: [PATCH 5/5] feat: Lenis smooth scroll (Framer-kompatibel, intensity=10) Ersetzt html { scroll-behavior: smooth } durch Lenis v1.1.13 mit duration=1.0, entspricht Framers SmoothScroll_Prod.js (intensity=10/10). Lenis bringt Anchor- Handling und data-lenis-prevent seit v1.1 intern mit. Vendor-JS unter public/custom/vendor/ (gleiche Ablage wie canvas-confetti). --- public/404.html | 2 +- public/archiv/frauen-bundesliga.html | 2 +- public/archiv/hamburger-sv.html | 2 +- public/archiv/hsv-bundesliga.html | 2 +- public/archiv/svg-luenburg.html | 2 +- public/blog.html | 2 +- public/custom/smooth-scroll.js | 10 ++++++++++ public/custom/vendor/lenis.min.js | 2 ++ public/datenschutz.html | 2 +- public/impressum.html | 2 +- public/index.html | 2 +- public/kontakt.html | 2 +- public/leistungen.html | 2 +- public/portfolio-aufstiegsfeier.html | 2 +- public/portfolio-frauen-bundesliga.html | 2 +- public/portfolio-hamburger-sv.html | 2 +- public/portfolio-rhine-ruhr-3x3.html | 2 +- public/portfolio-rhine-ruhr-basketball.html | 2 +- public/portfolio-rhine-ruhr-beachvolleyball.html | 2 +- public/portfolio-rhine-ruhr-sport.html | 2 +- public/portfolio-svg-lueneburg.html | 2 +- public/portfolio.html | 2 +- 22 files changed, 32 insertions(+), 20 deletions(-) create mode 100644 public/custom/smooth-scroll.js create mode 100644 public/custom/vendor/lenis.min.js diff --git a/public/404.html b/public/404.html index 42994cd..eef5326 100644 --- a/public/404.html +++ b/public/404.html @@ -345,7 +345,7 @@
Edit Content
- + & \ No newline at end of file diff --git a/public/archiv/frauen-bundesliga.html b/public/archiv/frauen-bundesliga.html index 200f163..10504bb 100644 --- a/public/archiv/frauen-bundesliga.html +++ b/public/archiv/frauen-bundesliga.html @@ -347,7 +347,7 @@
Edit Content
- + & \ No newline at end of file diff --git a/public/archiv/hamburger-sv.html b/public/archiv/hamburger-sv.html index b43acbf..ccc1e82 100644 --- a/public/archiv/hamburger-sv.html +++ b/public/archiv/hamburger-sv.html @@ -347,7 +347,7 @@
Edit Content
- + & \ No newline at end of file diff --git a/public/archiv/hsv-bundesliga.html b/public/archiv/hsv-bundesliga.html index 01d560a..4d8a876 100644 --- a/public/archiv/hsv-bundesliga.html +++ b/public/archiv/hsv-bundesliga.html @@ -347,7 +347,7 @@
Edit Content
- + & \ No newline at end of file diff --git a/public/archiv/svg-luenburg.html b/public/archiv/svg-luenburg.html index bf1a428..2022e95 100644 --- a/public/archiv/svg-luenburg.html +++ b/public/archiv/svg-luenburg.html @@ -347,7 +347,7 @@
Edit Content
- + & \ No newline at end of file diff --git a/public/blog.html b/public/blog.html index 6f7c464..e223638 100644 --- a/public/blog.html +++ b/public/blog.html @@ -39,7 +39,7 @@

Hier schreibe ich bald über Shootings, Hintergründe und alles, was neben der Kamera passiert.

← Zurück zur Startseite

- + & diff --git a/public/custom/smooth-scroll.js b/public/custom/smooth-scroll.js new file mode 100644 index 0000000..0d1bc60 --- /dev/null +++ b/public/custom/smooth-scroll.js @@ -0,0 +1,10 @@ +// Smooth scroll via Lenis. Ersetzt Framers SmoothScroll_Prod.js-Modul +// (intensity=10 → duration=1.0). Lenis macht Anchor-Handling + data-lenis-prevent +// seit v1.1 intern; MutationObserver für [data-frameruni-stop-scroll] ist auf dem +// statischen Export nirgends aktiv, also weggelassen. +(function () { + if (typeof Lenis !== 'function') return; + const lenis = new Lenis({ duration: 1.0 }); + function raf(time) { lenis.raf(time); requestAnimationFrame(raf); } + requestAnimationFrame(raf); +})(); diff --git a/public/custom/vendor/lenis.min.js b/public/custom/vendor/lenis.min.js new file mode 100644 index 0000000..b5ba553 --- /dev/null +++ b/public/custom/vendor/lenis.min.js @@ -0,0 +1,2 @@ +!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(t="undefined"!=typeof globalThis?globalThis:t||self).Lenis=i()}(this,(function(){"use strict";function clamp(t,i,e){return Math.max(t,Math.min(i,e))}class Animate{constructor(){this.isRunning=!1,this.value=0,this.from=0,this.to=0,this.currentTime=0}advance(t){var i;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;const i=clamp(0,this.currentTime/this.duration,1);e=i>=1;const s=e?1:this.easing(i);this.value=this.from+(this.to-this.from)*s}else this.lerp?(this.value=function damp(t,i,e,s){return function lerp(t,i,e){return(1-e)*t+e*i}(t,i,1-Math.exp(-e*s))}(this.value,this.to,60*this.lerp,t),Math.round(this.value)===this.to&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),null===(i=this.onUpdate)||void 0===i||i.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(t,i,{lerp:e,duration:s,easing:o,onStart:n,onUpdate:l}){this.from=this.value=t,this.to=i,this.lerp=e,this.duration=s,this.easing=o,this.currentTime=0,this.isRunning=!0,null==n||n(),this.onUpdate=l}}class Dimensions{constructor(t,i,{autoResize:e=!0,debounce:s=250}={}){this.wrapper=t,this.content=i,this.width=0,this.height=0,this.scrollHeight=0,this.scrollWidth=0,this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},this.onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)},e&&(this.debouncedResize=function debounce(t,i){let e;return function(...s){let o=this;clearTimeout(e),e=setTimeout((()=>{e=void 0,t.apply(o,s)}),i)}}(this.resize,s),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var t,i;null===(t=this.wrapperResizeObserver)||void 0===t||t.disconnect(),null===(i=this.contentResizeObserver)||void 0===i||i.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}class Emitter{constructor(){this.events={}}emit(t,...i){var e;let s=this.events[t]||[];for(let t=0,o=s.length;t{var e;this.events[t]=null===(e=this.events[t])||void 0===e?void 0:e.filter((t=>i!==t))}}off(t,i){var e;this.events[t]=null===(e=this.events[t])||void 0===e?void 0:e.filter((t=>i!==t))}destroy(){this.events={}}}const t=100/6,i={passive:!1};class VirtualScroll{constructor(e,s={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=s,this.touchStart={x:0,y:0},this.lastDelta={x:0,y:0},this.window={width:0,height:0},this.emitter=new Emitter,this.onTouchStart=t=>{const{clientX:i,clientY:e}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=i,this.touchStart.y=e,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})},this.onTouchMove=t=>{const{clientX:i,clientY:e}=t.targetTouches?t.targetTouches[0]:t,s=-(i-this.touchStart.x)*this.options.touchMultiplier,o=-(e-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=i,this.touchStart.y=e,this.lastDelta={x:s,y:o},this.emitter.emit("scroll",{deltaX:s,deltaY:o,event:t})},this.onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})},this.onWheel=i=>{let{deltaX:e,deltaY:s,deltaMode:o}=i;e*=1===o?t:2===o?this.window.width:1,s*=1===o?t:2===o?this.window.height:1,e*=this.options.wheelMultiplier,s*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:s,event:i})},this.onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}},window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,i),this.element.addEventListener("touchstart",this.onTouchStart,i),this.element.addEventListener("touchmove",this.onTouchMove,i),this.element.addEventListener("touchend",this.onTouchEnd,i)}on(t,i){return this.emitter.on(t,i)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,i),this.element.removeEventListener("touchstart",this.onTouchStart,i),this.element.removeEventListener("touchmove",this.onTouchMove,i),this.element.removeEventListener("touchend",this.onTouchEnd,i)}}return class Lenis{constructor({wrapper:t=window,content:i=document.documentElement,eventsTarget:e=t,smoothWheel:s=!0,syncTouch:o=!1,syncTouchLerp:n=.075,touchInertiaMultiplier:l=35,duration:r,easing:h=(t=>Math.min(1,1.001-Math.pow(2,-10*t))),lerp:a=.1,infinite:c=!1,orientation:u="vertical",gestureOrientation:d="vertical",touchMultiplier:p=1,wheelMultiplier:m=1,autoResize:v=!0,prevent:g,virtualScroll:S,__experimental__naiveDimensions:w=!1}={}){this._isScrolling=!1,this._isStopped=!1,this._isLocked=!1,this._preventNextNativeScrollEvent=!1,this._resetVelocityTimeout=null,this.time=0,this.userData={},this.lastVelocity=0,this.velocity=0,this.direction=0,this.animate=new Animate,this.emitter=new Emitter,this.onPointerDown=t=>{1===t.button&&this.reset()},this.onVirtualScroll=t=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(t))return;const{deltaX:i,deltaY:e,event:s}=t;if(this.emitter.emit("virtual-scroll",{deltaX:i,deltaY:e,event:s}),s.ctrlKey)return;const o=s.type.includes("touch"),n=s.type.includes("wheel");this.isTouching="touchstart"===s.type||"touchmove"===s.type;if(this.options.syncTouch&&o&&"touchstart"===s.type&&!this.isStopped&&!this.isLocked)return void this.reset();const l=0===i&&0===e,r="vertical"===this.options.gestureOrientation&&0===e||"horizontal"===this.options.gestureOrientation&&0===i;if(l||r)return;let h=s.composedPath();h=h.slice(0,h.indexOf(this.rootElement));const a=this.options.prevent;if(h.find((t=>{var i,e,s,l,r;return t instanceof HTMLElement&&("function"==typeof a&&(null==a?void 0:a(t))||(null===(i=t.hasAttribute)||void 0===i?void 0:i.call(t,"data-lenis-prevent"))||o&&(null===(e=t.hasAttribute)||void 0===e?void 0:e.call(t,"data-lenis-prevent-touch"))||n&&(null===(s=t.hasAttribute)||void 0===s?void 0:s.call(t,"data-lenis-prevent-wheel"))||(null===(l=t.classList)||void 0===l?void 0:l.contains("lenis"))&&!(null===(r=t.classList)||void 0===r?void 0:r.contains("lenis-stopped")))})))return;if(this.isStopped||this.isLocked)return void s.preventDefault();if(!(this.options.syncTouch&&o||this.options.smoothWheel&&n))return this.isScrolling="native",void this.animate.stop();s.preventDefault();let c=e;"both"===this.options.gestureOrientation?c=Math.abs(e)>Math.abs(i)?e:i:"horizontal"===this.options.gestureOrientation&&(c=i);const u=o&&this.options.syncTouch,d=o&&"touchend"===s.type&&Math.abs(c)>5;d&&(c=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+c,Object.assign({programmatic:!1},u?{lerp:d?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent)this._preventNextNativeScrollEvent=!1;else if(!1===this.isScrolling||"native"===this.isScrolling){const t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isScrolling="native",this.emit(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout((()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()}),400))}},window.lenisVersion="1.1.13",t&&t!==document.documentElement&&t!==document.body||(t=window),this.options={wrapper:t,content:i,eventsTarget:e,smoothWheel:s,syncTouch:o,syncTouchLerp:n,touchInertiaMultiplier:l,duration:r,easing:h,lerp:a,infinite:c,gestureOrientation:d,orientation:u,touchMultiplier:p,wheelMultiplier:m,autoResize:v,prevent:g,virtualScroll:S,__experimental__naiveDimensions:w},this.dimensions=new Dimensions(t,i,{autoResize:v}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new VirtualScroll(e,{touchMultiplier:p,wheelMultiplier:m}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName()}on(t,i){return this.emitter.on(t,i)}off(t,i){return this.emitter.off(t,i)}setScroll(t){this.isHorizontal?this.rootElement.scrollLeft=t:this.rootElement.scrollTop=t}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(t){const i=t-(this.time||t);this.time=t,this.animate.advance(.001*i)}scrollTo(t,{offset:i=0,immediate:e=!1,lock:s=!1,duration:o=this.options.duration,easing:n=this.options.easing,lerp:l=this.options.lerp,onStart:r,onComplete:h,force:a=!1,programmatic:c=!0,userData:u}={}){if(!this.isStopped&&!this.isLocked||a){if("string"==typeof t&&["top","left","start"].includes(t))t=0;else if("string"==typeof t&&["bottom","right","end"].includes(t))t=this.limit;else{let e;if("string"==typeof t?e=document.querySelector(t):t instanceof HTMLElement&&(null==t?void 0:t.nodeType)&&(e=t),e){if(this.options.wrapper!==window){const t=this.rootElement.getBoundingClientRect();i-=this.isHorizontal?t.left:t.top}const s=e.getBoundingClientRect();t=(this.isHorizontal?s.left:s.top)+this.animatedScroll}}if("number"==typeof t){if(t+=i,t=Math.round(t),this.options.infinite?c&&(this.targetScroll=this.animatedScroll=this.scroll):t=clamp(0,t,this.limit),t===this.targetScroll)return null==r||r(this),void(null==h||h(this));if(this.userData=null!=u?u:{},e)return this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),null==h||h(this),void(this.userData={});c||(this.targetScroll=t),this.animate.fromTo(this.animatedScroll,t,{duration:o,easing:n,lerp:l,onStart:()=>{s&&(this.isLocked=!0),this.isScrolling="smooth",null==r||r(this)},onUpdate:(t,i)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=t-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=t,this.setScroll(this.scroll),c&&(this.targetScroll=t),i||this.emit(),i&&(this.reset(),this.emit(),null==h||h(this),this.userData={},this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame((()=>{this._preventNextNativeScrollEvent=!1}))}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?function modulo(t,i){return(t%i+i)%i}(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let t="lenis";return this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),"smooth"===this.isScrolling&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}}})); +//# sourceMappingURL=lenis.min.js.map diff --git a/public/datenschutz.html b/public/datenschutz.html index 0159313..1d88921 100644 --- a/public/datenschutz.html +++ b/public/datenschutz.html @@ -252,7 +252,7 @@ - + & diff --git a/public/impressum.html b/public/impressum.html index c247bde..199af9a 100644 --- a/public/impressum.html +++ b/public/impressum.html @@ -140,7 +140,7 @@ - + & diff --git a/public/index.html b/public/index.html index 1d4a8be..443d837 100644 --- a/public/index.html +++ b/public/index.html @@ -323,7 +323,7 @@ - + & + & diff --git a/public/leistungen.html b/public/leistungen.html index 0710c8c..d47142c 100644 --- a/public/leistungen.html +++ b/public/leistungen.html @@ -184,7 +184,7 @@ - + & diff --git a/public/portfolio-aufstiegsfeier.html b/public/portfolio-aufstiegsfeier.html index 4619553..bf42d68 100644 --- a/public/portfolio-aufstiegsfeier.html +++ b/public/portfolio-aufstiegsfeier.html @@ -136,7 +136,7 @@ - + & diff --git a/public/portfolio-frauen-bundesliga.html b/public/portfolio-frauen-bundesliga.html index 36886f9..b4cbe9f 100644 --- a/public/portfolio-frauen-bundesliga.html +++ b/public/portfolio-frauen-bundesliga.html @@ -132,7 +132,7 @@ - + & diff --git a/public/portfolio-hamburger-sv.html b/public/portfolio-hamburger-sv.html index aaf185a..9da5478 100644 --- a/public/portfolio-hamburger-sv.html +++ b/public/portfolio-hamburger-sv.html @@ -135,7 +135,7 @@ - + & diff --git a/public/portfolio-rhine-ruhr-3x3.html b/public/portfolio-rhine-ruhr-3x3.html index cf292f6..14e23f9 100644 --- a/public/portfolio-rhine-ruhr-3x3.html +++ b/public/portfolio-rhine-ruhr-3x3.html @@ -131,7 +131,7 @@ - + & diff --git a/public/portfolio-rhine-ruhr-basketball.html b/public/portfolio-rhine-ruhr-basketball.html index c22fbe8..d0e7a8c 100644 --- a/public/portfolio-rhine-ruhr-basketball.html +++ b/public/portfolio-rhine-ruhr-basketball.html @@ -133,7 +133,7 @@ - + & diff --git a/public/portfolio-rhine-ruhr-beachvolleyball.html b/public/portfolio-rhine-ruhr-beachvolleyball.html index 24f0912..a340eed 100644 --- a/public/portfolio-rhine-ruhr-beachvolleyball.html +++ b/public/portfolio-rhine-ruhr-beachvolleyball.html @@ -130,7 +130,7 @@ - + & diff --git a/public/portfolio-rhine-ruhr-sport.html b/public/portfolio-rhine-ruhr-sport.html index 6bc0a94..37d3329 100644 --- a/public/portfolio-rhine-ruhr-sport.html +++ b/public/portfolio-rhine-ruhr-sport.html @@ -130,7 +130,7 @@ - + & diff --git a/public/portfolio-svg-lueneburg.html b/public/portfolio-svg-lueneburg.html index c0da13e..2ade961 100644 --- a/public/portfolio-svg-lueneburg.html +++ b/public/portfolio-svg-lueneburg.html @@ -134,7 +134,7 @@ - + & diff --git a/public/portfolio.html b/public/portfolio.html index ac7b27c..c070181 100644 --- a/public/portfolio.html +++ b/public/portfolio.html @@ -166,7 +166,7 @@ - + &