/*
Theme Name: Bert Eggink Schildersbedrijf
Theme URI: https://deemsterdesign.nl/
Author: DeemsterDesign
Author URI: https://deemsterdesign.nl/
Description: Maatwerk WordPress-thema voor Bert Eggink Schildersbedrijf.
Version: 0.6.3
Text Domain: bert-eggink
*/

:root {
    --be-blue: #0b569d;
    --be-blue-dark: #073c70;
    --be-ink: #18212a;
    --be-muted: #66717c;
    --be-surface: #f6f8fa;
    --be-white: #ffffff;
    --be-border: #e4e9ee;
    --be-yellow: #fce907;
    --be-orange: #f48f1e;
    --be-red: #f03e35;
    --be-pink: #ea028d;
    --be-purple: #a4449b;
    --be-green: #03a68e;
    --be-radius: 18px;
    --be-shadow: 0 18px 50px rgba(18, 39, 58, .09);
    --be-container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--be-ink);
    background: var(--be-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
    top: 32px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--be-blue);
    text-decoration: none;
}

a:hover {
    color: var(--be-blue-dark);
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--be-container));
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(11, 86, 157, .08);
    backdrop-filter: blur(14px);
    transition: box-shadow .2s ease, background .2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 28px rgba(20, 38, 55, .08);
}

.header-inner {
    min-height: 98px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-branding {
    flex: 0 0 auto;
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.site-logo-link .custom-logo,
.site-logo-link .site-logo-fallback {
    display: block;
    width: auto;
    max-width: 290px;
    max-height: 82px;
    object-fit: contain;
}

.site-branding a {
    display: inline-flex;
    align-items: center;
}

.custom-logo,
.site-logo-fallback {
    width: auto;
    max-width: 290px;
    max-height: 82px;
    object-fit: contain;
}

.site-nav-wrap {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.primary-menu,
.primary-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.primary-menu a {
    color: var(--be-ink);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
    color: var(--be-blue);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--be-blue);
    color: var(--be-white);
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(11, 86, 157, .18);
}

.header-cta:hover {
    background: var(--be-blue-dark);
    color: var(--be-white);
}

.brand-fan {
    position: relative;
    width: 42px;
    height: 31px;
    flex: 0 0 42px;
}

.brand-fan span {
    position: absolute;
    left: 4px;
    bottom: 3px;
    width: 32px;
    height: 7px;
    border-radius: 2px;
    transform-origin: 2px 50%;
    transition: transform .25s ease;
}

.brand-fan span:nth-child(1) { background: var(--be-yellow); transform: rotate(-48deg); }
.brand-fan span:nth-child(2) { background: var(--be-orange); transform: rotate(-29deg); }
.brand-fan span:nth-child(3) { background: var(--be-red); transform: rotate(-10deg); }
.brand-fan span:nth-child(4) { background: var(--be-pink); transform: rotate(9deg); }
.brand-fan span:nth-child(5) { background: var(--be-purple); transform: rotate(28deg); }
.brand-fan span:nth-child(6) { background: var(--be-green); transform: rotate(47deg); }

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--be-surface);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--be-ink);
    transition: .2s ease;
}

/* General */
.site-main {
    min-height: 55vh;
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: var(--be-surface);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--be-blue);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading h2,
.page-title,
.entry-title {
    margin: 0 0 14px;
    color: var(--be-ink);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.section-heading p {
    max-width: 700px;
    margin: 0;
    color: var(--be-muted);
    font-size: 18px;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .15s ease, background .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: var(--be-blue);
}

.btn-primary:hover {
    color: #fff;
    background: var(--be-blue-dark);
}

.btn-secondary {
    color: var(--be-ink);
    background: var(--be-white);
    border: 1px solid var(--be-border);
}

/* Homepage hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 82px;
    background:
        radial-gradient(circle at 92% 18%, rgba(11, 86, 157, .08), transparent 27%),
        linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: 64px;
}

.hero h1 {
    margin: 0;
    max-width: 700px;
    font-size: clamp(46px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
}

.hero-copy {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--be-muted);
    font-size: 19px;
}

.hero-visual {
    min-height: 520px;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #e8eef3;
    box-shadow: var(--be-shadow);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.hero-placeholder {
    min-height: 520px;
    display: grid;
    place-items: center;
    padding: 34px;
    text-align: center;
    color: #6d7984;
    background:
        linear-gradient(135deg, rgba(11,86,157,.08), rgba(255,255,255,.3)),
        repeating-linear-gradient(45deg, #edf2f5, #edf2f5 16px, #f6f8fa 16px, #f6f8fa 32px);
}

.hero-placeholder strong {
    display: block;
    color: var(--be-ink);
    font-size: 20px;
}

.hero-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    max-width: 260px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
    backdrop-filter: blur(12px);
}

.hero-badge strong,
.hero-badge span {
    display: block;
}

.hero-badge strong {
    font-size: 16px;
}

.hero-badge span {
    margin-top: 3px;
    color: var(--be-muted);
    font-size: 14px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card {
    padding: 30px;
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius);
    background: var(--be-white);
    box-shadow: 0 12px 30px rgba(27, 43, 57, .04);
}

.card-number {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 12px;
    color: var(--be-blue);
    background: rgba(11, 86, 157, .08);
    font-size: 13px;
    font-weight: 900;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.card p {
    margin: 0;
    color: var(--be-muted);
}

/* Split sections */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 68px;
}

.split-media {
    min-height: 430px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--be-surface);
}

.split-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.check-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.check-list li::before {
    content: "✓";
    flex: 0 0 25px;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    margin-top: 2px;
    border-radius: 50%;
    color: #fff;
    background: var(--be-blue);
    font-size: 13px;
    font-weight: 900;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    grid-auto-rows: 240px;
    gap: 16px;
}

.project-tile {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #e8edf1;
}

.project-tile:first-child {
    grid-row: span 2;
}

.project-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.project-tile:hover img {
    transform: scale(1.025);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 20px;
    color: #7b8790;
    text-align: center;
    background: linear-gradient(135deg, #eef2f5, #e4eaf0);
}

/* CTA */
.cta-panel {
    position: relative;
    overflow: hidden;
    padding: 54px;
    border-radius: 26px;
    color: #fff;
    background: var(--be-blue-dark);
}

.cta-panel::after {
    content: "";
    position: absolute;
    top: -160px;
    right: -110px;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}

.cta-panel h2 {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.cta-panel p {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 16px 0 0;
    color: rgba(255,255,255,.78);
}

.cta-panel .btn {
    position: relative;
    z-index: 1;
    background: #fff;
    color: var(--be-blue-dark);
}

/* Pages */
.page-hero {
    padding: 76px 0 46px;
    background: var(--be-surface);
}

.content-wrap {
    width: min(calc(100% - 40px), 860px);
    margin-inline: auto;
    padding: 70px 0 90px;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
    line-height: 1.2;
}

.entry-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content img {
    border-radius: 16px;
}

/* Contact template */
.contact-page-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 84px;
    background:
        radial-gradient(circle at 91% 14%, rgba(11,86,157,.11), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fa 100%);
}

.contact-page-hero::before {
    content: "";
    position: absolute;
    left: -170px;
    bottom: -240px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(11,86,157,.07);
    border-radius: 50%;
}

.contact-page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(54px, 7vw, 100px);
    align-items: center;
}

.contact-page-hero-copy h1 {
    max-width: 760px;
    margin: 0;
    color: var(--be-ink);
    font-size: clamp(48px, 6.2vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
}

.contact-page-hero-copy > p {
    max-width: 670px;
    margin: 27px 0 0;
    color: var(--be-muted);
    font-size: 19px;
    line-height: 1.75;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.contact-trust-panel {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 44px 46px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 5%, rgba(255,255,255,.10), transparent 31%),
        var(--be-blue-dark);
    box-shadow: 0 24px 60px rgba(9,47,83,.16);
}

.contact-trust-kicker {
    display: inline-block;
    color: rgba(255,255,255,.66);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.contact-trust-panel h2 {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 16px 0 0;
    color: #fff;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.contact-trust-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 13px;
    max-width: 420px;
    padding: 0;
    margin: 30px 0 0;
    list-style: none;
}

.contact-trust-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.86);
    font-weight: 700;
}

.contact-trust-list li::before {
    content: "✓";
    display: grid;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    color: var(--be-blue-dark);
    background: #fff;
    font-size: 12px;
    font-weight: 950;
}

.contact-trust-fan {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 180px;
    height: 130px;
    opacity: .20;
    pointer-events: none;
}

.contact-trust-fan span {
    position: absolute;
    left: 15px;
    bottom: 14px;
    width: 160px;
    height: 25px;
    border-radius: 5px;
    transform-origin: 7px 50%;
}

.contact-trust-fan span:nth-child(1) { background: var(--be-yellow); transform: rotate(-44deg); }
.contact-trust-fan span:nth-child(2) { background: var(--be-orange); transform: rotate(-26deg); }
.contact-trust-fan span:nth-child(3) { background: var(--be-red); transform: rotate(-8deg); }
.contact-trust-fan span:nth-child(4) { background: var(--be-pink); transform: rotate(10deg); }
.contact-trust-fan span:nth-child(5) { background: var(--be-purple); transform: rotate(28deg); }
.contact-trust-fan span:nth-child(6) { background: var(--be-green); transform: rotate(46deg); }

.contact-page-main {
    padding: 94px 0 104px;
    background: #fff;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: clamp(46px, 6vw, 84px);
    align-items: start;
}

.contact-direct {
    position: sticky;
    top: 132px;
}

.contact-direct h2,
.contact-form-heading h2 {
    margin: 0;
    color: var(--be-ink);
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.contact-direct-intro,
.contact-form-heading p {
    margin: 17px 0 0;
    color: var(--be-muted);
    font-size: 16px;
    line-height: 1.75;
}

.contact-direct-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.contact-direct-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 78px;
    padding: 15px 17px;
    border: 1px solid var(--be-border);
    border-radius: 17px;
    color: var(--be-ink);
    background: #fff;
    box-shadow: 0 9px 25px rgba(24,33,42,.04);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.contact-direct-item:not(.contact-direct-item-static):hover {
    color: var(--be-ink);
    border-color: rgba(11,86,157,.25);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(24,33,42,.07);
}

.contact-direct-icon {
    display: grid;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: var(--be-blue);
    font-size: 17px;
    font-weight: 900;
}

.contact-direct-icon-whatsapp {
    background: var(--be-green);
}

.contact-direct-item small,
.contact-direct-item strong {
    display: block;
}

.contact-direct-item small {
    margin-bottom: 3px;
    color: var(--be-muted);
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.contact-direct-item strong {
    color: var(--be-ink);
    font-size: 15px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.contact-form-card {
    padding: clamp(30px, 4vw, 52px);
    border: 1px solid var(--be-border);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0, rgba(11,86,157,.055), transparent 26%),
        #fff;
    box-shadow: 0 24px 65px rgba(24,33,42,.08);
}

.contact-form-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.contact-notice {
    display: grid;
    gap: 3px;
    margin-bottom: 25px;
    padding: 17px 19px;
    border-radius: 14px;
    font-size: 14px;
}

.contact-notice strong,
.contact-notice span {
    display: block;
}

.contact-notice-success {
    color: #174b3e;
    border: 1px solid rgba(3,166,142,.25);
    background: rgba(3,166,142,.09);
}

.contact-notice-error {
    color: #7a2b26;
    border: 1px solid rgba(240,62,53,.24);
    background: rgba(240,62,53,.075);
}

.bert-contact-form {
    display: grid;
    gap: 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-field {
    display: grid;
    gap: 8px;
}

.contact-field label {
    color: var(--be-ink);
    font-size: 13px;
    font-weight: 850;
}

.contact-field label span {
    color: var(--be-red);
}

.contact-field input,
.contact-field textarea,
.contact-field select {
    width: 100%;
    border: 1px solid #d8e0e7;
    border-radius: 13px;
    color: var(--be-ink);
    background: #fbfcfd;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.contact-field input,
.contact-field select {
    min-height: 52px;
    padding: 0 15px;
}

.contact-field textarea {
    min-height: 165px;
    padding: 14px 15px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
    border-color: rgba(11,86,157,.65);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11,86,157,.09);
}

.contact-form-hint {
    margin: -10px 0 0;
    color: var(--be-muted);
    font-size: 12px;
}

.contact-form-submit-row {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-top: 3px;
}

.contact-submit-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 21px 0 24px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--be-blue);
    box-shadow: 0 11px 24px rgba(11,86,157,.18);
    cursor: pointer;
    font-weight: 900;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.contact-submit-button:hover {
    background: var(--be-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(11,86,157,.22);
}

.contact-submit-arrow {
    position: relative;
    display: inline-block;
    width: 23px;
    height: 23px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 50%;
}

.contact-submit-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 1.5px;
    border-radius: 999px;
    background: #fff;
    transform: translate(-58%, -50%);
}

.contact-submit-arrow::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: translate(14%, -50%) rotate(45deg);
}

.contact-form-smallprint {
    max-width: 320px;
    color: var(--be-muted);
    font-size: 11.5px;
    line-height: 1.55;
    text-align: right;
}

.bert-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 980px) {
    .contact-page-hero {
        padding: 68px 0 72px;
    }

    .contact-page-hero-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-trust-panel {
        min-height: 310px;
    }

    .contact-direct {
        position: static;
    }

    .contact-direct-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .contact-page-hero {
        padding: 54px 0 60px;
    }

    .contact-page-hero-copy h1 {
        font-size: clamp(43px, 13vw, 60px);
    }

    .contact-page-hero-copy > p {
        font-size: 17px;
    }

    .contact-trust-panel {
        min-height: 0;
        padding: 32px 25px 120px;
        border-radius: 22px;
    }

    .contact-trust-fan {
        right: -5px;
        bottom: 15px;
        transform: scale(.82);
        transform-origin: right bottom;
    }

    .contact-page-main {
        padding: 70px 0 78px;
    }

    .contact-direct-list,
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 28px 20px;
        border-radius: 21px;
    }

    .contact-form-submit-row {
        display: grid;
        justify-items: start;
    }

    .contact-form-smallprint {
        max-width: none;
        text-align: left;
    }
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    color: rgba(255,255,255,.78);
    background:
        radial-gradient(circle at 86% 18%, rgba(255,255,255,.055), transparent 27%),
        radial-gradient(circle at 12% 100%, rgba(11,86,157,.24), transparent 32%),
        #082f56;
}

.site-footer::before {
    content: "";
    position: absolute;
    right: -150px;
    bottom: -190px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 50%;
    pointer-events: none;
}

.footer-colour-line {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    height: 6px;
}

.footer-colour-line span:nth-child(1) { background: var(--be-yellow); }
.footer-colour-line span:nth-child(2) { background: var(--be-orange); }
.footer-colour-line span:nth-child(3) { background: var(--be-red); }
.footer-colour-line span:nth-child(4) { background: var(--be-pink); }
.footer-colour-line span:nth-child(5) { background: var(--be-purple); }
.footer-colour-line span:nth-child(6) { background: var(--be-green); }

.footer-main-redesign {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr .65fr 1fr;
    gap: clamp(44px, 7vw, 94px);
    align-items: start;
    padding: 70px 0 58px;
}

.footer-brand-column {
    max-width: 430px;
}

.footer-logo-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    min-height: 92px;
    margin-bottom: 24px;
    padding: 13px 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(0,0,0,.13);
    transition: transform .18s ease, box-shadow .18s ease;
}

.footer-logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(0,0,0,.17);
}

.footer-logo-image {
    display: block;
    width: auto;
    max-width: 240px;
    max-height: 76px;
    object-fit: contain;
}

.footer-intro {
    max-width: 390px;
    margin: 0;
    color: rgba(255,255,255,.70);
    font-size: 16px;
    line-height: 1.75;
}

.footer-small-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 42px;
    margin-top: 24px;
    padding: 0 14px 0 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 850;
}

.footer-small-cta span:last-child {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    color: transparent;
    font-size: 0;
    line-height: 0;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

/* Pijltje bewust met CSS getekend zodat het optisch exact gecentreerd staat. */
.footer-small-cta span:last-child::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 1.5px;
    border-radius: 999px;
    background: #fff;
    transform: translate(-56%, -50%);
}

.footer-small-cta span:last-child::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: translate(16%, -50%) rotate(45deg);
    transform-origin: center;
}

.footer-small-cta:hover {
    color: #fff;
}

.footer-small-cta:hover span:last-child {
    transform: translateX(3px);
    border-color: rgba(255,255,255,.38);
    background: rgba(255,255,255,.08);
}

.footer-title {
    position: relative;
    margin: 6px 0 24px;
    padding-bottom: 13px;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background: var(--be-green);
}

.footer-links {
    display: grid;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    font-weight: 650;
    transition: color .16s ease, transform .16s ease;
}

.footer-links a::before {
    content: "";
    width: 0;
    height: 2px;
    margin-right: 0;
    border-radius: 999px;
    background: var(--be-green);
    transition: width .16s ease, margin-right .16s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-links a:hover::before {
    width: 14px;
    margin-right: 8px;
}

.footer-contact-card {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter: blur(6px);
}

.footer-contact-row + .footer-contact-row {
    margin-top: 17px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-contact-label {
    display: block;
    margin-bottom: 4px;
    color: rgba(255,255,255,.48);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.footer-contact-row strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.45;
}

.footer-contact-row a {
    color: #fff;
}

.footer-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 16px;
    align-items: center;
    margin-top: 24px;
}

.footer-contact-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--be-blue-dark);
    background: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(0,0,0,.11);
}

.footer-contact-button:hover {
    color: var(--be-blue-dark);
    background: #f4f7fa;
}

.footer-contact-link {
    color: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 800;
}

.footer-contact-link:hover {
    color: #fff;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    padding: 23px 0 27px;
    border-top: 1px solid rgba(255,255,255,.10);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,.47);
    font-size: 12.5px;
}

.footer-bottom a {
    color: rgba(255,255,255,.70);
    font-weight: 700;
}

.footer-bottom a:hover {
    color: #fff;
}

@media (max-width: 980px) {
    .footer-main-redesign {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
        max-width: 580px;
    }
}

@media (max-width: 640px) {
    .footer-colour-line {
        height: 5px;
    }

    .footer-main-redesign {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 52px 0 42px;
    }

    .footer-brand-column {
        grid-column: auto;
    }

    .footer-logo-card {
        min-width: 0;
        width: min(100%, 270px);
        min-height: 82px;
    }

    .footer-logo-image {
        max-width: 220px;
        max-height: 66px;
    }

    .footer-contact-card {
        padding: 21px;
    }

    .footer-bottom-inner {
        display: grid;
        gap: 8px;
    }
}

/* 404 */
.not-found {
    padding: 110px 0;
    text-align: center;
}

.not-found .error-code {
    display: block;
    color: var(--be-blue);
    font-size: clamp(70px, 12vw, 150px);
    line-height: .9;
    font-weight: 900;
    letter-spacing: -.08em;
}

/* WordPress alignment helpers */
.alignwide {
    width: min(1100px, calc(100vw - 40px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.alignfull {
    width: 100vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

/* Responsive */
@media (max-width: 980px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    .header-inner {
        min-height: 74px;
    }

    .custom-logo,
    .site-logo-fallback {
        max-width: 190px;
        max-height: 56px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .brand-fan {
        display: none;
    }

    .site-nav-wrap {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        margin: 0;
        padding: 18px 20px 24px;
        background: #fff;
        border-top: 1px solid var(--be-border);
        box-shadow: 0 18px 34px rgba(20, 38, 55, .08);
    }

    .site-header.menu-open .site-nav-wrap {
        display: block;
    }

    .primary-menu {
        display: grid;
        gap: 0;
    }

    .primary-menu li {
        border-bottom: 1px solid var(--be-border);
    }

    .primary-menu a {
        display: block;
        padding: 14px 4px;
    }

    .header-cta {
        width: 100%;
        margin-top: 16px;
    }

    .site-header.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 42px;
    }

    .hero-visual,
    .hero-visual img,
    .hero-placeholder {
        min-height: 430px;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-tile:first-child {
        grid-column: span 2;
        grid-row: auto;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-main > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .container,
    .content-wrap {
        width: min(calc(100% - 28px), var(--be-container));
    }

    .section {
        padding: 68px 0;
    }

    .hero {
        padding: 46px 0 64px;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .hero-visual,
    .hero-visual img,
    .hero-placeholder {
        min-height: 350px;
    }

    .hero-badge {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .cards,
    .project-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .project-tile:first-child {
        grid-column: auto;
    }

    .project-grid {
        grid-auto-rows: 230px;
    }

    .cta-panel {
        padding: 38px 26px;
    }

    .footer-main {
        gap: 36px;
        padding-top: 48px;
    }

    .footer-main > :first-child {
        grid-column: auto;
    }

    .footer-bottom-inner {
        display: grid;
    }
}


/* Editable media additions */
.service-card {
    padding: 0;
    overflow: hidden;
}

.card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--be-surface);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.service-card:hover .card-media img {
    transform: scale(1.025);
}

.card-body {
    padding: 30px;
}

.project-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 9px 12px;
    border-radius: 10px;
    color: #fff;
    background: rgba(8, 47, 86, .86);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    backdrop-filter: blur(8px);
}

.cta-panel.has-background-image {
    background-position: center;
    background-size: cover;
}

/* =========================================================
   Bert Eggink kleurenwaaier navigatie - v0.3.2
   Groen = vaste MENU-plank.
   De overige volledige rechthoekige planken waaieren vanuit
   één linker draaipunt naar rechts en beneden open.
   ========================================================= */
.site-header,
.header-inner {
    overflow: visible;
}

.fan-navigation {
    position: relative;
    z-index: 1200;
    width: 270px;
    height: 62px;
    margin-left: auto;
    flex: 0 0 270px;
    overflow: visible;
}

/* Het zichtbare scharnierpunt van alle plankjes. */
.fan-pivot {
    position: absolute;
    left: 13px;
    top: 50%;
    z-index: 100;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, .96);
    border-radius: 50%;
    background: var(--be-blue-dark);
    box-shadow: 0 2px 8px rgba(8, 47, 86, .24);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Groene bovenste plank: altijd volledig zichtbaar. */
.fan-menu-toggle {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 252px;
    height: 52px;
    padding: 0 22px 0 54px;
    border: 0;
    border-radius: 7px;
    color: #0b2438;
    background: var(--be-green);
    box-shadow: 0 8px 18px rgba(8, 47, 86, .14);
    cursor: pointer;
    transform: translateY(-50%);
    transform-origin: 13px 50%;
    transition:
        box-shadow .2s ease,
        transform .3s cubic-bezier(.2,.85,.3,1.1),
        filter .2s ease;
}

.fan-menu-toggle:hover,
.fan-menu-toggle:focus-visible {
    color: var(--be-blue-dark);
    box-shadow: 0 10px 22px rgba(8, 47, 86, .2);
    filter: brightness(1.025);
}

.fan-menu-toggle:focus-visible {
    outline: 3px solid rgba(11, 86, 157, .22);
    outline-offset: 5px;
}

.fan-toggle-label {
    padding-top: 2px;
    font-size: 14px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.fan-toggle-chevron {
    position: relative;
    width: 11px;
    height: 11px;
    margin-right: 2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .28s ease;
}

.site-header.menu-open .fan-toggle-chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

.fan-menu {
    position: absolute;
    left: 13px;
    top: 50%;
    z-index: 30;
    width: 1px;
    height: 1px;
    overflow: visible;
}

.fan-menu-list,
.fan-menu-slot {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fan-menu-list {
    position: absolute;
    inset: 0;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .55s;
}

.site-header.menu-open .fan-menu-list {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.fan-menu-slot {
    position: absolute;
    left: 0;
    top: -26px;
    width: 1px;
    height: 52px;
}

/*
 * Gesloten liggen alle plankjes exact achter de groene plank.
 * Door transform-origin links draaien ze als een echte waaier open.
 */
.fan-menu-item {
    position: absolute;
    left: 0;
    top: 0;
    z-index: calc(80 - var(--fan-level));
    display: flex;
    align-items: flex-end;
    width: 252px;
    height: 52px;
    padding: 0 12px 7px 138px;
    border-radius: 7px;
    color: var(--fan-text);
    background: var(--fan-color);
    box-shadow: 0 7px 16px rgba(8, 47, 86, .10);
    transform-origin: 0 50%;
    transform: rotate(0deg);
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    transition-property: transform, opacity, box-shadow, filter;
    transition-duration: .58s, .12s, .18s, .18s;
    transition-timing-function:
        cubic-bezier(.18,.82,.25,1.08),
        ease,
        ease,
        ease;

    /* Sluiten: van onder naar boven. */
    transition-delay:
        var(--fan-close-delay),
        var(--fan-close-delay),
        0ms,
        0ms;
}

.site-header.menu-open .fan-menu-item {
    transform: rotate(var(--fan-angle));
    opacity: 1;
    pointer-events: auto;

    /* Openen: van boven naar beneden. */
    transition-delay:
        var(--fan-delay),
        var(--fan-delay),
        0ms,
        0ms;
}

/*
 * Tekst staat expres ver van het scharnier en laag op het plankje,
 * zodat de plank erboven de naam niet meer afdekt.
 */
.fan-menu-item > span {
    display: block;
    width: 102px;
    overflow: hidden;
    color: #0b2438;
    font-size: 14.5px;
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: .005em;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 4px 7px 5px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 1px 3px rgba(7, 60, 112, .10);
    backdrop-filter: blur(2px);
}

.fan-menu-item:hover,
.fan-menu-item:focus-visible {
    color: #0b2438;
    box-shadow: 0 10px 20px rgba(8, 47, 86, .17);
    filter: brightness(1.035) saturate(1.02);
}

.fan-menu-item:focus-visible {
    outline: 3px solid rgba(7,60,112,.32);
    outline-offset: -5px;
}

.fan-menu-slot.is-current .fan-menu-item > span {
    /* Actieve pagina krijgt bewust geen extra streep of markering. */
}

/* Heel subtiele laag over de pagina wanneer de waaier openstaat. */
.site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(7, 34, 59, .04);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.site-header.menu-open::after {
    opacity: 1;
}

@media (max-width: 980px) {
    .fan-navigation {
        width: 232px;
        flex-basis: 232px;
    }

    .fan-menu-toggle,
    .fan-menu-item {
        width: 218px;
        height: 48px;
    }

    .fan-menu-toggle {
        padding: 0 18px 0 48px;
    }

    .fan-menu-slot {
        top: -24px;
        height: 48px;
    }

    .fan-menu-item {
        padding: 0 8px 6px 112px;
    }

    .fan-menu-item > span {
        width: 92px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        gap: 10px;
    }

    .custom-logo,
    .site-logo-fallback {
        max-width: 132px;
        max-height: 48px;
    }

    .fan-navigation {
        width: 180px;
        height: 52px;
        flex-basis: 180px;
    }

    .fan-menu-toggle,
    .fan-menu-item {
        width: 172px;
        height: 44px;
        border-radius: 6px;
    }

    .fan-pivot,
    .fan-menu {
        left: 10px;
    }

    .fan-menu-toggle {
        padding: 0 14px 0 39px;
    }

    .fan-toggle-label {
        font-size: 11.5px;
    }

    .fan-menu-slot {
        top: -22px;
        height: 44px;
    }

    .fan-menu-item {
        padding: 0 6px 5px 78px;
    }

    .fan-menu-item > span {
        width: 80px;
        font-size: 11px;
    }

    /* Compactere opening zodat de waaier binnen een mobiel scherm blijft. */
    .fan-menu-slot:nth-child(1) .fan-menu-item { --fan-angle: 10deg !important; }
    .fan-menu-slot:nth-child(2) .fan-menu-item { --fan-angle: 20deg !important; }
    .fan-menu-slot:nth-child(3) .fan-menu-item { --fan-angle: 30deg !important; }
    .fan-menu-slot:nth-child(4) .fan-menu-item { --fan-angle: 40deg !important; }
    .fan-menu-slot:nth-child(5) .fan-menu-item { --fan-angle: 50deg !important; }
}

@media (prefers-reduced-motion: reduce) {
    .fan-menu-item,
    .fan-menu-toggle,
    .fan-toggle-chevron {
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
    }
}


/* Homepage anker-navigatie vanuit de kleurenwaaier. */
#home,
#diensten,
#over-bert,
#projecten {
    scroll-margin-top: 118px;
}

@media (max-width: 980px) {
    #home,
    #diensten,
    #over-bert,
    #projecten {
        scroll-margin-top: 96px;
    }
}


/* Vaste WhatsApp-knop op iedere pagina */
.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1450;
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 7px 18px 7px 8px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 999px;
    color: #fff;
    background: #159f84;
    box-shadow: 0 14px 34px rgba(8,47,86,.20);
    font-size: 14px;
    font-weight: 900;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    color: #fff;
    background: #108e75;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(8,47,86,.24);
}
.floating-whatsapp-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
}
.floating-whatsapp-icon svg {
    width: 25px;
    height: 25px;
    fill: #fff;
}
@media (max-width: 640px) {
    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        width: 56px;
        min-height: 56px;
        padding: 7px;
        justify-content: center;
    }
    .floating-whatsapp-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0,0,0,0);
        white-space: nowrap;
    }
}


/* Contactmogelijkheden - rustige huisstijlvariant */
.contact-palette {
    position: relative;
    margin-top: 30px;
}

.contact-palette-fan {
    position: absolute;
    right: 18px;
    top: -24px;
    z-index: 0;
    width: 82px;
    height: 34px;
    opacity: .10;
    pointer-events: none;
}

.contact-palette-fan span {
    position: absolute;
    right: 0;
    bottom: 3px;
    width: 66px;
    height: 6px;
    border-radius: 999px;
    transform-origin: calc(100% - 4px) 50%;
}

.contact-palette-fan span:nth-child(1){background:var(--be-yellow);transform:rotate(-24deg)}
.contact-palette-fan span:nth-child(2){background:var(--be-orange);transform:rotate(-8deg)}
.contact-palette-fan span:nth-child(3){background:var(--be-pink);transform:rotate(8deg)}
.contact-palette-fan span:nth-child(4){background:var(--be-green);transform:rotate(24deg)}

.contact-palette .contact-direct-list {
    position: relative;
    z-index: 1;
    gap: 11px;
    margin-top: 0;
}

.contact-swatch {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 16px;
    min-height: 82px;
    padding: 14px 16px 14px 20px;
    overflow: hidden;
    border: 1px solid #e0e6eb;
    border-radius: 16px;
    color: var(--be-ink);
    background: #fff;
    box-shadow: 0 8px 24px rgba(24,33,42,.045);
    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}

.contact-swatch::after {
    display: none;
}

.contact-swatch-accent {
    position: absolute;
    left: 0;
    top: 13px;
    bottom: 13px;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: var(--swatch);
}

.contact-swatch .contact-direct-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: var(--swatch);
    box-shadow: 0 7px 16px var(--swatch-shadow);
}

.contact-swatch .contact-direct-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-direct-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.contact-direct-copy small,
.contact-direct-copy strong {
    display: block;
}

.contact-direct-copy small {
    margin-bottom: 4px;
    color: var(--swatch-dark);
    font-size: 10px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.contact-direct-copy strong {
    color: var(--be-ink);
    font-size: 15.5px;
    line-height: 1.32;
    font-weight: 850;
}

.contact-email-value {
    font-size: 11.8px !important;
    line-height: 1.25 !important;
    letter-spacing: -.025em;
    white-space: nowrap;
}

.contact-card-arrow {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(11,86,157,.13);
    border-radius: 50%;
    background: #fff;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.contact-card-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 1.5px;
    border-radius: 999px;
    background: var(--swatch-dark);
    transform: translate(-58%, -50%);
}

.contact-card-arrow::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    border-top: 1.5px solid var(--swatch-dark);
    border-right: 1.5px solid var(--swatch-dark);
    transform: translate(12%, -50%) rotate(45deg);
}

.contact-swatch:not(.contact-direct-item-static):hover {
    color: var(--be-ink);
    border-color: var(--swatch-border);
    background: #fcfdfe;
    transform: translateX(3px);
    box-shadow: 0 12px 28px rgba(24,33,42,.065);
}

.contact-swatch:not(.contact-direct-item-static):hover .contact-card-arrow {
    border-color: var(--swatch-border);
    background: var(--swatch-soft);
    transform: translateX(2px);
}

.contact-direct-item-static {
    grid-template-columns: 46px minmax(0, 1fr);
}

.contact-swatch-blue{
    --swatch:#0b569d;
    --swatch-dark:#073c70;
    --swatch-soft:rgba(11,86,157,.07);
    --swatch-border:rgba(11,86,157,.24);
    --swatch-shadow:rgba(11,86,157,.16)
}
.contact-swatch-green{
    --swatch:#03a68e;
    --swatch-dark:#087764;
    --swatch-soft:rgba(3,166,142,.07);
    --swatch-border:rgba(3,166,142,.25);
    --swatch-shadow:rgba(3,166,142,.16)
}
.contact-swatch-orange{
    --swatch:#f48f1e;
    --swatch-dark:#a75a04;
    --swatch-soft:rgba(244,143,30,.08);
    --swatch-border:rgba(244,143,30,.26);
    --swatch-shadow:rgba(244,143,30,.16)
}
.contact-swatch-purple{
    --swatch:#a4449b;
    --swatch-dark:#71306b;
    --swatch-soft:rgba(164,68,155,.07);
    --swatch-border:rgba(164,68,155,.24);
    --swatch-shadow:rgba(164,68,155,.14)
}

@media (max-width: 1180px) {
    .contact-email-value {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 640px) {
    .contact-swatch {
        grid-template-columns: 43px minmax(0, 1fr) 25px;
        gap: 13px;
        min-height: 76px;
        padding: 13px 12px 13px 17px;
        border-radius: 14px;
    }

    .contact-swatch .contact-direct-icon {
        width: 43px;
        height: 43px;
        border-radius: 12px;
    }

    .contact-swatch .contact-direct-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-direct-copy strong {
        font-size: 14px;
    }

    .contact-email-value {
        font-size: 12px !important;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .contact-card-arrow {
        width: 24px;
        height: 24px;
    }

    .contact-direct-item-static {
        grid-template-columns: 43px minmax(0, 1fr);
    }
}


/* Laatste polish voor het lange e-mailadres */
@media (min-width: 981px) {
    .contact-page-grid {
        grid-template-columns: .78fr 1.22fr;
    }

    .contact-email-value {
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
}


/* Houtrotherstel - voor/na feature */
.woodrot-section {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.woodrot-section::before {
    content: "";
    position: absolute;
    right: -150px;
    top: 40px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(11,86,157,.035);
    pointer-events: none;
}

.woodrot-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(50px, 7vw, 92px);
    align-items: center;
}

.woodrot-copy h2 {
    max-width: 620px;
    margin: 0;
    color: var(--be-ink);
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.woodrot-copy > p {
    max-width: 600px;
    margin: 20px 0 0;
    color: var(--be-muted);
    font-size: 17px;
    line-height: 1.75;
}

.woodrot-points {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 27px 0 0;
    list-style: none;
}

.woodrot-points li {
    position: relative;
    padding-left: 34px;
    color: var(--be-ink);
    font-weight: 700;
}

.woodrot-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--be-blue);
    font-size: 11px;
    font-weight: 950;
}

.woodrot-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.woodrot-photo {
    margin: 0;
}

.woodrot-image-wrap {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--be-surface);
    box-shadow: 0 16px 38px rgba(24,33,42,.08);
}

.woodrot-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woodrot-photo-before .woodrot-image-wrap img {
    object-position: 55% 47%;
}

.woodrot-photo-after .woodrot-image-wrap img {
    object-position: 52% 35%;
}

.woodrot-label {
    position: absolute;
    left: 15px;
    bottom: 15px;
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--be-blue-dark);
    background: rgba(255,255,255,.94);
    box-shadow: 0 7px 18px rgba(0,0,0,.10);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 980px) {
    .woodrot-grid {
        grid-template-columns: 1fr;
    }

    .woodrot-image-wrap {
        height: 380px;
    }
}

@media (max-width: 640px) {
    .woodrot-compare {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .woodrot-image-wrap {
        height: 300px;
        border-radius: 17px;
    }

    .woodrot-label {
        left: 10px;
        bottom: 10px;
        min-height: 30px;
        padding: 0 10px;
        font-size: 10.5px;
    }
}


/* =========================================================
   Mobiele header + waaier fix v0.5.7
   Desktop blijft ongewijzigd.
   ========================================================= */
@media (max-width: 640px) {

    /* Als de waaier openstaat krijgt hij eigen ruimte in de header,
       zodat hij niet over de hero heen valt. */
    .site-header {
        transition:
            padding-bottom .32s cubic-bezier(.2,.75,.25,1),
            box-shadow .2s ease;
    }

    .site-header.menu-open {
        padding-bottom: 158px;
    }

    .header-inner {
        min-height: 68px;
        gap: 8px;
        align-items: center;
    }

    /* De desktopregel voor het logo is specifieker, dus mobiel expliciet overriden. */
    .site-logo-link .custom-logo,
    .site-logo-link .site-logo-fallback,
    .custom-logo,
    .site-logo-fallback {
        width: auto !important;
        max-width: 118px !important;
        max-height: 50px !important;
        object-fit: contain;
    }

    .site-branding {
        min-width: 0;
        flex: 0 1 auto;
    }

    /* Compactere MENU-plank op telefoon. */
    .fan-navigation {
        width: 150px;
        height: 46px;
        flex: 0 0 150px;
        margin-left: auto;
    }

    .fan-menu-toggle,
    .fan-menu-item {
        width: 146px;
        height: 40px;
        border-radius: 6px;
    }

    .fan-pivot,
    .fan-menu {
        left: 9px;
    }

    .fan-pivot {
        width: 13px;
        height: 13px;
        border-width: 2px;
    }

    .fan-menu-toggle {
        padding: 0 12px 0 35px;
    }

    .fan-toggle-label {
        padding-top: 1px;
        font-size: 10.5px;
        letter-spacing: .08em;
    }

    .fan-toggle-chevron {
        width: 9px;
        height: 9px;
        border-width: 1.5px;
    }

    .fan-menu-slot {
        top: -20px;
        height: 40px;
    }

    .fan-menu-item {
        align-items: flex-end;
        padding: 0 5px 4px 69px;
        transform-origin: 0 50%;
    }

    .fan-menu-item > span {
        width: 68px;
        padding: 3px 5px 4px;
        border-radius: 5px;
        font-size: 9.5px;
        line-height: 1;
        letter-spacing: 0;
    }

    /* Op telefoon mag de waaier duidelijk verder openstaan.
       Hierdoor blijven de vijf labels beter van elkaar los. */
    .fan-menu-slot:nth-child(1) .fan-menu-item { --fan-angle: 10deg !important; }
    .fan-menu-slot:nth-child(2) .fan-menu-item { --fan-angle: 25deg !important; }
    .fan-menu-slot:nth-child(3) .fan-menu-item { --fan-angle: 40deg !important; }
    .fan-menu-slot:nth-child(4) .fan-menu-item { --fan-angle: 55deg !important; }
    .fan-menu-slot:nth-child(5) .fan-menu-item { --fan-angle: 70deg !important; }

    /* De hero hoeft tijdens het openen niet onder de uitgeklapte waaier te verdwijnen. */
    .site-header.menu-open + .site-main {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 380px) {
    .site-logo-link .custom-logo,
    .site-logo-link .site-logo-fallback,
    .custom-logo,
    .site-logo-fallback {
        max-width: 104px !important;
    }

    .fan-navigation {
        width: 142px;
        flex-basis: 142px;
    }

    .fan-menu-toggle,
    .fan-menu-item {
        width: 138px;
    }

    .fan-menu-item {
        padding-left: 64px;
    }

    .fan-menu-item > span {
        width: 65px;
        font-size: 9px;
    }
}


/* =========================================================
   Mobiele tekstvakjes waaier v0.6.0
   Zelfde waaier als v0.5.7; alleen compacte labels verder naar rechts.
   ========================================================= */
@media (max-width: 640px) {

    .fan-menu-item {
        padding-left: 88px !important;
        padding-right: 3px !important;
    }

    .fan-menu-item > span {
        width: 49px !important;
        min-width: 49px !important;
        max-width: 49px !important;
        padding: 3px 4px 4px !important;
        margin: 0 !important;

        font-size: 8.7px !important;
        line-height: 1 !important;
        letter-spacing: -.015em !important;

        text-align: center;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;

        transform: translateX(2px) !important;
    }
}

/* Op heel smalle telefoons nog een tikje compacter. */
@media (max-width: 380px) {
    .fan-menu-item {
        padding-left: 82px !important;
    }

    .fan-menu-item > span {
        width: 47px !important;
        min-width: 47px !important;
        max-width: 47px !important;
        font-size: 8.3px !important;
        transform: translateX(1px) !important;
    }
}


/* =========================================================
   Mobiele header-gap fix v0.6.1
   De waaier blijft exact hetzelfde; de header wordt niet meer
   kunstmatig hoger wanneer het menu geopend is.
   ========================================================= */
@media (max-width: 640px) {
    .site-header.menu-open {
        padding-bottom: 0 !important;
    }

    .site-header {
        overflow: visible !important;
    }

    .header-inner,
    .fan-navigation,
    .fan-menu {
        overflow: visible !important;
    }
}
