/* Eigenwijs Konijn: huisstijl afgeleid van het handgetekende logo.
   Kleuren gemeten in het origineel (29-11-2026): inkt ~#383030, wortel ~#F85060, loof ~#A8F880.
   De felle stiftkleuren alleen als accent; voor tekst en knoppen de donkere varianten (contrast >= 4,5:1). */

@font-face {
  font-family: "Cutive";
  src: url("../fonts/cutive-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --papier: #fbf7f0;
  --linnen: #efe6d8;
  --roze: #f7dfe0;
  --inkt: #2f2a2a;
  --inkt-zacht: #5c5353;
  --wortel: #f2603f;
  --wortel-donker: #a9391c;
  --loof: #8fd16f;
  --loof-donker: #3b6b2f;

  --kop: "Cutive", "American Typewriter", "Courier New", serif;
  --tekst: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ruimte-1: 0.5rem;
  --ruimte-2: 1rem;
  --ruimte-3: 1.5rem;
  --ruimte-4: 2.5rem;
  --ruimte-5: 4rem;
  --breed: 72rem;
  --rond: 14px;
}

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

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font-family: var(--tekst);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

h1, h2, h3 {
  font-family: var(--kop);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--ruimte-2);
}
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 var(--ruimte-2); max-width: 62ch; }

a { color: var(--wortel-donker); text-underline-offset: 0.18em; }
a:hover { color: var(--inkt); }
:focus-visible { outline: 3px solid var(--wortel-donker); outline-offset: 3px; border-radius: 4px; }

.overslaan {
  position: absolute; left: var(--ruimte-2); top: -4rem;
  background: var(--inkt); color: var(--papier); padding: var(--ruimte-1) var(--ruimte-2); z-index: 10;
}
.overslaan:focus { top: var(--ruimte-1); }

.binnen { width: min(100% - 2 * var(--ruimte-3), var(--breed)); margin-inline: auto; }

/* Kop */
.kop { padding-block: var(--ruimte-3) var(--ruimte-2); border-bottom: 2px solid var(--inkt); }
.kop .binnen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ruimte-2); }
/* Logo: vaste verhouding van het origineel (1600x561); nooit filter, bijsnijden of hercolor */
.kop .logo img { width: clamp(220px, 34vw, 360px); aspect-ratio: 1600 / 561; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--ruimte-1) var(--ruimte-3); }
.menu a {
  font-family: var(--kop); font-size: 1.15rem; color: var(--inkt); text-decoration: none;
  display: inline-block; padding-block: 0.6rem; min-height: 44px;
}
.menu a:hover, .menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--wortel); text-decoration-thickness: 3px; }

/* Knoppen */
.knop {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0.7rem 1.5rem; border-radius: 999px; border: 2px solid var(--inkt);
  font-family: var(--kop); font-size: 1.15rem; text-decoration: none; cursor: pointer;
  transition: transform 160ms ease-out, background-color 160ms ease-out;
}
.knop-hoofd { background: var(--wortel-donker); border-color: var(--wortel-donker); color: #fff; }
.knop-hoofd:hover { background: var(--inkt); border-color: var(--inkt); color: #fff; }
.knop-twee { background: transparent; color: var(--inkt); }
.knop-twee:hover { background: var(--inkt); color: var(--papier); }
.knop:active { transform: scale(0.97); }

/* Hoofdbeeld */
.held { padding-block: var(--ruimte-4) var(--ruimte-5); }
.held .binnen { display: grid; gap: var(--ruimte-4); align-items: center; }
.held-beeld img { border-radius: var(--rond); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
/* Op de telefoon eerst de taart: bij een bakker verkoopt de foto */
@media (max-width: 51.99rem) { .held-beeld { order: -1; } .held { padding-top: var(--ruimte-3); } }
.knoppen { display: flex; flex-wrap: wrap; gap: var(--ruimte-2); margin-top: var(--ruimte-3); }
@media (min-width: 52rem) {
  .held .binnen { grid-template-columns: 1fr 1fr; }
}

/* Secties */
.sectie { padding-block: var(--ruimte-5); }
.sectie-linnen { background: var(--linnen); }
.sectie-roze { background: var(--roze); }
.sectie-kop { margin-bottom: var(--ruimte-4); }

/* Assortiment */
.raster { display: grid; gap: var(--ruimte-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.product { background: var(--papier); border: 2px solid var(--inkt); border-radius: var(--rond); overflow: hidden; }
.product img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-bottom: 2px solid var(--inkt); }
.product-tekst { padding: var(--ruimte-2) var(--ruimte-2) var(--ruimte-3); }
.product h3 { margin-bottom: var(--ruimte-1); }

/* Wortelstreep: verwijst naar de wortel uit het logo, puur decoratief */
.streep { width: 4rem; height: 6px; border-radius: 3px; background: var(--wortel); margin-bottom: var(--ruimte-2); }
.streep::after { content: ""; display: block; width: 1.2rem; height: 6px; border-radius: 3px; background: var(--loof); margin-left: 4.3rem; }

/* Invulplekken: zichtbaar leeg, zodat niemand ze voor echte tekst aanziet */
.leeg {
  border: 2px dashed var(--inkt-zacht); border-radius: 10px; padding: var(--ruimte-2);
  color: var(--inkt-zacht); background: rgb(255 255 255 / 0.5); font-size: 0.95rem;
}
.leeg + .leeg { margin-top: var(--ruimte-2); }
h1.leeg, h2.leeg, h3.leeg { font-size: inherit; font-family: var(--tekst); }

/* Formulier (nog niet gekoppeld) */
.formulier { display: grid; gap: var(--ruimte-3); max-width: 38rem; }
.veld { display: grid; gap: 0.35rem; }
.veld label { font-weight: 600; }
.veld input, .veld textarea, .veld select {
  font: inherit; color: var(--inkt); background: #fff; border: 2px solid var(--inkt);
  border-radius: 10px; padding: 0.7rem 0.85rem; min-height: 48px; width: 100%;
}
.veld textarea { min-height: 8rem; resize: vertical; }
.knop[disabled] { opacity: 0.45; cursor: not-allowed; }

/* Voet */
.voet { background: var(--inkt); color: var(--papier); padding-block: var(--ruimte-4); margin-top: 0; }
.voet a { color: var(--papier); }
.voet .leeg { color: #e6dfdf; border-color: #a99f9f; background: transparent; }
.voet .binnen { display: grid; gap: var(--ruimte-3); align-items: start; }
@media (min-width: 48rem) { .voet .binnen { grid-template-columns: repeat(3, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
