/* Studio Noest: kasgroen en zand. Licht en donker. */
:root {
  --groen: #1f3a32;
  --zand: #e8c9a0;
  --papier: #f5efe6;
  --vlak: #fffcf7;
  --inkt: #1f3a32;
  --tekst: #2a332f;
  --zacht: #66716b;
  --lijn: #e4d9c8;
  --link: #1f3a32;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #0f1c17;
    --vlak: #172a23;
    --inkt: #e8c9a0;
    --tekst: #e2dccf;
    --zacht: #9daaa3;
    --lijn: #263f36;
    --link: #e8c9a0;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tekst);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.binnen { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .binnen { padding: 0 16px; } }

h1, h2, h3 { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; line-height: 1.15; color: var(--inkt); }
h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.01em; margin: 0 0 24px; }
h3 { font-size: 21px; margin: 16px 0 6px; }
p { margin: 0 0 14px; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible { outline: 3px solid var(--zand); outline-offset: 3px; border-radius: 4px; }
.verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Held: altijd kasgroen met zand */
.held { background: var(--groen); color: #efe6d8; padding: clamp(56px, 10vw, 112px) 0 clamp(48px, 8vw, 88px); }
.held h1 { margin: 0; color: var(--zand); }
.held h1 svg { display: block; width: clamp(240px, 38vw, 400px); height: auto; fill: currentColor; }
.held .ondertitel { font: italic 400 clamp(22px, 2.6vw, 28px)/1.3 Georgia, serif; color: var(--zand); margin: 28px 0 18px; }
.held .intro { max-width: 600px; font-size: 18px; color: #d9d2c4; margin-bottom: 30px; }

.knop {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  background: var(--zand); color: var(--groen); border: 1.5px solid var(--zand); margin: 0 8px 8px 0;
  transition: transform .15s ease, background-color .15s ease;
}
.knop:hover { transform: translateY(-1px); }
.knop.rand { background: transparent; color: var(--zand); }
.knop.rand:hover { background: rgba(232, 201, 160, .12); }

/* Blokken */
.blok { padding: clamp(56px, 8vw, 96px) 0 0; }
.twee { display: grid; gap: 40px 64px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.twee p { max-width: 460px; }
dfn { font-style: normal; font-weight: 600; color: var(--inkt); }

/* Projecten */
.projecten { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .projecten { grid-template-columns: 1fr 1fr; } }
.project {
  display: flex; flex-direction: column;
  background: var(--vlak); border: 1px solid var(--lijn); border-radius: 20px; padding: 24px;
  transition: border-color .15s ease, transform .15s ease;
}
.project:hover { border-color: var(--zand); transform: translateY(-2px); }
.project p { color: var(--tekst); font-size: 16px; }
.project .links { margin: auto 0 0; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; font-weight: 600; }
.label { font-size: 13px; color: var(--zacht); border: 1px solid var(--lijn); border-radius: 999px; padding: 2px 10px; font-weight: 600; }

/* Werkwijze: vier kolommen op breed scherm */
ol.stappen { list-style: none; counter-reset: stap; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 560px) { ol.stappen { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { ol.stappen { grid-template-columns: repeat(4, 1fr); } }
ol.stappen li { counter-increment: stap; border-top: 2px solid var(--inkt); padding-top: 14px; color: var(--tekst); font-size: 16px; }
ol.stappen li::before { content: "0" counter(stap); display: block; font: 600 14px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--zacht); margin-bottom: 10px; }
ol.stappen strong { display: block; font: 400 21px/1.2 Georgia, serif; color: var(--inkt); margin-bottom: 6px; }

/* Contact: weer kasgroen */
.contact { margin-top: clamp(56px, 8vw, 96px); background: var(--groen); color: #d9d2c4; padding-bottom: clamp(48px, 7vw, 80px); }
.contact h2 { color: var(--zand); }

footer { background: var(--groen); color: #9fb0a7; font-size: 14px; padding: 0 0 32px; }
footer .binnen { border-top: 1px solid rgba(232, 201, 160, .18); padding-top: 18px; }
footer p { margin: 2px 0; }
