/* Advocaat Mulder — thema voor Pro CMS (nagebouwd naar het Breakdance-ontwerp) */

:root {
    --brand: #74452a;
    --accent: #ceb699;
    --ink: #111827;
    --text: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #f9fafb;
    --soft: #f2f2f2;
    --footer: #222222;
    --socket: #171717;
    --container: 1080px;
    --gutter: 20px;
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
    --pc-accent: var(--brand);
    --pc-accent-dark: color-mix(in srgb, var(--brand) 78%, black);
    --pc-grey: var(--soft);
    --pc-border: var(--line);
    --pc-radius: 4px;
    --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    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); }
a:hover { color: var(--pc-accent-dark); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, white); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; font-weight: 700; }

.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; border-radius: 4px; }
.skip-link:focus { top: 8px; color: #fff; }
.draft-bar { background: #fff5d6; color: #6b5200; text-align: center; font-size: 14px; padding: 6px 12px; border-bottom: 1px solid #f0dc9c; }

/* ---------- Knoppen ---------- */
.pc-button, a.pc-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.3;
    padding: 14px 26px; border-radius: 9999px; border: 2px solid var(--brand);
    background: var(--brand); color: #fff; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.pc-button:hover, a.pc-button:hover { background: var(--pc-accent-dark); border-color: var(--pc-accent-dark); color: #fff; transform: translateY(-1px); }
.pc-button--white, a.pc-button--white { background: #fff; border-color: #fff; color: #000; }
.pc-button--white:hover, a.pc-button--white:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.pc-button--light, a.pc-button--light { background: transparent; color: var(--brand); }
.pc-button--light:hover, a.pc-button--light:hover { background: var(--brand); color: #fff; }
.pc-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 2px 18px rgba(0, 0, 0, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); position: relative; }
.site-logo { align-self: flex-start; position: relative; z-index: 2; margin-top: 18px; height: calc(var(--header-h) - 18px); display: block; }
.site-logo img { display: block; width: 142px; height: auto; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); transition: width .25s; }
.site-header.is-stuck .site-logo img { width: 96px; }
.site-logo__text { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink); text-decoration: none; }

.main-nav__toggle { display: none; }
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav__list > li { position: relative; display: flex; align-items: center; }
.main-nav__list > li > a, .main-nav__parent {
    display: block; padding: 10px 16px; color: var(--ink); font-size: 17px; font-weight: 500; text-decoration: none;
    background: none; border: 0; font-family: inherit; cursor: pointer; border-radius: 6px;
}
.main-nav__list > li > a:hover, .main-nav__list > li.is-active > a { color: var(--brand); }
.main-nav__list > li > a[aria-current="page"] { color: var(--brand); }
.main-nav__subtoggle { background: none; border: 0; padding: 10px 6px 10px 0; margin-left: -12px; cursor: pointer; color: var(--ink); }
.caret { display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.main-nav__cta { margin-left: 14px; }
.main-nav__list > .main-nav__cta > a { background: var(--brand); color: #fff; border-radius: 9999px; padding: 10px 24px; font-weight: 600; }
.main-nav__list > .main-nav__cta > a:hover, .main-nav__list > .main-nav__cta > a[aria-current="page"] { background: var(--pc-accent-dark); color: #fff; }

.main-nav__sub {
    position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 320px;
    background: #fff; border-radius: 8px; box-shadow: 0 14px 40px rgba(17, 24, 39, .14); padding: 14px 10px;
    opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s;
}
.main-nav__sub ul { list-style: none; margin: 0; padding: 0; }
.main-nav__sub a { display: block; padding: 7px 14px; color: var(--text); font-size: 16px; line-height: 1.4; text-decoration: none; border-radius: 6px; }
.main-nav__sub a:hover, .main-nav__sub a[aria-current="page"] { background: var(--soft); color: var(--brand); }
@media (hover: hover) and (min-width: 981px) {
    .has-sub:hover > .main-nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.has-sub.is-open > .main-nav__sub, .has-sub:focus-within > .main-nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Grote header ---------- */
.hero {
    position: relative; display: flex; align-items: center; min-height: 575px; padding: 90px 0;
    background: #3b3b3b var(--hero-image, none) center / cover no-repeat; color: #fff; text-align: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.hero--home { min-height: min(825px, 92vh); background-position: center 20%; }
.hero__content { position: relative; }
.hero__title { color: #fff; font-size: clamp(38px, 6vw, 70px); line-height: 1.15; margin: 0 auto 18px; max-width: 900px; }
.hero__text { font-size: clamp(18px, 2vw, 23px); line-height: 1.5; max-width: 940px; margin: 0 auto 28px; }
.hero__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 0; }

.title-bar { background: var(--soft); border-bottom: 1px solid var(--line); padding: 60px 0 10px; }
.title-bar__title { font-size: clamp(32px, 4vw, 48px); margin: 0; }

/* ---------- Inhoud ---------- */
.page-body { background: var(--soft); padding: 90px 0; }
.page-body--flush { padding-top: 0; }
.page-body:has(> .content > :is(.pc-section):last-child) { padding-bottom: 0; }
.content > :first-child { margin-top: 0; }
.content > :last-child { margin-bottom: 0; }
.content h2 { font-size: clamp(28px, 3vw, 37px); margin: 1.4em 0 .5em; }
.content h3 { font-size: clamp(23px, 2.4vw, 28px); margin: 1.3em 0 .45em; }
.content h4 { font-size: 21px; margin: 1.2em 0 .4em; }
.content p, .content ul, .content ol, .content table { margin: 0 0 1.1em; }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin-bottom: .3em; }
.content strong { color: var(--ink); }
.content a:not(.pc-button) { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent); text-underline-offset: 3px; }
.content img { max-width: min(100%, 560px); border-radius: 4px; display: block; }
.content .pc-gallery img, .content .pc-logos img { max-width: 100%; }
.content table { border-collapse: collapse; width: auto; }
.content td, .content th { padding: 3px 24px 3px 0; vertical-align: top; text-align: left; }
.content .pc-buttons { margin-top: 1.6em; }
.content::after { content: ""; display: table; clear: both; }

/* Secties over de volle breedte (wit tussen het grijs) */
.content .pc-section {
    margin: 90px calc(50% - 50vw) 0;
    padding: 90px max(var(--gutter), calc(50vw - var(--container) / 2));
    border-radius: 0;
}
.content .pc-section--white { background: var(--bg); text-align: center; }
.content .pc-section--grey { background: var(--soft); }
.content .pc-section--brand { background: var(--accent); color: var(--ink); text-align: center; }
.content .pc-section--brand h2, .content .pc-section--brand h3 { color: var(--ink); }
.content .pc-section > h2:first-child, .content .pc-section > h3:first-child { margin-top: 0; }
.content .pc-section--white > h3:first-child + p { font-family: var(--serif); font-size: 21px; color: var(--muted); margin-top: -6px; }
.content .pc-section .pc-buttons, .content .pc-section > p:last-child:has(> .pc-button:only-child) { justify-content: center; }
.content .pc-section:first-child { margin-top: -90px; }

/* Kaartjes met icoon (rechtsgebieden) */
.content .pc-cards { gap: 26px; margin: 40px 0; }
.content .pc-cards .pc-box {
    position: relative; margin: 0; padding: 34px 26px 30px; border: 0; border-radius: 6px; background: #fff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .08); text-align: center; transition: transform .2s, box-shadow .2s;
}
.content .pc-cards .pc-box::before {
    content: ""; display: block; width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%;
    background: var(--brand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 62'%3E%3Ccircle cx='31' cy='31' r='30' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cg transform='translate(16 18) scale(.047)'%3E%3Cpath d='M384 32h128c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448h160c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32h160V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32h128c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 62'%3E%3Ccircle cx='31' cy='31' r='30' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cg transform='translate(16 18) scale(.047)'%3E%3Cpath d='M384 32h128c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448h160c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32h160V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32h128c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.content .pc-cards .pc-box:has(a):hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(17, 24, 39, .13); }
.content .pc-cards .pc-box h3 { font-size: 23px; margin: 0 0 10px; line-height: 1.3; }
.content .pc-cards .pc-box h3 a { color: var(--ink); text-decoration: none; }
.content .pc-cards .pc-box h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 6px; }
.content .pc-cards .pc-box:hover h3 a { color: var(--brand); }
.content .pc-cards .pc-box p { color: var(--brand); font-size: 17px; line-height: 1.6; margin: 0; }

/* Witte kaart (bijv. contactgegevens) */
.content .pc-box { background: #fff; border: 0; border-radius: 8px; padding: 30px 32px; }
.content .pc-cols { gap: 48px; }
.pc-map { border-radius: 0; aspect-ratio: auto; height: 420px; margin: 0; }
.content > .pc-map:first-child { margin: -90px calc(50% - 50vw) 70px; }
.page-body--flush .content > .pc-map:first-child { margin-top: 0; }

/* Contactformulier */
.content .pc-form input[type=text], .content .pc-form input[type=email], .content .pc-form input[type=tel], .content .pc-form textarea { border-color: #d1d5db; border-radius: 6px; font-size: 16px; }
.content .pc-form__field label { font-size: 15px; color: var(--ink); }

/* ---------- Oproep onderaan ---------- */
.cta-band { background: var(--accent); text-align: center; padding: 90px 0; }
.cta-band__title { font-size: clamp(26px, 3vw, 37px); margin: 0 auto 24px; max-width: 900px; }
.cta-band p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #d1d5db; padding: 80px 0 60px; font-size: 16px; line-height: 1.75; }
.site-footer__cols { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; }
.site-footer__title { color: #fff; font-size: 28px; margin: 0 0 20px; }
.site-footer p { margin: 0 0 14px; }
.site-footer a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--accent); }
.site-footer__contact { display: grid; grid-template-columns: max-content 1fr; gap: 0 16px; margin: 0; }
.site-footer__contact dt { color: #9ca3af; }
.site-footer__contact dd { margin: 0; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__badges { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
.site-footer__badges img { display: block; max-height: 80px; width: auto; max-width: 250px; background: #fff; padding: 6px 10px; border-radius: 4px; }
.socket { background: var(--socket); color: #9ca3af; font-size: 14px; }
.socket__inner { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.socket p { margin: 0; }
.socket a { color: #d1d5db; text-decoration: none; }
.socket a:hover { color: #fff; }

/* ---------- Tablet & mobiel ---------- */
@media (max-width: 980px) {
    :root { --header-h: 72px; }
    .site-logo { margin-top: 10px; }
    .site-logo img, .site-header.is-stuck .site-logo img { width: 84px; }
    .main-nav__toggle {
        display: inline-flex; align-items: center; gap: 10px; background: var(--brand); color: #fff; border: 0;
        border-radius: 9999px; padding: 10px 18px; font: 600 16px var(--sans); cursor: pointer;
    }
    .main-nav__bars, .main-nav__bars::before, .main-nav__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
    .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.is-open .main-nav__bars { background: transparent; }
    .main-nav.is-open .main-nav__bars::before { transform: translateY(6px) rotate(45deg); }
    .main-nav.is-open .main-nav__bars::after { transform: translateY(-6px) rotate(-45deg); }
    .main-nav__list {
        display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; padding: 10px var(--gutter) 22px; box-shadow: 0 16px 30px rgba(0, 0, 0, .12); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .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 { flex: 1; padding: 14px 4px; }
    .main-nav__subtoggle { margin: 0; padding: 14px 10px; }
    .main-nav__sub { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; display: none; width: 100%; min-width: 0; padding: 0 0 10px 10px; }
    .has-sub.is-open > .main-nav__sub { display: block; }
    .main-nav__cta { margin: 16px 0 0; border-bottom: 0 !important; }
    .main-nav__cta > a { text-align: center; }
    .page-body { padding: 60px 0; }
    .content .pc-section { margin-top: 60px; padding-top: 60px; padding-bottom: 60px; }
    .content .pc-section:first-child { margin-top: -60px; }
    .content > .pc-map:first-child { margin-top: -60px; margin-bottom: 50px; }
    .page-body--flush .content > .pc-map:first-child { margin-top: 0; }
    .site-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    body { font-size: 17px; line-height: 1.75; }
    .hero { min-height: 440px; padding: 70px 0; }
    .hero--home { min-height: 560px; }
    .hero__buttons .pc-button { width: 100%; max-width: 340px; }
    .cta-band { padding: 60px 0; }
    .content .pc-cols { gap: 24px; }
    .content .pc-box { padding: 24px 20px; }
    .pc-map { height: 320px; }
    .site-footer__cols { grid-template-columns: 1fr; }
    .content td, .content th { padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
