/*
 * Design tokens — design "Kurs" (approved mockup docs/design/home.dc.html, 2026-11-30).
 * Every colour, font, size, spacing and radius lives here. Components (app.css) use only these variables.
 *
 * --accent is NOT defined here: it comes from config/site.yaml (app.site.accent) via a <style> block
 * in templates/base.html.twig. Text on accent is white, so an accent needs 4.5:1 contrast with white.
 */

/* Barlow and Barlow Semi Condensed, self-hosted (no requests to Google). SIL OFL, see ../fonts/OFL.txt. */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin-vi9KK0M.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: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin-ext-44OVevQ.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: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500-latin-NEjOmLf.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: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500-latin-ext-S_tGnjp.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: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600-latin-4doZ60o.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: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600-latin-ext-8vUM_s1.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: 'Barlow Semi Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-500-latin-XnJOwR8.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: 'Barlow Semi Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-500-latin-ext-mNq9LoO.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: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-600-latin-5M3YAzX.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: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-600-latin-ext-iLkyP5e.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: 'Barlow Semi Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-700-latin-EBFoC46.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: 'Barlow Semi Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-700-latin-ext-YkFjlz6.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 {
    /* Colours */
    --ink: #13233a;                 /* text, header, footer, dark band */
    --paper: #ffffff;
    --sky: #eaf1f6;                 /* hero and closing band */
    --tape: #e1eaf2;                /* heading tape background */
    --tape-edge: #9fb3c6;
    --tape-tick: #7f96ad;
    --hairline: #c9d5df;
    --text-soft: #2b3d55;           /* body copy on light backgrounds, 9.7:1 on --sky */
    --muted: #4a5a70;               /* small print, 5.8:1 on --tape */
    --control-edge: #8796a8;        /* input borders; empty result figure (large text, 3:1) */
    --on-ink: #d6dee8;              /* text and links on --ink */
    --on-ink-muted: #b7c3d1;        /* footer text on --ink, 8.8:1 */
    --on-accent: #ffffff;
    --accent-hover: color-mix(in srgb, var(--accent) 80%, #000000);
    /* Lighter orange for marks on --ink (logo needle, cost list rule). Fixed: revisit if the accent changes. */
    --accent-on-ink: #f28c4a;
    --rule-cool: #8fb3d1;           /* second cost list rule on --ink */
    --error: #b42318;               /* form errors: 6.5:1 on --paper */
    --error-soft: #fdecea;          /* error notice background */
    --success: #1d6b3a;             /* upload accepted: 6.6:1 on --success-soft */
    --success-soft: #e7f4ec;        /* success notice background */

    /* Typography */
    --font-body: 'Barlow', system-ui, sans-serif;
    --font-display: 'Barlow Semi Condensed', 'Barlow', system-ui, sans-serif;

    --size-h1: 72px;
    --size-h1-mobile: 48px;
    --size-cta-title: 44px;
    --size-h2: 40px;
    --size-h3: 28px;
    --size-calc-title: 26px;
    --size-brand: 22px;
    --size-step: 21px;
    --size-lead: 20px;
    --size-h4: 19px;
    --size-input: 19px;
    --size-body-l: 18px;
    --size-body: 17px;
    --size-nav: 16px;
    --size-small: 15px;
    --size-figure: 64px;
    --size-figure-unit: 24px;
    --size-sign: 28px;

    --leading-none: 1;
    --leading-display: 1.02;
    --leading-cta-title: 1.05;
    --leading-title: 1.1;
    --leading-lead: 1.5;
    --leading-body: 1.55;
    --tracking-display: -0.01em;
    --tracking-brand: 0.01em;

    /* Spacing (named by pixel value, from the mockup) */
    --space-2: 2px;
    --space-6: 6px;
    --space-8: 8px;
    --space-10: 10px;
    --space-11: 11px;
    --space-12: 12px;
    --space-13: 13px;
    --space-14: 14px;
    --space-15: 15px;
    --space-16: 16px;
    --space-18: 18px;
    --space-20: 20px;
    --space-22: 22px;
    --space-24: 24px;
    --space-25: 25px;
    --space-26: 26px;
    --space-28: 28px;
    --space-32: 32px;
    --space-40: 40px;
    --space-56: 56px;
    --space-64: 64px;
    --space-80: 80px;
    --space-88: 88px;
    --space-96: 96px;
    --space-128: 128px;

    /* Layout */
    --container-max-width: 1200px;  /* content width; containers add --gutter on both sides */
    --narrow-max-width: 860px;      /* content width of the FAQ */
    --gutter: 32px;
    --target-min: 44px;

    /* Heading tape (hero bottom) */
    --tape-height: 56px;
    --tape-step: 24px;              /* minor tick */
    --tape-major: 144px;            /* major tick and label */
    --tape-minor-height: 9px;
    --tape-major-height: 16px;
    --tape-label-top: 22px;
    --tape-pointer-offset: 432px;   /* over "E": 3 × --tape-major */
    --route-bottom: 88px;
    --route-inset: 6%;

    /* Shape */
    --radius-control: 6px;
    --radius-card: 10px;
    --border-hairline: 1px;
    --border-rule: 2px;
    --shadow-card: 8px 8px 0 var(--ink);
    --focus-ring: 3px;
    --focus-offset: 2px;
    --step-badge: 48px;
    --transition-fast: 0.15s;
}
