/*
 * Design-Tokens aus dem Figma-Design „Landgärtnerei EhmeierV2“.
 * Alle Farben, Schriften, Abstände und Radien werden nur hier definiert.
 */

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lato-latin-400-normal-CzNc_Ij.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lato-latin-ext-400-normal-zMrPsJT.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/lato-latin-700-normal-5CmM-eX.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/lato-latin-ext-700-normal-5Iaedao.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/merriweather-latin-700-normal-mSg-FPK.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/merriweather-latin-ext-700-normal-nkIqX6E.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Farben */
    --color-bg: #f7f5ef;              /* Seitenhintergrund (beige) */
    --color-surface: #ffffff;         /* Karten, Header */
    --color-border: #e3e8e0;
    --color-text: #1f2a21;            /* Überschriften, Fließtext dunkel */
    --color-text-muted: #4f5f52;      /* Einleitungen, Beschreibungen */
    /* Überzeilen, Labels, Ovale („30 Sorten“). Etwas dunkler als im Figma (#5b7a5e), damit die
       kleine Schrift genug Kontrast hat (WCAG AA: mind. 4,5 : 1 – jetzt 5,4 auf Beige, 4,9 auf
       Hellgrün statt 4,4 bzw. 4,0). Zurück zur Figma-Farbe: Wert wieder auf #5b7a5e setzen. */
    --color-eyebrow: #4f6c52;
    --color-primary: #2f4a33;         /* Dunkelgrün: Buttons, Footer */
    --color-primary-hover: #243a28;
    --color-accent: #f4a7a3;          /* Lachsrosa: Akzente, Sekundär-Buttons */
    --color-accent-hover: #ef8f8a;
    --color-green-light: #e6ece2;     /* helle Flächen, Text auf Dunkelgrün */
    --color-sage: #b5c4b1;            /* Akzentbalken, Footer-Nebentext */
    --color-on-dark-line: rgba(230, 236, 226, 0.25);
    --color-on-dark-surface: rgba(255, 255, 255, 0.1);
    --color-error: #a3302b;
    --color-error-bg: #fbeceb;
    --color-success: #2f4a33;
    --color-success-bg: #e6ece2;
    --color-warning: #6b4e00;         /* Hinweise (kein Fehler) */
    --color-warning-bg: #fdf5dc;
    --color-warning-line: #d9a514;

    /* Schriften */
    --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
    --font-body: 'Lato', 'Segoe UI', Arial, sans-serif;

    --fs-display: 3.5rem;   /* 56px Hero */
    --fs-h1: 3rem;          /* 48px Seitentitel */
    --fs-h2: 2.5rem;        /* 40px Abschnitt */
    --fs-h3: 1.875rem;      /* 30px Kartentitel groß */
    --fs-h4: 1.5rem;        /* 24px Kartentitel */
    --fs-h5: 1.375rem;      /* 22px */
    --fs-lead: 1.25rem;     /* 20px */
    --fs-body-lg: 1.125rem; /* 18px */
    --fs-body: 1.0625rem;   /* 17px */
    --fs-base: 1rem;        /* 16px */
    --fs-small: 0.9375rem;  /* 15px */
    --fs-eyebrow: 0.875rem; /* 14px */
    --fs-label: 0.75rem;    /* 12px */
    --fs-tiny: 0.8125rem;   /* 13px */

    --tracking-eyebrow: 0.12em;
    --tracking-label: 0.1em;

    /* Abstände */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-14: 56px;
    --space-16: 64px;
    --space-20: 80px;
    --space-22: 88px;
    --space-24: 96px;
    --space-28: 112px;

    --page-gutter: 120px;
    --content-max: 1200px;

    /* Radien & Schatten */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-2xl: 32px;
    --radius-pill: 999px;
    --shadow-card: 0 10px 30px rgba(26, 51, 26, 0.1);

    --focus-ring: 0 0 0 3px var(--color-surface), 0 0 0 5px var(--color-primary);
}

@media (max-width: 1100px) {
    :root {
        --page-gutter: 48px;
    }
}

@media (max-width: 700px) {
    :root {
        --page-gutter: 24px;
        --fs-display: 2.25rem;
        --fs-h1: 1.875rem;
        --fs-h2: 1.75rem;
        --fs-h3: 1.5rem;
        --fs-h4: 1.375rem;
        --fs-lead: 1rem;
        --fs-body-lg: 1rem;
        --fs-body: 1rem;
        --fs-eyebrow: 0.75rem;
        --radius-xl: 20px;
        --radius-2xl: 20px;
    }
}
