/* ==========================================================
   Vandooren - gedeelde stijlen (index.html + galerij.html)
   Zacht zwarte basis, witte teksten, groen als accentkleur.
   ========================================================== */

/* Logolettertype: Yanone Kaffeesatz (SIL Open Font License, zie fonts/OFL.txt).
   Lokaal gehost, dus geen externe aanvraag naar Google bij elk bezoek.
   Variabel lettertype: gewicht 200 tot 700 zit in hetzelfde bestand. */
@font-face {
  font-family: "Yanone Kaffeesatz";
  src: url("fonts/yanone-kaffeesatz-latin.woff2") format("woff2");
  font-weight: 200 700;
  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+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Yanone Kaffeesatz";
  src: url("fonts/yanone-kaffeesatz-latin-ext.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #161713;
  --black-2: #1e201a;
  --black-3: #262922;
  --green: #84993F;
  --green-soft: #96AD4A;
  --green-deep: #6d8033;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.10);
  --max: 1180px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  --ease-out: cubic-bezier(0.2, 0.75, 0.2, 1);

  /* Seizoensaccent (overschreven per seizoen, zie onderaan) */
  --season: #96AD4A;
  --season-rgb: 150, 173, 74;
  --hero-tint: rgba(0, 0, 0, 0);
}

/* ---------- Seizoenen (js/seizoen.js zet data-season op <html>) ---------- */
html[data-season="lente"] {
  --season: #b9d36a;
  --season-rgb: 185, 211, 106;
  --hero-tint: rgba(255, 196, 214, 0.09);
}

html[data-season="zomer"] {
  --season: #e2bd55;
  --season-rgb: 226, 189, 85;
  --hero-tint: rgba(255, 205, 110, 0.12);
}

html[data-season="herfst"] {
  --season: #d68f45;
  --season-rgb: 214, 143, 69;
  --hero-tint: rgba(205, 115, 40, 0.15);
}

html[data-season="winter"] {
  --season: #aac8d8;
  --season-rgb: 170, 200, 216;
  --hero-tint: rgba(150, 185, 225, 0.17);
}

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

html {
  scroll-behavior: smooth;
}

/* ankers niet onder de vaste header laten verdwijnen */
section[id],
.season-block {
  scroll-margin-top: 80px;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--white);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

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

.lead {
  font-size: 1.07rem;
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-soft);
}

.eyebrow-light {
  color: #fff;
  opacity: 0.9;
}

.section-head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
  max-width: 760px;
}

/* ---------- Header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 23, 19, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 350;
  color: var(--white);
  font-family: "Yanone Kaffeesatz", "Arial Narrow", Georgia, serif;
  font-size: 1.85rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand b {
  font-weight: 350;
}

/* klein seizoensembleem naast het logo (js/seizoen-sfeer.js) */
.brand-emblem {
  width: 24px;
  height: 24px;
  margin-left: 0.5rem;
  object-fit: contain;
  transform-origin: 50% 90%;
  animation: emblem-sway 4s ease-in-out infinite;
}

html[data-season="winter"] .brand-emblem {
  animation: emblem-spin 14s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes emblem-sway {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

@keyframes emblem-spin {
  to { transform: rotate(360deg); }
}

/* sfeerlaag over de hele pagina: deeltjes en klik-wolkjes */
.season-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 45;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--green-soft);
}

/* ---------- Hero ---------- */

.hero {
  padding: 0;
}

.hero-full {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(var(--hero-tint), var(--hero-tint)),
    linear-gradient(rgba(22, 23, 19, 0.55), rgba(22, 23, 19, 0.72)),
    url('images/hero.webp') 45% center / cover no-repeat;
  background-color: var(--black);
  color: var(--white);
}

@media (max-width: 900px) {
  .hero-full {
    background:
      linear-gradient(var(--hero-tint), var(--hero-tint)),
      linear-gradient(rgba(22, 23, 19, 0.55), rgba(22, 23, 19, 0.72)),
      url('images/hero-1280.webp') 45% center / cover no-repeat;
    background-color: var(--black);
  }
}

/* Staand scherm (gsm, tablet rechtop): de foto past daar niet in de breedte
   en de twee mensen vallen weg. Dan staat de volledige foto bovenaan,
   loopt ze zacht over in het donker en staat de tekst eronder. */
@media (max-aspect-ratio: 5/4) {
  .hero-full {
    align-items: flex-start;
    background:
      linear-gradient(var(--hero-tint), var(--hero-tint)),
      linear-gradient(to bottom,
        rgba(22, 23, 19, 0.15) 0,
        rgba(22, 23, 19, 0.30) 34vw,
        rgba(22, 23, 19, 1) 56.5vw,
        rgba(22, 23, 19, 1) 100%),
      url('images/hero.webp') center top / 100% auto no-repeat;
    background-color: var(--black);
  }

}

@media (max-aspect-ratio: 5/4) and (max-width: 900px) {
  .hero-full {
    background:
      linear-gradient(var(--hero-tint), var(--hero-tint)),
      linear-gradient(to bottom,
        rgba(22, 23, 19, 0.15) 0,
        rgba(22, 23, 19, 0.30) 34vw,
        rgba(22, 23, 19, 1) 56.5vw,
        rgba(22, 23, 19, 1) 100%),
      url('images/hero-1280.webp') center top / 100% auto no-repeat;
    background-color: var(--black);
  }
}

/* Seizoensknop boven de titel: call-to-action naar "Nu in de tuin" */
.season-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  padding: 0.3rem 0.4rem 0.3rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--season-rgb), 0.6);
  background: rgba(22, 23, 19, 0.62);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(var(--season-rgb), 0.35);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  overflow: hidden;
  isolation: isolate;
  animation: chip-in 0.7s var(--ease-out) 0.25s both, chip-glow 3.2s ease-in-out 1.2s infinite;
  transition: translate 0.25s var(--ease-out), border-color 0.2s ease, background 0.2s ease;
}

.season-chip[hidden] {
  display: none;
}

/* lichtglans die af en toe over de knop schuift */
.season-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(var(--season-rgb), 0.28) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: chip-shine 5s ease-in-out 1.5s infinite;
}

.season-chip:hover,
.season-chip:focus-visible {
  translate: 0 -2px;
  border-color: var(--season);
  background: rgba(22, 23, 19, 0.8);
  outline: none;
}

.season-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--season);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.season-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black);
  animation: season-pulse 2.4s ease-out infinite;
}

.season-text {
  min-width: 0;
}

.season-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(var(--season-rgb), 0.2);
  color: var(--season);
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.season-arrow span {
  display: inline-block;
  animation: arrow-bob 1.8s ease-in-out infinite;
}

.season-chip:hover .season-arrow {
  background: var(--season);
  color: var(--black);
}

@keyframes season-pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 23, 19, 0.55); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(22, 23, 19, 0); }
}

@keyframes chip-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes chip-glow {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(var(--season-rgb), 0); }
  50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28), 0 0 0 6px rgba(var(--season-rgb), 0.16); }
}

@keyframes chip-shine {
  0% { transform: translateX(-100%); }
  35%, 100% { transform: translateX(100%); }
}

@keyframes arrow-bob {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

@media (max-width: 560px) {
  .season-chip {
    gap: 0.6rem;
    font-size: 0.92rem;
    border-radius: 24px;
  }
}

/* "Nu in seizoen"-label op de dienst die nu het best past */
.service-card {
  position: relative;
}

.service-card.is-season {
  border-color: rgba(var(--season-rgb), 0.55);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(var(--season-rgb), 0.12), rgba(var(--season-rgb), 0) 60%),
    var(--black-2);
}

.service-card.is-season:hover,
.service-card.is-season:focus-visible {
  border-color: var(--season);
}

.season-flag {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: var(--season);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* seizoensregel in de footer */
.footer-season {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--season);
}

.footer-season::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--season);
}

.footer-season[hidden] {
  display: none;
}

.footer-season:hover {
  color: var(--white);
}

/* three.js-laag: gras, stuifmeel en blaadjes (js/hero-tuin.js) */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
  max-width: 800px;
}

.hero-content p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-points {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hero-point {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.hero-point strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.hero-point span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Knoppen ---------- */

.btn {
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--green-soft);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  border-color: var(--green-soft);
  color: var(--green-soft);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--black-3);
  transform: translateY(-1px);
}

/* ---------- Banden: afwisselend zacht zwart en groen ---------- */

.band-dark {
  background: var(--black);
  color: var(--white);
}

.band-green {
  background: var(--green);
  color: var(--black);
}

.band-green h2,
.band-green h3,
.band-green .eyebrow,
.band-green .label,
.band-green .role,
.band-green strong {
  color: var(--black);
}

.band-green p,
.band-green li,
.band-green a {
  color: rgba(22, 23, 19, 0.82);
}

.band-green a:hover {
  color: var(--black);
}

/* Knoppen houden hun eigen tekstkleur, ook in een groene band */
.band-green .btn-dark,
.band-green .btn-dark:hover {
  color: var(--white);
}

.band-green .btn-primary,
.band-green .btn-primary:hover,
.band-green .feature-btn {
  color: var(--black);
}

/* ---------- Info + diensten ---------- */

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.4rem;
  align-items: start;
}

.info-panel {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}

.hint {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--green-soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-card {
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--black-2);
  color: var(--white);
  padding: 1.35rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: var(--green);
  background: var(--black-3);
  transform: translateY(-2px);
  outline: none;
}

.service-card .nr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(132, 153, 63, 0.18);
  color: var(--green-soft);
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(150, 173, 74, 0.45);
  border-radius: 999px;
  background: rgba(132, 153, 63, 0.12);
  color: var(--green-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.service-badge::before {
  content: "\2713";
  font-weight: 700;
}

.service-badge + .service-more {
  display: block;
}

.service-more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.service-card:hover .service-more::after {
  transform: translateX(3px);
}

.service-more::after {
  content: " \2192";
  display: inline-block;
  transition: transform 0.2s ease;
}

/* ---------- Seizoensblok "Nu in de tuin" ---------- */

.season-block {
  position: relative;
  margin-top: 1.4rem;
  padding: 2rem 1.8rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(var(--season-rgb), 0.14), rgba(var(--season-rgb), 0) 60%),
    var(--black-2);
  overflow: hidden;
}

/* zonder JavaScript is het seizoen onbekend: blok verbergen */
html:not(.js) .season-block {
  display: none;
}

.season-block .eyebrow {
  color: var(--season);
}

/* grote seizoensillustratie in de hoek van het blok */
.season-block::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -50px;
  width: 360px;
  height: 360px;
  background: var(--season-art) center / contain no-repeat;
  opacity: 0.2;
  transform: rotate(-14deg);
  pointer-events: none;
  animation: art-drift 12s ease-in-out infinite;
}

.season-block > * {
  position: relative;
  z-index: 1;
}

@keyframes art-drift {
  0%, 100% { transform: rotate(-14deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(10px); }
}

@media (max-width: 760px) {
  .season-block::after {
    width: 220px;
    height: 220px;
    top: -40px;
    right: -60px;
  }
}

.season-head {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.season-task {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(22, 23, 19, 0.55);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(var(--season-rgb), 0.7);
}

.season-task h3 {
  font-size: 1.12rem;
}

.season-task p {
  font-size: 0.95rem;
}

.season-nr {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--season);
}

.season-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 1.5rem;
}

.season-period {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Hoofdfoto naar galerij ---------- */

.feature-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(22, 23, 19, 0.22);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  height: auto; /* width/height-attributen in de HTML mogen de vorm niet bepalen */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--black-2);
  transition: transform 0.45s ease;
}

.feature-card:hover img {
  transform: scale(1.03);
}

.feature-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  background: linear-gradient(rgba(22, 23, 19, 0), rgba(22, 23, 19, 0.88));
}

.feature-overlay strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  color: var(--white);
}

.feature-overlay p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.feature-btn {
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--black);
  font-weight: 600;
  white-space: nowrap;
}

.feature-card:hover .feature-btn {
  background: var(--green-soft);
}

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.team-card {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  height: auto; /* width/height-attributen in de HTML mogen de vorm niet bepalen */
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  background: var(--black-3);
}

.team-content {
  padding: 1rem 1rem 1.15rem;
}

.role {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-soft);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.contact-card {
  background: rgba(22, 23, 19, 0.10);
  border: 1px solid rgba(22, 23, 19, 0.20);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}

.contact-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.contact-row {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(22, 23, 19, 0.18);
}

.contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.label {
  display: block;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---------- Contactformulier ---------- */

.form-intro {
  margin-bottom: 1.2rem;
}

#contact-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--black);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--white);
  background: var(--black);
  border: 1px solid rgba(22, 23, 19, 0.35);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  transition: 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(22, 23, 19, 0.8);
  min-height: 1.2rem;
}

.form-note.error {
  color: #5a1414;
  font-weight: 600;
}

/* ---------- Popup dienstdetails ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 7, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.28s ease, transform 0.38s var(--ease-out);
}

.modal.is-open .modal-panel {
  opacity: 1;
  transform: none;
}

.modal-panel h3 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.modal-panel p {
  margin-bottom: 0.9rem;
}

.modal-panel ul {
  margin: 0 0 1.2rem 1.1rem;
  color: var(--muted);
}

.modal-panel li {
  margin-bottom: 0.35rem;
}

.modal-panel li::marker {
  color: var(--green-soft);
}

.modal-note {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: rgba(132, 153, 63, 0.10);
}

.modal-note strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--green-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.modal-cta {
  margin-top: 0.4rem;
}

/* ---------- Galerij ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: 0.2s ease;
  color: inherit;
  font-family: inherit;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: var(--green);
  transform: translateY(-3px);
  outline: none;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--black-3);
}

.gallery-caption {
  padding: 0.95rem 1rem 1.05rem;
}

.gallery-caption strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.gallery-caption p {
  margin: 0;
  font-size: 0.92rem;
}

.empty-gallery {
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--muted);
  background: var(--black-2);
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--green-soft);
}

.band-green .back-link {
  color: var(--black);
}

.back-link::before {
  content: "\2190 ";
}

/* Lightbox galerij */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 5rem 4.5rem;
  background: rgba(8, 9, 7, 0.92);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: opacity 0.25s ease, transform 0.4s var(--ease-out);
}

.lightbox.is-open img {
  transform: none;
}

.lightbox img.is-loading {
  opacity: 0.25;
}

.lightbox img.slide-in-right {
  animation: lb-in-right 0.4s var(--ease-out);
}

.lightbox img.slide-in-left {
  animation: lb-in-left 0.4s var(--ease-out);
}

@keyframes lb-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: none; }
}

@keyframes lb-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: none; }
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(132, 153, 63, 0.35);
  border-color: var(--green-soft);
}

.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-prev:hover { transform: translateX(-2px); }
.lightbox-next:hover { transform: translateX(2px); }

.lightbox-caption {
  position: absolute;
  bottom: 1.4rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.9rem;
  text-align: center;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.lightbox-count {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Footer ---------- */

footer {
  background: var(--black);
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .season-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .section {
    padding: 3.4rem 0;
  }

  .hero-points,
  .service-grid,
  .gallery-grid,
  .team-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .modal-panel {
    padding: 1.6rem;
  }

  .season-grid {
    grid-template-columns: 1fr;
  }

  .season-block {
    padding: 1.6rem 1.2rem 1.4rem;
  }

  .lightbox {
    padding: 1rem 0.5rem 4.5rem;
  }

  .lightbox-nav {
    top: auto;
    bottom: 0.9rem;
    margin-top: 0;
    width: 44px;
    height: 44px;
  }

  .lightbox-caption {
    bottom: 1.6rem;
  }

  .feature-overlay {
    padding: 1.1rem;
  }
}

/* ---------- Inschuiven tijdens het scrollen (js/site.js) ----------
   Gebruikt "translate" i.p.v. "transform", zodat bestaande
   hover-effecten niet in de weg zitten. */
.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.7s ease, translate 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* staand scherm: tekst onder de foto (staat onderaan zodat het de basisregel overschrijft) */
@media (max-aspect-ratio: 5/4) {
  .hero-content {
    padding-top: calc(56vw - 1.5rem);
    padding-bottom: 4rem;
  }
}
