diff --git a/src/app/globals.css b/src/app/globals.css index 1773f5e..310056d 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -165,3 +165,41 @@ p { opacity: 0.5; } } + +/* Hero: das Bild "atmet" kaum merklich (langsamer Zoom hin und zurueck). */ +@keyframes wh-drift { + from { + transform: scale(1); + } + to { + transform: scale(1.07) translate(-1%, -1%); + } +} + +/* Scroll-Hinweis im Hero: ein Honigtropfen loest sich und faellt. */ +@keyframes wh-drip { + 0%, + 15% { + transform: translateY(0) scale(0.6); + opacity: 0; + } + 30% { + transform: translateY(0) scale(1); + opacity: 1; + } + 75% { + transform: translateY(26px) scale(0.9, 1.1); + opacity: 1; + } + 100% { + transform: translateY(34px) scale(0.4); + opacity: 0; + } +} + +@media (prefers-reduced-motion: reduce) { + .motion-drift, + .motion-drip { + animation: none !important; + } +} diff --git a/src/components/cookie-consent.tsx b/src/components/cookie-consent.tsx index d58eee6..0044fbd 100644 --- a/src/components/cookie-consent.tsx +++ b/src/components/cookie-consent.tsx @@ -49,8 +49,8 @@ export function CookieConsentBanner() {