.cf7-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.cf7-col {
    flex: 1;
    min-width: 200px;
}

.wpcf7 textarea {
    width: 100% !important;
    max-width: 100%;
}

.contact-titels {
    font-size: 50px;
    font-weight: 400;
    line-height: 60px;
    font-family: 'Josefin Sans', sans-serif;
}

.h3-titel-groot-form {
    display: none;
}

.form-row.two-cols {
    display: block;
    margin-bottom: 1.5rem;
}

.form-col {
    display: inline-block;
    width: calc(50% - 10px);
    vertical-align: top;
    margin-right: 20px;
}

.form-col:last-child {
    margin-right: 0;
}

.contact-blok {
    padding: 160px 0;
    color: #fff;
}

.contact-container {
    padding: 0 35px;
    display: flex;
    gap: 180px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact-afbeelding img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.contact-form {
    flex: 1;
    min-width: 320px;
}

.contact-title-1 {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: #fff;
}

.contact-title-2 {
    font-size: 1.8rem;
    margin-top: 0.3rem;
    color: #fff;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row.two-cols {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
}

.form-row.two-cols > * {
    min-width: 0;
}

.form-input,
.form-textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    color: #ffffff !important;
    opacity: 1 !important;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ffffff;
	border-radius: 0;
    padding: 22px 0;
    width: 100%;
    font-size: 18px;
	font-weight: 400;
    font-family: 'Josefin Sans', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    border-color: #b2d3b2 !important;
    color: #ffffff !important;
    outline: none;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

.form-textarea {
    height: 80px;
    min-height: 80px;
    max-height: 200px; 
    resize: vertical; 
    line-height: 1.5;
    padding: 12px 0;
}


/* --- CHECKBOX --- */
.cf7-row.checkbox-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-wrapper {
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: #ccc;
    font-size: 0.9rem;
    flex-wrap: nowrap;
}

.checkbox-wrapper .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap; /* Voorkom wrapping */
}

.checkbox-wrapper .wpcf7-list-item-label {
    white-space: nowrap; /* Voorkom wrapping van de label tekst */
}

.checkbox-wrapper .wpcf7-not-valid-tip {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 2px;
    white-space: nowrap;
    font-size: 0.8rem;
    color: #ff6b6b;
}

@media (max-width: 390px) {
    .checkbox-wrapper {
        gap: 0.2rem;
        font-size: 0.690rem;
    }
}

.checkbox-wrapper input[type="checkbox"] {
    accent-color: #b2d3b2;
    margin: 0;
}

.checkbox-wrapper a {
    color: #4D6D48;
    text-decoration: none;
}

@media (max-width: 600px) {
    .cf7-row.checkbox-submit-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }
}


.form-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.submit-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn.btn-submit {
    width: 215px;
    height: 54px;
    background-color: #4D6D48;
    border: none;
    border-radius: 100px;
    padding: 0 2rem;
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Josefin Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn.btn-submit .btn-arrow {
    display: block;
    padding: 1px;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    transform: rotate(-45deg);
    transform-origin: 50% 50%;
    transition: transform 0.55s cubic-bezier(.2,.9,.3,1);
    color: #ffffff;
}

.btn.btn-submit:hover .btn-arrow,
.btn.btn-submit:focus .btn-arrow {
    transform: rotate(0deg);
}

.btn.btn-submit .btn-arrow.dikker {
    transform: rotate(-45deg) scale(1.15);
}

.btn.btn-submit:hover .btn-arrow.dikker {
    transform: rotate(0deg) scale(1.2);
}

.btn.btn-submit:hover {
    background-color: transparent;
    border: 2px solid #fff;
}

@media (max-width: 1341px) {
    .contact-container {
        gap: 60px;
    }
}


@media (max-width: 1191px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: start;
    }

    .contact-afbeelding {
        order: -1;
    }

    .form-row.two-cols {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    .contact-form {
        width: 100%;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 599px) {
    .contact-titels {
        font-size: 45px;
    }

    .bold {
        font-size: 45px !important;
    }
}

@media (max-width: 470px) {
    .contact-titels {
        font-size: 36px;
    }

    .bold {
        font-size: 36px !important;
    }
}


@media (max-width: 399px) {
    .contact-titels {
        font-size: 28px;
        line-height: 45px;
		text-align: start;
    }

    .bold {
        font-size: 28px !important;
    }
}

@media (max-width: 399px) {
    .contact-container {
        max-width: 100%;
        gap: 15px;
        text-align: center;
    }

    .contact-afbeelding img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 15px;
    }

    .contact-form {
        width: 100%;
    }
}


@media (max-width: 499px) {
    /* Formulier velden smaller maken */
    .contact-form .wpcf7 input[type="text"],
    .contact-form .wpcf7 input[type="tel"],
    .contact-form .wpcf7 input[type="email"],
    .contact-form .wpcf7 textarea {
        width: 100% !important;
        margin: 0 auto;
        display: block;
    }

    .contact-form .form-row,
    .contact-form .form-row.two-cols {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn.btn-submit {
        width: 180px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 399px) {
    .contact-blok {
        padding: 160px 0;
    }

    .contact-form {
        min-width: 0;
    }
}

.groen {
    color: #4D6D48;
}

.bold {
    font-size: 50px;
    font-weight: 700;
    font-family: 'Josefin Sans', sans-serif;
}


/*Tarieven en aanbod pagina achtergrond logo*/
.page-id-21 .contact-blok,
.page-id-391 .contact-blok,
.page-id-626 .contact-blok {
    position: relative;
    padding: 160px 20px 160px 20px;
    color: #fff;
    max-width: 1400px;
    margin: 0 auto;
}

.page-id-626 .contact-blok {
    padding: 60px 20px 160px 20px !important;
}

.page-id-21 .contact-blok::before,
.page-id-391 .contact-blok::before,
.page-id-626 .contact-blok::before {
    content: "";
    position: absolute;
    top: 86%;
    left: 104%;
    transform: translate(-40%, -50%) rotate(16deg);
    width: 1000px;
    height: 1000px;
    background-image: url('/wp-content/uploads/2025/10/cropped-4ef3a4d48633272748c803a0fe0a6a5fcbbb64a3.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    pointer-events: none; 
    z-index: -1;
    filter: blur(7px);
}



/*Contact pagina*/
.page-id-24 .contact-blok {
    position: relative;
    padding: 160px 35px;
}

.page-id-24 .contact-container {
    padding: 0;
    max-width: 1200px;
}

.page-id-24 .contact-blok::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 1200px;
    background-image: url('/wp-content/uploads/2025/11/kwaliteit-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none; 
    z-index: -1;
}

.page-id-24 .h3-titel-groot-form {
    display: flex;
    font-size: 50px;
    font-weight: 400;
    line-height: 100%;
    font-family: 'Josefin Sans', sans-serif;
    padding-bottom: 60px;
}

.page-id-24 .contact-titels {
    display: none;
}

.page-id-24 .form-input {
    background-color: #fff !important;
    border: 1px solid #b3b3b3 !important;
    border-radius: 10px !important;
    height: 65px;
}

.page-id-24 .wpcf7 textarea {
    background-color: #fff !important;
    border: 1px solid #ffffff !important;
    border-radius: 10px !important;
    padding: 0;
    height: 300px;
    max-height: 400px;
}

.page-id-24 .wpcf7 input,
.page-id-24 .wpcf7 textarea {
    color: #000 !important;
    padding: 22px;
}

.page-id-24 .wpcf7 input:focus,
.page-id-24 .wpcf7 textarea:focus {
    color: #000 !important;
    background-color: #fff !important;
}

.page-id-24 .wpcf7 input::placeholder,
.page-id-24 .wpcf7 textarea::placeholder {
    color: #000000 !important;
    opacity: 1 !important;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Josefin Sans', sans-serif;
}

.page-id-24 .checkbox-wrapper {
    display: none;
}

.page-id-24 .cf7-row.checkbox-submit-row {
    justify-content: end;
}

.page-id-24 .cf7-col {
    min-width: 0px;
}


@media (min-width: 500px) {
	.page-id-24 .wpcf7-not-valid-tip {
		margin-top: -10px;
	}
}

@media (max-width: 499px) {
    /* Formulier velden smaller maken */
    .page-id-24 .contact-form .wpcf7 input[type="text"],
    .page-id-24 .contact-form .wpcf7 input[type="tel"],
    .page-id-24 .contact-form .wpcf7 input[type="email"],
    .page-id-24 .contact-form .wpcf7 textarea {
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-id-24 .h3-titel-groot-form {
        text-align: start;
		font-size: 32px;
		padding-bottom: 40px;
    }

    /* Forceer alle velden onder elkaar */
    .page-id-24 .cf7-row {
        flex-direction: column;
        gap: 15px;
    }

    .page-id-24 .cf7-col {
        width: 100%;
        min-width: 100%;
    }

    .page-id-24 .form-row.two-cols {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

@media (max-width: 399px) {
	.page-id-24 .contact-container {
		text-align: start;
	}
}