/* ===================================================================
   AERONA SPACE – NEU IN AERONA
   Produktübergreifender Zeitstrahl. Wird direkt in whats-new.html
   eingebunden. Sortierung, Datum und NEU-Abzeichen macht
   js/aerona_neu.js – hier steht nur das Aussehen.
   =================================================================== */

.wn-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 7rem 1.5rem 6rem;
}

/* ---------- Kopfbereich ---------- */

.wn-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.wn-hero h1 {
    font-size: clamp(2.6rem, 7vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.2rem;
}

.wn-hero h1 .wn-accent {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wn-hero p {
    max-width: 580px;
    margin: 0 auto 1.8rem;
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Pille "Zuletzt aktualisiert" – Text setzt das Skript */
.wn-stamp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 0.45rem 1rem;
    border-radius: 999px;
}

.wn-stamp .wn-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: wnPulse 2.4s ease-out infinite;
}

@keyframes wnPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Filterleiste ---------- */

.wn-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3.5rem;
}

.wn-chip {
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.07);
    border: 1px solid rgba(148, 163, 184, 0.16);
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.wn-chip:hover {
    color: white;
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.3);
}

.wn-chip.is-active {
    color: white;
    background: rgba(59, 130, 246, 0.22);
    border-color: rgba(59, 130, 246, 0.5);
}

/* ---------- Zeitstrahl ---------- */

.wn-feed {
    position: relative;
    padding-left: 2.2rem;
}

/* Durchgehende Linie links */
.wn-feed::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg,
            rgba(59, 130, 246, 0.5) 0%,
            rgba(148, 163, 184, 0.18) 55%,
            transparent 100%);
}

.wn-item {
    position: relative;
    padding: 0 0 2.6rem;
}

.wn-item:last-child {
    padding-bottom: 0;
}

/* Punkt auf der Linie */
.wn-item::before {
    content: "";
    position: absolute;
    left: -2.2rem;
    top: 0.45rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0f172a;
    border: 2px solid rgba(148, 163, 184, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wn-item.is-fresh::before {
    border-color: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.wn-item__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.6rem;
}

.wn-date {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
}

.wn-ago {
    color: #475569;
    font-size: 0.8rem;
}

/* Bereichs-Etikett (Webseite, App, AetherOS …) */
.wn-area {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 5px;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.13);
    border: 1px solid rgba(59, 130, 246, 0.28);
}

/* Automatisches NEU – setzt das Skript */
.wn-new {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 5px;
    color: white;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.45);
}

.wn-item__title {
    color: white;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.55rem;
}

.wn-item__desc {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.wn-item__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #60a5fa;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.wn-item__link:hover {
    color: #93c5fd;
    gap: 0.75rem;
}

/* ---------- Leerzustand (wenn ein Filter nichts trifft) ---------- */

.wn-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #475569;
    font-size: 0.98rem;
}

/* ---------- Abschluss ---------- */

.wn-outro {
    margin-top: 4.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    text-align: center;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.8;
}

.wn-outro a {
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
}

.wn-outro a:hover {
    text-decoration: underline;
}

/* ---------- Mobil ---------- */

@media (max-width: 768px) {
    .wn-main {
        padding: 5.5rem 1.1rem 4rem;
    }

    .wn-feed {
        padding-left: 1.7rem;
    }

    .wn-item::before {
        left: -1.7rem;
    }

    .wn-item__title {
        font-size: 1.15rem;
    }
}

/* Bewegungsreduktion respektieren */
@media (prefers-reduced-motion: reduce) {
    .wn-stamp .wn-pulse {
        animation: none;
    }
}
