/* ============================================================
   FREINET MIDDELBAAR KEMPEN — GEDEELDE STIJL
   Palet: mint + geel + zwart + paper. Bold condensed display.
   Handgetekende accenten via SVG.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Caveat:wght@500;700&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Archivo:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Hoofdpalet */
  --mint: #A5E0E5;
  --mint-deep: #7BC4CB;
  --mint-pale: #D6F0F2;
  --yellow: #F9D71C;
  --yellow-warm: #F5C518;
  --paper: #FAF5E6;
  --paper-warm: #F4EBD0;
  --ink: #151515;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;

  /* Accenten voor sterren/markers */
  --pink: #E86A9B;
  --coral: #FF8C6E;
  --lime: #C9E26C;
  --violet: #9D7DD1;

  /* Fonts */
  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-headline: 'Archivo', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;

  --maxw: 1280px;
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--mint);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.4rem, 6.5vw, 5.2rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

h4 {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-headline);
  font-weight: 900;
}

p { max-width: 62ch; }

strong { font-weight: 700; }

.hand {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.3em;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ink);
}

/* Label: gesperiode caps tussen vierkante haakjes */
.label {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.label::before { content: '['; color: var(--ink); font-family: var(--font-display); }
.label::after { content: ']'; color: var(--ink); font-family: var(--font-display); }

/* Nummerbadge: gele cirkel met nummer in brackets */
.numbox {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.numbox-num {
  display: inline-grid;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  width: 44px; height: 44px;
  padding-top: 2px;
  box-shadow: 3px 3px 0 var(--ink);
}
.numbox-num.square {
  border-radius: 0;
}
.numbox-num.round {
  border-radius: 50%;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.5rem);
}

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

section.bg-mint { background: var(--mint); }
section.bg-mint-pale { background: var(--mint-pale); }
section.bg-paper { background: var(--paper); }
section.bg-ink { background: var(--ink); color: var(--paper); }
section.bg-ink h1, section.bg-ink h2, section.bg-ink h3, section.bg-ink h4 { color: var(--paper); }
section.bg-yellow { background: var(--yellow); }

/* ============================================================
   NAVIGATIE
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--mint);
  border-bottom: 2px solid var(--ink);
  transition: background 0.3s;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem clamp(1.2rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.brand:hover .brand-mark {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  margin-top: 0.3rem;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 3px;
  background: var(--ink);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 0.65rem 1.2rem !important;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--yellow);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease) !important;
}
.nav-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--yellow);
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--mint);
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem clamp(1.2rem, 4vw, 2.5rem) 2rem;
    border-bottom: 2px solid var(--ink);
    gap: 0.5rem;
    transform: translateY(-120%);
    transition: transform 0.3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-bottom: 1px dashed var(--ink); padding: 0.9rem 0; }
  .nav-links li:last-child { border-bottom: none; padding-top: 1rem; }
  .nav-links a { font-size: 1.1rem; }
  .nav-cta {
    display: inline-block;
    align-self: flex-start;
    padding: 0.7rem 1.3rem !important;
  }
}

/* ============================================================
   BUTTONS — bold, brutaal, met hard shadow
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn-yellow:hover { box-shadow: 7px 7px 0 var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn svg { width: 18px; height: 18px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 1.8rem;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

/* ============================================================
   STERREN & DECORATIEVE SVG
   ============================================================ */
.star {
  position: absolute;
  width: 80px; height: 80px;
  pointer-events: none;
  z-index: 2;
}
.star svg { width: 100%; height: 100%; display: block; }

/* Pijl handgetekend style */
.hand-arrow { display: inline-block; vertical-align: middle; }

/* ============================================================
   REVEAL ANIMATIE
   ============================================================ */
.js-on .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-on .reveal.in { opacity: 1; transform: translateY(0); }

@keyframes bobble {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--yellow);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { color: var(--paper); }
.footer-brand .brand-mark { background: var(--yellow); }
.footer-tagline {
  color: rgba(250, 245, 230, 0.75);
  font-size: 0.95rem;
  margin-top: 1.1rem;
  max-width: 32ch;
  line-height: 1.5;
}
.footer-col h4 {
  color: var(--yellow);
  margin-bottom: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  color: rgba(250, 245, 230, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 245, 230, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(250, 245, 230, 0.55);
}

/* ============================================================
   PAGE HEADER (voor sub-pagina's)
   ============================================================ */
.page-header {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  margin-bottom: 1rem;
}
.page-header-lead {
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  line-height: 1.5;
  max-width: 58ch;
  margin-top: 1.2rem;
  color: var(--ink-soft);
}

/* ============================================================
   FORMS
   ============================================================ */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: background 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  background: #fff;
  box-shadow: 4px 4px 0 var(--yellow);
}
textarea { min-height: 130px; resize: vertical; }

label {
  display: block;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

/* Chip checkboxes */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label {
  display: inline-block;
  padding: 0.55rem 1rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  cursor: pointer;
  margin: 0;
  transition: transform 0.15s var(--ease), background 0.2s;
}
.chip:hover label { transform: translate(-1px, -1px); }
.chip input:checked + label {
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

.eyebrow-hand {
  font-family: var(--font-hand);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  color: var(--ink);
  transform: rotate(-2deg);
  display: inline-block;
  margin-bottom: 0.8rem;
}

.rotate-1 { transform: rotate(-1deg); }
.rotate-2 { transform: rotate(-3deg); }
.rotate-right { transform: rotate(2deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
