/* Kerstsfeer. kerst.js zet de klasse "kerst" op <html> van half november tot en met 6 januari. */

/* lichtjes onder het menu */
.kerst-lichtjes { display: none; }
html.kerst .kerst-lichtjes {
  display: flex; gap: 49px; padding-left: 24px; position: absolute; left: 0; right: 0; bottom: -13px; height: 18px;
  pointer-events: none; overflow: hidden; z-index: 1;
  background: radial-gradient(60px 14px at 50% -6px, transparent 11px, #2d4a3e 11.5px, #2d4a3e 13px, transparent 13.5px) 0 0 / 56px 18px repeat-x;
}
.kerst-lichtjes i { flex: none; display: block; width: 7px; height: 11px; border-radius: 50% 50% 45% 45%; margin-top: 5px; position: relative;
  background: #ffd23f; box-shadow: 0 0 8px 2px rgba(255,210,63,.7); animation: kerst-flonker 1.8s ease-in-out infinite alternate; }
.kerst-lichtjes i::before { content: ""; position: absolute; top: -3px; left: 1.5px; width: 4px; height: 4px; border-radius: 1px; background: #2d4a3e; }
.kerst-lichtjes i:nth-child(4n+2) { background: #e5484d; box-shadow: 0 0 8px 2px rgba(229,72,77,.6); animation-delay: .5s; }
.kerst-lichtjes i:nth-child(4n+3) { background: #2fb37a; box-shadow: 0 0 8px 2px rgba(47,179,122,.55); animation-delay: 1s; }
.kerst-lichtjes i:nth-child(4n+4) { background: #f0791f; box-shadow: 0 0 8px 2px rgba(240,121,31,.6); animation-delay: 1.4s; }
@keyframes kerst-flonker { from { opacity: .45; } to { opacity: 1; } }

/* kerstmuts op de schoorsteen van het logo */
.kerst-muts { display: none; }
html.kerst .site-header .brand { position: relative; }
html.kerst .kerst-muts { display: block; position: absolute; left: -5px; top: -12px; width: 26px; height: 22px; pointer-events: none; transform: rotate(-12deg); }

/* sneeuw in de donkere koppen */
html.kerst .page-hero { position: relative; overflow: hidden; }
html.kerst .page-hero > * { position: relative; z-index: 2; }
html.kerst canvas.kerst-sneeuw { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* kerstbal in de agenda */
.deco.kerstbal .bal { transform-box: view-box; transform-origin: 60px 0; animation: deco-swing 2.4s ease-in-out infinite alternate; }

/* kerstblok op de homepage */
.kerst-promo { background: radial-gradient(120% 140% at 80% 0%, #145a52 0%, #0c353d 55%, #082a30 100%); color: #eaf3f1; position: relative; overflow: hidden; }
.kerst-promo[hidden] { display: none !important; }
.kerst-promo .kp-in { max-width: 1180px; margin: 0 auto; padding: 72px 26px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.kerst-promo .kp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pop); margin-bottom: 12px; }
.kerst-promo h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(32px, 4.2vw, 54px); line-height: 1; letter-spacing: -0.02em; margin: 0 0 18px; color: #fff; }
.kerst-promo .kp-datum { display: inline-block; background: #e5484d; color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 18px; padding: 8px 14px; border-radius: 10px; transform: rotate(-1.5deg); box-shadow: 4px 4px 0 rgba(0,0,0,.35); margin-bottom: 20px; }
.kerst-promo p { font-size: 17px; line-height: 1.6; color: rgba(234,243,241,0.88); margin: 0 0 14px; max-width: 34em; }
.kerst-promo .kp-knoppen { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 22px; }
.kerst-promo a.kp-knop { padding: 14px 24px; font-weight: 700; font-size: 16px; color: #0c353d; background: var(--pop); text-decoration: none; border-radius: var(--rad); }
.kerst-promo a.kp-knop:hover { background: #ffe27a; }
.kerst-promo a.kp-link { font-weight: 700; color: #eaf3f1; text-decoration: none; border-bottom: 2px solid rgba(234,243,241,.35); }
.kerst-promo svg.kp-boom { width: 100%; max-width: 520px; height: auto; display: block; margin: 0 auto; }
.kerst-promo .kl { animation: kerst-flonker 1.6s ease-in-out infinite alternate; }
.kerst-promo .kp-ster { transform-box: fill-box; transform-origin: center; animation: kp-ster 3s ease-in-out infinite alternate; }
.kerst-promo .kv { animation: kp-val 8s linear infinite; }
@keyframes kp-ster { from { transform: scale(.92) rotate(-6deg); } to { transform: scale(1.08) rotate(6deg); } }
@keyframes kp-val { from { transform: translateY(-40px); opacity: 0; } 15% { opacity: .9; } to { transform: translateY(150px); opacity: 0; } }
@media (max-width: 860px) {
  .kerst-promo .kp-in { grid-template-columns: 1fr; gap: 6px; padding: 52px 20px 40px; }
  .kerst-promo svg.kp-boom { max-width: 360px; order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .kerst-lichtjes i, .kerst-promo .kl, .kerst-promo .kp-ster, .kerst-promo .kv, .deco.kerstbal .bal { animation: none; }
}
