/* Hummel Export — thema voor Pro CMS */

:root {
    --brand: #2d5c88;
    --accent: #c42f2f;
    --ink: #222222;
    --text: #555a60;
    --muted: #8a9096;
    --line: #e6e8eb;
    --soft: #f4f5f7;
    --footer: #222222;
    --socket: #333333;
    --container: 1210px;
    --gutter: 24px;
    --pc-accent: var(--brand);
    --pc-accent-dark: color-mix(in srgb, var(--brand) 80%, black);
    --pc-grey: var(--soft);
    --pc-border: var(--line);
    --pc-radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: #fff;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 600; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--brand); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { top: 8px; color: #fff; }
.icon { width: 15px; height: 15px; fill: currentColor; flex: none; }
.draft-bar { background: #fff5d6; color: #6b5200; text-align: center; font-size: 13px; padding: 6px 12px; border-bottom: 1px solid #f0dc9c; }

/* ---------- Bovenbalk ---------- */
.topbar { background: var(--soft); border-bottom: 1px solid var(--line); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 36px; flex-wrap: wrap; }
.topbar__contact { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.topbar__contact a { color: var(--text); display: inline-flex; align-items: center; gap: 7px; }
.topbar__contact a:hover { color: var(--brand); }
.topbar__contact .icon { color: var(--brand); }
.social { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.social a { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: var(--muted); }
.social a:hover { color: #fff; background: var(--brand); }
.social svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 500;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 2px 14px rgba(0, 0, 0, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; transition: min-height .2s ease; }
.site-header.is-stuck .site-header__inner { min-height: 66px; }
.site-logo { display: block; line-height: 0; flex: none; }
.site-logo img { width: auto; height: 62px; transition: height .2s ease; }
.site-header.is-stuck .site-logo img { height: 48px; }
.site-logo__text { font-size: 26px; font-weight: 700; color: var(--brand); line-height: 1.2; }

.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.main-nav__list > li { position: relative; display: flex; align-items: center; }
.main-nav__list > li > a, .main-nav__parent {
    display: flex; align-items: center; gap: 6px;
    padding: 0 15px; height: 88px;
    color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: .01em;
    background: none; border: 0; font-family: inherit; cursor: pointer;
    border-bottom: 3px solid transparent; transition: height .2s ease, color .15s;
}
.site-header.is-stuck .main-nav__list > li > a, .site-header.is-stuck .main-nav__parent { height: 66px; }
.main-nav__list > li > a:hover, .main-nav__parent:hover, .main-nav__list > li.is-active > a, .main-nav__list > li.is-active > .main-nav__parent {
    color: var(--brand); border-bottom-color: var(--brand);
}
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; display: inline-block; }
.main-nav__subtoggle { display: none; }
.main-nav__sub {
    list-style: none; margin: 0; padding: 8px 0;
    position: absolute; top: 100%; left: 0; min-width: 230px;
    background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover > .main-nav__sub, .has-sub:focus-within > .main-nav__sub, .has-sub.is-open > .main-nav__sub { opacity: 1; visibility: visible; transform: none; }
.main-nav__sub a { display: block; padding: 9px 18px; color: var(--text); font-size: 14px; }
.main-nav__sub a:hover, .main-nav__sub a[aria-current="page"] { background: var(--soft); color: var(--brand); }
.main-nav__toggle { display: none; }

/* ---------- Grote header (hero) ---------- */
.hero {
    position: relative;
    min-height: min(78vh, 680px);
    display: flex; align-items: center;
    background: #333 var(--hero-image) center / cover no-repeat;
    color: #fff; text-align: center;
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55)); }
.hero__content { position: relative; padding-top: 60px; padding-bottom: 60px; max-width: 900px; }
.hero__title { color: #fff; font-size: clamp(28px, 4.5vw, 52px); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 .35em; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.hero__text { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; margin: 0 auto 1.6em; max-width: 720px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.hero .pc-button--light { color: #fff; border-color: #fff; }
.hero .pc-button--light:hover { background: #fff; color: var(--ink); }

.banner { background: var(--soft); line-height: 0; }
.banner img { width: 100%; height: auto; max-height: 440px; object-fit: cover; display: block; }

/* ---------- Titelbalk ---------- */
.title-bar { background: var(--soft); border-bottom: 1px solid var(--line); }
.title-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.title-bar__title { margin: 0; font-size: 22px; color: var(--ink); }
.breadcrumb { font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Inhoud ---------- */
.page-body { padding-top: 50px; padding-bottom: 70px; }
.content--home { margin-top: -50px; }
.page-body--side { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 50px; align-items: start; }
.page-body__side img { width: 100%; border-radius: var(--pc-radius); box-shadow: 0 4px 18px rgba(0, 0, 0, .1); }

.content { overflow-wrap: break-word; }
.content > :first-child { margin-top: 0; }
.content h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.content h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.content h4 { font-size: 16px; }
.content p { margin: 0 0 1.1em; }
.content ul, .content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.content li { margin-bottom: .35em; }
.content blockquote { margin: 1.5em 0; padding: .3em 0 .3em 1.2em; border-left: 3px solid var(--accent); color: var(--ink); font-size: 1.1em; }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.content img { border-radius: var(--pc-radius); }
.content img.align-left { float: left; margin: .3em 1.8em 1em 0; max-width: 45%; }
.content img.align-right { float: right; margin: .3em 0 1em 1.8em; max-width: 45%; }
.content img.align-center { display: block; margin: 1.5em auto; }
.content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.content th, .content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.content a:not(.pc-button):not(.pc-gallery__item):not(.card__link) { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: 3px; }
.content::after { content: ""; display: table; clear: both; }

/* Koppen met accentlijn */
.pc-heading-center { text-align: center; font-size: 30px !important; margin-bottom: 1.4em !important; }
.pc-heading-center::after { content: ""; display: block; width: 60px; height: 3px; background: var(--accent); margin: 16px auto 0; }

/* Secties over de volle breedte */
.content .pc-section {
    margin: 0 calc(50% - 50vw);
    padding: 70px max(var(--gutter), calc(50vw - var(--container) / 2));
    border-radius: 0;
}
.content .pc-section + .pc-section, .content .pc-cta + .pc-section, .content .pc-section + .pc-cta { margin-top: 0; }
.content .pc-section--grey { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.content .pc-cta {
    margin: 0 calc(50% - 50vw) 0;
    padding: 34px max(var(--gutter), calc(50vw - var(--container) / 2));
    background: var(--brand); color: #fff; border-radius: 0;
}
.content .pc-cta .pc-cta__text { font-size: 19px; margin: 0; }
.content .pc-cta a { color: #fff; text-decoration-color: rgba(255, 255, 255, .6); }
.content .pc-cta .pc-button { margin-top: 14px; border-color: #fff; background: transparent; color: #fff; text-decoration: none; }
.content .pc-cta .pc-button:hover { background: #fff; color: var(--ink); }
.content .pc-cta p:last-child { margin-bottom: 0; }

/* Blokken */
.pc-box { position: relative; padding: 28px 26px 22px; border: 1px solid var(--line); background: #fff; height: 100%; border-top: 3px solid var(--accent); }
.pc-box h3 { margin-top: 0; font-size: 18px; }
.pc-box p { text-align: left; }
.pc-cols { align-items: stretch; }
.pc-logos img { max-height: 80px; }
details.mce-accordion > summary { color: var(--ink); }
details.mce-accordion > summary::after { color: var(--accent); }
.pc-map { border-radius: 0; }
.content .pc-section > .pc-map:first-child { margin-top: 0; }

/* ---------- Overzichten (projecten / nieuws) ---------- */
.cards { gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none !important; }
.card__image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card__image img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; transition: transform .35s ease; }
.card:hover .card__image img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.card__title { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.4; }
.card:hover .card__title { color: var(--brand); }
.card__date { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card__excerpt { font-size: 13px; color: var(--text); line-height: 1.55; }
.cards--project .card__body { text-align: center; border-top: 3px solid var(--accent); }

/* ---------- Bericht / project ---------- */
.single-post { max-width: calc(860px + 2 * var(--gutter)); }
.single-post__image { width: 100%; max-height: 520px; object-fit: cover; display: block; margin-bottom: 18px; }
.single-post__date { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 16px; }
.single-post__footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; font-size: 14px; }
.single-post__footer p { margin: 0; }
.share a { margin-left: 10px; }
.single-project__image { display: block; margin-bottom: 28px; }
.single-project__image img { width: 100%; max-height: 560px; object-fit: cover; }
.related { background: var(--soft); border-top: 1px solid var(--line); padding: 60px 0; }
.related__all { text-align: center; margin: 30px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #b5b8bb; padding: 60px 0 40px; font-size: 14px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.site-footer p { margin: 0 0 12px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: color-mix(in srgb, var(--brand) 40%, white); }
.site-footer img { max-width: 240px; height: auto; }
.socket { background: var(--socket); color: #9a9da0; font-size: 13px; }
.socket__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; flex-wrap: wrap; }
.socket p { margin: 0; }
.socket .social a { color: #9a9da0; }

/* ---------- Responsief ---------- */
@media (max-width: 1020px) {
    .main-nav__toggle {
        display: inline-flex; align-items: center; gap: 10px;
        background: none; border: 1px solid var(--line); border-radius: 3px; padding: 9px 14px;
        font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
    }
    .main-nav__bars, .main-nav__bars::before, .main-nav__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
    .main-nav__bars::before, .main-nav__bars::after { content: ""; position: absolute; left: 0; }
    .main-nav__bars::before { top: -6px; }
    .main-nav__bars::after { top: 6px; }
    .main-nav__list {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; background: #fff;
        border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
        max-height: calc(100vh - 80px); overflow-y: auto;
        padding: 6px var(--gutter) 14px;
    }
    .main-nav.is-open .main-nav__list { display: flex; }
    .main-nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .main-nav__list > li > a, .main-nav__parent { height: auto !important; padding: 13px 0; border-bottom: 0; flex: 1; justify-content: space-between; }
    .main-nav__subtoggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--ink); }
    .main-nav__sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
    .has-sub:hover > .main-nav__sub, .has-sub:focus-within > .main-nav__sub { display: none; }
    .has-sub.is-open > .main-nav__sub { display: block; }
    .site-header__inner { min-height: 72px; }
    .site-logo img { height: 50px; }
    .site-footer__cols { grid-template-columns: 1fr 1fr; }
    .page-body--side { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 700px) {
    :root { --gutter: 16px; }
    body { font-size: 15px; }
    .topbar__contact a:last-child { display: none; }
    .topbar__contact a:only-child { display: inline-flex; }
    .site-logo img { height: 42px; }
    .site-header.is-stuck .site-logo img { height: 38px; }
    .main-nav__label { display: none; }
    .page-body { padding-top: 32px; padding-bottom: 48px; }
    .content--home { margin-top: -32px; }
    .page-body--side { grid-template-columns: 1fr; }
    .page-body__side { max-width: 240px; }
    .content .pc-section { padding-top: 46px; padding-bottom: 46px; }
    .pc-heading-center { font-size: 24px !important; }
    .content img.align-left, .content img.align-right { float: none; max-width: 100%; margin: 1em 0; }
    .site-footer__cols { grid-template-columns: 1fr; gap: 28px; }
    .title-bar__inner { padding-top: 16px; padding-bottom: 16px; }
    .title-bar__title { font-size: 20px; }
    .hero { min-height: 60vh; }
}

@media print {
    .topbar, .site-header, .site-footer, .socket, .related, .share { display: none; }
}

/* Geen extra witruimte als de pagina eindigt met een volle-breedte-sectie */
.page-body:has(> .content > :is(.pc-section, .pc-cta):last-child) { padding-bottom: 0; }

/* Sectie in de merkkleur */
.content .pc-section--brand { background: var(--brand); color: #fff; }
.content .pc-section--brand h2, .content .pc-section--brand h3, .content .pc-section--brand strong { color: #fff; }
.content .pc-section--brand a:not(.pc-button) { color: #fff; text-decoration-color: rgba(255, 255, 255, .6); }
.content .pc-section--brand .pc-heading-center::after { background: #fff; }
