.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  min-height: 46px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 750;
  border: 0;
  border-radius: 999px;
  background: #188b9f;
  color: #fff;
  box-shadow: 0 10px 28px rgba(9, 48, 53, .28);
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top:hover {
  background: #126f80;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(9, 48, 53, .32);
}

.back-to-top:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #10242a;
}

.back-to-top-santa {
  font-size: 1.45rem;
  line-height: 1;
}

.direction-tree {
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  flex: 0 0 1.4em;
  vertical-align: -.3em;
  background-color: currentColor;
  forced-color-adjust: preserve-parent-color;
  -webkit-mask: url("/weihnachtsbaum-pfeil.png") center / contain no-repeat;
  mask: url("/weihnachtsbaum-pfeil.png") center / contain no-repeat;
}

.direction-tree--right { transform: rotate(90deg); }
.direction-tree--down { transform: rotate(180deg); }
.direction-tree--left { transform: rotate(-90deg); }
.direction-tree--diagonal { transform: rotate(45deg); }

@media (max-width: 640px) {
  .back-to-top {
    right: 16px;
    bottom: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}
