/* Mika Middelheim, mi-ka.be. Ontwerp: variant E (5 nov 2026). */
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-normal-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-normal-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Eén kleurwissel: dag = crème (papier), nacht = donker. */
:root {
  --papier: #f4f2ee;
  --nacht: #1b2a2d;
  --petrol: #2f595e;
  --koraal: #b5523b;
  --tekst: #3a3530;
  --tekst-licht: #6b665f;
  --lijn: #d9d6d0;
  --wit: #ffffff;
  --zij: clamp(24px, 5vw, 80px);
  --breed: 1240px;
  --kop-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
  background-color: var(--nacht);
}

body {
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  background: var(--papier);
  color: var(--tekst);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--nacht);
  color: var(--wit);
  padding: 10px 16px;
}
.skip:focus { top: 12px; }

/* -- VERSCHIJNEN -- */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.js-reveal .reveal.visible { opacity: 1; transform: none; }

/* -- KOPBALK -- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--kop-h);
  padding: 14px var(--zij);
  color: var(--wit);
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0 0 -70px 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(18, 30, 33, 0.68) 0%,
    rgba(18, 30, 33, 0.5) 32%,
    rgba(18, 30, 33, 0.28) 58%,
    rgba(18, 30, 33, 0.1) 80%,
    rgba(18, 30, 33, 0) 100%);
  transition: opacity 0.4s ease;
}

.header[data-tone="licht"] {
  background: rgba(244, 242, 238, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--nacht);
  box-shadow: 0 1px 0 var(--lijn);
}
.header[data-tone="donker"] {
  background: rgba(27, 42, 45, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--wit);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}
.header[data-tone="licht"]::before,
.header[data-tone="donker"]::before { opacity: 0; }

.header-logo-link { display: block; line-height: 0; }

.header-logo {
  display: block;
  width: clamp(112px, 12vw, 168px);
  height: auto;
  color: inherit;
  transition: width 0.4s ease;
}

.header[data-tone="foto"] .header-logo { filter: drop-shadow(0 1px 5px rgba(10, 20, 22, 0.45)); }

.header[data-tone="licht"],
.header[data-tone="donker"] { padding-top: 10px; padding-bottom: 10px; min-height: 0; }
.header[data-tone="licht"] .header-logo,
.header[data-tone="donker"] .header-logo { width: clamp(76px, 6.4vw, 96px); }

.header-cta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  border: 1px solid currentColor;
  padding: 11px 24px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header[data-tone="foto"] .header-cta:hover { background: rgba(255, 255, 255, 0.18); }
.header[data-tone="licht"] .header-cta:hover { background: var(--nacht); color: var(--papier); }
.header[data-tone="donker"] .header-cta:hover { background: var(--wit); color: var(--nacht); }

a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* -- OPENINGSFOTO -- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #2b3a2c;
}

.hero--klein {
  height: 62vh;
  height: 62svh;
  min-height: 420px;
  max-height: 720px;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  display: block;
  animation: hero-in 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes hero-in {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 30, 33, 0.66) 0%, rgba(18, 30, 33, 0.28) 30%, rgba(18, 30, 33, 0) 55%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: var(--breed);
  padding-left: var(--zij);
  padding-right: var(--zij);
  padding-bottom: clamp(48px, 8vh, 88px);
  color: var(--wit);
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0;
  animation: fade-up 1s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero h1 {
  font-size: clamp(36px, 5.6vw, 76px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 14em;
  opacity: 0;
  animation: fade-up 1s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero--klein h1 { font-size: clamp(34px, 4.8vw, 64px); margin-bottom: 0; }

.hero-intro {
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  max-width: 34em;
  opacity: 0;
  animation: fade-up 1s 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 0.94; transform: none; }
}

/* Beeldposities (geen inline stijlen: de CSP laat die niet toe) */
.pos-40 { object-position: center 40%; }
.pos-45 { object-position: center 45%; }
.pos-55 { object-position: center 55%; }
.pos-links { object-position: 30% center; }

/* -- DAG: INLEIDING -- */
.intro {
  padding: clamp(88px, 13vw, 176px) var(--zij);
}

.intro-grid {
  max-width: var(--breed);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 8vw, 128px);
  align-items: start;
}

.intro-lead {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--nacht);
}

.intro-text p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--tekst-licht);
}

/* -- DAG: FOTOGALERIJ -- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 30vw, 440px);
  gap: 4px;
}

.gallery + .gallery { margin-top: 4px; }

.gi {
  position: relative;
  overflow: hidden;
  background: #dcd8d1;
}

.gi img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js-reveal .gi img { transform: scale(1.09); }
.js-reveal .gi.visible img { transform: scale(1); }
.js-reveal .gi.visible:hover img { transform: scale(1.06); transition-duration: 1.6s; }
.gi:not(.visible):hover img { transform: scale(1.04); }

.gi-hoog { grid-row: span 2; }
.gi-breed { grid-column: span 2; }

/* -- OVERGANG: avondfoto -- */
.overgang {
  position: relative;
  height: 80vh;
  min-height: 380px;
  max-height: 900px;
  margin-top: 4px;
  overflow: hidden;
  background: var(--nacht);
}

.overgang img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  display: block;
  transition: transform 1.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js-reveal .overgang img { transform: scale(1.08); }
.js-reveal .overgang.visible img { transform: scale(1); }

.overgang::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 12%;
  background: linear-gradient(to bottom, rgba(27, 42, 45, 0) 0%, var(--nacht) 100%);
  pointer-events: none;
}

/* -- NACHT -- */
.nacht {
  background: var(--nacht);
  color: var(--wit);
  padding-top: clamp(48px, 9vw, 130px);
}

.nacht--voet { padding-top: 0; }

.events {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(520px, 62vw, 760px);
}

.events-beeld {
  position: relative;
  overflow: hidden;
}

.events-beeld img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  display: block;
}

.events-tekst {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 120px) var(--zij);
  max-width: 720px;
}

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
}

.events-tekst h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
}

.events-tekst p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.events-tekst p a { color: var(--wit); text-underline-offset: 3px; }

.events-cta {
  align-self: flex-start;
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wit);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 15px 32px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.events-cta:hover { background: var(--wit); color: var(--nacht); }

.events-volg { margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.events-volg .label { margin-bottom: 10px; }
.events-volg p { font-size: 16px; margin-bottom: 0; }

/* -- NACHT: fotoband. Schuift vanzelf, is niet zijwaarts te vegen en steekt nooit uit. -- */
.band {
  overflow: hidden;
}

.band-spoor {
  display: flex;
  gap: 4px;
  width: max-content;
  animation: band 70s linear infinite;
}

.band img {
  height: clamp(220px, 28vw, 380px);
  width: auto;
  max-width: none;
  flex-shrink: 0;
  display: block;
}

@keyframes band {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 2px)); }
}

/* -- VOET -- */
.voet {
  padding-top: clamp(80px, 11vw, 150px);
  padding-bottom: 36px;
  padding-left: var(--zij);
  padding-right: var(--zij);
}

.groet {
  text-align: center;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  margin-bottom: clamp(56px, 8vw, 96px);
}

.voet-lijn {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: var(--breed);
  margin: 0 auto 44px;
}

.voet-kolommen {
  max-width: var(--breed);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  text-align: center;
}

.voet-kolommen .label { margin-bottom: 10px; }
.voet-kolommen p { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.voet-kolommen a { text-underline-offset: 3px; }
.voet-nav a { text-decoration: none; }
.voet-nav a:hover { text-decoration: underline; }

.voet-onder {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.voet-onder a { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.voet-onder a:hover { color: var(--wit); }

/* -- SUBPAGINA'S: tekst op papier -- */
.inhoud {
  padding: clamp(72px, 10vw, 140px) var(--zij);
}

.inhoud-kader {
  max-width: 760px;
  margin: 0 auto;
}

.inhoud .lead {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--nacht);
  margin-bottom: 36px;
}

.inhoud h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--nacht);
  margin: 56px 0 18px;
}

.inhoud h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrol);
  margin: 32px 0 8px;
}

.inhoud p, .inhoud li {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--tekst);
}

.inhoud p + p { margin-top: 18px; }
.inhoud ul { margin: 12px 0 0 1.2em; }
.inhoud li + li { margin-top: 6px; }
.inhoud a { color: var(--petrol); text-underline-offset: 3px; }

.inhoud .datum { font-size: 14px; color: var(--tekst-licht); margin-bottom: 28px; }

.knop {
  display: inline-block;
  margin-top: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nacht);
  border: 1px solid var(--nacht);
  padding: 15px 32px;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.inhoud a.knop { color: var(--nacht); }
.knop:hover, .inhoud a.knop:hover { background: var(--nacht); color: var(--papier); }

.fotorij {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.fotorij img {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 460px);
  object-fit: cover;
}

/* -- FORMULIER (op de donkere achtergrond) -- */
.aanvraag {
  padding: clamp(72px, 10vw, 140px) var(--zij);
  scroll-margin-top: 60px;
}

.aanvraag-kader { max-width: 760px; margin: 0 auto; }

.aanvraag h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 18px;
}

.aanvraag-intro {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 40px;
}

.formulier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.veld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.veld--breed { grid-column: 1 / -1; }

.veld label, .veld legend {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.veld input, .veld select, .veld textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--wit);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 13px 14px;
  -webkit-appearance: none;
  appearance: none;
}

.veld select {
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.8) 50%), linear-gradient(135deg, rgba(255,255,255,0.8) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.veld select option { color: var(--nacht); }

.veld textarea { min-height: 160px; resize: vertical; }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: 2px solid var(--wit); outline-offset: 0; border-color: var(--wit); }

.veld-hulp { font-size: 14px; color: rgba(255, 255, 255, 0.6); text-transform: none; letter-spacing: 0; font-weight: 400; }
.veld-fout { font-size: 15px; color: #ffb4a3; }
.veld--fout input, .veld--fout textarea, .veld--fout select { border-color: #ffb4a3; }

.akkoord { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.akkoord input {
  width: 22px; height: 22px; margin-top: 3px; flex-shrink: 0; padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.85); background: transparent; cursor: pointer;
}
.akkoord input:checked {
  background: var(--wit) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%231b2a2d' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-color: var(--wit);
}
.akkoord a { color: var(--wit); }

.formulier { position: relative; }
.honing { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.inhoud a { overflow-wrap: anywhere; }

.aanvraag .knop { color: var(--wit); border-color: rgba(255, 255, 255, 0.7); margin-top: 6px; justify-self: start; }
.aanvraag .knop:hover { background: var(--wit); color: var(--nacht); }

.melding {
  grid-column: 1 / -1;
  background: rgba(255, 180, 163, 0.12);
  border: 1px solid rgba(255, 180, 163, 0.5);
  padding: 16px 18px;
  font-size: 16px;
  color: var(--wit);
}

.formulier-noot { grid-column: 1 / -1; font-size: 14px; color: rgba(255, 255, 255, 0.6); }

/* -- RESPONSIEF -- */
@media (max-width: 900px) {
  :root { --kop-h: 68px; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gi-breed { grid-column: span 2; }
  .events { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .events-beeld { min-height: 340px; }
  .events-tekst { max-width: none; }
  .voet-kolommen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 560px) {
  .header { padding-left: 20px; padding-right: 20px; gap: 10px; }
  .header-logo { width: 104px; }
  .header-cta { padding: 9px 14px; font-size: 11px; letter-spacing: 0.1em; }
  .hero { min-height: 520px; }
  .hero--klein { min-height: 380px; }
  .hero-img { object-position: 55% 55%; }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 66vw; }
  .gi-breed { grid-column: auto; }
  .overgang { height: 62vh; }
  .voet-kolommen { grid-template-columns: minmax(0, 1fr); }
  .formulier { grid-template-columns: minmax(0, 1fr); }
  .fotorij { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img, .hero-label, .hero h1, .hero-intro { animation: none; opacity: 1; transform: none; }
  .js-reveal .reveal, .js-reveal .gi img, .js-reveal .overgang img { opacity: 1; transform: none; transition: none; }
  .band-spoor { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .band-spoor [aria-hidden="true"] { display: none; }
  .band img { height: auto; max-height: 280px; max-width: 100%; }
}
