﻿/* Würth Sans UI, loaded locally (no external font hosts). Weights: Book 100-499, DemiBold 500-799, Black 800-900.
   The font declares two different sets of line metrics (hhea 2097/546/325 and typo 1663/546/325 with USE_TYPO_METRICS). Desktop
   browsers use hhea, the Android WebView uses typo, so text sat about 0.1em higher on the tablet. The overrides below force the
   hhea values everywhere, so icon + text pairs, badges and buttons are centred the same on every device. */
@font-face {
    font-family: 'Wuerth Sans UI';
    src: url('../fonts/WuerthSansUI-Book.woff2') format('woff2');
    font-weight: 100 499;
    font-style: normal;
    font-display: swap;
    ascent-override: 102.39%;
    descent-override: 26.66%;
    line-gap-override: 15.87%;
}

@font-face {
    font-family: 'Wuerth Sans UI';
    src: url('../fonts/WuerthSansUI-DemiBold.woff2') format('woff2');
    font-weight: 500 799;
    font-style: normal;
    font-display: swap;
    ascent-override: 102.39%;
    descent-override: 26.66%;
    line-gap-override: 15.87%;
}

@font-face {
    font-family: 'Wuerth Sans UI';
    src: url('../fonts/WuerthSansUI-Black.woff2') format('woff2');
    font-weight: 800 900;
    font-style: normal;
    font-display: swap;
    ascent-override: 102.39%;
    descent-override: 26.66%;
    line-gap-override: 15.87%;
}

:root {
    --wuerth-font: 'Wuerth Sans UI', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html, body, :root {
    --body-font: var(--wuerth-font) !important;
}

html, body {
    font-family: var(--wuerth-font);
}

button, input, select, textarea {
    font-family: inherit;
}
