/* ==========================================================================
   AM Taxes — actiebanner "Eerste maand gratis boekhouding"
   Tijdelijk (t/m 31-12-2026). Instellingen: assets/actie-config.js.
   Beweging (scroll, 3D-frames, header): assets/actie-motion.js.
   Na de actie kan dit hele bestand weg (zie LEESMIJ.md).

   Opbouw
     .actie            donker podium, begint achter de header (pixel 0)
       .actie-bg       lichtvlakken, ledger-lijnen, stofdeeltjes (CSS)
       .actie-inner    twee kolommen: grote titel + knop links, 3D-kasboek rechts
   Alles wat beweegt gebruikt alleen transform en opacity, zodat de browser
   het op de grafische kaart kan doen en het scrollen vloeiend blijft.
   ========================================================================== */

:root {
  --actie-navy: #0f2742;
  --actie-navy-dark: #0a1c30;
  --actie-ink: #07101e;
  --actie-gold: #d9bb78;
  --actie-gold-deep: #c9a356;
  --actie-gold-button: linear-gradient(180deg, #e4c886 0%, #c9a356 100%);
  --actie-gold-block: linear-gradient(135deg, #efd699 0%, #d6b066 42%, #b8923f 100%);
  --actie-white-92: rgba(255, 255, 255, 0.92);
  --actie-white-86: rgba(255, 255, 255, 0.86);
  --actie-white-80: rgba(255, 255, 255, 0.8);
  --actie-white-70: rgba(255, 255, 255, 0.7);
  --actie-white-60: rgba(255, 255, 255, 0.6);
  --actie-shadow-text: rgba(3, 10, 20, 0.45);
  /* How far the page below slides over the banner */
  --actie-overlap: 44px;
}
@media (max-width: 760px) {
  :root { --actie-overlap: 32px; }
}

/* ==========================================================================
   Header on top of the banner
   The banner starts at the very top, behind the header. While the banner is
   under it the pill is dark navy glass; past the banner it turns back into
   the white pill (class "on-dark", toggled by actie-motion.js).
   No backdrop blur: blurring a moving background costs a lot every frame.
   ========================================================================== */
html:not(.actie-voorbij) .has-actie .site-header {
  margin-bottom: calc(-1 * var(--header-h));
}
.has-actie .site-header::before { transition: opacity 0.4s ease; }
.has-actie .site-header .nav {
  transition: background-color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}
.has-actie .brand-name,
.has-actie .brand-sub,
.has-actie .nav-links a { transition: color 0.45s ease; }

html:not(.actie-voorbij) .site-header.on-dark::before { opacity: 0; }
html:not(.actie-voorbij) .site-header.on-dark .nav {
  background: rgba(10, 21, 38, 0.86);
  border-color: rgba(217, 187, 120, 0.24);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
html:not(.actie-voorbij) .site-header.on-dark .brand-name { color: #fff; }
html:not(.actie-voorbij) .site-header.on-dark .brand-sub { color: var(--actie-white-60); }
html:not(.actie-voorbij) .site-header.on-dark .brand-mark { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
html:not(.actie-voorbij) .site-header.on-dark .nav-links a { color: rgba(255, 255, 255, 0.74); }
html:not(.actie-voorbij) .site-header.on-dark .nav-links a:hover,
html:not(.actie-voorbij) .site-header.on-dark .nav-links a.active { color: #fff; }
html:not(.actie-voorbij) .site-header.on-dark .btn-navy {
  background: var(--actie-gold-button);
  color: var(--actie-navy);
}
html:not(.actie-voorbij) .site-header.on-dark .btn-navy::after { background: var(--actie-navy); }
html:not(.actie-voorbij) .site-header.on-dark .btn-navy:hover { background: #fff; color: var(--actie-navy); }
html:not(.actie-voorbij) .site-header.on-dark .lang-switch {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}
html:not(.actie-voorbij) .site-header.on-dark .lang-switch svg { color: rgba(255, 255, 255, 0.6); }
html:not(.actie-voorbij) .site-header.on-dark .lang-switch a { color: rgba(255, 255, 255, 0.74); }
html:not(.actie-voorbij) .site-header.on-dark .lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
html:not(.actie-voorbij) .site-header.on-dark .lang-switch a[aria-current] { background: var(--actie-gold-button); color: var(--actie-navy); }

/* The page below slides over the banner with rounded corners */
html:not(.actie-voorbij) .has-actie .hero {
  z-index: 2;
  margin-top: calc(-1 * var(--actie-overlap));
  border-radius: var(--actie-overlap) var(--actie-overlap) 0 0;
  box-shadow: 0 -24px 60px rgba(3, 10, 20, 0.2);
}

/* ==========================================================================
   Banner
   ========================================================================== */
.actie {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--actie-ink);
  font-family: var(--sans);
}

/* Film grain: takes the "too smooth" digital look off the gradients */
.actie::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Background layers (moved as one layer while scrolling) ---------- */
.actie-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(48% 62% at 74% 50%, rgba(36, 76, 128, 0.42) 0%, rgba(20, 44, 80, 0.18) 48%, rgba(7, 16, 30, 0) 78%),
    radial-gradient(42% 55% at 8% 18%, rgba(30, 62, 104, 0.4) 0%, rgba(7, 16, 30, 0) 70%),
    radial-gradient(36% 36% at 92% 104%, rgba(201, 163, 86, 0.2) 0%, rgba(201, 163, 86, 0) 70%),
    linear-gradient(180deg, #050b17 0%, #07101e 48%, #0b1628 100%);
  will-change: transform;
  animation: actie-fade 1.2s var(--ease) both;
}
.actie-beam {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.actie-beam-1 {
  top: -18%;
  right: -12%;
  width: 70vmax;
  height: 22vmax;
  background: radial-gradient(closest-side, rgba(120, 160, 220, 0.14), rgba(120, 160, 220, 0));
  transform: rotate(-26deg);
  animation: actie-drift-1 18s ease-in-out infinite alternate;
}
.actie-beam-2 {
  bottom: -6%;
  right: 4%;
  width: 46vmax;
  height: 12vmax;
  background: radial-gradient(closest-side, rgba(217, 187, 120, 0.16), rgba(217, 187, 120, 0));
  transform: rotate(-8deg);
  animation: actie-drift-2 13s ease-in-out infinite alternate;
}
/* Faint ledger lines, only top left behind the headline */
.actie-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0) 0 55px, rgba(255, 255, 255, 0.035) 55px 56px);
  -webkit-mask-image: radial-gradient(60% 55% at 22% 40%, #000 0%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(60% 55% at 22% 40%, #000 0%, rgba(0, 0, 0, 0) 100%);
}
/* Gold dust: a handful of dots. The dot itself only sets position, size and
   brightness; its ::before does the moving with fixed keyframes, so the
   browser can run it on the graphics card (no var() inside the keyframes). */
.actie-dust i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s, 3px);
  height: var(--s, 3px);
  opacity: var(--o, 0.6);
}
.actie-dust i::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #e8cb8c;
  box-shadow: 0 0 calc(var(--s, 3px) * 3) calc(var(--s, 3px) * 0.8) rgba(232, 203, 140, 0.28);
  opacity: 0;
  animation: actie-dust var(--d, 14s) linear var(--w, 0s) infinite;
}

/* ---------- Layout ---------- */
.actie-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  align-items: center;
  column-gap: clamp(1rem, 3vw, 3rem);
  max-width: 1400px;
  min-height: clamp(620px, 100vh, 960px);
  min-height: clamp(620px, 100svh, 960px);
  margin-inline: auto;
  padding:
    calc(var(--header-h) + clamp(1rem, 2.6vh, 2.5rem))
    var(--gutter)
    calc(var(--actie-overlap) + clamp(1.5rem, 4.4vh, 3.75rem));
}

/* ---------- Copy: one big headline, a button and the countdown ---------- */
.actie-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.8rem, 4.4vh, 3rem);
  will-change: transform, opacity;
}
.actie-copy p { margin: 0; }

/* Headline: every line slides up out of a mask */
.actie-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--sans);
  font-size: clamp(3rem, min(8.4vw, 13vh), 7.6rem);
  font-size: clamp(3rem, min(8.4vw, 13svh), 7.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
  color: #fff;
}
.actie-line {
  display: block;
  overflow: hidden;
  /* room for the descenders of "g", without moving the lines apart */
  padding: 0.02em 0.08em 0.15em 0;
  margin-bottom: -0.13em;
  white-space: nowrap;
}
.actie-line > span {
  display: block;
  text-shadow: 0 0.06em 0.32em rgba(3, 10, 20, 0.5);
  animation: actie-line-in 1s var(--ease) both;
}
.actie-line:nth-child(1) > span { animation-delay: 0.12s; }
.actie-line:nth-child(2) > span { animation-delay: 0.24s; }
.actie-line:nth-child(3) > span { animation-delay: 0.36s; }

/* Button + "Tijdelijke actie · Nog 45 dagen" */
.actie-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  animation: actie-rise 0.85s var(--ease) 0.62s both;
}
.actie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--actie-gold);
}

/* Countdown chip (and the spots counter, when switched on). Shown only
   when JavaScript runs; until then nothing jumps. */
.actie-chips { display: none; gap: 8px; }
.actie-js .actie-chips { display: inline-flex; }
.actie-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.2em;
  height: 30px;
  padding: 0 0.85rem;
  border: 1px solid rgba(217, 187, 120, 0.55);
  border-radius: 999px;
  background: rgba(217, 187, 120, 0.1);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--actie-gold);
  white-space: nowrap;
}
.actie-chip[hidden] { display: none; }

/* Gold button: "Ontdek meer" in the banner, "Claim je gratis maand" in the
   pop-up and on /actie */
.actie-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--actie-gold-button);
  color: var(--actie-navy);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(3, 10, 20, 0.5), inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s var(--ease);
}
.actie-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-130%);
  animation: actie-sweep 6s ease-in-out 2s infinite;
}
.actie-btn:hover {
  color: var(--actie-navy);
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 22px 44px rgba(3, 10, 20, 0.55), 0 0 0 6px rgba(217, 187, 120, 0.16), inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
}
.actie-btn-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--actie-navy);
  transition: transform 0.35s var(--ease);
}
.actie-btn:hover .actie-btn-icon { transform: translateX(3px); }
.actie-btn-icon svg { display: block; }
.actie-btn:focus-visible,
.actie-modal-close:focus-visible {
  outline: 3px solid var(--actie-gold);
  outline-offset: 4px;
}

/* The banner's button is the big one */
.actie .actie-btn {
  gap: 1.1rem;
  height: clamp(62px, 5vw, 76px);
  padding: 0 0.65rem 0 clamp(1.7rem, 2.3vw, 2.4rem);
  font-size: clamp(1.15rem, 1.55vw, 1.5rem);
  animation: actie-glow 1.8s ease-out 1.4s 1 both;
}
.actie .actie-btn-icon { width: clamp(46px, 3.6vw, 56px); height: clamp(46px, 3.6vw, 56px); }
.actie .actie-btn-icon svg { width: 24px; height: 24px; }

/* ---------- 3D ledger ---------- */
.actie-stage {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(150%, 820px);
  aspect-ratio: 1 / 1;
  margin-right: -30%;
  pointer-events: none;
  will-change: transform;
}
.actie-stage-move {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1400px;
  animation: actie-stage-in 1.5s var(--ease) 0.05s both;
}
.actie-stage-tilt {
  position: relative;
  width: 100%;
  height: 100%;
}
/* Calm floating at rest: a CSS animation, so it costs nothing per frame */
.actie-stage-float {
  position: absolute;
  inset: 0;
  animation: actie-float 7s ease-in-out 1.6s infinite;
}
/* Soft glow behind the render; also shows through its faded edges */
.actie-halo {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 100, 168, 0.3) 0%, rgba(30, 62, 110, 0.12) 55%, rgba(7, 16, 30, 0) 80%);
}
/* The render and its frames have their faded edges baked in (transparent
   WebP), so no CSS mask has to be recalculated while they change */
.actie-still,
.actie-frames {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.actie-frames { opacity: 0; transition: opacity 0.5s ease; }
.actie-stage.has-frames .actie-frames { opacity: 1; }
/* Warm highlight; follows the mouse on desktop */
.actie-glint {
  position: absolute;
  inset: 0;
  background: radial-gradient(30% 30% at 64% 30%, rgba(255, 224, 160, 0.1), rgba(255, 224, 160, 0) 70%);
  will-change: transform;
}

/* ---------- Keyframes ---------- */
@keyframes actie-fade { from { opacity: 0; } }
@keyframes actie-rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } }
@keyframes actie-line-in { from { transform: translate3d(0, 112%, 0); } }
@keyframes actie-stage-in {
  from { opacity: 0; transform: translate3d(0, 48px, 0) scale(0.86); }
}
@keyframes actie-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}
@keyframes actie-sweep {
  0% { transform: translateX(-130%); }
  18%, 100% { transform: translateX(130%); }
}
@keyframes actie-glow {
  0% { box-shadow: 0 16px 34px rgba(3, 10, 20, 0.5), 0 0 0 0 rgba(217, 187, 120, 0.6), inset 0 1.5px 0 rgba(255, 255, 255, 0.5); }
  100% { box-shadow: 0 16px 34px rgba(3, 10, 20, 0.5), 0 0 0 26px rgba(217, 187, 120, 0), inset 0 1.5px 0 rgba(255, 255, 255, 0.5); }
}
@keyframes actie-dust {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(14px, -140px, 0); }
}
@keyframes actie-drift-1 { to { transform: rotate(-19deg) translate3d(-8%, 6%, 0); } }
@keyframes actie-drift-2 { to { transform: rotate(-13deg) translate3d(-10%, -4%, 0); } }

/* ---------- Tablet (desktop layout, smaller) ---------- */
@media (max-width: 1023px) {
  .actie-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); min-height: 0; }
  .actie-stage { width: min(170%, 560px); margin-right: -45%; }
}

/* ---------- Mobile: headline and button first, the ledger below ---------- */
@media (max-width: 767px) {
  .actie-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: calc(var(--header-h) + 2.25rem);
    padding-bottom: calc(var(--actie-overlap) + 0.25rem);
  }
  .actie-copy { gap: 1.75rem; }
  .actie-title { font-size: clamp(2.6rem, 13.4vw, 4.6rem); }
  .actie-cta { gap: 1rem; }
  .actie .actie-btn { height: 60px; font-size: 1.15rem; }
  .actie .actie-btn-icon { width: 46px; height: 46px; }
  .actie-stage {
    width: min(100% + 2 * var(--gutter), 520px);
    margin: -0.25rem auto -1.5rem;
  }
  .actie-lines {
    -webkit-mask-image: radial-gradient(90% 40% at 30% 25%, #000 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(90% 40% at 30% 25%, #000 0%, rgba(0, 0, 0, 0) 100%);
  }
}

/* ==========================================================================
   Pop-up "Wat is inbegrepen?"
   ========================================================================== */
.actie-modal {
  width: min(800px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(217, 187, 120, 0.22);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(90% 50% at 90% 0%, rgba(52, 100, 168, 0.35) 0%, rgba(52, 100, 168, 0) 70%),
    radial-gradient(70% 40% at 0% 100%, rgba(201, 163, 86, 0.12) 0%, rgba(201, 163, 86, 0) 70%),
    linear-gradient(180deg, #0c1a2e 0%, #08121f 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.actie-modal[open] { animation: actie-modal-in 0.5s var(--ease) both; }
.actie-modal::backdrop {
  background: rgba(4, 10, 20, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.actie-modal[open]::backdrop { animation: actie-fade 0.4s ease both; }
html.actie-modal-open { overflow: hidden; }

/* Content builds up in a short stagger */
.actie-modal[open] .actie-info > * { animation: actie-rise 0.55s var(--ease) both; }
.actie-modal[open] .actie-info > :nth-child(2) { animation-delay: 0.04s; }
.actie-modal[open] .actie-info > :nth-child(3) { animation-delay: 0.08s; }
.actie-modal[open] .actie-info > :nth-child(4) { animation-delay: 0.12s; }
.actie-modal[open] .actie-info > :nth-child(5) { animation-delay: 0.16s; }
.actie-modal[open] .actie-info > :nth-child(6) { animation-delay: 0.2s; }
.actie-modal[open] .actie-info > :nth-child(7) { animation-delay: 0.24s; }
.actie-modal[open] .actie-info > :nth-child(n+8) { animation-delay: 0.28s; }

@keyframes actie-modal-in {
  from { opacity: 0; transform: translate3d(0, 24px, 0) scale(0.96); }
}

.actie-modal-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 0;
  display: flex;
  justify-content: flex-end;
}
.actie-modal-close {
  width: 44px;
  height: 44px;
  margin: 14px 14px 0 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.85);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s var(--ease);
}
.actie-modal-close:hover { background: var(--actie-gold); color: var(--actie-navy); transform: rotate(90deg); }

/* Shared content (pop-up and /actie page) */
.actie-info {
  padding: clamp(28px, 5vw, 52px) clamp(20px, 5vw, 52px) clamp(28px, 5vw, 48px);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--actie-white-86);
}
.actie-info-title {
  margin: 0 56px 0.9rem 0;
  font-size: clamp(1.35rem, 3.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--actie-gold);
}
.actie-info-intro { margin: 0; font-size: 1.05rem; color: var(--actie-white-92); }

/* The offer in short: who it's for, the price, until when, cancellable */
.actie-deal {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.55rem;
  margin-top: 0.4rem;
  padding: clamp(1.1rem, 3vw, 1.6rem) clamp(1.1rem, 3vw, 1.6rem) clamp(1.15rem, 3vw, 1.5rem);
  border: 1px solid rgba(217, 187, 120, 0.32);
  border-radius: 20px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(217, 187, 120, 0.14) 0%, rgba(217, 187, 120, 0) 60%),
    rgba(255, 255, 255, 0.04);
}
.actie-deal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--actie-gold-block);
}
.actie-info .actie-deal p { margin: 0; }
.actie-deal-who { font-size: clamp(1.1rem, 2.6vw, 1.3rem); font-weight: 700; color: #fff; line-height: 1.3; }
.actie-deal-sub { font-size: 0.98rem; color: var(--actie-white-70); }
.actie-deal-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.55rem;
  row-gap: 2px;
  margin-top: 0.35rem !important;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--actie-white-86);
}
.actie-deal-price strong {
  font-size: clamp(2.1rem, 6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  color: var(--actie-gold);
}
.actie-deal-deadline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 0.2rem !important;
  font-weight: 600;
  color: var(--actie-white-92);
}
.actie-deal-deadline > svg { width: 20px; height: 20px; flex: none; color: var(--actie-gold); }
.actie-deal-deadline strong { color: var(--actie-gold); font-weight: 800; }
.actie-deal-cancel { padding-left: 30px; font-size: 0.95rem; color: var(--actie-white-70); }
.actie-info h3,
.actie-info h2.actie-info-h {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.1rem 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #fff;
}
/* thin gold rule after each heading */
.actie-info h3::after,
.actie-info h2.actie-info-h::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 187, 120, 0.4), rgba(217, 187, 120, 0));
}
.actie-info p { margin: 0 0 0.75rem; }
.actie-info ul.actie-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.actie-list li { position: relative; padding-left: 1.65rem; }
/* gold check mark */
.actie-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%230f2742' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 78% no-repeat,
    var(--actie-gold);
}
@media (min-width: 640px) {
  .actie-list-cols { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .actie-list-cols li:last-child { grid-column: 1 / -1; }
}

.actie-packs {
  list-style: none;
  margin: 1rem 0 0.9rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .actie-packs { grid-template-columns: repeat(3, 1fr); }
}
.actie-pack {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.15rem 1.15rem 1.15rem;
  border: 1px solid rgba(217, 187, 120, 0.26);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* gold top edge */
.actie-pack::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--actie-gold-block);
}
.actie-pack:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 187, 120, 0.6);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}
.actie-pack-name { font-weight: 800; font-size: 1.1rem; color: #fff; line-height: 1.3; }
.actie-pack-range { font-size: 0.95rem; color: var(--actie-white-80); }
.actie-pack-price {
  margin-top: 0.45rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--actie-gold);
  white-space: nowrap;
}
/* The colons of "Start: tot 25 transacties: €49,99" are kept for screen
   readers and copy-paste, but not drawn: in a card the layout separates them */
.actie-sep {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.actie-pack-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
}
.actie-pack-wide::before { opacity: 0.45; }
.actie-pack-wide .actie-pack-price { margin: 0; font-size: 1.15rem; white-space: normal; }
.actie-free-note {
  margin: 0;
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  border-left: 3px solid var(--actie-gold);
  border-radius: 4px 12px 12px 4px;
  background: rgba(217, 187, 120, 0.12);
  color: #fff;
  font-weight: 600;
}
.actie-info-cta { margin-top: 2.1rem; }
.actie-info .actie-btn {
  gap: 14px;
  height: 58px;
  padding: 0 10px 0 28px;
  font-size: 1.15rem;
}
.actie-info .actie-btn-icon { width: 40px; height: 40px; }
.actie-info .actie-btn-icon svg { width: 20px; height: 20px; }

@media (max-width: 520px) {
  .actie-modal { width: calc(100% - 16px); max-height: calc(100% - 16px); border-radius: 22px; }
  .actie-info .actie-btn { width: 100%; justify-content: space-between; }
}

/* ---------- /actie page ---------- */
.actie-page {
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 5rem);
}
.actie-page-card {
  max-width: 840px;
  margin-inline: auto;
  border: 1px solid rgba(217, 187, 120, 0.22);
  border-radius: var(--radius-card, 32px);
  color: #fff;
  background:
    radial-gradient(90% 40% at 90% 0%, rgba(52, 100, 168, 0.35) 0%, rgba(52, 100, 168, 0) 70%),
    linear-gradient(180deg, #0c1a2e 0%, #08121f 100%);
  box-shadow: 0 30px 80px rgba(3, 10, 20, 0.25);
  overflow: hidden;
  animation: actie-rise 0.8s var(--ease) both;
}
.actie-page .actie-info-title { margin-right: 0; }
.actie-page-ended { display: none; }
.actie-page-ended .actie-info-intro a { color: var(--actie-gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- After the end date (class set by assets/actie-config.js) ---------- */
.actie-voorbij .actie,
.actie-voorbij .actie-modal,
.actie-voorbij .actie-page-active { display: none !important; }
.actie-voorbij .actie-page-ended { display: block; }

@media (prefers-reduced-motion: reduce) {
  .actie-btn, .actie-btn:hover, .actie-pack, .actie-pack:hover { transition: none; transform: none; }
  .actie-btn::after { display: none; }
}

.actie-nowrap { white-space: nowrap; }
