/* Aktionen (inc/campaigns.php): Abzeichen am Preis und Lauftext im Header. Farbe aus der Aktion (--at-campaign). */
.at-campaign-badge { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 8px; border-radius: 3px; background: var(--at-campaign, #a31c23); color: #fff; font: 700 11px/1.3 Inter, sans-serif; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
/* Lauftext: Zeile randlos in der Aktionsfarbe (Kevin 2026-11-21). Der Header-Container begrenzt sonst auf 1440 px mit
   Seitenrand; mit 100vw ragte der Lauftext rechts ueber und machte die Seite mobil 24 px zu breit. */
.oxy-header-row:has(.at-marquee) .oxy-header-container { max-width: none; padding-inline: 0; }
.oxy-header-row:has(.at-marquee) :is(.oxy-header-center, .top-banner--div) { min-width: 0; }
/* am Kind statt am Elternteil: die Oxygen-Regel .top-banner--div:not(...):not(...) zentriert mit hoeherer Spezifitaet */
.ct-shortcode:has(> .at-marquee) { align-self: stretch; min-width: 0; }
.at-marquee { display: flex; align-items: center; min-height: 50px; overflow: hidden; white-space: nowrap; background: var(--at-campaign, #a31c23); color: #fff; }
/* Dauer setzt inc/campaigns.php je nach Textlaenge (gleiches Tempo), 40 s ist nur der Rueckfall. */
.at-marquee__track { display: inline-flex; flex: none; width: max-content; animation: at-marquee 40s linear infinite; }
.at-marquee:hover .at-marquee__track, .at-marquee:focus-within .at-marquee__track { animation-play-state: paused; }
.at-marquee__group { display: inline-flex; }
.at-marquee__item { padding: 0 22px; font-weight: 600; }
.at-marquee__item::after { content: "\2022"; margin-left: 44px; opacity: .6; }
@keyframes at-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.at-marquee { display: block; white-space: normal; text-align: center; padding: 13px 10px; }
	.at-marquee__track { animation: none; display: block; width: auto; }
	.at-marquee__group[aria-hidden="true"] { display: none; }
	.at-marquee__item { display: inline-block; padding: 2px 10px; }
	.at-marquee__item::after { display: none; }
}
