/* Van der Burg Beesd - design system
   Merk: #005196  |  Space Grotesk (koppen) + Inter (tekst) */

:root {
  --radius: 6px;
  --brand: oklch(0.435 0.132 250);
  --brand-hex: #005196;
  --brand-foreground: #fafafa;
  --brand-soft: oklch(0.435 0.132 250 / 0.08);
  --background: oklch(0.985 0.002 250);
  --surface-2: oklch(0.965 0.003 250);
  --foreground: oklch(0.185 0.02 260);
  --muted: oklch(0.955 0.005 260);
  --muted-foreground: oklch(0.5 0.015 260);
  --card: #ffffff;
  --border: oklch(0.9 0.01 260);
  --shadow-elegant: 0 20px 60px -20px color-mix(in oklab, var(--brand) 25%, transparent);
  --shadow-soft: 0 8px 30px -12px rgba(0, 0, 0, 0.08);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.015em; font-weight: 600; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1216px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.brand { color: var(--brand); }
.muted { color: var(--muted-foreground); }
.eyebrow {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--brand);
}
.balance { text-wrap: balance; }
.lead { font-size: 1.125rem; color: var(--muted-foreground); max-width: 56ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: all 0.16s ease; border: 1px solid transparent; line-height: 1;
}
.btn-brand { background: var(--brand); color: var(--brand-foreground); border-color: var(--brand); }
.btn-brand:hover { filter: brightness(1.1); }
.btn-outline { border-color: var(--border); background: transparent; color: var(--foreground); }
.btn-outline:hover { background: var(--muted); }
.btn-light { background: var(--card); color: var(--brand); border-color: var(--border); }
.btn-light:hover { background: var(--muted); }
.btn-lg { padding: 16px 32px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; background: var(--brand); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-foreground); font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.logo-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); margin-top: 4px; }
.nav { display: none; align-items: center; gap: 32px; }
.nav a { font-size: 0.875rem; font-weight: 500; color: color-mix(in oklab, var(--foreground) 80%, transparent); transition: color 0.16s; }
.nav a:hover, .nav a.active { color: var(--brand); }
.nav-cta { padding: 10px 20px; background: var(--brand); color: var(--brand-foreground); border-radius: var(--radius); border: 1px solid var(--brand); }
.nav-cta:hover { filter: brightness(1.1); color: var(--brand-foreground) !important; }
.menu-btn {
  display: flex; flex-direction: column; gap: 6px; width: 40px; height: 40px;
  align-items: center; justify-content: center; background: none; border: none; cursor: pointer; margin-right: -8px;
}
.menu-btn span { display: block; width: 20px; height: 1px; background: var(--foreground); transition: transform 0.2s; }
.menu-btn.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent); background: var(--background); }
.mobile-nav.open { display: block; }
.mobile-nav nav { display: flex; flex-direction: column; padding: 16px 0; }
.mobile-nav a { padding: 12px 0; font-size: 1rem; font-weight: 500; border-bottom: 1px solid color-mix(in oklab, var(--border) 40%, transparent); }
.mobile-nav a:last-child { border: none; }
.mobile-nav .nav-cta { margin-top: 16px; text-align: center; padding: 12px; }

/* Sections */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }
.bg-surface { background: color-mix(in oklab, var(--surface-2) 60%, transparent); }
.bg-brand { background: var(--brand); color: var(--brand-foreground); }
.divider-y { border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); }

/* Hero */
.hero { padding: 48px 0 64px; }
@media (min-width: 768px) { .hero { padding: 80px 0 96px; } }
.hero-grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; margin-top: 24px; }
.hero p { margin-top: 32px; max-width: 52ch; color: var(--muted-foreground); font-size: 1.125rem; text-wrap: pretty; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-elegant); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 32px 24px; text-align: center; border-left: 1px solid color-mix(in oklab, var(--border) 60%, transparent); }
.stat:first-child { border-left: none; }
@media (min-width: 768px) { .stat { text-align: left; } }
.stat-value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; color: var(--brand); }
.stat-label { margin-top: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }

/* Project grid + cards */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card-project figure { margin: 0; aspect-ratio: 1 / 1; background: var(--muted); border-radius: var(--radius); overflow: hidden; }
.card-project img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.card-project:hover img { transform: scale(1.05); }
.card-project .row { margin-top: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.card-project h3 { font-family: var(--font-sans); font-weight: 500; font-size: 0.875rem; }
.card-project .year { font-size: 10px; font-family: ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
.card-project .cat { font-size: 0.75rem; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.875rem, 3vw, 2.25rem); margin-top: 16px; }
.section-head p { margin-top: 12px; color: var(--muted-foreground); font-size: 0.875rem; max-width: 52ch; }
.link-underline { font-size: 0.875rem; font-weight: 500; color: var(--brand); border-bottom: 1px solid var(--brand); padding-bottom: 4px; }

/* Filter pills */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); }
.pill { padding: 8px 16px; font-size: 0.75rem; font-weight: 500; border-radius: 999px; background: transparent; color: var(--muted-foreground); border: none; cursor: pointer; transition: all 0.16s; }
.pill:hover { color: var(--foreground); background: var(--muted); }
.pill.active { background: var(--brand); color: var(--brand-foreground); }
.filter-count { margin-left: auto; align-self: center; font-size: 0.75rem; color: var(--muted-foreground); }

/* Service teaser (brand section) */
.grid-teaser { display: grid; gap: 56px; }
@media (min-width: 768px) { .grid-teaser { grid-template-columns: repeat(2, 1fr); gap: 80px; } }
.service-row { padding-bottom: 32px; border-bottom: 1px solid color-mix(in oklab, var(--brand-foreground) 15%, transparent); }
.service-row.last { border: none; }
.service-row h3 { font-family: var(--font-sans); font-size: 1.25rem; font-weight: 500; }
.service-row p { margin-top: 12px; font-size: 0.875rem; color: color-mix(in oklab, var(--brand-foreground) 70%, transparent); }

/* Service blocks (diensten) */
.service-block { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.service-block figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.service-block img { width: 100%; height: 100%; object-fit: cover; }
.service-block .body { padding: 32px; }
.service-block .num { font-size: 0.75rem; font-family: ui-monospace, monospace; color: var(--brand); margin-bottom: 12px; }
.service-block h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); }
.service-block .desc { margin-top: 16px; color: var(--muted-foreground); font-size: 0.875rem; }
.service-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 8px; font-size: 0.875rem; }
@media (min-width: 640px) { .service-list { grid-template-columns: repeat(2, 1fr); } }
.service-list li { display: flex; gap: 8px; }
.service-list li::before { content: "·"; color: var(--brand); }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 40px; text-align: left; margin-top: 56px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step .num { font-size: 0.75rem; font-family: ui-monospace, monospace; color: var(--brand); margin-bottom: 12px; }
.step h3 { font-size: 1.25rem; }
.step p { margin-top: 12px; font-size: 0.875rem; color: var(--muted-foreground); }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 80px; } }
.contact-info h1 { font-size: clamp(2.25rem, 4vw, 3rem); margin-top: 16px; }
.contact-info .lead { margin-top: 24px; }
.contact-rows { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.contact-row .label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
.contact-row a, .contact-row .val { margin-top: 6px; display: inline-block; font-size: 1.125rem; font-weight: 500; }
.contact-row a:hover { color: var(--brand); }
.form-wrap { background: var(--card); padding: 40px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }

/* Form fields */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.field label { font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--muted-foreground); letter-spacing: 0.1em; }
.field .input, .field input, .field select, .field textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--border); background: transparent;
  padding: 12px 0; font-size: 15px; font-family: var(--font-sans); color: var(--foreground);
  outline: none; transition: border-color 0.16s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field textarea { resize: vertical; }
.field .error { font-size: 0.75rem; color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 24px; border-radius: var(--radius); text-align: center; }
.form-alert.ok { background: var(--brand-soft); border: 1px solid color-mix(in oklab, var(--brand) 20%, transparent); }
.form-alert.ok h3 { color: var(--brand); font-size: 1.5rem; margin-bottom: 8px; }
.form-alert.err { background: #fdecea; border: 1px solid #f5c6c2; color: #922b21; }

/* Footer */
.site-footer { border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent); background: color-mix(in oklab, var(--surface-2) 50%, transparent); }
.footer-grid { display: grid; gap: 48px; padding: 64px 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.875rem; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent); }
.footer-bottom .row { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: space-between; padding: 24px 0; font-size: 0.75rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .footer-bottom .row { flex-direction: row; } .footer-span2 { grid-column: span 2; } }

.center { text-align: center; }
.mt-cta { margin-top: 80px; }
.hidden { display: none !important; }
@media (min-width: 768px) { .nav { display: flex; } .menu-btn { display: none; } }
