/* ==========================================================================
   site.css - gezamenlijke opmaak voor alle pagina's (aanvulling op skin.css)
   Huisstijl: blauw #2a74b1 / #3097d5, donkerblauw #1e4d7f, paars #8e44ad
   ========================================================================== */

/* --- Menu: zes items op middelgrote schermen op een regel houden --- */
@media (min-width: 992px) and (max-width: 1199px) {
    header .navbar-nav > li > a { padding-left: 8px; padding-right: 8px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    header .navbar-nav > li > a { padding-left: 4px; padding-right: 4px; }
}

/* --- Kopband bovenaan elke pagina: icoon links, paginatitel ernaast --- */
section.pagetop .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
    line-height: normal;
}
section.pagetop .icon > div { width: 125px; height: 125px; }
section.pagetop .col-title {
    display: flex;
    align-items: center;
    min-height: 280px;
}
section.pagetop .col-title h1 {
    width: auto;
    margin: 0;
    text-align: left;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 2px;
}
@media all and (max-width: 991px) {
    section.pagetop { min-height: 0; }
    section.pagetop .col-icon { display: none; }
    section.pagetop .col-title { min-height: 170px; }
    section.pagetop .col-title h1 { font-size: 36px; }
}

/* --- Inhoud: hoofdkolom --- */
section.content .container { padding-top: 40px; }
.page-main { text-align: left; margin-bottom: 30px; }
section.content .page-main .title {
    display: block;
    margin: 0 0 25px;
    text-align: left;
    font-size: 38px;
    line-height: 1.2;
}
section.content .page-main .title:after {
    width: 80px;
    margin: 14px 0 0;
    border-bottom: 4px solid #8e44ad;
}
@media all and (max-width: 767px) {
    section.content .page-main .title { font-size: 26px; letter-spacing: 1px; }
}
.page-main p,
.page-main li { line-height: 1.6; color: #666; }
.page-main p { margin-bottom: 14px; }
.page-main h2,
.page-main h3 {
    margin: 34px 0 10px;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.3;
    color: #2a74b1;
    text-align: left;
    scroll-margin-top: 110px;
}
.page-main h4 {
    margin: 26px 0 8px;
    font-size: 18px;
    font-weight: bold;
    color: #1e4d7f;
}
.page-main h5 {
    margin: 16px 0 6px;
    font-size: 15px;
    font-weight: bold;
    color: #444;
}
.page-main ul:not(.document-list):not(.list-unstyled) {
    list-style: disc outside;
    padding-left: 20px;
    margin-bottom: 20px;
}
.page-main ul:not(.document-list):not(.list-unstyled) li { list-style: inherit; margin-bottom: 6px; }
.page-main a:not(.btn):not(.contact-optie):not(.dienst-kaart) { color: #3097d5; }
.page-main.page-centered,
.page-main.page-centered p { text-align: center; }
section.content .page-main.page-centered .title { text-align: center; }
section.content .page-main.page-centered .title:after { margin-left: auto; margin-right: auto; }

/* --- Inhoud: blok "Meer informatie?" in de rechterkolom --- */
.info-blok {
    margin-bottom: 30px;
    padding: 30px;
    background: #1e4d7f;
    border-top: 5px solid #8e44ad;
    color: #fff;
    text-align: left;
}
.info-blok h2 {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}
.info-blok p { margin-bottom: 18px; line-height: 1.6; color: #fff; }
.info-blok .info-blok-regel {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    word-break: break-word;
}
section.content .info-blok .btn {
    margin-top: 16px;
    color: #2a74b1;
    font-size: 15px;
    letter-spacing: 2px;
    white-space: normal;
}

/* --- Contactband boven de footer --- */
.contact-band {
    padding: 55px 0;
    background: linear-gradient(135deg, #2980b9, #8e44ad);
    color: #fff;
    text-align: center;
}
.contact-band .title {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.contact-band p { margin-bottom: 22px; font-size: 16px; }
.contact-band-links a {
    display: inline-block;
    margin: 6px 14px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}
@media all and (max-width: 767px) {
    .contact-band .title { font-size: 21px; }
    .contact-band-links a { font-size: 19px; }
}

/* --- Pagina Bouwen met AI: processchema --- */
.buildstraat { margin: 25px 0 30px; text-align: left; }
.buildstraat-fase { position: relative; border-left: 3px solid #3097d5; padding: 0 0 22px 20px; }
.buildstraat-fase:last-child { padding-bottom: 0; }
.buildstraat-fase:before { content: ''; position: absolute; left: -9px; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: #2a74b1; }
.buildstraat-label { font-weight: 900; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: #2a74b1; margin-bottom: 10px; }
.buildstraat-blok { background: #1e4d7f; color: #fff; padding: 12px 16px; font-weight: bold; }
.buildstraat-omgevingen { display: flex; flex-wrap: wrap; gap: 8px; }
.buildstraat-omgevingen .buildstraat-blok { flex: 1 1 120px; text-align: center; }
.buildstraat-pipeline ol { list-style: none; counter-reset: stap; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.buildstraat-pipeline li { counter-increment: stap; flex: 1 1 200px; background: #f2f6fa; border-top: 3px solid #3097d5; padding: 10px 14px 12px; }
.buildstraat-pipeline li strong { display: block; color: #2a74b1; }
.buildstraat-pipeline li strong:before { content: counter(stap) '. '; }
.buildstraat-pipeline li span { font-size: 14px; }
.buildstraat-iso { overflow: hidden; margin: 10px 0 25px; }

/* --- Homepage en contactpagina ---
   Homepage: blok Bouwen met AI (zonder achtergrondfoto, dus compacter dan de andere blokken) */
.bouwenmetai {
    background: linear-gradient(135deg, #2980b9, #8e44ad);
    min-height: 0;
    padding-top: 110px;
    padding-bottom: 90px;
}
.bouwenmetai .row {
    text-align: center;
}

/* Contactpagina: telefoon en e-mail als twee blokken */
.contact-opties {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0 40px;
    text-align: center;
}
.contact-opties .contact-optie {
    flex: 1 1 260px;
    display: block;
    padding: 30px 20px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #2980b9, #8e44ad);
}
.contact-opties .contact-optie:hover,
.contact-opties .contact-optie:focus {
    color: #fff;
    opacity: 0.9;
}
.contact-optie-label {
    display: block;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.contact-optie-waarde {
    display: block;
    font-size: 22px;
    font-weight: bold;
    word-break: break-word;
}

/* Homepage: vier tegels in plaats van drie, dus kleinere titels en knoppen */
.img-bouwenmetai {
    height: 125px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='125' height='125' viewBox='0 0 125 125'%3E%3Cg fill='%23333' opacity='.45' transform='translate(3 3)'%3E%3Cpath d='M52 22c4 24 12 32 36 36-24 4-32 12-36 36-4-24-12-32-36-36 24-4 32-12 36-36z'/%3E%3Cpath d='M92 14c2 11 5 14 16 16-11 2-14 5-16 16-2-11-5-14-16-16 11-2 14-5 16-16z'/%3E%3Cpath d='M94 78c1.500 8 4 10.500 12 12-8 1.500-10.500 4-12 12-1.500-8-4-10.500-12-12 8-1.500 10.500-4 12-12z'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cpath d='M52 22c4 24 12 32 36 36-24 4-32 12-36 36-4-24-12-32-36-36 24-4 32-12 36-36z'/%3E%3Cpath d='M92 14c2 11 5 14 16 16-11 2-14 5-16 16-2-11-5-14-16-16 11-2 14-5 16-16z'/%3E%3Cpath d='M94 78c1.500 8 4 10.500 12 12-8 1.500-10.500 4-12 12-1.500-8-4-10.500-12-12 8-1.500 10.500-4 12-12z'/%3E%3C/g%3E%3C/svg%3E");
}
@media all and (min-width: 992px) {
    section.wijzijnbens .titles .btn {
        font-size: 26px;
        white-space: nowrap;
        padding-left: 0;
        padding-right: 0;
    }
    section.wijzijnbens .buttons .btn {
        font-size: 20px;
        padding: 16px 20px;
    }
}
@media all and (min-width: 1200px) {
    section.wijzijnbens .titles .btn {
        font-size: 32px;
    }
    section.wijzijnbens .buttons .btn {
        font-size: 22px;
        padding: 18px 26px;
    }
}

/* --- Homepage: achtergrondfoto bovenaan ---
   De foto staat in images/bens_home.jpg. Ontbreekt dat bestand, dan blijft de
   oude achtergrond uit skin.css zichtbaar. De donkerblauwe waas houdt de witte
   tekst leesbaar op een drukke foto. */
section.wijzijnbens { position: relative; }
section.wijzijnbens:before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(16, 42, 84, 0.45), rgba(16, 42, 84, 0.45)), url('../images/bens_home.jpg');
    background-size: cover;
    background-position: 65% center;
}
section.wijzijnbens > div { position: relative; z-index: 1; }
section.wijzijnbens > .images { z-index: 2; }
section.wijzijnbens > .titles { z-index: 3; }

/* --- Over ons: de vier diensten als blokken --- */
.dienst-kaarten {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 18px 0 10px;
}
.page-main a.dienst-kaart {
    flex: 1 1 280px;
    display: block;
    padding: 20px 22px;
    background: #f2f6fa;
    border-top: 4px solid #3097d5;
    color: #666;
    text-decoration: none;
}
.page-main a.dienst-kaart:hover,
.page-main a.dienst-kaart:focus { background: #e6eef6; border-top-color: #8e44ad; }
.dienst-kaart strong { display: block; margin-bottom: 6px; font-size: 18px; color: #2a74b1; }
.dienst-kaart span { display: block; line-height: 1.5; }
