/* ============================================================
   KLEUREN EN LETTERS
   Pas hier de kleuren aan, dan verandert de hele site mee.
   De kleuren komen uit het logo.
   (De namen zijn gebleven: "mint" is nu het saliegroen van de blaadjes.)
   ============================================================ */
:root {
  --rood: #c84e4e;       /* de letters van het logo */
  --roze: #ee9a92;       /* de strik */
  --roze-licht: #fbe6e1;
  --mint: #a9b57f;       /* saliegroene blaadjes */
  --mint-licht: #f0f2e4;
  --geel: #e0a948;       /* goud van de sterretjes */
  --geel-licht: #fcf0d9;
  --crème: #fdf4ea;
  --bruin: #5a3a2e;      /* tekst */
  --accent: #c84e4e;     /* knoppen en links */
  --wit: #ffffff;

  --letter-kop: "Fraunces", Georgia, serif;
  --letter-tekst: "Nunito", system-ui, sans-serif;
  --rond: 22px;
  --schaduw: 0 10px 30px rgba(90, 58, 46, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--letter-tekst);
  font-size: 17px;
  line-height: 1.6;
  color: var(--bruin);
  background: var(--crème);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--letter-kop); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.label {
  display: inline-block; margin-bottom: .6em;
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.groot { font-size: 1.2rem; }
.klein { font-size: .85rem; opacity: .8; }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-block; padding: .8em 1.5em; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--wit); font: 700 1rem var(--letter-tekst);
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.knop:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(200, 78, 78, .35); }
.knop--licht { background: var(--wit); color: var(--bruin); }
.knop--klein { padding: .5em 1.1em; font-size: .9rem; }
.knop--uit { background: #ddd; color: #777; cursor: default; padding: .5em 1.1em; font-size: .9rem; }
.knop--uit:hover { transform: none; box-shadow: none; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* ---------- Kop ---------- */
.kop {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 248, 240, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(90, 58, 46, .08);
}
.kop__binnen { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bruin); margin-right: auto; }
.logo__beeld { height: 52px; width: auto; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { color: var(--bruin); text-decoration: none; font-weight: 600; }
.menu a:hover { color: var(--accent); }
.menu a.knop { color: var(--wit); }
.menuknop { display: none; }

/* ---------- Opening ---------- */
.held { position: relative; padding: 110px 0 40px; overflow: hidden; }
.held__binnen { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.held__beeld { position: relative; cursor: pointer; transition: transform .3s; }
.held__beeld:hover { transform: rotate(-1.5deg) scale(1.01); }

/* Vlaggenlijn */
.held__vlaggen { position: absolute; top: 0; left: 0; right: 0; height: 110px; pointer-events: none; }
.held__vlaggen svg { display: block; }
.vlag__zwaai {
  transform-box: fill-box; transform-origin: 50% 0;
  animation: zwaai 3.2s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -.35s);
}
@keyframes zwaai { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }

/* Zwevende hartjes en sterretjes */
.held__zweven { position: absolute; inset: 0; pointer-events: none; }
.zweef {
  position: absolute; bottom: -40px; width: var(--grootte); height: var(--grootte); opacity: 0;
  animation: zweef var(--duur) linear var(--wacht) infinite;
}
.zweef svg, .spat svg { width: 100%; height: 100%; display: block; }
@keyframes zweef {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: .55; }
  80%  { opacity: .45; }
  100% { transform: translate(var(--opzij), -760px) rotate(40deg); opacity: 0; }
}

/* Hartjesregen */
.spat { position: absolute; z-index: 30; width: 16px; height: 16px; pointer-events: none; }

/* Krul onder "glimlach" */
.krul { position: relative; white-space: nowrap; color: var(--rood); }
.krul svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .35em; overflow: visible; }
.krul path {
  fill: none; stroke: var(--geel); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 260; stroke-dashoffset: 260; animation: teken 1.2s .4s ease-out forwards;
}
@keyframes teken { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .vlag__zwaai, .zweef { animation: none; }
  .krul path { animation: none; stroke-dashoffset: 0; }
  .held__beeld:hover { transform: none; }
}
.sticker {
  position: absolute; top: -14px; right: -6px; transform: rotate(10deg);
  background: var(--geel); padding: 14px 18px; border-radius: 50%;
  font: 700 1rem var(--letter-kop); box-shadow: var(--schaduw);
}

/* Voorbeeldvakken op de plek van foto's */
.fotovak {
  display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--rond);
  background:
    radial-gradient(circle at 20% 30%, var(--roze) 0 10px, transparent 11px),
    radial-gradient(circle at 70% 60%, var(--geel) 0 8px, transparent 9px),
    radial-gradient(circle at 40% 80%, var(--mint) 0 12px, transparent 13px),
    var(--roze-licht);
  background-size: 120px 120px, 90px 90px, 150px 150px, auto;
  color: var(--bruin); font-weight: 600; font-size: .9rem;
}
.fotovak span { background: rgba(255,255,255,.85); padding: .3em .9em; border-radius: 999px; }
.fotovak--held { aspect-ratio: 1 / 1; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; box-shadow: var(--schaduw); }
.fotovak--booth { aspect-ratio: 3 / 4; background-color: var(--wit); }
.fotovak--rond { aspect-ratio: 1; border-radius: 50%; max-width: 320px; width: 100%; }

/* ---------- Drie tegels ---------- */
.drie { padding: 20px 0 60px; }
.drie__raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tegel {
  display: block; padding: 28px; border-radius: var(--rond);
  color: var(--bruin); text-decoration: none; transition: transform .2s;
}
.tegel:hover { transform: translateY(-4px) rotate(-.5deg); }
.tegel p { margin: 0; }
.tegel__icoon { font-size: 2rem; display: block; margin-bottom: .4em; }
.tegel--roze { background: var(--roze-licht); }
.tegel--mint { background: var(--mint-licht); }
.tegel--geel { background: var(--geel-licht); }

/* ---------- Blokken ---------- */
.blok { padding: 80px 0; }
.blok--mint { background: var(--mint-licht); }
.blok--crème { background: var(--geel-licht); }
.blok__kop { text-align: center; max-width: 620px; margin: 0 auto 40px; }

/* ---------- Producten ---------- */
.producten { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--wit); border-radius: var(--rond); box-shadow: var(--schaduw);
}
.product__foto .fotovak, .product__foto img { aspect-ratio: 1; border-radius: 0; width: 100%; object-fit: cover; }
.product__tekst { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product__tekst p { font-size: .95rem; }
.product__onder { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prijs { font: 700 1.2rem var(--letter-kop); }
.product--uit .product__foto { opacity: .5; }

/* ---------- Fotobooth ---------- */
.booth { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.booth__beeld { position: relative; max-width: 420px; }
.strip {
  position: absolute; right: -30px; bottom: -24px; width: 90px; padding: 8px;
  display: grid; gap: 6px; background: var(--wit); transform: rotate(8deg); box-shadow: var(--schaduw);
}
.strip span { aspect-ratio: 1; background: var(--roze-licht); }
.strip span:nth-child(2) { background: var(--mint); }
.strip span:nth-child(3) { background: var(--geel-licht); }
.vinkjes { list-style: none; padding: 0; margin: 0 0 1.4em; }
.vinkjes li { padding-left: 32px; position: relative; margin-bottom: .5em; }
.vinkjes li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: var(--wit); font-size: .75rem; font-weight: 700;
}
.prijsregel { font-size: 1.15rem; }

/* ---------- Over ---------- */
.over { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contactlijst { list-style: none; padding: 0; }
.contactlijst li { margin-bottom: .5em; }
.formulier {
  display: grid; gap: 16px; padding: 32px;
  background: var(--wit); border-radius: var(--rond); box-shadow: var(--schaduw);
}
.formulier label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.formulier input, .formulier select, .formulier textarea {
  font: inherit; font-weight: 400; padding: .7em .9em; color: var(--bruin);
  border: 2px solid var(--roze-licht); border-radius: 12px; background: var(--crème);
}
.formulier input:focus, .formulier select:focus, .formulier textarea:focus { outline: none; border-color: var(--roze); }
.formulier .knop { justify-self: start; }
.twee { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Voet ---------- */
.voet { background: var(--bruin); color: var(--crème); padding: 32px 0; }
.voet a { color: var(--roze); }
.voet__binnen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.voet p { margin: 0; }

/* ---------- Winkelmandje-knop in de kop ---------- */
.mandjeknop {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--accent); color: var(--wit);
}
.mandjeknop svg { width: 22px; height: 22px; }
.mandjeknop__teller {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--geel); color: var(--bruin); font-size: .75rem; font-weight: 700;
}
.mandjeknop__teller[hidden] { display: none; }

/* Melding "zit in je mandje" */
.melding {
  position: fixed; left: 50%; bottom: 20px; z-index: 20; transform: translate(-50%, 150%);
  max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px;
  background: var(--bruin); color: var(--crème); box-shadow: var(--schaduw);
  transition: transform .3s; font-weight: 600;
}
.melding.zichtbaar { transform: translate(-50%, 0); }
.melding a { color: var(--geel); }

/* Productkaart: links */
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a:hover { color: var(--accent); }
.product__foto { display: block; }

/* ---------- Productpagina ---------- */
.terug a { color: var(--bruin); font-weight: 600; text-decoration: none; }
.productpagina { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 16px; }
.productpagina__foto .fotovak, .productpagina__foto img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--rond); box-shadow: var(--schaduw); }
.productpagina__prijs { font: 700 1.8rem var(--letter-kop); color: var(--accent); }
.kopen { display: flex; align-items: end; gap: 14px; margin: 1.5em 0 1em; }
.aantal { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.aantal input {
  width: 80px; font: inherit; padding: .7em .8em; color: var(--bruin);
  border: 2px solid var(--roze-licht); border-radius: 12px; background: var(--wit);
}
.uitverkocht { font-weight: 700; color: var(--accent); }

/* ---------- Winkelmandje-pagina ---------- */
.mandje { max-width: 820px; }
.mandje__regels { list-style: none; padding: 0; margin: 0 0 24px; }
.mandje__regel {
  display: grid; grid-template-columns: 72px 1fr auto auto auto; gap: 16px; align-items: center;
  padding: 14px; margin-bottom: 12px; background: var(--wit); border-radius: var(--rond); box-shadow: var(--schaduw);
}
.mandje__foto .fotovak, .mandje__foto img { width: 72px; aspect-ratio: 1; border-radius: 14px; object-fit: cover; font-size: 0; }
.mandje__foto .fotovak span { display: none; }
.mandje__naam { display: grid; }
.mandje__naam a { color: var(--bruin); font-weight: 700; text-decoration: none; }
.mandje__aantal { display: flex; align-items: center; gap: 10px; }
.mandje__aantal button, .mandje__weg {
  width: 32px; height: 32px; border: 2px solid var(--roze-licht); border-radius: 50%;
  background: var(--crème); color: var(--bruin); font: 700 1rem var(--letter-tekst); cursor: pointer;
}
.mandje__weg { border: 0; background: none; font-size: 1.4rem; opacity: .6; }
.mandje__weg:hover { opacity: 1; color: var(--accent); }
.mandje__bedrag { min-width: 80px; text-align: right; }
.mandje__totaal { text-align: right; }
.mandje__totaal .knop { margin: 8px 0; font-size: 1.1rem; }
.mandje__fout { color: #b3261e; font-weight: 600; }

/* ---------- Bedankt / 404 ---------- */
.bedankt { max-width: 620px; text-align: center; }
.bedankt__icoon { font-size: 3.5rem; margin: 0; }

/* ---------- Telefoon en tablet ---------- */
@media (max-width: 860px) {
  .held__binnen, .booth, .over, .contact, .productpagina { grid-template-columns: 1fr; gap: 36px; }
  .mandje__regel { grid-template-columns: 56px 1fr auto; gap: 10px 14px; }
  .mandje__foto { grid-row: span 2; }
  .mandje__foto .fotovak, .mandje__foto img { width: 56px; }
  .mandje__aantal { grid-column: 2; }
  .mandje__bedrag { grid-column: 3; grid-row: 2; }
  .mandje__weg { grid-column: 3; grid-row: 1; justify-self: end; }
  .held { padding-top: 76px; }
  .logo__beeld { height: 44px; }
  .held__beeld { max-width: 420px; }
  .drie__raster { grid-template-columns: 1fr; }
  .booth__beeld { max-width: 320px; }
  .strip { right: -10px; }
  .over .fotovak--rond { max-width: 220px; }
  .blok { padding: 60px 0; }

  .menuknop {
    display: block; border: 2px solid var(--bruin); background: none; border-radius: 999px;
    padding: .35em 1em; font: 700 .9rem var(--letter-tekst); color: var(--bruin);
  }
  .menu {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 16px; padding: 24px 16px;
    background: var(--crème); border-bottom: 1px solid rgba(90, 58, 46, .1);
  }
  .menu.open { display: flex; }
}
@media (max-width: 520px) {
  .twee { grid-template-columns: 1fr; }
  .formulier { padding: 22px; }
}
