:root {
    --brand-dark: #2C3E50;
    --brand-dark-deep: #1B2631;
    --brand-blue: #3498DB;
    --brand-blue-dark: #2980B9;
    --brand-orange: #E67E22;
    --brand-orange-dark: #D35400;
    --brand-green: #27AE60;
    --brand-red: #E74C3C;
    --bg-light: #F4F7F9;
    --bg-white: #FFFFFF;
    --border-color: #DCE4EC;
    --text-muted: #5D6D7E;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background-color: var(--bg-light);
    color: var(--brand-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 3px solid var(--brand-blue);
    box-shadow: 0 2px 10px rgba(44, 62, 80, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--brand-dark);
}

.logo-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}

.logo-tekst {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-titel {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.logo-titel span {
    color: var(--brand-blue);
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mobile-menu-toggle {
    display: none;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    color: var(--brand-dark);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: var(--brand-dark);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: #EBF5FB;
    color: var(--brand-blue-dark);
}

.btn-contact-header {
    background-color: var(--brand-blue);
    color: var(--bg-white);
    border: 2px solid var(--brand-blue);
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.btn-contact-header:hover {
    background-color: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
}

/* Knoppen & formulieren */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.94rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-blauw {
    background-color: var(--brand-blue);
    color: var(--bg-white);
}

.btn-blauw:hover {
    background-color: var(--brand-blue-dark);
}

.form-veld {
    margin-bottom: 14px;
}

.form-veld label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--brand-dark);
}

.form-veld input,
.form-veld select,
.form-veld textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--brand-dark);
    background-color: var(--bg-white);
}

/* Footer met 3 kolommen */
.site-footer {
    background-color: var(--brand-dark);
    color: var(--bg-white);
    padding: 40px 20px 24px;
    margin-top: auto;
    border-top: 3px solid var(--brand-blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #85C1E9;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #ECF0F1;
    margin-bottom: 10px;
}

.footer-copy {
    font-size: 0.82rem;
    color: #BDC3C7;
}

.footer-col h5 {
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #85C1E9;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #85C1E9;
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: #BDC3C7;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #ECF0F1;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

/* Contact modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(27, 38, 49, 0.62);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-box {
    background: var(--bg-white);
    border-radius: 14px;
    max-width: 460px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.modal-kop {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.modal-sluit {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-succes {
    display: none;
    background: #EAFAF1;
    border: 1px solid #A9DFBF;
    color: #196F3D;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modal-succes.is-visible {
    display: block;
}

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

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 8px;
    }

    .main-nav.is-open {
        display: flex;
    }
}