
/* ==========================================================
   NEUER NEWS-TICKER
   ========================================================== */

/* Platz für den Ticker schaffen */
body.start {
  padding-top: 48px;
}

/* 
@media (max-width: 768px) {
  body.start {
    padding-top: 64px;
  }
}
*/

/* ---------- Ticker-Grundlage ---------- */
.custom-news-ticker {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 1000;
  overflow: hidden;
}

/* Zentrierte Flex-Kapsel */
.custom-news-inner {
  display: flex;
  align-items: center;        /* vertikal */
  justify-content: center;    /* horizontal */
  gap: 10px;
  width: 100%;
  height: 48px;               /* Desktop-Höhe */
  padding: 0 16px;
  box-sizing: border-box;
}

/* NEWS Label */
.custom-news-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  white-space: nowrap;
}

/* Headlines-Container */
.custom-news-headlines {
  position: relative;
  width: 100%;
  max-width: 900px;           /* nutzt Desktop-Breite sinnvoll */
  text-align: center;
}

/* Einzelne Headline */
.custom-news-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;

  font-size: 1rem;
  white-space: nowrap;
}

.custom-news-item.active {
  opacity: 1;
  pointer-events: auto;
}

.custom-news-item a {
  color: #fff;
  text-decoration: none;
}

/* ---------- MOBIL-VERSION ---------- */
@media (max-width: 768px) {
  .custom-news-label {
    font-size: 0.95rem;
    display: none;
  }


  .custom-news-inner {
    flex-direction: column;
    height: 64px;
    gap: 4px;
  }

  .custom-news-item {
    font-size: 0.95rem;
    white-space: normal;
    text-align: center;
	line-height: 1.2;   /* ← Zeilenabstand für Handy */

  }
}
/*# sourceMappingURL=styles.css.map */
