/* Hero Corner Ribbon */
.hero-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-ribbon {
  position: absolute;
  top: 50px;
  right: -80px;
  width: 340px;
  padding: 12px 0;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transform: rotate(45deg);
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-ribbon::before,
.hero-ribbon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 4px,
    rgba(255,255,255,0.3) 4px,
    rgba(255,255,255,0.3) 8px
  );
}

.hero-ribbon::before { top: 0; }
.hero-ribbon::after { bottom: 0; }

.hero-ribbon:hover {
  color: #fff;
  text-decoration: none;
  transform: rotate(45deg) scale(1.05);
}

.hero-ribbon strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-ribbon small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  opacity: 0.9;
  margin-top: 2px;
}

/* Farben */
.hero-ribbon--blue {
  background: linear-gradient(135deg, #003366, #004a99);
  box-shadow: 0 3px 12px rgba(0,51,102,0.4);
}
.hero-ribbon--red {
  background: linear-gradient(135deg, #a0231a, #d63031);
  box-shadow: 0 3px 12px rgba(192,57,43,0.4);
}
.hero-ribbon--green {
  background: linear-gradient(135deg, #137547, #1db954);
  box-shadow: 0 3px 12px rgba(25,135,84,0.4);
}
.hero-ribbon--orange {
  background: linear-gradient(135deg, #c0611f, #f39c12);
  box-shadow: 0 3px 12px rgba(230,126,34,0.4);
}
.hero-ribbon--gold {
  background: linear-gradient(135deg, #b8860b, #daa520);
  color: #1a1a1a;
  box-shadow: 0 3px 12px rgba(218,165,32,0.5);
}
.hero-ribbon--gold strong,
.hero-ribbon--gold small {
  text-shadow: none;
}
.hero-ribbon--dark {
  background: linear-gradient(135deg, #1a1a1a, #343a40);
  box-shadow: 0 3px 12px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .hero-ribbon {
    top: 30px;
    right: -85px;
    width: 300px;
    padding: 10px 0;
  }
  .hero-ribbon strong { font-size: 0.85rem; }
  .hero-ribbon small { font-size: 0.6rem; }
}
