@font-face {
    font-family: "Source Sans 3";
    src: url("assets/fonts/SourceSans3-VariableFont_wght.ttf") format("truetype");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("assets/fonts/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* Farbwelt aus dem Style Guide */
:root {
    --color-text: #474747;
    --color-accent: #43A2C4;
    --color-bg: #FFFFFF;
    --color-surface: #F2F2F2;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 48px 20px;
    background: var(--color-bg);
    color: var(--color-text);

    /* horizontal + vertikal zentriert */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: left; /* Style Guide: kein Blocksatz, linksbündig */
    gap: 14px;

    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

img {
    width: min(680px, 92vw);
    max-width: 680px;
    height: auto;
    display: block;
    margin-bottom: 64px;

    /* Mindestbreite laut Guide (digital 250px) – über max() abgesichert */
    min-width: 250px;
}

/* Headline-Hierarchie */
h1 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-weight: 600;
    font-size: clamp(42px, 4.2vw, 48px);
    line-height: 1.1;
    letter-spacing: 0.2px;
    color: var(--color-text);
}

p {
    margin: 0;
    max-width: 52ch;
    font-weight: 400;
    color: var(--color-text);
}

/* Ruhiger Akzent (kein Verlauf, keine Schatten) */
p::after {
    content: "";
    display: block;
    width: 72px;
    height: 2px;
    background: var(--color-accent);
    margin-top: 12px;
}

/* Barrierefreiheit: respektiert Systemeinstellung */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}