/* =================================================================
   debruinit.nl — één ontwerpsysteem, drie modi

   De site combineert de drie richtingen, maar blijft één geheel
   doordat álles hieronder gedeeld is: typografie, ritme, kleur,
   knoppen, kop en voet. Per paginasoort verschilt alleen de
   OPBOUW, niet de taal:

     mode-film   (A) — homepage: donker, groot beeld, weinig tekst
     mode-systeem (C) — diensten & projecten: schema's, panelen, specs
     mode-verhaal (B) — over & contact: licht, redactioneel, veel lucht

   Terugkerende ankers die het aan elkaar knopen:
     - donkere secties als punctuatie op élke pagina
     - oranje uitsluitend als accent, nooit als vlak achter tekst
     - dezelfde koptekst-schaal en dezelfde witruimte-maat
   ================================================================= */


:root {
	--oranje: #FE8323;
	--oranje-licht: #FF9440;
	--oranje-donker: #E56F14;
	--antraciet: #1C191B;
	--antraciet-op: #262224;
	--inkt: #4A4448;
	--grijs: #7C7478;
	--rand: #E4E1E2;
	--papier: #FBFAFA;
	--papier-2: #F3F1F1;

	--font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* één ritme voor de hele site */
	--sectie: clamp(3.5rem, 8vw, 6.5rem);
	--marge: clamp(1.2rem, 4vw, 2.5rem);
	--breed: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--antraciet);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--breed); margin: 0 auto; padding: 0 var(--marge); }
.smal { max-width: 780px; }

/* ---------- typografie: één schaal voor alle modi ---------- */
h1, h2, h3, h4 { letter-spacing: -.025em; margin: 0; line-height: 1.1; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -.018em; }
p  { line-height: 1.7; color: var(--inkt); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.6; }

.mono {
	font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
	color: var(--grijs); margin: 0 0 .8rem;
}
.mono--oranje { color: var(--oranje); }

/* accentstreepje — komt op elke paginasoort terug */
.streep::after {
	content: ""; display: block; width: 44px; height: 3px;
	background: var(--oranje); margin-top: .9rem;
}

/* ---------- knoppen ---------- */
.knop {
	display: inline-block; padding: .9rem 1.7rem; border-radius: 3px;
	text-decoration: none; font-weight: 500; letter-spacing: .01em;
	transition: background .18s, transform .18s, border-color .18s;
}
.knop--vol { background: var(--oranje); color: #fff; }
.knop--vol:hover { background: var(--oranje-licht); transform: translateY(-2px); }
.knop--lijn { border: 1px solid var(--rand); color: var(--antraciet); }
.knop--lijn:hover { border-color: var(--antraciet); transform: translateY(-2px); }
.knop--klein { padding: .55rem 1.1rem; font-size: .9rem; }
.knoppen { display: flex; gap: .8rem; flex-wrap: wrap; }

/* op donkere ondergrond */
.donker .knop--lijn { border-color: rgba(255,255,255,.3); color: #fff; }
.donker .knop--lijn:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- kop: identiek op elke pagina, twee kleurstellingen ---------- */
header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--rand);
}
header.op-donker { background: rgba(17,16,17,.72); border-bottom-color: rgba(255,255,255,.08); }
.kop { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 0; }
.kop > a:first-child { flex-shrink: 0; }
.kop img { height: 44px; width: auto; }
/* donkere kop: logo-wit.svg in de HTML, niet de kleurversie omkeren —
   dat maakte van het appel-icoon een wit blok */
header.op-donker .kop img { height: 44px; }
header nav { display: flex; gap: 1.9rem; font-size: .92rem; font-weight: 500; }
header nav a { text-decoration: none; color: var(--inkt); transition: color .2s; }
header nav a:hover, header nav a[aria-current] { color: var(--oranje); }
header.op-donker nav a { color: rgba(255,255,255,.75); }
header.op-donker nav a:hover, header.op-donker nav a[aria-current] { color: var(--oranje); }
header.op-donker .knop--lijn { border-color: rgba(255,255,255,.28); color: #fff; }
@media (max-width: 940px) { header nav { display: none; } }

/* ---------- secties ---------- */
section { padding: var(--sectie) 0; }
.donker { background: var(--antraciet); color: #fff; }
.donker h1, .donker h2, .donker h3 { color: #fff; }
.donker p { color: #B4AEB1; }
.donker .mono { color: #8A8286; }
.donker .mono--oranje { color: var(--oranje); }
.licht { background: var(--papier-2); }

/* ---------- fotoplekken ---------- */
.foto {
	position: relative;
	background:
		repeating-linear-gradient(45deg, rgba(254,131,35,.06) 0 12px, transparent 12px 24px),
		linear-gradient(135deg, #2a2529, #161315);
	border: 1px dashed rgba(254,131,35,.45);
	display: grid; place-items: center; text-align: center; padding: 1rem;
	color: rgba(255,255,255,.55);
	font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
.foto--licht {
	background:
		repeating-linear-gradient(45deg, rgba(28,25,27,.05) 0 12px, transparent 12px 24px),
		linear-gradient(135deg, #ececec, #dedede);
	color: #8a8288; border-color: rgba(28,25,27,.25);
}

/* =================================================================
   MODE FILM (A) — homepage
   ================================================================= */
.film-hero { position: relative; min-height: 86vh; display: grid; align-items: end; overflow: hidden; padding: 0; background: #111011; }
.film-hero .foto { position: absolute; inset: 0; border: 0; }
.film-hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(17,16,17,.5) 0%, rgba(17,16,17,.15) 35%, #111011 92%);
}
.film-hero .inhoud { position: relative; z-index: 2; padding-bottom: clamp(3rem, 8vw, 5.5rem); color: #fff; }
.film-hero h1 { max-width: 16ch; margin-bottom: 1.3rem; }
.film-hero p { color: #BDB7BA; max-width: 52ch; margin: 0 0 2rem; }

.uitspraak p {
	font-size: clamp(1.45rem, 3.2vw, 2.4rem); line-height: 1.3; letter-spacing: -.02em;
	font-weight: 300; max-width: 24ch; margin: 0; color: #fff;
}
.uitspraak .accent { color: var(--oranje); font-weight: 500; }

.drieluik { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.drieluik .vak { background: var(--antraciet); padding: clamp(1.6rem, 3vw, 2.4rem); text-decoration: none; color: inherit; transition: background .25s; }
.drieluik .vak:hover { background: var(--antraciet-op); }
.drieluik .beeld { aspect-ratio: 4/3; margin-bottom: 1.5rem; }
.drieluik h3 { margin-bottom: .7rem; }
.drieluik p { font-size: .97rem; margin: 0 0 1rem; }
.drieluik .pijl { color: var(--oranje); font-weight: 500; font-size: .92rem; }
@media (max-width: 900px) { .drieluik { grid-template-columns: 1fr; } }

/* =================================================================
   MODE SYSTEEM (C) — diensten & projecten
   ================================================================= */
.systeem-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.systeem-hero h1 { margin: .6rem 0 1.1rem; font-size: clamp(2rem, 4.4vw, 3.3rem); }
@media (max-width: 900px) { .systeem-hero { grid-template-columns: 1fr; } }

.paneel { background: var(--antraciet); border-radius: 8px; padding: 1.3rem; color: #fff; box-shadow: 0 24px 60px rgba(28,25,27,.2); }
.paneel-kop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.paneel-kop .mono { margin: 0; color: #8A8286; }
.stip { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.16); }
.tegels { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.tegel { background: var(--antraciet-op); border-radius: 5px; padding: .85rem; }
.tegel .mono { font-size: .62rem; margin: 0; color: #7C7478; }
.tegel b { display: block; font-size: 1.3rem; font-weight: 500; margin-top: .3rem; letter-spacing: -.02em; }
.tegel.aan b { color: var(--oranje); }
.paneel-rij { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid #2E292C; font-size: .88rem; }
.paneel-rij:first-of-type { margin-top: .9rem; }
.paneel-rij span:last-child { color: #8A8286; text-align: right; }

.schema svg { width: 100%; height: auto; }

.blokken { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.blok { border: 1px solid var(--rand); border-radius: 8px; padding: 1.7rem; text-decoration: none; color: inherit; display: block; transition: border-color .2s, transform .2s, box-shadow .2s; }
.blok:hover { border-color: var(--oranje); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(28,25,27,.09); }
.blok h3 { margin: .8rem 0 .6rem; }
.blok p { font-size: .96rem; margin: 0 0 1rem; }
@media (max-width: 900px) { .blokken { grid-template-columns: 1fr; } }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font-size: .74rem; padding: .28rem .6rem; background: var(--papier-2); border-radius: 3px; color: #554E52; }
.donker .tag { background: var(--antraciet-op); color: #B4AEB1; }

.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: .85rem 0; border-bottom: 1px solid var(--rand); font-size: .95rem; vertical-align: top; }
.specs th { width: 30%; font-weight: 500; color: var(--grijs); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 1rem; }
.donker .specs th, .donker .specs td { border-color: rgba(255,255,255,.12); }
.donker .specs td { color: #D6D1D3; }

.stappen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stap { border-top: 3px solid var(--oranje); padding-top: 1rem; }
.stap h4 { margin: .5rem 0; font-size: 1.05rem; }
.stap p { margin: 0; font-size: .92rem; }
@media (max-width: 900px) { .stappen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stappen { grid-template-columns: 1fr; } }

/* =================================================================
   MODE VERHAAL (B) — over & contact
   ================================================================= */
.verhaal-hero { background: var(--papier); border-bottom: 1px solid var(--rand); }
.verhaal-hero h1 { max-width: 18ch; margin-bottom: 1.4rem; }
.verhaal-hero h1 em { font-style: normal; color: var(--oranje); }
.verhaal-onder { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
@media (max-width: 880px) { .verhaal-onder { grid-template-columns: 1fr; } }

.feiten { border-left: 2px solid var(--oranje); padding-left: 1.3rem; margin: 0; }
.feiten dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grijs); }
.feiten dd { margin: .2rem 0 1.1rem; font-size: 1.02rem; font-weight: 500; }

.tekst { max-width: 66ch; }
.tekst p { font-size: 1.06rem; margin: 0 0 1.4rem; }
.tekst h2 { margin: 2.6rem 0 1rem; }

.genummerd { display: grid; }
.regel {
	display: grid; grid-template-columns: 3.5rem 1fr 1.1fr; gap: clamp(1rem, 3vw, 2.4rem);
	padding: 2rem 0; border-bottom: 1px solid var(--rand); align-items: start;
	text-decoration: none; color: inherit; transition: background .2s;
}
.regel:first-child { border-top: 1px solid var(--rand); }
.regel:hover { background: var(--papier-2); }
.regel .nr { color: var(--oranje); font-weight: 500; font-size: .9rem; padding-top: .3rem; }
.regel p { margin: 0; }
.regel .merken { font-size: .85rem; color: var(--grijs); margin-top: .5rem; }
@media (max-width: 780px) { .regel { grid-template-columns: 2.5rem 1fr; } .regel p { grid-column: 2; } }

.citaat blockquote { margin: 0; font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.4; letter-spacing: -.02em; font-weight: 300; max-width: 26ch; color: #fff; }
.citaat cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: .9rem; color: #9A9296; }

.contactblok { background: var(--papier-2); padding: clamp(1.5rem, 4vw, 2.3rem); border-radius: 8px; }
.contactblok dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grijs); }
.contactblok dd { margin: .25rem 0 1.2rem; font-size: 1.08rem; font-weight: 500; }

/* ---------- voet: overal identiek, altijd donker ---------- */
footer { background: var(--antraciet); color: #8A8286; padding: clamp(2.5rem, 6vw, 4rem) 0 3rem; }
footer img { height: 26px; width: auto; margin-bottom: 1.4rem; }
.voet-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.voet-grid h4 { color: #fff; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 500; }
.voet-grid a { display: block; text-decoration: none; padding: .3rem 0; font-size: .92rem; transition: color .2s; }
.voet-grid a:hover { color: var(--oranje); }
.voet-onder { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .82rem; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
@media (max-width: 780px) { .voet-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp-knop ---------- */
.wa {
	position: fixed; right: 20px; bottom: 68px; z-index: 90;
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .7rem 1.1rem; border-radius: 999px;
	background: #25D366; color: #fff; font-weight: 500; text-decoration: none;
	box-shadow: 0 6px 20px rgba(0,0,0,.2); transition: transform .15s;
}
.wa:hover { transform: translateY(-2px); }
@media (max-width: 600px) { .wa span { display: none; } .wa { padding: .8rem; } }

/* ---------- kieslint (alleen tijdens het kiezen) ---------- */
.kieslint {
	position: fixed; inset: auto 0 0 0; z-index: 99;
	background: #000; color: #fff; font-size: .8rem; padding: .55rem 1rem;
	display: flex; gap: 1.1rem; align-items: center; justify-content: center; flex-wrap: wrap;
	border-top: 2px solid var(--oranje);
}
.kieslint a { color: #fff; text-decoration: none; opacity: .55; }
.kieslint a:hover, .kieslint a[aria-current] { opacity: 1; color: var(--oranje); }
.kieslint strong { color: var(--oranje); font-weight: 500; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--oranje); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Telefoonnummer permanent in de paginakop — bedient de bezoeker die nu
   wil bellen beter dan welke knop dan ook. */
.kop-tel {
	text-decoration: none; font-weight: 500; font-size: .95rem;
	margin-left: auto; margin-right: 1.2rem; white-space: nowrap;
}
header.op-donker .kop-tel { color: #fff; }
@media (max-width: 640px) { .kop-tel { display: none; } }
