:root {
    color-scheme: light;
    font-family: Arial, sans-serif;
    color: #1f2937;
    background: #f8fafc;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: 1.6;
}

a {
    color: #7f1d1d;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -5rem;
    left: 1rem;
    z-index: 1;
    padding: .75rem 1rem;
    color: #fff;
    background: #1f2937;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    color: #fff;
    background: #a51d16;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: .75rem 1.25rem;
}

.brand img {
    display: block;
    width: 150px;
    height: 95px;
    object-fit: contain;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .25rem .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a,
.phone-link {
    display: inline-block;
    padding: .5rem;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.home-page main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem 3rem;
}

.home-page section {
    margin: 1rem 0;
    padding: clamp(1.25rem, 4vw, 3rem);
    background: #fff;
    border-radius: .5rem;
}

.home-page h1,
.home-page h2,
.home-page h3 {
    line-height: 1.25;
}

.home-page h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

.home-page h2 {
    margin-top: 0;
}

.service-list,
.benefit-list {
    padding-left: 1.5rem;
}

.service-list li,
.benefit-list li {
    margin: .5rem 0;
}

.service-list li::marker,
.benefit-list li::marker {
    color: #176b36;
    font-weight: 700;
}

.welcome-image {
    display: block;
    width: min(100%, 325px);
    height: auto;
    margin: 1.5rem auto 0;
}

.site-footer {
    padding: 1.5rem;
    color: #fff;
    background: #7f1d1d;
    text-align: center;
}

.site-footer p {
    margin: .25rem 0;
}

.site-footer a {
    color: #fff;
}

#statistics-privacy .statistics-consent {
    position: fixed;
    z-index: 1000;
    right: 1rem;
    bottom: 1rem;
    width: min(440px, calc(100vw - 2rem));
    padding: 1.25rem;
    border: 1px solid #6b7280;
    border-radius: .75rem;
    color: #1f2937;
    background: #fff;
    box-shadow: 0 8px 32px rgb(0 0 0 / 22%);
}

#statistics-privacy .statistics-consent h2 {
    margin: 0 0 .5rem;
    font-size: 1.2rem;
}

#statistics-privacy .statistics-consent p {
    margin: 0 0 .75rem;
}

#statistics-privacy .statistics-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

#statistics-privacy button {
    min-height: 44px;
    padding: .5rem .9rem;
    border: 2px solid #333;
    border-radius: .35rem;
    color: #1f2937;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

#statistics-privacy button:hover {
    background: #f3f4f6;
}

#statistics-privacy button:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: 3px;
}

#statistics-privacy .statistics-preferences {
    position: fixed;
    z-index: 999;
    right: 1rem;
    bottom: 1rem;
    box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
}

#statistics-privacy .statistics-consent-status {
    margin-top: .5rem;
    color: #8b1e1e;
}

#statistics-privacy [hidden] {
    display: none !important;
}

.legacy-page {
    font-family: Verdana, sans-serif;
    font-size: 18px;
    color: #111;
}

.legacy-page #content {
    margin-top: 20px;
}

.legacy-page [class*="col-"] {
    width: 100%;
}

.legacy-page .header {
    width: 100%;
    height: 110px;
    background: #a51d16;
}

.legacy-page .legacy-logo {
    float: left;
    width: 150px;
    height: 95px;
    margin: 5px 0 0 10px;
}

.legacy-page .header ul {
    margin: 0;
    padding: 0;
}

.legacy-page .header li {
    display: inline-block;
    width: 130px;
    min-height: 22px;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}

.legacy-page .header li a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.legacy-page #een,
.legacy-page #twee,
.legacy-page #drie,
.legacy-page #vier,
.legacy-page .div {
    height: auto;
    background: whitesmoke;
}

.legacy-page #drie,
.legacy-page #vier {
    clear: both;
}

.legacy-page #een {
    min-height: 300px;
}

.legacy-page .legacy-image-right {
    float: right;
}

.legacy-page .groen-vinkje {
    display: flex;
    margin-right: 8px;
    color: #176b36;
    font-size: 1em;
    font-weight: 700;
    vertical-align: middle;
}

.legacy-page .groen-vinkje h3 {
    display: inline-block;
    vertical-align: middle;
}

.legacy-page footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1rem;
    width: 100%;
    margin-top: auto;
    padding: 20px;
    color: #fff;
    background: #7f1d1d;
    text-align: center;
}

.legacy-page footer p {
    margin: 5px 0;
}

.legacy-page footer a {
    color: #fff;
}

.legacy-page footer a:hover {
    text-decoration: underline;
}

.page-contact #een {
    margin-left: 30%;
}

.page-contact input[type="text"],
.page-contact input[type="email"],
.page-contact textarea,
.page-contact select,
.page-contact button {
    display: block;
    width: min(400px, 100%);
    margin: 15px 0;
    border: 1px solid #767676;
    border-radius: 4px;
    box-shadow: inset 2px 2px 5px #aaa;
    font: inherit;
}

.page-contact input[type="text"],
.page-contact input[type="email"],
.page-contact select,
.page-contact button {
    min-height: 44px;
    padding: .5rem;
}

.page-contact textarea {
    min-height: 100px;
    padding: 5px 4px;
}

.page-contact button {
    cursor: pointer;
}

.page-contact button:active {
    color: #fff;
    background: #555;
}

.page-infra #twee img {
    margin: 100px 50px 0 0;
}

.page-infra #drie img {
    margin: 10px 50px 0 0;
}

.page-overige #twee img,
.page-toezichthouder #twee img {
    margin: 200px 20px 0 30px;
}

@media (min-width: 768px) {
    .legacy-page [class*="col-"] {
        float: left;
        padding: 15px;
    }

    .legacy-page .col-1 { width: 8.33%; }
    .legacy-page .col-2 { width: 16.66%; }
    .legacy-page .col-3 { width: 25%; }
    .legacy-page .col-4 { width: 33.33%; }
    .legacy-page .col-5 { width: 41.66%; }
    .legacy-page .col-6 { width: 50%; }
    .legacy-page .col-7 { width: 58.33%; }
    .legacy-page .col-8 { width: 66.66%; }
    .legacy-page .col-9 { width: 75%; }
    .legacy-page .col-10 { width: 83.33%; }
    .legacy-page .col-11 { width: 91.66%; }
    .legacy-page .col-12 { width: 100%; }
}

@media (max-width: 760px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav ul {
        justify-content: flex-start;
    }

    .home-page main {
        padding-inline: .75rem;
    }

    .page-contact #een {
        margin-left: 0;
    }

    .legacy-page .header {
        height: auto;
        min-height: 110px;
    }

    .legacy-page .header li {
        width: auto;
    }

    .legacy-page .legacy-image-right {
        float: none;
        display: block;
        max-width: 100%;
        height: auto;
        margin: 1rem auto !important;
    }
}
