"use client"; import type { ReactNode } from "react"; import { motion, useReducedMotion } from "motion/react"; /** * Dezente Scroll-Reveal-Animation (Fade-In + leichtes Anheben) fuer * Startseiten-Sektionen. Nutzt motion/react's whileInView, respektiert * reduced-motion-Praeferenzen und animiert nur einmal pro Element. */ export function ScrollReveal({ children, className = "", y = 24, delay = 0, }: { children: ReactNode; className?: string; y?: number; delay?: number; }) { const shouldReduceMotion = useReducedMotion(); return ( {children} ); }