/* Cosecha — website. Zelfde tokens als de app (src/theme/index.ts).
   Serif (Cormorant Garamond) alleen voor titels, system sans voor de rest. */

:root {
  --parchment: #F3EADB;
  --parchment-deep: #ECE0CC;
  --surface: #FBF6EC;
  --wine: #5E1A24;
  --wine-deep: #43121A;
  --gold: #B0894C;
  --gold-tint: #EFE2C9;
  --ink: #2B221C;
  --ink-soft: #6E6256;
  --ink-faint: #9C8F80;
  --hairline: rgba(94, 26, 36, 0.10);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 720px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(43,18,12,0.10) 0%, rgba(43,18,12,0.28) 40%, rgba(43,18,12,0.78) 100%);
}
.hero .inner {
  position: relative;
  width: 100%;
  padding: 0 24px 56px;
  max-width: var(--max);
  margin: 0 auto;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.hero .mark {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: block;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 8vw, 62px);
  line-height: 1.02;
  margin: 0 0 8px;
  max-width: 15em;
  letter-spacing: 0.5px;
}
.hero .kicker {
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-tint);
  margin: 0 0 14px;
}
.hero p.tagline {
  font-size: 18px;
  line-height: 1.55;
  max-width: 34em;
  margin: 14px 0 30px;
  color: rgba(255,255,255,0.92);
}
.hero .fineprint { margin: 16px 0 0; }

/* ---------- Knop ---------- */

.btn {
  display: inline-block;
  background: var(--wine);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(58,42,30,0.25);
}
.btn:hover { background: var(--wine-deep); }
.btn.ghost {
  background: transparent;
  color: var(--wine);
  border: 1px solid var(--hairline);
  box-shadow: none;
}
.soon {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-tint);
  border: 1px solid rgba(239,226,201,0.45);
  border-radius: 999px;
  padding: 9px 18px;
}

/* ---------- Secties ---------- */

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--hairline); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 10px;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 16px;
}
h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.2;
  margin: 0 0 6px;
}
p { margin: 0 0 16px; }
p.lead { font-size: 19px; color: var(--ink); }
a { color: var(--wine); }

/* ---------- Kaarten ---------- */

.cards { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 620px) { .cards.two { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 24px;
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink); }

/* ---------- Regio's ---------- */

.regions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.regions li {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 15px;
}
.regions li.locked { color: var(--ink-faint); background: transparent; }

/* ---------- Lijst met punten (privacy) ---------- */

.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 26px; }
.points h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.points p { color: var(--ink-soft); margin: 0; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--hairline);
  padding: 36px 0 56px;
  font-size: 14px;
  color: var(--ink-faint);
}
footer a { color: var(--ink-soft); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--wine); }
footer .links { margin-bottom: 12px; }

/* ---------- Subpagina-kop ---------- */

.pagehead { padding: 64px 0 8px; }
.pagehead h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 9vw, 52px);
  line-height: 1.05;
  margin: 0 0 12px;
}
.back { font-size: 14px; text-decoration: none; color: var(--ink-soft); }


/* ---------- Toevoegingen voor de volledige copy ---------- */

.fineprint {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.fineprint.dark {
  color: var(--ink-faint);
  margin-top: 24px;
}

@media (min-width: 760px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }

/* Stappen */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 32px;
}
.steps li {
  counter-increment: step;
  padding-left: 58px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.steps p { margin: 0; color: var(--ink); }

/* Regiokaarten */
.card.region h3 { margin-bottom: 10px; }
.card.region .theme {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  vertical-align: middle;
  margin-left: 8px;
}
.card .meta {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-faint);
}

/* Afsluiter */
.closing {
  background: var(--wine);
  color: #fff;
  text-align: center;
}
.closing h2 { color: #fff; }
.closing .lead { color: var(--gold-tint); }
.soon.dark {
  color: var(--gold-tint);
  border-color: rgba(239,226,201,0.45);
  margin-top: 8px;
}

/* Footer + subpagina's */
.footline {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.25;
}
.footname {
  display: block;
  color: var(--wine);
  font-size: 26px;
}
footer .mate {
  margin-top: 20px;
  max-width: 44em;
  font-size: 13px;
  line-height: 1.5;
}
.updated {
  font-size: 13px;
  color: var(--ink-faint);
  margin: -4px 0 20px;
}
.pagehead .back { display: inline-block; margin-bottom: 28px; }


/* ---------- Schermafbeeldingen: volle strook ---------- */

.shots-section .wrap { margin-bottom: 40px; }

.shots {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px calc((100vw - var(--max)) / 2 + 24px) 22px;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }

.shots figure {
  margin: 0;
  flex: 0 0 232px;
  scroll-snap-align: center;
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(43, 34, 28, 0.14);
}
.shots figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 1128px) {
  .shots { padding-left: 24px; padding-right: 24px; }
}

/* ---------- Icoonsprite ---------- */

.sprite { display: none; }
.ic {
  width: 26px; height: 26px;
  flex: 0 0 26px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

/* ---------- Opsomming met icoontjes ---------- */

.iconlist {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 26px;
}
.iconlist li { display: flex; gap: 16px; align-items: flex-start; }
.iconlist h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  margin: 2px 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.iconlist p { margin: 0; color: var(--ink); }
@media (min-width: 700px) {
  .iconlist { grid-template-columns: 1fr 1fr; gap: 30px 36px; }
}

.soonpill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-tint);
  background: var(--gold-tint);
  border-radius: 999px;
  padding: 3px 9px;
}
.soon-list .ic { stroke: var(--ink-faint); }
.soon-list h3 { color: var(--ink-soft); }

/* ---------- De vijf streken ---------- */

.wrap.wide { max-width: 1180px; }
.regions-section { padding-bottom: 80px; }

.rgrid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 264px;
  gap: 18px;
  margin-top: 32px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.rgrid > * { scroll-snap-align: start; }

@media (min-width: 1040px) {
  .rgrid {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-columns: auto;
    overflow: visible;
    gap: 16px;
  }
}

.rcard {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.rphoto { position: relative; aspect-ratio: 4 / 5; }
.rphoto img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.rphoto::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(43,18,12,0) 40%, rgba(43,18,12,0.72) 100%);
}
.rname {
  position: absolute;
  left: 18px; right: 18px; bottom: 14px;
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.rland {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-tint);
  margin-bottom: 2px;
}
.rname h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.05;
  margin: 0;
  color: #fff;
}
.rbody { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.rtheme {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.rbody p { font-size: 15px; }
.rbody .meta { margin-top: auto; }


/* ---------- Kaarten met een icoon ---------- */

.cards.feat .card { display: flex; flex-direction: column; }
.cards.feat .ic { margin: 0 0 12px; }
.cards.feat h3 { margin-bottom: 10px; }
.cards.feat p { font-size: 15px; }
.cards.feat p:last-child { margin-bottom: 0; }

/* Losse regel met plaatsnamen in "Waarom Cosecha" */
.namen {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--wine);
  margin: 0 0 18px;
}
.gratis { font-weight: 600; margin-top: 22px; }
.closing .gratis { color: #fff; }
.footline em { font-style: italic; }

/* Kaarten in een brede kolom mogen meer lucht van binnen */
.wrap.wide .cards.feat .card { padding: 28px; }
.wrap.wide .cards.feat { gap: 20px; }

/* Vier naast elkaar: icoon boven de titel, zodat de tekst de volle kolom krijgt */
@media (min-width: 980px) {
  .iconlist.four { grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
  .iconlist.four li { flex-direction: column; gap: 12px; }
  .iconlist.four .ic { margin-top: 0; }
}
/* Meerdere alinea's onder één kopje hebben lucht nodig */
.iconlist p + p { margin-top: 10px; }

/* Twee kolommen lopende tekst */
.tweekolommen { display: grid; gap: 0 48px; margin-top: 28px; }
.tweekolommen p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .tweekolommen { grid-template-columns: 1fr 1fr; }
}

/* ---------- De hero op een telefoon ---------- */

@media (max-width: 700px) {
  /* Meer hoogte, zodat er boven de tekst nog landschap te zien is.
     svh = de kleine viewporthoogte, dus de adresbalk van de browser
     duwt de tekst niet weg. */
  .hero { min-height: 100svh; }
  .hero .inner {
    padding: 0 24px 40px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 24px);
  }
  .hero .mark { width: 58px; height: 58px; margin-bottom: 16px; }
  .hero h1 { font-size: 36px; }
  .hero p.tagline { font-size: 16px; margin: 12px 0 22px; }
  .hero .herotext { font-size: 15px; }
  /* De foto wordt op een smal scherm sterk bijgesneden; iets meer donker
     onderin houdt de tekst leesbaar zonder het landschap dicht te gooien. */
  .hero .scrim {
    background: linear-gradient(to bottom, rgba(43,18,12,0.06) 0%, rgba(43,18,12,0.32) 38%, rgba(43,18,12,0.84) 100%);
  }
}

@supports not (height: 100svh) {
  @media (max-width: 700px) { .hero { min-height: 100vh; } }
}
