/* Gedeeld door alle pagina's: de glazen menubalk, de gele voortgangsbalk, het nachtwater in de kop, en de bewegingen bij het scrollen. */
:root { --night: #0a1324; --night-fg: #F6F1E7; --night-muted: #A9B8DA; --night-line: rgba(169, 184, 218, .22); }

/* Menubalk: donker glas */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--night) 82%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--night-fg); border-bottom: 1px solid var(--night-line); box-shadow: none; }
@supports not (color: color-mix(in srgb, red 50%, blue)) { .top { background: rgba(10, 19, 36, .9); } }
.top .wrap { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; min-height: 68px; padding-top: 0; padding-bottom: 0; }
.merk { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night-fg); font-weight: 700; font-size: 21px; }
.merk:hover { color: var(--night-fg); }
.merk i { width: 36px; height: 36px; border-radius: 10px; background: var(--night-fg); display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); }
.merk img { width: 27px; height: 27px; }
.merk b { font-size: 21px; }
.top nav.menu { display: flex; gap: 2px; margin-left: 12px; }
.top nav.menu a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; border-radius: 999px; color: var(--night-fg); text-decoration: none; font-size: 15px; font-weight: 700; opacity: .85; transition: background .2s, opacity .2s; }
.top nav.menu a:hover, .top nav.menu a[aria-current="page"] { background: rgba(255, 255, 255, .1); opacity: 1; color: var(--night-fg); }
.top .rechts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top .taalbalk, .voet .taalbalk { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; }
.top .taalbalk { background: rgba(255, 255, 255, .1); }
.top .taalbalk button, .voet .taalbalk button { font: inherit; font-size: 13px; font-weight: 700; min-width: 40px; height: 32px; padding: 0 6px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; }
.top .taalbalk button { color: var(--night-fg); opacity: .8; }
.top .taalbalk button[aria-pressed="true"] { background: var(--night-fg); color: var(--night); opacity: 1; }
.voet .taalbalk { background: var(--sand, #EFE6D6); }
.voet .taalbalk button { color: var(--muted, #4A463D); }
.voet .taalbalk button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink, #F6F1E7); }
.knop-sun { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--sun); color: var(--on-sun, #2C2A25); font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 11px rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.knop-sun:hover { color: var(--on-sun, #2C2A25); transform: translateY(-2px); }
.icoknop { width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .1); color: inherit; display: none; align-items: center; justify-content: center; cursor: pointer; }
.icoknop:hover { background: rgba(255, 255, 255, .18); }
#mobMenu { flex-direction: column; gap: 6px; padding-top: 8px; padding-bottom: 16px; }
#mobMenu:not([hidden]) { display: flex; }
#mobMenu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--night-line); color: var(--night-fg); text-decoration: none; font-weight: 700; }
.voort { position: fixed; left: 0; right: 0; top: 0; height: 3px; background: var(--sun); transform: scaleX(0); transform-origin: left; z-index: 45; pointer-events: none; }
@supports (animation-timeline: scroll()) { .voort { animation: groei linear both; animation-timeline: scroll(); } }
@keyframes groei { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .top nav.menu, .top .taalbalk, .top .knop-sun { display: none; }
  .icoknop { display: inline-flex; }
}

/* Nachtwater: langzaam bewegend licht en een korrel, zoals het satijnblauw van het logo */
.hero { position: relative; isolation: isolate; background: var(--night); }
.hero .water { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.hero .water::before { content: ""; position: absolute; inset: -20%; background:
  radial-gradient(60% 50% at 20% 30%, rgba(138, 170, 226, .35), transparent 60%),
  radial-gradient(50% 45% at 80% 20%, rgba(74, 109, 170, .35), transparent 60%),
  radial-gradient(70% 60% at 60% 90%, rgba(23, 40, 74, .9), transparent 70%),
  linear-gradient(160deg, #0f1b33, #06132b 55%, #0a1324);
  animation: water 28s ease-in-out infinite alternate; }
.hero .water::after { content: ""; position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes water { from { transform: translate(0, 0) scale(1); } to { transform: translate(-4%, 3%) scale(1.08); } }
.tilt { transform-style: preserve-3d; transition: transform .35s ease-out; will-change: transform; }
.hero-tel { perspective: 1400px; }

/* Onthulling bij het scrollen: alles staat er in rust, alleen wat onder de vouw staat wacht even */
.rv-wacht { opacity: 0; transform: translateY(26px); }
.rv-in { animation: rv .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rv { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.wolk li.rv-in { animation-duration: .6s; }
@media (prefers-reduced-motion: reduce) {
  .rv-in, .hero .water::before, .voort { animation: none !important; }
  .rv-wacht { opacity: 1; transform: none; }
  .tilt { transition: none; }
}
[hidden] { display: none !important; }
