@font-face {
  font-family: Explora;
  src: url("fonturi/explora-latin.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: #f1f5f9;
  background: #081322;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 72% 42%, #193c66, transparent 59%), #081322;
}
body::before {
  content: "";
  z-index: -2;
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #071425eb 0%, #0a192dd6 34%, #0a1d346f 66%, #0a1b319c 100%),
    linear-gradient(to bottom, #10243cda, #11294498 54%, #0a192f30 77%, #071426df),
    url("../img/hero-industrial.jpg") center 75% / cover no-repeat;
}
.kader { width: min(1440px, 90%); margin-inline: auto; }
.briefhoofd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: max(8px, env(safe-area-inset-top)) 0 8px;
  border-bottom: 1px solid #a5c9f42c;
}
.afzender { display: flex; align-items: center; gap: 10px; font-weight: 680; font-size: clamp(1rem, 1.7vw, 1.35rem); letter-spacing: -.035em; }
.schakelaars { display: flex; gap: 9px; align-items: center; }
.kerstkaart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  gap: clamp(15px, 2vw, 42px);
  align-items: center;
  padding: clamp(16px, 2.6vh, 36px) clamp(0px, 1vw, 18px);
}
.wens { position: relative; z-index: 1; container-type: inline-size; }
.aanhef {
  display: flex; gap: 12px; align-items: center;
  margin: 0 0 clamp(18px, 3vh, 32px);
  color: #aecdf3; font-size: .72rem; font-weight: 650;
  text-transform: uppercase; letter-spacing: .18em;
}
.aanhef::before { content: ""; height: 1px; width: 37px; background: #7aa7dc; }
h1 {
  position: relative;
  margin: 0;
  font: 400 clamp(5.25rem, 8.8vw, 9rem)/.91 Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 20.4cqi, 9rem);
  letter-spacing: -.065em;
}
.rand-titlu { display: block; width: max-content; white-space: nowrap; }
h1 em { font-weight: 400; color: #a7d3ff; }
.reper-litere { display: inline-block; width: 0; height: 0; font-size: 0; line-height: 0; letter-spacing: 0; vertical-align: baseline; }
#zapada-pe-titlu { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); pointer-events: none; }
.boodschap { margin: clamp(24px, 3.7vh, 39px) 0 0; max-width: 33ch; font-size: clamp(1.02rem, 1.45vw, 1.27rem); line-height: 1.5; color: #e1eaf6; text-wrap: pretty; }
.handtekening { margin: 7px 0 0; color: #fde6b5; font: 400 clamp(2rem, 3vw, 2.9rem)/1.15 Explora, "Segoe Script", cursive; -webkit-text-stroke: .15px currentColor; }
.keuzes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(23px, 3.5vh, 38px); }
.keuze {
  min-height: 50px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  color: white;
  font: 650 .94rem/1.22 "Inter", "Segoe UI", system-ui, sans-serif;
  transition: background .16s, transform .16s, border-color .16s;
}
.naar-bedrijf { background: #265ec0; border-color: #659bf0; box-shadow: 0 5px 20px #03102775, inset 0 1px #b4d8ff22; }
.naar-bedrijf span { font-size: 1.3em; line-height: .85; }
.naar-bedrijf:hover { background: #306ece; }
.naar-boom { background: #132841e8; border-color: #7396bc; }
.naar-boom svg { width: 19px; height: 19px; color: #b8daff; }
.naar-boom:hover { background: #1b3a5e; border-color: #a3c5f2; }
.keuze:focus-visible { outline: 3px solid #b4d8ff; outline-offset: 4px; }
.keuze:active { transform: translateY(1px); }
.felicitare {
  position: relative;
  justify-self: center;
  width: min(100%, 720px, max(350px, calc(79svh - 76px)));
  margin: 0;
  isolation: isolate;
}
.felicitare::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -3% -5% 0;
  background: radial-gradient(ellipse at 50% 54%, #6294c720 7%, transparent 63%),
    radial-gradient(ellipse 48% 5% at 50% 95%, #02080fe6 6%, #02081088 42%, transparent 78%);
}
.brad-festiv, .cadouri-imagine { display: block; width: 100%; height: auto; }
.brad-festiv, #brad-stins { filter: drop-shadow(5px 12px 10px #02091384); transition: opacity .15s; }
#brad-stins, #zapada-pe-brad, #zapada-pe-cadouri { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#brad-stins { opacity: 0; }
.felicitare[data-lumini="stinse"] .brad-festiv { opacity: 0; }
.felicitare[data-lumini="stinse"] #brad-stins { opacity: 1; }
.hangbal {
  position: absolute;
  width: var(--maat);
  transform: translate(-50%, 0) rotate(var(--hoek));
  transform-origin: top;
  filter: drop-shadow(1px 2px 1px #100d0ecf);
  pointer-events: none;
}
.hangbal::before { content: ""; position: absolute; height: 12%; left: 49%; bottom: 98%; border-left: 1px solid #b8af89; }
.hangbal > img:first-child { display: block; width: 100%; height: auto; filter: saturate(1.35) brightness(.9); }
.hangbal .opdruk { position: absolute; width: 74%; height: auto; left: 13%; top: 61%; transform: translateY(-50%) perspective(90px) rotateY(-7deg); }
.hangbal-een { --maat: 6%; --hoek: 7deg; left: 46.2%; top: 31.8%; }
.hangbal-twee { --maat: 7.1%; --hoek: -7deg; left: 61.5%; top: 51%; }
.hangbal-drie { --maat: 7.6%; --hoek: 5deg; left: 34.2%; top: 65.4%; }
.pakjes { position: absolute; bottom: .75%; width: 58%; left: 50%; transform: translateX(-50%); filter: drop-shadow(4px 7px 5px #040910cd); }
.cadeaulabel {
  position: absolute; display: grid; place-items: center; left: 19.4%; top: 55%; width: 11%; aspect-ratio: 1.13; transform: translate(-50%,-50%) rotate(-13deg);
  background: linear-gradient(130deg,#fff2d1,#cfab73); border-radius: 10% 10% 5% 5%; box-shadow: 1px 2px 2px #492f1977;
}
.cadeaulabel::before { content: ""; position: absolute; bottom: 97%; right: 45%; width: 20%; height: 64%; border-right: 1px solid #c1a06f; transform: rotate(-9deg); }
.cadeaulabel img { display: block; width: 88%; height: auto; }
.druk-groot,.druk-klein { position: absolute; height: auto; }
.druk-groot { width: 16%; top: 72%; left: 74.2%; transform: translate(-50%,-50%) rotate(9deg) scaleX(.95); }
.druk-klein { width: 8.5%; top: 79.5%; left: 91.6%; transform: translate(-50%,-50%) rotate(-10deg) scaleX(.94); }
.colofon { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px 18px; padding: 14px 0 max(15px, env(safe-area-inset-bottom)); border-top: 1px solid #a5c9f42c; color: #aec1d7; font-size: .75rem; }
@media (max-width: 900px) and (min-width: 721px) {
  .kader { width: 93%; }
  .kerstkaart { grid-template-columns: 1.05fr 1fr; }
  .keuze { padding-inline: 13px; }
}
@media (max-width: 720px) {
  body::before { background-position: center, center, 64% bottom; background-size: cover,cover,auto 74%; background-repeat: no-repeat; }
  .briefhoofd { align-items: center; flex-wrap: wrap; padding-block: max(7px, env(safe-area-inset-top)) 6px; gap: 2px 12px; }
  .afzender { font-size: 1.03rem; gap: 6px; }
  .afzender .wintermerk { --merkmaat: 93px; }
  .schakelaars { gap: 1px; margin-inline-start: auto; }
  .winterknop { gap: 5px; padding-inline: 5px; font-size: .74rem; }
  .kerstkaart { grid-template-columns: minmax(0,1fr); padding: 27px 0 13px; gap: 14px; justify-items: center; }
  .wens { width: 100%; max-width: 34rem; }
  h1 { font-size: clamp(3.6rem,17cqi,6.3rem); }
  .aanhef { margin-bottom: 16px; font-size: .65rem; }
  .boodschap { margin-top: 19px; }
  .handtekening { font-size: 2.06rem; }
  .keuzes { margin-top: 17px; gap: 8px; }
  .keuze { min-height: 47px; padding: 9px 12px; font-size: .87rem; gap: 7px; }
  .felicitare { width: min(100%,470px); }
  .colofon { justify-content: center; text-align: center; }
}
@media (max-width: 530px) {
  .afzender-naam { display: none; }
}
@media (max-width: 365px) {
  .briefhoofd { row-gap: 1px; }
  .keuzes { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .keuze, .brad-festiv, #brad-stins { transition: none; }
}
