/* Kock Calculatie & Advies */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-700.woff2') format('woff2'); }

:root {
    --navy: #202030;
    --navy-light: #2c2c44;
    --green: #719247;
    --green-dark: #5b7838;
    --gold: #cdad31;
    --text: #404040;
    --muted: #6b6b6b;
    --light: #f5f5f3;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(32, 32, 48, .12);
    --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; scrollbar-gutter: stable; }
body { margin: 0; font-family: 'Poppins', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.75; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); line-height: 1.25; margin: 0 0 .75em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-header .brand img { height: 44px; width: auto; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.site-nav a { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--gold); }
.site-nav .nav-cta { background: var(--green); color: var(--white); padding: 8px 18px; border-radius: 999px; border: 0; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--green-dark); }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 8px 20px 20px; }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; gap: 4px; }
    .site-nav a { display: block; padding: 10px 0; }
    .site-nav .nav-cta { display: inline-block; margin-top: 8px; }
}

/* Hero */
.hero { position: relative; background: linear-gradient(rgba(32, 32, 48, .72), rgba(32, 32, 48, .88)), url('../images/hero.jpg') center right / cover no-repeat var(--navy); color: var(--white); text-align: center; padding: 72px 0 140px; overflow: hidden; }
.hero img { width: min(520px, 90%); margin: 0 auto 28px; }
.hero h1 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); max-width: 720px; margin: 0 auto .6em; }
.hero p { color: rgba(255, 255, 255, .8); max-width: 640px; margin: 0 auto 2em; }
.hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--white); }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn { display: inline-block; padding: 13px 30px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-outline { border: 2px solid rgba(255, 255, 255, .7); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* Sections */
.section { padding: 88px 0; }
.section-light { background: var(--light); }
.eyebrow { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .6em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.highlight { border-left: 4px solid var(--gold); padding-left: 18px; font-weight: 600; color: var(--navy); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px 20px 84px; margin-bottom: 16px; }
.steps li::before { content: counter(step); position: absolute; left: 24px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); font-family: 'Montserrat', sans-serif; display: flex; align-items: center; justify-content: center; }
.steps strong { display: block; color: var(--navy); }

@media (max-width: 860px) {
    .section { padding: 64px 0; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split.reverse .split-media { order: 0; }
    .split + .split { margin-top: 64px; }
}

/* Bouwkosten */
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .85); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark em { color: var(--gold); font-style: normal; font-weight: 600; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.card { background: var(--navy-light); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 36px; }
.card p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .card { padding: 28px; } }

/* Call to action */
.cta { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: var(--white); text-align: center; padding: 72px 0; }
.cta h2 { color: var(--white); }
.cta p { max-width: 620px; margin: 0 auto 1.8em; color: rgba(255, 255, 255, .9); }
.cta .btn-primary { background: var(--white); color: var(--green-dark); }
.cta .btn-primary:hover { background: var(--navy); color: var(--white); }

/* Contact */
.page-header { background: linear-gradient(rgba(32, 32, 48, .78), rgba(32, 32, 48, .9)), url('../images/hero.jpg') center / cover no-repeat var(--navy); color: rgba(255, 255, 255, .8); padding: 64px 0 56px; }
.page-header h1 { color: var(--white); margin-bottom: .3em; }
.page-header p { margin: 0; max-width: 640px; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: stretch; }
.contact-card { background: var(--light); border-radius: var(--radius); padding: 40px; }
.contact-card address { font-style: normal; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-item svg { flex: none; width: 24px; height: 24px; margin-top: 4px; color: var(--green); }
.contact-item strong { display: block; color: var(--navy); }
.contact-item a { text-decoration: none; font-weight: 600; }
.contact-card .contact-logo { width: 240px; margin-top: 32px; }
#map { min-height: 420px; height: 100%; border-radius: var(--radius); box-shadow: var(--shadow); z-index: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { padding: 28px; } #map { min-height: 320px; } }

/* Footer */
.site-footer { background: #191919; color: rgba(255, 255, 255, .6); font-size: .875rem; padding: 32px 0; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer p { margin: 0; }
.site-footer .credit { display: flex; align-items: center; gap: 6px; }
.site-footer .credit a { display: flex; }
.site-footer .credit img { height: 20px; width: auto; }

/* 404 */
.not-found { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; background: var(--navy); color: rgba(255, 255, 255, .8); }
.not-found img { width: min(360px, 80%); margin-bottom: 32px; }
.not-found h1 { color: var(--white); }
