/* Schipper Bouwadvies — stijlblad
   Kleuren uit het logo: olijf #7A7256 op gebroken wit #EBE9E5 */

@font-face { font-family: "Spectral"; src: url("../fonts/spectral-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("../fonts/spectral-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("../fonts/spectral-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("../fonts/spectral-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #EBE9E5;
  --sheet: #F6F5F2;
  --olive: #7A7256;
  --olive-deep: #4E4935;
  --ink: #24221B;
  --ink-soft: #55513F;
  --rule: #CBC6B8;
  --mark: #F3E39B;

  --serif: "Spectral", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--olive-deep); outline-offset: 3px; }

h1, h2, h3 { text-wrap: balance; font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); letter-spacing: -0.01em; max-width: 18ch; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); max-width: 22ch; }
h3 { font-size: 1.375rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 58ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; }
.section--sheet { background: var(--sheet); }

/* Placeholder: nog in te vullen door Ian */
mark.invullen { background: var(--mark); color: var(--ink); padding: 0 .25em; border-radius: 2px; }

/* ---------- Kop ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img.icoon { width: 46px; height: 46px; }
.brand img.woord { width: 168px; }
.nav { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--olive); }
.nav .tel { color: var(--olive-deep); font-weight: 600; }

/* ---------- Maatlijn (het terugkerende element, ontleend aan bouwtekeningen) ---------- */
.maatlijn {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  color: var(--olive);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  margin: 0 0 32px; max-width: none;
}
.maatlijn::before, .maatlijn::after { content: ""; flex: 1; height: 1px; background: var(--olive); }
.maatlijn span { flex: none; }
.maatlijn--links::before { flex: 0 0 28px; }
/* schuine maatstreepjes aan de uiteinden */
.maatlijn i { position: absolute; top: 50%; width: 1px; height: 16px; background: var(--olive); transform: translateY(-50%) rotate(45deg); }
.maatlijn i:first-child { left: 0; }
.maatlijn i:last-child { right: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.hero h1 { margin-bottom: .4em; }
.hero .lead { margin-bottom: 0; }

/* ---------- Keuze particulier / bedrijf ---------- */
.keuze { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--olive); }
.keuze__blok { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.keuze__blok--part { background: var(--sheet); }
.keuze__blok--bedr { background: var(--olive-deep); color: var(--paper); }
.keuze__blok--bedr h2, .keuze__blok--bedr a { color: #fff; }
.keuze__blok h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .3em; }
.keuze__voor { font-size: 1.05rem; margin-bottom: 1.4em; }
.keuze__blok--bedr .keuze__voor { color: #DCD8CB; }
.keuze ul { list-style: none; padding: 0; margin: 0 0 2em; }
.keuze li { padding: 10px 0; border-top: 1px solid var(--rule); }
.keuze__blok--bedr li { border-top-color: rgba(235,233,229,.25); }
.keuze__blok .knop { margin-top: auto; align-self: flex-start; }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 14px 22px; border: 1.5px solid var(--olive-deep); color: var(--olive-deep); background: transparent;
  border-radius: 2px; cursor: pointer; font-family: var(--sans);
}
.knop:hover { background: var(--olive-deep); color: #fff; }
.knop--vol { background: var(--olive-deep); color: #fff; }
.knop--vol:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.knop--licht { border-color: var(--paper); color: #fff; }
.knop--licht:hover { background: var(--paper); color: var(--olive-deep); }

/* ---------- Drie punten ---------- */
.punten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.punten > div { border-top: 1px solid var(--olive); padding-top: 18px; }
.punten h3 { margin-bottom: .35em; }
.punten p { color: var(--ink-soft); margin: 0; }

/* ---------- Dienstpagina's ---------- */
.dienst { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 72px); padding: 56px 0; border-top: 1px solid var(--rule); }
.dienst:first-of-type { border-top: 0; padding-top: 0; }
.dienst h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.dienst__kort { color: var(--ink-soft); font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.dienst h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 1.6em 0 .5em; color: var(--olive-deep); }
.dienst h3:first-child { margin-top: 0; }
.dienst ul { margin: 0 0 1em; padding-left: 1.1em; }
.dienst li { margin-bottom: .35em; }
.dienst li::marker { color: var(--olive); }

.subnav { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 32px; }
.subnav a { font-size: .95rem; text-decoration: none; border: 1px solid var(--rule); padding: 7px 14px; border-radius: 2px; color: var(--ink); background: var(--sheet); }
.subnav a:hover { border-color: var(--olive); }

/* Stappen: echte volgorde, dus genummerd */
.stappen { list-style: none; counter-reset: stap; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.stappen li { counter-increment: stap; border-top: 1px solid var(--olive); padding-top: 14px; }
.stappen li::before { content: counter(stap); display: block; font-family: var(--serif); font-size: 2rem; color: var(--olive); line-height: 1; margin-bottom: 10px; }
.stappen strong { display: block; font-weight: 600; margin-bottom: 4px; }
.stappen span { color: var(--ink-soft); }

/* Normen-lijst */
.normen { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 16px 0 0; }
.normen li { border: 1px solid var(--olive); padding: 6px 12px; font-size: .95rem; color: var(--olive-deep); }

/* Vragen */
.vragen details { border-top: 1px solid var(--rule); padding: 18px 0; max-width: 760px; }
.vragen details:last-child { border-bottom: 1px solid var(--rule); }
.vragen summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.vragen summary::-webkit-details-marker { display: none; }
.vragen summary::after { content: "+"; color: var(--olive); font-family: var(--sans); }
.vragen details[open] summary::after { content: "–"; }
.vragen details p { margin: 12px 0 0; color: var(--ink-soft); }

/* ---------- Over ---------- */
.over { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.portret { aspect-ratio: 4 / 5; background: var(--sheet); border: 1px dashed var(--olive); display: grid; place-items: center; text-align: center; color: var(--olive); padding: 24px; font-family: var(--serif); font-style: italic; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
form .veld { margin-bottom: 18px; }
form label, form legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
form input, form select, form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--rule); border-radius: 2px; padding: 12px 14px;
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: var(--olive); }
form textarea { min-height: 150px; resize: vertical; }
form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.radios { display: flex; gap: 12px; flex-wrap: wrap; }
.radios label { font-weight: 400; display: flex; align-items: center; gap: 8px; border: 1px solid var(--rule); background: #fff; padding: 10px 16px; cursor: pointer; }
.radios input { width: auto; accent-color: var(--olive-deep); }
.twee { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.verborgen { position: absolute; left: -9999px; }
.gegevens { background: var(--sheet); border-top: 3px solid var(--olive); padding: 28px; }
.gegevens dl { margin: 0; }
.gegevens dt { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }
.gegevens dt:first-child { margin-top: 0; }
.gegevens dd { margin: 2px 0 0; font-weight: 500; }

/* ---------- Contactstrook ---------- */
.strook { background: var(--olive-deep); color: var(--paper); padding: clamp(48px, 6vw, 80px) 0; }
.strook .wrap { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.strook h2 { color: #fff; margin-bottom: .25em; }
.strook p { color: #DCD8CB; margin: 0; }
.strook .acties { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Voet ---------- */
.site-footer { background: var(--ink); color: #BDB8A8; padding: 56px 0 40px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 200px; margin-bottom: 18px; }
.site-footer a { color: #E4E1D7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer h3 { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.site-footer .klein { grid-column: 1 / -1; max-width: none; border-top: 1px solid #3D3A2F; padding-top: 20px; margin-top: 8px; font-size: .85rem; }

/* ---------- Responsief ---------- */
@media (max-width: 860px) {
  .keuze, .dienst, .over, .contact, .site-footer .wrap { grid-template-columns: 1fr; }
  .punten, .stappen { grid-template-columns: 1fr; gap: 28px; }
  .portret { max-width: 320px; }
}
@media (max-width: 560px) {
  .brand img.icoon { width: 38px; height: 38px; }
  .brand img.woord { width: 140px; }
  .nav { gap: 2px 18px; }
  .nav a { font-size: .93rem; }
  .twee { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Lijntekeningen in de hero ---------- */
.hero--beeld { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.tekening { width: 100%; height: auto; color: var(--olive); overflow: visible; }
.tekening .w { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.tekening .h { fill: none; stroke: currentColor; stroke-width: 1; }
.tekening .d { fill: none; stroke: currentColor; stroke-width: 1; }
.tekening .dash { stroke-dasharray: 5 4; }
.tekening .nieuw { fill: rgba(122, 114, 86, .14); }
.tekening rect.nieuw.w, .tekening path.nieuw.w { fill: rgba(122, 114, 86, .14); }
.tekening .las { fill: currentColor; stroke: none; }
.tekening text { fill: currentColor; font-family: var(--sans); font-size: 13px; letter-spacing: .02em; }
.tekening text.lbl { font-family: var(--serif); font-style: italic; font-size: 16px; }
.tekening text.klein { font-size: 13px; }
@media (max-width: 860px) {
  .hero--beeld { grid-template-columns: 1fr; }
  .hero--beeld .tekening { max-width: 440px; }
}
.portret--icoon { border-style: solid; border-color: var(--rule); }
.portret--icoon img { width: 55%; height: auto; }
