/* iMPAS bv: noorderlicht. Zachte, trage kleurvlekken (CSS) met daarover sterren,
   wuivende lichtgordijnen en af en toe een vallende ster (canvas, zie site.js).
   In het midden: logo, naam en het btw-nummer als knop (klik = kopiëren). */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; overflow: hidden; background: #05070b; color: #f1f4f2; -webkit-font-smoothing: antialiased;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---- kleurvlekken (bewegen traag en schuiven mee met de muis, zie --mx/--my) ---- */
.aurora { position: fixed; inset: -10%; z-index: 0; pointer-events: none;
  transform: translate(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -12px)); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 62vmax; height: 40vmax; left: -6vmax; top: -10vmax; background: #1d7a6b; opacity: .6; animation: d1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 56vmax; height: 38vmax; right: -10vmax; bottom: -12vmax; background: #3b3f9e; opacity: .55; animation: d2 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 42vmax; height: 26vmax; left: 32vw; top: 48vh; background: #7a2d6b; opacity: .38; animation: d3 38s ease-in-out infinite alternate; }
.aurora i:nth-child(4) { width: 34vmax; height: 20vmax; left: 8vw; top: 52vh; background: #2fa58c; opacity: .3; animation: d4 22s ease-in-out infinite alternate; }
@keyframes d1 { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes d2 { to { transform: translate(-16vw, -12vh) scale(1.1); } }
@keyframes d3 { to { transform: translate(-22vw, -30vh) scale(.9); } }
@keyframes d4 { to { transform: translate(40vw, -20vh) scale(1.2); } }

.fx { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }

/* ---- midden ---- */
.stage { position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 32px 20px;
  animation: rise 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.logo { width: clamp(90px, 13vw, 130px); height: auto; color: #fff; animation: glow 7s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(47,165,140,.35)); }
  50% { filter: drop-shadow(0 0 28px rgba(110,120,230,.45)); }
}
h1 { margin: 26px 0 40px; font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 2.8rem); letter-spacing: .02em; }
h1 span { font-weight: 300; opacity: .75; }

/* ---- btw-nummer als knop ---- */
.vat {
  font: inherit; color: #fff; cursor: copy; display: inline-flex; align-items: baseline; gap: .8em;
  padding: .85em 1.9em; border-radius: 999px; border: 1px solid rgba(255,255,255,.5);
  background: rgba(8,12,18,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .25s, color .25s, border-color .25s, transform .15s, box-shadow .3s;
}
.vat:hover { background: #fff; color: #05070b; border-color: #fff; box-shadow: 0 0 40px -6px rgba(120,220,200,.55); }
.vat:active { transform: scale(.98); }
.vat:focus-visible { outline: 2px solid #9fe3d4; outline-offset: 4px; }
.vat__lbl { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .65; }
.vat__nr { font-size: 1.02rem; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.vat.is-copied { border-color: #9fe3d4; box-shadow: 0 0 0 4px rgba(159,227,212,.18); }
.hint { margin: 12px 0 0; font-size: .74rem; letter-spacing: .08em; color: rgba(241,244,242,.45); min-height: 1.2em; transition: color .3s; }
.hint.is-on { color: #9fe3d4; }

@media (prefers-reduced-motion: reduce) {
  .aurora i, .logo, .stage { animation: none; }
  .aurora { transition: none; }
}
a.vat { cursor: pointer; text-decoration: none; }
/* startpagina: enkel logo + knop (geen titel, geen hint) */
.logo + .vat { margin-top: 44px; align-items: center; }
/* kopieer-icoontje rechts van het nummer; na een klik even een vinkje */
.vat__ico { position: relative; width: 1.05em; height: 1.05em; flex: none; }
.vat__ico svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s, transform .25s; }
.vat__ico .ico-copy { opacity: .7; }
.vat__ico .ico-check { opacity: 0; transform: scale(.5); stroke-width: 2.6; color: #9fe3d4; }
.vat:hover .vat__ico .ico-check { color: #1d7a6b; }
.vat.is-copied .ico-copy { opacity: 0; transform: scale(.5); }
.vat.is-copied .ico-check { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
