"use client" import { AnimatePresence, motion, useMotionValue, useScroll, useSpring, useTransform } from "motion/react" import { useEffect, useId, useRef, useState, type InputHTMLAttributes } from "react" import { ArrowUpRightIcon, StarIcon } from "lucide-react" import { cn } from "@/lib/utils" import type { TemplateProps } from "../../lib/types" import { DemoForm } from "../shared/demo-form" import { TImage } from "../shared/media" import { Marquee, Reveal, RevealWords, ScrollWords, ease, useScrollNav } from "../shared/motion" import { TemplateShell } from "../shared/shell" import { beauty, type BeautyData } from "./definition" import { fonts } from "./fonts" const em = "italic text-t-accent" const container = "mx-auto w-full max-w-[1440px] px-5 md:px-10" const eyebrow = "mb-6 text-xs uppercase tracking-[0.3em] text-t-muted" const pill = "inline-flex items-center gap-2 rounded-full bg-t-fg px-6 py-3.5 text-sm text-t-bg transition-transform duration-300 hover:scale-[1.04]" export function BeautyTemplate({ content }: TemplateProps) { const { brand, hero, intro, services, gallery, team, reviews, booking } = content.data const show = (key: string) => !content.hidden.includes(key) const links = [ { href: "#leistungen", label: "Leistungen", visible: show("services") }, { href: "#team", label: "Team", visible: show("team") }, { href: "#stimmen", label: "Stimmen", visible: show("reviews") }, ].filter((link) => link.visible) return (