/*
 * ============================================================
 * DTO PORTAAL
 * Bestand: style.css
 * Versie: 0.4.5
 * Datum: 06/09/2026
 *
 * Omschrijving:
 * Centrale stylesheet voor het DTO Portaal.
 *
 * Versiehistoriek:
 * 0.1.0 - Eerste basisversie
 * 0.2.0 - Nieuwe visuele basisstijl
 * 0.3.0 - Paginakoppen en breadcrumbs toegevoegd
 * 0.4.0 - Navigatie op één regel gehouden
 * 0.4.1 - Paginakoppen en beheertabellen gecentreerd en breder weergegeven
 * 0.4.4 - Algemene verticale tussenruimte compacter gemaakt
 * 0.4.5 - Paginakoppen en sectie-overgangen verder verkleind
 * ============================================================
 */


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: #1d2b36;
    background: #ffffff;

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid #e5ebef;
}

.header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {
    line-height: 1.15;
}

.logo-main {
    color: #173f5f;

    font-size: 25px;
    font-weight: 800;

    letter-spacing: -0.6px;
}

.logo-sub {
    margin-top: 4px;

    color: #7b8993;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.8px;
    text-transform: uppercase;
}


/* NAVIGATIE */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;

    gap: 24px;

    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.main-nav a {
    white-space: nowrap;
}

.main-nav a {
    position: relative;

    color: #465762;

    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #1769aa;
}

.main-nav a:not(.nav-login)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #1769aa;

    transition: width 0.2s ease;
}

.main-nav a:not(.nav-login):hover::after {
    width: 100%;
}


/* LOGIN */

.nav-login {
    padding: 10px 19px;

    border-radius: 7px;

    background: #1769aa;

    color: #ffffff !important;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.nav-login:hover {
    background: #125989;

    transform: translateY(-1px);
}


/* ============================================================
   HOMEPAGE HERO
   ============================================================ */

.hero {
    position: relative;

    overflow: hidden;

    padding: 82px 0 88px;

    background:
        linear-gradient(
            120deg,
            #edf7fc 0%,
            #f7fbfd 48%,
            #ffffff 100%
        );
}

.hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -220px;
    top: -220px;

    border-radius: 50%;

    background: rgba(23, 105, 170, 0.045);
}

.hero-content {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(300px, 0.75fr);

    align-items: center;

    gap: 80px;
}


/* HERO TEKST */

.eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    color: #1769aa;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 24px;

    color: #173447;

    font-size: clamp(44px, 5.5vw, 68px);
    font-weight: 800;

    line-height: 1.04;

    letter-spacing: -2.5px;
}

.hero p {
    max-width: 650px;

    margin: 0 0 32px;

    color: #5d6c76;

    font-size: 18px;

    line-height: 1.7;
}


/* HERO KNOPPEN */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.button {
    display: inline-block;

    padding: 13px 22px;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button-primary {
    background: #1769aa;

    color: #ffffff;

    box-shadow:
        0 7px 18px rgba(23, 105, 170, 0.18);
}

.button-primary:hover {
    background: #125989;

    transform: translateY(-2px);

    box-shadow:
        0 10px 22px rgba(23, 105, 170, 0.23);
}

.button-secondary {
    background: #ffffff;

    border: 1px solid #d1dbe1;

    color: #40515c;
}

.button-secondary:hover {
    border-color: #1769aa;

    color: #1769aa;

    transform: translateY(-1px);
}


/* HERO KAART */

.hero-card {
    position: relative;

    padding: 52px 38px;

    background: #ffffff;

    border: 1px solid #e5ebef;

    border-radius: 16px;

    text-align: center;

    box-shadow:
        0 22px 55px rgba(25, 55, 75, 0.10);
}

.hero-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    border-radius: 16px 16px 0 0;

    background: #1769aa;
}

.balloon-icon {
    margin-bottom: 15px;

    font-size: 76px;

    line-height: 1;
}

.hero-card h2 {
    margin: 0 0 9px;

    color: #173447;

    font-size: 25px;
}

.hero-card p {
    max-width: 280px;

    margin: 0 auto;

    color: #6a7882;

    font-size: 15px;

    line-height: 1.6;
}


/* ============================================================
   PAGINA HEADER
   ============================================================ */

.page-header {
    position: relative;
    isolation: isolate;

    padding: 32px 0 34px;

    background: transparent;

    border-bottom: 0;
}

.page-header::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background: #eef7fc;

    border-bottom: 1px solid #e1ebf1;
}

.page-header h1 {
    margin: 8px 0 14px;

    color: #173447;

    font-size: clamp(40px, 5vw, 58px);
    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -1.8px;
}

.page-header p {
    max-width: 650px;

    margin: 0;

    color: #5d6c76;

    font-size: 17px;

    line-height: 1.7;
}


/* BREADCRUMB */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 25px;

    color: #71808a;

    font-size: 13px;
}

.breadcrumb a {
    color: #1769aa;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb strong {
    color: #4c5b65;
}


/* ============================================================
   SECTIES
   ============================================================ */

.section {
    padding: 46px 0;
}

.section-light {
    background: #f7f9fa;
}

.section-heading {
    max-width: 720px;

    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0 0 13px;

    color: #173447;

    font-size: 38px;
    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -1px;
}

.section-heading p {
    margin: 0;

    color: #687781;

    font-size: 16px;
}


/* ============================================================
   OPLEIDING - STAPPEN
   ============================================================ */

.steps {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.step-card {
    position: relative;

    min-height: 220px;

    padding: 30px;

    background: #ffffff;

    border: 1px solid #e3e9ed;

    border-radius: 12px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 32px rgba(25, 55, 75, 0.08);
}

.step-number {
    margin-bottom: 22px;

    color: #1769aa;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;
}

.step-card h3 {
    margin: 0 0 11px;

    color: #203846;

    font-size: 21px;
}

.step-card p {
    margin: 0;

    color: #687781;

    font-size: 14px;

    line-height: 1.7;
}


/* ============================================================
   INFORMATIEKAARTEN
   ============================================================ */

.info-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.info-card {
    display: block;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e1e7eb;

    border-radius: 12px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.info-card:hover {
    transform: translateY(-4px);

    border-color: #d2dfe7;

    box-shadow:
        0 14px 34px rgba(25, 55, 75, 0.08);
}

.info-icon {
    display: block;

    margin-bottom: 16px;

    font-size: 29px;

    line-height: 1;
}

.info-card h3 {
    margin: 0 0 9px;

    color: #203846;

    font-size: 21px;
}

.info-card p {
    margin: 0 0 20px;

    color: #687781;

    font-size: 14px;

    line-height: 1.7;
}

.card-link {
    color: #1769aa;

    font-size: 14px;
    font-weight: 700;
}

/* ============================================================
   BEHEER - TABELLEN
   ============================================================ */

.content-section {
    margin-bottom: 28px;
}

.content-section table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.content-section th,
.content-section td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.content-section th {
    color: #40515c;
    font-size: 13px;
    font-weight: 700;
    background: #f7f9fa;
    border-bottom: 1px solid #dfe7ec;
}

.content-section td {
    color: #4f606b;
    font-size: 14px;
    border-bottom: 1px solid #e5ebef;
}

.content-section tbody tr:last-child td {
    border-bottom: 0;
}



/* ============================================================
   CTA
   ============================================================ */

.cta-section {
    padding: 56px 0;

    background: #173447;

    color: #ffffff;
}

.cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.cta-section .eyebrow {
    margin-bottom: 10px;

    color: #91c9e8;
}

.cta-section h2 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: 34px;
    font-weight: 800;

    line-height: 1.2;
}

.cta-section p {
    margin: 0;

    color: #c4d2da;

    font-size: 16px;
}

.button-large {
    padding: 15px 25px;

    white-space: nowrap;
}


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

.site-footer {
    background: #101d26;

    color: #ffffff;
}

.footer-inner {
    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    gap: 45px;

    padding: 38px 0;
}

.footer-inner strong {
    color: #ffffff;

    font-size: 15px;
}

.footer-inner p {
    margin: 8px 0 0;

    color: #a9b8c1;

    font-size: 14px;

    line-height: 1.7;
}

.footer-bottom {
    padding: 15px 20px;

    border-top: 1px solid #293741;

    color: #7f909b;

    font-size: 12px;

    text-align: center;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) and (min-width: 901px) {
    .main-nav {
        gap: 16px;
        font-size: 13px;
    }

    .nav-login {
        padding-left: 15px;
        padding-right: 15px;
    }
}


@media (max-width: 900px) {

    .main-nav {
        gap: 18px;
    }

    .hero {
        padding: 65px 0 72px;
    }

    .hero-content {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-card {
        max-width: 420px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* ============================================================
   MOBIEL
   ============================================================ */


/* ============================================================
   INTAKE - VELDVERDELING
   ============================================================ */

.intake-field-street {
    grid-column: span 1 !important;
}

.intake-field-house {
    grid-column: span 1 !important;
    max-width: 180px;
}

.intake-field-postal {
    grid-column: span 1 !important;
    max-width: 180px;
}

.intake-field-city {
    grid-column: span 1 !important;
}

/* ============================================================
   INTAKE - BEVESTIGING
   ============================================================ */

.intake-success-banner {
    position: relative;
    isolation: isolate;

    margin: 0;
    padding: 34px 0 40px;

    background: transparent;
}

.intake-success-banner::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background: #eef7fc;
    border-top: 1px solid #e1ebf1;
    border-bottom: 1px solid #e1ebf1;
}

.intake-success-inner {
    width: 100%;
}

.intake-success-inner h2 {
    margin: 0 0 8px;
    color: #173447;
}

.intake-success-inner p {
    margin: 0;
    color: #5d6c76;
    font-size: 16px;
}

@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 70px;
    }

    .main-nav {
        display: none;
    }

    .hero {
        padding: 52px 0 58px;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -1.8px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        text-align: center;
    }

    .hero-card {
        padding: 42px 28px;
    }

    .page-header {
        padding: 30px 0 36px;
    }

    .page-header h1 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .page-header p {
        font-size: 16px;
    }

    .breadcrumb {
        margin-bottom: 16px;

        font-size: 12px;
    }

    .section {
        padding: 44px 0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-height: auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 48px 0;
    }

    .cta-section h2 {
        font-size: 29px;
    }

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 25px;

        padding: 32px 0;
    }

}

/* ============================================================
   INTAKE AANVRAAG
   ============================================================ */

.intake-form {
    margin-top: 26px;
}

.intake-section {
    margin-bottom: 28px;
}

.intake-section h2 {
    margin-bottom: 6px;
}

.intake-section-intro {
    margin: 0 0 26px;
    color: #687781;
    font-size: 15px;
}

.intake-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px 24px;
}

.intake-field {
    min-width: 0;
}

.intake-field-wide {
    grid-column: span 2;
}

.intake-field-full {
    grid-column: 1 / -1;
}

.intake-field label {
    display: block;
    margin-bottom: 7px;
    color: #40515c;
    font-size: 14px;
    font-weight: 700;
}

.intake-field input,
.intake-field textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5e0e6;
    border-radius: 7px;
    background: #ffffff;
    color: #1d2b36;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.intake-field textarea {
    min-height: 100px;
    resize: vertical;
}

.intake-field input:focus,
.intake-field textarea:focus {
    outline: none;
    border-color: #1769aa;
    box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.10);
}

.intake-form button[type="submit"] {
    display: inline-block;
    padding: 13px 24px;
    border: 0;
    border-radius: 7px;
    background: #1769aa;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.intake-form button[type="submit"]:hover {
    background: #125989;
    transform: translateY(-1px);
}


/* ============================================================
   INTAKE - VELDVERDELING
   ============================================================ */

.intake-field-street {
    grid-column: span 1 !important;
}

.intake-field-house {
    grid-column: span 1 !important;
    max-width: 180px;
}

.intake-field-postal {
    grid-column: span 1 !important;
    max-width: 180px;
}

.intake-field-city {
    grid-column: span 1 !important;
}

/* ============================================================
   INTAKE - BEVESTIGING
   ============================================================ */

.intake-success-banner {
    position: relative;
    isolation: isolate;

    margin: 0;
    padding: 30px 0 36px;

    background: transparent;
}

.intake-success-banner::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background: #eef7fc;
    border-top: 1px solid #e1ebf1;
    border-bottom: 1px solid #e1ebf1;
}

.intake-success-inner {
    width: 100%;
}

.intake-success-inner h2 {
    margin: 0 0 8px;
    color: #173447;
}

.intake-success-inner p {
    margin: 0;
    color: #5d6c76;
    font-size: 16px;
}

@media (max-width: 650px) {
    .intake-grid {
        grid-template-columns: 1fr;
    }

    .intake-field-wide,
    .intake-field-full,
    .intake-field-street,
    .intake-field-house,
    .intake-field-postal,
    .intake-field-city {
        grid-column: auto;
        max-width: none;
    }

    .intake-form {
        margin-top: 25px;
    }

    .intake-success-banner {
        padding: 30px 0 36px;
    }
}