/* DIN Round Pro aus der vorhandenen Installation.
 * webfontDIN ist der Dateiname/CSS-Alias; die Original-Schriftdateien und Metadaten bleiben unverändert.
 */

@font-face {
    font-family: 'webfontDIN';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/webfontDIN/webfontDIN-Light.otf') format('opentype');
}

@font-face {
    font-family: 'webfontDIN';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/webfontDIN/webfontDIN-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'webfontDIN';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/webfontDIN/webfontDIN-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'webfontDIN';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/webfontDIN/webfontDIN-Bold.otf') format('opentype');
}

/* Gemeinsame Typografie der öffentlichen Ruhelotsen-Website. */
:root {
    --font-heading: 'webfontDIN', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-body: 'webfontDIN', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: -0.011em;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

h1, h2, h3 {
    letter-spacing: -0.022em;
}

p, li {
    font-weight: 400;
}

strong, b {
    font-weight: 600;
}

button, input, select, textarea {
    font-family: var(--font-body);
}

.btn {
    font-weight: 500;
}
