
/* =========================================================
   FONTS
   ========================================================= */

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

@font-face {
    font-family: "D-DIN";
    src: url("fonts/D-DIN-Italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

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

@font-face {
    font-family: "D-DIN Condensed";
    src: url("fonts/D-DINCondensed.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "D-DIN Condensed";
    src: url("fonts/D-DINCondensed-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   KLEUREN
   ========================================================= */

:root {
    --bg: #e7eef5;
    --surface: #f4f7fa;
    --heading: #16324f;
    --text: #34495e;
    --muted: #647689;
    --link: #1f6394;
    --link-hover: #143f63;
    --border: #c5d3df;
}


/* =========================================================
   BASIS
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: "D-DIN", sans-serif;
    font-weight: 400;
    background: var(--bg);
    color: var(--text);
}


/* =========================================================
   LAYOUT
   ========================================================= */

main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.landing {
    width: 100%;
    max-width: 900px;
    text-align: center;
}


/* =========================================================
   KOPPEN
   ========================================================= */

h1,
h2,
h3 {
    color: var(--heading);
    font-weight: 600;
}

h1 {
    font-family: "Montserrat", sans-serif;
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2,
h3 {
    font-family: "Playfair Display", Georgia, serif;
}


/* =========================================================
   LABELS / NAVIGATIE / BUTTONS
   ========================================================= */

.label,
nav,
.button {
    font-family: "D-DIN", sans-serif;
    font-weight: 700;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
    max-width: 650px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
    color: var(--text);
}


/* =========================================================
   SPLASH / BEWEGENDE AFBEELDING
   ========================================================= */

.splash {
    width: min(850px, 100%);
    height: clamp(300px, 50vw, 500px);
    margin: 32px auto;

    position: relative;
    overflow: hidden;
    display: block;

    border-radius: 14px;
    background: rgba(244, 247, 250, 0.35);
    border: 1px solid var(--border);
}

.splash img {
    position: absolute;
    top: 0;
    left: 0;

    width: 430px;
    max-width: none;
    height: auto;

    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    will-change: transform;
}


/* =========================================================
   CONTENT
   ========================================================= */

.content {
    max-width: 650px;
    margin: 35px auto 0;
    padding: 28px 30px;

    background: rgba(244, 247, 250, 0.65);
    border: 1px solid var(--border);
    border-radius: 12px;

    text-align: left;
}

.content p {
    margin: 0 0 1em;
}

.content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LINKS
   ========================================================= */

a {
    font-family: "D-DIN", sans-serif;
    color: var(--link);
    text-decoration: none;
    border-bottom: 1px solid rgba(31, 99, 148, 0.35);

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

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


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    margin-top: 35px;
    color: var(--muted);
    font-size: 0.9rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {
    main {
        padding: 25px 15px;
    }

    .content {
        padding: 22px 20px;
    }

    .intro {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .splash {
        height: 260px;
    }

    .splash img {
        width: 280px;
    }
}


/* =========================================================
   MINDER BEWEGING
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .splash img {
        position: relative;
        top: auto;
        left: auto;
        display: block;
        margin: 0 auto;
        transform: none !important;
    }
}
