/* Scroll-indicator op de startpagina (vervangt de oude kleine "Ontdek Ars Longa"-tekst rechtsonder) */

.hero-note.scroll-cue {
  /* gecentreerd onderaan de hero */
  right: auto;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  flex-direction: column;
  gap: 12px;
  padding: 8px 12px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
  transition: opacity .2s ease;
}

.hero-note.scroll-cue:hover,
.hero-note.scroll-cue:focus-visible { opacity: .85; }

.hero-note.scroll-cue:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 6px;
}

/* reset van de oude ronde "pijl"-stijl voor alle spans in de indicator */
.hero-note.scroll-cue span {
  border: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  display: block;
}

/* muis-icoon met bewegend scrollwieltje */
.hero-note.scroll-cue .scroll-cue-mouse {
  position: relative;
  width: 34px;
  height: 56px;
  border: 2.5px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.hero-note.scroll-cue .scroll-cue-wheel {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 5px;
  height: 11px;
  margin-left: -2.5px;
  border-radius: 2px;
  background: #fff;
  animation: scroll-cue-wheel 1.8s ease-in-out infinite;
}

/* stuiterende pijl eronder */
.hero-note.scroll-cue .scroll-cue-arrow {
  width: 14px;
  height: 14px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(45deg);
  margin-top: -2px;
  animation: scroll-cue-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-cue-wheel {
  0%   { opacity: 0; transform: translateY(0); }
  20%  { opacity: 1; }
  70%  { opacity: 0; transform: translateY(20px); }
  100% { opacity: 0; transform: translateY(20px); }
}

@keyframes scroll-cue-bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: .6; }
  50%      { transform: translateY(8px) rotate(45deg); opacity: 1; }
}

/* Indicator verdwijnt geleidelijk zodra de bezoeker begint te scrollen
   (alleen in browsers die scroll-gestuurde animaties ondersteunen; elders blijft hij gewoon staan) */
@supports (animation-timeline: scroll()) {
  .hero-note.scroll-cue {
    animation: scroll-cue-fade linear both;
    animation-timeline: scroll(root);
    animation-range: 0 300px;
  }
  @keyframes scroll-cue-fade {
    to { opacity: 0; visibility: hidden; }
  }
}

/* Mobiel: was eerder verborgen, nu ook zichtbaar (zonder tekst, iets kleiner) */
@media (max-width: 700px) {
  .hero-note.scroll-cue {
    display: flex;
    bottom: 20px;
    gap: 8px;
  }
  .hero { padding-bottom: 116px; } /* ruimte zodat de knoppen de grotere indicator niet raken */
  .hero-note.scroll-cue .scroll-cue-label { display: none; }
  .hero-note.scroll-cue .scroll-cue-mouse { width: 28px; height: 46px; }
}

/* Respecteer "minder beweging" in de systeeminstellingen */
@media (prefers-reduced-motion: reduce) {
  .hero-note.scroll-cue .scroll-cue-wheel,
  .hero-note.scroll-cue .scroll-cue-arrow { animation: none; }
  .hero-note.scroll-cue .scroll-cue-wheel { opacity: 1; }
}
