chore(repo): sync wireframe structure and references

This commit is contained in:
david committed 2026-08-08 03:09:06 +02:00
1 parent 05d2d5777f
commit d953a79e95
453 files changed
+36639 -621

No files matched your search

@@ -0,0 +1,251 @@
import type { Metadata } from "next";
import { Rocket, TrendUp, UsersThree, Crown, Check } from "@phosphor-icons/react/ssr";
import type { Icon as PhosphorIcon } from "@phosphor-icons/react";
import { HardHat } from "lucide-react";
import DemoButton from "@/components/ui/DemoButton";
import { CHAMFER } from "@/lib/chamfer";
export const metadata: Metadata = {
title: "Preise",
description:
"Klare, faire Pakete für deinen SHK-Betrieb — vom Einzelbetrieb bis zum ganzen Team. Fordere ein unverbindliches Angebot an.",
alternates: { canonical: "/preise" },
};
// PLACEHOLDER — erfundene Pakete/Inhalte. Preise bewusst nicht ausgewiesen
// (Angebots-Modell), Feature-Listen final mit Noah/Haris abstimmen.
const HEX = "polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)";
const HAZARD_STRIPES = "repeating-linear-gradient(45deg, #F1B729 0 10px, #171106 10px 20px)";
// Diagonal barrier tape across the blurred pricing grid — same "coming soon"
// treatment as the mobile chat teaser.
function ComingSoonTape() {
return (
<div className="absolute inset-0 overflow-hidden" aria-hidden style={{ pointerEvents: "none", borderRadius: 16 }}>
<div
className="absolute left-1/2 top-1/2 flex items-center justify-center gap-8"
style={{
width: "128%",
transform: "translate(-50%, -50%) rotate(-8deg)",
background: "var(--accent-yellow)",
borderTop: "2px solid #171106",
borderBottom: "2px solid #171106",
boxShadow: "0 16px 34px -10px rgba(0,0,0,0.45)",
padding: "12px 0",
}}
>
{Array.from({ length: 8 }).map((_, i) => (
<span
key={i}
className="inline-flex items-center gap-2 text-[14px] font-extrabold uppercase tracking-[0.18em] whitespace-nowrap"
style={{ color: "#171106" }}
>
<HardHat size={16} strokeWidth={2.6} /> Bald verfügbar
</span>
))}
</div>
</div>
);
}
type Tier = {
name: string;
Icon: PhosphorIcon;
desc: string;
features: string[];
highlighted?: boolean;
};
const tiers: Tier[] = [
{
name: "Start",
Icon: Rocket,
desc: "Alles, was dein Betrieb zum Loslegen braucht.",
features: [
"Unbegrenzte Aufträge & Kunden",
"Angebote & Rechnungen",
"Online-Terminbuchung",
"Hosting in Deutschland (DSGVO)",
"E-Mail-Support",
],
},
{
name: "Wachstum",
Icon: TrendUp,
desc: "Alles aus Start, plus mehr Automatisierung, wo's zählt.",
features: [
"Workflow-Engine ohne Code",
"kwp- & DATEV-Anbindung",
"Kalender-Synchronisation",
"Team-Chat mit Projekt-Kanälen",
"Aufgaben direkt aus dem Chat",
],
},
{
name: "Team",
Icon: UsersThree,
desc: "Alles aus Wachstum, plus Tools fürs ganze Team.",
highlighted: true,
features: [
"Mitarbeitermanagement",
"Projekt-Board & Baustellenplanung",
"Vertriebspipelines",
"E-Mail-Marketing",
"Priorisierter Support",
],
},
{
name: "Enterprise",
Icon: Crown,
desc: "Alles aus Team, plus individuelle Betreuung.",
features: [
"Persönlicher Ansprechpartner",
"Individuelle Schnittstellen",
"Onboarding vor Ort",
"SLA & Priority-Support",
],
},
];
function TierCard({ tier }: { tier: Tier }) {
const dark = tier.highlighted;
return (
<div
className="relative flex flex-col h-full"
style={{
background: dark ? "var(--dark-bg)" : "#FFFFFF",
// Chamfered brand corners (like the product-page cards): clip-path also
// clips border + box-shadow, so drop the border and use drop-shadow.
clipPath: CHAMFER,
filter: dark
? "drop-shadow(0 24px 40px rgba(15,23,42,0.42)) drop-shadow(0 6px 14px rgba(15,23,42,0.25))"
: "drop-shadow(0 16px 26px rgba(15,23,42,0.12)) drop-shadow(0 3px 8px rgba(15,23,42,0.07))",
padding: "26px 24px",
}}
>
{dark && (
<span
className="absolute right-5 top-6 inline-flex items-center rounded-full text-[12px] font-semibold px-3 py-1"
style={{ background: "#FFFFFF", color: "var(--text-primary)", boxShadow: "0 4px 14px rgba(0,0,0,0.25)" }}
>
Beliebtester
</span>
)}
{/* Icon tile (hexagon, on-brand) */}
<span
className="grid place-items-center shrink-0"
style={{
width: 40,
height: 35, // flat-top hexagon (2:√3)
clipPath: HEX,
background: dark ? "rgba(241,183,41,0.16)" : "var(--accent-yellow-light)",
color: dark ? "var(--accent-yellow)" : "var(--accent-yellow-dark)",
}}
>
<tier.Icon size={21} weight="duotone" />
</span>
{/* Name + desc */}
<h3
className="text-[26px] font-bold mt-7 mb-2"
style={{ color: dark ? "#FFFFFF" : "var(--text-primary)", letterSpacing: "-0.01em" }}
>
{tier.name}
</h3>
<p className="text-[14.5px] leading-relaxed" style={{ color: dark ? "rgba(255,255,255,0.72)" : "var(--text-secondary)" }}>
{tier.desc}
</p>
{/* Divider */}
<span
className="block my-6"
style={{ height: 1, background: dark ? "rgba(255,255,255,0.14)" : "var(--border-light)" }}
/>
{/* Features */}
<ul className="flex flex-col gap-3.5">
{tier.features.map((f) => (
<li key={f} className="flex items-start gap-2.5">
<Check
size={17}
weight="bold"
className="shrink-0 mt-0.5"
style={{ color: dark ? "var(--accent-yellow)" : "var(--accent-teal)" }}
/>
<span className="text-[14.5px] leading-snug" style={{ color: dark ? "rgba(255,255,255,0.9)" : "var(--text-primary)" }}>
{f}
</span>
</li>
))}
</ul>
{/* CTA — mt-auto pins it to the card bottom so every card's button lines
up in one row regardless of how many features the card has. */}
<div className="mt-auto pt-8">
<DemoButton href="/waitlist" fullWidth variant={dark ? "amber" : "neutral"}>
Angebot anfordern
</DemoButton>
</div>
</div>
);
}
export default function PreisePage() {
return (
<div>
{/* Hero */}
<section className="section-full" style={{ background: "var(--bg-primary)", paddingTop: 72, paddingBottom: 28 }}>
<div className="mx-auto flex flex-col items-center gap-5 text-center" style={{ maxWidth: 760 }}>
<style>{`@keyframes preise-hazard{from{background-position:0 0}to{background-position:28px 0}}@media(prefers-reduced-motion:reduce){.preise-hazard-anim{animation:none!important}}`}</style>
<span
aria-hidden
className="preise-hazard-anim"
style={{ width: 120, height: 10, borderRadius: 4, background: HAZARD_STRIPES, backgroundSize: "28px 28px", animation: "preise-hazard 1.1s linear infinite" }}
/>
<h1
className="font-extrabold"
style={{ color: "var(--text-primary)", fontSize: "clamp(44px, 7.5vw, 88px)", lineHeight: 1.02, letterSpacing: "-0.03em" }}
>
Die Preise kommen bald.
</h1>
<p className="text-[17px] md:text-[19px]" style={{ color: "var(--text-secondary)" }}>
Klare, faire Pakete. Die genauen Preise gibt&apos;s zum Start. Trag dich in die
Warteliste ein und sei von Anfang an dabei.
</p>
<DemoButton href="/waitlist" className="mt-2">
Auf die Warteliste
</DemoButton>
</div>
</section>
{/* Tiers — teased: blurred behind a "Bald verfügbar" barrier tape */}
<section className="section-full" style={{ background: "var(--bg-primary)", paddingTop: 40, paddingBottom: 104 }}>
<div className="relative mx-auto" style={{ maxWidth: "var(--content-width)" }}>
<div
className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-5 items-stretch select-none"
style={{
filter: "blur(3px) saturate(0.94)",
pointerEvents: "none",
// All three prefixes: React inline `userSelect` only emits the
// unprefixed property, but Safari/WebKit needs `-webkit-` or it
// still lets you drag-select & copy the (fake) blurred text.
userSelect: "none",
WebkitUserSelect: "none",
MozUserSelect: "none",
}}
aria-hidden
>
{tiers.map((tier) => (
<TierCard key={tier.name} tier={tier} />
))}
</div>
<ComingSoonTape />
</div>
<p className="text-center text-[13px] mt-10" style={{ color: "var(--text-tertiary)" }}>
Preise folgen zum Start · unverbindlich · keine versteckten Kosten.
</p>
</section>
</div>
);
}