:root {
    --bg: #fff;
    --fg: #2b1f24;
    --accent: #fa9196;
    --muted: #8f6f74;
}

/* Haupt-Container für das Animationselement */
.neon-anim.container {
    padding: clamp(3rem, 8vw, 6rem) 1rem;
}

.neon-block {
    background: #ffffff;
    border: 1px solid rgba(250, 145, 150, 0.25);
    border-radius: 28px;
    box-shadow: 0 22px 55px rgba(250, 145, 150, 0.22);
    padding: 20px;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.neon-inner {
    background: #fff7f8;
    border-radius: 22px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
}

/* Vertikale Keyword-Marquee */
.keywords-marquee {
    position: relative;
    height: clamp(220px, 40vh, 420px);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    overflow: hidden;
}

.keywords-marquee .track {
    display: flex;
    flex-direction: column;
    gap: 12px;
    will-change: transform;
    animation: marqueeY 30s linear infinite; /* Dauer wird dynamisch angepasst */
    animation-play-state: paused; /* Startet pausiert */
}

.keywords-marquee .track li {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--muted);
    text-align: center;
    white-space: nowrap;
}
.keywords-marquee .track li:nth-child(even) {
    color: var(--fg);
}


/* Bild-Switcher oben rechts */

/* CTA Button und Reihe */
.cta-row {
    text-align: center;
    margin-top: clamp(1.5rem, 5vw, 2.5rem);
}

.btn-primary {
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    padding: .9rem 1.6rem;
    border: none;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: var(--accent);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, filter .25s;
    box-shadow: 0 18px 32px rgba(250, 145, 150, 0.28);
    filter: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 26px 44px rgba(250, 145, 150, 0.32);
    outline: none;
}

.btn-primary:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
}

/* Keyframes für die Marquee */
@keyframes marqueeY {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

/* Barrierefreiheit: Animationen reduzieren */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 900px) {
    .thumb-switcher {
        width: clamp(140px, 40vw, 200px);
        right: clamp(10px, 4vw, 20px);
    }
}

@media (max-width: 768px) {
    .thumb-switcher {
        display: none;
    }

    .neon-block {
        padding: 12px;
    }

    .neon-inner {
        padding: 1.5rem;
        margin-bottom: clamp(2.4rem, 10vw, 4rem);
    }

    .keywords-marquee {
        height: clamp(200px, 55vh, 320px);
    }

    .keywords-marquee .track li {
        font-size: clamp(1.05rem, 4.5vw, 1.8rem);
    }

    .cta-row,
    .cta-row-reworked {
        text-align: center;
    }
}
