/* === Base === */
/* Open Sans loaded via <link> in HTML head */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', sans-serif, serif;
    color: #6f5e33;
    line-height: 1.42857143;
    font-size: 14px;
    background-color: #f7f5f0;
    margin: 0;
    padding: 0;
    position: relative;
}
body::before {
    content: "";
    width: 100%;
    height: 400px;
    background-image: url('../images/background-menu.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
a { color: #dc1304; text-decoration: none; }
a:hover { color: #FE3D10; }
img { max-width: 100%; height: auto; border: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
    font-family: Georgia, serif;
    color: #565144;
    margin-top: 0;
    font-weight: 500;
}
h1 { font-size: 41px; }
h2 { font-size: 22px; }
h3 { font-size: 20px; }
p { margin: 0 0 15px; font-size: 16px; }

/* === Wrapper === */
#wrapper {
    padding-top: 8px;
    position: relative;
    z-index: 1;
}

/* === Header === */
header {
    margin: 15px auto 0;
    max-width: 1275px;
    position: relative;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}
#logo {
    display: inline-block;
    transition: width 0.5s ease;
}
#logo img { max-width: 300px; height: auto; }
.top-nav {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    text-transform: uppercase;
    float: right;
}
.top-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
}
.top-nav ul li { display: inline-block; }
.top-nav ul li a {
    background-color: rgba(50, 72, 90, 0.53);
    display: inline-block;
    color: #fff;
    padding: 15px 15px;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif, serif;
    transition: all ease 0.5s;
    font-weight: 400;
}
.top-nav ul li a:hover,
.top-nav ul li a.active {
    background-color: rgba(228, 228, 228, 0.29) !important;
    color: #fff;
}
.top-nav ul li.offerte-aanvraag { margin-left: 15px; }
.top-nav ul li.offerte-aanvraag a {
    border-radius: 3px;
    background-color: #dc1304;
    font-weight: 600;
}
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #fff; padding: 8px; }

/* === Hero Slider + Intro === */
#slider-home-top {
    max-width: 1275px;
    margin: 15px auto 0;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.25);
    display: flex;
    gap: 0;
}
.slider-col {
    flex: 0 0 58.33%;
    position: relative;
    overflow: hidden;
}
.slider-wrapper {
    position: relative;
    width: 100%;
}
.slider-wrapper .slide {
    display: none;
    width: 100%;
}
.slider-wrapper .slide.active {
    display: block;
}
.slider-wrapper .slide img {
    width: 100%;
    height: auto;
    display: block;
}
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}
.slider-nav a {
    pointer-events: auto;
    color: #fff;
    font-size: 30px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    text-decoration: none;
    padding: 10px;
}
.slider-nav a:hover { color: #fff; }
.intro-col {
    flex: 0 0 41.67%;
    padding: 30px !important;
}
.intro-col h1 {
    font-size: 41px;
    margin-bottom: 15px;
    color: #565144;
    font-family: Georgia, serif;
}
.intro-col p {
    font-size: 16px;
    color: #6f5e33;
}
.intro-buttons {
    margin-top: 15px;
}
.intro-buttons a {
    white-space: nowrap;
    margin-bottom: 15px;
    margin-right: 15px;
    display: inline-block;
}
.btn.btn-tertiary {
    background-color: #dc1304;
    border-color: #dc1304;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    display: inline-block;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    box-shadow: -1px 1px 5px #3a3a3a;
    transition: 0.2s ease all;
}
.btn.btn-tertiary:hover {
    background-color: #922015;
    color: #fff;
}

/* === Container === */
#container {
    margin: 30px auto 0;
    max-width: 1275px;
    font-size: 16px;
    padding: 0 15px;
}

/* === USP / Kernwaarden === */
.row-usp {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
}
.usp-grid {
    display: flex;
    gap: 30px;
}
.usp-item {
    flex: 1;
    text-align: center;
}
.usp-item .fa {
    font-size: 42px;
    color: #dc1304;
}
.usp-item h3 {
    font-size: 16px;
    text-transform: none;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    color: #565144;
}
.usp-item p {
    font-size: 14px;
    font-family: Georgia, serif;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

/* === Call to action (phone) === */
.call-to-action {
    text-align: center;
    margin-bottom: 30px;
    font-size: 34px;
    color: #dc1304;
}
.call-to-action a { color: #dc1304; }
.call-to-action .fa { margin-right: 10px; }

/* === Diensten grid === */
.diensten {
    display: flex;
    flex-flow: row wrap;
    margin: 0 -8px 15px;
}
.dienst-card {
    flex: 0 1 auto;
    width: calc(25% - 16px);
    margin: 0 8px 15px;
    padding: 0;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.25);
}
.dienst-card figure {
    padding: 0;
    margin: 0;
}
.dienst-card figure img {
    padding: 15px;
    width: 100%;
    height: auto;
}
.dienst-card h3 {
    padding: 0 15px;
    font-size: 20px;
}
.dienst-card p {
    padding: 0 15px 15px;
    font-size: 14px;
}

/* === About / grey block === */
.bkgr-grey {
    background-color: #e0dbcf;
    color: #676767;
    margin-bottom: 30px;
    padding: 30px;
}
.bkgr-grey h3 { color: #676767; }
.bkgr-grey p { color: #676767; }
.about-grid {
    display: flex;
    gap: 30px;
}
.about-col { flex: 1; }

/* === Certifications === */
.cert-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 15px 0 30px;
}

/* === Footer === */
footer {
    margin-top: 45px;
    text-align: left;
    background-image: url('../images/background-footer.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.25);
}
.footer-inner {
    max-width: 1275px;
    margin: 0 auto;
    padding: 30px 45px;
    color: #f3f3f3;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-left, .footer-right { flex: 1; }
.footer-right { text-align: right; }
.footer-right p { color: #f3f3f3; }
.call-out { margin-top: 8px; }
.call-out.larger { font-size: 30px; }
.call-out.large { font-size: 22px; }
.call-out a { color: #fff !important; }
.call-out .fa { margin-right: 10px; }
.footer-social {
    text-align: right;
    margin-top: 15px;
    justify-content: flex-end;
}
.footer-social img { width: 30px; height: 30px; display: inline-block; }

/* ================================================
   SUBPAGE STYLES
   ================================================ */

/* === Page Header (subpages) === */
.page-header {
    max-width: 1275px;
    margin: 15px auto 0;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.25);
}
.page-header img {
    width: 100%;
    height: auto;
    display: block;
}
.page-header h1 {
    display: none;
}
/* no overlay needed */
.page-header h1 {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 34px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    font-family: Georgia, serif;
    text-align: center;
}

/* === Sections (subpages) === */
section {
    padding: 30px 0;
    position: relative;
    z-index: 1;
}
.section-title {
    text-align: center;
    font-size: 20px;
    color: #565144;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    width: 100%;
    font-family: Georgia, serif;
}
.section-title::after,
.section-title::before {
    content: '';
    position: absolute;
    height: 6px;
    border-bottom: 1px solid #E6E1E1;
    top: 4px;
    width: 200px;
}
.section-title::before { right: calc(50% + 120px); }
.section-title::after { left: calc(50% + 120px); }

/* === Content sections === */
.content-section { max-width: 800px; margin: 0 auto; }
.content-section h2 { color: #565144; margin-bottom: 16px; font-size: 22px; font-family: Georgia, serif; }
.content-section p { margin-bottom: 16px; color: #6f5e33; }
.content-section ul { margin: 0 0 16px; padding: 0; list-style: none; }
.content-section ul li {
    margin-bottom: 10px;
    color: #6f5e33;
    position: relative;
    padding-left: 30px;
}
.content-section ul li::before {
    content: "";
    background-image: url('../images/icon-checked.png');
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
}

/* === Sidebar nav for diensten === */
.diensten-layout {
    display: flex;
    gap: 5px;
    max-width: 1275px;
    margin: 0 auto;
}
.diensten-sidebar { flex: 0 0 270px; padding-right: 5px; }
.diensten-sidebar ul {
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.25);
    margin: 0;
    padding: 0;
}
.diensten-sidebar a {
    display: block;
    padding: 9px 15px;
    color: #dc1304;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif, serif;
    border-bottom: 1px solid #E2E0DD;
    transition: 0.2s ease all;
    font-weight: 400;
}
.diensten-sidebar a:hover,
.diensten-sidebar a.active {
    font-weight: 700;
    color: #dc1304;
}
.diensten-main { flex: 1; padding: 0 15px; }
.usp-list { list-style: none; margin: 0; padding: 0; }
.usp-list li { position: relative; padding-left: 10px; margin-bottom: 10px; color: #fff; }
.usp-list li .fa { margin-right: 8px; color: #8bc34a; }
.diensten-right { flex: 0 0 220px; padding-left: 5px; }
.diensten-right .blog {
    margin-bottom: 30px;
    font-size: 13px;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.25);
}
.diensten-right .blog p {
    padding: 15px;
    margin-bottom: 0;
    font-size: 13px;
}
.diensten-right .blog h3 {
    font-size: 16px;
    color: #565144;
    padding: 15px;
    margin: 0;
    text-transform: uppercase;
    padding-bottom: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}
.diensten-right .blog h3 .fa {
    margin-right: 7px;
    font-size: 22px;
    vertical-align: top;
    margin-top: -2px;
}

/* === Values Grid (subpages) === */
.values-grid {
    display: flex;
    gap: 30px;
    text-align: center;
}
.value-card { flex: 1; text-align: center; padding: 15px; }
.value-icon {
    font-size: 42px;
    color: #dc1304;
    margin-bottom: 10px;
}
.value-card h3 {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    color: #565144;
}
.value-card p { font-size: 14px; font-family: Georgia, serif; }

/* === Team === */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 60px;
    font-size: 14px;
}
.team-card {
    display: flex;
    gap: 15px;
    text-align: left;
}
.team-card figure {
    margin: 0;
    padding: 15px 15px 15px 0;
}
.team-card figure img {
    max-width: 160px;
}
.team-card h3 {
    padding-top: 15px;
    color: #dc1304;
    display: inline-block;
}
.team-card p { font-size: 14px; color: #6f5e33; }

/* === Contact === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.contact-info-card {
    background: #fff;
    padding: 30px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.25);
}
.contact-info-card h3 { color: #565144; margin-bottom: 16px; }
.contact-info-card p { margin-bottom: 10px; }
.contact-info-card a { color: #dc1304; font-weight: 500; }
.form-group { margin-bottom: 7px; }
.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: #201f1e;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}
.form-group input, .form-group textarea {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    line-height: 1.42857143;
    color: #555;
    background-color: #f5f5f5;
    border: 1px solid #fff;
    border-radius: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    transition: border-color ease-in-out 0.15s;
    font-size: 18px;
    margin-bottom: 7px;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #dc1304;
}
.form-group textarea { height: 200px; resize: vertical; }
input[type=submit], button[type=submit] {
    background-color: #dc1304;
    display: inline-block;
    color: #fff;
    border-radius: 4px;
    min-width: 150px;
    transition: 0.2s ease all;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
}
input[type=submit]:hover, button[type=submit]:hover {
    background-color: #FE3D10;
}

/* === CTA section (subpages) === */
.cta-section {
    background-color: #dc1304;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}
.cta-section h2 { margin-bottom: 16px; font-size: 22px; color: #fff; }
.cta-section p { margin-bottom: 24px; opacity: 0.9; color: #fff; }
.cta-section .btn.btn-tertiary {
    background: #fff;
    color: #dc1304;
}
.cta-section .btn.btn-tertiary:hover {
    background: #f5f5f5;
}

/* === Subpage footer (reused) === */
.footer-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-grid > div { flex: 1; }
footer h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
}
footer p, footer li { color: #f3f3f3; font-size: 14px; }
footer a { color: #f3f3f3; }
footer a:hover { color: #fff; }
footer ul li { margin-bottom: 6px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #f3f3f3;
}

/* === Responsive === */
@media (max-width: 992px) {
    .nav-toggle { display: block; }
    .top-nav ul {
        display: none;
        position: absolute;
        right: 0;
        top: 45px;
        flex-direction: column;
        z-index: 9999;
        text-align: left;
    }
    .top-nav ul.open { display: flex; }
    .top-nav ul li { display: block; }
    .top-nav ul li a { display: block; min-width: 250px; padding: 15px; }
    #logo img { width: 80%; }
    #slider-home-top { flex-direction: column; }
    .slider-col, .intro-col { flex: 0 0 100%; }
    .intro-col h1 { font-size: 24px; }
    .dienst-card { width: calc(50% - 16px); }
    h1 { font-size: 24px; }
    .page-header { height: 200px; }
    .page-header h1 { font-size: 24px; }
}
@media (max-width: 768px) {
    .usp-grid { flex-direction: column; }
    .dienst-card { width: calc(100% - 16px); }
    .about-grid { flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { flex-direction: column; }
    .footer-row { flex-direction: column; text-align: center; }
    .footer-right { text-align: center; }
    .footer-social { justify-content: center; }
    .diensten-layout { flex-direction: column; }
    .diensten-sidebar { order: -1; }
    .values-grid { flex-direction: column; }
    .team-grid { flex-direction: column; }
    .team-card { flex-direction: column; }
    .section-title::after, .section-title::before { display: none; }
}
