/* ============================================================
   OpZijnEverts.nl — stylesheet
   Basis: warm wit / antraciet, accent: koper (bouwkundig, warm)
   ============================================================ */

:root {
  --bg: #faf8f5;
  --bg-alt: #f2eee8;
  --surface: #ffffff;
  --ink: #26282a;
  --ink-soft: #565b60;
  --line: #e4dfd6;
  --accent: #9c4a22;
  --accent-dark: #7f3b1a;
  --accent-soft: #f4e8e0;

  --font-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 8px;
  --shadow: 0 1px 3px rgba(38, 40, 42, 0.08), 0 6px 20px rgba(38, 40, 42, 0.06);
  --container: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: 0;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { color: var(--accent-dark); }

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

ul { padding-left: 1.25rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand span { color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.site-nav .btn { margin-left: 0.5rem; }

/* Voorkom dat .site-nav a de knopstijl overschrijft */
.site-nav a.btn-primary {
  color: #fff;
  padding: 0.6rem 1.3rem;
  border-bottom: none;
}
.site-nav a.btn-primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1.25rem;
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav a.active { border-bottom-color: var(--line); color: var(--accent); }

  .site-nav .btn {
    margin: 1rem 0 0;
    text-align: center;
    border-bottom: none;
  }
}

/* ------------------------------------------------------------
   Knoppen
   ------------------------------------------------------------ */

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-light:hover { border-color: var(--ink); color: var(--ink); }

/* ------------------------------------------------------------
   Secties
   ------------------------------------------------------------ */

.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--ink);
  color: #f5f3ef;
}
.section-dark h2 { color: #fff; }
.section-dark p { color: #d8d4cd; }

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-head p { color: var(--ink-soft); }

.kicker {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-dark .kicker { color: #e8a37e; }

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  padding: 5rem 0 4rem;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 { margin-bottom: 1rem; }

.hero .lead { margin-bottom: 2rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-signals div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.hero-signals div span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ------------------------------------------------------------
   Foto-placeholders (tot echte projectfoto's beschikbaar zijn)
   ------------------------------------------------------------ */

.photo-placeholder {
  position: relative;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 14px,
      rgba(38, 40, 42, 0.035) 14px,
      rgba(38, 40, 42, 0.035) 15px
    ),
    linear-gradient(160deg, #e9e4db, #ddd6ca);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 220px;
}

.photo-placeholder::after {
  content: attr(data-label);
  font-size: 0.85rem;
  font-weight: 500;
  color: #8a857c;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.photo-placeholder.tall { aspect-ratio: 4 / 5; }
.photo-placeholder.wide { aspect-ratio: 16 / 9; }

.portrait-photo {
  width: 100%;
  min-height: 220px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  object-fit: cover;
  overflow: hidden;
}

.portrait-photo.tall { aspect-ratio: 4 / 5; }
.portrait-photo.wide { aspect-ratio: 16 / 9; }

/* ------------------------------------------------------------
   Kaarten (diensten, doelgroepen, projecten)
   ------------------------------------------------------------ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-grid.two { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 960px) {
  .card-grid, .card-grid.two { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .card-grid, .card-grid.two { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: #cfc7ba;
  box-shadow: var(--shadow);
}

.card h3 { margin-bottom: 0.5rem; }

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin-bottom: 0;
}

.card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.card-icon svg { width: 22px; height: 22px; }

/* Doelgroepenlijst */

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
  margin: 0;
}

.audience-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   Projectkaarten
   ------------------------------------------------------------ */

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.project-card:hover {
  border-color: #cfc7ba;
  box-shadow: var(--shadow);
}

.project-card .photo-placeholder {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  min-height: 0;
}

.project-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-body h3 { margin-bottom: 0.35rem; }

.project-card-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  padding: 0;
  list-style: none;
}

.meta-chips li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.meta-chips li.chip-accent {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

/* ------------------------------------------------------------
   Projectcases (projectenpagina)
   ------------------------------------------------------------ */

.case {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}

.case:first-of-type { border-top: none; padding-top: 1rem; }

.case-media .photo-placeholder { aspect-ratio: 4 / 3; position: sticky; top: 100px; }

.case-body h2 { margin-bottom: 0.4rem; }

.case-facts {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.case-facts li {
  display: flex;
  gap: 1rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.case-facts li:last-child { border-bottom: none; }

.case-facts li span:first-child {
  flex: 0 0 150px;
  font-weight: 600;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; gap: 1.75rem; }
  .case-media .photo-placeholder { position: static; }
}

/* ------------------------------------------------------------
   Werkwijze: tijdlijn
   ------------------------------------------------------------ */

.process-visual {
  margin: 0 0 3rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.process-visual img {
  width: 100%;
  min-width: 980px;
  border-radius: calc(var(--radius) - 4px);
}

@media (max-width: 620px) {
  .process-visual {
    margin-bottom: 2.25rem;
    padding: 0.5rem;
  }

  .process-visual img {
    min-width: 900px;
  }
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 2.25rem 4.25rem;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline .step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline h3 { margin-bottom: 0.3rem; font-size: 1.15rem; }

.timeline p {
  color: var(--ink-soft);
  margin-bottom: 0;
  max-width: 560px;
}

/* Meerwerk-zijroute */

.sidetrack {
  margin: 0 0 2.25rem 4.25rem;
  background: var(--accent-soft);
  border: 1px solid #e5cbb9;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.sidetrack h3 {
  color: var(--accent-dark);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.sidetrack p, .sidetrack li {
  font-size: 0.95rem;
  color: var(--ink);
}

.sidetrack ol {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.sidetrack li { margin-bottom: 0.3rem; }

@media (max-width: 620px) {
  .timeline li { padding-left: 3.4rem; }
  .timeline::before { left: 17px; }
  .timeline .step-num { width: 36px; height: 36px; font-size: 0.9rem; }
  .sidetrack { margin-left: 3.4rem; }
}

/* Compacte stappen op de homepage */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.steps-grid div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.1rem;
  counter-increment: step;
}

.steps-grid div::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.steps-grid div span {
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.4;
  display: block;
}

@media (max-width: 960px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Over Evert
   ------------------------------------------------------------ */

.profile-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.profile-grid .photo-placeholder,
.profile-grid .portrait-photo { position: sticky; top: 100px; }

@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; gap: 2rem; }
  .profile-grid .photo-placeholder,
  .profile-grid .portrait-photo { position: static; max-width: 420px; }
}

.trait-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.trait-list li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}

/* ------------------------------------------------------------
   Diensten (detailpagina)
   ------------------------------------------------------------ */

.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.service:first-of-type { border-top: none; padding-top: 1rem; }

.service h2 { font-size: 1.5rem; }

.service .tasks {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.service .tasks h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.service .tasks ul {
  margin: 0;
  padding-left: 1.1rem;
}

.service .tasks li {
  margin-bottom: 0.35rem;
  font-size: 0.97rem;
}

@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-aside h3 { font-size: 1.1rem; }

.contact-aside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-aside li { margin-bottom: 0.75rem; }

.contact-aside li strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

form .field { margin-bottom: 1.25rem; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

form label .optional {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

form .hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.3rem 0 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #cfc7ba;
  border-radius: var(--radius);
}

input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(156, 74, 34, 0.35);
  outline-offset: 0;
  border-color: var(--accent);
}

textarea { resize: vertical; min-height: 140px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
}

.form-error {
  color: #a02c14;
  font-size: 0.88rem;
  margin-top: 0.3rem;
  display: none;
}

.field.invalid .form-error { display: block; }

.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #a02c14; }

.form-success {
  display: none;
  background: #eef4ec;
  border: 1px solid #c4d8bd;
  border-radius: var(--radius);
  padding: 1.75rem;
}

.form-success h3 { color: #2e5527; }

.form-success.visible { display: block; }

/* ------------------------------------------------------------
   CTA-blok
   ------------------------------------------------------------ */

.cta-band {
  background: var(--ink);
  color: #f5f3ef;
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 { color: #fff; margin-bottom: 0.4rem; font-size: 1.6rem; }

.cta-band p { color: #cfcac2; margin: 0; max-width: 520px; }

.cta-band .btn-primary { flex-shrink: 0; }

@media (max-width: 620px) {
  .cta-band { padding: 2rem; }
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
  background: var(--ink);
  color: #b9b4ac;
  padding: 3.5rem 0 2rem;
  margin-top: 5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #3d4045;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer a { color: #e8e4dd; }
.site-footer a:hover { color: #fff; }

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: 0.5rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #8d8880;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ------------------------------------------------------------
   Subtiele fade-in bij scrollen (respecteert reduced motion)
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .reveal.in-view {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------
   Page hero (subpagina's)
   ------------------------------------------------------------ */

.page-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { margin-bottom: 0.75rem; }

.page-hero .lead {
  max-width: 680px;
  margin-bottom: 0;
}

/* Prose-blokken (privacy, over) */

.prose { max-width: 720px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
