/* ==========================================================================
   Spec Dach — statische versie
   Waarden overgenomen uit het YOOtheme/UIkit-thema van spec-dach.pl.
   Breakpoints (UIkit): s = 640px, m = 960px, l = 1200px
   ========================================================================== */

/* Fonts — Montserrat, self-hosted (latin + latin-ext voor Poolse tekens) */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/montserrat-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/montserrat-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/montserrat-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/montserrat-800-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --color-text: #62707f;
    --color-heading: #243d57;
    --color-primary: #ff8200;      /* oranje koppen */
    --color-orange: #ff9400;       /* knoppen, footer-rand */
    --color-orange-hover: #ff4e00;
    --color-navy: #283b72;         /* verzendknop */
    --color-navy-hover: #ff9800;
    --color-border: #e8e8e8;
    --color-label: #00103c;
    --color-danger: #eb5974;
    --color-footer: #0a4876;

    --gutter: 30px;                /* grid-gutter, 40px vanaf 1200px */
    --container-pad: 15px;         /* 30px vanaf 640px, 40px vanaf 960px */
    --section-pad: 40px;           /* 70px vanaf 960px */
    --header-h: 88px;              /* 159px vanaf 1200px */
}
@media (min-width: 640px)  { :root { --container-pad: 30px; } }
@media (min-width: 960px)  { :root { --container-pad: 40px; --section-pad: 70px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; --header-h: 159px; } }

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

html {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    -webkit-text-size-adjust: 100%;
    background: #fff;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-y: scroll;
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { margin: 0; }
img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
strong { font-weight: bolder; }
p { margin: 0 0 20px; }
* + p { margin-top: 20px; }
h1, h3, h5 { margin: 0 0 20px; color: var(--color-heading); font-weight: 600; }

::selection { background: #e52620; color: #fff; text-shadow: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    box-sizing: content-box;
}

.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }

.skip-link {
    position: absolute;
    left: 10px;
    top: -100px;
    z-index: 1000;
    padding: 10px 15px;
    background: #fff;
    color: var(--color-heading);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}
.skip-link:focus { top: 10px; }

@media (min-width: 640px) { .hidden-s { display: none; } }

/* Buttons
   ========================================================================== */
.button {
    display: inline-block;
    margin: 0;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: 500px;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 42px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-appearance: none;
    transition: .2s ease-in-out;
    transition-property: color, background-color, border-color, box-shadow;
}
.button--small { padding: 0 15px; font-size: 13px; line-height: 32px; }
.button--default { background-color: var(--color-orange); color: #fff; border-color: rgba(229, 38, 32, 0); }
.button--default:hover { background-color: var(--color-orange-hover); color: #fff; border-color: transparent; }
.button--primary { background-color: var(--color-navy); color: #fff; }
.button--primary:hover { background-color: var(--color-navy-hover); color: #fff; }
.button:disabled { opacity: .6; cursor: default; }

.button__icon { display: none; }
@media (min-width: 1200px) {
    .header .button { display: inline-flex; align-items: center; justify-content: center; }
    .button__icon { display: block; margin-right: 5px; }
}

/* Header (sticky)
   ========================================================================== */
.header { position: sticky; top: 0; z-index: 980; }
.header__bar {
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;               /* mobiel: volle breedte (container-expand) */
}
.header__logo { display: block; line-height: 0; }
.header__logo img { width: 100px; height: 47px; }
@media (min-width: 1200px) {
    .header__inner { max-width: 1200px; }
    .header__logo img { width: 250px; height: 118px; }
}

#formulier { scroll-margin-top: var(--header-h); }

/* Hero
   ========================================================================== */
.hero {
    min-height: 80vh;
    padding: 70px 0;
    color: #fff;
    background-color: #5b8fc9;
    background-image: url(../images/hero-mobile-768.webp);
    background-image: image-set(url(../images/hero-mobile-768.webp) 1x, url(../images/hero-mobile-1403.webp) 2x);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.hero__title { color: #fff; font-size: 17px; line-height: 1.4; }
.hero__text { margin-top: 20px; text-shadow: 0 0 15px #002f6599; }
.hero__text p { margin: 0; }

@media (min-width: 640px) {
    .hero {
        min-height: 0;
        background-image: url(../images/hero-1920.webp);
        background-image: image-set(url(../images/hero-1920.webp) 1x, url(../images/hero-3500.webp) 2x);
    }
    .hero__title { font-size: 26px; line-height: 1.2; }
    .hero__text { font-size: 22px; line-height: 1.5; }
    /* Origineel: lege tweede kolom stapelt onder de tekst (+30px) tot 960px */
    .hero__content { padding-bottom: 30px; }
}
@media (min-width: 960px) {
    .hero { padding: 140px 0; }
}
@media (min-width: 1280px) {
    .hero {
        background-image: url(../images/hero-2560.webp);
        background-image: image-set(url(../images/hero-2560.webp) 1x, url(../images/hero-3500.webp) 2x);
    }
}
@media (min-width: 960px) {
    .hero__content { max-width: calc(600px - var(--gutter)); padding-bottom: 0; }
}

/* O firmie
   ========================================================================== */
.about__title {
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 35.7px;
    line-height: 1.2;
    text-align: center;
}
.about__title strong { font-weight: 800; }

/* Grid (ook gestapeld) zodat marges niet samenvallen, zoals de flex-kolommen van het origineel */
.about__grid { display: grid; }

.about__lead p { margin: 0; }
.about__lead { margin-top: 20px; }

.about__col + .about__col {
    position: relative;
    margin-top: 60px;
}
.about__col + .about__col::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    border-top: 1px solid var(--color-border);
}

.about__text { margin-bottom: 20px; font-size: 14px; line-height: 1.5; }
.about__text p:last-child { margin-bottom: 0; }

.dropcap > p:first-of-type::first-letter {
    display: block;
    float: left;
    margin: 0 10px -2px 0;
    font-size: 4.2em;
    line-height: 1;
    color: var(--color-heading);
}

.about__cta {
    margin: 40px 0 0;
    color: var(--color-primary);
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
}

@media (min-width: 640px) {
    .about__title, .about__cta { text-align: left; }
    .about__lead { margin: 0 0 20px; color: var(--color-heading); font-size: 20px; line-height: 1.5; font-weight: 600; }
}
@media (min-width: 960px) {
    .about__title { font-size: 42px; }
    .about__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: calc(var(--gutter) * 2);
    }
    .about__col + .about__col { margin-top: 0; }
    .about__col + .about__col::before {
        top: 0;
        bottom: 0;
        right: auto;
        left: calc(var(--gutter) * -1);
        border-top: 0;
        border-left: 1px solid var(--color-border);
    }
    .about__text { column-count: 2; column-gap: var(--gutter); }
}

/* Zalety
   ========================================================================== */
.features { background: linear-gradient(180deg, #b7def7 0%, #fff 65%); }

.features__grid { display: grid; row-gap: var(--gutter); }
@media (min-width: 960px) {
    .features__grid { grid-template-columns: repeat(4, 1fr); column-gap: var(--gutter); }
}

/* Ikona zajmuje 1/4 szerokości (siatka UIkit z odstępem 15px) */
.feature {
    display: grid;
    grid-template-columns: calc(25% - 11.25px) 1fr;
    column-gap: 15px;
    align-items: start;
}
.feature__icon { width: 80px; }
.feature__title { margin: 0; font-size: 17px; line-height: 1.4; }
.feature__text { margin-top: 20px; }
.feature__text p { margin: 0; }

/* Kontakt + formularz
   ========================================================================== */
.contact { display: grid; row-gap: var(--gutter); margin-top: calc(var(--gutter) * 2); }
@media (min-width: 960px) {
    .contact { grid-template-columns: calc(450px - var(--gutter)) 1fr; column-gap: var(--gutter); }
}

.contact__intro { text-align: center; }
.contact__title { color: var(--color-heading); font-size: 27.2px; line-height: 1.1; font-weight: 600; }
.contact__subtitle { margin-bottom: 20px; color: var(--color-primary); font-size: 22px; line-height: 1.4; font-weight: 600; }
.contact__text p { margin: 0; }
@media (min-width: 640px) { .contact__intro { text-align: left; } }
@media (min-width: 960px) { .contact__title { font-size: 32px; } }

.form { margin-top: 20px; }
.form__grid { display: grid; row-gap: 15px; }
@media (min-width: 960px) {
    .form__grid { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
}
.form__row { margin-top: 20px; }
.form__actions,
.form__message { text-align: center; }
@media (min-width: 640px) { .form__actions, .form__message { text-align: left; } }

.form__label { color: var(--color-label); font-size: 14px; font-weight: 500; }

.form__input {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-bottom: 1px solid rgba(0, 43, 95, .42);
    border-radius: 0;
    background: rgba(207, 213, 224, .38);
    color: rgba(0, 0, 0, .28);
    font: inherit;
    -webkit-appearance: none;
    transition: .2s ease-in-out;
    transition-property: color, background-color, border-color, box-shadow;
}
.form__input:focus {
    outline: 0;
    background-color: rgba(192, 199, 214, .38);
    color: var(--color-heading);
    border-color: transparent;
}
.form__input::placeholder { color: #999; }
.form__textarea {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    border: 1px solid rgba(0, 43, 95, .42);
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}
.form__input.is-invalid { border-color: var(--color-danger); }

.form__field-errors,
.form__message { color: var(--color-danger); font-size: 14px; line-height: 1.5; }
.form__field-errors:not(:empty) { margin-top: 5px; }
.form__message:not(:empty) { margin-top: 20px; }
.form__message.is-success { color: var(--color-heading); font-weight: 600; }

.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer
   ========================================================================== */
.footer { border-top: 8px solid var(--color-orange); }
.footer__section {
    position: relative;
    padding: var(--section-pad) 0;
    color: #fff;
    background-color: var(--color-footer);
    background-image: url(../images/footer-1024.webp);
    background-image: image-set(url(../images/footer-1024.webp) 1x, url(../images/footer-1920.webp) 2x);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
/* Achtergrond pas laden zodra de footer in beeld komt (zie main.js) */
.footer__section[data-lazy-bg] { background-image: none; }
@media (min-width: 1025px) {
    .footer__section {
        background-image: url(../images/footer-1920.webp);
        background-image: image-set(url(../images/footer-1920.webp) 1x, url(../images/footer-2560.webp) 2x);
    }
}
.footer__section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 41, 79, .67);
}
.footer__section > .container { position: relative; }

/* Origineel: twee lege kolommen stapelen onder 960px (+2 × 30px) */
.footer__col { padding-bottom: 60px; text-align: center; }
.footer__logo { line-height: 0; margin-bottom: 20px; }
.footer__logo img { height: 44px; }
.footer__address { margin-bottom: 20px; }
.footer__address p { margin: 0; }
@media (min-width: 640px) { .footer__col { text-align: left; } }
@media (min-width: 960px) {
    .footer__col { width: calc((100% + var(--gutter)) / 3 - var(--gutter)); padding-bottom: 0; }
}
