/* ============================================================
   Scroll-Buttons: Page Up / Page Down
   Praxis am Hanseplatz
   ============================================================ */

.pah-scroll-buttons {
  position: fixed;
  right: 20px;
  bottom: 50%;
  transform: translateY(50%);
  z-index: 1800;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pah-scroll-btn {
  width: 46px;
  height: 46px;
  background-color: rgba(74, 127, 165, 0.88);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease,
              background-color 0.2s ease, transform 0.15s ease,
              box-shadow 0.2s ease;
  box-shadow: 0 3px 12px rgba(74, 127, 165, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  -webkit-tap-highlight-color: transparent;
}

.pah-scroll-btn:hover {
  background-color: rgba(74, 127, 165, 1);
  transform: scale(1.1);
  box-shadow: 0 5px 18px rgba(74, 127, 165, 0.5);
}

.pah-scroll-btn:active {
  transform: scale(0.93);
}

.pah-scroll-btn.visible {
  opacity: 1;
  visibility: visible;
}

#pah-btn-up::before   { content: '↑'; display: block; }
#pah-btn-down::before { content: '↓'; display: block; }

/* Mobile */
@media screen and (max-width: 768px) {
  .pah-scroll-buttons {
    right: 12px;
    bottom: 50%;
    transform: translateY(50%);
    gap: 8px;
  }

  .pah-scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }
}

@media screen and (max-width: 375px) {
  .pah-scroll-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}
