

@import url('/vendor/fontawesome/css/all.min.css');

@font-face {
    font-family: 'SourceSerif4';
    src: url('../fonts/SourceSerif4-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Farbwelt nach Styleguide */
:root {
    --terminalcharcoal: #0f172a;
    --midnightblue: #09264a;
    --warmoffwhite: #f0ede8;
}

/* Basis (Mobile First) */

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

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100dvh;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--midnight);
    background-color: var(--warmoffwhite);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'SourceSerif4', sans-serif;
    line-height: 1.2;
    margin: 0 0 0.5em;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p {
    margin: 0 0 1em;
}

a {
    color: var(--midnightblue);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--midnightblue);
}

img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    padding-inline: 1rem;
    margin-inline: auto;
}

button, .btn {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.75em 1.25em;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

/* Tablet aufwärts */
@media (min-width: 768px) {
    body {
        font-size: 1.0625rem;
    }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.5rem; }

    .container {
        max-width: 720px;
        padding-inline: 2rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.125rem; }

    .container {
        max-width: 1140px;
        padding-inline: 2.5rem;
    }
}
