/* Freigegebener Präsentationszugang, nur im ersten Startseitenabschnitt. */
.hero-copy > .actions {
  position: relative;
}

.hero-copy .presentation-heartbeat {
  position: absolute;
  right: -52px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 180px;
  height: 180px;
  padding: 20px 12px;
  border: 0;
  border-radius: 50%;
  background: #b72f36;
  color: #fff;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transform-origin: center bottom;
  animation: amyg-presentation-heartbeat 3.2s ease-in-out infinite;
}

.presentation-heartbeat > span {
  display: block;
  white-space: nowrap;
}

.hero-copy:lang(en) .presentation-heartbeat,
.hero-copy:lang(sl) .presentation-heartbeat {
  font-size: 20px;
}

.hero-copy .presentation-heartbeat:hover,
.hero-copy .presentation-heartbeat:focus-visible {
  animation-play-state: paused;
}

.hero-copy .presentation-heartbeat:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 6px;
}

/* Langsames, gleichmäßiges Pulsieren ohne Doppelschlag oder Farbwechsel. */
@keyframes amyg-presentation-heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@media (max-width: 1260px) {
  .hero-copy > .actions,
  .hero-copy:lang(en) > .actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
  }

  .hero-copy .presentation-heartbeat {
    position: relative;
    right: auto;
    bottom: auto;
    flex: 0 0 160px;
    width: 160px;
    height: 160px;
    font-size: 20px;
    margin-left: auto;
  }

  .hero-copy:lang(en) .presentation-heartbeat,
  .hero-copy:lang(sl) .presentation-heartbeat {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .hero-copy > .actions,
  .hero-copy:lang(en) > .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-copy .presentation-heartbeat {
    justify-self: center;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .presentation-heartbeat {
    animation: none;
  }
}
