Files

533 lines
32 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { Metadata } from "next";
import type { ReactNode } from "react";
import Link from "next/link";
import {
MagnifyingGlass, UserPlus, FlowArrow, SlidersHorizontal,
ShieldCheck, CheckCircle, ClipboardText, Key, Gauge, Lock, MapPin, Sparkle,
CalendarCheck, AddressBook, FolderOpen, Funnel, ClockCounterClockwise, CheckSquare,
} from "@phosphor-icons/react/ssr";
import type { Icon as PhosphorIcon } from "@phosphor-icons/react";
import DemoButton from "@/components/ui/DemoButton";
import HeroConnect from "@/components/sections/HeroConnect";
import RequestFlow from "@/components/sections/RequestFlow";
import { CHAMFER } from "@/lib/chamfer";
export const metadata: Metadata = {
title: "KI-Brücke",
description:
"Verbinde Claude oder ChatGPT direkt mit HiveGrid. Deine KI liest Aufträge, Kontakte und Projekte und erledigt Aufgaben für dich: sicher, DSGVO-konform und nur mit den Rechten, die du vergibst.",
alternates: { canonical: "/ki-anbindung" },
};
// PLACEHOLDER — Copy aus MCP-SUBPAGE-CONTENT.md. Framing "In Kürze / Early Access"
// (MCP ist Pilot auf Staging, Prod-Rollout offen). Client-Logos + finaler
// Text-Review noch offen — TODO(haris) / TODO(david: echte Client-Logos).
// ── shared bits ──────────────────────────────────────────────────────────────
// Icon in a honeycomb cell — same brand motif as the product feature cards.
function HexIcon({ icon: Icon }: { icon: PhosphorIcon }) {
return (
<span className="relative inline-flex items-center justify-center shrink-0" style={{ width: 54, height: 54 }} aria-hidden>
<svg viewBox="0 0 56 56" className="absolute inset-0 w-full h-full" fill="none">
<path
d="M3 28 L15.5 6.4 L40.5 6.4 L53 28 L40.5 49.6 L15.5 49.6 Z"
fill="var(--accent-yellow-light)"
stroke="var(--text-primary)"
strokeWidth="2"
strokeLinejoin="round"
/>
</svg>
<Icon size={23} weight="duotone" style={{ color: "var(--accent-yellow-dark)" }} className="relative" />
</span>
);
}
function HoneycombCorner() {
return (
<span
aria-hidden
className="absolute top-0 right-0 pointer-events-none"
style={{
width: "58%",
height: "66%",
backgroundImage: "url(/cta-honeycomb.svg)",
backgroundSize: "230px",
backgroundPosition: "top right",
backgroundRepeat: "no-repeat",
opacity: 0.5,
WebkitMaskImage: "radial-gradient(125% 125% at 100% 0%, #000 0%, transparent 62%)",
maskImage: "radial-gradient(125% 125% at 100% 0%, #000 0%, transparent 62%)",
}}
/>
);
}
function Kicker({ children, onDark = false }: { children: ReactNode; onDark?: boolean }) {
return (
<span
className="text-[12px] font-semibold tracking-widest chamfer-badge px-2 py-0.5"
style={onDark
? { background: "rgba(241,183,41,0.16)", color: "var(--accent-yellow)" }
: { background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}
>
{children}
</span>
);
}
function BrandMark({ name, viewBox, path }: { name: string; viewBox: string; path: string }) {
return (
<span className="inline-flex items-center" style={{ gap: 8 }} title={name}>
<svg viewBox={viewBox} role="img" aria-label={name} className="shrink-0" style={{ height: 19, width: 19, fill: "currentColor" }}>
<path d={path} />
</svg>
<span className="text-[15px] font-bold">{name}</span>
</span>
);
}
function ComingBadge() {
return (
<span
className="inline-flex items-center gap-1.5 text-[12px] font-bold tracking-widest chamfer-badge px-3 py-1"
style={{ background: "var(--accent-yellow)", color: "var(--accent-yellow-dark)" }}
>
<Sparkle size={13} weight="fill" /> IN KÜRZE
</span>
);
}
// ── data ─────────────────────────────────────────────────────────────────────
const nutzen = [
{
icon: MagnifyingGlass,
q: "„Zeig mir alle offenen Angebote über 10.000 €.“",
a: "Deine KI durchsucht deine Projekte und Pipelines in Sekunden.",
},
{
icon: UserPlus,
q: "„Leg einen Lead für Familie Meyer an und häng die Notiz vom Telefonat dran.“",
a: "Deine KI erstellt Lead und Aktivität, mit deiner Bestätigung.",
},
{
icon: FlowArrow,
q: "„Verschieb das Projekt Bad-Sanierung in die Phase ‚Angebot raus'.“",
a: "Deine KI bewegt das Projekt in der Pipeline, sauber protokolliert.",
},
{
icon: CalendarCheck,
q: "„Welche Monteure haben Mittwoch freie Kapazitäten für die Bad-Sanierung Meyer?“",
a: "Deine KI prüft Einsatzplanung und Auslastung und schlägt dir das passende Team vor.",
},
];
const demoResults = [
{ nr: "#A-2043", name: "Bad-Sanierung Meyer", val: "14.200 €" },
{ nr: "#A-2051", name: "Heizungstausch Krause", val: "21.800 €" },
{ nr: "#A-2066", name: "Dachsanierung Vogt", val: "32.500 €" },
];
const domains: { label: string; icon: PhosphorIcon }[] = [
{ label: "Leads", icon: UserPlus },
{ label: "Kontakte", icon: AddressBook },
{ label: "Projekte", icon: FolderOpen },
{ label: "Pipelines", icon: Funnel },
{ label: "Aktivitäten", icon: ClockCounterClockwise },
{ label: "Aufgaben", icon: CheckSquare },
];
const lesen: [string, string][] = [
["Leads", "suchen & Details abrufen"],
["Kontakte", "Privatpersonen & Organisationen suchen & abrufen"],
["Projekte", "nach Nummer, Titel, Pipeline, Phase, Verantwortlichem finden"],
["Pipelines", "Pipelines und aktive Phasen auflisten"],
["Aktivitäten", "Verlauf zu Kontakt, Projekt, Lead, Aufgabe"],
["Aufgaben", "nach Status, Priorität, Zuständigem, Frist suchen"],
];
const handeln: string[] = [
"Lead anlegen",
"Projekt in andere Phase verschieben",
"Aktivität / Notiz hinzufügen",
"Aufgabe anlegen (zugewiesen & verknüpft)",
"Aufgaben-Status ändern",
];
// Brand marks (single-path monochrome silhouettes, rendered in currentColor).
// Sources: Simple Icons (Claude, OpenAI, Cursor) · VS Code silhouette from the
// devicon mask path. Kept monochrome so the "works with" band stays uniform.
const brands: { name: string; viewBox: string; path: string; soon?: boolean }[] = [
{
name: "Claude",
viewBox: "0 0 24 24",
path: "m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z",
},
{
name: "ChatGPT",
viewBox: "0 0 24 24",
path: "M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z",
},
{
name: "Cursor",
soon: true,
viewBox: "0 0 24 24",
path: "M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23",
},
{
name: "VS Code",
soon: true,
viewBox: "0 0 128 128",
path: "M90.767 127.126a7.968 7.968 0 0 0 6.35-.244l26.353-12.681a8 8 0 0 0 4.53-7.209V21.009a8 8 0 0 0-4.53-7.21L97.117 1.12a7.97 7.97 0 0 0-9.093 1.548l-50.45 46.026L15.6 32.013a5.328 5.328 0 0 0-6.807.302l-7.048 6.411a5.335 5.335 0 0 0-.006 7.888L20.796 64 1.74 81.387a5.336 5.336 0 0 0 .006 7.887l7.048 6.411a5.327 5.327 0 0 0 6.807.303l21.974-16.68 50.45 46.025a7.96 7.96 0 0 0 2.743 1.793Zm5.252-92.183L57.74 64l38.28 29.058V34.943Z",
},
];
const pillars = [
{ icon: ShieldCheck, t: "Mandantentrennung", d: "Deine KI sieht nur die Daten deines Betriebs. Erzwungen über das Token, plus Row-Level-Security in der Datenbank." },
{ icon: SlidersHorizontal, t: "Du vergibst die Rechte", d: "Feingranulare Freigaben je Bereich, jederzeit widerrufbar." },
{ icon: ClipboardText, t: "Vollständiges Audit", d: "Jeder KI-Zugriff protokolliert: wer, welcher Client, welches Tool, wann." },
{ icon: MapPin, t: "Hosting in Deutschland", d: "DSGVO-konform, Serverstandort Deutschland." },
];
const checklist = [
{ icon: CheckCircle, t: "Bestätigung bei jeder Schreibaktion" },
{ icon: Key, t: "OAuth 2.1 · kurzlebige Tokens · kein Dauer-Schlüssel" },
{ icon: Gauge, t: "Rate-Limits & begrenzte Ausgabemengen" },
{ icon: Lock, t: "Daten sind Daten: Schutz vor Prompt-Injection" },
];
const tech: [string, string][] = [
["Protokoll", "Model Context Protocol (MCP), offizielles @modelcontextprotocol/sdk"],
["Transport", "Streamable HTTP (stateless)"],
["Endpoint", "https://mcp.hivegrid.de · eigener Dienst, getrennt von App & Public-API"],
["Auth", "OAuth 2.1 (Authorization Code + PKCE), RFC 9728 / RFC 8414, Resource-/Audience-Bindung, Consent, kurzlebige Access-Tokens + rotierende Refresh-Tokens + Widerruf, API-Key-Bearer als Fallback"],
["Tools", "15 (10 Read / 5 Write), Zod-validiert, Cursor-Pagination"],
["Scopes", "Presets mcp:read / mcp:write + granular je Domäne (lead, contact, project, pipeline, activity, task)"],
["Isolation", "Tenant aus dem Token → withTenantScope() + Row-Level-Security"],
["Governance", "withPermission()-Guards, Client-Confirmation für Writes, Audit-Event + Aktivitätslog pro Aktion, Rate-Limits, Output-Truncation, Prompt-Injection-Härtung"],
];
// ── the demo window (prompt → tool-call → result) ────────────────────────────
function DemoWindow() {
return (
<div className="relative w-full mx-auto" style={{ maxWidth: 720 }}>
<div style={{ background: "var(--surface)", clipPath: CHAMFER, filter: "drop-shadow(0 24px 48px rgba(15,23,42,0.16))" }}>
{/* window chrome */}
<div className="flex items-center gap-2.5 px-5 py-3.5" style={{ background: "var(--container-bg)" }}>
<span className="flex gap-1.5">
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#E5554E" }} />
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#F5B93F" }} />
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#57C05B" }} />
</span>
<span className="text-[12.5px] font-semibold" style={{ color: "var(--text-secondary)" }}>Claude · verbunden mit HiveGrid</span>
<span className="ml-auto inline-flex items-center gap-1 text-[10.5px] font-bold tracking-wider" style={{ color: "var(--accent-yellow-dark)" }}>
<Sparkle size={12} weight="fill" style={{ color: "var(--accent-yellow)" }} /> MCP
</span>
</div>
{/* conversation */}
<div className="flex flex-col gap-4 px-5 py-6" style={{ background: "var(--surface)" }}>
{/* user prompt */}
<div className="self-end max-w-[85%] text-[14px] leading-snug px-4 py-2.5"
style={{ background: "var(--dark-bg)", color: "#fff", borderRadius: "14px 14px 4px 14px" }}>
Zeig mir alle offenen Angebote über 10.000 €.
</div>
{/* tool call */}
<div className="self-start inline-flex flex-wrap items-center gap-2 text-[12.5px] px-3 py-2"
style={{ background: "var(--container-bg)", borderLeft: "3px solid var(--accent-yellow)", fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace", color: "var(--text-secondary)" }}>
<span className="font-bold" style={{ color: "var(--text-primary)" }}>hg_project_search</span>
<span className="inline-flex items-center px-1.5 py-0.5 text-[10px] font-bold rounded" style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}>read</span>
<span>wert&nbsp;&gt;&nbsp;10.000 · status:&nbsp;offen</span>
</div>
{/* result rows */}
<div className="self-start w-full flex flex-col gap-2">
{demoResults.map((r) => (
<div key={r.nr} className="flex items-center gap-3 px-3.5 py-2.5" style={{ background: "var(--surface)", border: "1px solid var(--border-light)", borderRadius: 8 }}>
<span className="text-[12px] font-bold" style={{ color: "var(--accent-yellow-dark)", fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace" }}>{r.nr}</span>
<span className="text-[13.5px] font-medium" style={{ color: "var(--text-primary)" }}>{r.name}</span>
<span className="ml-auto text-[13.5px] font-bold" style={{ color: "var(--text-primary)" }}>{r.val}</span>
</div>
))}
<span className="text-[12px] mt-1" style={{ color: "var(--text-tertiary)" }}>3 Treffer · nur Daten deines Betriebs</span>
</div>
</div>
</div>
</div>
);
}
// ── page ─────────────────────────────────────────────────────────────────────
export default function KiAnbindungPage() {
return (
<>
{/* ── 1 · Hero + Client-Band ──────────────────────────────────── */}
<section className="section-full" style={{ background: "var(--surface)", paddingTop: "var(--hero-top-padding)", paddingBottom: 56 }}>
<div className="mx-auto" style={{ maxWidth: "var(--content-width)" }}>
{/* two-column: pitch text (left) + interactive connect card (right) */}
<div className="flex flex-col items-center lg:flex-row lg:items-center gap-12 lg:gap-16">
<div className="flex flex-col items-center lg:items-start lg:flex-1 gap-6 text-center lg:text-left" style={{ maxWidth: 620 }}>
<ComingBadge />
<h1 className="text-[32px] sm:text-[40px] md:text-[54px] font-bold leading-[1.1]" style={{ color: "var(--text-primary)" }}>
HiveGrid spricht jetzt mit deiner KI.
</h1>
<p className="text-[17px] md:text-[19px] leading-relaxed" style={{ color: "var(--text-secondary)", maxWidth: 560 }}>
Verbinde Claude oder ChatGPT direkt mit HiveGrid. Deine KI liest Aufträge,
Kontakte und Projekte und erledigt Aufgaben für dich: sicher, DSGVO-konform und nur
mit den Rechten, die du vergibst.
</p>
<div className="flex flex-wrap items-stretch justify-center lg:justify-start gap-3 pt-2">
<DemoButton href="/waitlist">Früh dabei sein</DemoButton>
</div>
</div>
<div className="w-full lg:w-auto shrink-0 flex justify-center lg:justify-end">
<HeroConnect />
</div>
</div>
{/* slim client band (full width, below the split) */}
<div className="flex flex-col items-center gap-4 pt-8 mt-14 w-full" style={{ borderTop: "1px solid var(--border-light)" }}>
<span className="text-[12px] font-semibold tracking-widest" style={{ color: "var(--text-tertiary)" }}>FUNKTIONIERT MIT</span>
<div className="flex flex-wrap items-center justify-center" style={{ color: "var(--text-secondary)", columnGap: 28, rowGap: 12 }}>
{brands.filter((b) => !b.soon).map((b) => (
<BrandMark key={b.name} {...b} />
))}
</div>
{/* coming soon: dimmed logos under a small "BALD" banner */}
<div className="flex flex-wrap items-center justify-center gap-x-4 gap-y-2">
<span className="inline-flex items-center text-[10px] font-bold tracking-widest chamfer-badge px-2 py-0.5" style={{ background: "var(--bg-muted)", color: "var(--text-tertiary)" }}>BALD</span>
<div className="flex flex-wrap items-center justify-center" style={{ color: "var(--text-muted)", columnGap: 18, rowGap: 8, opacity: 0.7 }}>
{brands.filter((b) => b.soon).map((b) => (
<BrandMark key={b.name} {...b} />
))}
</div>
<span className="text-[13px]" style={{ color: "var(--text-tertiary)" }}>+ weitere MCP-fähige Clients</span>
</div>
</div>
</div>
</section>
{/* ── 2 · Prinzip + Brücke-Diagramm ───────────────────────────── */}
<section className="section-full" style={{ background: "var(--bg-primary)", paddingBlock: 80 }}>
<div className="flex flex-col items-center gap-12 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
<div className="flex flex-col items-center gap-4 text-center" style={{ maxWidth: 760 }}>
<Kicker>VERKNÜPFEN STATT ERSETZEN</Kicker>
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
Du bringst die KI mit. HiveGrid bringt die Tools.
</h2>
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>
Die KI läuft weiterhin bei dir oder deinem Anbieter. HiveGrid liefert nur die Daten
und führt die Aktionen aus, die du freigibst. Kein zusätzliches KI-Abo, kein
Daten-Umzug.
</p>
</div>
{/* the bridge — animated request lifecycle */}
<RequestFlow />
</div>
</section>
{/* ── 3 · Demo (money shot) + Beispiel-Karten ─────────────────── */}
<section id="demo" className="section-full" style={{ background: "var(--surface)", paddingBlock: 80, scrollMarginTop: 96 }}>
<div className="flex flex-col items-center gap-12 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
<div className="flex flex-col items-center gap-4 text-center" style={{ maxWidth: 720 }}>
<Kicker>IM ALLTAG</Kicker>
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
Frag deine KI. Sie erledigt es in HiveGrid.
</h2>
</div>
<DemoWindow />
{/* more examples */}
<div className="flex flex-col items-center gap-6 w-full">
<span className="text-[14px] font-medium" style={{ color: "var(--text-tertiary)" }}>Ein paar typische Anfragen von vielen:</span>
<div className="grid grid-cols-1 sm:grid-cols-2 gap-6 w-full">
{nutzen.map(({ icon, q, a }) => (
<div key={q} className="relative overflow-hidden" style={{ background: "var(--container-bg)", padding: 28, clipPath: CHAMFER }}>
<HoneycombCorner />
<div className="relative z-10 flex flex-col gap-3">
<HexIcon icon={icon} />
<p className="text-[16px] font-semibold leading-snug" style={{ color: "var(--text-primary)" }}>{q}</p>
<p className="text-[14px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>{a}</p>
</div>
</div>
))}
</div>
</div>
</div>
</section>
{/* ── Was deine KI kann ───────────────────────────────────────── */}
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
<div className="flex flex-col items-center gap-12 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
<div className="flex flex-col items-center gap-4 text-center" style={{ maxWidth: 700 }}>
<Kicker>DIE WERKZEUGE</Kicker>
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
15 Werkzeuge über sechs Bereiche.
</h2>
</div>
{/* domain honeycomb strip */}
<div className="flex flex-wrap items-center justify-center gap-3 md:gap-4">
{domains.map(({ label, icon: Icon }) => (
<div key={label} className="flex flex-col items-center gap-2" style={{ width: 96 }}>
<span className="relative inline-flex items-center justify-center" style={{ width: 52, height: 52 }} aria-hidden>
<svg viewBox="0 0 56 56" className="absolute inset-0 w-full h-full" fill="none">
<path d="M3 28 L15.5 6.4 L40.5 6.4 L53 28 L40.5 49.6 L15.5 49.6 Z" fill="var(--accent-yellow-light)" stroke="var(--text-primary)" strokeWidth="2" strokeLinejoin="round" />
</svg>
<Icon size={21} weight="duotone" className="relative" style={{ color: "var(--accent-yellow-dark)" }} />
</span>
<span className="text-[12.5px] font-semibold text-center" style={{ color: "var(--text-secondary)" }}>{label}</span>
</div>
))}
</div>
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6 w-full">
{/* Lesen */}
<div className="relative overflow-hidden flex flex-col gap-5" style={{ background: "var(--container-bg)", padding: 32, clipPath: CHAMFER }}>
<div className="flex items-center gap-2.5">
<MagnifyingGlass size={20} weight="duotone" style={{ color: "var(--accent-yellow-dark)" }} />
<h3 className="text-[18px] font-bold" style={{ color: "var(--text-primary)" }}>Lesen</h3>
<span className="text-[13px] font-semibold" style={{ color: "var(--text-tertiary)" }}>· 10 Tools</span>
</div>
<ul className="flex flex-col gap-3">
{lesen.map(([t, d]) => (
<li key={t} className="flex items-start gap-2.5">
<CheckCircle size={18} weight="fill" style={{ color: "var(--accent-yellow)", marginTop: 2, flexShrink: 0 }} />
<span className="text-[14.5px] leading-snug" style={{ color: "var(--text-secondary)" }}>
<b style={{ color: "var(--text-primary)" }}>{t}</b>: {d}
</span>
</li>
))}
</ul>
</div>
{/* Handeln */}
<div className="relative overflow-hidden flex flex-col gap-5" style={{ background: "var(--dark-bg)", padding: 32, clipPath: CHAMFER }}>
<div className="flex items-center gap-2.5">
<FlowArrow size={20} weight="duotone" style={{ color: "var(--accent-yellow)" }} />
<h3 className="text-[18px] font-bold text-white">Handeln</h3>
<span className="text-[13px] font-semibold" style={{ color: "var(--text-on-dark)" }}>· 5 Tools</span>
</div>
<ul className="flex flex-col gap-3">
{handeln.map((t) => (
<li key={t} className="flex items-start gap-2.5">
<ShieldCheck size={18} weight="fill" style={{ color: "var(--accent-yellow)", marginTop: 2, flexShrink: 0 }} />
<span className="text-[14.5px] leading-snug" style={{ color: "#E7ECF3" }}>{t}</span>
</li>
))}
</ul>
<p className="text-[13px] leading-relaxed mt-auto pt-2" style={{ color: "var(--text-on-dark)" }}>
Jede schreibende Aktion verlangt eine Bestätigung und landet im Audit-Protokoll:
nachvollziehbar, wer welche KI wann was getan hat.
</p>
</div>
</div>
</div>
</section>
{/* ── 7 · Sicherheit & DSGVO — 4 Säulen + Checkliste ──────────── */}
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
<div className="flex flex-col items-center gap-12 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
<div className="flex flex-col items-center gap-4 text-center" style={{ maxWidth: 720 }}>
<Kicker>SICHERHEIT & DSGVO</Kicker>
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
Sicherheit ist kein Zusatz, sondern die Grundlage.
</h2>
</div>
{/* 4 pillars */}
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 w-full">
{pillars.map(({ icon: Icon, t, d }) => (
<div key={t} className="flex flex-col gap-3" style={{ background: "var(--container-bg)", padding: 24, clipPath: CHAMFER }}>
<Icon size={28} weight="duotone" style={{ color: "var(--accent-yellow-dark)" }} />
<h3 className="text-[15.5px] font-bold leading-snug" style={{ color: "var(--text-primary)" }}>{t}</h3>
<p className="text-[13px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>{d}</p>
</div>
))}
</div>
{/* condensed checklist */}
<div className="grid grid-cols-1 sm:grid-cols-2 gap-x-8 gap-y-3 w-full" style={{ maxWidth: 820 }}>
{checklist.map(({ icon: Icon, t }) => (
<div key={t} className="flex items-center gap-2.5">
<Icon size={19} weight="fill" style={{ color: "var(--accent-yellow)", flexShrink: 0 }} />
<span className="text-[14.5px] font-medium" style={{ color: "var(--text-primary)" }}>{t}</span>
</div>
))}
</div>
</div>
</section>
{/* ── 8 · Technischer Steckbrief ──────────────────────────────── */}
<section className="section-full" style={{ background: "var(--bg-primary)", paddingBlock: 80 }}>
<div className="flex flex-col gap-8 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
<div className="flex flex-col items-center gap-3 text-center">
<Kicker>FÜR TECHNIK-ENTSCHEIDER</Kicker>
<h2 className="text-[28px] md:text-[36px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
Technischer Steckbrief.
</h2>
</div>
<div style={{ background: "var(--bg-dark)", clipPath: CHAMFER, filter: "drop-shadow(0 20px 40px rgba(15,26,46,0.4))" }}>
{/* terminal title bar */}
<div className="flex items-center gap-2.5 px-5 py-3" style={{ background: "var(--bg-dark-card)" }}>
<span className="flex gap-1.5">
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#E5554E" }} />
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#F5B93F" }} />
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#57C05B" }} />
</span>
<span className="text-[12.5px] font-medium" style={{ color: "var(--text-on-dark)", fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace" }}>
hivegrid-mcp · steckbrief
</span>
</div>
{/* code body */}
<div className="px-5 sm:px-7 py-6 overflow-x-auto" style={{ fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace", fontSize: 13.5, lineHeight: 1.7 }}>
<p className="mb-3" style={{ color: "#5E7290" }}># technischer Steckbrief · Stand: Pilot (Staging)</p>
<dl className="flex flex-col">
{tech.map(([k, v]) => (
<div key={k} className="grid grid-cols-1 sm:grid-cols-[150px_1fr] gap-x-4 py-2.5" style={{ borderTop: "1px solid rgba(255,255,255,0.06)" }}>
<dt style={{ color: "var(--accent-yellow)" }}>{k.toLowerCase()}</dt>
<dd style={{ color: "#C8D0DC" }}>
<span style={{ color: "#4E617D" }}>: </span>{v}
</dd>
</div>
))}
</dl>
</div>
</div>
</div>
</section>
{/* ── 9 · Abschluss-CTA ───────────────────────────────────────── */}
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
<div className="mx-auto" style={{ maxWidth: "var(--content-width)" }}>
<div className="relative overflow-hidden flex flex-col items-center gap-6 text-center" style={{ background: "var(--dark-bg)", padding: "clamp(40px, 6vw, 64px)", clipPath: CHAMFER }}>
<ComingBadge />
<h2 className="text-[28px] md:text-[40px] font-bold leading-[1.15] text-white max-w-xl">
Sei früh dabei.
</h2>
<p className="text-[17px] leading-relaxed max-w-lg" style={{ color: "var(--text-on-dark)" }}>
Die KI-Brücke ist aktuell im Pilot. Sag uns Bescheid, wenn dein Betrieb sie als Erster
nutzen soll.
</p>
<div className="flex flex-wrap justify-center gap-3">
<DemoButton href="/waitlist">Early Access anfragen</DemoButton>
<Link
href="/waitlist"
className="inline-flex items-center justify-center rounded-[var(--radius-button)] text-[16px] font-semibold hover:bg-white/10 transition-colors"
style={{ color: "#FFFFFF", padding: "14px 28px", border: "1px solid #FFFFFF" }}
>
Kontakt
</Link>
</div>
</div>
</div>
</section>
</>
);
}