/* ============================================
   BrightBird — Gedeelde basis-stylesheet
   Versie 0.1 — 29 april 2026
   
   Per subdomein wordt --accent en --accent-light
   gedefinieerd in een eigen CSS-bestand.
   ============================================ */

:root {
  /* Gedeelde basiskleuren */
  --bg: #F8F6F1;
  --bg-pure: #FFFFFF;
  --ink: #1F2937;
  --ink-soft: #4B5563;
  --ink-muted: #6B7280;
  --line: #D8D4CC;
  --line-soft: #E8E4DC;
  
  /* Per-subdomein overschreven */
  --accent: #2D3F35;
  --accent-light: #4A5D52;
  --accent-tint: #E8EDE9;
  
  /* Typografie schaal */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --container: 1280px;
  --container-narrow: 900px;
  --pad-x: clamp(24px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 120px);
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============================================
   TYPOGRAFIE
   ============================================ */

.serif { font-family: var(--font-display); font-feature-settings: 'ss01'; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(28px, 3.5vw, 42px);
}

h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
}

h4 {
  font-size: 18px;
  font-weight: 500;
}

p {
  margin-bottom: 1em;
}

p:last-child { margin-bottom: 0; }

em { font-style: italic; }
strong { font-weight: 600; }

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 720px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
  display: block;
}

.section-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 12px;
  display: block;
}

.muted { color: var(--ink-soft); }
.small { font-size: 13px; }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section-divider {
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 760px;
}

/* ============================================
   NAVIGATIE
   ============================================ */

.site-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(248, 246, 241, 0.92);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-logo .accent {
  color: var(--accent);
  font-weight: 400;
  font-style: italic;
  margin-left: 4px;
}

.nav-menu {
  display: flex;
  gap: clamp(16px, 2.5vw, 36px);
  align-items: center;
}

.nav-menu a {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 400;
  position: relative;
  padding: 6px 0;
}

.nav-menu a:hover { color: var(--accent); }

.nav-menu a.cta {
  background: var(--accent);
  color: white;
  padding: 9px 18px;
  border-radius: 1px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-menu a.cta:hover {
  background: var(--accent-light);
  color: white;
}

.nav-toggle {
  display: none;
  font-size: 20px;
  color: var(--ink);
}

@media (max-width: 768px) {
  .nav-menu { 
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 24px var(--pad-x);
    gap: 18px;
    align-items: flex-start;
  }
  .nav-menu.is-open { display: flex; }
  .nav-toggle { display: block; }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding-top: clamp(72px, 10vw, 140px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.hero h1 {
  margin-bottom: clamp(24px, 3vw, 36px);
  max-width: 14ch;
}

.hero .lead {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 1px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: white;
}

.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--ink);
  color: white;
}

.btn-arrow::after { content: "→"; font-size: 16px; }

/* ============================================
   GRID & CARDS
   ============================================ */

.grid {
  display: grid;
  gap: clamp(20px, 2.5vw, 32px);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 40px);
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: var(--accent);
}

.card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.card-link {
  margin-top: 20px;
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.card-link::after { content: " →"; }

/* Cards met accent-bar bovenaan */
.card-accent {
  border-top: 2px solid var(--accent);
  padding-top: clamp(24px, 2.5vw, 32px);
  background: var(--bg-pure);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ============================================
   FEATURE BLOCKS (genummerd)
   ============================================ */

.feature-list {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.feature .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.feature p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============================================
   QUOTE / TESTIMONIAL
   ============================================ */

.quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 800px;
  font-style: italic;
  color: var(--ink);
  position: relative;
  padding-left: 0;
}

.quote-author {
  margin-top: 24px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(48px, 6vw, 80px) 0 32px;
  margin-top: var(--section-y);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-brand .nav-logo {
  color: white;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FORMS
   ============================================ */

.form {
  display: grid;
  gap: 20px;
  max-width: 560px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.form-row input,
.form-row textarea,
.form-row select {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 1px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.bg-tint { background: var(--accent-tint); }
.bg-pure { background: var(--bg-pure); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }

.divider {
  height: 1px;
  background: var(--line);
  margin: clamp(40px, 5vw, 64px) 0;
}

.accent-bar {
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 20px;
}

/* Animatie bij scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
