/* ==========================================================
   Bao Long: doorverwijspagina
   Fonts: Source Serif 4, Cormorant SC, Source Sans 3 (SIL OFL 1.1)
   ========================================================== */

@font-face {
  font-family: "Source Serif 4";
  src: url("../assets/fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant SC";
  src: url("../assets/fonts/cormorant-sc-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --rood: #c20320;
  --rood-donker: #9d0f1a;
  --kaart-rood: #a51419;
  --tekst-rood: #b8121f;
  --bruin: #2b1112;
  --inkt: #1d1415;
  --leisteen: #4b5060;
  --creme: #fcf9f0;
  --creme-kaart: #fbf7ed;
  --goud: #ddb66a;
  --goud-licht: #e8cf98;
  --goud-badge: #e5c26f;
  --badge-licht: #ece5d4;

  --serif: "Source Serif 4", "Georgia", "Times New Roman", serif;
  --logo: "Cormorant SC", "Source Serif 4", "Georgia", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --breedte: 956px;
  --gutter: clamp(16px, 2.6vw, 26px);
}

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

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

body {
  margin: 0;
  background-color: var(--creme);
  /* subtiele papiertextuur */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .3 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--leisteen);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, figure, address { margin: 0; }
address { font-style: normal; }

/* ---------- Pagina & decoratie ---------- */

.pagina {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  border-top: 6px solid var(--rood);
  padding: 0 var(--gutter) 36px;
}

.wolk {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  height: auto;
}
.wolk--lb { top: 22px; left: 0; width: 222px; }
.wolk--rb { top: 12px; right: 0; width: 165px; }
.wolk--lo { bottom: 0; left: 0; width: 182px; }
.wolk--ro { bottom: 0; right: 0; width: 149px; }

.kop, main, .voet {
  position: relative;
  z-index: 1;
  max-width: var(--breedte);
  margin-inline: auto;
}

/* ---------- Logo ---------- */

.kop { padding-top: 28px; }

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 6px;
}
.logo__lantaarn {
  width: 104px;
  height: auto;
}
.logo__naam {
  font-family: var(--logo);
  font-weight: 600;
  font-size: 4.35rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #120d0d;
  margin-top: -6px;
}

/* ---------- Intro ---------- */

.intro {
  text-align: center;
  margin-top: 24px;
}

.bovenregel {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tekst-rood);
  line-height: 1;
}

.intro__titel {
  margin-top: 14px;
  color: var(--bruin);
  font-weight: 900;
  font-variation-settings: "opsz" 60;
  letter-spacing: -0.04em;
  line-height: 1;
}
.intro__regel1,
.intro__regel2 { display: block; }
.intro__regel1 { font-size: clamp(2.05rem, 10.4vw, 5.89rem); line-height: 1.02; }
.intro__regel2 {
  font-size: clamp(1.7rem, 5.8vw, 3.72rem);
  letter-spacing: -0.04em;
  margin-top: 6px;
  line-height: 1.08;
}

.intro__tekst {
  margin-top: 22px;
  font-size: 1.26rem;
  color: var(--leisteen);
}

/* ---------- Bestelkaarten ---------- */

.bestellen {
  display: grid;
  grid-template-columns: minmax(0, 595fr) minmax(0, 344fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 28px;
}

.kaart {
  position: relative;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.kaart--nieuw {
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 20%, #ae171c 0%, var(--kaart-rood) 55%, #9a1217 100%);
  color: #fff;
  padding: 38px 36px 24px 38px;
  /* gouden dubbele rand */
  border: 5px solid #c65f3f;
  border-radius: 16px;
  box-shadow:
    inset 0 0 0 2px #f1b56c,
    inset 0 0 0 3px rgba(140, 16, 20, .6),
    0 0 0 1px #e9a874,
    0 6px 18px -8px rgba(110, 30, 10, .45);
}
.kaart__wolk {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 212px;
  height: auto;
  pointer-events: none;
}

.kaart--vertrouwd {
  background: var(--creme-kaart);
  border: 1.5px solid var(--goud-licht);
  border-radius: 12px;
  margin-top: 7px;
  padding: 37px 30px 20px 31px;
  color: var(--leisteen);
}

.badge {
  font-family: var(--sans);
  text-transform: uppercase;
  line-height: 1;
  border-radius: 999px;
  white-space: nowrap;
}
.badge--goud {
  background: linear-gradient(180deg, #ecc979, #ddb663);
  color: #2a1a0c;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 9px 24px 8px 26px;
}
.badge--licht {
  background: var(--badge-licht);
  color: #2a2420;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  padding: 8px 16px 7px 18px;
}

.kaart__titel {
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.kaart--nieuw .kaart__titel {
  margin-top: 18px;
  font-size: clamp(2rem, 5.6vw, 3.7rem);
  line-height: 0.98;
  max-width: 11.5em;
  font-weight: 650;
  color: #fff;
}
.kaart--vertrouwd .kaart__titel {
  margin-top: 38px;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--inkt);
  line-height: 1.15;
}

.kaart__tekst { font-size: 1.1875rem; }
.kaart--nieuw .kaart__tekst {
  margin-top: 8px;
  font-size: 1.47rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fbeeea;
}
.kaart--vertrouwd .kaart__tekst {
  margin-top: 14px;
  font-size: 1.3rem;
  max-width: 13em;
  line-height: 1.33;
}

.kaart__onderschrift {
  align-self: stretch;
  text-align: center;
  font-size: 1.0625rem;
  margin-top: 14px;
}
.kaart--nieuw .kaart__onderschrift { color: #f6e6e0; }
.kaart--vertrouwd .kaart__onderschrift { font-size: 0.97rem; color: var(--leisteen); margin-top: 18px; }

/* ---------- Knoppen ---------- */

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--serif);
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  color: var(--tekst-rood);
  border-radius: 9px;
  min-height: 48px;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.knop__pijl {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}
.knop__icoon { width: 0.95em; height: 0.95em; fill: currentColor; flex: none; }

.knop--wit {
  align-self: stretch;
  margin-top: 26px;
  min-height: 69px;
  background: #fdf9f1;
  font-size: 2.05rem;
  box-shadow: 0 2px 0 rgba(90, 10, 10, .18);
}
.knop--rand {
  background: transparent;
  border: 2px solid var(--tekst-rood);
}
.kaart--vertrouwd .knop--rand {
  align-self: stretch;
  margin-top: 20px;
  min-height: 65px;
  padding-inline: 12px;
  font-size: clamp(1.1rem, 2.15vw + 0.3rem, 1.6rem);
}

a.knop[href]:hover .knop__pijl,
a.knop[href]:focus-visible .knop__pijl { transform: translateX(4px); }

.knop--wit[href]:hover { background: #fff; box-shadow: 0 4px 14px -4px rgba(60, 0, 0, .45); }
.knop--rand[href]:hover { background: var(--tekst-rood); color: #fff; }
.knop[href]:active { transform: translateY(1px); }
.knop--wit[href]:active { background: #f6ecdc; }
.knop--rand[href]:active { background: var(--rood-donker); border-color: var(--rood-donker); color: #fff; }

.knop:focus-visible {
  outline: 3px solid var(--goud);
  outline-offset: 3px;
}
.kaart--nieuw .knop:focus-visible { outline-color: #ffd98a; }

/* Bestemming nog niet ingevuld */
.knop[aria-disabled="true"] { cursor: not-allowed; }

/* ---------- Welkom ---------- */

.welkom {
  display: grid;
  grid-template-columns: minmax(0, 535fr) minmax(0, 380fr);
  gap: 38px;
  margin-top: 24px;
  align-items: start;
}

.welkom__foto img {
  width: 100%;
  height: auto;
  aspect-ratio: 533 / 374;
  object-fit: cover;
  border-radius: 12px;
  margin-left: 5px;
}

.welkom__tekst { padding-top: 20px; }

.bovenregel--klein {
  font-size: 0.875rem;
  letter-spacing: 0.22em;
  font-weight: 500;
}

.welkom__titel {
  margin-top: 21px;
  color: var(--inkt);
  font-size: clamp(1.7rem, 3.6vw, 2.06rem);
  white-space: nowrap;
  font-weight: 700;
  font-variation-settings: "opsz" 40;
  letter-spacing: -0.035em;
  line-height: 1.22;
}
.welkom__alinea {
  margin-top: 16px;
  font-size: 1.1875rem;
  line-height: 1.38;
}

.scheiding {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d11f37;
  margin-top: 14px;
}
.scheiding::before,
.scheiding::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--goud);
  border-radius: 2px;
}
.knoop { width: 38px; height: 38px; flex: none; }

.welkom__subtitel {
  margin-top: 6px;
  color: var(--inkt);
  font-size: 1.72rem;
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.welkom__klein {
  margin-top: 4px;
  font-size: 1.03rem;
}

.knop--telefoon {
  display: flex;
  width: calc(100% - 76px);
  margin: 14px 0 0 38px;
  min-height: 50px;
  font-size: 1.82rem;
  letter-spacing: -0.01em;
}
.knop--telefoon .knop__icoon { width: 1em; height: 1em; margin-right: 0.15em; }

.adres {
  margin-top: 10px;
  margin-left: 38px;
  font-size: 1.2rem;
}

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

.voet {
  margin-top: 12px;
  text-align: center;
}
.scheiding--voet { margin: 0 6px; }
.voet__naam {
  margin-top: 6px;
  font-family: var(--logo);
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1;
  color: #120d0d;
}
.voet__adres {
  margin-top: 6px;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1000px) {
  .welkom__titel { white-space: normal; }
  .kaart--nieuw .br-breed { display: none; }
}

@media (max-width: 860px) {
  .wolk--lb { width: 150px; }
  .wolk--rb { width: 112px; }
  .wolk--lo { width: 120px; }
  .wolk--ro { width: 100px; }

  .bestellen { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .kaart--vertrouwd { margin-top: 0; }
  .kaart--vertrouwd .kaart__tekst { max-width: none; }
  .kaart--vertrouwd .kaart__titel { margin-top: 24px; }
  .kaart--vertrouwd .knop--rand { font-size: 1.6rem; }

  .welkom { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; }
  .welkom__foto img { margin-left: 0; }
  .welkom__tekst { padding-top: 0; }
  .welkom__alinea { max-width: 30em; }
  .welkom__alinea .br-breed { display: none; }
  .knop--telefoon { width: 100%; margin-left: 0; }
  .adres { margin-left: 0; text-align: center; }
}

@media (max-width: 600px) {
  body { font-size: 1.0625rem; }

  .wolk--lb { width: 96px; top: 14px; opacity: .8; }
  .wolk--rb { width: 74px; top: 8px; opacity: .8; }
  .wolk--lo { width: 88px; opacity: .8; }
  .wolk--ro { width: 72px; opacity: .8; }

  .kop { padding-top: 22px; }
  .logo { gap: 4px; margin-left: 0; }
  .logo__lantaarn { width: 58px; }
  .logo__naam { font-size: clamp(2.6rem, 13vw, 3.4rem); margin-top: -4px; }

  .bovenregel { font-size: 0.875rem; letter-spacing: 0.24em; }
  .intro__titel { margin-top: 12px; }
  .intro__regel2 { margin-top: 8px; text-wrap: balance; }
  .intro__tekst { font-size: 1.0625rem; margin-top: 16px; text-wrap: pretty; }

  .bestellen { margin-top: 28px; }
  .kaart--nieuw { padding: 26px 22px 20px; border-width: 3px; }
  .kaart__wolk { width: 140px; opacity: .8; }
  .kaart--nieuw .kaart__tekst { font-size: 1.125rem; }
  .br-breed { display: none; }
  .knop--wit { font-size: 1.5rem; min-height: 60px; margin-top: 24px; }

  .kaart--vertrouwd { padding: 26px 22px 18px; }
  .kaart--vertrouwd .knop--rand { font-size: 1.4rem; min-height: 58px; margin-top: 24px; }

  .knop--telefoon { font-size: 1.6rem; min-height: 56px; }
  .adres { font-size: 1.0625rem; }

  .voet { margin-top: 48px; }
  .voet__naam { font-size: 2.2rem; }
  .voet__adres { font-size: 1rem; }
}

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