/* ===================================================================
   Become Brasileiro — Rio de Janeiro
   Palette: green/white base + warme aardetinten (zand, hout, zonlicht)
   =================================================================== */

:root {
  /* Base */
  --green-900: #16362a;
  --green-800: #1f4a3a;
  --green-700: #295a47;
  --green-600: #35705a;
  --green-500: #4a8a70;

  /* Warme aardetinten */
  --sand-100: #f6f1e8;
  --sand-200: #ece3d3;
  --sand-300: #ddceb4;
  --wood:     #b07a52;
  --sun:      #d99a4e;

  /* Neutraal */
  --ink:      #23261f;
  --ink-soft: #4c5147;
  --white:    #ffffff;
  --line:     #e4ddd0;

  --maxw: 1160px;
  --radius: 14px;
  --shadow: 0 18px 50px -24px rgba(22, 54, 42, 0.35);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--green-900);
}

h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 600; }

p { color: var(--ink-soft); }
h2 + p, .grid-2 p + p { margin-top: 1rem; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--wood);
  margin-bottom: 0.9rem;
}
.eyebrow--light { color: var(--sun); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 42ch;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--green-800);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(22, 54, 42, 0.7);
}
.btn-ghost {
  background: transparent;
  color: var(--green-800);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--green-800); transform: translateY(-2px); }
.btn-block { width: 100%; margin-top: 0.4rem; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -18px rgba(0, 0, 0, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--green-900);
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--sun));
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.16rem;
  color: var(--green-900);
}
.nav-desktop { display: flex; align-items: center; gap: 2rem; }
.nav-desktop a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}
.nav-desktop a:hover { color: var(--green-800); }
.nav-desktop a.active, .nav-mobile a.active { color: var(--green-800); font-weight: 600; }

.pkg-card { display: flex; flex-direction: column; }
.pkg-card--featured { border-color: var(--sun); box-shadow: var(--shadow); }
.pkg-card h3 { color: var(--green-900); }
.pkg-incl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.1rem 0;
}
.pkg-incl span {
  font-size: 0.78rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--sand-100);
  color: var(--green-900);
  border: 1px solid var(--line);
}
.pkg-price {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--sun);
  margin-bottom: 1rem;
}
.pkg-footnote {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft, #6b6455);
  text-align: center;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

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

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: none;
  border-radius: var(--radius, 10px);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--sand-100);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,42,30,0.78) 0%, rgba(19,42,30,0.05) 55%, transparent 75%);
}
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.02rem;
  text-align: left;
  z-index: 1;
}

.gallery-item--placeholder {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item--placeholder::after { display: none; }
.gallery-placeholder-icon {
  font-size: 2.6rem;
  opacity: 0.85;
}
.gallery-item--placeholder .gallery-caption {
  background: rgba(19,42,30,0.55);
}

/* ===== Galerij-modal ===== */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.gallery-modal.is-open { display: block; }
.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19,42,30,0.72);
}
.gallery-modal-panel {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 6vh auto;
  background: var(--sand-050, #faf7f0);
  border-radius: var(--radius, 10px);
  overflow: hidden;
  max-height: 88vh;
  overflow-y: auto;
}
.gallery-modal-panel img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}
.gallery-modal-body { padding: 1.75rem; }
.gallery-modal-body h3 { margin-bottom: 0.6rem; color: var(--green-900); }
.gallery-modal-body p { margin-bottom: 1.25rem; color: var(--ink-soft, #4a4438); }
.gm-intro {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--green-900) !important;
}
.gm-bullets {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}
.gm-bullets li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.55rem;
  font-size: 0.96rem;
  color: var(--ink-soft, #4a4438);
}
.gm-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sun, #c9a24a);
}
.gallery-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(19,42,30,0.75);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 640px) {
  .gallery-modal-panel { margin: 0; max-width: 100%; max-height: 100vh; border-radius: 0; }
}

.nav-cta {
  background: var(--green-800);
  color: var(--white) !important;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--green-900); }

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--sand-200);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch button:hover { color: var(--green-900); }
.lang-switch button.active {
  background: var(--green-800);
  color: var(--white);
}
.lang-switch--mobile {
  margin-top: 1.1rem;
  align-self: flex-start;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0.5rem 24px 1.4rem;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a {
  padding: 0.85rem 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }
.nav-mobile .nav-cta {
  margin-top: 0.9rem;
  text-align: center;
  color: var(--white) !important;
  border-bottom: none;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media .placeholder--hero {
  height: 100%;
  border-radius: 0;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(246, 241, 232, 0.97) 0%,
    rgba(246, 241, 232, 0.9) 42%,
    rgba(246, 241, 232, 0.55) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero h1 { margin: 0.4rem 0 1.4rem; max-width: 16ch; }
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ===== Positioning strip ===== */
.strip {
  background: var(--green-800);
  color: var(--white);
  padding: 3.2rem 0;
}
.strip-line {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--sand-100);
  text-align: center;
  max-width: 26ch;
  margin-inline: auto;
  line-height: 1.3;
}
.strip-line strong { color: var(--sun); font-weight: 500; }

/* ===== Sections ===== */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tinted { background: var(--sand-100); }
.section--dark { background: var(--green-900); }
.section--dark h2, .section--dark .section-head p { color: var(--sand-100); }

.section-head { max-width: 60ch; margin-bottom: 3rem; }
.section-intro { margin-top: 1rem; font-size: 1.08rem; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.grid-2--reverse .placeholder { min-height: 420px; }

/* ===== Fact list ===== */
.fact-list {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.85rem;
}
.fact-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink-soft);
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wood);
}
.fact-list span { color: var(--green-800); font-weight: 600; }

/* ===== Cards ===== */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 3.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.5rem; color: var(--green-900); }
.card p { font-size: 0.96rem; }
.card-icon {
  color: var(--sun);
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}
.card-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--sun);
  margin-bottom: 0.7rem;
}
.card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.card--dark h3 { color: var(--sand-100); }
.card--dark p { color: rgba(246, 241, 232, 0.75); }
.card--dark:hover { background: rgba(255, 255, 255, 0.07); box-shadow: none; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.review-card { display: flex; flex-direction: column; justify-content: space-between; }
.review-quote {
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--green-900);
  margin-bottom: 1.2rem;
  font-style: italic;
}
.review-author {
  font-size: 0.85rem;
  color: var(--ink-soft, #6b6455);
}
.review-author span:first-child { font-weight: 600; }

/* ===== Flavours (exclusief / authentiek) ===== */
.flavours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}
.flavour {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.flavour-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green-700);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.flavour-tag--alt { background: var(--wood); }
.flavour h3 { margin-bottom: 1rem; }
.flavour ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.flavour ul li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.flavour ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--sun);
  font-weight: 600;
}

/* ===== Pills ===== */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.6rem 0; }
.pill {
  background: var(--sand-200);
  color: var(--green-900);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== Placeholders (beeld) ===== */
.placeholder {
  background:
    repeating-linear-gradient(45deg,
      rgba(176, 122, 82, 0.06) 0,
      rgba(176, 122, 82, 0.06) 12px,
      rgba(176, 122, 82, 0.11) 12px,
      rgba(176, 122, 82, 0.11) 24px),
    var(--sand-200);
  border: 1px dashed var(--wood);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  min-height: 300px;
}
.placeholder span {
  color: var(--wood);
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 30ch;
  line-height: 1.5;
}
.placeholder--portrait { min-height: 460px; }
.placeholder--wide { min-height: 200px; margin-top: 0.5rem; }

/* ===== Contact ===== */
.contact-details {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
.contact-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}
a.contact-item:hover { border-color: var(--green-600); }
.contact-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--wood);
  font-weight: 600;
}
.contact-value { color: var(--green-900); font-weight: 600; font-size: 1.05rem; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--sand-100);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: var(--white);
}
.field textarea { resize: vertical; }
.form-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--green-700);
  min-height: 1.2em;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--green-900);
  color: var(--sand-100);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand .brand-name { color: var(--sand-100); font-family: var(--font-head); font-weight: 600; font-size: 1.16rem; }
.footer-tag { color: rgba(246, 241, 232, 0.7); font-size: 0.95rem; margin-top: 0.3rem; }
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: right;
  font-size: 0.92rem;
  color: rgba(246, 241, 232, 0.7);
}
.footer-meta a { color: var(--sun); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }

/* ===== Logo (witte achtergrond wordt via JS transparant gemaakt) ===== */
.brand-logo {
  width: 40px; height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.footer-logo {
  width: 60px; height: 60px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
/* Fallback als de canvas-knockout niet kan draaien (bijv. via file://):
   op lichte achtergrond verdwijnt het witte vlak met multiply. */
.logo-blend { mix-blend-mode: multiply; }
/* Fallback op de donkere footer: logo op een licht chipje. */
.footer-logo.logo-blend { background: #fff; border-radius: 12px; padding: 4px; }

/* ===== Foto's ===== */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.portrait-photo {
  width: 100%;
  min-height: 460px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow);
}
.about-media { display: flex; flex-direction: column; gap: 1rem; }
.about-media .portrait-photo { min-height: 380px; }
.photo-figure { margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.photo-figure figcaption {
  font-size: .82rem;
  color: var(--ink-soft);
  font-style: italic;
}
.wide-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.flavour-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 1.4rem;
}
.grid-2--top { align-items: start; }

/* Fallback-weergave als een fotobestand nog ontbreekt */
.img-missing {
  background:
    repeating-linear-gradient(45deg,
      rgba(176,122,82,.06) 0, rgba(176,122,82,.06) 12px,
      rgba(176,122,82,.11) 12px, rgba(176,122,82,.11) 24px),
    var(--sand-200);
  border: 1px dashed var(--wood);
  color: var(--wood);
  font-size: .88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  line-height: 1.5;
}

/* ===== Reveal animatie ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2--reverse .placeholder { min-height: 320px; order: 2; }
  .flavours { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 110px 0 70px; }
  .hero-media::after {
    background: linear-gradient(180deg,
      rgba(246, 241, 232, 0.9) 0%,
      rgba(246, 241, 232, 0.95) 60%);
  }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards-4 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .contact-form { padding: 1.4rem; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ===================================================================
   "Foto's plaatsen" — klik & kies tool (alleen voor de beheerder)
   =================================================================== */
.photo-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  border: none;
  background: var(--green-800);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(22, 54, 42, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
}
.photo-fab:hover { background: var(--green-900); transform: translateY(-2px); }

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(22, 54, 42, 0.45);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;
}
.photo-modal[hidden] { display: none; }

.photo-panel {
  background: #fff;
  width: 100%;
  max-width: 540px;
  max-height: 86vh;
  overflow: auto;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.5);
}
.photo-panel-head { display: flex; align-items: center; justify-content: space-between; }
.photo-panel-head h3 { color: var(--green-900); }
.photo-close {
  border: none; background: none; cursor: pointer;
  font-size: 1.8rem; line-height: 1; color: var(--ink-soft); padding: 0 0.2rem;
}
.photo-close:hover { color: var(--green-900); }
.photo-panel-intro { font-size: 0.92rem; margin: 0.5rem 0 1.2rem; }

.photo-rows { display: flex; flex-direction: column; gap: 0.7rem; }
.photo-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.photo-row:hover { border-color: var(--green-600); background: var(--sand-100); }
.photo-row.drag { border-color: var(--green-700); background: var(--sand-200); border-style: dashed; }
.photo-row.filled { border-color: var(--green-600); }

.photo-thumb {
  position: relative;
  width: 58px; height: 58px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--sand-200);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: none; }
.photo-row.filled .photo-thumb img { display: block; }
.photo-thumb-plus { color: var(--wood); font-size: 1.5rem; font-weight: 700; }
.photo-row.filled .photo-thumb-plus { display: none; }

.photo-row-main { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; min-width: 0; }
.photo-row-label { font-weight: 600; color: var(--green-900); font-size: 0.98rem; }
.photo-row-where { font-size: 0.8rem; color: var(--ink-soft); }

.photo-clear {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
}
.photo-clear:hover { border-color: var(--wood); color: var(--wood); }

@media (max-width: 560px) {
  .photo-fab { right: 12px; bottom: 12px; font-size: 0.86rem; padding: 0.6rem 1rem; }
  .photo-panel { padding: 1.2rem; }
}

/* ===================================================================
   Bewerk-modus (klik-om-te-wijzigen) — alleen voor de beheerder
   =================================================================== */
.edit-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  border: none;
  background: var(--green-800);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(22, 54, 42, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
}
.edit-fab[hidden] { display: none; }
.edit-fab:hover { background: var(--green-900); transform: translateY(-2px); }

.edit-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--green-900);
  color: var(--sand-100);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  flex-wrap: wrap;
  box-shadow: 0 -8px 24px -14px rgba(0, 0, 0, 0.6);
}
.edit-bar[hidden] { display: none; }
.edit-bar-hint { font-size: 0.85rem; color: rgba(246, 241, 232, 0.85); flex: 1; min-width: 220px; line-height: 1.4; }
.edit-bar-hint b { color: var(--sun); font-weight: 600; }
.edit-lang { font-weight: 700; color: var(--sun); }
.edit-bar button {
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
}
.edit-done { background: var(--sun); color: #3a2a12; }
.edit-done:hover { filter: brightness(1.05); }
.edit-reset { background: transparent; color: rgba(246, 241, 232, 0.85); border: 1.5px solid rgba(246, 241, 232, 0.35) !important; }
.edit-reset:hover { border-color: var(--sand-100) !important; color: #fff; }

/* Ruimte onderaan zodat de balk de inhoud niet afdekt */
body.editing { padding-bottom: 76px; }

/* Markeer bewerkbare tekst en foto's */
.editing [data-i18n],
.editing [data-i18n-html] {
  outline: 2px dashed rgba(53, 112, 90, 0.6);
  outline-offset: 3px;
  border-radius: 4px;
  cursor: text;
}
.editing [data-i18n]:hover,
.editing [data-i18n-html]:hover {
  outline-color: var(--green-700);
  background: rgba(217, 154, 78, 0.10);
}
.editing [data-i18n]:focus,
.editing [data-i18n-html]:focus {
  outline: 2px solid var(--green-700);
  background: rgba(255, 255, 255, 0.6);
}
.editing img[data-slot] {
  outline: 3px solid rgba(217, 154, 78, 0.85);
  outline-offset: 2px;
  cursor: pointer;
}
/* Op de donkere secties de tekstmarkering iets lichter */
.section--dark.editing [data-i18n],
.editing .section--dark [data-i18n],
.editing .section--dark [data-i18n-html],
.editing .strip [data-i18n-html] { outline-color: rgba(217, 154, 78, 0.7); }

.form-note--ok{color:#1b7a4b;font-weight:600;}
.form-note--err{color:#b3392c;font-weight:600;}

/* ===================================================================
   Blog / Kennisbank
   =================================================================== */
.blog-nav { display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
.blog-nav a { color:var(--ink); text-decoration:none; font-size:.95rem; padding:8px 12px; border-radius:8px; }
.blog-nav a:hover { background:var(--sand-100); color:var(--green-800); }
.blog-nav a.nav-cta { background:var(--green-700); color:#fff; }
.blog-nav a.nav-cta:hover { background:var(--green-800); }
@media (max-width:640px){ .blog-nav a:not(.nav-cta):not(.nav-blog){ display:none; } .blog-nav a{ padding:7px 10px; font-size:.9rem; } }

.blog-hero { background:var(--sand-100); border-bottom:1px solid var(--line); padding:clamp(40px,7vw,72px) 0; }
.blog-hero .lead { max-width:60ch; color:var(--ink-soft); font-size:1.15rem; margin-top:.5em; }

.post-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:24px; }
.post-card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; text-decoration:none; color:inherit; transition:transform .2s, box-shadow .2s; }
.post-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.post-card img { width:100%; height:180px; object-fit:cover; }
.post-card-body { padding:22px; display:flex; flex-direction:column; gap:9px; flex:1; }
.post-cat { font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; font-weight:700; color:var(--green-600); }
.post-card h3 { font-size:1.22rem; }
.post-card p { color:var(--ink-soft); font-size:.95rem; margin:0; }
.post-card .read-more { margin-top:auto; color:var(--green-700); font-weight:600; font-size:.9rem; }
.post-card.soon { opacity:.75; cursor:default; }
.post-card.soon:hover { transform:none; box-shadow:none; }
.post-card.soon .post-cat { color:var(--wood); }

.breadcrumb { font-size:.85rem; color:var(--ink-soft); padding:22px 0 0; }
.breadcrumb a { color:var(--green-700); text-decoration:none; }
.breadcrumb a:hover { text-decoration:underline; }
.article { max-width:760px; margin-inline:auto; padding:6px 0 24px; }
.article-hero { width:100%; height:clamp(220px,38vw,380px); object-fit:cover; border-radius:var(--radius); margin:14px 0 6px; }
.article-cat { font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; font-weight:700; color:var(--green-600); }
.article h1 { font-size:clamp(2rem,4vw,2.9rem); margin:.25em 0; }
.article-meta { color:var(--ink-soft); font-size:.9rem; }
.article-lead { font-size:1.2rem; color:var(--ink-soft); margin:1.1em 0 1.3em; }
.article-body p { margin:0 0 1.1em; }
.article-body h2 { font-size:1.55rem; margin:1.7em 0 .5em; }
.article-body h3 { font-size:1.2rem; margin:1.4em 0 .4em; }
.article-body ul { margin:0 0 1.2em 1.25em; }
.article-body li { margin-bottom:.45em; }
.article-body a { color:var(--green-700); }
.article-body blockquote { border-left:4px solid var(--sun); padding-left:20px; margin:1.5em 0; font-family:var(--font-head); font-size:1.3rem; line-height:1.35; color:var(--green-900); }
.article-cta { background:var(--sand-100); border:1px solid var(--line); border-radius:var(--radius); padding:30px; text-align:center; margin:2.2em 0 1em; }
.article-cta h3 { font-size:1.45rem; margin-bottom:.35em; }
.article-cta p { color:var(--ink-soft); margin-bottom:1.1em; }