/* Christmas 2026 hero of /geschenkgutschein, design C (gift_voucher/page/_hero_xmas). On top of
   gift-voucher-page-hero.css: same tokens, the scene under the tree instead of the plateau photo. */
.gv-hero--xmas { position: relative; overflow: hidden; color: #EDE3D5; }
.gv-hero--xmas .xh-scene { position: absolute; inset: 0; }
.gv-hero--xmas .xh-scene picture { display: block; width: 100%; height: 100%; }
.xh-scene__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.gv-hero--xmas .xh-scene::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(17,18,20,.88) 0%, rgba(17,18,20,.62) 40%, rgba(17,18,20,.15) 75%, rgba(17,18,20,.35) 100%);
}
.gv-hero--xmas .xh-inner { position: relative; max-width: 1140px; margin: 0 auto; padding: calc(var(--gv-header-h) + 20px) var(--gv-gutter) 0; text-align: center; }
.gv-hero--xmas .gv-crumbs { text-align: center; }
.xh-center { max-width: 820px; margin: 18px auto 0; }
.xh-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.xh-h1 { font-size: clamp(34px, 7.4vw, 62px); }
.xh-sub { margin: 16px auto 0; max-width: 48ch; font-size: 17px; line-height: 1.6; color: rgba(237,227,213,.86); }
.xh-sub strong { color: #EDE3D5; }

/* The days board: flip-clock tiles. */
.xh-board { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 4px; flex-wrap: wrap; }
.xh-board__lbl { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(237,227,213,.78); }
.xh-board__d {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 60px;
  background: #111214; border-radius: 4px; box-shadow: inset 0 -2px 0 rgba(255,255,255,.04), 0 6px 18px rgba(0,0,0,.35);
}
.xh-board__d::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.65); }
.xh-board__d b { font: 800 38px/1 'Roboto', sans-serif; color: #EDE3D5; font-variant-numeric: tabular-nums; }
.xh-board--eve { gap: 10px; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #EDE3D5; }
.xh-board--eve .bi { color: #FF6A00; font-size: 18px; }

/* The sub already says it: the "paylater" line stays out of this hero, the amount button is the one orange. */
.gv-hero--xmas .gv-hero__paylater { display: none; }
.gv-hero--xmas .gv-hero__actions { justify-content: center; margin-top: 20px; }
.gv-hero--xmas .gv-hero__actions .gv-btn[data-path="amount"] { background: #FF6A00; border-color: #FF6A00; color: #fff; }
.gv-hero--xmas .gv-hero__actions .gv-btn[data-path="amount"]:hover { background: #e55e00; border-color: #e55e00; }
.gv-hero--xmas .gv-hero__bonus { margin-left: auto; margin-right: auto; }
.gv-hero--xmas .gv-trust { justify-content: center; }

/* The voucher lying on the floor boards; it settles there once on load. */
.xh-floor { perspective: 1100px; margin: 34px auto 0; height: 220px; }
.xh-floor__tk {
  position: relative; width: min(92%, 560px); margin: 0 auto; text-align: left;
  transform: rotateX(48deg) rotate(4deg); transform-origin: 50% 0%;
  animation: xhSettle .9s cubic-bezier(.2, .8, .25, 1) .25s both;
}
.xh-floor__tk .gv-sheet {
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 60px rgba(255,170,80,.18);
  /* Warm it into the room: old paper and the fairy lights on it, not a white screen card. */
  filter: sepia(.22) saturate(1.08) brightness(.93) contrast(.97);
  background: #E9D8BA;
}
.xh-floor__tk .gv-tk { background: #F1E2C8; }
.xh-floor__tk .gv-sheet::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(255,186,96,.38), rgba(255,186,96,0) 55%),
    radial-gradient(90% 80% at 0% 110%, rgba(70,38,12,.28), rgba(70,38,12,0) 60%);
  mix-blend-mode: soft-light;
}
@keyframes xhSettle {
  from { opacity: 0; transform: translateY(-70px) rotateX(18deg) rotate(-3deg); }
  to   { opacity: 1; transform: rotateX(48deg) rotate(4deg); }
}
.xh-spark {
  position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; pointer-events: none;
  background: radial-gradient(circle, #FFE3B8 0 18%, rgba(255,190,110,.55) 40%, transparent 70%);
  animation: xhTw 2.8s ease-in-out calc(var(--d) + 1.1s) infinite both;
}
.xh-spark--s { width: 6px; height: 6px; }
@keyframes xhTw { 0%, 100% { opacity: .25; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.25); } }

@media (min-width: 600px) { .xh-floor { height: 260px; } }
@media (min-width: 900px) {
  .gv-hero--xmas .xh-inner { padding-top: calc(var(--gv-header-h) + 24px); }
  .xh-center { margin-top: 8px; }
  .gv-hero--xmas .gv-trust { display: none; }
  .xh-floor { height: 300px; }
}

/* The header hides above the scene and slides in once the page is scrolled (html.gv-head-in), stays while
   the menu is open or the keyboard is inside it. */
html.gv-xmas-head #site-header { transition: transform .3s ease, opacity .3s ease; }
html.gv-xmas-head:not(.gv-head-in) #site-header:not(:focus-within) { transform: translateY(-110%); opacity: 0; }
html.gv-xmas-head body.menu-open #site-header { transform: none; opacity: 1; }
html.gv-xmas-head .gv-hero--xmas .xh-inner { padding-top: 28px; }
@media (min-width: 900px) { html.gv-xmas-head .gv-hero--xmas .xh-inner { padding-top: 36px; } }

@media (prefers-reduced-motion: reduce) {
  html.gv-xmas-head #site-header { transition: none; }
  .xh-floor__tk { animation: none; }
  .xh-spark { animation: none; opacity: .8; }
}

/* ---- The hero fills the screen (the header waits above it) ---------------------------------------- */
.gv-hero--xmas, .gv-hero--xmas .xh-inner { min-height: 100vh; min-height: 100svh; }
.gv-hero--xmas .xh-inner { display: flex; flex-direction: column; row-gap: 28px; }
.gv-hero--xmas .xh-center { margin-top: auto; margin-bottom: 0; }
.gv-hero--xmas .xh-floor { margin-top: auto; flex: none; width: 100%; }
.gv-hero--xmas .xh-center { width: 100%; }

/* ---- A little Christmas down the page (gv-page--xmas) -------------------------------------------- */
/* A string of warm lights along the top of three bands, two sets that twinkle against each other. */
.gv-page--xmas .gv-paths, .gv-page--xmas .gv-form-band, .gv-page--xmas .gv-tours { position: relative; }
.gv-page--xmas .gv-paths::before, .gv-page--xmas .gv-form-band::before, .gv-page--xmas .gv-tours::before,
.gv-page--xmas .gv-paths::after, .gv-page--xmas .gv-form-band::after, .gv-page--xmas .gv-tours::after {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 20px; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, #FFE1AE 0 2.5px, rgba(255, 176, 80, .55) 3.5px, rgba(255, 176, 80, 0) 8px) 0 0 / 56px 20px repeat-x;
  animation: xhGarland 3.2s ease-in-out infinite;
}
.gv-page--xmas .gv-paths::after, .gv-page--xmas .gv-form-band::after, .gv-page--xmas .gv-tours::after {
  background-position: 28px 6px; animation-delay: -1.6s;
}
@keyframes xhGarland { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* Eyebrows carry a small star. */
.gv-page--xmas .gv-eyebrow::before { content: '\2726'; margin-right: 8px; color: #C08A1E; font-size: 11px; letter-spacing: 0; }

/* The Christmas certificate is the first card and the warm one. */
.gv-page--xmas .gv-occard[data-occasion-pick="christmas"] {
  order: -1; background: linear-gradient(160deg, #FBF5EA 0%, #F1E2C8 100%); border-color: rgba(31, 93, 58, .35);
  box-shadow: inset 0 3px 0 var(--gv-acc), 0 10px 26px rgba(31, 93, 58, .12);
}
.gv-occard__badge {
  position: absolute; top: 14px; right: 14px; padding: 3px 8px; border-radius: 2px;
  background: #1f5d3a; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}

/* The closing band: the cabin under the tree, warmer and a touch lighter than the photo it replaces. */
.gv-page--xmas .gv-closing__img--xmas { object-position: 70% 50%; }
.gv-page--xmas .gv-closing__media::after { background: linear-gradient(90deg, rgba(17, 18, 20, .72), rgba(17, 18, 20, .38)); }
@media (min-width: 900px) { .gv-page--xmas .gv-closing__inner { min-height: 380px; } }

@media (prefers-reduced-motion: reduce) {
  .gv-page--xmas .gv-paths::before, .gv-page--xmas .gv-form-band::before, .gv-page--xmas .gv-tours::before,
  .gv-page--xmas .gv-paths::after, .gv-page--xmas .gv-form-band::after, .gv-page--xmas .gv-tours::after { animation: none; opacity: .8; }
}

/* Full-height fit: the floor takes what the screen has left, the ticket always shows its top half. */
.gv-hero--xmas .xh-floor { height: clamp(150px, 30svh, 300px); }
@media (min-width: 900px) {
  .gv-hero--xmas .xh-h1 { font-size: clamp(38px, 4.4vw, 54px); }
  .gv-hero--xmas .xh-sub { margin-top: 12px; }
  .gv-hero--xmas .xh-board { margin-top: 16px; }
  .gv-hero--xmas .gv-hero__actions { margin-top: 14px; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .gv-hero--xmas .xh-floor__tk { width: min(80%, 460px); }
  .gv-hero--xmas .gv-hero__bonus { display: none; }
}

