"use client" import { AnimatePresence, motion } from "motion/react" import { useState, type InputHTMLAttributes } from "react" import { ArrowRightIcon } from "lucide-react" import { cn } from "@/lib/utils" import type { TemplateProps } from "../../lib/types" import { DemoForm } from "../shared/demo-form" import { ParallaxImage, Reveal, RevealWords, ease, useScrollNav } from "../shared/motion" import { TImage } from "../shared/media" import { TemplateShell } from "../shared/shell" import { kanzlei, type KanzleiData } from "./definition" import { fonts } from "./fonts" const em = "italic text-t-accent" const container = "mx-auto w-full max-w-[1320px] px-6 md:px-10" const heading = "font-t-display font-medium tracking-[-0.015em]" function Eyebrow({ children, className }: { children: string; className?: string }) { return (

{children}

) } export function KanzleiTemplate({ content }: TemplateProps) { const { brand, hero, areas, about, team, steps, quotes, contact } = content.data const show = (key: string) => !content.hidden.includes(key) const links = [ { href: "#kompetenzen", label: "Kompetenzen", visible: show("areas") }, { href: "#ueber-uns", label: "Über uns", visible: show("about") }, { href: "#team", label: "Team", visible: show("team") }, { href: "#kontakt", label: "Kontakt", visible: true }, ].filter((link) => link.visible) return (