feat: Kunden-Banner (Marquee) auf der Startseite einfügen
Neue Section <section class="kunden"> 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.
This commit is contained in:
1 parent
fba34d5af8
commit
5654d0941a
2 files changed
+117
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user