diff --git a/public/custom/site.css b/public/custom/site.css index cefbe94..b0250a0 100644 --- a/public/custom/site.css +++ b/public/custom/site.css @@ -180,13 +180,17 @@ 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 */ + .kunden-track { + display: flex; flex-wrap: nowrap; width: max-content; animation: kunden-scroll 60s linear infinite; will-change: transform; } - .kunden-marquee:hover .kunden-spur { animation-play-state: paused; } + .kunden-spur { + display: flex; align-items: center; gap: 48px; + flex: 0 0 auto; white-space: nowrap; + padding-right: 48px; /* Schlussabstand wie Lücke */ + } + .kunden-marquee:hover .kunden-track { animation-play-state: paused; } .kunden-marquee span.eintrag { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--text); @@ -199,12 +203,13 @@ to { transform: translateX(-50%); } } @media (prefers-reduced-motion: reduce) { - .kunden-spur { animation: none; transform: none; } + .kunden-track { 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; } + .kunden-spur { gap: 32px; padding-right: 32px; } + .kunden-track { animation-duration: 50s; } } /* ---------- Footer ---------- */ diff --git a/public/index.html b/public/index.html index 41d4ed6..7b51d47 100644 --- a/public/index.html +++ b/public/index.html @@ -182,6 +182,7 @@
Bisherige Kunden & Auftraggeber
+
+