/* ============================================================
   mod_newsticker – complete stylesheet
   ============================================================ */

/* Volle Bildschirmbreite, bleibt beim Scrollen fixiert */
.mod-newsticker {
    position: fixed;
    top: var(--lic-header-height, 0px);
    left: 50%;
    transform: translateX(-50%);   /* zentriert die max-Breite im Viewport */
    width: 100%;
    max-width: var(--lic-container-width, 1920px);  /* = Breite deines Containers */
    margin: 0;
    padding: 0 15px;               /* gleicht das Bootstrap-Container-Padding aus */
    box-sizing: border-box;

    overflow: hidden;
    z-index: 3;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.mod-newsticker .newsticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.mod-newsticker .newsticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.mod-newsticker .newsticker-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.mod-newsticker .newsticker-content a {
    color: inherit;
    text-decoration: none;
}

.mod-newsticker .newsticker-content a:hover {
    text-decoration: underline;
}

.mod-newsticker .newsticker-gap {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    .mod-newsticker {
        font-size: 14px !important;
        min-height: 36px;
        padding: 6px 0;
    }
}

@media (max-width: 480px) {
    .mod-newsticker {
        font-size: 13px !important;
        min-height: 32px;
    }
}

/* Blink-Effekt */
.mod-newsticker.blinking .newsticker-track {
    animation: newsticker-blink 0.5s ease-in-out;
}

@keyframes newsticker-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.15; }
}