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,16 @@
# Temporäres Landingpage-Archiv
Dieser Ordner enthält ausschließlich frühere Landingpage-Experimente und wird
weder gebaut noch als Route ausgeliefert.
Enthalten sind:
- die ehemalige `/playground`-Vorschau inklusive Honeycomb-Grid-Lab,
- vier alternative Landingpage-Entwürfe,
- das alte Rework-Mapping und die frühere Playground-Rewrite-Logik.
Die produktive Landingpage liegt jetzt unter `components/landing/` und wird von
`app/page.tsx` gerendert. Produktivcode darf nichts aus diesem Archiv importieren.
**Sobald Landingpage und Honeycomb final abgenommen sind, diesen gesamten
Ordner löschen.**
@@ -0,0 +1,309 @@
# HiveGrid Website — Rework-Mapping
Arbeitsgrundlage für Team + KI-Agenten während des Landing-Reworks. **Nicht für User.** Lebendes Dokument — bei Bedarf anpassen.
Zweck: Mapping-Arbeit sichtbar machen — welche Sektion existiert wo, in welchem Zustand, was ist zu tun, welche Referenzen. So können Dejan, Haris, David und die KI parallel und ohne Rückfragen weiterarbeiten.
---
## Team & Rollen
| Person | Rolle |
| --- | --- |
| **Dejan** | Grundgerüst, Layout, Elemente, Animationen, Infra, Deployment |
| **Haris** | Marketing-Texte. Kommt ins Spiel, sobald Dejan das Grundgerüst mit Platzhaltern gebaut hat und die Placeholder gegen finale Texte getauscht werden. |
| **David** | Screens/Screenshots (teils animiert) aus der echten HiveGrid-Software. Ersetzen die aktuellen Placeholder-Screens. |
| **Noah** | Mitgründer / Handwerksmeister. Ansprechpartner für Content-Entscheidungen (Newsletter, Testimonial-Video, Story). |
---
## Environments
### Live — `hivegrid.de`
- Aktuell noch der **v1-Stand** von damals.
- Deployed aus Branch `main` via `.gitea/workflows/deploy.yml` → Coolify (App-UUID `d108flfj9rk5hdm6p4b85er7`).
### Dev — dieser Repo, Branch `dejan`
- **Aktueller Arbeits-Branch.**
- Route `/playground` = Prototyp der neuen Landing. Wird später zur Startseite (`/`).
- Die aktuelle `/` = Ableger von v1, bleibt bis Playground produktionsreif ist.
- Playground ist in Production per `notFound()` gesperrt + `noindex` (siehe `app/playground/page.tsx`).
### Vorlage / Inspiration
- `/Users/dejancosic/Downloads/hivegrid-v3.html` — Haris' Vorarbeit, **lokal auf Dejans Rechner** (nicht im Repo).
- Nur zur Inspiration. Keine finalen Texte, Reihenfolge nicht bindend.
---
## User-Journey (Zielaufbau der neuen Landing)
Reihenfolge auf `/playground` iterieren, dann in die echte Landing migrieren. Jede Sektion ist unten mit Element-Referenz, Code-Pfad, Status und offenen Punkten gemapped.
### 1. Hero — Menschlichkeit
- **Idee**: echtes Foto oder kurze Video-Aufnahme aus unserem Büro. Kein rendered Dashboard-Screenshot mehr. Transportiert Schlichtheit + „vom Handwerker für den Handwerker", nicht vibe-coded.
- **Referenzen (Inspiration)**:
- <https://pro.bsport.io> — schlichter Foto-Hero
- <https://plancraft.com/de-de> — Handwerker-Fokus mit echten Aufnahmen
- **Aktuell auf `/playground`**: Text-Hero „Verknüpfen statt ersetzen" mit Honeycomb rechts — wandert zu Sektion 2.
- **TODO**:
- Hero neu bauen als Foto/Video-First-Hero
- Asset von **David** (Bürofoto/-video)
- Kernbotschaft-Copy von **Haris**
### 2. Pain-Point — „Verknüpfen statt ersetzen"
- **Element**: Honeycomb mit Tool-Logos (kwp, DATEV, Google Drive, Teams, Outlook, Google Calendar) + zentralem HiveGrid-Hub, verbunden über glimmende Datenlinien.
- **Code**: `app/playground/HoneycombSection.tsx`
- **Status**: gebaut ✅ (bare + inline Varianten für lg+ und <lg)
- **Details**: Kernbestandteil dieser Sektion. Drum herum: spezifische Probleme + spezifische Zahlen (Copy von Haris).
### 3. Lösungen — ScreenshotAccordion („Scroller")
- **Element**: Interaktiver Modul-Scroller. Links Accordion mit Modul-Namen, rechts Screenshot des aktiven Moduls. Auto-Cycle + Klick.
- **Code**: `components/sections/ScreenshotAccordion.tsx`
- **Aktuell auf `hivegrid.de`**: Module „Verwaltung, Planung, Baustelle, Services" mit Screenshots pro Modul.
- **Status**: existiert ✅ — Content pflegen (Module + Verweise auf `/produkt/*`)
- **TODO**:
- Placeholder-Screens (`public/images/screenshot-*.webp`) durch echte Software-Screens von **David** ersetzen
- ggf. Modul-Liste an neue Produkt-Struktur angleichen
### 4. Noahs Geschichte
- **Element**: Dark Section mit Noah-Foto + Gründer-Story-Text.
- **Code**: `app/playground/PlaygroundClient.tsx` (Story-Section, `#0f1a2e` Background, 2-Col-Layout ab lg)
- **Status**: existiert auf `/playground` ✅, aber **muss umgebaut und cooler** werden.
- **TODO**:
- Design-Overhaul (Prototyp auf `/playground` iterieren)
- Idee: Video statt/zusätzlich zum Foto — Noah erzählt die Story on-camera
- Text-Feinschliff mit **Haris**
### 5. Vergleich — HiveGrid vs. andere Lösungen
- **Element**: Existiert bereits in Haris' Vorlage `/Users/dejancosic/Downloads/hivegrid-v3.html`
- **Status**: nach `/playground` portieren
- **TODO**: Element aus HTML-Vorlage übernehmen, in HiveGrid-Tokens/Tailwind übersetzen, in Playground einbauen
### 6. DSGVO-Sicherheit — Pattern Interruption
- **Element**: Auch in Haris' HTML-Vorlage
- **Details**: „Pattern Interruption" = **bewusster Design-Bruch**. Andere Farbe als Brand Identity (nicht Yellow/Teal), damit das Auge stolpert und die DSGVO-Message hängen bleibt. Ist so gewollt und soll bleiben.
- **Status**: nach `/playground` portieren
- **TODO**: Übernehmen aus HTML-Vorlage, Farb-/Style-Bruch beibehalten
### 7. FAQ
- **Element**: Accordion-FAQ
- **Code**: `components/sections/FAQSection.tsx`, Daten in `lib/faqs.ts`
- **Status**: existiert auf live und dev ✅ — passt so
- **TODO**: keine (evtl. Content-Refresh mit Haris)
### 8. CTAs — „Understory"-Style vereint mit HiveGrid-Design
- **Referenzen**:
- Style-Idee: <https://www.cta.gallery/cta/understory>
- Demo-Flow: <https://pro.bsport.io/de/demo>
- **Aktuell auf live**: gelbe CTA-Section mit „Demo buchen" + „Kontakt" Buttons (siehe `components/ui/CTABanner.tsx`)
- **Plan**: Kombinieren
- Understory-Layout (cooles Bild + starke Headline + CTA-Reihe)
- HiveGrid-Farben (gelber Section-BG wie aktuell live)
- Beide Buttons: „Demo buchen" (primär → Lead-Formular) + „Kontakt" (sekundär)
- **TODO**:
- `CTABanner.tsx` erweitern um Image-Slot
- Bild-Asset von **David**
- Layout an Understory anlehnen, Style-Tokens (Yellow) behalten
### 9. Lead-Formular im Footer
- **Referenz**: <https://tool-ctrl.de> — Footer-Formular
- **Aktuell auf live**: Lead-Formular nur unter `/demo`. Footer hat nur Newsletter + Links.
- **TODO**:
- Formular in `components/layout/Footer.tsx` einbauen (analog tool-ctrl.de Footer)
- Dasselbe Backend nutzen wie `/demo` → `POST /api/demo-request` (siehe Lead-Flow unten)
### 10. Newsletter
- **Status**: TBD mit Noah — entscheiden ob Newsletter bleibt oder raus.
- **Aktuell**: Newsletter-Signup in `components/layout/Footer.tsx` eingebaut (+ Flow-Seiten unter `/newsletter/*`).
- **TODO**: Abstimmung Noah → Entscheidung ja/nein → ggf. Newsletter-UI + Routes entfernen
---
## Element-Inventar & Cross-Mapping
Chronologisches Inventar jeder der drei Landingpages, gefolgt von einer Cross-Mapping-Tabelle, die zeigt welche Sektion welchen Zweck auf welchem Stand erfüllt. Basis für die Entscheidungen: übernehmen / umbauen / droppen / verschieben.
### Inventar — `hivegrid.de` (Live, v1)
Quelle: `app/page.tsx` auf `main`.
| # | Element (Code) | Beschreibung | Zweck |
|---|---|---|---|
| 1 | `HeroSection` | Badge „SHK-SOFTWARE", Headline „Ihr Betrieb läuft organisiert, automatisiert und effizient.", Sub-Copy, 2 CTAs, Dashboard-Screenshot rechts, heyData-DSGVO-Siegel als Overlay | Wertversprechen + Handlungsaufforderung |
| 2 | `ScreenshotAccordion` | Badge „LÖSUNG"; „Der effizienteste Planungs- und Vertriebsprozess."; Modul-Accordion (Verwaltung / Planung / Baustelle / Services) mit Auto-Cycle + Screenshot rechts | Module durchklickbar zeigen |
| 3 | `FeaturesGrid` | 6 Feature-Cards mit Lucide-Icons (die 6 Produkte) | Produkt-Overview |
| 4 | `ChatDemoSectionClient` | Interaktive Phone-Preview mit Rules-basierten Antworten aus `lib/chat-demo/assistant.ts` | „Wie fühlt sich das an"-Demo |
| 5 | `HowItWorksSection` | 4 Schritt-Karten (01–04) mit Screens: Workflow erstellen → Trigger → Aktionen → Aktivieren | Prozess erklären |
| 6 | `AdvantagesSection` | 4 Vorteil-Kacheln (DSGVO, Mobile, Speed, Support) + heyData-Siegel | Trust / USPs |
| 7 | `CTABanner` (1) | „Bereit, Ihren Betrieb zu digitalisieren?" — 1 CTA (Demo) | Mid-Page-CTA |
| 8 | `FAQSection` | 6 FAQ (Datenquelle: `lib/faqs.ts`) | Einwände abbauen |
| 9 | `CTABanner` (2) | „Starten Sie jetzt mit HiveGrid." — Demo + Kontakt | Final-CTA |
### Inventar — `/playground` (Dev, Branch `dejan`)
Quelle: `app/playground/PlaygroundClient.tsx`.
| # | Element (Code / Ort) | Beschreibung | Zweck |
|---|---|---|---|
| 0 | Dev-Marker (inline) | Gelber Streifen „DEV PLAYGROUND — nicht live" | Kennzeichnung als Prototyp |
| 1 | Hero (inline) + `HoneycombSection` | „Verknüpfen statt ersetzen." mit Yellow-Highlight, 2 CTAs; Honeycomb als Full-Bleed-BG rechts (lg+) bzw. inline unter Text (<lg) | Hook + Kernbotschaft + Tool-Visual |
| 2 | Noah-Story (inline) | Dark Section (`#0f1a2e`), Noah-Foto + Story „Die Geschichte fängt auf der Baustelle an." + Autor-Card | Social Proof / Origin |
| 3 | Feature-Grid (inline) | 6 Feature-Karten (analog Live, Placeholder-Text) | Produkt-Overview |
| 4 | Stats-Section (inline) | 3 GSAP-Count-Up KPIs (1200+ Betriebe, 8 Std/Woche gespart, 99,9 % Verfügbarkeit) | Zahlen-Wirkung |
| 5 | How-it-works (inline) | 3 Schritt-Karten mit scrub-Progress-Linie (Einrichten / Verbinden / Automatisieren) | Prozess minimalistisch |
| 6 | Dark CTA banner (inline) | „Ein Call-to-Action mit Nachdruck." — Demo + Kontakt | Mid/Final-CTA |
| 7 | FAQ (inline, playground-eigene 4 Fragen) | Placeholder-`<details>` | FAQ als UI-Demo, kein Live-Content |
### Inventar — `hivegrid-v3.html` (Haris' Vorlage)
Quelle: `/Users/dejancosic/Downloads/hivegrid-v3.html`. Nur Landing (Modul-Page und globaler Footer weggelassen).
| # | Element (v3) | Beschreibung | Zweck |
|---|---|---|---|
| 1 | Hero | „Dein ganzer Betrieb. Endlich auf einen Blick." Gründer-Illustration (2 Handwerker Rücken-an-Rücken), 2 CTAs, 3 Trust-Badges, Float-Badge „∞ Eine Plattform statt 7 Insellösungen" | Wertversprechen + Menschlichkeit |
| 2 | Proof Strip | Partner-Logo + Stats „7 → 1 Programme" + Zeit-Ersparnis | Instant Social Proof |
| 3 | Problem Section | „Das Problem: Wechseln? Lieber nicht." 3 Cards + Chaos-Visual (7 zerstreute Tools) | Pain-Point konkret machen |
| 4 | Solution Section | „Die Lösung: Wir bauen auf dem auf, was du schon hast." 3 Bullets + Workflow-Flow-Diagramm | Lösungs-Positioning |
| 5 | Story Section | Navy-BG, Noah-Foto, Story + 3 Stats (7 Programme → 1 Plattform → X Std/Woche) | Social Proof + Origin |
| 6 | Compare Section | „Andere Lösungen vs. HiveGrid" — 2-Spalten-Vergleich mit X/✓, EMPFOHLEN-Pill | Wettbewerbs-Abgrenzung |
| 7 | Trust Band | Teal-BG (**Pattern Interruption**); Deutschland-Flagge + „100 % Made in Germany" + 4 Trust-Items | Vertrauen (DSGVO) mit visuellem Bruch |
| 8 | Final CTA | Navy-BG „In 30 Minuten siehst du deinen ganzen Betrieb" + 2 CTAs (Demo + Erstgespräch) + „Kein Vertrag / keine Kreditkarte" | Final-Aktion |
| 9 | About Founders | „Über uns: Zwei Welten. Ein Team." 2 Gründer-Kacheln (Handwerk & Technik) | Team-Vorstellung |
### Cross-Mapping (Zweck × Stand)
Zeigt für jeden Zweck / jede Journey-Rolle, welche Sektion sie auf welchem Stand erfüllt. Leere Zelle = nicht vorhanden.
| Zweck / Journey-Punkt | hivegrid.de (Live) | /playground (Dev) | v3.html (Haris) |
|---|---|---|---|
| **Hook / Wertversprechen (Hero)** | #1 HeroSection (Dashboard-Screenshot) | #1 Text-Hero + Honeycomb | #1 Gründer-Illustration + Float-Badge |
| **Instant Social Proof** | — | — | #2 Proof Strip |
| **Pain-Point (Journey 2)** | — | #1 Honeycomb (visuell) | #3 Problem + Chaos-Visual |
| **Lösungs-Positioning** | — | — | #4 Solution + Flow-Diagramm |
| **Modul-Übersicht als Scroller (Journey 3)** | #2 `ScreenshotAccordion` ✅ | — | (auf v3-Modul-Page, nicht Landing) |
| **Produkt-Cards (Sekundär-Overview)** | #3 `FeaturesGrid` | #3 Feature-Grid | — |
| **Chat-Demo (Live-only)** | #4 `ChatDemoSectionClient` | — | — |
| **Wie funktioniert's** | #5 `HowItWorksSection` | #5 How-it-works | (in Solution enthalten) |
| **KPI-Zahlen** | — | #4 Stats (GSAP Count-up) | (in Story enthalten) |
| **Trust / Vorteile** | #6 `AdvantagesSection` + heyData | — | #7 Trust Band |
| **Story / Noah (Journey 4)** | — | #2 Dark Story | #5 Navy Story |
| **Vergleich vs. andere (Journey 5)** | — | — | #6 Compare Section ✅ |
| **DSGVO + Pattern Interruption (Journey 6)** | (nur als Kachel in Advantages) | — | #7 Teal Trust Band ✅ |
| **FAQ (Journey 7)** | #8 `FAQSection` ✅ | #7 (Placeholder-Content) | — |
| **CTAs (Journey 8)** | #7 + #9 `CTABanner` | #6 Dark CTA | #8 Navy Final CTA |
| **Über uns / Team** | (eigene Page `/ueber-uns`) | — | #9 About Founders |
**Legende:** ✅ = bevorzugte Quelle für die neue Landing.
**Beobachtungen zur weiteren Diskussion:**
- v3-Elemente **Proof Strip (#2)**, **Problem (#3)**, **Solution (#4)** existieren aktuell weder auf Live noch auf Playground → **komplett neu bauen** oder aus HTML portieren
- **Compare (#6, v3)** und **Trust Band mit Pattern Interruption (#7, v3)** existieren **nur** auf v3 → **aus HTML portieren** (siehe Journey-Punkte 5 & 6)
- **ChatDemo** existiert nur auf Live → Entscheidung: übernehmen oder droppen? (nicht in Journey enthalten)
- **HowItWorksSection** existiert auf Live und Playground → auf Playground stark reduziert (3 statt 4 Schritte, minimalistischer). Entscheidung: welche Version behalten?
- **AdvantagesSection** (Live) und **v3 Trust Band** überlappen konzeptionell → nur eine Variante auf der neuen Landing
- **Playground-Hero (Text + Honeycomb)** wird laut Journey verschoben: Hero (1) wird echtes Foto/Video, Honeycomb rutscht in Sektion 2 (Pain-Point)
---
## Content-Status
- **Alle Texte auf `/playground`** sind Platzhalter (Lorem / wip-Wording).
- **Placeholder-Screens** liegen in `public/images/screenshot-*.webp` und `public/images/step-*.webp`. Werden durch Davids echte Screens ersetzt.
- **Finale Texte** kommen von Haris, sobald das Grundgerüst steht.
**Konvention:** Platzhalter mit `TODO(haris)` oder `// PLACEHOLDER` markieren, damit sie beim Text-Swap gefunden werden. Placeholder-Screens einheitlich in `public/images/` benennen.
---
## Lead-Flow
Details: `app/api/demo-request/route.ts` + `lib/db/demo-requests.ts`
```
Form → POST /api/demo-request
↓
forwardToInbox() ← primary
→ POST {LEAD_INBOX_URL}/v1/leads
Authorization: Bearer {LEAD_INBOX_KEY}
↓ (ok?)
ja → ✅ fertig
nein → insertDemoRequest() → /app/data/demo-requests.db (SQLite fallback)
```
- `LEAD_INBOX_URL` + `LEAD_INBOX_KEY` als Env-Vars in Coolify setzen → Leads gehen an die zentrale Inbox.
- **⚠️ SQLite-Fallback ist ephemer**: In `infrastructure/docker-compose.production.yml` ist **kein Volume** für `/app/data` gemountet → jedes Deployment löscht die Fallback-DB. TODO: `hivegrid_leads:/app/data` Volume ergänzen, falls Fallback verlässlich sein soll.
- **Kein Admin-UI**: Fallback-Leads nur via `docker exec` auslesbar.
---
## SEO — Fundament erledigt
Siehe Commit `d84175e feat(seo): SEO foundation`.
Geliefert:
- `robots.ts`, `sitemap.ts`, `manifest.ts`, `opengraph-image.tsx` (+ twitter re-export)
- JSON-LD global: `Organization`, `WebSite`; Home: `FAQPage`; Produktseiten: `SoftwareApplication` + `BreadcrumbList`
- Erweiterte Metadata + Canonical + Twitter Cards + Security Headers
- Client-only Pages (`/kontakt`, `/demo`, `/newsletter/abmelden`) in Server-Wrapper + `*Form.tsx` gesplittet, damit `metadata` exportierbar
- Hero-Screenshot auf `next/image` mit `priority` (LCP-Win)
Offen:
- Google Search Console: Verifizierungs-Token in `app/layout.tsx` → `metadata.verification.google` eintragen.
- Optional: statisches `og-default.png` (aktuell wird OG-Bild programmatisch generiert).
- **Rechtlich klären**: `/agb`-Body nennt „HiveGrid GmbH" + „Gerichtsstand Hamburg", `/impressum` sagt „R&D² UG (haftungsbeschränkt)" in Bruchsal. Ausrichten.
---
## Konventionen
- **Sprache**: UI = Deutsch. Code-Kommentare = Englisch.
- **Next.js 16**: **breaking changes zu älteren Versionen** — vor Code-Änderungen Docs in `node_modules/next/dist/docs/` prüfen (siehe `AGENTS.md`).
- **Prototyping**: neue Sektionen/Animationen zuerst auf `/playground` bauen, dann in die echte Landing übernehmen.
- **Tailwind v4** (`@tailwindcss/postcss`), Design-Tokens in `app/globals.css` als CSS-Variablen.
- **Animationen**: GSAP + `useGSAP` in Client Components, alles hinter `prefers-reduced-motion` gaten.
---
## Roadmap
**Build (Dejan / KI):**
- [x] SEO Foundation
- [x] Playground scaffolding (Hero mit Honeycomb, Noah-Story, Feature-Grid, Stats, How-it-works, CTA, FAQ)
- [ ] Hero (1) neu bauen als Foto/Video-First-Hero
- [ ] Pain-Point-Sektion (2) um Honeycomb herum bauen (Text + Zahlen)
- [ ] ScreenshotAccordion (3) auf Playground einbauen, an neue Produkt-Struktur angleichen
- [ ] Noah-Story (4) redesignen (Prototyp-Iterationen)
- [ ] Vergleichs-Sektion (5) aus Haris' HTML portieren
- [ ] DSGVO-Sektion (6) mit Pattern Interruption aus Haris' HTML portieren
- [ ] CTA-Sektion (8) im „understory"-Stil bauen (Image-Slot in `CTABanner.tsx`)
- [ ] Lead-Formular in Footer (9) integrieren
- [ ] Playground → echte Landing migrieren (`/playground` Content wird zu `/`)
**Content / Assets:**
- [ ] Haris: Platzhalter-Texte durch finalen Content ersetzen (`TODO(haris)` Marker suchen)
- [ ] David: Bürofoto/-video für Hero (1)
- [ ] David: echte Software-Screens für ScreenshotAccordion (3) → ersetzen `public/images/screenshot-*.webp`
- [ ] David: Bild für neue CTA-Sektion (8)
- [ ] Noah: Entscheidung Newsletter ja/nein (10)
- [ ] Noah: ggf. Testimonial-Video für Story-Sektion (4)
**Infra / Legal:**
- [ ] Lead-Inbox Volume-Mount in production docker-compose (falls SQLite-Fallback zählen soll)
- [ ] Rechtliche Entity-Klärung (GmbH vs. UG) → AGB-Body + Footer-Copyright angleichen
- [ ] Google Search Console verifizieren + Token in `metadata.verification.google` eintragen
**Release:**
- [ ] Merge `dejan` → `main` → Deploy → hivegrid.de auf neue Version
---
## Nützliche Referenzen
- Repo: <https://git.tool-ctrl.de/toolctrl-labs/HiveGrid-Website>
- Live: <https://hivegrid.de>
- Coolify (Deploy): App-UUID `d108flfj9rk5hdm6p4b85er7`
- Deploy-Workflow: `.gitea/workflows/deploy.yml`
- Design-Tokens: `app/globals.css`
- Produkt-Daten: `lib/produkt-daten.ts`
- FAQ-Daten: `lib/faqs.ts`
- Site-Config (Nav, Footer, Produkte): `lib/site.config.ts`
@@ -0,0 +1,390 @@
import Image from "next/image";
import Link from "next/link";
import {
ArrowRight,
ArrowUpRight,
Check,
ChevronDown,
Headphones,
MapPin,
Server,
ShieldCheck,
X,
} from "lucide-react";
import {
comparisonRows,
faqItems,
labVersions,
landingCopy,
solutionModules,
tools,
trustItems,
type LabVariant,
} from "./content";
import styles from "./lab.module.css";
export function cx(...classes: Array<string | false | null | undefined>) {
return classes.filter(Boolean).join(" ");
}
export function LabBar({ active }: { active?: LabVariant }) {
return (
<aside className={styles.labBar} aria-label="Temporäre Landingpage-Versionen">
<Link href="/landingpage-lab-muss-geloescht-werden" className={styles.labWarning}>
<span className={styles.warningDot} aria-hidden />
TEMP · MUSS GELÖSCHT WERDEN
</Link>
<nav className={styles.labNav} aria-label="Version wechseln">
{labVersions.map((version) => (
<Link
key={version.slug}
href={`/landingpage-lab-muss-geloescht-werden/${version.slug}`}
className={cx(styles.labNavLink, active === version.slug && styles.labNavLinkActive)}
aria-current={active === version.slug ? "page" : undefined}
>
<span>{version.index}</span>
{version.name}
</Link>
))}
</nav>
</aside>
);
}
export function HeroCopy({
kicker,
compact = false,
}: {
kicker?: string;
compact?: boolean;
}) {
return (
<div className={cx(styles.heroCopy, compact && styles.heroCopyCompact)} data-hero-copy>
<div className={styles.heroEyebrow} data-hero-item>
<span className={styles.eyebrowSignal} aria-hidden />
{kicker ?? landingCopy.hero.eyebrow}
</div>
<h1 className={styles.heroTitle} data-hero-item>
Neue Software? Brauchst du nicht.
<br />
HiveGrid <span>verbindet</span>, was du schon hast.
</h1>
<p className={styles.heroBody} data-hero-item>
{landingCopy.hero.body}
</p>
<div className={styles.heroActions} data-hero-item>
<Link href="/waitlist" className={styles.primaryButton}>
Auf die Warteliste
<ArrowRight size={17} aria-hidden />
</Link>
<Link href="/kunden" className={styles.secondaryButtonDark}>
Für wen ist HiveGrid?
</Link>
</div>
</div>
);
}
export function SectionHeading({
eyebrow,
children,
body,
dark = false,
align = "left",
}: {
eyebrow: string;
children: React.ReactNode;
body?: string;
dark?: boolean;
align?: "left" | "center";
}) {
return (
<header
className={cx(
styles.sectionHeading,
dark && styles.sectionHeadingDark,
align === "center" && styles.sectionHeadingCenter
)}
data-reveal="up"
>
<span className={styles.sectionEyebrow}>{eyebrow}</span>
<h2>{children}</h2>
{body ? <p>{body}</p> : null}
</header>
);
}
export function IntegrationsTitle({ dark = false, align = "left" }: { dark?: boolean; align?: "left" | "center" }) {
return (
<SectionHeading
eyebrow={landingCopy.integrations.eyebrow}
body={landingCopy.integrations.body}
dark={dark}
align={align}
>
{landingCopy.integrations.titleBeforeAccent} <span>{landingCopy.integrations.titleAccent}</span>
</SectionHeading>
);
}
export function SolutionsTitle({ dark = false, align = "left" }: { dark?: boolean; align?: "left" | "center" }) {
return (
<SectionHeading
eyebrow={landingCopy.solutions.eyebrow}
body={landingCopy.solutions.body}
dark={dark}
align={align}
>
{landingCopy.solutions.title}
</SectionHeading>
);
}
export function ToolChip({ index, small = false }: { index: number; small?: boolean }) {
const tool = tools[index % tools.length];
return (
<div className={cx(styles.toolChip, small && styles.toolChipSmall)} data-tool-chip>
<span className={styles.toolIcon}>
<Image src={tool.asset} alt="" width={32} height={32} sizes="32px" />
</span>
<span>{tool.name}</span>
<span className={styles.toolStatus} aria-label="Verbunden" />
</div>
);
}
export function ProductScreenshot({
moduleIndex,
priority = false,
}: {
moduleIndex: number;
priority?: boolean;
}) {
const solution = solutionModules[moduleIndex];
return (
<div className={styles.productScreenshot}>
<div className={styles.productTopbar}>
<span className={styles.productDots} aria-hidden>
<i />
<i />
<i />
</span>
<span>{solution.title}</span>
<span className={styles.productLive}>{priority ? "LIVE" : "VORSCHAU"}</span>
</div>
<div className={styles.productImage}>
<Image
src={solution.screenshot}
alt={`${solution.title} in HiveGrid`}
fill
sizes="(max-width: 800px) 92vw, 720px"
priority={priority}
/>
</div>
</div>
);
}
export function SolutionCard({
index,
visual = true,
}: {
index: number;
visual?: boolean;
}) {
const solution = solutionModules[index];
return (
<article className={styles.solutionCard} data-reveal={index % 2 === 0 ? "left" : "right"}>
<div className={styles.solutionMeta}>
<span>0{index + 1}</span>
<span>{solution.metric}</span>
</div>
<div className={styles.solutionCopy}>
<h3>{solution.title}</h3>
<p>{solution.body}</p>
{solution.href ? (
<Link href={solution.href} className={styles.textLink}>
Bereich ansehen <ArrowUpRight size={16} aria-hidden />
</Link>
) : null}
</div>
{visual ? <ProductScreenshot moduleIndex={index} /> : null}
</article>
);
}
export function CustomerHeading() {
return (
<h2 className={styles.customerTitle}>
{landingCopy.customer.titleBeforeAccent} <span>{landingCopy.customer.titleAccent}</span>{" "}
{landingCopy.customer.titleAfterAccent}
</h2>
);
}
export function StoryText({ compact = false }: { compact?: boolean }) {
return (
<div className={cx(styles.storyText, compact && styles.storyTextCompact)} data-reveal="up">
<span className={styles.storyEyebrow}>{landingCopy.story.eyebrow}</span>
<h2>{landingCopy.story.title}</h2>
<div className={styles.storyParagraphs}>
{landingCopy.story.paragraphs.map((paragraph, index) => (
<p key={paragraph}>
{index === 0 ? <strong>Ich bin Noah Geerkens.</strong> : null}
{index === 0 ? paragraph.replace("Ich bin Noah Geerkens.", "") : paragraph}
</p>
))}
</div>
</div>
);
}
export function NoahPortrait({ wide = false }: { wide?: boolean }) {
return (
<figure className={cx(styles.noahPortrait, wide && styles.noahPortraitWide)} data-reveal="scale">
<Image
src="/images/team/noah.webp"
alt="Noah Geerkens, Mitgründer und Handwerksmeister"
fill
sizes={wide ? "(max-width: 800px) 92vw, 960px" : "(max-width: 800px) 92vw, 520px"}
/>
<figcaption>
<strong>Noah Geerkens</strong>
<span>Mitgründer &amp; Handwerksmeister</span>
</figcaption>
</figure>
);
}
export function ComparisonTitle({ dark = false, align = "center" }: { dark?: boolean; align?: "left" | "center" }) {
return (
<SectionHeading eyebrow={landingCopy.comparison.eyebrow} dark={dark} align={align}>
{landingCopy.comparison.titleBefore} <em>{landingCopy.comparison.versus}</em>{" "}
{landingCopy.comparison.titleAfter}
</SectionHeading>
);
}
export function ComparisonGrid() {
return (
<div className={styles.comparisonGrid} data-stagger>
<article className={styles.comparisonBad}>
<div className={styles.comparisonColumnTitle}>Andere Lösungen</div>
<ul>
{comparisonRows.map(([bad]) => (
<li key={bad}>
<X size={18} aria-hidden />
<span>{bad}</span>
</li>
))}
</ul>
</article>
<article className={styles.comparisonGood}>
<div className={styles.comparisonColumnTitle}>HiveGrid</div>
<ul>
{comparisonRows.map(([, good]) => (
<li key={good}>
<Check size={18} aria-hidden />
<span>{good}</span>
</li>
))}
</ul>
</article>
</div>
);
}
const trustIcons = [Server, ShieldCheck, MapPin, Headphones] as const;
export function TrustBand() {
return (
<section className={styles.trustBand}>
<div className={styles.trustIntro} data-reveal="left">
<span className={styles.germanyFlag} aria-hidden>
<i />
<i />
<i />
</span>
<div>
<h2>{landingCopy.trust.title}</h2>
<p>{landingCopy.trust.body}</p>
</div>
</div>
<div className={styles.trustList} data-stagger>
{trustItems.map((item, index) => {
const Icon = trustIcons[index];
return (
<div key={item}>
<Icon size={18} aria-hidden />
<span>{item}</span>
</div>
);
})}
</div>
</section>
);
}
export function FaqSection({ dark = false }: { dark?: boolean }) {
return (
<section className={cx(styles.faqSection, dark && styles.faqSectionDark)}>
<SectionHeading
eyebrow={landingCopy.faq.eyebrow}
body={landingCopy.faq.body}
dark={dark}
align="center"
>
{landingCopy.faq.title}
</SectionHeading>
<div className={styles.faqList} data-stagger>
{faqItems.map((item, index) => (
<details key={item.q} className={styles.faqItem} open={index === 0}>
<summary>
<span>{item.q}</span>
<ChevronDown size={19} aria-hidden />
</summary>
<p>{item.a}</p>
</details>
))}
</div>
</section>
);
}
export function DifferenceCta() {
return (
<section className={styles.differenceCta} data-reveal="scale">
<div>
<span>30 MINUTEN · UNVERBINDLICH</span>
<h2>{landingCopy.differenceCta.title}</h2>
<p>{landingCopy.differenceCta.body}</p>
</div>
<Link href="/waitlist" className={styles.primaryButton}>
Auf die Warteliste <ArrowRight size={17} aria-hidden />
</Link>
</section>
);
}
export function FinalCta({ index }: { index: string }) {
return (
<section className={styles.finalCta} data-reveal="up">
<div className={styles.finalCtaIndex} aria-hidden>
{index}
</div>
<div className={styles.finalCtaCopy}>
<span>NÄCHSTER SCHRITT</span>
<h2>{landingCopy.finalCta.title}</h2>
<p>{landingCopy.finalCta.body}</p>
</div>
<div className={styles.finalCtaActions}>
<Link href="/waitlist" className={styles.primaryButton}>
Auf die Warteliste <ArrowRight size={17} aria-hidden />
</Link>
<Link href="/kontakt" className={styles.secondaryButtonDark}>
Kontakt
</Link>
</div>
</section>
);
}
@@ -0,0 +1,10 @@
# MUSS GELÖSCHT WERDEN
Dieser komplette Ordner ist ein historisches Landingpage-Lab im gemeinsamen
Archiv. Maßgeblich ist die `README.md` eine Ebene über diesem Bereich.
- Nicht für Produktion gedacht.
- Nicht in Navigation oder Sitemap verlinken.
- Der Ordner wird nicht gebaut und stellt keine Route mehr bereit.
- Die bestehende Landingpage unter `/` wird von diesem Lab nicht verändert.
- Nach finaler Abnahme das gesamte gemeinsame Landingpage-Archiv löschen.
@@ -0,0 +1,5 @@
import Cockpit from "../variants/Cockpit";
export default function CockpitPage() {
return <Cockpit />;
}
@@ -0,0 +1,207 @@
export type LabVariant = "systemkarte" | "werkstatt" | "cockpit" | "prozessfluss";
export const labVersions: Array<{
slug: LabVariant;
index: string;
name: string;
summary: string;
motion: string;
}> = [
{
slug: "systemkarte",
index: "01",
name: "Systemkarte",
summary: "HiveGrid als verbindende Ebene: Werkzeuge, Daten und Aufträge werden räumlich lesbar.",
motion: "Knotenaufbau, Leitungsfluss und scrollgebundene Produktbahnen",
},
{
slug: "werkstatt",
index: "02",
name: "Werkstatt Editorial",
summary: "Eine großzügige, menschliche Geschichte mit Produktansichten wie auf einem Werkplan.",
motion: "Aufgefächerte UI-Blätter, horizontale Kapitel und ruhige Bildtiefe",
},
{
slug: "cockpit",
index: "03",
name: "Betriebs-Cockpit",
summary: "Produkt zuerst: ein responsives Operations-Dashboard zeigt den ganzen Betrieb auf einmal.",
motion: "Dashboard-Aufbau, Statussignale und geführte Datenbewegung",
},
{
slug: "prozessfluss",
index: "04",
name: "Geführter Prozessfluss",
summary: "Eine Anfrage wandert sichtbar vom ersten Kontakt bis zur bezahlten Rechnung.",
motion: "Pfadzeichnung, Etappenwechsel und subtile Scroll-Choreografie",
},
];
export const landingCopy = {
hero: {
eyebrow: "Vom Handwerker für den Handwerker",
beforeAccent: "Neue Software? Brauchst du nicht. HiveGrid",
accent: "verbindet",
afterAccent: ", was du schon hast.",
body:
"kwp, DATEV, Kalender, Postfach, WhatsApp. HiveGrid legt sich über das, was schon läuft, und macht daraus einen Fluss. Nichts wird ersetzt, nichts migriert. Du gewinnst den Überblick, ohne irgendwas zu verlieren.",
},
integrations: {
eyebrow: "INTEGRATIONEN",
titleBeforeAccent: "Deine Werkzeuge.",
titleAccent: "Eine Wabe.",
body:
"HiveGrid verbindet die Software, mit der dein Betrieb schon arbeitet — alles fließt in einem System zusammen.",
},
solutions: {
eyebrow: "Die Lösung",
title: "Jeder Bereich deines Betriebs. Ein Überblick.",
body:
"Klick dich durch die wichtigsten Bereiche und sieh, wie viel ruhiger dein Betrieb läuft, wenn alles ineinandergreift.",
},
customer: {
titleBeforeAccent: "So arbeitet die",
titleAccent: "Geerkens GmbH",
titleAfterAccent: "heute mit HiveGrid.",
body:
"Angebote, Baustellen und Wartung an einem Ort. In 30 Minuten zeigen wir dir deinen eigenen Betrieb. Unverbindlich.",
},
story: {
eyebrow: "Warum es HiveGrid gibt",
title: "Die Geschichte fängt auf der Baustelle an.",
paragraphs: [
"Ich bin Noah Geerkens. Zusammen mit meiner Schwester führe ich unseren SHK-Betrieb in vierter Generation.",
"Was kaum einer sagt: Ein Betrieb, den es so lange gibt, hat nicht nur Erfahrung. Er hat auch Prozesse, die seit Jahren so laufen, weil die Software es so vorgibt. Nicht, weil es sinnvoll ist.",
"Und wechseln? Kannst du vergessen. Da hängen Jahre an Stammdaten, Aufträgen und Buchhaltung drin. Und Leute, die das System kennen. Kein Chef fährt seinen Betrieb für ein halbes Jahr an die Wand, nur um am Ende dasselbe zu haben. Nur woanders.",
"Wir wollten auch gar nicht wechseln. Wir wollten mehr. KI-Lösungen. Ein CRM. Automatisierungen. Dass die Tools endlich miteinander reden.",
"Genau dafür haben wir HiveGrid gebaut: kein Ersatz für dein Branchenprogramm, sondern der Aufbau drumherum. Dein ERP bleibt, wo es ist. HiveGrid holt raus, was bisher gefehlt hat.",
"Kein Startup-Projekt. Entstanden im Handwerksalltag. Gebaut für den Handwerksalltag.",
],
},
comparison: {
eyebrow: "Der Unterschied",
titleBefore: "Andere Lösungen",
versus: "vs.",
titleAfter: "HiveGrid",
},
differenceCta: {
title: "Der Unterschied wird sichtbar. Probier ihn aus.",
body:
"Bald verfügbar. Trag dich in die Warteliste ein und sieh deinen Betrieb auf einen Blick.",
},
trust: {
title: "100 % Made in Germany",
body: "Deine Daten bleiben in Deutschland. Punkt.",
},
faq: {
eyebrow: "FAQ",
title: "Häufig gestellte Fragen.",
body: "Die häufigsten Fragen, ehrlich und ohne Kleingedrucktes beantwortet.",
},
finalCta: {
title: "Bald siehst du deinen ganzen Betrieb auf einen Blick.",
body:
"Trag dich unverbindlich in die Warteliste ein. Kein Vertrag, keine Kreditkarte. Wir melden uns, sobald HiveGrid für deinen Betrieb bereit ist.",
},
} as const;
export const solutionModules = [
{
id: "projekt",
title: "Projektmanagement",
body:
"Projekte, Kunden, Angebote, Förderanträge: Du siehst auf einen Blick, wo jeder Auftrag steht. Kein Suchen, kein Nachfragen, kein Zettelchaos.",
screenshot: "/images/screenshot-projektmanagement-pipeline.png",
href: "/produkt/projektmanagement",
metric: "12 aktive Aufträge",
},
{
id: "workflow",
title: "Workflow-Engine",
body:
"Wenn-dann statt Handarbeit: Auslöser wählen, Aktionen dranhängen, fertig. Anfrage rein, Aufgabe raus, Bestätigung an den Kunden, alles automatisch und ohne eine Zeile Code.",
screenshot: "/images/screenshot-workflow.png",
href: "/produkt/workflow-engine",
metric: "38 Schritte automatisiert",
},
{
id: "chat",
title: "Chat",
body:
"Jedes Projekt bekommt automatisch seinen Kanal. Foto von der Baustelle rein, alle sehen’s sofort und es landet direkt in den Projektdateien. Aus jeder Nachricht wird mit einem Klick eine Aufgabe.",
screenshot: "/images/screenshot-chat.png",
href: "/produkt/chat",
metric: "Alles am Auftrag",
},
{
id: "form",
title: "Form Builder",
body:
"Formulare per Drag-and-drop selbst bauen, von der Kontaktanfrage bis zum Aufmaß mit Unterschrift vor Ort. Teil sie per Link, QR-Code oder direkt auf deiner Website, jede Einsendung wird automatisch zu Lead, Kontakt oder Auftrag.",
screenshot: "/images/screenshot-formbuilder.png",
href: undefined,
metric: "0 doppelte Eingaben",
},
] as const;
export const comparisonRows = [
["Bindung an einen einzelnen Anbieter", "Verbindet bestehende Software statt sie zu ersetzen"],
["Migrationsaufwand + Datenverlust-Risiko", "Kein Wechsel, kein Risiko"],
["Feste Prozesse, keine Automatisierung", "Automatisierungen selbst zusammenklicken"],
["Support-Ticket im Ausland", "Deutscher Support, direkter Draht"],
["Server irgendwo auf der Welt", "100 % gehostet in Deutschland"],
] as const;
export const trustItems = [
"Hosting in Deutschland",
"DSGVO-konform",
"Kein US Cloud Act",
"Deutscher Support",
] as const;
export const faqItems = [
{
q: "Für wen ist HiveGrid geeignet?",
a: "HiveGrid ist gebaut für SHK-Betriebe: Heizungsbauer, Sanitär, Klima und Energietechnik. Egal ob du allein arbeitest oder 50 Leute im Betrieb hast: HiveGrid wächst mit dir.",
},
{
q: "Muss ich meine bestehende Software aufgeben?",
a: "Nein, genau das ist der Punkt. HiveGrid verbindet, was du schon nutzt (kwp, DATEV, Kalender, Postfach), statt es zu ersetzen. Nichts wird migriert, nichts weggeworfen. Du gewinnst den Überblick, ohne den Umstieg.",
},
{
q: "Wie lange dauert die Einrichtung?",
a: "Rechne mit ein bis zwei Wochen, dann läuft alles. Weil HiveGrid an deine bestehenden Tools andockt statt sie zu ersetzen, sparst du dir die monatelangen Migrationsprojekte. Die Verbindungen richten wir gemeinsam mit dir ein.",
},
{
q: "Sind meine Daten sicher?",
a: "Ja. Deine Daten liegen zu 100 % auf Servern in Deutschland und der EU, DSGVO-konform und komplett ohne US-Beteiligung. Kein US Cloud Act, kein Datenabfluss in die USA.",
},
{
q: "Gibt es eine kostenlose Testphase?",
a: "Eine klassische Testphase gibt es aktuell nicht, aber ein Risiko gehst du trotzdem nicht ein: Du startest mit einer kostenlosen 30-Minuten-Demo an deinem eigenen Betrieb. Kein Vertrag, keine Kreditkarte. Du entscheidest danach, ob es passt.",
},
{
q: "Kann ich HiveGrid auf dem Smartphone nutzen?",
a: "Ja. HiveGrid läuft direkt im Browser, ob am Rechner, auf dem Tablet oder dem Smartphone. So sieht dein Team auch auf der Baustelle, was ansteht. Eine eigene App ist in Arbeit.",
},
{
q: "Wie erreiche ich den Support?",
a: "Direkt und auf Deutsch. Kein Ticket-System im Ausland, sondern echte Menschen, die dein Handwerk verstehen. Du erreichst uns telefonisch und per E-Mail.",
},
] as const;
export const tools = [
{ name: "kwp", asset: "/kwp.png" },
{ name: "DATEV", asset: "/datev.png" },
{ name: "Google Drive", asset: "/google-drive.svg" },
{ name: "Teams", asset: "/ms-teams.svg" },
{ name: "Outlook", asset: "/ms-outlook.svg" },
{ name: "Google Calendar", asset: "/google-calendar.svg" },
{ name: "Claude", asset: "/claude.svg" },
{ name: "Bauhow", asset: "/bauhow.png" },
{ name: "Codex", asset: "/codex.png" },
{ name: "PandaDoc", asset: "/pandadoc.png" },
{ name: "Aircall", asset: "/aircall.svg" },
{ name: "Onepage", asset: "/onepage.png" },
{ name: "Hallo Petra", asset: "/hallopetra.png" },
] as const;
@@ -0,0 +1,22 @@
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "TEMP Landingpage-Lab — MUSS GELÖSCHT WERDEN",
description: "Temporäre, nicht für Produktion bestimmte Landingpage-Varianten.",
robots: {
index: false,
follow: false,
noarchive: true,
googleBot: {
index: false,
follow: false,
noimageindex: true,
},
},
};
export default function TemporaryLandingLabLayout({
children,
}: Readonly<{ children: React.ReactNode }>) {
return children;
}
@@ -0,0 +1,49 @@
import Link from "next/link";
import { ArrowRight, Network, PanelsTopLeft, Route, ScrollText, Trash2 } from "lucide-react";
import { LabBar } from "./LabShared";
import { labVersions } from "./content";
import styles from "./lab.module.css";
const versionIcons = [Network, ScrollText, PanelsTopLeft, Route] as const;
export default function LandingpageLabIndex() {
return (
<div className={`${styles.page} ${styles.labIndexPage}`}>
<LabBar />
<section className={styles.labIndexHero}>
<div className={styles.labIndexWarning}>
<Trash2 size={19} aria-hidden />
Dieser komplette Bereich ist temporär und muss später als ganzer Ordner gelöscht werden.
</div>
<span className={styles.sectionEyebrow}>LANDINGPAGE-LAB · VIER RICHTUNGEN</span>
<h1>Vier neue Blickwinkel.<br />Eine unveränderte Originalseite.</h1>
<p>
Alle Varianten verwenden dieselben Inhalte, Überschriften und HiveGrid-Farben.
Hero-Grafik, UI-System, Layout und GSAP-Choreografie wurden jeweils neu gedacht.
</p>
</section>
<section className={styles.labVersionGrid} aria-label="Landingpage-Versionen">
{labVersions.map((version, index) => {
const Icon = versionIcons[index];
return (
<Link
href={`/landingpage-lab-muss-geloescht-werden/${version.slug}`}
key={version.slug}
className={styles.labVersionCard}
>
<div className={styles.labVersionCardTop}>
<span>{version.index}</span>
<Icon size={25} aria-hidden />
</div>
<h2>{version.name}</h2>
<p>{version.summary}</p>
<small>{version.motion}</small>
<strong>Version öffnen <ArrowRight size={17} /></strong>
</Link>
);
})}
</section>
</div>
);
}
@@ -0,0 +1,5 @@
import Prozessfluss from "../variants/Prozessfluss";
export default function ProzessflussPage() {
return <Prozessfluss />;
}
@@ -0,0 +1,5 @@
import Systemkarte from "../variants/Systemkarte";
export default function SystemkartePage() {
return <Systemkarte />;
}
@@ -0,0 +1,238 @@
"use client";
import type { RefObject } from "react";
import { useGSAP } from "@gsap/react";
import { gsap } from "gsap";
import { MotionPathPlugin } from "gsap/dist/MotionPathPlugin";
import { ScrollTrigger } from "gsap/dist/ScrollTrigger";
import type { LabVariant } from "./content";
gsap.registerPlugin(useGSAP, ScrollTrigger, MotionPathPlugin);
function revealOffset(direction: string | null) {
if (direction === "left") return { x: -56, y: 0 };
if (direction === "right") return { x: 56, y: 0 };
if (direction === "scale") return { x: 0, y: 18, scale: 0.94 };
return { x: 0, y: 42 };
}
export function useLabMotion(root: RefObject<HTMLDivElement | null>, variant: LabVariant) {
useGSAP(
() => {
const select = gsap.utils.selector(root);
const media = gsap.matchMedia();
media.add("(prefers-reduced-motion: no-preference)", () => {
const heroTimeline = gsap.timeline({ defaults: { ease: "power3.out" } });
heroTimeline
.from(select("[data-hero-item]"), {
autoAlpha: 0,
y: 34,
duration: 0.72,
stagger: 0.09,
})
.from(
select("[data-hero-visual]"),
{ autoAlpha: 0, y: 28, scale: 0.96, duration: 0.9 },
"-=0.5"
);
select("[data-reveal]").forEach((element) => {
const htmlElement = element as HTMLElement;
const offset = revealOffset(htmlElement.getAttribute("data-reveal"));
gsap.from(htmlElement, {
autoAlpha: 0,
...offset,
duration: 0.85,
ease: "power3.out",
clearProps: "transform,opacity,visibility",
scrollTrigger: {
trigger: htmlElement,
start: "clamp(top 86%)",
toggleActions: "play none none reverse",
},
});
});
select("[data-stagger]").forEach((container) => {
const children = Array.from(container.children);
gsap.from(children, {
autoAlpha: 0,
y: 28,
duration: 0.65,
ease: "power3.out",
stagger: { each: 0.07, from: "start" },
clearProps: "transform,opacity,visibility",
scrollTrigger: {
trigger: container,
start: "clamp(top 84%)",
toggleActions: "play none none reverse",
},
});
});
select("[data-route-line]").forEach((line) => {
const path = line as unknown as SVGPathElement;
const length = path.getTotalLength();
gsap.set(path, { strokeDasharray: length, strokeDashoffset: length });
heroTimeline.to(
path,
{ strokeDashoffset: 0, duration: 0.9, ease: "power2.inOut" },
"-=0.75"
);
});
if (variant === "systemkarte") {
heroTimeline.from(
select("[data-map-node]"),
{
autoAlpha: 0,
x: (index) => (index % 2 === 0 ? -36 : 36),
y: (index) => (index % 3 === 0 ? -24 : 24),
scale: 0.86,
duration: 0.62,
stagger: 0.055,
},
"-=0.82"
);
gsap.to(select("[data-signal-pulse]"), {
scale: 1.5,
autoAlpha: 0,
duration: 2.4,
ease: "sine.out",
repeat: -1,
stagger: 0.8,
});
select("[data-system-lane]").forEach((lane, index) => {
gsap.fromTo(
lane,
{ xPercent: index % 2 === 0 ? -7 : 7 },
{
xPercent: index % 2 === 0 ? 3 : -3,
ease: "none",
scrollTrigger: {
trigger: lane,
start: "top bottom",
end: "bottom top",
scrub: 1,
},
}
);
});
}
if (variant === "werkstatt") {
heroTimeline.from(
select("[data-sheet]"),
{
autoAlpha: 0,
x: (index) => (index % 2 === 0 ? -70 : 70),
y: (index) => 36 + index * 8,
rotation: (index) => (index - 1) * 5,
duration: 0.82,
stagger: 0.1,
ease: "power3.out",
},
"-=0.75"
);
select("[data-editorial-track]").forEach((track, index) => {
gsap.fromTo(
track,
{ xPercent: index % 2 === 0 ? -5 : 5 },
{
xPercent: index % 2 === 0 ? 5 : -5,
ease: "none",
scrollTrigger: {
trigger: track,
start: "top bottom",
end: "bottom top",
scrub: 1.1,
},
}
);
});
}
if (variant === "cockpit") {
heroTimeline.from(
select("[data-cockpit-panel]"),
{
autoAlpha: 0,
y: (index) => (index % 2 === 0 ? 34 : -26),
x: (index) => (index % 3 === 0 ? -24 : 24),
scale: 0.95,
duration: 0.68,
stagger: { each: 0.06, from: "center" },
},
"-=0.8"
);
gsap.to(select("[data-live-dot]"), {
autoAlpha: 0.25,
scale: 1.65,
duration: 1.25,
ease: "sine.inOut",
repeat: -1,
yoyo: true,
});
gsap.to(select("[data-timeline-marker]"), {
xPercent: 620,
ease: "none",
scrollTrigger: {
trigger: select("[data-cockpit-scroll]")[0],
start: "top 80%",
end: "bottom 30%",
scrub: 0.8,
},
});
}
if (variant === "prozessfluss") {
heroTimeline.from(
select("[data-process-node]"),
{
autoAlpha: 0,
scale: 0.72,
y: 22,
duration: 0.58,
stagger: 0.1,
},
"-=0.78"
);
const heroPath = select("[data-journey-path]")[0] as unknown as SVGPathElement | undefined;
const journeyDot = select("[data-journey-dot]")[0] as unknown as SVGElement | undefined;
if (heroPath && journeyDot) {
gsap.to(journeyDot, {
motionPath: {
path: heroPath,
align: heroPath,
alignOrigin: [0.5, 0.5],
},
duration: 8,
ease: "none",
repeat: -1,
});
}
select("[data-flow-line]").forEach((line) => {
const path = line as unknown as SVGPathElement;
const length = path.getTotalLength();
gsap.set(path, { strokeDasharray: length, strokeDashoffset: length });
gsap.to(path, {
strokeDashoffset: 0,
ease: "none",
scrollTrigger: {
trigger: path.closest("section") ?? path,
start: "top 72%",
end: "bottom 58%",
scrub: 0.8,
},
});
});
}
});
return () => media.revert();
},
{ scope: root, dependencies: [variant], revertOnUpdate: true }
);
}
@@ -0,0 +1,231 @@
"use client";
import { useRef } from "react";
import Link from "next/link";
import {
ArrowRight,
Bell,
CalendarDays,
Check,
CheckCircle2,
ChevronRight,
CircleUserRound,
Clock3,
Euro,
FileText,
LayoutDashboard,
MessageSquare,
MoreHorizontal,
Plus,
Search,
Sparkles,
Users,
Workflow,
} from "lucide-react";
import {
ComparisonGrid,
ComparisonTitle,
CustomerHeading,
DifferenceCta,
FaqSection,
FinalCta,
HeroCopy,
IntegrationsTitle,
LabBar,
NoahPortrait,
ProductScreenshot,
SolutionsTitle,
StoryText,
ToolChip,
TrustBand,
cx,
} from "../LabShared";
import { landingCopy, solutionModules } from "../content";
import { useLabMotion } from "../useLabMotion";
import styles from "../lab.module.css";
const pipelineColumns = [
{ label: "Anfragen", count: 8, color: "#7aa7ff" },
{ label: "Angebote", count: 5, color: "#f1b729" },
{ label: "Beauftragt", count: 12, color: "#3fc59d" },
{ label: "Abnahme", count: 3, color: "#cf8dff" },
] as const;
export default function Cockpit() {
const root = useRef<HTMLDivElement>(null);
useLabMotion(root, "cockpit");
return (
<div ref={root} className={cx(styles.page, styles.cockpitPage)}>
<LabBar active="cockpit" />
<section className={cx(styles.heroSection, styles.cockpitHero)}>
<div className={styles.cockpitHeroCopy}>
<HeroCopy />
</div>
<div className={styles.cockpitWindow} data-hero-visual data-cockpit-scroll>
<div className={styles.cockpitTopbar}>
<div className={styles.cockpitBrand}>
<span>HG</span>
<strong>Geerkens GmbH</strong>
</div>
<div className={styles.cockpitSearch}><Search size={15} /><span>Auftrag, Kunde, Nachricht …</span></div>
<div className={styles.cockpitTopActions}>
<span className={styles.cockpitOnline}><i data-live-dot /> Alle Systeme online</span>
<button aria-label="Benachrichtigungen"><Bell size={17} /></button>
<span className={styles.avatar}>NG</span>
</div>
</div>
<div className={styles.cockpitBody}>
<aside className={styles.cockpitSidebar}>
<span className={styles.sidebarActive}><LayoutDashboard size={17} /> Übersicht</span>
<span><Workflow size={17} /> Workflows</span>
<span><MessageSquare size={17} /> Chat <b>3</b></span>
<span><Users size={17} /> Team</span>
<span><FileText size={17} /> Dokumente</span>
<div className={styles.sidebarBottom}>
<Sparkles size={15} /> 38 Schritte heute automatisiert
</div>
</aside>
<div className={styles.cockpitContent}>
<div className={styles.cockpitHeading} data-cockpit-panel>
<div><span>DONNERSTAG, 06. AUGUST</span><h2>Guten Morgen, Noah.</h2></div>
<button><Plus size={16} /> Neuer Auftrag</button>
</div>
<div className={styles.metricGrid} data-stagger>
<div data-cockpit-panel><span>Offene Angebote</span><strong>€ 184.600</strong><small>+12 % diese Woche</small></div>
<div data-cockpit-panel><span>Aktive Baustellen</span><strong>18</strong><small>15 im Zeitplan</small></div>
<div data-cockpit-panel><span>Automatisiert</span><strong>38</strong><small>Schritte heute</small></div>
<div data-cockpit-panel><span>Neue Anfragen</span><strong>8</strong><small>alle beantwortet</small></div>
</div>
<div className={styles.cockpitMainGrid}>
<section className={styles.pipelinePanel} data-cockpit-panel>
<div className={styles.panelTitle}><div><span>VERTRIEB</span><h3>Aufträge im Fluss</h3></div><MoreHorizontal size={18} /></div>
<div className={styles.pipelineTrack}>
{pipelineColumns.map((column) => (
<div key={column.label}>
<span><i style={{ background: column.color }} />{column.label}</span>
<strong>{column.count}</strong>
<div className={styles.pipelineBar}><i style={{ width: `${28 + column.count * 5}%`, background: column.color }} /></div>
</div>
))}
</div>
<div className={styles.activeDeal}>
<div><span>HG-284</span><strong>Badmodernisierung Weber</strong></div>
<b>€ 24.300</b>
<span className={styles.dealStatus}>Aufmaß Freitag</span>
</div>
</section>
<section className={styles.dayPanel} data-cockpit-panel>
<div className={styles.panelTitle}><div><span>HEUTE</span><h3>Dein Betriebstag</h3></div><CalendarDays size={18} /></div>
<div className={styles.dayTimeline}>
<i className={styles.timelineRail} aria-hidden />
<i className={styles.timelineMarker} data-timeline-marker aria-hidden />
<div><time>08:00</time><span><b>Team verteilt</b><small>12 Monteure · 6 Baustellen</small></span></div>
<div><time>10:30</time><span><b>Aufmaß Weber</b><small>Lena &amp; Tom · Bruchsal</small></span></div>
<div><time>14:00</time><span><b>Abnahme Fischer</b><small>Dokumente vorbereitet</small></span></div>
</div>
</section>
<section className={styles.approvalPanel} data-cockpit-panel>
<div className={styles.panelTitle}><div><span>TEAM</span><h3>2 Freigaben</h3></div><ChevronRight size={18} /></div>
<div className={styles.approvalRow}><span className={styles.avatarTeal}>LK</span><div><b>Lena Krause</b><small>Urlaub · 12.–19. Aug.</small></div><button><Check size={15} /></button></div>
<div className={styles.approvalRow}><span className={styles.avatarBlue}>TB</span><div><b>Tom Berger</b><small>Spesen · € 84,50</small></div><button><Check size={15} /></button></div>
</section>
<section className={styles.activityPanel} data-cockpit-panel>
<div className={styles.panelTitle}><div><span>LIVE</span><h3>Gerade passiert</h3></div><i data-live-dot /></div>
<div><MessageSquare size={15} /><span><b>Foto hochgeladen</b><small>Auftrag HG-284 · vor 2 Min.</small></span></div>
<div><Workflow size={15} /><span><b>Workflow abgeschlossen</b><small>Angebot versendet · vor 8 Min.</small></span></div>
</section>
</div>
</div>
</div>
</div>
</section>
<section className={cx(styles.section, styles.cockpitIntegrations)}>
<IntegrationsTitle dark />
<div className={styles.statusWall} data-stagger>
{Array.from({ length: 13 }, (_, index) => (
<div key={index} className={styles.statusCard}>
<ToolChip index={index} small />
<div className={styles.statusCardMeta}>
<span><i data-live-dot /> Synchron</span>
<b>{index % 4 === 0 ? "gerade eben" : `${index + 1} Min.`}</b>
</div>
</div>
))}
</div>
</section>
<section className={cx(styles.section, styles.cockpitSolutions)}>
<SolutionsTitle />
<div className={styles.solutionBento}>
<article className={cx(styles.bentoCard, styles.bentoFeatured)} data-reveal="left">
<div className={styles.bentoCopy}>
<span>01 · {solutionModules[0].metric}</span>
<h3>{solutionModules[0].title}</h3>
<p>{solutionModules[0].body}</p>
<Link href={solutionModules[0].href}>Bereich ansehen <ArrowRight size={16} /></Link>
</div>
<ProductScreenshot moduleIndex={0} />
</article>
{solutionModules.slice(1).map((solution, offset) => {
const index = offset + 1;
return (
<article key={solution.id} className={styles.bentoCard} data-reveal="up">
<span className={styles.bentoIcon}>
{index === 1 ? <Workflow size={21} /> : index === 2 ? <MessageSquare size={21} /> : <FileText size={21} />}
</span>
<div className={styles.bentoCopy}>
<span>0{index + 1} · {solution.metric}</span>
<h3>{solution.title}</h3>
<p>{solution.body}</p>
</div>
<div className={styles.bentoMiniUi} aria-hidden>
<i /><i /><i /><i />
</div>
</article>
);
})}
</div>
</section>
<section className={styles.cockpitCustomer}>
<div className={styles.cockpitCustomerHeader} data-reveal="up">
<span>AUS DEM ECHTEN BETRIEB</span>
<CustomerHeading />
<p>{landingCopy.customer.body}</p>
</div>
<div className={styles.customerScoreboard} data-stagger>
<div><Clock3 size={19} /><strong>6,4 h</strong><span>pro Woche weniger Abstimmung</span></div>
<div><CheckCircle2 size={19} /><strong>94 %</strong><span>Aufgaben im Plan</span></div>
<div><Euro size={19} /><strong>€ 184k</strong><span>offene Angebote sichtbar</span></div>
<div><CircleUserRound size={19} /><strong>12</strong><span>Mitarbeitende im selben Stand</span></div>
</div>
</section>
<section className={styles.cockpitStory}>
<div className={styles.cockpitStoryPhoto}><NoahPortrait /></div>
<StoryText compact />
</section>
<section className={cx(styles.section, styles.comparisonSection, styles.cockpitComparison)}>
<ComparisonTitle />
<ComparisonGrid />
</section>
<div className={styles.sectionNarrow}><DifferenceCta /></div>
<TrustBand />
<FaqSection />
<div className={styles.sectionNarrow}><FinalCta index="03" /></div>
</div>
);
}
@@ -0,0 +1,189 @@
"use client";
import { useRef } from "react";
import Image from "next/image";
import Link from "next/link";
import {
ArrowRight,
BadgeEuro,
CalendarCheck,
Check,
ClipboardCheck,
FileSignature,
Hammer,
MailCheck,
MessageSquareText,
Route,
Sparkles,
} from "lucide-react";
import {
ComparisonGrid,
ComparisonTitle,
CustomerHeading,
DifferenceCta,
FaqSection,
FinalCta,
HeroCopy,
IntegrationsTitle,
LabBar,
NoahPortrait,
ProductScreenshot,
SolutionsTitle,
StoryText,
ToolChip,
TrustBand,
cx,
} from "../LabShared";
import { landingCopy, solutionModules } from "../content";
import { useLabMotion } from "../useLabMotion";
import styles from "../lab.module.css";
const stages = [
{ title: "Anfrage", detail: "automatisch erfasst", time: "09:42", icon: MessageSquareText },
{ title: "Planung", detail: "Aufmaß terminiert", time: "09:43", icon: CalendarCheck },
{ title: "Baustelle", detail: "Team & Material bereit", time: "Freitag", icon: Hammer },
{ title: "Abnahme", detail: "digital unterschrieben", time: "14:30", icon: FileSignature },
{ title: "Rechnung", detail: "versendet & geprüft", time: "14:31", icon: BadgeEuro },
] as const;
export default function Prozessfluss() {
const root = useRef<HTMLDivElement>(null);
useLabMotion(root, "prozessfluss");
return (
<div ref={root} className={cx(styles.page, styles.flowPage)}>
<LabBar active="prozessfluss" />
<section className={cx(styles.heroSection, styles.flowHero)}>
<div className={styles.flowHeroGrid}>
<HeroCopy />
<div className={styles.journeyCanvas} data-hero-visual>
<div className={styles.journeyLabel}>AUFTRAG HG-284 · LIVE</div>
<svg className={styles.journeySvg} viewBox="0 0 760 610" aria-hidden>
<defs>
<filter id="journey-dot-glow" x="-200%" y="-200%" width="400%" height="400%">
<feGaussianBlur stdDeviation="7" result="blur" />
<feMerge><feMergeNode in="blur" /><feMergeNode in="SourceGraphic" /></feMerge>
</filter>
</defs>
<path className={styles.journeyGhost} d="M84 92 C310 70 545 80 628 178 C718 283 538 312 338 300 C132 288 72 386 177 477 C285 570 529 522 678 474" />
<path data-route-line data-journey-path className={styles.journeyPath} d="M84 92 C310 70 545 80 628 178 C718 283 538 312 338 300 C132 288 72 386 177 477 C285 570 529 522 678 474" />
<circle data-journey-dot cx="0" cy="0" r="8" fill="#F1B729" filter="url(#journey-dot-glow)" />
</svg>
{stages.map((stage, index) => {
const Icon = stage.icon;
return (
<div key={stage.title} className={cx(styles.journeyNode, styles[`journeyNode${index + 1}`])} data-process-node>
<span className={styles.journeyNodeIndex}>0{index + 1}</span>
<span className={styles.journeyNodeIcon}><Icon size={19} /></span>
<div><strong>{stage.title}</strong><small>{stage.detail}</small></div>
<time>{stage.time}</time>
</div>
);
})}
<div className={styles.journeySummary} data-process-node>
<Sparkles size={17} />
<span><b>7 Übergaben gespart</b> · alles bleibt am Auftrag</span>
</div>
</div>
</div>
</section>
<section className={cx(styles.section, styles.flowIntegrations)}>
<IntegrationsTitle />
<div className={styles.flowToolStages}>
{[0, 1, 2, 3].map((stage) => (
<article key={stage} className={styles.flowToolStage} data-reveal="up">
<div className={styles.flowStageHeader}>
<span>0{stage + 1}</span>
<h3>{stage === 0 ? "Anfrage" : stage === 1 ? "Planung" : stage === 2 ? "Ausführung" : "Abschluss"}</h3>
</div>
<div className={styles.flowStageTools} data-stagger>
{[stage * 3, stage * 3 + 1, stage * 3 + 2].map((index) => <ToolChip key={index} index={index} small />)}
</div>
<div className={styles.flowStageResult}>
<Check size={15} />
<span>{stage === 0 ? "Lead angelegt" : stage === 1 ? "Termin verteilt" : stage === 2 ? "Team synchron" : "Rechnung ausgelöst"}</span>
</div>
</article>
))}
<svg className={styles.flowStageLine} viewBox="0 0 1200 80" preserveAspectRatio="none" aria-hidden>
<path data-flow-line d="M20 40 C240 10 290 70 420 40 C580 4 660 74 780 40 C920 5 1050 68 1180 40" />
</svg>
</div>
</section>
<section className={cx(styles.section, styles.flowSolutions)}>
<div className={styles.flowSolutionsIntro}>
<SolutionsTitle />
<div className={styles.flowProgressLegend} data-reveal="up">
<span><i /> Anfrage</span><span><i /> Auftrag</span><span><i /> Abschluss</span>
</div>
</div>
<div className={styles.flowChapters}>
{solutionModules.map((solution, index) => (
<article key={solution.id} className={styles.flowChapter} data-reveal="up">
<div className={styles.flowChapterRail}>
<span>0{index + 1}</span>
<i />
</div>
<div className={styles.flowChapterCopy}>
<span>{solution.metric}</span>
<h3>{solution.title}</h3>
<p>{solution.body}</p>
{solution.href ? <Link href={solution.href}>Bereich ansehen <ArrowRight size={16} /></Link> : null}
</div>
<div className={styles.flowChapterVisual}>
<ProductScreenshot moduleIndex={index} />
</div>
</article>
))}
</div>
</section>
<section className={styles.flowCustomer}>
<div className={styles.flowCustomerCopy} data-reveal="left">
<span className={styles.darkEyebrow}>EIN TAG · EIN DURCHGÄNGIGER STAND</span>
<CustomerHeading />
<p>{landingCopy.customer.body}</p>
<Link href="/waitlist" className={styles.primaryButton}>Eigenen Ablauf ansehen <ArrowRight size={17} /></Link>
</div>
<div className={styles.customerJourney} data-reveal="right">
<div className={styles.customerJourneyRail} aria-hidden><i /></div>
<div><time>07:15</time><span><Route size={16} /><b>Teams eingeplant</b><small>Kalender + Mitarbeitermanagement</small></span></div>
<div><time>09:42</time><span><MailCheck size={16} /><b>Anfrage übernommen</b><small>Outlook → Projektmanagement</small></span></div>
<div><time>11:08</time><span><ClipboardCheck size={16} /><b>Angebot freigegeben</b><small>kwp + PandaDoc</small></span></div>
<div><time>14:30</time><span><FileSignature size={16} /><b>Abnahme dokumentiert</b><small>Baustelle → DATEV</small></span></div>
</div>
</section>
<section className={styles.flowStory}>
<div className={styles.flowStoryVisual}>
<NoahPortrait />
<div className={styles.flowStoryStamp}>
<Image src="/images/hivegrid-icon-yellow.svg" alt="" width={36} height={36} />
<span>Entstanden im<br />Handwerksalltag</span>
</div>
</div>
<StoryText compact />
</section>
<section className={cx(styles.section, styles.flowComparison)}>
<ComparisonTitle />
<div className={styles.flowComparisonTrack} aria-hidden>
<span>WECHSELN</span><i /><span>VERBINDEN</span>
</div>
<ComparisonGrid />
</section>
<div className={styles.sectionNarrow}><DifferenceCta /></div>
<TrustBand />
<FaqSection />
<div className={styles.sectionNarrow}><FinalCta index="04" /></div>
</div>
);
}
@@ -0,0 +1,187 @@
"use client";
import { useRef } from "react";
import Image from "next/image";
import { ArrowDownRight, CalendarDays, Check, FileText, MessageSquare, Zap } from "lucide-react";
import {
ComparisonGrid,
ComparisonTitle,
CustomerHeading,
DifferenceCta,
FaqSection,
FinalCta,
HeroCopy,
IntegrationsTitle,
LabBar,
NoahPortrait,
SectionHeading,
SolutionCard,
SolutionsTitle,
StoryText,
ToolChip,
TrustBand,
cx,
} from "../LabShared";
import { landingCopy } from "../content";
import { useLabMotion } from "../useLabMotion";
import styles from "../lab.module.css";
const mapNodes = [
{ tool: 0, className: styles.mapNodeA },
{ tool: 1, className: styles.mapNodeB },
{ tool: 3, className: styles.mapNodeC },
{ tool: 4, className: styles.mapNodeD },
{ tool: 5, className: styles.mapNodeE },
{ tool: 2, className: styles.mapNodeF },
] as const;
export default function Systemkarte() {
const root = useRef<HTMLDivElement>(null);
useLabMotion(root, "systemkarte");
return (
<div ref={root} className={cx(styles.page, styles.systemPage)}>
<LabBar active="systemkarte" />
<section className={cx(styles.heroSection, styles.systemHero)}>
<div className={styles.systemHeroGrid}>
<HeroCopy />
<div className={styles.systemMap} data-hero-visual aria-label="HiveGrid verbindet vorhandene Werkzeuge mit dem Auftragsfluss">
<div className={styles.mapGrid} aria-hidden />
<svg className={styles.mapRoutes} viewBox="0 0 800 620" aria-hidden>
<path data-route-line d="M400 310 C290 310 248 168 146 130" />
<path data-route-line d="M400 310 C520 306 586 155 684 142" />
<path data-route-line d="M400 310 C244 328 220 460 104 482" />
<path data-route-line d="M400 310 C568 326 604 456 722 470" />
<path data-route-line d="M400 310 C338 226 302 102 328 52" />
<path data-route-line d="M400 310 C454 214 500 114 484 58" />
<path className={styles.routeAccent} data-route-line d="M400 310 C442 382 476 498 444 576" />
</svg>
<div className={styles.mapHub} data-map-node>
<span className={styles.signalPulse} data-signal-pulse aria-hidden />
<span className={styles.signalPulse} data-signal-pulse aria-hidden />
<Image src="/images/hivegrid-icon-yellow.svg" alt="HiveGrid" width={54} height={54} />
<div>
<strong>HiveGrid</strong>
<span>Verbindung aktiv</span>
</div>
</div>
{mapNodes.map((node) => (
<div key={node.tool} className={cx(styles.mapNode, node.className)} data-map-node>
<ToolChip index={node.tool} small />
</div>
))}
<div className={cx(styles.mapEvent, styles.mapEventRequest)} data-map-node>
<span className={styles.mapEventIcon}><FileText size={16} /></span>
<div><strong>Neue Anfrage</strong><span>Badmodernisierung · Weber</span></div>
<b>09:42</b>
</div>
<div className={cx(styles.mapEvent, styles.mapEventTask)} data-map-node>
<span className={styles.mapEventIcon}><Check size={16} /></span>
<div><strong>Aufgabe erstellt</strong><span>Aufmaß für Freitag</span></div>
<b>AUTO</b>
</div>
</div>
</div>
<div className={styles.heroProofStrip} data-stagger>
<span>Ein Betrieb</span>
<span>13 verbundene Werkzeuge</span>
<span>Ein durchgängiger Auftragsfluss</span>
</div>
</section>
<section className={cx(styles.section, styles.systemIntegrations)}>
<div className={styles.stickyHeading}>
<IntegrationsTitle />
<div className={styles.connectionLegend} data-reveal="up">
<span><i className={styles.legendLive} /> Echtzeit</span>
<span><i className={styles.legendSync} /> Synchronisiert</span>
<span><i className={styles.legendAuto} /> Automatisiert</span>
</div>
</div>
<div className={styles.connectionLedger} data-stagger>
{Array.from({ length: 13 }, (_, index) => (
<div key={index} className={styles.connectionRow} data-system-lane>
<ToolChip index={index} />
<span className={styles.connectionLine} aria-hidden><i /></span>
<span className={styles.connectionTarget}>
{index % 3 === 0 ? "Aufträge" : index % 3 === 1 ? "Kundendaten" : "Kommunikation"}
</span>
<span className={styles.connectionState}>verbunden</span>
</div>
))}
</div>
</section>
<section className={cx(styles.section, styles.systemSolutions)}>
<SolutionsTitle align="center" />
<div className={styles.systemSolutionLanes}>
{[0, 1, 2, 3].map((index) => (
<div key={index} data-system-lane>
<SolutionCard index={index} />
</div>
))}
</div>
</section>
<section className={cx(styles.section, styles.systemCustomer)}>
<div className={styles.systemCustomerCopy} data-reveal="left">
<span className={styles.darkEyebrow}>AUS DEM ECHTEN BETRIEB</span>
<CustomerHeading />
<p>{landingCopy.customer.body}</p>
<div className={styles.customerMetrics} data-stagger>
<div><strong>18</strong><span>laufende Baustellen</span></div>
<div><strong>94 %</strong><span>Aufgaben im Plan</span></div>
<div><strong>1</strong><span>gemeinsamer Überblick</span></div>
</div>
</div>
<div className={styles.customerCommand} data-reveal="right">
<div className={styles.commandHeader}>
<span><i data-live-dot /> Geerkens GmbH · Heute</span>
<CalendarDays size={17} />
</div>
<div className={styles.commandTimeline}>
<div><time>07:15</time><span><Zap size={15} /> Einsatzplan automatisch verteilt</span><b>12 MA</b></div>
<div><time>09:42</time><span><MessageSquare size={15} /> Foto zu Auftrag HG-284</span><b>3 neu</b></div>
<div><time>11:08</time><span><FileText size={15} /> Angebot freigegeben</span><b>€ 24.300</b></div>
<div><time>14:30</time><span><Check size={15} /> Abnahme dokumentiert</span><b>fertig</b></div>
</div>
<div className={styles.commandFooter}>
<span>Alle Systeme synchron</span>
<ArrowDownRight size={17} />
</div>
</div>
</section>
<section className={cx(styles.section, styles.systemStory)}>
<StoryText />
<NoahPortrait />
</section>
<section className={cx(styles.section, styles.comparisonSection)}>
<ComparisonTitle />
<ComparisonGrid />
</section>
<div className={styles.sectionNarrow}><DifferenceCta /></div>
<TrustBand />
<FaqSection />
<div className={styles.sectionNarrow}><FinalCta index="01" /></div>
<section className={styles.variantOutro}>
<SectionHeading eyebrow="VERSION 01" align="center">
Systemkarte
</SectionHeading>
<p>Die verbindende Ebene ist in jeder Ansicht sichtbar — nicht als Versprechen, sondern als System.</p>
</section>
</div>
);
}
@@ -0,0 +1,175 @@
"use client";
import { useRef } from "react";
import Image from "next/image";
import Link from "next/link";
import { ArrowRight, Check, FileCheck2, MessageCircle, PenTool, Route, Wrench } from "lucide-react";
import {
ComparisonGrid,
ComparisonTitle,
CustomerHeading,
DifferenceCta,
FaqSection,
FinalCta,
HeroCopy,
IntegrationsTitle,
LabBar,
NoahPortrait,
ProductScreenshot,
SolutionsTitle,
StoryText,
ToolChip,
TrustBand,
cx,
} from "../LabShared";
import { landingCopy, solutionModules } from "../content";
import { useLabMotion } from "../useLabMotion";
import styles from "../lab.module.css";
export default function Werkstatt() {
const root = useRef<HTMLDivElement>(null);
useLabMotion(root, "werkstatt");
return (
<div ref={root} className={cx(styles.page, styles.editorialPage)}>
<LabBar active="werkstatt" />
<section className={cx(styles.heroSection, styles.editorialHero)}>
<div className={styles.editorialHeroCopy}>
<div className={styles.editorialIssue} aria-hidden>
AUSGABE 02 · BETRIEB IM FLUSS
</div>
<HeroCopy compact />
</div>
<div className={styles.blueprintStage} data-hero-visual>
<div className={styles.blueprintGrid} aria-hidden />
<div className={cx(styles.blueprintSheet, styles.blueprintBefore)} data-sheet>
<div className={styles.sheetLabel}>VORHER · 08:12</div>
<h3>Wo steckt der Auftrag?</h3>
<div className={styles.looseTools}>
<ToolChip index={0} small />
<ToolChip index={4} small />
<ToolChip index={1} small />
<ToolChip index={3} small />
</div>
<div className={styles.paperNote}>
<span>Rückruf Herr Weber!</span>
<small>Liegt das Angebot schon in DATEV?</small>
</div>
</div>
<div className={cx(styles.blueprintSheet, styles.blueprintAfter)} data-sheet>
<div className={styles.sheetLabel}>MIT HIVEGRID · 08:12</div>
<div className={styles.jobSheetHeader}>
<span>HG-284</span>
<b>BADMODERNISIERUNG WEBER</b>
<em>IM PLAN</em>
</div>
<div className={styles.jobFlow}>
<div><FileCheck2 size={17} /><span>Anfrage</span><b>erfasst</b></div>
<i />
<div><Route size={17} /><span>Aufmaß</span><b>Freitag</b></div>
<i />
<div><MessageCircle size={17} /><span>Kunde</span><b>informiert</b></div>
</div>
<div className={styles.jobSheetFooter}>
<span><Check size={15} /> Alles am Auftrag</span>
<strong>€ 24.300</strong>
</div>
</div>
<div className={styles.blueprintMark} data-sheet aria-hidden>
<PenTool size={18} />
<span>Bestehende Werkzeuge.<br />Neu zusammengedacht.</span>
</div>
</div>
</section>
<section className={cx(styles.section, styles.editorialIntegrations)}>
<IntegrationsTitle align="center" />
<div className={styles.toolMarquee} data-editorial-track>
{[0, 1, 2, 3, 4, 5, 6].map((index) => <ToolChip key={index} index={index} />)}
</div>
<div className={cx(styles.toolMarquee, styles.toolMarqueeReverse)} data-editorial-track>
{[7, 8, 9, 10, 11, 12].map((index) => <ToolChip key={index} index={index} />)}
</div>
<div className={styles.editorialConnector} data-reveal="up">
<span>Kein Austausch</span>
<i aria-hidden />
<Image src="/images/hivegrid-icon-yellow.svg" alt="HiveGrid" width={42} height={42} />
<i aria-hidden />
<span>Ein gemeinsamer Fluss</span>
</div>
</section>
<section className={cx(styles.section, styles.editorialSolutions)}>
<SolutionsTitle />
<div className={styles.editorialChapters}>
{solutionModules.map((solution, index) => (
<article key={solution.id} className={styles.editorialChapter} data-reveal={index % 2 ? "right" : "left"}>
<div className={styles.chapterNumber} aria-hidden>0{index + 1}</div>
<div className={styles.chapterCopy}>
<span>{solution.metric}</span>
<h3>{solution.title}</h3>
<p>{solution.body}</p>
{solution.href ? (
<Link href={solution.href} className={styles.editorialLink}>
Bereich ansehen <ArrowRight size={16} />
</Link>
) : null}
</div>
<div className={styles.chapterVisual}>
<ProductScreenshot moduleIndex={index} />
<span className={styles.annotationLine} aria-hidden />
<span className={styles.annotationText}>{index % 2 ? "läuft automatisch" : "direkt am Auftrag"}</span>
</div>
</article>
))}
</div>
</section>
<section className={styles.editorialCustomer}>
<div className={styles.customerQuoteMark} aria-hidden>“</div>
<div className={styles.editorialCustomerCopy} data-reveal="up">
<CustomerHeading />
<p>{landingCopy.customer.body}</p>
<Link href="/waitlist" className={styles.primaryButton}>
Eigenen Betrieb ansehen <ArrowRight size={17} />
</Link>
</div>
<div className={styles.customerProofBoard} data-reveal="right">
<div className={styles.proofBoardTop}>
<span>GEERKENS GMBH</span>
<span>DONNERSTAG · 14:32</span>
</div>
<div className={styles.proofBoardRows}>
<div><Wrench size={16} /><span>Solarcarport Linnich</span><b>Planung</b></div>
<div><Route size={16} /><span>Bad Weber</span><b>Aufmaß</b></div>
<div><MessageCircle size={16} /><span>Wartung Müller</span><b>Kunde informiert</b></div>
</div>
<div className={styles.proofSignature}>Aus dem Handwerk. Für das Handwerk.</div>
</div>
</section>
<section className={styles.editorialStory}>
<div className={styles.storyPhotoWrap} data-editorial-track>
<NoahPortrait wide />
<div className={styles.storyPhotoLabel}>VIERTE GENERATION · SHK</div>
</div>
<StoryText compact />
</section>
<section className={cx(styles.section, styles.editorialComparison)}>
<ComparisonTitle align="left" />
<div className={styles.editorialRule} aria-hidden />
<ComparisonGrid />
</section>
<div className={styles.sectionNarrow}><DifferenceCta /></div>
<TrustBand />
<FaqSection />
<div className={styles.sectionNarrow}><FinalCta index="02" /></div>
</div>
);
}
@@ -0,0 +1,5 @@
import Werkstatt from "../variants/Werkstatt";
export default function WerkstattPage() {
return <Werkstatt />;
}
@@ -0,0 +1,291 @@
"use client";
import Image from "next/image";
import Link from "next/link";
import { useEffect, useState } from "react";
import {
ArrowLeft,
Check,
CircleOff,
Eraser,
Hexagon,
RotateCcw,
Sparkles,
} from "lucide-react";
import HoneycombSection, {
HONEYCOMB_DEFAULT_LAYERS,
HONEYCOMB_LOGOS,
PHYSICS_PRESETS,
type HoneycombLayers,
type HoneycombLogoPlacements,
type HoneycombPlacementTool,
} from "@/components/landing/HoneycombSection";
import styles from "./grid-lab.module.css";
const STORAGE_KEY = "hivegrid:playground:honeycomb-grid-lab:original:v2";
const LEGACY_STORAGE_KEY = "hivegrid:playground:honeycomb-grid-lab:v1";
type GridState = {
version: 2;
placements: HoneycombLogoPlacements;
activeCellIds: number[];
layers: HoneycombLayers;
};
const LAYER_OPTIONS: ReadonlyArray<{ key: keyof HoneycombLayers; label: string }> = [
{ key: "innerRing", label: "Innerer Ring" },
{ key: "outerRing", label: "Äußerer Ring" },
{ key: "field", label: "Wabenfeld" },
{ key: "strands", label: "Verbindungen" },
{ key: "packets", label: "Datenpunkte" },
{ key: "glow", label: "Glow" },
];
function createEmptyGridState(): GridState {
return {
version: 2,
placements: {},
activeCellIds: [],
layers: { ...HONEYCOMB_DEFAULT_LAYERS, hub: true },
};
}
function normalizeStoredState(value: unknown): GridState {
const fallback = createEmptyGridState();
if (!value || typeof value !== "object") return fallback;
const candidate = value as Partial<GridState>;
const placements = candidate.placements && typeof candidate.placements === "object"
? Object.fromEntries(
Object.entries(candidate.placements).filter(
([cellId, label]) =>
Number.isInteger(Number(cellId)) &&
Number(cellId) > 1 &&
typeof label === "string" &&
Boolean(HONEYCOMB_LOGOS[label])
)
)
: {};
const activeCellIds = Array.isArray(candidate.activeCellIds)
? candidate.activeCellIds.filter(
(cellId): cellId is number => Number.isInteger(cellId) && cellId > 1
)
: [];
const storedLayers: Partial<HoneycombLayers> =
candidate.layers && typeof candidate.layers === "object" ? candidate.layers : {};
return {
version: 2,
placements,
activeCellIds: [...new Set(activeCellIds)].sort((a, b) => a - b),
layers: {
...HONEYCOMB_DEFAULT_LAYERS,
...Object.fromEntries(
LAYER_OPTIONS.map(({ key }) => [
key,
typeof storedLayers[key] === "boolean"
? storedLayers[key]
: HONEYCOMB_DEFAULT_LAYERS[key],
])
),
hub: true,
} as HoneycombLayers,
};
}
export default function GridLabClient() {
const [gridState, setGridState] = useState<GridState>(createEmptyGridState);
const [placementTool, setPlacementTool] = useState<HoneycombPlacementTool>(null);
const [hydrated, setHydrated] = useState(false);
const [storageAvailable, setStorageAvailable] = useState(true);
useEffect(() => {
try {
const stored = window.localStorage.getItem(STORAGE_KEY);
if (stored) setGridState(normalizeStoredState(JSON.parse(stored)));
window.localStorage.removeItem(LEGACY_STORAGE_KEY);
} catch {
setStorageAvailable(false);
} finally {
setHydrated(true);
}
}, []);
useEffect(() => {
if (!hydrated || !storageAvailable) return;
try {
window.localStorage.setItem(STORAGE_KEY, JSON.stringify(gridState));
} catch {
setStorageAvailable(false);
}
}, [gridState, hydrated, storageAvailable]);
const updateGrid = (update: (current: GridState) => GridState) => {
setGridState(update);
};
const resetGrid = () => {
if (!window.confirm("Das Grid leeren und auf das mittlere G zurücksetzen?")) return;
setGridState(createEmptyGridState());
setPlacementTool(null);
};
return (
<div className={styles.page}>
<header className={styles.hero}>
<Link href="/playground" className={styles.backLink}>
<ArrowLeft aria-hidden="true" size={16} />
Playground
</Link>
<div className={styles.eyebrow}>
<Hexagon aria-hidden="true" size={15} />
Playground / Grid Lab
</div>
<div className={styles.heroCopy}>
<div>
<h1>Honeycomb Grid-Lab</h1>
<p>
Eine stabile Originalversion zum freien Bestücken. Wähle oben ein Logo aus und klicke
danach auf die gewünschte Wabe. Das Grid startet leer – nur das HiveGrid-G bleibt stehen.
</p>
</div>
<div className={`${styles.saveState} ${!storageAvailable ? styles.saveError : ""}`}>
{storageAvailable ? <Check aria-hidden="true" size={15} /> : <CircleOff aria-hidden="true" size={15} />}
{storageAvailable ? "Automatisch lokal gespeichert" : "Lokaler Speicher nicht verfügbar"}
</div>
</div>
</header>
<aside className={styles.toolDock} aria-label="Grid-Werkzeuge">
<div className={styles.dockSection}>
<span className={styles.dockLabel}>Alle Logos – auswählen und danach im Grid platzieren</span>
<div className={styles.logoRail}>
{Object.entries(HONEYCOMB_LOGOS).map(([label, logo]) => {
const selected = placementTool === label;
return (
<button
key={label}
type="button"
className={`${styles.logoButton} ${selected ? styles.logoButtonActive : ""}`}
aria-label={`${label} platzieren`}
aria-pressed={selected}
title={`${label} platzieren`}
onClick={() => setPlacementTool(selected ? null : label)}
>
<Image
src={logo.src}
alt=""
width={76}
height={30}
sizes="76px"
style={{ borderRadius: logo.cornerRadius }}
/>
<span>{label}</span>
</button>
);
})}
</div>
</div>
<div className={styles.dockFooter}>
<div className={styles.controlStack}>
<span className={styles.dockLabel}>Bearbeiten</span>
<div className={styles.modeButtons}>
<button
type="button"
className={placementTool === null ? styles.toolActive : ""}
onClick={() => setPlacementTool(null)}
aria-pressed={placementTool === null}
>
<Sparkles aria-hidden="true" size={15} />
Wabe an / aus
</button>
<button
type="button"
className={placementTool === "__erase__" ? styles.toolActive : ""}
onClick={() => setPlacementTool("__erase__")}
aria-pressed={placementTool === "__erase__"}
>
<Eraser aria-hidden="true" size={15} />
Logo entfernen
</button>
</div>
</div>
<div className={styles.controlStack}>
<span className={styles.dockLabel}>Sichtbare Ebenen</span>
<div className={styles.layerControls} aria-label="Grid-Ebenen">
{LAYER_OPTIONS.map(({ key, label }) => {
const enabled = gridState.layers[key];
return (
<button
key={key}
type="button"
aria-pressed={enabled}
className={enabled ? styles.layerEnabled : ""}
onClick={() => updateGrid((current) => ({
...current,
layers: { ...current.layers, [key]: !current.layers[key], hub: true },
}))}
>
<span aria-hidden="true" />
{label}
</button>
);
})}
</div>
</div>
<button type="button" className={styles.resetButton} onClick={resetGrid}>
<RotateCcw aria-hidden="true" size={15} />
Grid leeren
</button>
</div>
</aside>
<section className={`${styles.previewShell} ${styles.solid}`} aria-labelledby="active-grid-title">
<div className={styles.previewAtmosphere} aria-hidden="true">
<span />
<span />
<span />
</div>
<div className={styles.previewMeta}>
<div>
<span>Originalversion</span>
<h2 id="active-grid-title">Original Solid</h2>
</div>
<p>
{placementTool === null
? "Waben anklicken, um sie ein- oder auszuschalten. Bereits gesetzte Logos können verschoben werden."
: placementTool === "__erase__"
? "Auf eine belegte Wabe klicken, um das Logo zu entfernen."
: `${placementTool} ist ausgewählt – jetzt die gewünschte Wabe anklicken.`}
</p>
</div>
<div className={styles.gridStage}>
<HoneycombSection
inline
theme="light"
physics={PHYSICS_PRESETS.soft}
appearance="solid"
layers={gridState.layers}
showCellNumbers={false}
showInlineFade={false}
logoPlacements={gridState.placements}
onLogoPlacementsChange={(placements) => updateGrid((current) => ({ ...current, placements }))}
activeCellIds={gridState.activeCellIds}
onActiveCellIdsChange={(activeCellIds) => updateGrid((current) => ({ ...current, activeCellIds }))}
editorMode
placementTool={placementTool}
/>
</div>
</section>
<footer className={styles.labNote}>
<strong>Nur Playground.</strong> Der Zustand dieses Grids wird ausschließlich lokal in deinem Browser gespeichert.
</footer>
</div>
);
}
@@ -0,0 +1,467 @@
.page {
min-height: 100vh;
padding: 44px clamp(18px, 4vw, 64px) 72px;
background:
radial-gradient(circle at 12% 2%, rgba(241, 183, 41, 0.13), transparent 28rem),
linear-gradient(180deg, #fffdf8 0%, #f5f1e8 100%);
color: #221b0f;
}
.hero,
.toolDock,
.previewShell,
.labNote {
width: min(100%, 1480px);
margin-inline: auto;
}
.hero {
display: grid;
gap: 22px;
padding-bottom: 28px;
}
.backLink {
display: inline-flex;
align-items: center;
gap: 7px;
width: max-content;
color: #6a5b3e;
font-size: 13px;
font-weight: 700;
text-decoration: none;
transition: color 160ms ease, transform 160ms ease;
}
.backLink:hover {
color: #2f2514;
transform: translateX(-2px);
}
.eyebrow {
display: inline-flex;
align-items: center;
gap: 8px;
width: max-content;
padding: 7px 10px;
border: 1px solid rgba(126, 89, 13, 0.13);
border-radius: 999px;
background: rgba(255, 255, 255, 0.72);
color: #76540d;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.11em;
text-transform: uppercase;
box-shadow: 0 8px 30px rgba(62, 44, 10, 0.06);
}
.heroCopy {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 32px;
}
.heroCopy h1 {
margin: 0;
max-width: 820px;
font-size: clamp(38px, 5.2vw, 76px);
font-weight: 750;
letter-spacing: -0.055em;
line-height: 0.98;
}
.heroCopy p {
max-width: 760px;
margin: 18px 0 0;
color: #6e624c;
font-size: clamp(14px, 1.4vw, 17px);
line-height: 1.65;
}
.saveState {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
gap: 7px;
margin-bottom: 4px;
padding: 8px 11px;
border: 1px solid rgba(33, 105, 70, 0.14);
border-radius: 999px;
background: rgba(235, 249, 240, 0.82);
color: #286744;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.025em;
white-space: nowrap;
}
.saveError {
border-color: rgba(159, 69, 46, 0.18);
background: rgba(255, 239, 233, 0.88);
color: #98482e;
}
.toolDock {
position: relative;
z-index: 70;
display: grid;
gap: 14px;
margin-bottom: 18px;
padding: 16px;
border: 1px solid rgba(82, 58, 12, 0.13);
border-radius: 22px;
background: rgba(255, 255, 255, 0.86);
box-shadow: 0 20px 60px rgba(65, 46, 11, 0.12);
backdrop-filter: blur(22px) saturate(1.25);
}
.dockSection {
display: grid;
gap: 8px;
min-width: 0;
}
.dockLabel {
color: #74664d;
font-size: 9px;
font-weight: 850;
letter-spacing: 0.11em;
text-transform: uppercase;
}
.modeButtons,
.layerControls {
display: flex;
flex-wrap: wrap;
gap: 7px;
}
.modeButtons button,
.layerControls button,
.resetButton {
appearance: none;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 32px;
padding: 7px 10px;
border: 1px solid rgba(78, 59, 22, 0.12);
border-radius: 9px;
background: #f8f6f1;
color: #62553e;
font: inherit;
font-size: 10px;
font-weight: 760;
cursor: pointer;
transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.modeButtons button:hover,
.layerControls button:hover,
.resetButton:hover {
transform: translateY(-1px);
border-color: rgba(172, 117, 1, 0.38);
}
.modeButtons .toolActive {
border-color: rgba(188, 126, 0, 0.48);
background: #f1b729;
color: #372605;
box-shadow: 0 5px 16px rgba(144, 94, 0, 0.16);
}
.logoRail {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
gap: 7px;
padding: 1px;
}
.logoButton {
appearance: none;
display: grid;
grid-template-rows: 30px 1fr;
place-items: center;
gap: 4px;
min-height: 60px;
padding: 7px 6px 5px;
border: 1px solid rgba(85, 63, 20, 0.1);
border-radius: 11px;
background: #fbfaf7;
color: #6b5e47;
cursor: copy;
transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.logoButton:hover {
transform: translateY(-1px);
border-color: rgba(183, 123, 0, 0.38);
background: #fff9e9;
}
.logoButton img {
width: auto;
max-width: 70px;
height: 27px;
object-fit: contain;
}
.logoButton span {
overflow: hidden;
max-width: 76px;
font-size: 8px;
font-weight: 750;
line-height: 1.1;
text-overflow: ellipsis;
white-space: nowrap;
}
.logoButtonActive {
border-color: rgba(151, 99, 0, 0.6);
background: #f1b729;
color: #342302;
box-shadow: 0 0 0 2px rgba(241, 183, 41, 0.18), 0 7px 18px rgba(98, 62, 0, 0.14);
}
.dockFooter {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: flex-start;
gap: 14px;
padding-top: 12px;
border-top: 1px solid rgba(77, 56, 14, 0.09);
}
.controlStack {
display: grid;
gap: 7px;
min-width: 0;
}
.layerControls button > span {
width: 7px;
height: 7px;
border-radius: 999px;
background: #bcb5a8;
box-shadow: 0 0 0 2px rgba(106, 93, 69, 0.08);
}
.layerControls .layerEnabled {
border-color: rgba(183, 123, 0, 0.22);
background: #fff8e4;
color: #4c380f;
}
.layerControls .layerEnabled > span {
background: #e1a714;
box-shadow: 0 0 0 2px rgba(241, 183, 41, 0.2), 0 0 8px rgba(241, 183, 41, 0.45);
}
.resetButton {
flex: 0 0 auto;
background: transparent;
}
.previewShell {
position: relative;
overflow: hidden;
min-height: 680px;
border: 1px solid rgba(83, 59, 12, 0.16);
border-radius: clamp(20px, 3vw, 34px);
isolation: isolate;
box-shadow: 0 34px 100px rgba(48, 31, 2, 0.16);
}
.previewShell::after {
position: absolute;
z-index: 30;
inset: 0;
border: 1px solid rgba(255, 255, 255, 0.44);
border-radius: inherit;
content: "";
pointer-events: none;
}
.solid {
background:
linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
radial-gradient(circle at 50% 45%, #fff0be 0%, #fffaf0 54%, #f6f1e7 100%);
}
.previewAtmosphere {
position: absolute;
z-index: 0;
inset: 0;
overflow: hidden;
pointer-events: none;
}
.previewAtmosphere span {
position: absolute;
width: 34vw;
max-width: 500px;
aspect-ratio: 1;
border-radius: 999px;
filter: blur(70px);
opacity: 0.32;
}
.previewAtmosphere span:nth-child(1) {
top: 8%;
left: 8%;
background: #f1b729;
}
.previewAtmosphere span:nth-child(2) {
right: 4%;
bottom: 6%;
background: #fff1bc;
}
.previewAtmosphere span:nth-child(3) {
top: 38%;
left: 48%;
width: 18vw;
background: #c28100;
opacity: 0.18;
}
.previewMeta {
position: absolute;
z-index: 20;
top: clamp(18px, 3vw, 34px);
left: clamp(18px, 3vw, 38px);
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 24px;
width: calc(100% - clamp(36px, 6vw, 76px));
pointer-events: none;
}
.previewMeta span {
color: #997020;
font-size: 9px;
font-weight: 850;
letter-spacing: 0.13em;
text-transform: uppercase;
}
.previewMeta h2 {
margin: 1px 0 0;
font-size: clamp(21px, 2.7vw, 34px);
letter-spacing: -0.035em;
line-height: 1.1;
}
.previewMeta p {
max-width: 430px;
margin: 3px 0 0;
color: #79694b;
font-size: 11px;
line-height: 1.5;
text-align: right;
}
.gridStage {
position: relative;
z-index: 2;
padding-top: 34px;
}
.labNote {
margin-top: 16px;
color: #7c705b;
font-size: 11px;
text-align: center;
}
.labNote strong {
color: #493a1e;
}
@media (max-width: 1120px) {
.dockFooter {
display: grid;
grid-template-columns: 1fr;
}
.resetButton {
width: max-content;
}
}
@media (max-width: 700px) {
.page {
padding: 28px 14px 52px;
}
.hero {
gap: 16px;
}
.heroCopy {
display: grid;
gap: 16px;
}
.saveState {
width: max-content;
margin: 0;
}
.toolDock {
padding: 13px;
border-radius: 17px;
}
.modeButtons {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.modeButtons button {
padding-inline: 7px;
}
.layerControls {
flex-wrap: nowrap;
overflow-x: auto;
padding-bottom: 5px;
}
.layerControls button {
flex: 0 0 auto;
}
.previewShell {
min-height: 590px;
border-radius: 20px;
}
.previewMeta {
display: grid;
gap: 7px;
}
.previewMeta p {
max-width: 290px;
text-align: left;
}
.gridStage {
padding-top: 72px;
}
}
@media (prefers-reduced-motion: reduce) {
.backLink,
.modeButtons button,
.layerControls button,
.resetButton,
.logoButton {
transition: none;
}
}
@@ -0,0 +1,33 @@
import type { Metadata } from "next";
import { headers } from "next/headers";
import { notFound } from "next/navigation";
import GridLabClient from "./GridLabClient";
export const metadata: Metadata = {
title: "Honeycomb Grid Lab (dev)",
description: "Lokaler Varianten-Editor für das HiveGrid-Honeycomb.",
robots: { index: false, follow: false },
};
export const dynamic = "force-dynamic";
export default async function GridLabPage() {
const requestHeaders = await headers();
const host = (
requestHeaders.get("x-forwarded-host") ||
requestHeaders.get("host") ||
""
).toLowerCase();
const enabled =
process.env.NODE_ENV !== "production" ||
process.env.SHOW_PLAYGROUND === "1" ||
host.startsWith("staging.") ||
host.includes("localhost") ||
host.startsWith("127.0.0.1") ||
host.startsWith("[::1]");
if (!enabled) notFound();
return <GridLabClient />;
}
@@ -0,0 +1,40 @@
import { NextResponse } from "next/server";
import type { NextRequest } from "next/server";
/**
* Root "/" → staging preview wrapper, host-gated.
*
* The current landing is rendered directly by app/page.tsx in production.
* Local development and staging are rewritten through /playground so the same
* screen keeps its noindex preview metadata there. The visual content is shared
* between both routes; only the environment-specific metadata and login target
* differ.
*
* Matcher is "/" only, so no other route pays any middleware cost.
*/
export function middleware(req: NextRequest) {
const host = (
req.headers.get("x-forwarded-host") ||
req.headers.get("host") ||
""
).toLowerCase();
const showPlayground =
process.env.NODE_ENV !== "production" || // local dev
process.env.SHOW_PLAYGROUND === "1" || // manual override
host.startsWith("staging.") || // staging.hivegrid.de → on
host.includes("localhost") ||
host.startsWith("127.0.0.1");
if (showPlayground) {
const url = req.nextUrl.clone();
url.pathname = "/playground";
return NextResponse.rewrite(url);
}
return NextResponse.next();
}
export const config = {
matcher: "/",
};
@@ -0,0 +1,52 @@
import type { Metadata } from "next";
import { notFound } from "next/navigation";
import { headers } from "next/headers";
import { Manrope } from "next/font/google";
import LandingPageClient from "@/components/landing/LandingPageClient";
// Local/staging preview wrapper for the landing page rendered by app/page.tsx.
// It remains host-gated and noindex so staging can be reviewed without creating
// a second indexable URL on hivegrid.de.
export const metadata: Metadata = {
title: "Playground (dev)",
robots: { index: false, follow: false },
};
// Render at request time so the gate below reads the live request host + runtime
// env — the same built image is enabled on staging and disabled on prod.
export const dynamic = "force-dynamic";
// Playground-only font test: Manrope is a bit warmer + more geometric than
// Inter — grounded without feeling SF-style. Scoped to /playground only so we
// can A/B it without touching the live font.
const manrope = Manrope({
subsets: ["latin"],
variable: "--font-playground",
weight: ["400", "500", "600", "700", "800"],
display: "swap",
});
export default async function PlaygroundPage() {
const hdrs = await headers();
const host = (hdrs.get("x-forwarded-host") || hdrs.get("host") || "").toLowerCase();
const enabled =
process.env.NODE_ENV !== "production" || // local dev
process.env.SHOW_PLAYGROUND === "1" || // manual override
host.startsWith("staging.") || // staging.hivegrid.de → auto-on
host.includes("localhost") ||
host.startsWith("127.0.0.1");
if (!enabled) {
notFound();
}
return (
<div
className={manrope.variable}
style={{ fontFamily: "var(--font-playground), system-ui, sans-serif" }}
>
<LandingPageClient />
</div>
);
}