/* ============================================================
   Contactpagina
   Zelfde trap-hero als de diensten-pagina's (solution-aqua.css).
   Deze file regelt alleen wat daar bovenop komt: de contactkaarten,
   het formulier en het bezoekadres met kaartje.
   Maten aangehouden van aqua: H1 9vw/900, koppen 28px/900,
   bodytekst 22px pill-gothic-600mg #6b7275.
   ============================================================ */

/* --- Hero ------------------------------------------------- */

/* aqua zet de contacttitel groter dan op de diensten-pagina's */
.ct-hero-groot {
    font-size: clamp(46px, 9vw, 130px);
    line-height: 0.98;
    letter-spacing: -2px;
}

/* Monteur-portret: iets omhoog (via inline background-position) zodat het gezicht
   mooi in beeld staat. De witte bus achter de titel maakt de standaard-gradient te
   licht, daarom hier een sterkere donkere overlay onderaan (het gezicht bovenin
   blijft licht). */
.ct-hero-foto::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
}

/* --- Contactkaarten --------------------------------------- */

.ct-kaarten-sectie {
    background: var(--white);
    padding: 70px 0 20px;
}

.ct-kaarten {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 9.6%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ct-kaart {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px 30px;
    background: #f6f7f7;
    border: 1px solid #e6e8e9;
    border-radius: 4px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ct-kaart:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.ct-kaart-icoon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    color: var(--accent);
}

.ct-kaart-icoon svg {
    width: 100%;
    height: 100%;
}

.ct-kaart-titel {
    font-family: 'pill-gothic-900mg', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.14;
    margin: 0 0 10px;
}

.ct-kaart-tekst {
    font-family: 'pill-gothic-600mg', sans-serif;
    font-size: 19px;
    color: #6b7275;
    line-height: 1.5;
    margin: 0 0 20px;
    flex: 1;
}

.ct-kaart-actie {
    font-family: 'pill-gothic-900mg', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #1a1a1a;
    word-break: break-word;
}

.ct-kaart:hover .ct-kaart-actie {
    color: var(--accent);
}

/* De storingskaart is de belangrijkste: donker, springt eruit. */
.ct-kaart-storing {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.ct-kaart-storing .ct-kaart-titel,
.ct-kaart-storing .ct-kaart-actie {
    color: var(--white);
}

.ct-kaart-storing .ct-kaart-tekst {
    color: #b7bcbe;
}

.ct-kaart-storing:hover .ct-kaart-actie {
    color: var(--accent);
}

.ct-kaart-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 5px 11px;
    background: var(--accent);
    border-radius: 3px;
    font-family: 'pill-gothic-900mg', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--white);
}

/* --- Formulier + bezoekadres ------------------------------ */

.ct-onder {
    background: var(--white);
    padding: 60px 0 90px;
}

.ct-onder-inner {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 9.6%;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 60px;
    align-items: start;
}

.ct-form-kop,
.ct-bezoek-kop {
    font-family: 'pill-gothic-900mg', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.14;
    margin: 0 0 12px;
}

.ct-form-sub {
    font-family: 'pill-gothic-600mg', sans-serif;
    font-size: 22px;
    color: #6b7275;
    line-height: 1.5;
    margin: 0 0 32px;
}

.ct-rij {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ct-field {
    margin-bottom: 20px;
}

.ct-field label {
    display: block;
    margin-bottom: 7px;
    font-family: 'pill-gothic-600mg', sans-serif;
    font-size: 16px;
    color: #4a5052;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    padding: 13px 15px;
    background: var(--white);
    border: 1px solid #d3d7d9;
    border-radius: 4px;
    font-family: 'pill-gothic-600mg', sans-serif;
    font-size: 17px;
    color: #1a1a1a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: #a5abad;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(225, 4, 16, 0.12);
}

.ct-field textarea {
    resize: vertical;
    min-height: 130px;
}

.ct-submit {
    padding: 15px 42px;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    font-family: 'pill-gothic-900mg', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    cursor: pointer;
    transition: background 0.15s ease;
}

.ct-submit:hover {
    background: var(--accent-dark);
}

/* --- Bezoekadres met kaartje ------------------------------ */

.ct-bezoek {
    padding: 34px 32px;
    background: #f6f7f7;
    border: 1px solid #e6e8e9;
    border-radius: 4px;
}

.ct-bezoek-adres {
    font-family: 'pill-gothic-600mg', sans-serif;
    font-size: 20px;
    color: #6b7275;
    line-height: 1.6;
    margin: 0 0 14px;
}

.ct-bezoek-adres strong {
    font-family: 'pill-gothic-900mg', sans-serif;
    font-weight: 900;
    color: #1a1a1a;
}

.ct-route-link {
    display: inline-block;
    margin-bottom: 22px;
    font-family: 'pill-gothic-900mg', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
}

.ct-route-link:hover {
    text-decoration: underline;
}

.ct-kaartje {
    height: 300px;
    border-radius: 4px;
    background: #e9ebec;
}

/* Leaflet zet zichzelf standaard op z-index 400+; onder de vaste header houden. */
.ct-kaartje.leaflet-container {
    z-index: 1;
}

/* --- Formulierstatus -------------------------------------- */

.ct-form .form-status {
    margin-top: 16px;
    font-family: 'pill-gothic-600mg', sans-serif;
    font-size: 17px;
    color: #2e7d32;
}

.ct-form .form-status.is-error {
    color: var(--accent);
}

/* --- Smaller ---------------------------------------------- */

@media (max-width: 1024px) {
    .ct-kaarten {
        grid-template-columns: 1fr;
    }

    .ct-onder-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .ct-kaarten-sectie {
        padding: 44px 0 10px;
    }

    .ct-onder {
        padding: 40px 0 60px;
    }

    .ct-rij {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ct-form-kop,
    .ct-bezoek-kop {
        font-size: 28px;
    }

    .ct-form-sub {
        font-size: 18px;
    }

    .ct-bezoek {
        padding: 26px 22px;
    }

    .ct-kaartje {
        height: 240px;
    }
}
