/* Brams Gereedschap — thema voor Pro CMS (nagebouwd naar het Breakdance-ontwerp) */

:root {
    --brand: #006069;
    --ink: #111827;
    --text: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #f9fafb;
    --soft: #efefef;
    --footer: #bcbdc0;
    --container: 1110px;
    --gutter: 20px;
    --slab: "Roboto Slab", Georgia, serif;
    --sans: "Albert Sans", "Segoe UI", Roboto, Arial, sans-serif;
    --hand: "Gochi Hand", "Comic Sans MS", cursive;
    --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: 3px;
    --header-h: 110px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.55; 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) 55%, white); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--slab); color: var(--ink); line-height: 1.2; font-weight: 800; }
.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; }
.draft-bar { background: #fff5d6; color: #6b5200; text-align: center; font-size: 14px; padding: 6px 12px; }
.center { text-align: center; }

/* ---------- 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: 500; line-height: 1.3; padding: 13px 24px; border-radius: 3px; border: 0;
    background: var(--brand); color: #fff; text-decoration: none; transition: background .2s, color .2s;
}
.pc-button:hover, a.pc-button:hover { background: var(--pc-accent-dark); color: #fff; }
.pc-button--white, a.pc-button--white { background: #fff; color: #000; }
.pc-button--white:hover, a.pc-button--white:hover { background: #e6f0f1; color: #000; }
.pc-button--grey, a.pc-button--grey { background: #4b5563; }
.pc-button--grey:hover, a.pc-button--grey:hover { background: #374151; }
.pc-button--dark, a.pc-button--dark { background: #000; }
.pc-button--dark:hover, a.pc-button--dark:hover { background: #222; }
.pc-button--light, a.pc-button--light { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.pc-button--light:hover, a.pc-button--light:hover { background: var(--brand); color: #fff; }
.pc-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- 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 16px 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 img { display: block; width: 280px; height: auto; transition: width .2s; }
.site-header.is-stuck .site-logo img { width: 220px; }
.site-logo__text { font-family: var(--slab); font-size: 28px; font-weight: 800; color: var(--brand); text-decoration: none; }
.main-nav__toggle { display: none; }
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav__list > li { position: relative; display: flex; align-items: center; }
.main-nav__list > li > a:not(.pc-button) { display: block; padding: 10px 16px; color: var(--ink); font-size: 18px; font-weight: 500; text-decoration: none; }
.main-nav__list > li > a:not(.pc-button):hover, .main-nav__list > li > a[aria-current="page"] { color: var(--brand); }
.main-nav__list > li > a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.main-nav__phone-item { margin-left: clamp(16px, 8vw, 150px); }
.main-nav__sub { position: absolute; top: 100%; left: 0; list-style: none; margin: 0; padding: 8px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12); min-width: 220px; display: none; }
.has-sub:hover > .main-nav__sub, .has-sub.is-open > .main-nav__sub, .has-sub:focus-within > .main-nav__sub { display: block; }
.main-nav__sub a { display: block; padding: 6px 12px; color: var(--text); text-decoration: none; }
.main-nav__subtoggle { background: none; border: 0; cursor: pointer; padding: 8px; }
.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); }

/* ---------- Homepage: introductie met slider ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: #fff; min-height: 640px; }
.intro__text { background: var(--brand); color: #fff; display: flex; justify-content: flex-end; padding: 80px 46px 70px max(var(--gutter), calc(50vw - var(--container) / 2)); position: relative; overflow: hidden; }
.intro__text::before {
    content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
    background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.5) 46px 48px), repeating-linear-gradient(25deg, transparent 0 80px, rgba(255,255,255,.35) 80px 81px);
}
.intro__inner { position: relative; width: 100%; max-width: 520px; }
.intro__title { color: #fff; font-size: clamp(30px, 3vw, 37px); font-weight: 900; margin: 0 0 28px; }
.intro__content p { margin: 0 0 1em; }
.intro__content a { color: #fff; }
.intro__note { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; margin-top: 26px; }
.intro__note svg { width: 20px; height: 20px; fill: currentColor; flex: none; margin-top: 2px; }
.intro__media { position: relative; min-height: 100%; }
.intro__slider { position: absolute; inset: 0; overflow: hidden; }
.pc-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; }
.pc-slide.is-active { opacity: 1; }
.pc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-slider__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.pc-slider__dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.pc-slider__dots button[aria-current] { background: var(--brand); }
.slider-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: pointer; z-index: 2; transition: background .2s; }
.slider-nav:hover { background: #fff; }
.slider-nav::before { content: ""; display: block; width: 12px; height: 12px; margin: auto; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); }
.slider-nav--prev { left: 16px; }
.slider-nav--prev::before { transform: translateX(2px) rotate(45deg); }
.slider-nav--next { right: 16px; }
.slider-nav--next::before { transform: translateX(-2px) rotate(-135deg); }

/* ---------- Merkenbalk ---------- */
.brands { background: var(--brand); color: #fff; padding: 46px 0 56px; }
.brands__title { color: #fff; text-align: center; font-size: 28px; margin: 0 0 30px; font-weight: 800; }
.brands__list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 50px; max-width: 1000px; }
.brands__list a { display: flex; align-items: center; justify-content: center; width: 90px; height: 90px; color: #fff; text-decoration: none; transition: transform .2s, opacity .2s; }
.brands__list a:hover { transform: scale(1.08); }
.brands__list img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brands__list span { font-family: var(--slab); font-weight: 700; }

/* ---------- Nieuws ---------- */
.news-section { padding: 70px 0 80px; }
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border-radius: 4px; box-shadow: 2px 4px 20px rgba(0, 0, 0, .06); display: flex; flex-direction: column; padding: 14px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 2px 8px 26px rgba(0, 0, 0, .12); transform: translateY(-2px); }
.card__image { display: block; aspect-ratio: 5 / 3; overflow: hidden; background: var(--soft); border-radius: 2px; }
.card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.card:hover .card__image img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 6px 6px; }
.card__title { font-size: 21px; margin: 0 0 12px; font-weight: 700; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--brand); }
.card__excerpt { font-size: 15px; line-height: 1.55; margin: 0 0 18px; flex: 1; }
.card__more { margin: 0; }
.card__more .pc-button { font-size: 15px; padding: 10px 18px; }

/* ---------- Gewone pagina, merk en bericht ---------- */
.page-head { padding: 50px 0 0; }
.back-link { display: inline-block; margin-bottom: 18px; font-size: 16px; }
.page-title { font-size: clamp(28px, 3vw, 36px); margin: 0 0 22px; font-weight: 800; }
.page-body { padding: 10px 0 70px; }
.content p, .content ul, .content ol { margin: 0 0 1em; }
.content h2 { font-size: 26px; margin: 1.4em 0 .5em; }
.content h3 { font-size: 21px; margin: 1.3em 0 .4em; }
.content a:not(.pc-button) { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.content img { border-radius: 3px; }

.brand-page { padding: 50px 0 70px; background: #fff; }
.brand-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; margin-top: 10px; }
.brand-page__logo { background: var(--bg); border-radius: 6px; padding: 40px; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; }
.brand-page__logo img { max-height: 240px; width: auto; object-fit: contain; }
.brand-page__logo--dark { background: var(--brand); }
.brand-page__text .content { font-size: 17px; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.video__play img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.video__icon { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; background: #f00; border-radius: 12px; }
.video__icon::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video__play:hover .video__icon { background: #c00; }

.post { padding: 50px 0 80px; }
.post__meta { color: var(--muted); font-size: 15px; margin: -10px 0 26px; }
.post__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 46px; align-items: start; }
.post__image { display: block; width: 100%; border-radius: 4px; margin-bottom: 26px; }
.post__related { background: #fff; padding: 22px; border-radius: 4px; box-shadow: 2px 4px 20px rgba(0, 0, 0, .06); position: sticky; top: calc(var(--header-h) + 20px); }
.post__related h2 { font-size: 19px; margin: 0 0 14px; }
.post__related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.post__related a { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; }
.post__related a:hover span { color: var(--brand); }
.post__related img { width: 70px; height: 52px; object-fit: cover; border-radius: 2px; }

/* Actiefolders: logo's op de groene kleur, klikbaar */
.content .folder-logos { background: var(--brand); padding: 36px; border-radius: 4px; gap: 30px 50px; margin: 30px 0; }
.content .folder-logos a { display: flex; align-items: center; justify-content: center; width: 130px; height: 110px; transition: transform .2s; }
.content .folder-logos a:hover { transform: scale(1.06); }
.content .folder-logos img { filter: none; opacity: 1; max-height: 100px; max-width: 130px; }

/* ---------- Contact ---------- */
.contact { background: #fff; padding: 60px 0 70px; }
.section-title { text-align: center; color: var(--brand); font-size: clamp(26px, 3vw, 34px); margin: 0 0 34px; font-weight: 800; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 20px; }
.contact__info { background: var(--brand); color: #fff; display: flex; flex-direction: column; }
.contact__map { aspect-ratio: 4 / 3; background: #d8e4e5; }
.contact__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact__list { list-style: none; margin: 0; padding: 28px 30px 32px; display: grid; gap: 18px; font-size: 16px; }
.contact__list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.contact__list svg { width: 22px; height: 22px; fill: #fff; margin-top: 1px; }
.contact__list a { color: #fff; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__form { background: var(--soft); padding: 34px 34px 24px; }
.contact__form .pc-form { margin: 0; }
.contact__form .pc-form__field label { font-weight: 500; font-size: 15px; }
.contact__form .pc-form input[type=text], .contact__form .pc-form input[type=email], .contact__form .pc-form input[type=tel], .contact__form .pc-form textarea { border: 0; border-radius: 4px; font-size: 16px; }
.contact__form .pc-form__submit { border-radius: 3px; }
.handwritten { font-family: var(--hand); color: var(--brand); text-align: right; font-size: 21px; line-height: 1.25; margin: 10px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--brand); font-family: var(--hand); font-size: 18px; }
.site-footer__inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--brand); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Tablet & mobiel ---------- */
@media (max-width: 900px) {
    :root { --header-h: 76px; }
    .site-logo img, .site-header.is-stuck .site-logo img { width: 190px; }
    .main-nav__toggle { display: inline-flex; align-items: center; gap: 10px; background: var(--brand); color: #fff; border: 0; border-radius: 3px; padding: 10px 16px; 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: 8px var(--gutter) 20px; box-shadow: 0 16px 30px rgba(0,0,0,.12); }
    .main-nav.is-open .main-nav__list { display: flex; }
    .main-nav__list > li { border-bottom: 1px solid var(--line); }
    .main-nav__list > li > a:not(.pc-button) { flex: 1; padding: 14px 4px; }
    .main-nav__phone-item { margin: 16px 0 0; border-bottom: 0 !important; }
    .main-nav__phone-item .pc-button { width: 100%; }
    .intro { grid-template-columns: 1fr; min-height: 0; }
    .intro__text { padding: 50px var(--gutter); justify-content: flex-start; }
    .intro__inner { max-width: 680px; }
    .intro__media { min-height: 0; aspect-ratio: 4 / 3; }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-page__grid, .post__grid, .contact__grid { grid-template-columns: 1fr; gap: 30px; }
    .post__related { position: static; }
    .brands__list { gap: 0 26px; }
}
@media (max-width: 600px) {
    body { font-size: 17px; }
    .slider-nav { width: 38px; height: 38px; margin-top: -19px; }
    .slider-nav--prev { left: 10px; }
    .slider-nav--next { right: 10px; }
    .cards { grid-template-columns: 1fr; }
    .brands__list a { width: 74px; height: 74px; }
    .contact__form { padding: 24px 18px 18px; }
    .content .folder-logos { padding: 24px; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* Video's in berichten */
.content .pc-embed { margin: 1.5em 0; border-radius: 4px; overflow: hidden; background: #000; }
.content .pc-embed--vertical { aspect-ratio: 9 / 16; max-width: 340px; }
.pc-slide--contain { background: #fff; }
.pc-slide--contain img { object-fit: contain; padding: 24px; }
