.igus-newsticker-wrapper {
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.igus-newsticker {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  animation: tickerScroll 60s linear infinite;
}

.igus-newsticker .ticker-item {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  background-color: #F8F9FA;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  font-family: sans-serif;
  transition: transform 0.3s;
}

.igus-newsticker .ticker-item:hover {
  transform: translateY(-3px);
}


/* Inhalt unter der Welle */
.igus-newsticker .ticker-item-content {
  padding: 1.5rem 1rem 1rem;
}

.igus-newsticker .ticker-item-content strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}

.igus-newsticker .ticker-item-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #555;
}

.igus-newsticker .ticker-item-content a {
  display: inline-block;
  margin-top: 0.75rem;
  color: #F07D00;
  font-weight: 600;
  text-decoration: none;
}

.igus-newsticker .ticker-item-content a:hover {
  text-decoration: underline;
}

.ticker-wave {
  width: 100%;
  height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 150' preserveAspectRatio='none'%3E%3Cpath d='M0.00,100 C150,200 350,0 500,100 L500,00 L0,0 Z' fill='%23F07D00'/%3E%3C/svg%3E") no-repeat top center;
  background-size: cover;
}

.ticker-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.ticker-link:hover {
  text-decoration: none;
}

.link-icon {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.2rem;
  color: #F07D00;
  opacity: 0.8;
  pointer-events: none;
}



/* Animation */
@keyframes tickerScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Responsive */
@media (max-width: 768px) {
  .igus-newsticker {
    flex-direction: column;
    animation: none !important; /* horizontale Animation deaktivieren */
    gap: 1.5rem;
  }

  .ticker-item {
    width: 100%;
    display: none; /* initial per JS sichtbar machen */
  }
}

/* Fortschrittsbalken – mobil sichtbar */
.ticker-progress-bar {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #eaeaea;
  z-index: 9999;
  display: none;
}

.ticker-progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: #F07D00;
  animation: tickerProgress 15s linear infinite;
}

@keyframes tickerProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

@media (max-width: 768px) {
  .ticker-progress-bar {
    display: block;
  }
}