/* global React, Monogram, Wordmark, ClaimCaps */ const { useState: useStateChrome } = React; /* ────────────────────────────────────────────────────────────── GLOBAL CHROME — Sticky Nav + Footer Heller Lauritsen Capital ────────────────────────────────────────────────────────────── */ const NavBar = ({ active = 'home', variant = 'navy' }) => { const isNavy = variant === 'navy'; const fg = isNavy ? '#F5F1E8' : '#2A2A2A'; const bg = isNavy ? '#0E1B2C' : '#FAF7F0'; const ring = '#C9A961'; const linkColor = isNavy ? 'rgba(245,241,232,0.78)' : 'rgba(42,42,42,0.7)'; const items = [ { id: 'leistungen', label: 'Leistungen', href: 'leistungen.html' }, { id: 'prozess', label: 'Prozess', href: 'prozess.html' }, { id: 'recht', label: 'Recht', href: 'recht.html' }, { id: 'ueberuns', label: 'Über uns', href: 'ueber-uns.html' }, { id: 'kontakt', label: 'Kontakt', href: 'kontakt.html' }, ]; return (
H L
Capital
); }; const FooterBar = () => ( ); /* small atoms shared by pages */ const SectionMarker = ({ children, color = '#C9A961' }) => (
{children}
); const CTA = ({ children, href = 'kontakt.html', dark = true }) => { const [hover, setHover] = useStateChrome(false); const gold = '#C9A961'; const navy = '#0E1B2C'; const filled = hover; return ( setHover(true)} onMouseLeave={() => setHover(false)} style={{ display: 'inline-flex', alignItems: 'center', gap: 14, padding: '16px 26px', border: `1px solid ${gold}`, background: filled ? gold : 'transparent', color: filled ? navy : gold, fontFamily: 'DM Sans, sans-serif', fontWeight: 500, textTransform: 'uppercase', letterSpacing: '0.32em', fontSize: 11, textDecoration: 'none', cursor: 'pointer', transition: 'background 200ms ease, color 200ms ease', }}> {children} ); }; window.NavBar = NavBar; window.FooterBar = FooterBar; window.SectionMarker = SectionMarker; window.CTA = CTA;