/* DigiBuild – voorbeeldwebsite in de huisstijl */
:root {
	--g-b: #243f12; --gold-a: #ddbe48; --gold-b: #8d7827;
	--paper: #f6f5ef; --ink: #1a2412; --muted: #4a5342; --line: #e3e1d6;
	--db-primary: #243f12; --db-accent: #8d7827; --db-text: #4a5342;
	--pad: clamp(20px, 5.5vw, 80px);
	--font: "Albert Sans", system-ui, sans-serif; --serif: "Instrument Serif", Georgia, serif;
}
.nb-header *, .nb-page *, .nb-footer * { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
.nb-page a, .nb-footer a, .nb-header a { text-decoration: none; }

/* ---------- header ---------- */
.nb-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 84px; padding: 0 var(--pad);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	background: rgba(246, 245, 239, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(36, 63, 18, .08); transition: background .3s, border-color .3s; }
.nb-header.on-dark { background: rgba(36, 63, 18, .92); border-color: rgba(221, 190, 72, .2); }
.site-brand { justify-self: start; display: flex; align-items: center; }
.site-brand svg { width: 56px; height: 50px; display: block; fill: var(--g-b); transition: fill .3s; }
.on-dark .site-brand svg { fill: var(--paper); }
.nb-nav { display: flex; gap: clamp(20px, 2.6vw, 40px); font-size: 15px; font-weight: 500; }
.nb-nav a { color: var(--g-b); position: relative; padding: 6px 0; }
.nb-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold-b); transition: right .25s ease; }
.nb-nav a:hover::after, .nb-nav a.active::after { right: 0; }
.on-dark .nb-nav a { color: var(--paper); }
.on-dark .nb-nav a::after { background: var(--gold-a); }
.nb-act { justify-self: end; display: flex; align-items: center; gap: 24px; }
.nb-act .tel { font-size: 15px; color: var(--g-b); opacity: .85; }
.on-dark .nb-act .tel { color: var(--paper); }
.nb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 2px;
	font: 600 15px/1 var(--font); cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.nb-btn svg { width: 16px; height: 16px; flex: none; }
.nb-btn-gold { background: var(--gold-a); color: var(--g-b); }
.nb-btn-gold:hover { background: #e7cb5c; }
.nb-btn-dark { background: var(--g-b); color: var(--paper); }
.nb-btn-dark:hover { background: var(--g-b); }
.nb-btn-line { border-color: var(--g-b); color: var(--g-b); }
.nb-btn-line:hover { background: var(--g-b); color: var(--paper); }
.nb-menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid rgba(36, 63, 18, .3); border-radius: 2px; color: var(--g-b); cursor: pointer; }
.on-dark .nb-menu-btn { color: var(--paper); border-color: rgba(246, 245, 239, .35); }
.nb-mobile-nav { display: none; }

/* ---------- common ---------- */
.nb-wrap { padding-left: var(--pad); padding-right: var(--pad); }
.nb-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-b); margin: 0 0 20px; }
.nb-eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.nb-dark .nb-eyebrow { color: var(--gold-a); }
.nb-h2 { margin: 0; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; font-weight: 600; letter-spacing: -.015em; color: var(--g-b); text-wrap: balance; }
.nb-dark .nb-h2 { color: var(--paper); }
.nb-lead { margin: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--muted); max-width: 560px; }
.nb-dark .nb-lead { color: rgba(246, 245, 239, .82); }
.nb-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--g-b); }
.nb-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.nb-arrow:hover svg { transform: translateX(4px); }
.nb-split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 64px; }
.nb-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.nb-reveal.in { opacity: 1; transform: none; }

/* ---------- diensten ---------- */
.nb-services { padding-top: clamp(80px, 9vw, 128px); padding-bottom: clamp(80px, 8vw, 120px); }
.nb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nb-card { background: #fff; border: 1px solid var(--line); padding: 40px 36px 36px; display: flex; flex-direction: column; gap: 18px; min-height: 340px; transition: transform .3s, box-shadow .3s; }
.nb-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(36, 63, 18, .08); }
.nb-card .n { font-size: 14px; font-weight: 600; color: var(--gold-b); letter-spacing: .06em; }
.nb-card h3 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 600; color: var(--g-b); }
.nb-card p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); flex: 1; }
.nb-card .nb-arrow { border-top: 1px solid var(--line); padding-top: 18px; }
.nb-card.nb-dark { background: var(--g-b); border-color: var(--g-b); color: var(--paper); }
.nb-card.nb-dark .n { color: var(--gold-a); }
.nb-card.nb-dark h3 { color: var(--paper); }
.nb-card.nb-dark p { color: rgba(246, 245, 239, .8); }
.nb-card.nb-dark .nb-arrow { color: var(--gold-a); border-color: rgba(221, 190, 72, .3); }

/* ---------- project ---------- */
.nb-project { padding-bottom: clamp(80px, 9vw, 128px); }
.nb-project .box { display: grid; grid-template-columns: 7fr 5fr; background: #fff; border: 1px solid var(--line); }
.nb-project .img { position: relative; overflow: hidden; min-height: 560px; }
.nb-project .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.nb-project .box:hover .img img { transform: scale(1.03); }
.nb-project .txt { padding: clamp(32px, 4.5vw, 64px) clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 24px; }
.nb-project h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -.015em; color: var(--g-b); }
.nb-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.nb-facts div { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.nb-facts b { font-size: 36px; font-weight: 600; color: var(--g-b); line-height: 1.1; }
.nb-facts b.sm { font-size: 16px; line-height: 1.4; padding: 8px 12px 6px 0; word-break: break-word; }
.nb-facts span { font-size: 14px; color: #5b6452; }
.nb-project .nb-arrow { margin-top: auto; }

/* ---------- werkwijze ---------- */
.nb-process { background: var(--g-b); color: var(--paper); padding-top: clamp(80px, 8vw, 120px); padding-bottom: clamp(80px, 8vw, 120px); }
.nb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(221, 190, 72, .5); }
.nb-step { padding: 36px 32px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.nb-step .num { font-family: var(--serif); font-size: 46px; color: var(--gold-a); line-height: 1; }
.nb-step h3 { margin: 0; font-size: 22px; font-weight: 600; }
.nb-step p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(246, 245, 239, .78); }

/* ---------- quote ---------- */
.nb-quote { background: var(--gold-b); color: #fff; padding-top: clamp(72px, 8vw, 112px); padding-bottom: clamp(72px, 8vw, 112px); display: grid; grid-template-columns: 80px 1fr; gap: 24px 64px; }
.nb-quote svg { width: 56px; height: 44px; fill: #fff; }
.nb-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.1vw, 46px); line-height: 1.25; max-width: 960px; }
.nb-quote .who { margin-top: 32px; display: flex; align-items: center; gap: 16px; font-size: 16px; }
.nb-quote .who::before { content: ""; width: 40px; height: 1px; background: #fff; }

/* ---------- cta ---------- */
.nb-cta { padding-top: clamp(80px, 9vw, 128px); padding-bottom: clamp(80px, 9vw, 128px); display: grid; grid-template-columns: 7fr 4fr; gap: 40px 10%; align-items: center; }
.nb-cta h2 { margin: 0 0 24px; font-size: clamp(36px, 4vw, 58px); line-height: 1.06; font-weight: 600; letter-spacing: -.02em; color: var(--g-b); text-wrap: balance; }
.nb-cta .btns { display: flex; flex-direction: column; gap: 14px; }
.nb-cta .nb-btn { height: 64px; justify-content: space-between; padding: 0 28px; font-size: 17px; }

/* ---------- footer ---------- */
.nb-footer { background: var(--g-b); color: rgba(246, 245, 239, .8); padding-top: 80px; padding-bottom: 40px; }
.nb-footer .cols { display: grid; grid-template-columns: 4fr 2fr 3fr 2fr; gap: 40px; }
.nb-footer svg.logo { width: 72px; height: 64px; fill: var(--paper); }
.nb-footer .tag { margin: 22px 0 0; color: var(--gold-a); }
.nb-footer h3 { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.nb-footer .col a, .nb-footer .col span { display: block; font-size: 15px; line-height: 1.5; margin-bottom: 10px; }
.nb-footer .col a:hover { color: var(--gold-a); }
.nb-footer .bottom { margin-top: 64px; border-top: 1px solid rgba(221, 190, 72, .25); padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: rgba(246, 245, 239, .6); }

/* ---------- 3D intro in de huisstijl ---------- */
.dbi-hud { border-radius: 2px; box-shadow: 0 10px 40px rgba(36, 63, 18, .10); }
.dbi-text h1 em, .dbi-text h2 em { font-family: var(--serif); }
.dbi-split::after { border-radius: 2px; }
html.dbl-lock .site-brand svg { visibility: hidden; }
.dbl-flat svg { fill: var(--g-b) !important; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.nb-header { grid-template-columns: 1fr auto; height: 70px; }
	.nb-nav, .nb-act { display: none; }
	.nb-menu-btn { display: inline-flex; }
	.site-brand svg { width: 44px; height: 40px; }
	.nb-mobile-nav { position: fixed; inset: 70px 0 0 0; z-index: 59; background: var(--g-b); padding: 32px var(--pad); flex-direction: column; gap: 6px; }
	.nb-mobile-nav.open { display: flex; }
	.nb-mobile-nav a { color: var(--paper); font-size: 28px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(221, 190, 72, .2); }
	.nb-mobile-nav .nb-btn { margin-top: 24px; font-size: 16px; height: 54px; border: 0; }
	.nb-split-head, .nb-cta { grid-template-columns: 1fr; }
	.nb-cards { grid-template-columns: 1fr; }
	.nb-card { min-height: 0; }
	.nb-project .box { grid-template-columns: 1fr; }
	.nb-project .img { min-height: 280px; }
	.nb-steps { grid-template-columns: 1fr 1fr; }
	.nb-trust { flex-direction: column; align-items: flex-start; gap: 20px; }
	.nb-trust .logos { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nb-quote { grid-template-columns: 1fr; }
	.nb-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.nb-steps { grid-template-columns: 1fr; }
	.nb-step { padding-right: 0; border-bottom: 1px solid rgba(221, 190, 72, .3); padding-bottom: 24px; }
	.nb-footer .cols { grid-template-columns: 1fr; }
	.nb-footer .bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .nb-reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- thema-integratie ---------- */
body:not(.nb-has-intro) .site-main { padding-top: 84px; }
@media (max-width: 980px) { body:not(.nb-has-intro) .site-main { padding-top: 70px; } }
.nb-header .site-brand { text-align: left; order: 0; }
.nb-about { padding-top: clamp(80px, 9vw, 128px); padding-bottom: clamp(80px, 9vw, 128px); display: grid; grid-template-columns: 5fr 6fr; gap: 40px 8%; }
.nb-about .nb-rich p { margin: 0 0 1.1em; font-size: 17px; line-height: 1.7; color: var(--muted); }
.nb-about .nb-rich strong { color: var(--g-b); }
.nb-fallback-hero { background: var(--g-b); color: var(--paper); padding: calc(84px + clamp(64px, 8vw, 120px)) var(--pad) clamp(64px, 8vw, 120px); }
.nb-fallback-hero h1 { margin: 0; max-width: 900px; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 980px) { .nb-about { grid-template-columns: 1fr; } }
.nb-page h1, .nb-page h2, .nb-page h3, .nb-cta h2, .nb-footer h3, .nb-fallback-hero h1, .nb-mobile-nav a { text-transform: none; }
.nb-page h3 { line-height: 1.2; }
a.nb-arrow:hover { color: var(--g-b); }
.nb-card.nb-dark a.nb-arrow:hover { color: #e7cb5c; }
.nb-header a.tel:hover, .nb-footer a:hover { color: var(--gold-a); }
.nb-header .site-brand:hover { color: inherit; }
.nb-about .nb-h2 { margin-bottom: 0; }
.nb-btn, .nb-act .tel, .nb-nav a { white-space: nowrap; }
.dbi-text h1, .dbi-text h2 { font-weight: 600; }
@media (max-width: 1280px) { .nb-act .tel { display: none; } }
.nb-step h3, .nb-card.nb-dark h3, .nb-fallback-hero h1 { color: var(--paper); }
.nb-quote blockquote, .nb-quote b { color: #fff; }
.nb-header { grid-template-columns: auto 1fr auto; column-gap: 32px; }
.nb-header .nb-nav { justify-self: center; }
@media (max-width: 980px) { .nb-header { grid-template-columns: 1fr auto; } }
