/* ==========================================================================
   Flyers2Eat — huisstijl v2 "Premium & speels"
   Crème + diep donkergroen, serif-koppen (Fraunces), veel witruimte.
   Lime uit het logo alleen nog als klein detail — niet meer als hoofdkleur.
   ========================================================================== */

:root {
  --cream: #f7f2e8;          /* basisachtergrond */
  --cream-deep: #ece3d1;     /* randen, subtiele vlakken */
  --forest: #16301f;         /* diep donkergroen: koppen, footer, donkere secties */
  --pine: #2d5b3c;           /* knoppen en accenten */
  --pine-soft: #3f7350;
  --sage: #c9d6b8;           /* zachte accentgroen */
  --apricot: #d9a45b;        /* warme detailkleur (eyebrows, kleine accenten) */
  --ink: #22301f;            /* bodytekst */
  --ink-soft: #5a6455;
  --paper: #fffdf8;          /* "witte" secties — warm wit */
  --radius: 20px;
  --radius-arch: 240px 240px 24px 24px;
  --shadow: 0 14px 40px rgba(22, 48, 31, 0.10);
  --shadow-soft: 0 6px 20px rgba(22, 48, 31, 0.07);
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  line-height: 1.12;
  color: var(--forest);
  margin: 0 0 0.55em;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

/* Cursief accentwoord in koppen */
h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--pine);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--pine); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }

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

.section { padding: 88px 0; }
.section--mist { background: var(--cream); }
.section--tight { padding: 52px 0; }

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

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

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--primary {
  background: var(--pine);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--forest); color: var(--cream); }

.btn--ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn--ghost:hover { background: var(--forest); color: var(--cream); }

.btn--light {
  background: var(--cream);
  color: var(--forest);
}
.btn--light:hover { background: #fff; color: var(--forest); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* --------------------------------------------------------------------------
   Header & navigatie
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 232, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-deep);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.site-header__logo img { width: 140px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 2px; }

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--forest);
  font-weight: 500;
  font-size: 0.96rem;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--cream-deep); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--pine); font-weight: 600; }

/* Taalwissel-vlaggetje */
.lang-switch { display: inline-flex; align-items: center; }
.lang-switch svg {
  width: 24px; height: 16px; display: block;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(23, 36, 27, 0.15);
}
.lang-switch:hover svg { box-shadow: 0 0 0 2px var(--pine); }

.site-nav .btn { margin-left: 12px; padding: 12px 24px; }
/* wint van .site-nav a — anders krijgt de knop donkere tekst en verkeerde hover */
.site-nav a.btn--primary { color: var(--cream); }
.site-nav a.btn--primary:hover { background: var(--forest); color: var(--cream); }

/* dropdown */
.nav-drop { position: relative; }
.nav-drop > button {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 13px;
  border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 500; font-size: 0.96rem;
  color: var(--forest); border-radius: 999px;
  white-space: nowrap;
}
.nav-drop > button:hover { background: var(--cream-deep); }
.nav-drop > button::after {
  content: ""; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.nav-drop__menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 290px;
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}
.nav-drop.is-open .nav-drop__menu { display: block; }
.nav-drop__menu a { display: block; padding: 10px 14px; border-radius: 10px; }

.nav-toggle {
  display: none;
  border: 0; background: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2.5px; border-radius: 2px;
  background: var(--forest); margin: 5px 0;
}

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--cream-deep);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { white-space: normal; }
  .nav-drop__menu {
    position: static; box-shadow: none; border: 0;
    padding-left: 16px; min-width: 0;
  }
  .site-nav .btn { margin: 12px 0 0; text-align: center; }
}

/* --------------------------------------------------------------------------
   Hero — foto links (zij kijkt naar rechts), CTA rechts
   -------------------------------------------------------------------------- */

.hero {
  background: var(--cream);
  overflow: hidden;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  grid-template-areas:
    "img head"
    "img rest";
  column-gap: 64px;
  align-content: center;
  padding-block: 72px;
}

.hero__head { grid-area: head; align-self: end; max-width: 560px; }
.hero__rest { grid-area: rest; align-self: start; max-width: 560px; }

.hero__usps {
  list-style: none; padding: 0; margin: 26px 0 34px;
  display: grid; gap: 11px;
}
.hero__usps li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.hero__usps li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sage); color: var(--forest);
  font-size: 0.85rem; font-weight: 700;
  display: grid; place-items: center;
}

.hero__img { grid-area: img; position: relative; }
.hero__img img {
  width: 100%; max-width: 470px; margin: 0 auto;
  border-radius: var(--radius-arch);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}
/* zachte cirkel achter de foto */
.hero__img::before {
  content: "";
  position: absolute;
  inset: 8% -6% auto auto;
  width: 46%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.5;
  z-index: -1;
}

@media (max-width: 820px) {
  /* Mobiel: kop → foto (blik leidt omlaag) → USP's + CTA */
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "img" "rest";
    row-gap: 32px;
    padding-block: 48px 64px;
  }
  .hero__head, .hero__rest { max-width: none; }
  .hero__img img { max-width: 380px; }
}

/* Trust-strip onder de hero */
.trust-strip {
  border-top: 1px solid var(--cream-deep);
  background: var(--cream);
  padding: 20px 0;
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Pagina-header (subpagina's) */
.page-hero { background: var(--cream); }
.page-hero__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center; padding-block: 64px;
}
.page-hero__grid--single { grid-template-columns: 1fr; max-width: 840px; }
.page-hero__img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%; object-fit: cover;
}
.page-hero__img--cutout img {
  border-radius: 0; box-shadow: none;
  object-fit: contain;
  width: 100%; max-width: 460px; margin: 0 auto;
}
@media (max-width: 820px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 44px; }
}

/* --------------------------------------------------------------------------
   Kaarten & grids
   -------------------------------------------------------------------------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.card { color: inherit; }
a.card:hover { text-decoration: none; transform: translateY(-5px) rotate(-0.4deg); box-shadow: var(--shadow); }

.card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card__body { padding: 24px 26px 28px; flex: 1; }
.card__body h3 { margin-bottom: 8px; }
.card__more { font-weight: 600; color: var(--pine); }

.icon-card { text-align: center; padding: 36px 26px; }
.icon-card img { width: 60px; margin: 0 auto 18px; }

/* Genummerde stappen ("Zo werkt het") */
.step-card { padding: 34px 30px; position: relative; }
.step-card__num {
  font-family: "Fraunces", serif;
  font-size: 3rem;
  font-style: italic;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 12px;
}

/* USP-blok — donkergroen */
.usp-panel {
  background: var(--forest);
  color: #e9e4d6;
  border-radius: calc(var(--radius) + 8px);
  padding: 52px 56px;
}
.usp-panel h2 { color: var(--cream); }
.usp-panel ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.usp-panel li { display: flex; gap: 13px; align-items: flex-start; }
.usp-panel li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--sage); color: var(--forest);
  font-size: 0.8rem; font-weight: 800;
  display: grid; place-items: center;
  margin-top: 4px;
}
@media (max-width: 700px) { .usp-panel { padding: 36px 26px; } }

/* Peter / contactblok */
.peter-cta {
  display: flex; align-items: center; gap: 30px;
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  padding: 34px 38px;
  box-shadow: var(--shadow-soft);
  flex-wrap: wrap;
}
.peter-cta img { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; background: var(--cream); }
.peter-cta__text { flex: 1; min-width: 220px; }
.peter-cta__text p { margin: 0; }
.peter-cta__name { font-weight: 600; font-family: "Fraunces", serif; font-size: 1.25rem; color: var(--forest); }
.peter-cta__role { color: var(--ink-soft); font-size: 0.95rem; }

/* Galerij */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; box-shadow: var(--shadow-soft); }
.gallery figcaption { font-size: 0.92rem; color: var(--ink-soft); padding: 12px 4px 0; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--cream-deep); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px;
  font-family: "Fraunces", serif;
  font-weight: 560;
  font-size: 1.15rem;
  color: var(--forest);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem; font-weight: 300; color: var(--pine);
  flex: 0 0 auto;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 4px 24px; color: var(--ink-soft); }

/* Prose (tekstpagina's) */
.prose { max-width: 780px; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-soft); margin-bottom: 1.6em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* --------------------------------------------------------------------------
   Formulieren
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 38px;
}
@media (max-width: 700px) { .form-card { padding: 26px 20px; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .form-field--full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--forest);
}
.form-field label .optional { font-weight: 400; color: var(--ink-soft); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--cream-deep);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(45, 91, 60, 0.15);
}

.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.form-consent input { width: auto; margin-top: 4px; }

.form-note { font-size: 0.88rem; color: var(--ink-soft); }

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

.site-footer {
  background: var(--forest);
  color: #cfcaba;
  padding: 72px 0 36px;
  margin-top: 104px;
  font-size: 0.95rem;
}
.site-footer a { color: var(--cream); }
.site-footer h4 { color: var(--cream); margin-bottom: 16px; font-weight: 560; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.14);
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__brand img { width: 136px; margin-bottom: 18px; }
.site-footer__tagline {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--sage);
  font-size: 1.15rem;
}

.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 26px;
  font-size: 0.85rem; color: #97a08c;
}

/* CTA-band — donkergroen met serif */
.cta-band {
  background: var(--forest);
  color: var(--cream);
  border-radius: calc(var(--radius) + 8px);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--cream); margin: 0; }
.cta-band p { margin: 8px 0 0; color: #cfcaba; }
.cta-band .btn--ghost { border-color: var(--cream); color: var(--cream); }
.cta-band .btn--ghost:hover { background: var(--cream); color: var(--forest); }
@media (max-width: 700px) { .cta-band { padding: 36px 26px; } }

/* Compacte USP-vinkjes in het CTA-blok */
.cta-band__checks {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-size: 0.95rem; color: var(--cream);
}
.cta-band__checks li { margin: 0; display: flex; gap: 9px; align-items: center; }
.cta-band__checks li::before { content: "✓"; color: var(--sage); font-weight: 700; }

/* Variant met foto (bijv. op Ons werk) */
.cta-band__img { flex: 0 0 auto; }
.cta-band__img img {
  width: 210px; height: 230px; object-fit: cover;
  border-radius: 110px 110px 16px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
.cta-band > div:not(.cta-band__img):not(.btn-row) { flex: 1; min-width: 260px; }
@media (max-width: 700px) { .cta-band__img img { width: 170px; height: 185px; } }

/* Breadcrumb-achtig klein */
.meta-line { color: var(--ink-soft); font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Subtiele beweging (respecteert 'minder beweging'-instelling)
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(22px); }
.reveal--visible {
  opacity: 1; transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Toegankelijkheid */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
