import Header from "../components/Header.server"; import Hero from "../components/Hero"; import TischSection from "../components/tisch/TischSection"; import WindowProvider from "../components/fenster/WindowProvider"; import { getWindowLabels } from "../components/fenster/getWindowLabels"; import ScrollFadeIn from "../components/ScrollFadeIn"; import Script from "next/script"; import { getContactTranslations, getFooterTranslations, } from "@/lib/translations-loader"; import { ContactClient, FooterClient, } from "../components/ClientWrappers"; interface HomePageServerProps { locale: string; } export default async function HomePageServer({ locale }: HomePageServerProps) { // Parallel laden aller Translations (hero translations handled by Hero server component) const [contactT, footerT, windowLabels] = await Promise.all([ getContactTranslations(locale), getFooterTranslations(locale), getWindowLabels(locale), ]); return (