.media-frame {
  position: relative;
  display: inline-block;
}

.media-frame img {
  display: block;
  position: relative;
  z-index: 1;
}
.media-frame--gold::before {
  content: "";
  position: absolute;
  inset: -4px; /* tykkelsen på rammen */

  background: linear-gradient(120deg, #75633d, #e6c87a, #b89b5e);

  background-size: 300% 300%;
  border-radius: 2px;

  z-index: 0;
  animation: goldShift 12s ease-in-out infinite;
}
@keyframes goldShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.reveal-text {
  overflow: hidden; /* vigtigt for slide-in */
}

.reveal-text .line {
  display: block;
}

.highlight-wrap {
  display: inline-block;
  /* plads til max scale */
  padding: 0 0.25em;
}

.highlight-number {
  display: inline-block;
  transform-origin: center;
  will-change: transform;
}

.sticky-float {
  position: fixed;
  bottom: 96px;
  right: 0px;
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
  color: var(--c-black);
  background-color: var(--c-brand);
  font-weight: 400;
  font-size: 1.15rem;
  padding: 1rem;
  padding-left: 1.2rem;
  opacity: 1;
  z-index: 10000;
}

.sticky-float-link {
  text-decoration: none;
}

.sticky-float-link:hover .sticky-float {
  opacity: 0.8;
  transform: scale(1.02);
  transition: all 0.2s ease;
}

@media (max-width: 900px) {
  .sticky-float {
    bottom: 10%;
    font-size: 1.3rem;
    padding: 0.8rem;
    padding-left: 1rem;
  }
}
