/*
  MEDLEARNING – CSS-NAVIGATION: aktuelle-cme.css

  ac01 – Seitenaufbau und Überschrift
  ac02 – CME-Filter und Merkliste
  ac03 – Kursraster, Kurskarte und Kennzahlen
  ac04 – Karteninterne Detailansicht und Kursleitung
  ac05 – Seitennavigation
  ac06 – Meldungen, mobile Anpassungen und Bewegung
  ac07 – Sitzungsabhängiger Abschlussbanner

  Die gemeinsamen Bausteine stehen ausschließlich in basis.css,
  kopfbereich.css und fussbereich.css der Startseite.
*/

/* ============================================================
   ac01 – Seitenaufbau und Überschrift
   ============================================================ */
.ac01-katalog {
  padding: 31px 0 40px;
  background: #f6f8fc;
}
.ac01-katalog-innen {
  max-width: 1390px;
}
.ac01-titel {
  margin: 0 0 22px;
  color: var(--bs01-dunkelblau);
  font-size: clamp(23px, 2.1vw, 29px);
  font-weight: 790;
  line-height: 1.25;
  letter-spacing: -.028em;
  text-align: center;
}

/* Die Sichtbarkeit der Hauptaktion steuert der Server im gemeinsamen Header. */
.ac00-katalogseite .kb01-schnellzugriff { grid-column: 3; }

/* ============================================================
   ac02 – CME-Filter und Merkliste
   ============================================================ */
.ac02-filterbereich {
  padding: 17px 21px 19px;
  border: 1px solid #e4eaf3;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 26px rgba(21, 44, 86, .035);
}
/* Das Fachgebiet erhält den größten Anteil; die übrigen Listen bleiben kompakt. */
.ac02-filterraster {
  display: grid;
  grid-template-columns: minmax(145px, .75fr) minmax(300px, 1.85fr) minmax(145px, .75fr);
  column-gap: clamp(12px, 1.6vw, 24px);
  row-gap: 12px;
  margin: 0;
}
.ac02-filterraster--zweispaltig {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}
.ac02-filterfeld {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  color: var(--bs01-blau);
  font-size: 12px;
  font-weight: 690;
  line-height: 1.25;
}
.ac02-filterfeld select {
  width: 100%;
  height: 43px;
  min-width: 0;
  padding: 0 39px 0 14px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  outline-offset: 3px;
  background: #f6f8fb url("../bilder/symbole/auswahl-pfeil.svg") no-repeat right 13px center;
  color: var(--bs01-dunkelblau);
  font: inherit;
  font-size: 13px;
  font-weight: 560;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
/* Die historische ID-Regel aus style.css darf den Fachgebietsfilter nicht rot färben. */
/* Geöffnete Optionen behalten die native Hover-/Auswahl-Kontrastfarbe.
   Eine feste option-Farbe würde auch den System-Highlighttext überschreiben. */
.ac00-katalogseite #fachgebiete,
.ac00-katalogseite #seo-fachgebiet-navigation {
  color: var(--bs01-dunkelblau);
}
/* Wie die bewährte Optionsklasse: Farbe direkt statt nur am select setzen. */
option.ac02-filteroption {
  color: #08265c;
}
/* Native Hervorhebung nicht mit einer festen Schrift-/Hintergrundfarbe übermalen. */
option.ac02-filteroption:checked,
option.ac02-filteroption:hover {
  color: revert;
}
.ac02-filterfeld select:hover {
  border-color: #bdcde0;
  background-color: #eef3f9;
}
.ac02-filterfeld select:focus-visible {
  border-color: #6096b8;
  outline: 3px solid #9cd1e5;
}

/* Der serverseitige Merklistenfilter wird nur bei gültiger Anmeldung ausgegeben. */
.ac02-filterraster--mit-merkliste {
  grid-template-columns: minmax(135px, .8fr) minmax(310px, 2.25fr) minmax(135px, .8fr) max-content;
}
.ac02-merkliste-zeile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ac02-merkliste-beschriftung {
  color: var(--bs01-blau);
  font-size: 12px;
  font-weight: 690;
  line-height: 1.25;
}
.ac02-merkliste-schalter {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  gap: 9px;
  width: max-content;
  min-height: 43px;
  padding: 0 13px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #f6f8fb;
  color: #17274d;
  font: inherit;
  font-size: 13px;
  font-weight: 560;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ac02-merkliste-schalter:hover {
  border-color: #bdcde0;
  background: #eef3f9;
}
.ac02-merkliste-schalter:focus-visible {
  outline: 3px solid #9cd1e5;
  outline-offset: 2px;
}
.ac02-merkliste-schalter[aria-pressed="true"] {
  border-color: #9fb1ce;
  background: #e7eef9;
  color: #24305e;
  font-weight: 670;
}
.ac02-merkliste-schalter[aria-pressed="true"]:hover {
  border-color: #718db5;
  background: #dce8f7;
}
.ac02-merkliste-symbol {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
  stroke: var(--bs01-rot);
}
.ac02-merkliste-schalter[aria-pressed="true"] .ac02-merkliste-symbol {
  fill: var(--bs01-rot);
  stroke: var(--bs01-rot);
}
/* Bei begrenzter Breite stehen die kurzen Filter oben.
   Fachgebiet erhält unabhängig vom Anmeldestatus die gesamte zweite Reihe.
   Merkliste bleibt in der oberen Reihe so schmal wie ihr Inhalt. */
@media (max-width: 1150px) {
  .ac02-filterraster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }
  .ac02-filterfeld--sortierung { order: 0; }
  .ac02-filterfeld--erkrankung { order: 1; }
  .ac02-merkliste-zeile { order: 2; }
  .ac02-filterfeld--fachgebiet {
    order: 3;
    grid-column: 1 / -1;
  }
  .ac02-filterraster--mit-merkliste {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content;
  }
}
@media (max-width: 900px) {
  .ac02-filterbereich { padding: 14px; }
}
@media (max-width: 700px) {
  .ac02-filterbereich { padding: 15px 17px; }
  .ac02-filterfeld select { height: 42px; }
  .ac02-merkliste-schalter { min-height: 42px; }
  .ac02-filterraster--zweispaltig { grid-template-columns: minmax(0, 1fr); }
}
/* Auf schmalen Mobilgeräten benötigen die nativen Auswahllisten etwas
   weniger Innenabstand, damit drei kurze Filter oben nebeneinander passen. */
@media (max-width: 480px) {
  .ac02-filterraster { column-gap: 8px; }
  .ac02-filterfeld select {
    padding-right: 27px;
    padding-left: 10px;
    background-position: right 8px center;
  }
  .ac02-merkliste-schalter {
    gap: 6px;
    padding-inline: 9px;
  }
}
/* Erst wenn die drei oberen Bedienelemente selbst mit kompakten Abständen
   nicht bedienbar wären, werden sie einzeln untereinander angezeigt. */
@media (max-width: 365px) {
  .ac02-filterraster--mit-merkliste {
    grid-template-columns: minmax(0, 1fr);
  }
  .ac02-filterraster--mit-merkliste .ac02-filterfeld--fachgebiet {
    grid-column: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ac02-merkliste-schalter { transition: none; }
}
/* ============================================================
   ac03 – Kursraster, Kurskarte und Kennzahlen
   ============================================================ */
.ac03-ergebnisse {
  margin-top: 17px;
  scroll-margin-top: 120px;
}
/* Flexbox zentriert auch unvollständige Reihen, ohne die Karten zu strecken. */
.ac03-raster {
  --ac03-kartenabstand: 47px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--ac03-kartenabstand);
}
/* Kurskarten: Gestaltung und Informationshierarchie der Kurskarten. */
.ac03-karte {
  flex: 0 1 calc((100% - var(--ac03-kartenabstand) - var(--ac03-kartenabstand)) / 3);
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  isolation:isolate;
  overflow:visible;
  cursor:pointer;
  border:1px solid #dce5f2;
  border-radius:14px;
  background:#fff;
  box-shadow:0 7px 25px rgba(23,45,84,.07);
  transition:box-shadow .22s,border-color .22s
}
.ac03-karte:hover,.ac03-karte:focus-within {
  border-color:#bed0e5;
  box-shadow:0 13px 31px rgba(23,45,84,.12)
}
/* Bei geöffneter Detailansicht bleibt die Kartenkante unauffällig. */
.ac03-karte.ist-detail-offen:is(:hover,:focus-within) {
  border-color:#dce5f2;
}
.ac03-kurslink {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}
.ac03-kurslink:focus-visible { outline: 3px solid #65b1d1; outline-offset: -4px; }
.ac03-karte.ist-detail-offen .ac03-kurslink { pointer-events: none; }
.ac03-merken, .ac03-detailsknopf { position: relative; z-index: 5; }
.ac03-merken-formular {
  position: relative;
  z-index: 5;
  flex: none;
  margin: 0;
}
.ac03-vorderseite {
  display:flex;
  flex:1;
  flex-direction:column;
  min-width:0;
  position:relative;
  z-index:0
}
.ac03-bildbereich {
  position:relative;
  aspect-ratio:1.86;
  flex:none;
  overflow:hidden;
  background:#dce8f3
}
/* Nur das Foto wird beschnitten. Das Statusband liegt außerhalb dieses Rahmens. */
.ac03-bildbereich { border-radius:13px 13px 0 0; }

.ac03-bildbereich>img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover
}
.ac03-teaserbild {
  position:relative;
  z-index:1;
  visibility:hidden
}
.ac03-teaserbild.ist-geladen { visibility:visible }
.ac03-teaserbild[hidden],.ac03-bildplatzhalter[hidden] {
  display:none
}
.ac03-bildplatzhalter {
  position:absolute;
  inset:0;
  z-index:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:9px;
  padding:18px;
  background:#dce8f3;
  color:#536d96;
  font-size:12px;
  font-weight:570;
  line-height:1.45;
  text-align:center
}
.ac03-bildplatzhalter-symbol {
  width:42px;
  height:42px;
  fill:none;
  stroke:#7f93b1;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round
}
.ac03-punkte {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:center;
  flex:none;
  min-height:30px;
  padding:var(--ml-punkte-abstand);
  border:var(--ml-punkte-rand);
  border-radius:var(--ml-punkte-radius);
  background:var(--ml-punkte-hintergrund);
  color:var(--ml-punkte-farbe);
  font-size:var(--ml-punkte-schriftgroesse);
  font-weight:800;
  line-height:1.1;
  white-space:nowrap;
  pointer-events:none
}
/* Die eigenständige SVG-Banderole umschließt die Kartenecke von außen. */
.ac03-statusband {
  position:absolute;
  z-index:3;
  top:-9px;
  right:-9px;
  display:block;
  width:130px;
  height:130px;
  max-width:none;
  pointer-events:none;
}
/* Das Statusband bleibt auch über der Kursleitung sichtbar.
   Nur die kartenfüllende Detailansicht verdeckt es. */
.ac03-karte.ist-detail-offen > .ac03-statusband {
  visibility:hidden;
}
.ac03-leitungsknopf {
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:5;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:34px;
  max-width:calc(100% - 20px);
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(16,35,70,.88);
  color:#fff;
  box-shadow:0 4px 14px rgba(7,20,47,.2);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  font-size:11px;
  font-weight:730;
  white-space:nowrap;
  text-shadow:0 1px 2px rgba(0,0,0,.25);
  cursor:default;
  transition:background-color .18s,box-shadow .18s
}
.ac03-leitungsknopf .ml-symbol {
  width:15px;
  height:15px;
  flex:none
}
.ac03-leitungsknopf:hover,.ac03-leitungsknopf:focus-visible {
  background:rgba(16,35,70,.97);
  box-shadow:0 5px 15px rgba(7,20,47,.28)
}
.ac03-leitungsknopf:focus-visible {
  outline:2px solid #fff;
  outline-offset:3px
}
.ac03-text {
  display:flex;
  flex:1;
  flex-direction:column;
  min-width:0;
  padding:18px 16px 14px
}
.ac03-kopfzeile {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  min-height:32px
}
.ac03-fachgebiete {
  padding-top:4px;
  color:#607392;
  font-size:10px;
  font-weight:760;
  line-height:1.4;
  text-transform:uppercase;
  overflow-wrap:anywhere
}
/* Merkknopf: Hintergrund, Fokus und kurze Bestätigungsanimation.
   Die Größe der Kartenkopfzeile bleibt unverändert. */
.ac03-merken {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:28px;
  height:29px;
  padding:4px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--bs01-blau);
  cursor:pointer;
  transition:background-color .2s ease,color .2s ease;
}
.ac03-merken:hover { background:#edf2fa; }
.ac03-merken:focus-visible { outline:2px solid var(--bs01-rot); outline-offset:2px; }
.ac03-merken[aria-pressed="true"] { color:var(--bs01-rot); }
.ac03-merken .ml-symbol { width:21px; height:21px; }
.ac03-merken[aria-pressed="true"] .ml-symbol { filter:none; }
.ac03-merken.ist-animiert { animation:ac03-merkliste-bestaetigen .22s ease-out; }
@keyframes ac03-merkliste-bestaetigen {
  0%,100% { transform:scale(1); }
  50% { transform:scale(1.08); }
}
/* Die untere Kartenhälfte übernimmt die Informationsstruktur des Live-Katalogs. */
.ac03-kurstitel {
  margin: 9px 0 12px;
  color: var(--bs01-dunkelblau);
  font-size: 16px;
  font-weight: 775;
  line-height: 1.4;
  /* Wörter nach Möglichkeit vollständig in die nächste Zeile übernehmen. */
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: none;
  hyphens: none;
}
.ac03-statushinweis {
  display: inline;
  margin-left: 5px;
  color: var(--bs01-rot);
  font-size: .86em;
}
.ac03-aktionszeile {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:0;
  margin:auto 0 8px;
}
.ac03-detailsknopf {
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex:none;
  min-height: 30px;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bs01-dunkelblau);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.5;
  cursor: pointer;
}
/* Die transparente Trefferfläche vergrößert den Klickbereich, nicht den sichtbaren Knopf. */
.ac03-detailsknopf::before {
  content: '';
  position: absolute;
  inset: -12px -16px;
  border-radius: 8px;
}
.ac03-detailsknopf:hover { color: var(--bs01-rot); }
/* Der Pfeilschaft verlängert sich, ohne den Text zu verschieben. */
.ac03-detailpfeil {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 16px;
  flex: none;
  color: #8298bb;
}
.ac03-detailpfeil::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 15px;
  border-top: 1.5px solid currentColor;
  transition: width .22s ease;
}
.ac03-detailpfeil::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 10px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: left .22s ease;
}
.ac03-detailsknopf:is(:hover,:focus-visible) .ac03-detailpfeil::before { width: 26px; }
.ac03-detailsknopf:is(:hover,:focus-visible) .ac03-detailpfeil::after { left: 21px; }
.ac03-detailsplatzhalter { min-height: 30px; }
.ac03-kennzahlen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid #e8edf5;
}
.ac03-kennzahl {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 4px;
  padding: 0 5px;
  color: #536d96;
  text-align: center;
}
.ac03-kennzahl + .ac03-kennzahl { border-left: 1px solid #dce5f2; }
.ac03-kennzahl strong {
  color: var(--bs01-dunkelblau);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.ac03-kennzahl span { font-size: 10.5px; line-height: 1.3; }
.ac03-kennzahl-bewertung strong { color: #d90020; }
.ac03-kennzahl .ac03-bewertungsstern { margin-left: 2px; color: #d90020; font-size: 14px; }
.ac03-kennzahl small { margin-left: 3px; font-size: 10px; font-weight: 500; }
.ac03-leerstand {
  padding: 35px 20px;
  border: 1px solid #dfe7f1;
  border-radius: 12px;
  background: #fff;
  color: #526785;
  text-align: center;
}

/* ============================================================
   ac04 – Karteninterne Detailansicht und Kursleitung
   ============================================================ */
/* Nur die bewegliche Detailseite wird am Kartenrand abgeschnitten. */
.ac04-detailrahmen {
  position:absolute;
  z-index:10;
  inset:-1px;
  overflow:hidden;
  border-radius:14px;
  pointer-events:none;
}
.ac04-detailseite {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 20px 20px 17px;
  border: 1px solid #dce5f2;
  border-radius: 14px;
  background: #fff;
  transform: translateX(-102%);
  pointer-events: none;
  visibility: hidden;
  transition: transform .36s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .36s;
}
.ac03-karte.ist-detail-offen .ac04-detailseite {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .36s cubic-bezier(.22, 1, .36, 1), visibility 0s;
}
.ac04-detailkopf {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1f7;
}
.ac04-zurueck, .ac04-teilen {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 4px;
  border: 0;
  border-radius: 8px;
  background: #f4f7fb;
  color: var(--bs01-blau);
  transition: background-color .17s ease;
  text-decoration: none;
}
.ac04-zurueck:hover, .ac04-teilen:hover {
  background: #e7eef8;
}
/* Die Schaltfläche zum Weiterempfehlen erklärt sich bei Maus- und Tastaturbedienung. */
.ac04-teilen {
  position: relative;
  cursor: pointer;
}
.ac04-teilen::after,
.ac03-merken::after {
  content: attr(data-hinweis);
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 12;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--bs01-dunkelblau);
  box-shadow: 0 4px 12px rgba(16, 35, 70, .15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}
.ac04-teilen:is(:hover, :focus-visible)::after,
.ac03-merken:not(.ist-hinweis-pausiert):is(:hover, :focus-visible)::after {
  opacity: 1;
  visibility: visible;
}
.ac04-zurueck .ml-symbol, .ac04-teilen .ml-symbol {
  width: 18px;
  height: 18px;
}
.ac04-bereichstitel {
  flex: 1;
  color: var(--bs01-dunkelblau);
  font-size: 11.5px;
  font-weight: 820;
  letter-spacing: .055em;
  text-align: center;
  white-space: nowrap;
}
.ac04-detailinhalt {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 2px 16px 0;
  scrollbar-color: #c9d5e6 transparent;
  scrollbar-width: thin;
}
.ac04-detailinhalt[data-aktion="kursstart"] {
  cursor: pointer;
  border-radius: 8px;
}
.ac04-detailinhalt[data-aktion="kursstart"]:focus-visible {
  outline: 3px solid #65b1d1;
  outline-offset: -3px;
}
.ac04-detailinhalt[data-aktion="kursstart"]:is(:hover, :focus-visible) .ac04-detailtitel {
  color: var(--bs01-rot);
}
.ac04-detailtitel {
  margin: 0 0 15px;
  color: var(--bs01-dunkelblau);
  font-size: 15px;
  font-weight: 780;
  line-height: 1.43;
  /* Wörter nach Möglichkeit vollständig in die nächste Zeile übernehmen. */
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: none;
  hyphens: none;
  transition: color .18s ease;
}
.ac04-detailbeschreibung {
  margin: 0;
  color: #425371;
  font-size: 13.5px;
  font-weight: 440;
  line-height: 1.72;
  overflow-wrap: anywhere;
}
/* base.css setzt p auf .8em; nur Kurzbeschreibungen erben ihre Kartentypografie. */
.ac04-detailbeschreibung p {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0 0 1em;
}
.ac04-detailbeschreibung > :first-child { margin-top: 0; }
.ac04-detailbeschreibung > :last-child { margin-bottom: 0; }
/* Kursleitung: Einblendung mit dynamischer Anpassung auf allen Geräten. */
.ac04-leitungsinfo {
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:12px 13px 42px;
  background:rgba(24,39,75,.91);
  color:#fff;
  opacity:0;
  visibility:hidden;
  transform:translateY(9px);
  pointer-events:none;
  transition:opacity .24s,transform .24s,visibility .24s;
  container-type:inline-size
}
.ac03-bildbereich.is-teacher-open .ac04-leitungsinfo {
  opacity:1;
  visibility:visible;
  transform:translateY(0)
}
.ac04-autor-innen {
  display:flex;
  align-items:flex-start;
  gap:11px;
  width:100%;
  max-height:100%;
  min-height:0;
  overflow:hidden
}
.ac04-autor-portraet {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 64px;
  width:64px;
  height:64px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.7);
  border-radius:50%;
  background:rgba(255,255,255,.14)
}
.ac04-autor-portraet img {
  display:none;
  width:100%;
  height:100%;
  object-fit:cover
}
.ac04-autor-portraet img.ist-geladen:not([hidden]) { display:block }
.ac04-portrait-platzhalter {
  display:block;
  width:55%;
  height:55%;
  fill:rgba(255,255,255,.72)
}
.ac04-portrait-platzhalter[hidden] { display:none }
.ac04-autor-text {
  display:flex;
  flex:1;
  flex-direction:column;
  min-width:0;
  gap:4px;
  overflow-wrap:anywhere
}
.ac04-autor-name {
  display:block;
  color:#fff;
  font-size:clamp(12px,1vw,15px);
  font-weight:800;
  line-height:1.28
}
.ac04-autor-zusatz {
  display:block;
  color:#eff5ff;
  font-size:12px;
  line-height:1.34
}
.ac04-autor-beschreibung {
  display:-webkit-box;
  overflow:hidden;
  color:#d8e3f3;
  font-size:11px;
  line-height:1.38;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:99
}
.ac04-leitungsinfo.ac04-hide-foto .ac04-autor-portraet {
  display:none
}
@media(max-width:560px) {
  .ac04-leitungsinfo {
    padding:10px 11px 42px
  }
}
@media(hover:none) {
  .ac03-leitungsknopf {
    min-height:40px;
    cursor:pointer
  }
}
/* ============================================================
   ac05 – Seitennavigation
   ============================================================ */
/* Der Pfeil zur Seitenoberkante bleibt auch bei nur einer Seite sichtbar. */
.ac05-abschluss {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 40px;
  margin-top: 34px;
}
.ac05-seitennavigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.ac05-seitennavigation a, .ac05-seitennavigation span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bs01-blau);
  font-size: 21px;
  font-weight: 650;
  line-height: 1;
}
/* Optischer Ausgleich der Zeichenform, ohne die Pfeile zu animieren. */
.ac05-seitennavigation a { transition: background-color .18s ease; }
.ac05-seitennavigation a:hover { background: #e8eef8; }
.ac05-seitennavigation .ac05-deaktiviert { opacity:.35; cursor:default; }
.ac05-seitennavigation span[aria-current="page"] {
  background: var(--bs01-blau);
  color: #fff;
  font-size: 13px;
}
.ac05-nachoben {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--bs01-blau);
  border-radius: 50%;
  background: var(--bs01-blau);
  color: #fff;
  transition: background-color .18s ease, border-color .18s ease;
}
.ac05-nachoben:hover { background: #344777; border-color: #344777; }
.ac05-nachoben:focus-visible { outline: 3px solid #9cd1e5; outline-offset: 3px; }
.ac05-nachoben .ml-symbol { width: 19px; height: 19px; filter: brightness(0) invert(1); }
.ac05-wechsel {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.ac05-wechsel .bs01-knopf { border-color: #cbd7e7; }
/* ============================================================
   ac06 – Meldungen, responsive Anpassungen und Bewegung
   ============================================================ */
.ac06-hinweis {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 16px;
  border-radius: 9px;
  background: var(--bs01-blau);
  box-shadow: 0 12px 30px #152c4e32;
  color: #fff;
  font-size: 13px;
  font-weight: 610;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
}
.ac06-hinweis.ist-sichtbar {
  opacity: 1;
  transform: translateY(0);
}

@media(min-width:1450px) {
  .ac03-raster {
    --ac03-kartenabstand:52px
  }
}
@media(max-width:1080px) {
  .ac03-raster {
    --ac03-kartenabstand:34px
  }
  .ac03-text {
    padding:15px 13px
  }
  .ac03-kurstitel {
    font-size:14px
  }
}
/* Ab 980 px bleiben drei Karten nebeneinander; darunter höchstens zwei. */
@media(max-width:980px) {
  .ac03-karte {
    flex-basis:min(410px, calc((100% - var(--ac03-kartenabstand)) / 2))
  }
}
@media(max-width:900px) {
  .ac01-katalog {
    padding-top:27px;
    padding-bottom:32px
  }
  .ac03-raster {
    --ac03-kartenabstand:31px
  }
  .ac03-kurstitel {
    font-size:15px
  }
}
/* Einzelkarten nutzen den Platz besser, bleiben aber bei 560 px begrenzt. */
@media(max-width:740px) {
  .ac03-karte {
    flex-basis:min(560px, 100%)
  }
}
@media(max-width:620px) {
  .ac01-katalog {
    padding-top:23px;
    padding-bottom:24px
  }
  .ac01-titel {
    margin-bottom:19px;
    font-size:23px
  }
  .ac03-ergebnisse {
    margin-top:16px
  }
  .ac03-raster {
    --ac03-kartenabstand:25px
  }
  .ac03-aktionszeile {
    gap:12px
  }
  .ac03-kurstitel {
    font-size:16px
  }
  .ac04-detailseite {
    padding:18px 20px 17px
  }
}
@media(max-width:365px) {
  .ac03-aktionszeile {
    flex-wrap:wrap;
    align-items:flex-start
  }
  .ac03-punkte {
    min-height:28px
  }
  .ac04-detailseite {
    padding:15px 14px
  }
  .ac04-bereichstitel {
    font-size:10.5px
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ac04-detailseite,.ac04-leitungsinfo,.ac04-detailtitel,.ac03-leitungsknopf,.ac03-detailpfeil::before,.ac03-detailpfeil::after,.ac05-seitennavigation a,.ac05-nachoben,.ac03-merken,.ac03-merken::after,.ac06-hinweis { transition: none; }
  .ac03-merken.ist-animiert { animation: none; }
}


/* ============================================================
   ac07 – Sitzungsabhängiger Abschlussbanner unter dem Katalog
   ============================================================ */
.ac07-abschluss-rahmen {
  margin-top:28px;
  margin-bottom:0;
}
@media (max-width: 620px) {
  .ac07-abschluss-rahmen { margin-top:24px; margin-bottom:0; }
}
