/* A-wine website: the fresh look from A-Wine-website-ontwerp.md (owner decision 2026-10-25).
   Colours and type from that design; only the real logo comes from the house style.
   The cellar app keeps its own look in cellar.css. */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-display: swap; src: url(../fonts/bricolage-grotesque-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 800; font-display: swap; src: url(../fonts/bricolage-grotesque-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-display: swap; src: url(../fonts/instrument-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-display: swap; src: url(../fonts/instrument-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-display: swap; src: url(../fonts/instrument-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 700; font-display: swap; src: url(../fonts/instrument-sans-latin-700-normal.woff2) format('woff2'); }

:root {
  /* Palette (design doc, point 2) */
  --blaufrankisch: #6E1734;
  --gruner: #B9C73A;
  --flessengroen: #23382B;
  --rose: #F2B8A8;
  --kurk: #F1EDE4;
  --papier: #FBFAF7;
  --inkt: #17140F;
  --grijs: #4E4840;
  /* Card grounds follow the colour of the wine */
  --card-wit: #E8EBC9;
  --card-wit-2: #EEF0D4;
  --card-rood: #F1D9DF;
  --card-rose: #F8E1DA;
  --card-bubbels: #F3EFD8;

  --bg: var(--papier);
  --text: var(--inkt);
  --sub: var(--grijs);
  --accent: var(--blaufrankisch);
  --line: var(--inkt);
  --soft-line: #DCD5C8;

  --font-title: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius-s: 16px;
  --radius: 22px;
  --radius-l: 28px;
  --bottle-shadow: drop-shadow(0 14px 14px rgba(23, 20, 15, 0.22));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 400; font-size: 18px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--rose); color: var(--inkt); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .wrap { padding-left: 16px; padding-right: 16px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--papier); padding: 8px 12px; border-radius: 999px; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* A value nobody gave yet (design doc, point 7). Shown on purpose. */
.ph { font-family: var(--font); font-weight: 600; letter-spacing: 0; background: rgba(242, 184, 168, 0.55); color: var(--inkt); border-radius: 6px; padding: 0 0.3em; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Type */
h1, h2, h3 { font-family: var(--font-title); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7.4vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1; }
p { margin: 0; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--sub); max-width: 34rem; }
.sub { color: var(--sub); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.section { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 600px) { .section { padding-top: 64px; padding-bottom: 64px; } }
/* Blocks are separated by a 2 px black line on top, never by shadow boxes. */
.block { border-top: 2px solid var(--inkt); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.section-head .lead { max-width: 30rem; }

/* Buttons: full pills, at least 44 px high */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--inkt); background: var(--inkt); color: var(--papier); font-family: var(--font); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform 0.25s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s; }
.btn.primary { background: var(--blaufrankisch); border-color: var(--blaufrankisch); color: var(--papier); }
.btn.ghost { background: transparent; color: var(--inkt); }
.btn.light { background: var(--papier); border-color: var(--papier); color: var(--inkt); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (hover: hover) { .btn:hover { transform: translateY(-3px); } }
.btn:active { transform: translateY(0) scale(0.95); transition-duration: 0.08s; }
.btn:disabled, .btn[aria-disabled='true'] { cursor: not-allowed; background: var(--kurk); border-color: var(--soft-line); color: var(--grijs); transform: none; }
.btn.added { background: var(--gruner); border-color: var(--gruner); color: var(--inkt); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* Top bar */
.topbar { background: var(--inkt); color: var(--papier); font-size: 14px; text-align: center; padding: 9px 16px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, 0.92); border-bottom: 2px solid var(--inkt); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .site-header { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); } }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 10px; padding-bottom: 10px; }
.brand { flex-grow: 1; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; font-weight: 600; font-size: 16px; }
.menu a { text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current='page'] { border-bottom-color: var(--blaufrankisch); }
.cart-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--inkt); color: var(--papier); text-decoration: none; font-weight: 600; font-size: 15px; }
.cart-count { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--gruner); color: var(--inkt); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.cart-count.pop { animation: pop 0.45s var(--ease-spring); }
@media (max-width: 820px) {
  .brand img { height: 46px; }
  /* One row that scrolls sideways instead of wrapping onto a second row. */
  .nav { gap: 4px 20px; padding-top: 8px; padding-bottom: 0; }
  .menu { order: 3; flex-basis: 100%; flex-wrap: nowrap; gap: 0 18px; font-size: 15px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { padding: 8px 0 10px; white-space: nowrap; flex: none; }
}
@media (max-width: 600px) {
  .topbar { font-size: 13px; padding: 7px 16px; }
  .topbar .wide { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 40px 56px; padding-top: 64px; padding-bottom: 88px; }
.hero-text { display: flex; flex-direction: column; gap: 26px; position: relative; z-index: 1; }
.hero h1 .word { display: inline-block; }
.hero-art { position: relative; min-height: 520px; display: flex; align-items: flex-end; justify-content: center; }
.hero-photo { position: absolute; inset: 0 0 40px 0; border-radius: var(--radius-l); overflow: hidden; background: var(--rose); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-circle { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--gruner); right: -70px; top: -60px; z-index: 0; }
.hero-bottle { position: relative; z-index: 2; height: 440px; width: auto; filter: var(--bottle-shadow); transform-origin: 50% 92%; }
.hotspot { position: absolute; z-index: 3; left: 58%; top: 38%; width: 44px; height: 44px; border-radius: 50%; background: var(--papier); border: 2px solid var(--inkt); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--inkt); font-weight: 700; }
.hotspot::before { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--papier); }
.hotspot .tip { position: absolute; left: 54px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--inkt); color: var(--papier); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .hero-art { min-height: 420px; }
  .hero-bottle { height: 360px; }
  .hero-circle { width: 200px; height: 200px; right: -60px; }
  .hotspot { left: 52%; }
  /* Under the dot instead of beside it, so the label never runs off a phone screen. */
  .hotspot .tip { left: 50%; top: calc(100% + 10px); transform: translateX(-50%); }
}

/* uncork band */
.marquee { background: var(--gruner); color: var(--inkt); border-top: 2px solid var(--inkt); border-bottom: 2px solid var(--inkt); overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; align-items: center; gap: 28px; padding: 16px 14px; font-family: var(--font-title); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; white-space: nowrap; }
.marquee-group .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blaufrankisch); flex: none; }
.marquee-group .uncork { color: var(--blaufrankisch); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { border-top: 2px solid var(--inkt); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.step .num { font-family: var(--font-title); font-weight: 800; font-size: 64px; line-height: 0.8; color: var(--blaufrankisch); letter-spacing: -0.04em; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Wine cards */
.wines { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.wine { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card-wit); transition: transform 0.35s var(--ease-out); }
.wine[hidden] { display: none; }
.wine.c-wit { background: var(--card-wit); }
.wine.c-rood { background: var(--card-rood); }
.wine.c-rose { background: var(--card-rose); }
.wine.c-bubbels { background: var(--card-bubbels); }
.wine-pic { height: 320px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; position: relative; text-decoration: none; }
/* Design doc, point 6: fixed height, auto width, soft shadow, moves from the base. */
.bottle { height: 272px; width: auto; filter: var(--bottle-shadow); transform-origin: 50% 92%; transition: transform 0.45s var(--ease-out); }
.bottle-shape { height: 272px; width: auto; transform-origin: 50% 92%; transition: transform 0.45s var(--ease-out); }
.wine-labels { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--papier); color: var(--inkt); border: 2px solid var(--inkt); font-size: 13px; font-weight: 600; }
.tag.colour { background: var(--inkt); color: var(--papier); }
.wine-info { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.wine-info h3 a { text-decoration: none; }
.wine-info h3 a::after { content: ''; position: absolute; inset: 0 0 76px 0; border-radius: var(--radius) var(--radius) 0 0; }
.wine-info .meta { font-size: 14px; color: var(--grijs); font-weight: 500; }
.wine-info .line { font-size: 16px; }
.wine-buy { position: relative; z-index: 1; margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; font-size: 20px; }
@media (hover: hover) {
  .wine:hover { transform: translateY(-8px); }
  .wine:hover .bottle, .wine:hover .bottle-shape { transform: rotate(-7deg); }
}
.wine.wiggle .bottle, .wine.wiggle .bottle-shape { animation: wiggle 0.6s var(--ease-out); }

/* Wine finder */
.finder { background: var(--flessengroen); color: var(--papier); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; }
.finder h2 { color: var(--papier); }
.finder .kicker { color: var(--gruner); }
.finder .sub { color: #D9DED5; }
.moments { display: flex; flex-wrap: wrap; gap: 10px; }
.moments button { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--papier); background: transparent; color: var(--papier); font-family: var(--font); font-weight: 600; font-size: 16px; cursor: pointer; transition: transform 0.25s var(--ease-out), background-color 0.2s, color 0.2s; }
@media (hover: hover) { .moments button:hover { transform: translateY(-3px); } }
.moments button[aria-pressed='true'] { background: var(--gruner); border-color: var(--gruner); color: var(--inkt); }
.advice { background: var(--papier); color: var(--inkt); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.advice .kicker { color: var(--blaufrankisch); }
.advice.in { animation: drop-in 0.5s var(--ease-out); }
@media (max-width: 820px) { .finder { grid-template-columns: minmax(0, 1fr); } }

/* Makers map */
.makers { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.map { background: var(--kurk); border-radius: var(--radius-l); padding: 24px; }
.map svg { width: 100%; height: auto; display: block; }
.map .land { fill: var(--rose); stroke: var(--inkt); stroke-width: 2; stroke-linejoin: round; }
.map .pin { fill: var(--blaufrankisch); stroke: var(--papier); stroke-width: 3; }
.map .pin.first { fill: var(--gruner); stroke: var(--inkt); }
.map .city { fill: var(--inkt); }
.map text { font-family: var(--font); font-size: 15px; font-weight: 600; fill: var(--inkt); }
.map .note { font-size: 14px; color: var(--grijs); margin-top: 10px; }
.regions { display: flex; flex-direction: column; gap: 22px; }
.region { border-top: 2px solid var(--inkt); padding-top: 14px; }
.region h3 { margin-bottom: 8px; }
.region ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; color: var(--grijs); }
.status { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--kurk); color: var(--grijs); margin-left: 6px; vertical-align: middle; }
.status.ok { background: var(--gruner); color: var(--inkt); }
@media (max-width: 860px) { .makers { grid-template-columns: minmax(0, 1fr); } }

/* Country tabs above the makers maps. Without JavaScript both panels show. */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--inkt); background: transparent; color: var(--inkt); font-family: var(--font); font-weight: 600; font-size: 16px; cursor: pointer; }
.tabs button[aria-selected='true'] { background: var(--inkt); color: var(--papier); }
.makers + .makers { margin-top: 48px; }
.js-tabs .makers + .makers { margin-top: 0; }
.makers[hidden] { display: none; }
.map .near { fill: var(--papier); stroke: #CFC6B6; stroke-width: 1.5; stroke-linejoin: round; }
.map text.small { font-size: 13px; font-weight: 500; fill: var(--grijs); }
.map text.region { font-family: var(--font-title); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; fill: var(--inkt); }
.map .pin title { pointer-events: none; }
.panel-in { animation: drop-in 0.45s var(--ease-out); }

/* Newsletter */
.newsletter { background: var(--rose); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; align-items: start; }
@media (max-width: 820px) { .newsletter { grid-template-columns: minmax(0, 1fr); } }

/* Forms */
form.signup { display: flex; flex-direction: column; gap: 12px; }
form.signup.paper { padding: 26px; background: var(--papier); color: var(--inkt); border-radius: var(--radius); }
form.signup label { font-size: 14px; font-weight: 600; color: var(--inkt); }
form.signup input[type='text'], form.signup input[type='email'], form.signup select, .field { height: 52px; padding: 0 18px; border: 2px solid var(--inkt); border-radius: 999px; background: var(--papier); color: var(--inkt); font-family: var(--font); font-size: 17px; width: 100%; }
form.signup input:focus, form.signup select:focus { outline: 3px solid var(--blaufrankisch); outline-offset: 2px; }
form.signup .check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 400; min-height: 44px; padding-top: 10px; }
form.signup .check input { width: 22px; height: 22px; flex: none; accent-color: var(--blaufrankisch); margin: 0; }
form.signup .note { font-size: 14px; color: var(--grijs); }
form.signup .msg { font-size: 16px; font-weight: 600; min-height: 1.4em; }
form.signup .msg.ok { color: var(--flessengroen); }
form.signup .msg.err { color: #A3261B; }
form.signup .hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
form.signup .btn { align-self: flex-start; }
form.inline { flex-direction: row; flex-wrap: wrap; gap: 10px; }
form.inline label { flex-basis: 100%; }
form.inline input[type='email'] { flex: 1 1 240px; width: auto; }
form.inline .msg, form.inline .note, form.inline .check { flex-basis: 100%; }

/* Shop page */
.page-head { padding-top: 56px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 18px; }
.notice { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 14px 20px; border-radius: var(--radius-s); background: var(--kurk); font-size: 15px; }
.notice strong { color: var(--blaufrankisch); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 0; border-top: 2px solid var(--inkt); margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--inkt); background: transparent; color: var(--inkt); font-family: var(--font); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.filters button[aria-pressed='true'] { background: var(--inkt); color: var(--papier); }
.selects { display: flex; flex-wrap: wrap; gap: 10px; }
.selects label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.selects select { min-height: 44px; padding: 0 14px; border: 2px solid var(--inkt); border-radius: 999px; background: var(--papier); color: var(--inkt); font-family: var(--font); font-size: 15px; }
.wines.refresh .wine { animation: drop-in 0.5s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 70ms); }
.empty-note { padding: 28px; border-radius: var(--radius); background: var(--kurk); }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rules > div { border-top: 2px solid var(--inkt); padding-top: 14px; font-size: 16px; color: var(--grijs); }
.rules strong { display: block; color: var(--inkt); font-size: 18px; margin-bottom: 4px; }
@media (max-width: 760px) { .rules { grid-template-columns: minmax(0, 1fr); } }

/* Checkout bar */
.checkout-bar { position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 16px; max-width: 980px; margin: 0 auto; background: var(--flessengroen); color: var(--papier); border-radius: var(--radius); padding: 14px 14px 14px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; transform: translateY(0); transition: transform 0.5s var(--ease-out); }
.checkout-bar[hidden] { display: flex; transform: translateY(160%); visibility: hidden; }
.checkout-bar .sum { font-weight: 700; font-size: 18px; }
.checkout-bar .progress { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.checkout-bar .meter { height: 8px; border-radius: 999px; background: rgba(251, 250, 247, 0.22); overflow: hidden; }
.checkout-bar .meter span { display: block; height: 100%; width: 0; background: var(--gruner); border-radius: 999px; transition: width 0.5s var(--ease-out); }
.checkout-bar .btn:disabled { background: transparent; border-color: rgba(251, 250, 247, 0.5); color: var(--papier); }
body.has-bar { padding-bottom: 120px; }

/* Product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--grijs); padding-top: 28px; }
.crumbs a { color: var(--grijs); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; padding-top: 28px; padding-bottom: 80px; align-items: start; }
.product-pics { display: flex; flex-direction: column; gap: 14px; }
.product-stage { border-radius: var(--radius-l); min-height: 560px; display: flex; align-items: flex-end; justify-content: center; padding: 40px 20px 44px; }
.product-stage.c-wit { background: var(--card-wit); }
.product-stage.c-rood { background: var(--card-rood); }
.product-stage.c-rose { background: var(--card-rose); }
.product-stage.c-bubbels { background: var(--card-bubbels); }
.product-stage .bottle { height: 480px; }
.product-stage .bottle.jump { animation: jump 0.7s var(--ease-out); }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.thumb { aspect-ratio: 1; border-radius: var(--radius-s); background: var(--rose); display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-size: 14px; font-weight: 600; color: var(--inkt); }
.product-info { display: flex; flex-direction: column; gap: 20px; }
.product-info .maker { font-size: 18px; color: var(--grijs); font-weight: 500; }
.taste-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.buy-box { border-top: 2px solid var(--inkt); padding-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.buy-box .price { font-size: 30px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--inkt); border-radius: 999px; height: 52px; }
.qty button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 22px; font-weight: 700; cursor: pointer; color: var(--inkt); border-radius: 999px; }
.qty output { min-width: 34px; text-align: center; font-weight: 700; font-size: 18px; }
.qty output.pop { animation: pop 0.4s var(--ease-spring); }
.facts { width: 100%; border-collapse: collapse; font-size: 16px; }
.facts th, .facts td { text-align: left; padding: 12px 0; border-top: 2px solid var(--inkt); vertical-align: top; }
.facts th { width: 42%; font-weight: 600; }
.facts td { color: var(--grijs); }
.facts-source { font-size: 14px; color: var(--grijs); }
.maker-block { background: var(--flessengroen); color: var(--papier); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px 44px; align-items: center; }
.maker-block.no-portrait { grid-template-columns: minmax(0, 1fr); }
.maker-block h2 { color: var(--papier); }
.maker-block .kicker { color: var(--gruner); }
.maker-block p { color: #D9DED5; }
.portrait { aspect-ratio: 1; border-radius: 50%; background: var(--rose); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--inkt); font-weight: 600; font-size: 15px; }
@media (max-width: 860px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .product-stage { min-height: 440px; }
  .product-stage .bottle { height: 380px; }
  .maker-block { grid-template-columns: minmax(0, 1fr); }
  .portrait { width: 180px; }
}
/* Journey strip: scrolls sideways with snap */
.journey { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.journey > li { scroll-snap-align: start; list-style: none; background: var(--kurk); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.journey .num { font-family: var(--font-title); font-weight: 800; font-size: 48px; line-height: 0.8; color: var(--blaufrankisch); }
ol.journey { margin: 0; padding-left: 0; }
/* The four steps fit side by side on a computer; the hint is for narrow screens only. */
@media (min-width: 1200px) { .journey-hint { display: none; } }

/* Story page */
.story { max-width: 46rem; display: flex; flex-direction: column; gap: 18px; font-size: 19px; }
.story .sign-off { font-family: var(--font-title); font-weight: 800; font-size: 1.6rem; color: var(--blaufrankisch); }
.app-block { background: var(--kurk); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; }
@media (max-width: 820px) { .app-block { grid-template-columns: minmax(0, 1fr); } }

/* Tastings */
.card { padding: 28px; background: var(--kurk); border-radius: var(--radius); }
.tasting { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.tasting-body { flex: 1 1 340px; display: flex; flex-direction: column; gap: 8px; }
.tasting-side { flex: 0 1 260px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tasting-side .status-line { font-size: 14px; font-weight: 700; color: var(--blaufrankisch); }
.where { font-size: 15px; font-weight: 600; color: var(--blaufrankisch); }
.coaster { flex: none; width: 120px; height: 120px; border-radius: 50%; background: var(--gruner); border: 2px solid var(--inkt); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.coaster .day, .coaster .month { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.coaster .date { font-family: var(--font-title); font-weight: 800; font-size: 46px; line-height: 1; }
.step-title { font-family: var(--font-title); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -0.02em; color: var(--blaufrankisch); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.grid > div { border-top: 2px solid var(--inkt); padding-top: 18px; }
.split { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; }
.split > * { flex: 1 1 360px; }

/* Footer */
.footer { background: var(--inkt); color: var(--papier); margin-top: 40px; }
.footer .wrap { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.footer .logo { height: 110px; width: auto; }
.footer .motto { font-family: var(--font-title); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -0.02em; margin-top: 18px; }
.footer h2 { font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gruner); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.footer a { color: var(--papier); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer a:hover { text-decoration: underline; }
.footer .legal-line { grid-column: 1 / -1; border-top: 2px solid rgba(251, 250, 247, 0.25); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-size: 14px; color: #CFC8BC; }
.footer .legal-line a { color: #CFC8BC; padding: 0; text-decoration: underline; }
.footer .ph { background: rgba(242, 184, 168, 0.9); }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Legal pages and small single-column pages */
.legal-body { display: flex; flex-direction: column; gap: 16px; max-width: 44rem; padding-top: 56px; padding-bottom: 80px; }
.legal-body h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 8px; }
.legal-body ul { margin: 0; padding-left: 1.2em; }
.placeholder-banner { align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--rose); font-size: 14px; font-weight: 600; }

/* ---------- Motion (design doc, point 4) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(0.45em); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes reveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(180px); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-9deg); } 45% { transform: rotate(7deg); } 70% { transform: rotate(-4deg); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes jump { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-34px) rotate(-3deg); } 60% { transform: translateY(0) scale(1.02, 0.98); } }

.hero h1 .word { animation: rise 0.8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 100ms); }
.hero-bottle { animation: float 5s ease-in-out infinite; }
.hotspot::before { animation: pulse 1.8s ease-out infinite; }
.marquee-track { animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }

/* Scroll-driven motion where the browser has it */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  .hero-circle { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
}
/* Older browsers: js/site.js marks the page with .io and fades blocks in once.
   Without JavaScript everything simply shows. */
.io .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.io .reveal.in { opacity: 1; transform: none; }

/* Less motion asked for on the device: no animations at all. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .io .reveal { opacity: 1; transform: none; }
  .marquee-track { width: auto; flex-wrap: wrap; }
  .marquee-group[aria-hidden='true'] { display: none; }
}

/* Details on coloured blocks and small screens */
.product-info .wine-labels { position: static; }
.checkout-bar .btn.ghost { background: transparent; border-color: var(--papier); color: var(--papier); }
.finder .advice .sub { color: var(--grijs); }
.footer .sub { color: #CFC8BC; margin-top: 6px; }
.wine-buy { flex-wrap: wrap; }
.wine-buy .btn { white-space: nowrap; }
@media (max-width: 600px) {
  .checkout-bar { left: 8px; right: 8px; bottom: 8px; padding: 12px 14px; gap: 8px 10px; }
  .checkout-bar .sum { flex: 1 1 auto; font-size: 16px; }
  .checkout-bar .progress { order: 3; flex-basis: 100%; }
  .checkout-bar .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
  .checkout-bar .btn:disabled { order: 4; flex-basis: 100%; }
}
