/* GOESTING – Borrelplanken & more.
   Licht en fris als een moderne bistro: crème, diep flessengroen en mosterd.
   Vorige ontwerpen staan in _origineel/ (layout-licht-… en layout-rustiek-…). */
:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
  --bg: #f5eee3;          /* warm crème */
  --bg-2: #efe5d6;
  --surface: #fffaf2;
  --text: #1e2a22;        /* bijna zwart, met een groene ondertoon */
  --muted: #5b6659;
  --groen: #24382c;       /* flessengroen */
  --groen-2: #2f4a3a;
  --mosterd: #e2a83a;
  --accent: #9a5f12;      /* donkere mosterd voor tekst en links (goed leesbaar) */
  --accent-text: #fffaf2;
  --accent-soft: #f3e2bf;
  --border: #e2d5c1;
  --board: #b98a5a;
  --board-dark: #8f6538;
  --ok: #2f6b3a;
  --err: #b3261e;
  --rond: 24px;
  --schaduw: 0 18px 40px -18px rgba(36, 56, 44, .35);
  --kop: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}
html { scroll-padding-top: 90px; scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--kop); line-height: 1.05; margin: 0; font-weight: 800; letter-spacing: -.01em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- Kop ---------- */
header.site {
  position: sticky; top: 0; z-index: 20; padding: 14px 0;
  background: rgba(245, 238, 227, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.logo { text-decoration: none; color: var(--groen); display: flex; flex-direction: column; line-height: 1; }
.woordmerk { font-family: var(--kop); font-weight: 800; font-size: 1.75rem; letter-spacing: .01em; }
.punt { color: var(--mosterd); }
.slogan { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; }
nav a { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--mosterd); transition: right .2s; }
nav a:hover::after, nav a[aria-current]::after { right: 0; }

/* Voorpagina: de blokken staan onder elkaar in de volgorde uit /admin (Indeling), via CSS order. */
main.blokken { display: flex; flex-direction: column; }
main.blokken > .wrap { width: 100%; }

/* ---------- Bovenaan: tekst links, foto in boogvorm rechts ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.pil {
  display: inline-block; background: var(--accent-soft); color: var(--groen); border: 1px solid #e6cf9f;
  font-weight: 600; font-size: .85rem; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); color: var(--groen); margin: 0 0 18px; }
.hero p { color: var(--muted); max-width: 46ch; margin: 0 0 28px; font-size: 1.12rem; }
.hero-knoppen { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-beeld { position: relative; }
.boog {
  aspect-ratio: 4 / 5; width: 100%; max-width: 480px; margin-left: auto;
  border-radius: 999px 999px var(--rond) var(--rond);
  background: var(--groen-2) var(--hero-foto, none) center / cover no-repeat;
  box-shadow: var(--schaduw);
  /* zonder foto: rustig patroon */
  background-image: var(--hero-foto, repeating-linear-gradient(45deg, rgba(226,168,58,.25) 0 14px, transparent 14px 28px));
}
.sticker {
  position: absolute; left: 4%; bottom: 8%; width: 118px; height: 118px; border-radius: 50%;
  background: var(--mosterd); color: var(--groen); display: grid; place-items: center; text-align: center;
  font-family: var(--kop); font-weight: 800; font-size: 1.05rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .04em;
  transform: rotate(-12deg); box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); border: 3px dashed rgba(36,56,44,.35);
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; padding-bottom: 40px; }
  .hero-beeld { order: -1; }
  .boog { max-width: none; aspect-ratio: 5 / 4; border-radius: 220px 220px var(--rond) var(--rond); }
  .sticker { width: 92px; height: 92px; font-size: .85rem; }
}

/* ---------- Bewegende band ---------- */
.band { background: var(--groen); color: var(--mosterd); overflow: hidden; padding: 14px 0; border-block: 1px solid #1a2a20; }
.band-loop { display: flex; gap: 26px; width: max-content; animation: band 38s linear infinite; font-family: var(--kop); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .1em; }
.band-loop i { font-style: normal; color: #f5eee3; opacity: .7; }
@keyframes band { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  background: var(--groen); color: var(--accent-text); padding: 14px 26px; border-radius: 999px;
  text-decoration: none; transition: transform .12s, background .15s;
}
.btn:hover { background: var(--groen-2); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--groen); border: 2px solid var(--groen); padding: 12px 24px; }
.btn.ghost:hover { background: var(--groen); color: var(--accent-text); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- Secties ---------- */
section { padding: 80px 0; }
section > .wrap > h2, .sectiekop h2, .faq-kop h2 { font-size: clamp(2.1rem, 5vw, 3.2rem); color: var(--groen); margin-bottom: 10px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 64ch; }
.sectiekop { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.sectiekop .sub { margin-bottom: 20px; }

/* ---------- Plankkaarten ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rond); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--schaduw); }
.art { position: relative; background: var(--accent-soft); display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; flex: none; margin: 10px 10px 0; border-radius: calc(var(--rond) - 8px); }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .art img { transform: scale(1.04); }
.art .formaat { position: absolute; top: 12px; left: 12px; background: var(--mosterd); color: var(--groen); border-radius: 999px; padding: 5px 13px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.board { width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--board), var(--board-dark)); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0,0,0,.18); font-size: 1.9rem; letter-spacing: 4px; }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 1.45rem; color: var(--groen); }
.meta { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: var(--bg-2); color: var(--groen); border-radius: 999px; padding: 3px 11px; font-size: .8rem; font-weight: 600; }
.card ul { margin: 0; padding-left: 0; list-style: none; color: var(--muted); font-size: .94rem; flex: 1; }
.card ul li { padding: 4px 0 4px 20px; position: relative; border-bottom: 1px dotted var(--border); }
.card ul li:last-child { border-bottom: 0; }
.card ul li::before { content: "\2726"; color: var(--mosterd); position: absolute; left: 0; font-size: .8rem; top: 6px; }
.card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; }
.price { font-family: var(--kop); font-size: 1.8rem; font-weight: 800; color: var(--groen); }

/* ---------- Hoe werkt het (donkergroene band) ---------- */
#hoe { background: var(--groen); color: #f5eee3; }
#hoe h2 { color: #f5eee3; }
#hoe .sub { color: #c9d3c4; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.step { background: var(--groen-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--rond); padding: 26px; }
.step b { display: block; font-family: var(--kop); font-weight: 800; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--mosterd); margin-bottom: 12px; }
.step h3 { font-size: 1.3rem; color: #f5eee3; }
.step p { margin: 6px 0 0; color: #c9d3c4; font-size: .96rem; }

/* ---------- Veelgestelde vragen (twee kolommen) ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-kop { position: sticky; top: 100px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 10px; } .faq-kop { position: static; } }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; margin-bottom: 12px; }
.faq details[open] { border-color: var(--mosterd); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; color: var(--groen); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--groen); font-weight: 800; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--mosterd); }
.faq details .antwoord { color: var(--muted); }
.faq details .antwoord > :first-child { margin-top: 10px; }
.faq details .antwoord > :last-child { margin-bottom: 0; }

/* ---------- Voet ---------- */
footer { background: var(--groen); color: #c9d3c4; padding: 56px 0 44px; text-align: center; }
.voet-merk { font-family: var(--kop); font-weight: 800; font-size: clamp(2.8rem, 11vw, 6.6rem); letter-spacing: .01em; color: #f5eee3; line-height: 1; }
.voet-slogan { letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; font-weight: 600; color: var(--mosterd); margin-top: 10px; }
.voet-tekst { margin-top: 22px; font-size: .9rem; }

/* ---------- Vensters en formulieren ---------- */
dialog {
  border: 0; border-radius: var(--rond); padding: 0; width: min(560px, calc(100% - 24px));
  max-height: calc(100% - 24px); background: var(--surface); color: var(--text);
  box-shadow: 0 30px 80px rgba(20, 30, 24, .45);
  overflow-y: auto; overscroll-behavior: contain;
}
dialog::backdrop { background: rgba(20, 30, 24, .6); backdrop-filter: blur(3px); }
.dlg { padding: 24px; overflow-y: auto; }
.dlgfoto { margin: -24px -24px 18px; height: 200px; background: var(--accent-soft); }
.dlgfoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dlgfoto:not(.hidden) + .close { position: absolute; top: 12px; right: 14px; z-index: 1; float: none; background: rgba(36,56,44,.75); color: #fff; border-radius: 50%; width: 38px; height: 38px; }
@media (max-width: 480px) { .dlgfoto { height: 150px; } }
.dlg h2 { font-size: 1.7rem; color: var(--groen); margin-bottom: 4px; }
.dlg .close { float: right; background: none; border: 0; font-size: 1.6rem; color: var(--muted); cursor: pointer; line-height: 1; }
label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 5px; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 11px 13px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--groen); outline-offset: 1px; }
textarea { min-height: 80px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } nav { gap: 4px 16px; } nav a { font-size: .9rem; } }
.err { color: var(--err); font-size: .85rem; margin-top: 4px; min-height: 1em; }
.note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.done { text-align: center; padding: 10px 0; }
.done .check { font-size: 2.6rem; }
.summary { text-align: left; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; margin: 16px 0; font-size: .95rem; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.summary span:first-child { color: var(--muted); }
.summary .korting { color: var(--ok); }
.summary .totaal { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; font-weight: 700; }
.summary .totaal span:first-child { color: var(--text); }
.coderij { display: flex; gap: 8px; }
.coderij input { text-transform: uppercase; }
.coderij .btn { padding: 10px 16px; white-space: nowrap; }
.allergenen { font-size: .85rem; color: var(--muted); margin: 0; }
.allergenen::before { content: "\26A0\FE0E  "; color: var(--accent); }
.hint { color: var(--ok); font-size: .85rem; margin-top: 4px; }

/* Extra's in het aanvraagvenster: warme hapjes en wijn */
.extras { margin-top: 18px; display: grid; gap: 14px; }
.extragroep { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 14px 14px 8px; }
.extragroep h3 { font-family: var(--kop); font-size: 1.1rem; color: var(--groen); margin: 0; display: flex; align-items: baseline; gap: 8px; }
.extragroep h3 span { font-family: Inter, sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.extragroep .sub { font-size: .85rem; color: var(--muted); margin: 2px 0 6px; }
.extra { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--border); }
.extra:first-child { border-top: 0; }
.extra-info { flex: 1; min-width: 0; }
.extra-naam { font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.extra-sub { font-size: .8rem; color: var(--muted); margin-top: 1px; }
.wijnkleur { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.wijnkleur.rood { background: #f3dcdc; color: #8a2430; }
.wijnkleur.wit { background: #f4efd2; color: #6d5d12; }
.wijnkleur.rose { background: #f8e1e6; color: #a3415a; }
.wijnkleur.bubbels { background: #e4eadf; color: var(--groen); }
.stapper { display: flex; align-items: center; gap: 4px; flex: none; }
.stapper button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--groen); font-size: 1.15rem; line-height: 1; cursor: pointer; }
.stapper button:hover:not(:disabled) { background: var(--groen); color: var(--accent-text); border-color: var(--groen); }
.stapper button:disabled { opacity: .35; cursor: default; }
.stapper span { min-width: 22px; text-align: center; font-weight: 700; }
.extra.gekozen .stapper span { color: var(--accent); }.vinkje { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 10px 0 0; }
.vinkje input { width: auto; }

/* ---------- Fotogalerij ---------- */
.galerij { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.galerij .foto { margin: 0; }
.galerij .foto:nth-child(5n+1) button { border-radius: 120px 120px 18px 18px; } /* af en toe een boogje */
.galerij button { display: block; width: 100%; padding: 0; border: 0; background: var(--accent-soft); border-radius: 18px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1 / 1; }
.galerij img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.galerij button:hover img { transform: scale(1.05); }
.galerij button:focus-visible { outline: 3px solid var(--groen); outline-offset: 2px; }
.galerij figcaption { font-size: .88rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 480px) { .galerij { grid-template-columns: 1fr 1fr; gap: 8px; } }
dialog.fotovenster { width: min(980px, calc(100% - 24px)); background: #111; color: #fff; padding: 0; overflow: hidden; }
.fotovenster img { display: block; width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: #111; }
.fotovenster .close { position: absolute; top: 8px; right: 12px; z-index: 1; background: rgba(0,0,0,.5); color: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.fotobalk { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; }
.fotobalk .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); padding: 8px 16px; }
.fotobalk span { text-align: center; font-size: .92rem; opacity: .9; }

/* ---------- Losse pagina's (gemaakt in /admin) ---------- */
.pagina { padding-top: 56px; padding-bottom: 80px; }
.pagina h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); color: var(--groen); margin-bottom: 22px; }
.inhoud { max-width: 68ch; font-size: 1.05rem; }
.inhoud h2 { font-size: 1.7rem; color: var(--groen); margin: 30px 0 8px; }
.inhoud h3 { font-size: 1.3rem; color: var(--groen); margin: 22px 0 6px; }
.inhoud p, .inhoud ul { margin: 0 0 14px; }
.inhoud a, .antwoord a { color: var(--accent); }
.inhoud a.btn { color: var(--accent-text); }
.inhoud .keuze { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.aanrader { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rond); overflow: hidden; margin: 22px 0; max-width: 520px; box-shadow: var(--schaduw); }
.aanrader img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.aanrader-body { padding: 18px 20px 20px; }
.aanrader h3 { margin: 0 0 4px; font-size: 1.45rem; color: var(--groen); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.aanrader .aanrader-meta { color: var(--muted); margin: 0 0 8px; }
.aanrader ul { color: var(--muted); font-size: .95rem; padding-left: 18px; margin: 0 0 12px; }
.aanrader-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---------- Wijn: band op de voorpagina en de wijnpagina ---------- */
:root { --wijn: #3a1219; --wijn-2: #521a24; --serif: "Cormorant Garamond", Georgia, serif; }
.btn.licht { background: var(--mosterd); color: var(--groen); }
.btn.licht:hover { background: #ecb94f; }
.btn.ghost-licht { background: transparent; color: #f5eee3; border: 2px solid rgba(245,238,227,.55); padding: 12px 24px; }
.btn.ghost-licht:hover { border-color: #f5eee3; background: rgba(245,238,227,.08); }
.bovenlabel { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

.wijnband { background: radial-gradient(120% 140% at 85% 20%, var(--wijn-2), var(--wijn) 60%); color: #f3e7dc; overflow: hidden; }
.wijnband-raster { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.wijnband .bovenlabel { color: var(--mosterd); }
.wijnband h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); color: #f8efe6; letter-spacing: 0; margin-bottom: 14px; }
.wijnband p { color: #dccabd; max-width: 54ch; margin: 0 0 26px; font-size: 1.05rem; }
.wijnband-flessen, .wijnhero-beeld { display: flex; justify-content: center; align-items: flex-end; height: 300px; }
.hf { width: 86px; filter: drop-shadow(0 22px 22px rgba(0,0,0,.45)); }
.hf + .hf { margin-left: -16px; }
.hf-1 { width: 104px; position: relative; z-index: 1; }
.hf .flessvg { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .wijnband-raster { grid-template-columns: 1fr; } .wijnband-flessen { height: 220px; order: -1; } .hf { width: 64px; } .hf-1 { width: 78px; } }

.wijnpagina header.site { background: rgba(245, 238, 227, .92); }
.wijnhero { background: radial-gradient(110% 130% at 80% 10%, var(--wijn-2), var(--wijn) 55%, #240a0f); color: #f3e7dc; padding: 70px 0 80px; }
.wijnhero-raster { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.wijnhero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: 0; line-height: 1; color: #f8efe6; margin: 22px 0 18px; }
.wijnhero p { color: #dccabd; max-width: 52ch; font-size: 1.12rem; margin: 0 0 28px; }
.partnerkaart { display: inline-flex; flex-direction: column; gap: 8px; background: #fbf6ef; border-radius: 16px; padding: 14px 20px 16px; box-shadow: 0 16px 34px -16px rgba(0,0,0,.6); }
.partner-label { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #8b6a5a; }
.partner-logo { display: block; color: var(--wijn); text-decoration: none; }
.partner-logo img { display: block; height: 52px; width: auto; max-width: 280px; }
.partnernaam { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.wijnhero-beeld { height: 360px; }
.wijnhero-beeld .hf { width: 104px; }
.wijnhero-beeld .hf-1 { width: 128px; }
@media (max-width: 860px) { .wijnhero-raster { grid-template-columns: 1fr; } .wijnhero-beeld { height: 240px; order: -1; } .wijnhero-beeld .hf { width: 72px; } .wijnhero-beeld .hf-1 { width: 88px; } }

.flessen-sectie { background: var(--bg); }
/* Om en om: foto links / tekst rechts, en bij elke tweede fles andersom. */
.flessen { display: flex; flex-direction: column; gap: 34px; margin-top: 26px; }
.fles { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--rond); padding: 34px; }
.fles:nth-child(even) .fles-podium { order: 2; }
.fles-podium { position: relative; height: 440px; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 44px; border-radius: calc(var(--rond) - 6px); perspective: 900px;
  background: radial-gradient(60% 60% at 50% 40%, #fff8ee, #efe2cf 70%, #e6d5bd); overflow: hidden; }
.fles-rood .fles-podium { background: radial-gradient(60% 60% at 50% 40%, #fbefe8, #ecd6cf 70%, #e2c4ba); }
.fles-wit .fles-podium { background: radial-gradient(60% 60% at 50% 40%, #fffbea, #f0e8c9 70%, #e5dbb4); }
/* Langzaam heen en weer draaien in 3D, met een zwevende schaduw eronder. */
.fles-draai { height: 360px; display: flex; justify-content: center; align-items: flex-end; transform-style: preserve-3d; animation: fles-draai 9s ease-in-out infinite; position: relative; z-index: 1; }
.fles-draai .flessvg { height: 100%; width: auto; filter: drop-shadow(0 18px 16px rgba(0,0,0,.25)); }
.fles-draai img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(0,0,0,.22)); }
.fles-schaduw { position: absolute; bottom: 30px; left: 50%; width: 150px; height: 18px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(40,20,10,.32), transparent); animation: fles-schaduw 9s ease-in-out infinite; }
@keyframes fles-draai {
  0%, 100% { transform: rotateY(-32deg) translateY(0); }
  25% { transform: rotateY(0deg) translateY(-8px); }
  50% { transform: rotateY(32deg) translateY(0); }
  75% { transform: rotateY(0deg) translateY(-8px); }
}
@keyframes fles-schaduw { 0%, 50%, 100% { transform: translateX(-50%) scale(1); opacity: 1; } 25%, 75% { transform: translateX(-50%) scale(.82); opacity: .75; } }
.fles:hover .fles-draai { animation-duration: 4.5s; }
.fles { scroll-margin-top: 110px; }
.flesnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.flesnav:empty { display: none; }
.flesnav a { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 600; color: var(--groen); text-decoration: none; }
.flesnav a:hover { border-color: var(--wijn); color: var(--wijn); }
.flesnav a::after { display: none; }
.stip { width: 10px; height: 10px; border-radius: 50%; background: #7a1a2a; display: inline-block; }
.stip.wit { background: #d8c46a; } .stip.rose { background: #e3a0ab; } .stip.bubbels { background: var(--mosterd); }
.hf-foto img { display: block; width: 100%; height: auto; }
.wijnhero-beeld .hf-foto { width: 150px; }
.fles-body { display: flex; flex-direction: column; gap: 12px; padding: 0 8px; }
.fles-nr { font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--mosterd); }
.fles-body .wijnkleur { align-self: flex-start; }
.fles h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: 0; color: var(--wijn); line-height: 1.02; }
.fles p { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.fles .fles-past { font-size: .9rem; color: var(--groen); }
.fles .fles-past::before { content: "\2726  "; color: var(--mosterd); }
.fles-voet { margin-top: 10px; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px dashed var(--border); }
.fles-prijs { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--wijn); }
.fles-prijs small { font-family: Inter, sans-serif; font-size: .8rem; color: var(--muted); font-weight: 500; }
@media (max-width: 760px) {
  .fles { grid-template-columns: 1fr; gap: 22px; padding: 18px; }
  .fles:nth-child(even) .fles-podium { order: 0; }
  .fles-podium { height: 340px; }
  .fles-draai { height: 280px; }
  .fles-nr { font-size: 2.6rem; }
}
.fles-voet .btn { padding: 10px 18px; font-size: .9rem; }

.wijnuitleg-sectie { background: var(--bg-2); }
.wijnuitleg-raster { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.wijnuitleg h2 { font-family: var(--serif); font-weight: 600; letter-spacing: 0; color: var(--wijn); font-size: 2rem; }
.wijnuitleg > :first-child { margin-top: 0; }
.wijnkader { background: var(--groen); color: #e4eadf; border-radius: var(--rond); padding: 28px; position: sticky; top: 100px; }
.wijnkader h3 { color: #f5eee3; font-size: 1.35rem; margin: 12px 0 8px; }
.wijnkader p { margin: 0 0 18px; color: #c9d3c4; }
.wijnkader .btn { background: var(--mosterd); color: var(--groen); }
.wijnkader-icoon { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--mosterd); color: var(--mosterd); display: grid; place-items: center; font-family: var(--kop); font-weight: 800; }
@media (max-width: 860px) { .wijnuitleg-raster { grid-template-columns: 1fr; gap: 24px; } .wijnkader { position: static; } }
.extragroep .sub a { color: var(--accent); }

/* ---------- Knoppen Borrelplanken / Borrelpannen ---------- */
.soorttabs { display: inline-flex; gap: 6px; padding: 6px; margin: 6px 0 30px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--schaduw); }
.soorttab { border: 0; background: transparent; color: var(--groen); font: inherit; font-weight: 700; font-size: 1.02rem; padding: 12px 24px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.soorttab[aria-selected="true"] { background: var(--groen); color: var(--accent-text); }
.soorttab:not([aria-selected="true"]):hover { background: var(--accent-soft); }
.pannen-uitleg { margin: -12px 0 6px; }
@media (max-width: 480px) { .soorttabs { display: flex; } .soorttab { flex: 1; padding: 11px 10px; font-size: .95rem; } }

/* ---------- Planken in drie rijen: Klein, Middel, Groot ---------- */
.formaatrijen { display: grid; gap: 44px; }
.rijkop { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.rijkop h3 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); color: var(--groen); }
.rijpersonen { background: var(--mosterd); color: var(--groen); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: .9rem; }
.formaatrij .grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }

/* ---------- Mandje ---------- */
.mandknop { position: fixed; right: 18px; bottom: 18px; z-index: 25; display: inline-flex; align-items: center; gap: 10px;
  background: var(--groen); color: var(--accent-text); border: 0; border-radius: 999px; padding: 12px 18px 12px 14px; font: inherit; font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(20,30,24,.55); cursor: pointer; text-decoration: none; transition: transform .15s; }
.mandknop:hover { transform: translateY(-2px); }
.mand-icoon { font-size: 1.3rem; line-height: 1; }
.mand-aantal { background: var(--mosterd); color: var(--groen); min-width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: .85rem; padding: 0 7px; }
.mand-bedrag { font-family: var(--kop); font-weight: 800; }
body:has(.voorbeeldbalk) .mandknop { bottom: 56px; }
.stapper.groot { margin-top: 2px; }
.stapper.groot button { width: 42px; height: 42px; font-size: 1.3rem; }
.stapper.groot input { width: 64px; text-align: center; font-weight: 700; padding: 9px 6px; -moz-appearance: textfield; }
.stapper.groot input::-webkit-outer-spin-button, .stapper.groot input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mandlijst { display: grid; gap: 10px; margin-top: 12px; }
.manditem { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; padding: 12px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); }
.mandfoto { width: 64px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--accent-soft); display: grid; place-items: center; }
.mandfoto img { width: 100%; height: 100%; object-fit: cover; }
.mandinfo b { color: var(--groen); }
.mandextra { font-size: .86rem; color: var(--muted); }
.mandknoppen { display: flex; gap: 14px; margin-top: 4px; }
.linkknop { background: none; border: 0; padding: 0; font: inherit; font-size: .85rem; font-weight: 600; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mandprijs { font-family: var(--kop); font-weight: 800; color: var(--groen); white-space: nowrap; }
.mandleeg { color: var(--muted); text-align: center; padding: 18px 0; margin: 0; }
.terugknop { background: none; border: 0; padding: 0; margin: 0 0 10px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--accent); cursor: pointer; }
@media (max-width: 480px) { .manditem { grid-template-columns: 52px 1fr; } .mandfoto { width: 52px; height: 40px; } .mandprijs { grid-column: 2; } .mandknop { right: 12px; bottom: 12px; } }

/* Pop-up "Goed om te weten" voor het indienen */
dialog.okvenster { width: min(440px, calc(100% - 32px)); text-align: center; }
.okvenster .dlg { padding: 30px 26px 26px; }
.okvenster h2 { font-size: 1.6rem; }
.okvenster p { color: var(--muted); margin: 10px 0 0; font-size: 1.02rem; }
.okvenster .actions { justify-content: center; flex-direction: column; align-items: stretch; }
.ok-icoon { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--mosterd); color: var(--groen); display: grid; place-items: center; font-family: var(--serif, Georgia), serif; font-style: italic; font-weight: 700; font-size: 1.7rem; }

/* ---------- Maak je plank compleet (voorpagina) ---------- */
.erbij { margin: 0; font-size: .86rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 10px; padding: 7px 12px; }
.compleet { background: var(--bg-2); padding-top: 64px; }
.compleet-kop { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.compleet-kop h2 { font-size: clamp(2.1rem, 5vw, 3.2rem); color: var(--groen); margin-bottom: 10px; }
.compleet-kop .sub { margin: 0 auto; }
.compleet-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.tegel-extra { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rond); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.tegel-extra::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--mosterd); }
.tegel-wijn::before { background: #7a1a2a; }
.tegel-hoe { background: var(--groen); border-color: var(--groen); color: #e4eadf; }
.tegel-hoe::before { background: var(--mosterd); }
.tegel-icoon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; background: var(--accent-soft); }
.tegel-wijn .tegel-icoon { background: #f3dcdc; }
.tegel-hoe .tegel-icoon { background: var(--mosterd); color: var(--groen); font-weight: 800; }
.tegel-extra h3 { font-size: 1.4rem; color: var(--groen); }
.tegel-hoe h3 { color: #f5eee3; }
.tegel-extra p { margin: 0; color: var(--muted); font-size: .95rem; }
.tegel-extra .chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tegel-extra .chips li { background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 3px 11px; font-size: .8rem; color: var(--groen); }
.tegel-extra ol { margin: 0; padding-left: 20px; color: #c9d3c4; font-size: .95rem; }
.tegel-extra ol li { margin: 4px 0; }
.tegel-extra ol b { color: #f5eee3; }
.tegel-voet { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.vanaf { color: var(--muted); font-size: .9rem; }
.vanaf b { font-family: var(--kop); font-size: 1.5rem; color: var(--groen); margin-left: 4px; }
.tegel-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.tegel-link:hover { text-decoration: underline; }

/* ---------- Hulpklassen ---------- */
.hidden { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.melding { color: var(--muted); grid-column: 1 / -1; text-align: center; padding: 30px 0; }
.voorbeeldbalk { position: sticky; bottom: 0; z-index: 30; background: var(--mosterd); color: var(--groen); text-align: center; padding: 8px 14px; font-weight: 700; font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-loop, .fles-draai, .fles-schaduw { animation: none; }
  .card, .card:hover, .art img, .galerij img, .btn, .fles, .fles-podium img, .fles-podium .flessvg { transition: none; transform: none !important; }
}
