/* Corsogroep Kwintet — bestelplatform. Palet & type afgeleid van het shirt. */
:root {
  --paars: #5b2a86;
  --paars-diep: #3d1a5e;
  --paars-donker: #2a1142;
  --lila: #ede7f3;
  --lila-2: #e3d8ef;
  --roze: #e79fc9;
  --geel: #f7e14e;
  --inkt: #1a1526;
  --wit: #ffffff;
  --grijs: #8a7fa5;
  --rood: #c0392b;
  --radius: 18px;
  --schaduw: 0 18px 50px -20px rgba(42, 17, 66, 0.45);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --hand: "Gochi Hand", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--inkt);
  background: var(--lila);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 96px; /* ruimte voor sticky balk */
}
img { max-width: 100%; display: block; }
a { color: var(--paars); }

/* Das-streep, herbruikbaar */
.stripe-top {
  height: 12px;
  background: repeating-linear-gradient(-48deg,
    var(--inkt) 0 8px, var(--wit) 8px 16px, var(--roze) 16px 24px, var(--wit) 24px 32px);
}

/* ---------- HERO ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(231,159,201,.28), transparent 55%),
    linear-gradient(160deg, var(--paars) 0%, var(--paars-diep) 58%, var(--paars-donker) 100%);
  color: var(--wit);
  overflow: hidden;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4.2rem) 1.4rem clamp(2.4rem, 5vw, 3.6rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--geel);
  margin: 0 0 1rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 1.1rem;
}
.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  max-width: 34ch;
  color: rgba(255,255,255,.86);
  margin: 0 0 1.6rem;
}
.btn-hero {
  display: inline-block;
  background: var(--geel);
  color: var(--inkt);
  font-weight: 700;
  text-decoration: none;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }

.postit {
  font-family: var(--hand);
  font-size: 1.5rem;
  line-height: 1.05;
  color: #1c50c9;
  background: var(--geel);
  width: max-content;
  padding: .7rem 1rem .9rem;
  margin-top: 1.8rem;
  transform: rotate(-4deg);
  box-shadow: 0 10px 22px -10px rgba(0,0,0,.5);
  position: relative;
}
.postit::before {
  content: "";
  position: absolute; top: -9px; left: 50%; translate: -50% 0;
  width: 42px; height: 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 3px;
}

.hero-shirt { display: flex; justify-content: center; }
.shirt-stage {
  position: relative;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding: 14px;
  max-width: 380px;
  box-shadow: var(--schaduw);
}
.shirt-stage img { border-radius: 14px; }
.shirt-tag {
  position: absolute;
  bottom: 26px; left: 50%; translate: -50% 0;
  font-family: var(--mono);
  font-size: .72rem;
  background: var(--inkt);
  color: var(--wit);
  padding: .35rem .7rem;
  border-radius: 999px;
  letter-spacing: .04em;
}

.hero-logo {
  width: 62px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}

/* ---------- DE WAGEN ---------- */
.wagen {
  background: var(--wit);
  border-bottom: 1px solid #e4d9f1;
}
.wagen-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 3.6rem) 1.4rem;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}
.wagen-foto { position: relative; }
.wagen-foto img,
.wagen-foto video {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--schaduw);
}
.wagen-bijschrift {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--mono);
  font-size: .74rem;
  background: rgba(26,21,38,.82);
  color: var(--wit);
  padding: .35rem .7rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.eyebrow-dark {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paars);
  margin: 0 0 .8rem;
}
.wagen-copy h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0 0 1rem;
}
.wagen-copy p { line-height: 1.6; margin: 0 0 .9rem; }
.wagen-noot {
  font-size: .92rem;
  color: var(--grijs);
  border-left: 3px solid var(--geel);
  padding-left: .9rem;
}

/* ---------- PRODUCT ---------- */
.product {
  max-width: 1080px;
  margin: clamp(2.5rem, 6vw, 4rem) auto clamp(1.5rem, 4vw, 2.5rem);
  padding: 0 1.4rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.product-grid figure { margin: 0; }
.product-grid img {
  border-radius: 14px;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--schaduw);
}
.product-grid figcaption {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--grijs);
  margin-top: .6rem;
  text-align: center;
}

/* ---------- BESTELLEN ---------- */
.order {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 1.4rem 3rem;
}
.order-head { text-align: center; margin-bottom: 1.8rem; }
.formulier-label, .num, .optioneel {
  font-family: var(--mono);
}
.formulier-label {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paars);
  background: var(--lila-2);
  padding: .35rem .8rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.order-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 .4rem;
  letter-spacing: -.015em;
}
.order-sub { color: var(--grijs); margin: 0; }

.gesloten {
  background: #fff4f2;
  border: 1px solid #f3c9c1;
  color: #7a2e22;
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  text-align: center;
}
.gesloten p { margin: .4rem 0 0; }

.order-card {
  background: var(--wit);
  border-radius: 22px;
  box-shadow: var(--schaduw);
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid #efe7f6;
}
.block { border: none; margin: 0; padding: 0 0 1.6rem; }
.block + .block { border-top: 1px solid #eee3f5; padding-top: 1.6rem; }
legend {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0;
  margin-bottom: 1rem;
}
.num {
  display: inline-grid; place-items: center;
  width: 1.7rem; height: 1.7rem;
  background: var(--paars);
  color: var(--wit);
  border-radius: 50%;
  font-size: .9rem;
}
.optioneel {
  font-size: .72rem;
  color: var(--grijs);
  background: var(--lila);
  padding: .2rem .55rem;
  border-radius: 999px;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Maten-grid met steppers */
.maten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.maat {
  border: 1.5px solid #e7ddf2;
  border-radius: 14px;
  padding: .7rem .7rem .8rem;
  text-align: center;
  transition: border-color .15s ease, background .15s ease;
}
.maat.actief { border-color: var(--paars); background: #faf6fe; }
.maat-naam {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.05rem;
  display: block;
  margin-bottom: .5rem;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  background: var(--lila);
  border-radius: 999px;
  padding: .25rem;
}
.stepper .step {
  width: 2rem; height: 2rem;
  border: none;
  background: var(--wit);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--paars);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .12s ease, transform .1s ease;
  line-height: 1;
}
.stepper .step:hover:not(:disabled) { background: var(--paars); color: var(--wit); }
.stepper .step:active:not(:disabled) { transform: scale(.9); }
.stepper .step:disabled { opacity: .35; cursor: not-allowed; }
.stepper output {
  min-width: 2rem;
  text-align: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.05rem;
}
.hint { font-size: .85rem; color: var(--grijs); margin: .8rem 0 0; }
.hint.fout { color: var(--rood); }

/* Stropdas */
.das-row { display: flex; gap: 1.2rem; align-items: flex-start; }
.das-img { width: 78px; flex: none; filter: drop-shadow(0 8px 14px rgba(42,17,66,.25)); }
.das-copy { flex: 1; }
.das-copy p { margin: 0 0 .9rem; }
.das-row .stepper { background: var(--lila); }

/* Gegevens + badge */
.gegevens { display: grid; grid-template-columns: 1.3fr .8fr; gap: 1.4rem; align-items: start; }
.velden { display: grid; gap: .9rem; }
.velden label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: .9rem;
  gap: .35rem;
}
.veld-hint { font-weight: 400; color: var(--grijs); font-size: .8rem; }
.velden input {
  font: inherit;
  padding: .7rem .8rem;
  border: 1.5px solid #e2d7ef;
  border-radius: 11px;
  background: #fcfaff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.velden input:focus {
  outline: none;
  border-color: var(--paars);
  box-shadow: 0 0 0 3px rgba(91,42,134,.15);
}
.velden input.fout { border-color: var(--rood); }

/* Live badge (echoot het badge op het shirt) */
.badge-preview {
  position: sticky; top: 1rem;
  background: #fff;
  border: 2px solid var(--inkt);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--schaduw);
}
.badge-clip {
  width: 40px; height: 12px;
  background: #d9d2e6;
  border: 2px solid var(--inkt);
  border-radius: 4px;
  margin: -22px auto 10px;
}
.badge-body { display: flex; gap: 10px; }
.badge-text { flex: 1; font-family: var(--mono); line-height: 1.15; }
.badge-org { font-size: .72rem; font-weight: 700; display: block; }
.badge-name {
  display: block;
  margin: .5rem 0 .3rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--paars);
  word-break: break-word;
  min-height: 1.1em;
}
.badge-year { font-size: .72rem; color: var(--grijs); display: block; }
.badge-photo {
  width: 46px;
  background: var(--paars);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 1.4rem;
}

.foutmelding {
  background: #fff4f2;
  border: 1px solid #f3c9c1;
  color: #7a2e22;
  border-radius: 12px;
  padding: .8rem 1rem;
  margin: 1.2rem 0 0;
  font-size: .92rem;
}

/* ---------- STICKY TOTAALBALK ---------- */
.totaalbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e4d9f1;
  box-shadow: 0 -10px 30px -18px rgba(42,17,66,.5);
  z-index: 40;
}
.totaalbar-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: .7rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.totaal-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.totaal-regel { font-size: .78rem; color: var(--grijs); font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.totaal-bedrag { font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.btn-bestel {
  background: var(--paars);
  color: var(--wit);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 999px;
  padding: .85rem 1.8rem;
  cursor: pointer;
  flex: none;
  transition: background .15s ease, transform .12s ease;
}
.btn-bestel:hover:not(:disabled) { background: var(--paars-diep); transform: translateY(-1px); }
.btn-bestel:disabled { opacity: .5; cursor: not-allowed; }
.btn-bestel.laden { color: transparent; position: relative; }
.btn-bestel.laden::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- BEDANKT ---------- */
.bedankt-overlay {
  position: fixed; inset: 0;
  background: rgba(42,17,66,.6);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 1.4rem;
  z-index: 60;
  animation: fade .25s ease;
}
@keyframes fade { from { opacity: 0; } }
.bedankt-card {
  background: var(--wit);
  border-radius: 22px;
  padding: 2.4rem 2rem;
  max-width: 440px;
  text-align: center;
  box-shadow: var(--schaduw);
  animation: pop .3s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.bedankt-veer { font-size: 3rem; margin-bottom: .4rem; }
.bedankt-card h2 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; margin: 0 0 .8rem; }
.bedankt-card p { color: #4a4160; line-height: 1.55; margin: 0 0 1rem; white-space: pre-line; }
.bedankt-nr { font-family: var(--mono); font-size: .82rem; color: var(--grijs); }
.btn-sluit {
  background: var(--geel);
  color: var(--inkt);
  border: none;
  font-weight: 700;
  font-family: var(--body);
  padding: .75rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  margin-top: .6rem;
}

/* ---------- FOOTER ---------- */
.site-foot {
  text-align: center;
  padding: 2.4rem 1.4rem 1.4rem;
  color: var(--grijs);
  font-size: .85rem;
}
.site-foot a { color: var(--paars); font-weight: 600; }
.foot-logo { width: 52px; margin: 0 auto .8rem; opacity: .9; }
.foot-naam { font-family: var(--mono); color: var(--inkt); margin: 0 0 .6rem; font-size: .9rem; }
.foot-links { margin: 0 0 .8rem; display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.foot-links span { color: #cfc3e0; }
.foot-contact { margin: 0 0 1rem; }
.foot-klein { font-size: .78rem; opacity: .75; margin: 0 0 .5rem; }
.foot-maker {
  display: inline-block;
  transition: opacity .15s ease, transform .15s ease;
  opacity: .8;
}
.foot-maker img { width: 156px; }
.foot-maker:hover { opacity: 1; transform: translateY(-1px); }

.hidden { display: none !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-shirt { order: 1; }
  .lead { margin-left: auto; margin-right: auto; }
  .postit { margin-left: auto; margin-right: auto; }
  .wagen-inner { grid-template-columns: 1fr; }
  .gegevens { grid-template-columns: 1fr; }
  .badge-preview { max-width: 240px; margin: 0 auto; position: static; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid img { aspect-ratio: 16/10; }
}
@media (max-width: 460px) {
  .maten { grid-template-columns: repeat(2, 1fr); }
  .totaal-bedrag { font-size: 1.25rem; }
  .btn-bestel { padding: .8rem 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; scroll-behavior: auto; }
}

/* Focus zichtbaar */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--geel);
  outline-offset: 2px;
}
