.contact-routes > div {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Ook lange contactgegevens blijven binnen hun eigen kaart. */
.contact-routes > .contact-shell > a,
.contact-routes > .contact-shell > button {
    min-width: 0;
}

.contact-routes > .contact-shell > a strong,
.contact-routes > .contact-shell > button strong {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.contact-routes .contact-callback {
    min-height: 215px;
    padding: 34px;
    border: 1px solid var(--tw-editorial-line, #dce4ec);
    border-radius: var(--tw-editorial-radius, 20px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.contact-routes a:hover,
.contact-routes .contact-callback:hover {
    background: #f0f5fc;
}

.contact-routes .contact-callback:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: -3px;
}

@media (max-width: 1100px) {
    .contact-routes > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
    .contact-routes > div { grid-template-columns: 1fr; }
    .contact-routes .contact-callback {
        min-height: 160px;
    }
}

.contact-form-grid {
    grid-template-columns: minmax(300px, .62fr) minmax(0, 1.38fr);
    gap: clamp(40px, 4.5vw, 72px);
}

.contact-form-grid > div:first-child {
    min-width: 0;
}

.contact-form-title {
    margin: 0 0 54px;
    font-size: clamp(40px, 3.8vw, 56px);
    line-height: .92;
    letter-spacing: -.055em;
    white-space: nowrap;
}

.contact-form-grid > div:last-child,
.contact-form-grid form {
    min-width: 0;
}

@media (max-width: 900px) {
    .contact-form-title {
        margin-bottom: 38px;
        white-space: normal;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}
