/*
 * Akzente fuer liebert-it.de
 *
 * .akzent-linie: duenne Linie mit Farbverlauf, links Hellblau, rechts
 * Dunkelblau (Seitenfarbe #1138b2). Sie wird langsam von links nach rechts
 * aufgedeckt, bleibt kurz stehen, blendet aus und beginnt von vorn.
 */

.akzent-linie {
    height: 3px;               /* Dicke der Linie */
    width: 100%;
    margin-top: 12px;
    background: linear-gradient(to right, #8fd0ff, #1138b2);
    clip-path: inset(0 100% 0 0);
    animation: akzent-linie-lauf 10s ease-in-out infinite;
}

@keyframes akzent-linie-lauf {
    0%   { clip-path: inset(0 100% 0 0); opacity: 1; } /* Linie startet links */
    55%  { clip-path: inset(0 0 0 0);    opacity: 1; } /* rechts angekommen, dunkelblau */
    85%  { clip-path: inset(0 0 0 0);    opacity: 1; } /* kurz stehen bleiben */
    100% { clip-path: inset(0 0 0 0);    opacity: 0; } /* ausblenden, dann von vorn */
}

/* Bei "Bewegung reduzieren" steht die Linie still mit vollem Verlauf. */
@media (prefers-reduced-motion: reduce) {
    .akzent-linie {
        animation: none;
        clip-path: none;
    }
}
