/* Prana Veda · the glass jump bar (rooms page, Wissenswertes, the questions on the homepage and About us): imported by
   pages.css, loaded on its own where pages.css isn't (the homepage). */
/* the jump bar (data-jumpbar, /jumpbar.js): the page's places as a glass segmented bar that stays under the header,
   each with its icon; a thumb slides to the one you're in. It takes no room of its own: it sits on the seam between the
   opening and the first section, then holds just under the header. */
.jumpbar { --bar: 48px; position: sticky; top: calc(var(--nav-h) + 10px + var(--bar) / 2); z-index: 40; display: flex; justify-content: center; height: 0; padding-inline: var(--gutter); }
.jumpbar__in { position: relative; display: flex; gap: 2px; height: var(--bar); padding: 4px; translate: 0 -50%; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), var(--glass-lift); }
.jumpbar__in a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 999px; color: var(--ink); font-size: 0.92rem; font-weight: 500; white-space: nowrap; text-decoration: none; transition: color var(--t-quick) var(--ease); }
.jumpbar__in a:hover { color: var(--accent-ink); }
.jumpbar__in a[aria-current="true"] { color: var(--accent-ink); }
.jumpbar__in .mark { width: 17px; height: 17px; color: var(--accent-ink); }
.jumpbar__thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0px); translate: var(--x, 0px) 0; border-radius: 999px; background: linear-gradient(180deg, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.6)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.9), 0 1px 2px rgb(60 50 20 / 0.12), 0 4px 12px -4px rgb(60 50 20 / 0.25); opacity: 0; transition: translate var(--t-move) var(--ease), width var(--t-move) var(--ease), opacity var(--t-quick) var(--ease); }
.jumpbar.is-on .jumpbar__thumb { opacity: 1; }
.jumpbar.is-still .jumpbar__thumb { transition: none; }
html:has(.jumpbar) { scroll-padding-top: calc(var(--nav-h) + 72px); } /* anchors land below the bar */


@media (max-width: 520px) {
  .jumpbar { --bar: 44px; padding-inline: 10px; }
  .jumpbar__in a { gap: 6px; padding: 0 11px; font-size: 0.86rem; }
  .jumpbar__in .mark { width: 15px; height: 15px; }
}
@media (prefers-color-scheme: dark) {
  .jumpbar__thumb { background: linear-gradient(180deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.07)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 4px 12px -4px rgb(0 0 0 / 0.6); }
}
@media (prefers-reduced-motion: reduce) {
  .jumpbar__thumb { transition: opacity var(--t-quick) var(--ease); } /* it moves at once; only the fade stays */
}
