/* =========================================
   TOPBAR – CONTINUOUS SCROLL (MOBILE/TABLET)
   DESKTOP = STATISCH, GEEN DUPLICATIE
========================================= */

.topbar {
    background: var(--dark-blue);
    color: var(--light-green);
    font-size: 0.8rem;
    width: 100%;
    overflow: hidden;
}

/* Outer container */
.topbar-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 40px;
    overflow: hidden;
}

/* Track die beweegt */
.topbar-track {
    display: flex;
    width: max-content;
}

/* Eén content-set */
.topbar-content {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
    white-space: nowrap;
}

/* ===============================
   USP LINKS
================================ */

.topbar-left {
    display: inline-flex;
    align-items: center;
    gap: 24px;
}

.topbar-left span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-left span::before {
    content: none !important;
}

.topbar-left span i {
    font-size: 0.8rem;
    color: var(--orange);
}

/* ===============================
   WHATSAPP RECHTS
================================ */

.topbar-right a {
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.topbar-right a i {
    font-size: 1rem;
    color: #25D366;
}

/* =========================================
   DESKTOP – STATISCH (1 SET)
========================================= */

@media (min-width: 1025px) {

    .topbar-track {
        width: 100%;
        justify-content: space-between;
        animation: none;
    }

    .topbar-content {
        flex: 1;
        justify-content: space-between;
    }

    /* 🔑 DUPLICAAT VERBERGEN OP DESKTOP */
    .topbar-content[aria-hidden="true"] {
        display: none;
    }
}

/* =========================================
   TABLET & MOBILE – CONTINU SCROLL
========================================= */

@media (max-width: 1024px) {

    .topbar-inner {
        padding: 8px 16px;
    }

    .topbar-track {
        animation: topbar-marquee 28s linear infinite;
    }

    /* Separator tussen USP’s */
    .topbar-left span::after {
        content: " •";
        margin-left: 6px;
        color: rgba(255,255,255,0.5);
    }
}

/* =========================================
   ANIMATIE – GEEN LEEG MOMENT
   (2 sets → 50% verschuiving)
========================================= */

@keyframes topbar-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
