/* ───────────────────────────────────────────────────────────── SectionHeader · Standard-Headliner für Sections Patterns: - "standard" (default) — Mulish 300 · 44 px title + Cormorant 400 · 44 px accent - "auftakt" — Cormorant Kupfer 200 · 48 px accent + Mulish 300 · 40 px title (einzeilig) Tones: 'brand' (Kupfer) · 'trauerfall' (Tiefrot) · 'vorsorge' (Salbei) ───────────────────────────────────────────────────────────── */ function SectionHeader({ eyebrow, title, accent, sub, subMaxWidth, center=false, tone='brand', pattern='standard', }) { const accentColor = tone === 'trauerfall' ? 'var(--accent-trauerfall)' : tone === 'vorsorge' ? 'var(--accent-vorsorge)' : 'var(--brand-accent)'; const eyebrowColor = accentColor; return (
{eyebrow && ( {center ? : } {eyebrow} )} {pattern === 'auftakt' ? (

{accent && {accent}} {accent && title ? ' ' : ''} {title && {title}}

) : (

{title} {accent && <> {accent}}

)} {sub && (

{sub}

)}
); } Object.assign(window, { SectionHeader });