/* Block Karussell des Kerns: Karte mit Bild, Titel und Kurztext, darunter Punkte, Vor/Zurück und Anhalten. Ein Theme kann
   alles überschreiben (Klassen karussell-*). */
.karussell { position: relative; background: #ffffff; color: #1f2937; border-radius: var(--radius, 12px); padding: 20px 22px 16px;
    box-shadow: 0 12px 32px rgba(0, 20, 60, 0.18); }
.karussell-folie[hidden] { display: none; }
.karussell-mit-js .karussell-folie { animation: karussell-einblenden 0.35s ease-out; }
@keyframes karussell-einblenden { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.karussell-klickbar { cursor: pointer; }
.karussell-bild { margin: 0 0 14px; }
.karussell-bild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--radius, 12px) * 0.7); }
.karussell-titel { font-size: 1.25em; font-weight: 700; margin: 0 0 6px; }
.karussell-titel a { color: var(--akzent, #0055aa); text-decoration: none; }
.karussell-titel a:hover { text-decoration: underline; }
.karussell-text { margin: 0; min-height: 3em; }
.karussell-steuerung { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.karussell-steuerung[hidden] { display: none; }
.karussell-steuerung button { font: inherit; cursor: pointer; border: 0; }
.karussell-pfeil { width: 32px; height: 32px; border-radius: 50%; background: #eef2f8; color: var(--akzent, #0055aa); font-size: 20px; line-height: 1; }
.karussell-pfeil:hover { background: #dde5f1; }
/* Punkte: sichtbar 12 px, Trefferfläche 24 px (WCAG 2.5.8) */
.karussell-punkt { width: 24px; height: 24px; padding: 0; background: transparent; position: relative; }
.karussell-punkt::before { content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #c7d2e3; }
.karussell-punkt[aria-current="true"] { width: 38px; }
.karussell-punkt[aria-current="true"]::before { width: 26px; border-radius: 6px; background: var(--akzent, #0055aa); }
.karussell-pause { margin-left: auto; background: transparent; color: #4b5563; font-size: 0.85em; padding: 4px 8px; border-radius: 6px; }
.karussell-pause:hover { background: #f1f4f9; }
.karussell a:focus-visible, .karussell-steuerung button:focus-visible { outline: 3px solid var(--akzent, #0055aa); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .karussell-mit-js .karussell-folie { animation: none; } }
