From 5654d0941a86ee24b7d837350edc841e0aaf5792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Tonh=C3=A4user?= Date: Thu, 25 Jun 2026 03:01:34 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Kunden-Banner=20(Marquee)=20auf=20der?= =?UTF-8?q?=20Startseite=20einf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Neue Section
zwischen Nachwuchspreis (auszeichnung) und Benefits (bento). Fortlaufende Liste der bisherigen Kunden und Auftraggeber, endlos von rechts nach links scrollend. Inhalt (30 Einträge = Top 25 nach Häufigkeit + 5 persönliche Highlights): - ARD / NDR, SWR, Sky Deutschland, Alamy, Axel Springer - Olympia-Verlag / Kicker, BR, Maxppp, ZDF.de, The Associated Press - 11 Teamsports, BILD Online, Morgenpost, Kölner Stadtanzeiger - Roof, We Play Forward, Geissblog, Verlag Schaufenster - RTL NEWS, SportBILD, Handballwoche, Sports 360 - TSG 1899 Hoffenheim, MORE Marketing - FUNKE, Landeszeitung, Beautiful Sports, AZ Uelzen, yeswecan!cer Technik: - Reine CSS-Animation (kein JS, keine Lib) - Zwei identische Spuren für nahtlosen Überlauf (translateX 0 → -50% Schlüsselbild) - Mask-Verlauf an beiden Enden, damit Text weich ein-/ausläuft - Pausiert bei Hover (animation-play-state) - Respektiert prefers-reduced-motion (dann horizontaler Scroll) - aria-label + aria-hidden für Screen-Reader - Einträge gekürzt (Sky, Olympia-Verlag, FUNKE) für Banner-Lesbarkeit - Voller Name bleibt im Impressum/Kontakt sichtbar Hintergrund: var(--flaeche-hell), Trennlinien oben/unten — fügt sich in die bestehende Sektions-Trennlogik ein. --- public/custom/site.css | 44 +++++++++++++++++++++++++ public/index.html | 73 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) diff --git a/public/custom/site.css b/public/custom/site.css index 5a90076..cefbe94 100644 --- a/public/custom/site.css +++ b/public/custom/site.css @@ -163,6 +163,50 @@ .abschluss h2 { max-width: 640px; margin: 0 auto; } .abschluss .button { margin-top: 32px; } + /* ---------- Kunden-Banner (fortlaufendes Marquee) ---------- + Zwischen Auszeichnung und Bento. Reine CSS-Animation, + läuft endlos rechts→links, pausiert bei Hover und + reduzierter Bewegung (a11y). Maske an beiden Enden, + damit Text sauber ein- und ausläuft. */ + .kunden { padding: 56px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); background: var(--flaeche-hell); } + .kunden-label { + text-align: center; font-size: 13px; letter-spacing: 0.12em; + text-transform: uppercase; color: var(--text-leise); + margin-bottom: 28px; + } + .kunden-marquee { + position: relative; overflow: hidden; + /* Verlauf-Maske: 8 % Rand links/rechts weichgezeichnet */ + mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); + -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); + } + .kunden-spur { + display: inline-flex; align-items: center; gap: 48px; + white-space: nowrap; padding-right: 48px; /* Schlussabstand wie Lücke */ + animation: kunden-scroll 60s linear infinite; + will-change: transform; + } + .kunden-marquee:hover .kunden-spur { animation-play-state: paused; } + .kunden-marquee span.eintrag { + font-size: 18px; font-weight: 500; letter-spacing: -0.01em; + color: var(--text); + } + .kunden-marquee span.trenner { + color: var(--text-leise); font-size: 14px; opacity: 0.6; + } + @keyframes kunden-scroll { + from { transform: translateX(0); } + to { transform: translateX(-50%); } + } + @media (prefers-reduced-motion: reduce) { + .kunden-spur { animation: none; transform: none; } + .kunden-marquee { overflow-x: auto; scrollbar-width: thin; } + } + @media (max-width: 809.98px) { + .kunden-marquee span.eintrag { font-size: 15px; } + .kunden-spur { gap: 32px; padding-right: 32px; animation-duration: 50s; } + } + /* ---------- Footer ---------- */ .footer { border-top: 1px solid var(--linie); padding: 60px 0 140px; } .footer-grid { diff --git a/public/index.html b/public/index.html index 895d869..41d4ed6 100644 --- a/public/index.html +++ b/public/index.html @@ -174,6 +174,79 @@
+ +
+
Bisherige Kunden & Auftraggeber
+
+ + +
+
+