@font-face {
    font-family: "Frutiger";
    src: url("../fonts/frutiger-light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: "Frutiger";
    src: url("../fonts/frutiger-black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
}

:root {
    --alfing-blue: #F39654;
    --alfing-dark: #F39654;
    --alfing-gray: #555;
    --alfing-light-gray: #888;
    --alfing-bg: #ffffff;
    --alfing-border: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Frutiger';
    line-height: 1.4;
    font-weight: 300;
    color: #000;
    background: var(--alfing-bg);
}

main {
    display: block;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Frutiger';
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--alfing-dark);
}

button[type="submit"] {
    height: 58px;
    line-height: 58px;
    padding: 0 20px;
    background: #000000;
    color: #fff;
    border: none;
    font-weight: 900;
    cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #d2d7da;
    font-size: .9em;

    &:focus,
    &:focus-visible {
        outline: none;
        border: 1px solid var(--alfing-dark);
    }
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 900;
    color: var(--alfing-gray);
}

h4 {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--alfing-blue);
}

p {
    font-family: 'Frutiger';
    font-size: 1rem;
    line-height: 1.7;
    color: #000;
}

a {
    color: var(--alfing-blue);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--alfing-blue);
}

.text-dark {
    color: var(--alfing-dark);
}

.text-gray {
    color: var(--alfing-gray);
}

.text-light {
    color: var(--alfing-light-gray);
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.font-black {
    font-weight: 900;
}

.uppercase {
    text-transform: uppercase;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

/* ============================================================ */
/* ===== PRINT ===== */
/* ============================================================ */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        margin: 0;
        padding: 0;
        background: white;
    }
}

/* ============================================================ */
/* ===== DARK MODE ===== */
/* ============================================================ */
@media (prefers-color-scheme: dark) {
    :root {
        --alfing-bg: #1a1a2e;
        --alfing-dark: #eee;
        --alfing-gray: #ccc;
        --alfing-light-gray: #aaa;
    }

    body {
        background: var(--alfing-bg);
        color: var(--alfing-dark);
    }

    h1, h2, h3, h4, h5, h6 {
        color: var(--alfing-dark);
    }

    h3 {
        color: #bbb;
    }

    p {
        color: #ccc;
    }
}
