--- interface Props { eyebrow?: string; title: string; /** Optional; sonst füllt der Default-Slot die Textseite. */ text?: string; cta?: { label: string; href: string }; image: string; imageAlt: string; /** Bild links statt rechts — Bänder werden abwechselnd gespiegelt. */ reverse?: boolean; tone?: "cream" | "green" | "white" | "ink"; /** Blendet die Zahl links neben der Überschrift ein. */ index?: string; /** object-position für Motive, die nicht mittig sitzen. */ imagePosition?: string; eager?: boolean; } const { eyebrow, title, text, cta, image, imageAlt, reverse = false, tone = "cream", index, imagePosition = "center", eager = false, } = Astro.props; const surfaces = { cream: "bg-brand-surface", green: "bg-[var(--color-brand-green-tint)]", white: "bg-brand-surface-strong", ink: "bg-brand-ink", }; const dark = tone === "ink"; ---
{index && ( )} {eyebrow && ( {eyebrow} )}

{title}

{text && (

{text}

)} {cta && ( {cta.label} )}
{imageAlt}