/*
Theme Name: Van Casand
Theme URI: https://www.van-casand.nl/
Author: Solvware B.V.
Author URI: https://solvware.com/
Description: Snel, toegankelijk WordPress-thema voor Van Casand met ingebouwde SEO-, structured-data- en AI-search basis.
Version: 2.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: van-casand
*/

:root {
    --vc-ink: #121517;
    --vc-ink-soft: #4b555b;
    --vc-paper: #f7f8f4;
    --vc-white: #ffffff;
    --vc-line: #dce2dd;
    --vc-blue: #1f58d6;
    --vc-blue-dark: #173f9f;
    --vc-green: #1c9a68;
    --vc-green-dark: #14744f;
    --vc-mint: #e6f5ee;
    --vc-sky: #eaf0ff;
    --vc-radius: 22px;
    --vc-shadow: 0 18px 45px rgba(18, 21, 23, .08);
    --vc-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--vc-paper);
    color: var(--vc-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--vc-blue-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--vc-green-dark); }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 1000;
    padding: .75rem 1rem;
    background: var(--vc-ink);
    color: var(--vc-white);
}
.skip-link:focus { top: 1rem; }

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

.vc-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(220, 226, 221, .85);
    background: rgba(247, 248, 244, .94);
    backdrop-filter: blur(14px);
}
.vc-header__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.vc-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--vc-ink);
    text-decoration: none;
    min-width: max-content;
}
.vc-brand__mark { width: 44px; height: 44px; flex: 0 0 auto; }
.vc-brand__name { display: block; font-size: 1.32rem; font-weight: 760; letter-spacing: -.03em; line-height: 1; }
.vc-brand__tag { display: block; margin-top: 5px; color: var(--vc-ink-soft); font-size: .69rem; letter-spacing: .035em; line-height: 1; }
.custom-logo { display: block; max-height: 56px; width: auto; }

.vc-nav { display: flex; align-items: center; gap: 8px; }
.vc-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.vc-nav li { position: relative; list-style: none; }
.vc-nav a { display: inline-flex; align-items: center; padding: .62rem .68rem; color: var(--vc-ink); font-size: .9rem; font-weight: 680; text-decoration: none; border-radius: 999px; white-space: nowrap; }
.vc-nav a:hover, .vc-nav .current-menu-item > a, .vc-nav .current_page_item > a, .vc-nav .current-menu-ancestor > a { background: var(--vc-white); color: var(--vc-blue-dark); }
.vc-nav .menu-item-has-children > a::after { content: "⌄"; margin-left: 6px; font-size: .72rem; line-height: 1; }
.vc-nav .sub-menu { position: absolute; left: 0; top: calc(100% + 10px); z-index: 70; display: grid; gap: 2px; width: max-content; min-width: 250px; margin: 0; padding: 10px; list-style: none; border: 1px solid var(--vc-line); border-radius: 18px; background: var(--vc-white); box-shadow: var(--vc-shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.vc-nav .sub-menu a { display: flex; width: 100%; padding: .72rem .78rem; border-radius: 12px; white-space: normal; }
.vc-nav li:hover > .sub-menu, .vc-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.vc-nav > ul > li:nth-last-child(-n+2) .sub-menu { left: auto; right: 0; }
.vc-header__cta { display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1rem; background: var(--vc-ink); color: var(--vc-white); border-radius: 999px; text-decoration: none; font-weight: 740; white-space: nowrap; }
.vc-header__cta:hover { background: var(--vc-blue-dark); color: var(--vc-white); }
.vc-mobile-menu { display: none; }

.vc-main { min-height: 60vh; }
.vc-section { padding: 88px 0; }
.vc-section--tight { padding: 56px 0; }
.vc-section--white { background: var(--vc-white); }
.vc-section--ink { background: var(--vc-ink); color: var(--vc-white); }
.vc-section--mint { background: var(--vc-mint); }
.vc-section--sky { background: var(--vc-sky); }

.vc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--vc-green-dark);
    font-size: .79rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}
.vc-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.9rem); max-width: 1050px; margin-bottom: 26px; }
h2 { font-size: clamp(2rem, 4.5vw, 3.65rem); margin-bottom: 24px; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.65rem); margin-bottom: 12px; }
p { margin-top: 0; }
.vc-lead { max-width: 790px; color: var(--vc-ink-soft); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.6; }
.vc-section--ink .vc-lead { color: #c7ced2; }
.vc-kicker { max-width: 760px; font-size: 1.08rem; color: var(--vc-ink-soft); }

.vc-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(90px, 12vw, 155px) 0 90px;
    background:
        radial-gradient(circle at 84% 16%, rgba(31, 88, 214, .16), transparent 30%),
        radial-gradient(circle at 74% 72%, rgba(28, 154, 104, .15), transparent 32%),
        var(--vc-paper);
}
.vc-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: 80px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(31, 88, 214, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(28, 154, 104, .04), 0 0 0 160px rgba(31, 88, 214, .035);
    pointer-events: none;
}
.vc-hero__content { position: relative; z-index: 2; }
.vc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.vc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: .82rem 1.18rem;
    border: 1px solid var(--vc-ink);
    border-radius: 999px;
    background: var(--vc-ink);
    color: var(--vc-white);
    font-weight: 760;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.vc-button:hover { transform: translateY(-1px); background: var(--vc-blue-dark); border-color: var(--vc-blue-dark); color: var(--vc-white); }
.vc-button--ghost { background: transparent; color: var(--vc-ink); }
.vc-button--ghost:hover { background: var(--vc-white); color: var(--vc-ink); border-color: var(--vc-line); }
.vc-button--light { background: var(--vc-white); border-color: var(--vc-white); color: var(--vc-ink); }
.vc-button--light:hover { background: var(--vc-mint); border-color: var(--vc-mint); color: var(--vc-ink); }

.vc-proofbar { border-top: 1px solid var(--vc-line); border-bottom: 1px solid var(--vc-line); background: var(--vc-white); }
.vc-proofbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.vc-proofbar__item { padding: 26px 24px; border-right: 1px solid var(--vc-line); }
.vc-proofbar__item:last-child { border-right: 0; }
.vc-proofbar strong { display: block; font-size: 1.03rem; }
.vc-proofbar span { display: block; margin-top: 4px; color: var(--vc-ink-soft); font-size: .88rem; }

.vc-grid { display: grid; gap: 22px; }
.vc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vc-card {
    position: relative;
    padding: 30px;
    border: 1px solid var(--vc-line);
    border-radius: var(--vc-radius);
    background: var(--vc-white);
    box-shadow: 0 1px 0 rgba(18, 21, 23, .02);
}
.vc-card--accent { background: linear-gradient(145deg, var(--vc-sky), var(--vc-white)); }
.vc-card--green { background: linear-gradient(145deg, var(--vc-mint), var(--vc-white)); }
.vc-card__number { display: inline-flex; margin-bottom: 42px; color: var(--vc-blue-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.vc-card p { color: var(--vc-ink-soft); }
.vc-card__link { display: inline-flex; margin-top: 8px; font-weight: 760; text-decoration: none; }
.vc-card__link::after { content: "→"; margin-left: 8px; }

.vc-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 92px); align-items: start; }
.vc-split--center { align-items: center; }
.vc-panel { padding: clamp(28px, 5vw, 52px); border-radius: 30px; background: var(--vc-white); box-shadow: var(--vc-shadow); }
.vc-panel--dark { background: var(--vc-ink); color: var(--vc-white); }
.vc-panel--dark p { color: #c7ced2; }

.vc-steps { counter-reset: steps; display: grid; gap: 12px; }
.vc-step { counter-increment: steps; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--vc-line); }
.vc-step::before { content: "0" counter(steps); color: var(--vc-blue-dark); font-size: .77rem; font-weight: 800; letter-spacing: .08em; }
.vc-step:last-child { border-bottom: 0; }
.vc-step p { margin: 5px 0 0; color: var(--vc-ink-soft); }

.vc-answer {
    margin: 28px 0;
    padding: 24px 26px;
    border-left: 4px solid var(--vc-green);
    border-radius: 0 18px 18px 0;
    background: var(--vc-white);
}
.vc-answer strong { display: block; margin-bottom: 6px; }
.vc-answer p:last-child { margin-bottom: 0; }

.vc-list { margin: 0; padding: 0; list-style: none; }
.vc-list li { position: relative; padding: 10px 0 10px 29px; border-bottom: 1px solid var(--vc-line); }
.vc-list li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--vc-green-dark); font-weight: 900; }
.vc-list li:last-child { border-bottom: 0; }

.vc-quote { padding: 30px; border-left: 4px solid var(--vc-blue); background: var(--vc-white); border-radius: 0 var(--vc-radius) var(--vc-radius) 0; }
.vc-quote p { font-size: 1.24rem; line-height: 1.5; }

.vc-faq details { border-bottom: 1px solid var(--vc-line); }
.vc-faq summary { cursor: pointer; padding: 20px 0; font-weight: 760; list-style: none; }
.vc-faq summary::-webkit-details-marker { display: none; }
.vc-faq summary::after { content: "+"; float: right; color: var(--vc-blue-dark); }
.vc-faq details[open] summary::after { content: "−"; }
.vc-faq details > div { padding: 0 0 22px; color: var(--vc-ink-soft); }

.vc-page-hero { padding: 100px 0 60px; }
.vc-page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 900px; }
.vc-breadcrumbs { margin-bottom: 28px; color: var(--vc-ink-soft); font-size: .86rem; }
.vc-breadcrumbs a { color: inherit; }
.vc-updated { margin-top: 20px; color: var(--vc-ink-soft); font-size: .82rem; }

.vc-contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; }
.vc-contact-card { padding: 32px; border-radius: var(--vc-radius); background: var(--vc-ink); color: var(--vc-white); }
.vc-contact-card a { color: var(--vc-white); }
.vc-contact-card p { color: #c7ced2; }
.vc-form { display: grid; gap: 18px; }
.vc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vc-field label { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 720; }
.vc-field input, .vc-field textarea, .vc-field select {
    width: 100%;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid #bdc7c0;
    border-radius: 12px;
    background: var(--vc-white);
    color: var(--vc-ink);
}
.vc-field textarea { min-height: 145px; resize: vertical; }
.vc-field input:focus, .vc-field textarea:focus, .vc-field select:focus { outline: 3px solid rgba(31, 88, 214, .17); border-color: var(--vc-blue); }
.vc-honeypot { position: absolute !important; left: -9999px !important; }
.vc-notice { margin-bottom: 22px; padding: 14px 16px; border-radius: 12px; background: var(--vc-mint); border: 1px solid #b9dfcc; }
.vc-notice--error { background: #fff0ef; border-color: #efc0bb; }

.vc-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 7vw, 72px);
    border-radius: 34px;
    background: var(--vc-ink);
    color: var(--vc-white);
}
.vc-cta::after { content: ""; position: absolute; right: -90px; bottom: -130px; width: 330px; height: 330px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 70px rgba(31,88,214,.10), 0 0 0 140px rgba(28,154,104,.08); }
.vc-cta > * { position: relative; z-index: 2; }
.vc-cta h2 { max-width: 800px; }
.vc-cta p { max-width: 720px; color: #c7ced2; }

.vc-content { padding-bottom: 88px; }
.vc-content > *:first-child { margin-top: 0; }
.vc-content > h2, .vc-content > h3, .vc-content > p, .vc-content > ul, .vc-content > ol, .vc-content > blockquote { max-width: 820px; }
.vc-content .alignwide { max-width: var(--vc-container); }

.vc-footer { padding: 64px 0 26px; background: #0b0e10; color: var(--vc-white); }
.vc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.vc-footer h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.vc-footer p, .vc-footer li { color: #aeb7bc; }
.vc-footer ul { margin: 0; padding: 0; list-style: none; }
.vc-footer li { margin-bottom: 8px; }
.vc-footer a { color: var(--vc-white); }
.vc-footer .vc-brand__tag { color: #aeb7bc; }
.vc-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid #283035; color: #8f999f; font-size: .82rem; }

.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; }

@media (max-width: 980px) {
    .vc-nav, .vc-header__cta { display: none; }
    .vc-mobile-menu { display: block; position: relative; }
    .vc-mobile-menu > summary { cursor: pointer; list-style: none; padding: .65rem .85rem; border: 1px solid var(--vc-line); border-radius: 999px; font-weight: 740; }
    .vc-mobile-menu > summary::-webkit-details-marker { display: none; }
    .vc-mobile-menu[open] > div { position: absolute; right: 0; top: calc(100% + 12px); width: min(86vw, 340px); padding: 16px; border: 1px solid var(--vc-line); border-radius: 18px; background: var(--vc-white); box-shadow: var(--vc-shadow); }
    .vc-mobile-menu ul { margin: 0; padding: 0; list-style: none; }
    .vc-mobile-menu a { display: block; padding: .72rem .7rem; color: var(--vc-ink); text-decoration: none; font-weight: 700; }
    .vc-proofbar__grid { grid-template-columns: repeat(2, 1fr); }
    .vc-proofbar__item:nth-child(2) { border-right: 0; }
    .vc-proofbar__item:nth-child(-n+2) { border-bottom: 1px solid var(--vc-line); }
    .vc-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .vc-grid--3 { grid-template-columns: 1fr; }
    .vc-split, .vc-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .vc-container { width: min(calc(100% - 28px), var(--vc-container)); }
    .vc-header__inner { min-height: 72px; }
    .vc-brand__tag { display: none; }
    .vc-hero { padding: 82px 0 68px; }
    .vc-section { padding: 64px 0; }
    .vc-grid--2, .vc-grid--4, .vc-form-row { grid-template-columns: 1fr; }
    .vc-proofbar__grid { grid-template-columns: 1fr; }
    .vc-proofbar__item, .vc-proofbar__item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--vc-line); }
    .vc-proofbar__item:last-child { border-bottom: 0; }
    .vc-card { padding: 24px; }
    .vc-card__number { margin-bottom: 28px; }
    .vc-footer__grid { grid-template-columns: 1fr; }
    .vc-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Version 2.0: demo content, nested navigation and editorial components. */
.vc-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: vc-step;
}
.vc-steps > li {
    counter-increment: vc-step;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--vc-line);
}
.vc-steps > li::before {
    content: counter(vc-step, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--vc-sky);
    color: var(--vc-blue-dark);
    font-size: .76rem;
    font-weight: 840;
    letter-spacing: .04em;
}
.vc-steps > li:last-child { border-bottom: 0; }
.vc-steps > li strong { display: block; margin-bottom: 4px; }
.vc-steps > li span { display: block; color: var(--vc-ink-soft); }
.vc-steps--large > li { padding: 26px 0; }
.vc-steps--large > li::before { width: 46px; height: 46px; }

.vc-answer--dark { background: rgba(255,255,255,.08); border-left-color: #79d3ac; }
.vc-answer--dark p { color: #d5dcdf; }

.vc-form { position: relative; }
.vc-form > label, .vc-form-row > label { display: grid; gap: 7px; font-size: .9rem; font-weight: 720; }
.vc-form input[type="text"],
.vc-form input[type="email"],
.vc-form input[type="tel"],
.vc-form textarea,
.vc-form select {
    width: 100%;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid #bdc7c0;
    border-radius: 12px;
    background: var(--vc-white);
    color: var(--vc-ink);
}
.vc-form textarea { min-height: 145px; resize: vertical; }
.vc-form input:focus, .vc-form textarea:focus, .vc-form select:focus { outline: 3px solid rgba(31, 88, 214, .17); border-color: var(--vc-blue); }
.vc-form-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.vc-check { grid-template-columns: 22px 1fr !important; align-items: start; font-weight: 500 !important; color: var(--vc-ink-soft); }
.vc-check input { margin-top: 4px; }

.vc-contact-details { margin-top: 28px; }
.vc-contact-details p:last-child { margin-bottom: 0; }

.entry-content > .vc-section:first-child { margin-top: 0; }
.editor-styles-wrapper { background: var(--vc-paper); color: var(--vc-ink); }

@media (max-width: 980px) {
    .vc-mobile-menu .sub-menu { margin: 0 0 4px 14px; padding-left: 10px; border-left: 1px solid var(--vc-line); }
    .vc-mobile-menu .sub-menu a { padding-block: .55rem; font-size: .92rem; font-weight: 620; }
}
