/* VergunningKompas — site.css
   Basis stylesheet voor gemeente- en product-SEO-pagina's.
   Zelfde tokens als marketing.css, plus .topbar / .brand navigatie. */

/* --- Design Tokens --- */
:root {
  --bg:          #FAFAF7;
  --surface:     #FFFFFF;
  --primary:     #1E3A5F;
  --accent:      #F97316;
  --text:        #1C2B3A;
  --muted:       #64748B;
  --border:      #E2E8F0;
  --tint:        #F1F5F9;
  --font-sans:   "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-md:   10px;
  --radius-lg:   14px;
  --shadow-sm:   0 1px 3px rgba(30,58,95,0.06), 0 1px 2px rgba(30,58,95,0.04);
  --gap-3:  12px; --gap-4: 16px; --gap-6: 24px;
  --gap-8:  32px; --gap-10: 40px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.4em; }
li { margin-bottom: 4px; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700; color: var(--text);
  letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 16px;
}
h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { margin: 0 0 16px; color: var(--muted); }

.muted { color: var(--muted); }

/* --- Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* --- Header / Topbar --- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.brand a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-title { font-weight: 700; font-size: 1rem; color: var(--text); }
.brand small { font-size: 0.75rem; color: var(--muted); }

.topnav { display: flex; align-items: center; gap: 24px; }
.topnav a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
}
.topnav a:hover { color: var(--primary); text-decoration: none; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-primary, .btn-accent {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.btn-primary:hover, .btn-accent:hover {
  background: #ea580c;
  border-color: #ea580c;
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); text-decoration: none; }

/* --- Footer --- */
footer {
  margin-top: 80px;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--primary); }

/* --- Responsive --- */
@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; gap: 10px; }
  .topnav { gap: 14px; flex-wrap: wrap; }
  .brand small { display: none; }
}
