/* Gebr. Zonneveld
   Basis uit de Winkelierweb-template: alleen reset en toegankelijkheid.
   Al het andere (fonts, kleuren, layout, menu, open/gesloten-status, animaties) is per winkel uniek
   en schrijf je hieronder bij "Design". De class-afspraken met js/main.js staan in index.html. */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; line-height: 1.5; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

/* ---------- Toegankelijkheid ---------- */
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Design ---------- */
/* Concept: de blauwe luifel met rode kapitalen (header), de zwarte prijskaartjes uit het schap
   (open/gesloten-status, score) en de handgeschreven krijtborden boven de groentewand (assortiment). */

@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/fonts/caveat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("/fonts/mulish-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("/fonts/mulish-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --blauw: #18247f;
  --blauw-diep: #101a5e;
  --rood: #ff6b57;        /* de letters op de luifel, licht genoeg voor op blauw */
  --rood-donker: #bf2f1c; /* dezelfde kleur voor op lichte vlakken */
  --geel: #f2d23c;
  --creme: #faf5e9;
  --papier: #fffdf7;
  --inkt: #171b3d;
  --bord: #1d2221;
  --krijt: #f4f1e6;
  --groen: #7fe0a0;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --krijtfont: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rand: clamp(1.25rem, 5vw, 4rem);
  --max: 76rem;
}

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--inkt); background: var(--creme); }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.skip-link { background: var(--geel); color: var(--inkt); font-weight: 700; border-radius: 4px; }

.label { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rood-donker); margin-bottom: .9rem; }
.label--geel { color: var(--geel); }

/* ---------- Luifel (header) ---------- */
.luifel { position: sticky; top: 0; z-index: 50; background: var(--blauw); color: var(--creme); border-bottom: 5px solid var(--papier); box-shadow: 0 10px 24px -14px rgba(16, 26, 94, .7); }
.luifel__in { max-width: var(--max); margin: 0 auto; padding: .7rem var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.merk { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.merk__teken { width: 2.1rem; height: 2.3rem; fill: none; stroke: var(--geel); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.merk__tekst { display: flex; flex-direction: column; line-height: 1; }
.merk__naam { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 4.6vw, 2.1rem); letter-spacing: .09em; text-transform: uppercase; color: var(--rood); }
.merk__sub { font-family: var(--serif); font-weight: 500; font-size: clamp(.66rem, 1.9vw, .8rem); letter-spacing: .17em; text-transform: uppercase; color: var(--rood); margin-top: .25rem; }

.nav-toggle { width: 2.9rem; height: 2.9rem; border: 2px solid rgba(250, 245, 233, .55); border-radius: 50%; background: none; display: grid; place-items: center; cursor: pointer; }
.nav-toggle__streep, .nav-toggle__streep::before, .nav-toggle__streep::after { display: block; width: 1.15rem; height: 2px; background: var(--creme); transition: transform .25s, background-color .25s; }
.nav-toggle__streep { position: relative; }
.nav-toggle__streep::before, .nav-toggle__streep::after { content: ""; position: absolute; left: 0; }
.nav-toggle__streep::before { top: -6px; }
.nav-toggle__streep::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__streep { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__streep::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__streep::after { transform: translateY(-6px) rotate(-45deg); }
.no-js .nav-toggle { display: none; }

.site-nav { flex-basis: 100%; display: flex; flex-direction: column; padding: .5rem 0 .75rem; }
.js .site-nav:not(.is-open) { display: none; }
.site-nav a { padding: .8rem 0; text-decoration: none; font-weight: 700; border-top: 1px solid rgba(250, 245, 233, .18); }
.site-nav a:hover { color: var(--geel); }
.site-nav .site-nav__bel { color: var(--geel); }

@media (min-width: 960px) {
  .luifel__in { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav:not(.is-open) { display: flex; flex-direction: row; flex-basis: auto; align-items: center; gap: clamp(.9rem, 2vw, 2rem); padding: 0; white-space: nowrap; }
  .site-nav a { border: 0; padding: .4rem 0; font-size: .92rem; }
  .site-nav .site-nav__bel { border: 2px solid var(--geel); border-radius: 3px; padding: .45rem .9rem; }
  .site-nav .site-nav__bel:hover { background: var(--geel); color: var(--blauw-diep); }
}

/* ---------- Knoppen en prijskaartjes ---------- */
.knop { display: inline-block; padding: .85rem 1.4rem; border-radius: 3px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .2s, background-color .2s, color .2s; }
.knop:hover { transform: translateY(-2px); }
.knop--rood { background: var(--rood-donker); color: #fff; }
.knop--rood:hover { background: var(--blauw); }
.knop--lijn { border-color: var(--inkt); color: var(--inkt); }
.knop--lijn:hover { background: var(--inkt); color: var(--creme); }
.knop--geel { background: var(--geel); color: var(--blauw-diep); }

/* het zwarte kaartje dat in de winkel aan elk schap hangt */
.kaartje { display: inline-flex; align-items: center; gap: .7rem; background: var(--bord); color: var(--krijt); padding: .7rem 1.1rem .75rem; border-radius: 3px; font-family: var(--krijtfont); font-size: 1.45rem; line-height: 1.1; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6); transform: rotate(-1.5deg); }
.kaartje__stip { flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: var(--rood); }
.open-status[data-open="true"] .kaartje__stip { background: var(--groen); box-shadow: 0 0 0 0 rgba(127, 224, 160, .6); animation: stip 2.4s infinite; }
@keyframes stip { 70% { box-shadow: 0 0 0 .55rem rgba(127, 224, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 224, 160, 0); } }

/* ---------- Hero ---------- */
.hero { display: grid; background: var(--creme); }
.hero__tekst { padding: clamp(2.25rem, 7vw, 4.5rem) var(--rand) clamp(2.5rem, 6vw, 4rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero__plek { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rood-donker); margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2.7rem, 9.5vw, 4.6rem); font-weight: 600; color: var(--blauw); }
.hero h1 em { font-weight: 500; color: var(--rood-donker); }
.hero h1 .amp { font-style: italic; font-weight: 500; }
.hero__lead { margin-top: 1.4rem; max-width: 33rem; font-size: 1.12rem; }
.hero__knoppen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero .open-status { margin-top: 2rem; }
.hero__beeld { position: relative; min-height: 17rem; }
.hero__beeld img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.kaartje--score { position: absolute; left: var(--rand); bottom: 1.1rem; text-decoration: none; transform: rotate(2deg); padding: .8rem 1.2rem; }
.kaartje--score:hover { transform: rotate(0); }
.kaartje__cijfer { font-size: 3rem; line-height: .8; color: var(--geel); }
.kaartje__regel { font-size: 1.2rem; }
.kaartje__regel span { font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; color: var(--geel); }

@media (min-width: 860px) {
  .hero { grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); min-height: min(47rem, calc(100vh - 5rem)); }
  .hero__tekst { padding-left: max(var(--rand), calc((100vw - var(--max)) / 2 + var(--rand))); padding-right: clamp(1.5rem, 3.5vw, 3.5rem); }
  .hero h1 { font-size: clamp(3rem, 5.3vw, 5rem); }
  .hero__beeld img { position: absolute; inset: 0; aspect-ratio: auto; }
  .kaartje--score { left: -1.5rem; bottom: 2.5rem; }
}

/* ---------- Krijtbord (assortiment) ---------- */
.krijtbord { background: var(--bord); color: var(--krijt); background-image: radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .06), transparent 55%), radial-gradient(ellipse at 85% 90%, rgba(255, 255, 255, .04), transparent 50%); border-top: 14px solid #b98a52; border-bottom: 14px solid #b98a52; }
.krijtbord__in { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 10vw, 7rem) var(--rand); }
.krijt { font-family: var(--krijtfont); font-weight: 700; letter-spacing: 0; }
.krijt--kop { font-size: 1.7rem; color: var(--geel); transform: rotate(-2deg); display: inline-block; margin-bottom: .4rem; }
.krijtbord h2 { color: #fff; max-width: 14em; }
.krijtbord__intro { max-width: 34rem; margin-top: 1.1rem; color: #d9d6cb; }
.borden { display: grid; gap: 2.6rem 2.5rem; margin-top: 3.2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.bord h3 { font-size: 2.5rem; line-height: 1; color: #fff; padding-bottom: .5rem; margin-bottom: .9rem; border-bottom: 3px solid var(--rood); border-radius: 2px; display: inline-block; }
.bord:nth-child(3n+2) h3 { border-color: var(--geel); }
.bord:nth-child(3n) h3 { border-color: var(--groen); }
.bord ul { list-style: none; margin: 0; padding: 0; }
.bord li { padding: .42rem 0; border-bottom: 1px dashed rgba(244, 241, 230, .22); }
.krijtbord__noot { margin-top: 3rem; font-family: var(--krijtfont); font-size: 1.6rem; line-height: 1.25; color: var(--geel); max-width: 30em; }
.krijtbord__noot a { color: #fff; }

/* ---------- In de winkel (kistjes) ---------- */
.winkel { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 10vw, 7.5rem) var(--rand); }
.winkel__kop { max-width: 44rem; }
.winkel__kop h2 { color: var(--blauw); }
.winkel__kop p:last-child { margin-top: 1.3rem; font-size: 1.1rem; }
.kisten { display: grid; gap: 1.1rem; margin-top: 3rem; }
.kist { position: relative; background: var(--blauw); padding: .5rem; border-radius: 4px; overflow: hidden; }
.kist img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; aspect-ratio: 3 / 2; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.kist--hoog img { aspect-ratio: 4 / 5; }
.kist:hover img { transform: scale(1.03); }
.kist figcaption { position: absolute; left: 1.1rem; bottom: 1.1rem; background: var(--bord); color: var(--krijt); font-family: var(--krijtfont); font-size: 1.35rem; line-height: 1; padding: .45rem .8rem .5rem; border-radius: 3px; transform: rotate(-2deg); }
@media (min-width: 620px) {
  .kisten { grid-template-columns: 1fr 1fr; }
  .kist--hoog { grid-row: span 2; }
  .kist--hoog img { aspect-ratio: auto; }
}
@media (min-width: 860px) {
  .kisten { grid-template-columns: 1.15fr 1fr 1fr; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--papier); border-top: 1px solid #e9e1cc; }
.reviews__kop, .reviews__lijst { max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); }
.reviews__kop { padding-top: clamp(4rem, 10vw, 7rem); }
.reviews__kop h2 { color: var(--blauw); }
.reviews__kop .cijfer { color: var(--rood-donker); font-style: italic; font-weight: 500; }
.reviews__kop p:last-child { margin-top: 1rem; }
.reviews__kop a { font-weight: 700; color: var(--blauw); }
.reviews__lijst { display: grid; gap: 1.25rem; padding-top: 2.75rem; padding-bottom: clamp(4rem, 10vw, 7rem); }
.review { background: var(--creme); border-left: 5px solid var(--blauw); padding: 1.6rem 1.6rem 1.4rem; border-radius: 0 4px 4px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; }
.review p { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.35; }
.review--groot p { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.review footer { font-size: .9rem; font-weight: 700; }
.sterren { color: var(--rood-donker); letter-spacing: .1em; margin-right: .5rem; }
@media (min-width: 860px) {
  .reviews__lijst { grid-template-columns: repeat(3, 1fr); }
  .review--groot { grid-column: 1 / -1; border-left-color: var(--rood-donker); padding: 2.2rem 2.4rem 1.9rem; }
  .review--groot p { max-width: 46em; }
}

/* ---------- Bezoek ---------- */
.bezoek { background: var(--blauw); color: var(--creme); border-top: 5px solid var(--papier); }
.bezoek__in { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 10vw, 7rem) var(--rand); display: grid; gap: 3.5rem; }
.bezoek h2 { color: var(--rood); text-transform: uppercase; letter-spacing: .06em; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.bezoek h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--geel); margin: 2rem 0 .5rem; }
.bezoek h3:first-child { margin-top: 0; }
.bezoek__status { display: flex; align-items: center; gap: .7rem; font-family: var(--krijtfont); font-size: 1.6rem; line-height: 1.1; margin: 1.1rem 0 1.6rem; }
.hours { width: 100%; max-width: 27rem; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { padding: .7rem .2rem; border-bottom: 1px solid rgba(250, 245, 233, .22); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-closed { color: #b9c0ee; }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: var(--geel); }
.hours .is-today th::after { content: "vandaag"; margin-left: .7rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; background: var(--geel); color: var(--blauw-diep); padding: .18rem .45rem; border-radius: 2px; vertical-align: middle; }
.bezoek address { font-family: var(--serif); font-size: 1.55rem; line-height: 1.3; margin-bottom: 1.3rem; }
.bezoek__tel { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; text-decoration-color: var(--rood); }
.bezoek__adres p { max-width: 28rem; }
@media (min-width: 860px) {
  .bezoek__in { grid-template-columns: 1.1fr 1fr; gap: 5rem; }
  .bezoek__adres { padding-top: 2.2rem; }
}

/* ---------- Voet ---------- */
.voet { background: var(--blauw-diep); color: #dfe2f6; font-size: .95rem; }
.voet__in { max-width: var(--max); margin: 0 auto; padding: 2.75rem var(--rand) 3rem; display: grid; gap: .6rem; }
.voet__naam { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--rood); line-height: 1.1; }
.voet__naam span { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .17em; margin-top: .3rem; }
.voet__klein { margin-top: .8rem; font-size: .85rem; color: #b9c0ee; }

/* ---------- 404 ---------- */
.niet-gevonden { min-height: 100vh; display: grid; place-content: center; justify-items: start; gap: 1.4rem; padding: var(--rand); background: var(--bord); color: var(--krijt); }
.niet-gevonden h1 { font-family: var(--krijtfont); font-size: clamp(2.8rem, 9vw, 5rem); color: #fff; }
.niet-gevonden .merk__naam { font-size: 1.6rem; }

/* ---------- Animaties: kaartjes die aan het schap gehangen worden ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(1.4rem) rotate(-.6deg); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .borden .reveal:nth-child(2), .js .kisten .reveal:nth-child(2), .js .reviews__lijst .reveal:nth-child(2) { transition-delay: .08s; }
  .js .borden .reveal:nth-child(3), .js .kisten .reveal:nth-child(3), .js .reviews__lijst .reveal:nth-child(3) { transition-delay: .16s; }
}
