/* safeXlearning – eigenes Aussehen auf Basis von portal.css, ohne externe Schriften oder Tracker */
:root { --lern: #13447c; --lern-hell: #e8eef6; --lern-mittel: #1d5a9e; --lern-akzent: #e97700; } /* Farben aus dem safeXlearning-Logo */
.lernen .kopfleiste { background: var(--lern); border-bottom: 3px solid var(--lern-akzent); }
.lernen .lern-logo { display: inline-flex; line-height: 0; }
.lernen .lern-logo img { height: 34px; width: auto; max-width: 62vw; }
.lernen .kopfleiste .marke-logo { color: #fff; }
.lernen .knopf { background: var(--lern); }
.lernen .knopf:hover { background: var(--lern-mittel); }
.lernen .knopf.zweit { background: var(--lern-hell); color: var(--lern); }
.lernen .knopf.warn { background: var(--rot-hell); color: var(--rot); }
.lernen .knopf[disabled], .lernen .knopf.aus { background: #e3e7ec; color: #8b95a3; }
.lernen a { color: var(--lern); }
/* Links als Knopf: Schriftfarbe des Knopfs, nicht die Linkfarbe (sonst Blau auf Blau) */
.lernen a.knopf, .lernen a.knopf:hover { color: #fff; text-decoration: none; }
.lernen a.knopf.zweit, .lernen a.knopf.zweit:hover { color: var(--lern); }
.lernen a.knopf.warn, .lernen a.knopf.warn:hover { color: var(--rot); }
.lernen a.knopf.aus { color: #8b95a3; }
.held { background: var(--lern-hell); border-radius: 12px; padding: 28px 22px; margin-bottom: 20px; }
.held h1 { font-size: 28px; margin: 0 0 6px; }
.held p { margin: 0; color: var(--grau); max-width: 680px; }
.kurse { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.kurs-karte { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: 12px; padding: 18px; text-decoration: none; color: inherit; border-top: 5px solid var(--lern); }
.kurs-karte:hover { box-shadow: 0 4px 14px rgba(12, 107, 100, .12); }
.kurs-karte h3 { margin: 6px 0; font-size: 17px; }
.kurs-karte .preis { margin-top: auto; padding-top: 10px; font-weight: 700; }
.reiter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.reiter a { padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--linie); text-decoration: none; color: var(--text); font-size: 14px; }
.reiter a.aktiv { background: var(--lern); border-color: var(--lern); color: #fff; }
.fortschritt { height: 8px; background: var(--linie); border-radius: 99px; overflow: hidden; margin: 8px 0 14px; }
.fortschritt > div { height: 100%; background: var(--lern); }
.lektion-text { font-size: 17px; line-height: 1.65; }
.lektion-text h3 { margin-top: 18px; }
.medien img, .medien video { max-width: 100%; border-radius: 8px; border: 1px solid var(--linie); }
.frage { border-top: 1px solid var(--linie); padding: 14px 0; }
.frage:first-of-type { border-top: 0; }
.frage label.antwort { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; padding: 8px 10px; border: 1px solid var(--linie); border-radius: 8px; cursor: pointer; }
.frage label.antwort input { margin-top: 4px; }
.scorm-rahmen { width: 100%; height: calc(100vh - 180px); min-height: 520px; border: 1px solid var(--linie); border-radius: 10px; background: #fff; }
.matrix { overflow-x: auto; }
.matrix table { min-width: 560px; }
.matrix td.zelle { text-align: center; white-space: nowrap; }
.link-box { word-break: break-all; background: #fff; border: 1px dashed var(--lern); padding: 10px; border-radius: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 14px; }
.echt { border-left: 6px solid var(--gruen); } .unecht { border-left: 6px solid var(--rot); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; }

/* Hinweis nach Bestehen im SCORM-Spieler */
.lernen .sxl-abschluss { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.lernen .sxl-abschluss .knopf { color: #fff; text-decoration: none; }
