@font-face {
    font-family: "Geom";
    font-weight: 300 900;
    font-style: normal;
    src: url("/assets/fonts/Geom-VariableFont_wght.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Noto Sans";
    font-weight: 100 900;
    font-style: normal;
    src: url("/assets/fonts/NotoSans-VariableFont_wdth,wght.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "LisuBosa";
    font-weight: 400;
    font-style: italic;
    src: url("/assets/fonts/LisuBosa-Italic.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "IBMPlexMono";
    font-weight: 400;
    font-style: normal;
    src: url("/assets/fonts/IBMPlexMono-Regular.ttf") format("truetype");
    font-display: swap;
}

body {
    font-family: var(--font-primary);
    line-height: 1.4;
}

small {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--dark-grey);
}

/* h1 für Screenreader */
.visually-hidden {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}

h2,
h3 {
    font-family: var(--font-heading);
}

h2 {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
    font-weight: 300;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

/* hero section + kontakt section */

.hero-container,
.kontakt-text {
    font-size: clamp(2rem, 5vw, 3rem);
}

.hero-container p,
.kontakt-text p {
    font-family: var(--font-italic);
    font-style: italic;
    font-weight: 400;
}

.hero-container span,
.kontakt-text span {
    font-family: var(--font-heading);
    font-style: normal;
    font-weight: 700;
}