/**
 * SecAnim Schulungsmanager: Front-end-Design (Reporting + Meine Schulungen).
 * Farben entsprechen secanim.de, Systemschrift.
 */

.rfsm-wrap,
.rfsm-self {
	--rf-green: #7da8ce;
	--rf-green-deep: #032b55;
	--rf-forest: #021d3a;
	--rf-ink: #212934;
	--rf-muted: #5c6670;
	--rf-line: #e5e4e3;
	--rf-soft: #f5f7fa;
	--rf-ok: #1a9d54;
	--rf-warn: #c97a00;
	--rf-bad: #c0392b;
	--rf-idle: #8a8f94;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 14px;
	color: var(--rf-ink);
	line-height: 1.55;
}
.rfsm-wrap *,
.rfsm-self * { box-sizing: border-box; }

/* Theme-Seitentitel auf Reporting-/Schulungsseiten ausblenden
   (dieses Stylesheet laedt nur auf Seiten mit unseren Shortcodes). */
.entry-header,
.ast-single-entry-banner,
.page .entry-title {
	display: none !important;
}

/* Kopfzeile */
.rfsm-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px 14px;
	padding: 0 0 14px;
	border-bottom: 2px solid var(--rf-line);
	margin-bottom: 18px;
}
.rfsm-head h2 {
	font-family: inherit;
	font-size: 21px;
	font-weight: 700;
	margin: 0;
	color: var(--rf-ink);
}
.rfsm-head .rfsm-sub {
	margin-left: auto;
	font-size: 12.5px;
	color: var(--rf-muted);
}

.rfsm-section {
	margin: 24px 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: var(--rf-forest);
	display: flex;
	align-items: center;
	gap: 8px;
}
.rfsm-section::before {
	content: '';
	width: 4px;
	height: 16px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--rf-green), var(--rf-green-deep));
}
.rfsm-section-ok { color: var(--rf-ok); }

/* Kompakte Formularelemente, ueberschreibt das Theme */
.rfsm-wrap select,
.rfsm-wrap input[type=text],
.rfsm-wrap input[type=date] {
	width: auto !important;
	max-width: 190px;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 7px 10px !important;
	font-family: inherit !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	border: 1.5px solid var(--rf-line) !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--rf-ink) !important;
	transition: border-color 0.15s ease;
}
.rfsm-wrap select:focus,
.rfsm-wrap input[type=text]:focus,
.rfsm-wrap input[type=date]:focus {
	border-color: var(--rf-green) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(125,168,206, 0.18) !important;
}
.rfsm-wrap .button,
.rfsm-wrap button {
	display: inline-block;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 7px 14px !important;
	font-family: inherit !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	font-weight: 600 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	border-radius: 8px !important;
	cursor: pointer;
	background: #fff !important;
	color: var(--rf-green-deep) !important;
	border: 1.5px solid var(--rf-green) !important;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background 0.15s ease, color 0.15s ease;
}
.rfsm-wrap .button:hover,
.rfsm-wrap button:hover {
	background: rgba(125,168,206, 0.12) !important;
	color: var(--rf-forest) !important;
}
.rfsm-wrap .button-primary,
.rfsm-wrap button[type=submit] {
	background: linear-gradient(135deg, var(--rf-green-deep), #005a9a) !important;
	color: #fff !important;
	border-color: transparent !important;
}
.rfsm-wrap .button-primary:hover,
.rfsm-wrap button[type=submit]:hover {
	filter: brightness(1.06);
	color: #fff !important;
}
.rfsm-wrap a { color: var(--rf-green-deep); }
.rfsm-wrap a:hover { color: var(--rf-forest); }

/* Passwort-Hinweis */
.rfsm-pw {
	background: #fff8e5;
	border: 1px solid #ffd87a;
	padding: 12px 16px;
	margin: 12px 0;
	border-radius: 10px;
}

/* Niederlassungs-Kacheln */
.rfsm-nl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 12px;
	margin: 6px 0 4px;
}
.rfsm-nl-card {
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: 14px;
	padding: 14px 16px 12px;
	box-shadow: 0 2px 10px rgba(3,43,85, 0.05);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.rfsm-nl-card .nl-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}
.rfsm-nl-card .nl-name {
	font-size: 15px;
	font-weight: 700;
	color: var(--rf-ink);
	text-decoration: none !important;
}
.rfsm-wrap .rfsm-block > summary,
.rfsm-wrap .button,
.rfsm-wrap button {
	text-decoration: none !important;
}
a.rfsm-nl-name:hover { color: var(--rf-green-deep); }
.rfsm-nl-card .nl-emp {
	font-size: 11.5px;
	color: var(--rf-muted);
	white-space: nowrap;
}
.rfsm-nl-card .nl-comp {
	display: flex;
	align-items: baseline;
	gap: 6px;
}
.rfsm-nl-card .nl-comp .pct {
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}
.rfsm-nl-card .nl-comp .lbl {
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--rf-muted);
}
.rfsm-meter {
	height: 7px;
	border-radius: 4px;
	background: var(--rf-line);
	overflow: hidden;
}
.rfsm-meter > span {
	display: block;
	height: 100%;
	border-radius: 4px;
}
.rfsm-nl-card .nl-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	min-height: 22px;
}
.rfsm-nl-card .nl-links {
	font-size: 11.5px;
	color: var(--rf-muted);
	border-top: 1px solid var(--rf-soft);
	padding-top: 8px;
	margin-top: 2px;
}

/* Chips und Badges */
.rfsm-badge {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 999px;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	line-height: 1.5;
}
.rfsm-chip {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	line-height: 1.6;
}
.rfsm-chip-bad { background: rgba(192, 57, 43, 0.12); color: var(--rf-bad); }
.rfsm-chip-warn { background: rgba(201, 122, 0, 0.13); color: var(--rf-warn); }
.rfsm-chip-idle { background: rgba(138, 143, 148, 0.15); color: #565d63; }
.rfsm-chip-ok { background: rgba(26, 157, 84, 0.13); color: var(--rf-ok); }

/* Filterleiste */
.rfsm-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 16px 0;
	padding: 10px 12px;
	background: var(--rf-soft);
	border: 1px solid var(--rf-line);
	border-radius: 12px;
}
.rfsm-filters .rfsm-filter-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--rf-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-right: 2px;
}

/* KPI-Karten */
.rfsm-kpis {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0;
}
.rfsm-kpi {
	flex: 1;
	min-width: 108px;
	border: 1px solid var(--rf-line);
	border-radius: 12px;
	padding: 12px 14px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(3,43,85, 0.04);
	position: relative;
	overflow: hidden;
}
.rfsm-kpi::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var(--rf-line);
}
.rfsm-kpi.ok::before { background: var(--rf-ok); }
.rfsm-kpi.warn::before { background: var(--rf-warn); }
.rfsm-kpi.bad::before { background: var(--rf-bad); }
.rfsm-kpi .n {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.1;
}
.rfsm-kpi.ok .n { color: var(--rf-ok); }
.rfsm-kpi.warn .n { color: var(--rf-warn); }
.rfsm-kpi.bad .n { color: var(--rf-bad); }
.rfsm-kpi .l {
	font-size: 10.5px;
	color: var(--rf-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 3px;
	font-weight: 600;
}

/* Tabellen */
.rfsm-table,
.rfsm-todo {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	font-size: 13px;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: 12px;
	overflow: hidden;
}
.rfsm-table th,
.rfsm-table td,
.rfsm-todo th,
.rfsm-todo td {
	border: 0;
	border-bottom: 1px solid var(--rf-soft);
	padding: 9px 12px;
	text-align: left;
	vertical-align: top;
}
.rfsm-table tbody tr:last-child td,
.rfsm-todo tbody tr:last-child td { border-bottom: 0; }
.rfsm-table thead th,
.rfsm-todo thead th {
	background: var(--rf-soft);
	font-size: 11px;
	font-weight: 700;
	color: var(--rf-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 1px solid var(--rf-line);
}
.rfsm-table tbody tr:hover,
.rfsm-todo tbody tr:hover { background: #f9fbfd; }
.rfsm-todo { margin: 4px 0 14px; }
.rfsm-scroll { overflow-x: auto; }
.rfsm-row-inactive { opacity: 0.55; }
.rfsm-legend { margin: 4px 0 10px; }
.rfsm-legend span { margin-right: 10px; }

/* Export-Leiste */
.rfsm-exportbar {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin: 8px 0 12px;
	font-size: 12.5px;
	padding: 9px 12px;
	background: var(--rf-soft);
	border: 1px solid var(--rf-line);
	border-radius: 10px;
	color: var(--rf-muted);
}

/* Aufklappbare Bloecke */
.rfsm-block { margin: 18px 0; }
.rfsm-block > summary,
.rfsm-manage > summary {
	cursor: pointer;
	list-style: none;
	display: inline-block;
	padding: 8px 16px;
	border: 1.5px solid var(--rf-green);
	border-radius: 8px;
	background: #fff;
	color: var(--rf-green-deep);
	font-weight: 700;
}
.rfsm-block > summary:hover { background: rgba(125,168,206, 0.1); }
.rfsm-block > summary::-webkit-details-marker,
.rfsm-manage > summary::-webkit-details-marker { display: none; }
.rfsm-block > summary { font-size: 14px; }
.rfsm-block > summary::after { content: ' \25BE'; color: var(--rf-green-deep); }
.rfsm-block[open] > summary::after { content: ' \25B4'; }
.rfsm-block > div { margin-top: 14px; }

/* Mitarbeiter-Liste */
.rfsm-emp-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
}
.rfsm-emp {
	border: 1px solid var(--rf-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 6px rgba(3,43,85, 0.04);
	transition: box-shadow 0.15s ease;
}
.rfsm-emp[open] { box-shadow: 0 6px 18px rgba(3,43,85, 0.09); }
.rfsm-emp > summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	border-radius: 12px;
}
.rfsm-emp > summary::-webkit-details-marker { display: none; }
.rfsm-emp > summary::before {
	content: '\25B8';
	color: var(--rf-green-deep);
	font-size: 11px;
}
.rfsm-emp[open] > summary::before { content: '\25BE'; }
.rfsm-emp > summary:hover { background: #f9fbfd; }
.rfsm-emp .emp-name { min-width: 200px; flex: 1; }
.rfsm-emp .emp-name code {
	font-size: 11px;
	color: var(--rf-muted);
	background: var(--rf-soft);
	padding: 1px 6px;
	border-radius: 5px;
}
.rfsm-emp .emp-status {
	color: var(--rf-bad);
	font-style: normal;
	font-weight: 700;
	font-size: 11px;
}
.rfsm-emp .emp-org { color: var(--rf-muted); min-width: 130px; font-size: 12.5px; }
.rfsm-emp .emp-sum { display: flex; gap: 5px; flex-wrap: wrap; margin-left: auto; }
.rfsm-emp-body { padding: 8px 16px 14px; border-top: 1px solid var(--rf-soft); }
.rfsm-courses { display: flex; flex-direction: column; margin-bottom: 10px; }
.rfsm-course {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px solid var(--rf-soft);
}
.rfsm-course .c-title { flex: 1; min-width: 170px; font-weight: 600; }
.rfsm-course .c-stat { min-width: 110px; }
.rfsm-course .c-date { color: var(--rf-muted); font-size: 12px; }

/* Schulungsakte */
.rfsm-akte { margin: 8px 0 12px; }
.rfsm-akte > summary {
	cursor: pointer;
	list-style: none;
	font-size: 12.5px;
	color: var(--rf-green-deep);
	font-weight: 600;
	text-decoration: underline dotted;
}
.rfsm-akte > summary::-webkit-details-marker { display: none; }
.rfsm-akte-table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	font-size: 12px;
	margin-top: 8px;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: 10px;
	overflow: hidden;
}
.rfsm-akte-table th,
.rfsm-akte-table td {
	border: 0;
	border-bottom: 1px solid var(--rf-soft);
	padding: 6px 10px;
	text-align: left;
}
.rfsm-akte-table tbody tr:last-child td { border-bottom: 0; }
.rfsm-akte-table thead th {
	background: var(--rf-soft);
	font-weight: 700;
	color: var(--rf-muted);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Aktionen */
.rfsm-emp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding-top: 10px;
	border-top: 1px dashed var(--rf-line);
}
.rfsm-emp-actions form {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: center;
	margin: 0;
}

/* Meine Schulungen (Mitarbeiter-Sicht) */
.rfsm-self .rfsm-self-head { margin-bottom: 14px; }
.rfsm-self .card {
	border: 1px solid var(--rf-line);
	border-radius: 14px;
	padding: 16px 18px;
	margin: 10px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	background: #fff;
	box-shadow: 0 2px 10px rgba(3,43,85, 0.05);
	border-left: 5px solid var(--rf-line);
}
.rfsm-self .card.is-erledigt { border-left-color: var(--rf-ok); }
.rfsm-self .card.is-faellig { border-left-color: var(--rf-warn); }
.rfsm-self .card.is-ueberfaellig { border-left-color: var(--rf-bad); }
.rfsm-self .card.is-nicht_begonnen { border-left-color: var(--rf-idle); }
.rfsm-self .card .title {
	font-size: 15.5px;
	font-weight: 700;
	display: block;
	margin-bottom: 4px;
}
.rfsm-self .badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}
.rfsm-self .meta { font-size: 13px; color: var(--rf-muted); }
.rfsm-self .btn {
	text-decoration: none !important;
	display: inline-block;
	padding: 10px 20px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--rf-green-deep), #005a9a);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 5px 14px rgba(3,43,85, 0.25);
	transition: filter 0.15s ease;
}
.rfsm-self .btn:hover { filter: brightness(1.06); }
.rfsm-self .notfall {
	background: #fff8e5;
	border: 1px solid #ffd87a;
	border-radius: 12px;
	padding: 14px 18px;
	margin: 16px 0;
}
.rfsm-self .rfsm-welcome {
	background: rgba(125,168,206, 0.12);
	border: 1px solid var(--rf-green);
	color: var(--rf-forest);
	border-radius: 12px;
	padding: 12px 18px;
	margin: 0 0 16px;
	font-weight: 600;
}

/* Weiterlernen-Karte */
.rfsm-self .rfsm-resume {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	background: linear-gradient(135deg, var(--rf-green-deep), #005a9a);
	border-radius: 16px;
	padding: 20px 24px;
	margin: 0 0 18px;
	color: #fff;
	box-shadow: 0 8px 20px rgba(3,43,85, 0.25);
}
.rfsm-self .rfsm-resume .r-kicker {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: 0.85;
	margin-bottom: 4px;
}
.rfsm-self .rfsm-resume .r-title {
	display: block;
	font-size: 21px;
	font-weight: 800;
}
.rfsm-self .rfsm-resume .r-sub {
	display: block;
	font-size: 14px;
	opacity: 0.9;
	margin-top: 2px;
}
.rfsm-self .rfsm-resume .btn {
	background: #fff;
	color: var(--rf-forest) !important;
	box-shadow: none;
}

/* Kursfortschritt auf den Karten */
.rfsm-self .kursfortschritt {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	min-width: 260px;
}
.rfsm-self .kf-balken {
	flex: 1;
	max-width: 260px;
	height: 8px;
	border-radius: 4px;
	background: var(--rf-line);
	overflow: hidden;
}
.rfsm-self .kf-balken span {
	display: block;
	height: 100%;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--rf-green-deep), var(--rf-green));
}
.rfsm-self .kf-text {
	font-size: 12.5px;
	color: var(--rf-muted);
	white-space: nowrap;
}

/* Schriftgroessen-Umschalter (Lektionen) */
.rfsm-fontsize {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
	display: flex;
	gap: 6px;
	background: #fff;
	border: 1px solid var(--rf-line, #e5e4e3);
	border-radius: 999px;
	padding: 6px 8px;
	box-shadow: 0 4px 14px rgba(3,43,85, 0.15);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.rfsm-fontsize button {
	border: 0;
	background: transparent;
	color: #021d3a;
	font-weight: 800;
	cursor: pointer;
	border-radius: 999px;
	padding: 4px 10px;
	line-height: 1;
}
.rfsm-fontsize button:nth-child(1) { font-size: 13px; }
.rfsm-fontsize button:nth-child(2) { font-size: 16px; }
.rfsm-fontsize button:nth-child(3) { font-size: 19px; }
.rfsm-fontsize button.aktiv {
	background: #032b55;
	color: #fff;
}
html[data-rfsm-font="2"] .learndash-wrapper,
html[data-rfsm-font="2"] .ld-focus-content,
html[data-rfsm-font="2"] .rfsm-self { font-size: 115%; }
html[data-rfsm-font="3"] .learndash-wrapper,
html[data-rfsm-font="3"] .ld-focus-content,
html[data-rfsm-font="3"] .rfsm-self { font-size: 130%; }

/* Standort-Daten (Frontend-Editor) */
.rfsm-locform { max-width: 860px; }
.rfsm-loc-intro { color: var(--rf-muted); font-size: 14px; max-width: 680px; }
.rfsm-notice-ok {
	background: rgba(125,168,206, 0.14);
	border: 1px solid var(--rf-green);
	color: var(--rf-forest);
	border-radius: 10px;
	padding: 11px 16px;
	margin: 12px 0;
	font-weight: 600;
}
.rfsm-loc-form {
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: 14px;
	padding: 10px 22px 18px;
	box-shadow: 0 2px 10px rgba(3,43,85, 0.05);
	margin-top: 14px;
}
.rfsm-loc-field {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	padding: 14px 0;
	border-bottom: 1px solid var(--rf-soft);
}
.rfsm-loc-field:last-of-type { border-bottom: 0; }
.rfsm-loc-label {
	flex: 0 0 220px;
	font-weight: 700;
	font-size: 13.5px;
	padding-top: 8px;
}
.rfsm-loc-input { flex: 1; min-width: 260px; }
.rfsm-locform .rfsm-loc-input input[type=text],
.rfsm-locform .rfsm-loc-input textarea {
	width: 100% !important;
	max-width: 100%;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 9px 12px !important;
	font-family: inherit !important;
	font-size: 14px !important;
	border: 1.5px solid var(--rf-line) !important;
	border-radius: 8px !important;
	background: #fafbfd !important;
	box-shadow: none !important;
	color: var(--rf-ink) !important;
}
.rfsm-locform .rfsm-loc-input input[type=text]:focus,
.rfsm-locform .rfsm-loc-input textarea:focus {
	border-color: var(--rf-green) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(125,168,206, 0.18) !important;
}
.rfsm-locform .rfsm-loc-input input[type=file] {
	font-family: inherit;
	font-size: 13px;
}
.rfsm-loc-current { margin-bottom: 8px; }
.rfsm-loc-current img {
	max-width: 220px;
	height: auto;
	border: 1px solid var(--rf-line);
	border-radius: 8px;
	display: block;
	margin-bottom: 4px;
}
.rfsm-loc-del { font-size: 12.5px; color: var(--rf-muted); }
.rfsm-loc-stand { margin: 8px 0 0; font-size: 13px; color: var(--rf-muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rfsm-loc-stand input[type=date] { border: 1.5px solid var(--rf-line); border-radius: 8px; padding: 5px 8px; font-family: inherit; }
.rfsm-loc-veraltet {
	background: rgba(192, 57, 43, 0.12);
	color: var(--rf-bad);
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 700;
}
.rfsm-loc-doclist { margin: 0 0 10px; padding-left: 18px; }
.rfsm-loc-doclist li { margin-bottom: 4px; }
.rfsm-nl-doclist { padding-left: 20px; }
.rfsm-nl-doclist li { margin-bottom: 4px; }
.rfsm-loc-hint { font-size: 12px; color: var(--rf-muted); margin: 5px 0 0; }
.rfsm-locform .button-primary {
	background: linear-gradient(135deg, var(--rf-green-deep), #005a9a) !important;
	color: #fff !important;
	border-color: transparent !important;
	padding: 10px 22px !important;
	font-size: 14px !important;
}

/* LearnDash-Kursgitter: Bootstrap-Blau durch SecAnim-Gruen ersetzen */
#ld_course_list .btn-primary,
.ld-course-list-items .btn-primary,
.ld_course_grid .btn-primary {
	background: linear-gradient(135deg, #032b55, #005a9a) !important;
	border-color: transparent !important;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
}
#ld_course_list .btn-primary:hover,
.ld-course-list-items .btn-primary:hover,
.ld_course_grid .btn-primary:hover {
	filter: brightness(1.06);
}
#ld_course_list .ribbon,
.ld_course_grid .ribbon {
	background: #032b55 !important;
}
#ld_course_list .ribbon::before,
#ld_course_list .ribbon::after,
.ld_course_grid .ribbon::before,
.ld_course_grid .ribbon::after {
	border-color: #0a3f78 transparent !important;
}

/* Kursgitter: Karten im SecAnim-Look */
.ld-course-list-items {
	row-gap: 28px;
}
.ld-course-list-items article.course {
	border: 0 !important;
	border-radius: 18px !important;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 6px 24px rgba(3,43,85, 0.1);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.ld-course-list-items article.course:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(3,43,85, 0.18);
}
.ld-course-list-items article.course > a {
	display: block;
	line-height: 0;
}
.ld-course-list-items article.course img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 0 !important;
}
.ld-course-list-items article.course .caption {
	padding: 20px 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}
.ld-course-list-items article.course .caption h3.entry-title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	color: #021d3a;
	line-height: 1.25;
}
.ld-course-list-items article.course .ld_course_grid_button {
	margin-top: auto;
}
.ld-course-list-items article.course .ld_course_grid_button .btn-primary {
	display: block;
	text-align: center;
	border-radius: 12px !important;
	padding: 12px 18px !important;
	font-size: 15px;
}
.ld-course-list-items article.course .ribbon {
	border-radius: 8px;
	font-weight: 700;
	box-shadow: 0 3px 10px rgba(3,43,85, 0.25);
}

/* "Gelesen und verstanden": grosser, klarer Abschluss-Button */
.learndash-wrapper .sfwd-mark-complete .learndash_mark_complete_button,
.learndash-wrapper form.sfwd-mark-complete input[type="submit"] {
	background: linear-gradient(135deg, #032b55, #005a9a) !important;
	border: 0 !important;
	border-radius: 12px !important;
	color: #fff !important;
	font-weight: 800 !important;
	font-size: 17px !important;
	padding: 14px 30px !important;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(3,43,85, 0.3) !important;
	transition: filter 0.15s ease, transform 0.05s ease;
}
.learndash-wrapper .sfwd-mark-complete .learndash_mark_complete_button:hover,
.learndash-wrapper form.sfwd-mark-complete input[type="submit"]:hover {
	filter: brightness(1.07);
}
.learndash-wrapper .sfwd-mark-complete .learndash_mark_complete_button:active {
	transform: translateY(1px);
}

/* Fokus-Header: LearnDash macht den Button dort transparent, wodurch nur
   Radius und Schatten unserer Regel uebrig blieben (schwebende weisse Pille).
   Stattdessen: kompakte gruene Pille, die in die 50px-Kopfzeile passt. */
html body .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete.sfwd-mark-complete {
	display: flex;
	align-items: center;
	height: 36px;
	margin: 7px 10px;
	padding: 0 18px;
	background: linear-gradient(135deg, #032b55, #005a9a);
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(3,43,85, 0.25);
}
html body .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete.sfwd-mark-complete:hover {
	filter: brightness(1.07);
}
html body .learndash-wrapper .ld-focus .ld-focus-header .ld-content-action .sfwd-mark-complete input.learndash_mark_complete_button {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	padding: 0 !important;
}
html body .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete.sfwd-mark-complete::after {
	color: #fff !important;
}

/* Weiter-Karte nach Videoende */
.rfsm-weiter {
	margin: 16px 0;
	max-width: 960px;
	background: #e8eef5;
	border: 2px solid #7da8ce;
	border-radius: 14px;
	padding: 20px 24px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	animation: rfsmWeiterEin 0.25s ease;
}
@keyframes rfsmWeiterEin {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}
.rfsm-weiter-titel {
	font-size: 19px;
	font-weight: 800;
	color: #021d3a;
	margin-bottom: 4px;
}
.rfsm-weiter-text {
	font-size: 15px;
	color: #34455a;
	margin-bottom: 14px;
}
.rfsm-weiter-aktionen {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.rfsm-weiter-los {
	background: linear-gradient(135deg, #032b55, #005a9a);
	border: 0;
	border-radius: 10px;
	color: #fff;
	font-weight: 800;
	font-size: 16px;
	padding: 12px 24px;
	cursor: pointer;
	font-family: inherit;
}
.rfsm-weiter-bleiben {
	background: #fff;
	border: 1.5px solid #7da8ce;
	border-radius: 10px;
	color: #032b55;
	font-weight: 700;
	font-size: 15px;
	padding: 12px 20px;
	cursor: pointer;
	font-family: inherit;
}

/* Gefuellte LearnDash-Buttons: LD generiert seit der Farbumstellung schwarzen
   Text und fuer den Vorherige-Button ein fast schwarzes Gruen. Beides korrigieren. */
html body .learndash-wrapper .ld-button:not(.ld-button-transparent):not(.ld-button-reverse):not(.ld--ignore-inline-css),
html body .learndash-wrapper .ld-button:not(.ld-button-transparent):not(.ld-button-reverse):not(.ld--ignore-inline-css) .ld-text,
html body .learndash-wrapper .ld-button:not(.ld-button-transparent):not(.ld-button-reverse):not(.ld--ignore-inline-css) .ld-icon {
	color: #fff !important;
}
html body .learndash-wrapper .ld-button:not(.ld-button-transparent):not(.ld-button-reverse):not(.ld--ignore-inline-css):hover,
html body .learndash-wrapper .ld-button:not(.ld-button-transparent):not(.ld-button-reverse):not(.ld--ignore-inline-css):hover .ld-text,
html body .learndash-wrapper .ld-button:not(.ld-button-transparent):not(.ld-button-reverse):not(.ld--ignore-inline-css):hover .ld-icon {
	color: #fff !important;
}
html body .learndash-wrapper.learndash-wrapper.learndash-wrapper .ld-content-actions .ld-content-action .ld-button:not(.ld-button-transparent):not(.ld-button-reverse):not(.ld--ignore-inline-css):not([disabled]) {
	background-color: #032b55 !important;
}
html body .learndash-wrapper.learndash-wrapper.learndash-wrapper .ld-content-actions .ld-content-action .ld-button:not(.ld-button-transparent):not(.ld-button-reverse):not(.ld--ignore-inline-css):not([disabled]):hover {
	background-color: #0a3f78 !important;
}

/* Verständnisfrage nach dem Video */
.rfsm-versteckt {
	display: none !important;
}

.rfsm-frage .rfsm-frage-text {
	font-size: 17px;
	font-weight: 700;
	color: #021d3a;
	margin-bottom: 14px;
}
.rfsm-frage-antworten {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 12px;
}
.rfsm-frage-antwort {
	text-align: left;
	background: #fff;
	border: 1.5px solid #7da8ce;
	border-radius: 10px;
	color: #021d3a;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	padding: 12px 16px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.rfsm-frage-antwort:hover:not([disabled]) {
	background: #e8eef5;
	border-color: #032b55;
}
.rfsm-frage-antwort[disabled] {
	cursor: default;
	opacity: 0.75;
}
.rfsm-frage-antwort.ist-richtig {
	background: #032b55;
	border-color: #032b55;
	color: #fff;
	opacity: 1;
}
.rfsm-frage-antwort.ist-falsch {
	background: #fdecea;
	border-color: #d9534f;
	color: #a94442;
	opacity: 1;
}
.rfsm-frage-feedback {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 12px;
}
.rfsm-frage-feedback.ist-richtig {
	color: #0a3f78;
}
.rfsm-frage-feedback.ist-falsch {
	color: #a94442;
}

/* Erstunterweisungs-Status im Dashboard */
.rfsm-ew-status {
	background: #f6f9fc;
	border: 1px solid #d5dfea;
	border-radius: 10px;
	padding: 10px 14px;
	margin: 10px 0;
	font-size: 13.5px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

/* Digitale Erstunterweisung */
.rfsm-ew-blocktitel {
	color: #021d3a;
	font-size: 19px;
	margin: 26px 0 10px;
	border-bottom: 2px solid #e8eef5;
	padding-bottom: 6px;
}
.rfsm-ew-punkte {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.rfsm-ew-punkt,
.rfsm-ew-ba {
	background: #fff;
	border: 1.5px solid #d5dfea;
	border-radius: 10px;
	padding: 10px 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 15px;
	cursor: pointer;
}
.rfsm-ew-punkt.ist-ok,
.rfsm-ew-ba.ist-ok {
	background: #e8eef5;
	border-color: #7da8ce;
}
.rfsm-ew-punkt input[type="checkbox"],
.rfsm-ew-ba input[type="checkbox"] {
	width: 20px;
	height: 20px;
	accent-color: #032b55;
	flex-shrink: 0;
}
.rfsm-ew-punkt em,
.rfsm-ew-ba em {
	font-style: normal;
	color: #0a3f78;
	font-size: 12.5px;
	margin-left: auto;
	white-space: nowrap;
}
.rfsm-ew-ba a {
	font-weight: 700;
	color: #032b55;
}
.rfsm-ew-stand {
	color: #667;
	font-size: 12.5px;
}
.rfsm-ew-ba label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	cursor: pointer;
}
.rfsm-ew-erst {
	flex-basis: 100%;
	color: #c97a00;
	font-size: 12.5px;
}
.rfsm-ew-fertig {
	background: #e8eef5;
	border: 2px solid #7da8ce;
	border-radius: 12px;
	padding: 14px 18px;
	font-weight: 700;
	color: #0a3f78;
}
.rfsm-ew-canvas {
	width: 100%;
	max-width: 600px;
	border: 2px dashed #7da8ce;
	border-radius: 12px;
	background: #fff;
	touch-action: none;
	display: block;
}
.rfsm-ew-canvas-aktionen {
	display: flex;
	gap: 12px;
	margin-top: 10px;
	flex-wrap: wrap;
}
.rfsm-ew-abschicken {
	background: linear-gradient(135deg, #032b55, #005a9a);
	border: 0;
	border-radius: 10px;
	color: #fff;
	font-weight: 800;
	font-size: 16px;
	padding: 12px 24px;
	cursor: pointer;
	font-family: inherit;
}
.rfsm-ew-leeren {
	background: #fff;
	border: 1.5px solid #7da8ce;
	border-radius: 10px;
	color: #032b55;
	font-weight: 700;
	padding: 12px 20px;
	cursor: pointer;
	font-family: inherit;
}
.rfsm-ew-hinweis {
	color: #667;
}
.rfsm-ew-modal {
	position: fixed;
	inset: 0;
	background: rgba(3,43,85, 0.55);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}
.rfsm-ew-modal-blatt {
	background: #fff;
	border-radius: 14px;
	width: min(960px, 100%);
	height: min(88vh, 1100px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.rfsm-ew-modal-kopf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 2px solid #e8eef5;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.rfsm-ew-modal-kopf strong {
	color: #021d3a;
	font-size: 16px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.rfsm-ew-modal-aktionen {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}
.rfsm-ew-modal-aktionen a {
	color: #032b55;
	font-weight: 700;
	font-size: 13.5px;
}
.rfsm-ew-modal-zu {
	background: linear-gradient(135deg, #032b55, #005a9a);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-weight: 800;
	font-size: 14px;
	padding: 8px 18px;
	cursor: pointer;
	font-family: inherit;
}
.rfsm-ew-modal-inhalt {
	flex: 1;
	overflow: auto;
	padding: 18px 26px 30px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: #021d3a;
}
.rfsm-ew-modal-inhalt video {
	width: 100% !important;
	max-width: 100% !important;
	border-radius: 12px;
	background: #000;
}
.rfsm-ew-modal-inhalt h3 {
	color: #021d3a;
	font-size: 19px;
	margin: 18px 0 8px;
}
.rfsm-ew-modal-inhalt h3:first-child {
	margin-top: 4px;
}
.rfsm-ew-teiltext {
	color: #34455a;
	margin: -4px 0 12px;
	font-size: 15px;
}
.rfsm-ew-vorort {
	display: block;
	cursor: default;
}
.rfsm-ew-vorort-kopf {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.rfsm-ew-status {
	width: 22px;
	height: 22px;
	border-radius: 11px;
	border: 2px solid #b3c9e0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	color: #fff;
	flex-shrink: 0;
}
.rfsm-ew-vorort.ist-ok .rfsm-ew-status {
	background: #032b55;
	border-color: #032b55;
}
.rfsm-ew-vorort-text {
	flex: 1;
	min-width: 200px;
}
.rfsm-ew-vorort .rfsm-ew-pfeil {
	margin-left: auto;
	width: 36px;
	height: 36px;
	border-radius: 18px;
	border: 1.5px solid #032b55;
	background: #fff;
	color: #032b55;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	transition: transform 0.18s ease, background 0.15s ease;
}
.rfsm-ew-vorort .rfsm-ew-pfeil:hover {
	background: #e8eef5;
}
.rfsm-ew-vorort.ist-offen .rfsm-ew-pfeil {
	transform: rotate(90deg);
}
.rfsm-ew-vorort-panel {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed #b3c9e0;
	display: flex;
	align-items: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}
.rfsm-ew-vorort-panel[hidden] {
	display: none !important;
}
.rfsm-ew-vorort-panel label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: #021d3a;
	flex: 1;
	min-width: 220px;
}
.rfsm-ew-vorort-panel .rfsm-ew-durch {
	width: 100% !important;
	height: auto !important;
	box-sizing: border-box;
	background: #fff;
	border: 1.5px solid #b3c9e0;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 16px;
	font-family: inherit;
	font-weight: 500;
}
.rfsm-ew-vorort-panel .rfsm-ew-durch:focus {
	border-color: #032b55;
	outline: none;
	box-shadow: 0 0 0 3px rgba(125,168,206, 0.2);
}
.rfsm-ew-vorort-panel .rfsm-ew-durch.ist-leer {
	border-color: #c0392b;
}
.rfsm-ew-vorort-ok {
	background: linear-gradient(135deg, #032b55, #005a9a);
	border: 0;
	border-radius: 10px;
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	padding: 11px 20px;
	cursor: pointer;
	font-family: inherit;
}
.rfsm-ew-vorort-ok[disabled] {
	opacity: 0.6;
}
.rfsm-ew-video-knopf {
	margin-left: auto;
	background: #fff;
	border: 1.5px solid #032b55;
	border-radius: 999px;
	color: #032b55;
	font-family: inherit;
	font-weight: 700;
	font-size: 13.5px;
	padding: 6px 14px;
	cursor: pointer;
	white-space: nowrap;
}
.rfsm-ew-video-knopf:hover {
	background: #e8eef5;
}
.rfsm-ew-video-knopf.ist-gesehen {
	border-color: #7da8ce;
	color: #0a3f78;
	background: #e8eef5;
}
.rfsm-ew-punkt .rfsm-ew-video-knopf ~ em {
	margin-left: 4px;
}
.rfsm-ew-modal-frame {
	border: 0;
	width: 100%;
	flex: 1;
	background: #eff2f5;
}

/* Hinweisbanner im Wissenscheck (automatischer Ablauf) */
.rfsm-quiz-hinweis {
	margin: 14px 0;
	padding: 14px 18px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.rfsm-quiz-hinweis.ist-richtig {
	background: #e8eef5;
	border: 2px solid #7da8ce;
	color: #0a3f78;
}
.rfsm-quiz-hinweis.ist-falsch {
	background: #fdecea;
	border: 2px solid #d9534f;
	color: #a94442;
}

/* Ton-Hinweis, wenn das Video nur stumm automatisch starten durfte */
.rfsm-ton {
	position: absolute;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	background: linear-gradient(135deg, #032b55, #005a9a);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	padding: 10px 22px;
	cursor: pointer;
	font-family: inherit;
	box-shadow: 0 4px 14px rgba(3,43,85, 0.35);
}
.rfsm-ton::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	vertical-align: -2px;
	background: no-repeat center / contain url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/%3E%3Cpath d='M15.54 8.46a5 5 0 0 1 0 7.07'/%3E%3Cpath d='M19.07 4.93a10 10 0 0 1 0 14.14'/%3E%3C/svg%3E");
}

@media (max-width: 600px) {
	.rfsm-emp .emp-sum { margin-left: 0; }
	.rfsm-kpi { min-width: 44%; }
}

/* Untertitel mit Sprachwahl (seit 1.17.0) */
.rfsm-ut {
	width: 100%;
	margin: 0 0 1.6em;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.rfsm-ut-leiste {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
}
.rfsm-ut-titel {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 700;
	font-size: 14px;
	color: #021d3a;
	margin-right: 4px;
}
.rfsm-ut-titel::before {
	content: "";
	width: 20px;
	height: 20px;
	background: no-repeat center / contain url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23428f3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='3'/%3E%3Cpath d='M7 15h4M13 15h4M7 11h10'/%3E%3C/svg%3E");
}
.rfsm-ut .rfsm-ut-leiste button.rfsm-ut-chip {
	display: inline-flex;
	align-items: center;
	background: #fff !important;
	color: #212934 !important;
	border: 1px solid #d3d9e0 !important;
	border-radius: 999px !important;
	padding: 5px 11px !important;
	font: 600 13.5px/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.rfsm-ut .rfsm-ut-leiste button.rfsm-ut-chip:hover {
	border-color: #7da8ce !important;
}
.rfsm-ut .rfsm-ut-leiste button.rfsm-ut-chip.ist-aktiv {
	background: linear-gradient(135deg, #032b55, #005a9a) !important;
	color: #fff !important;
	border-color: transparent !important;
}
.rfsm-ut .rfsm-ut-leiste label.rfsm-ut-zwei {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	width: auto !important;
	margin: 0 0 0 auto !important;
	padding: 0 !important;
	font-weight: 400;
	font-size: 13.5px;
	color: #5c6670;
	cursor: pointer;
}
.rfsm-ut-zwei input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #032b55;
	-webkit-appearance: checkbox;
	appearance: auto;
}
.rfsm-ut-video {
	position: relative;
}
.rfsm-ut-video video {
	display: block;
	width: 100%;
	max-width: 100% !important;
	margin: 0 !important;
}
.rfsm-ut.mit-zeile .rfsm-ut-video video {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}
.rfsm-ut-zeile {
	display: none;
	min-height: 84px;
	padding: 14px 22px 16px;
	background: #021d3a;
	border-radius: 0 0 12px 12px;
	text-align: center;
	color: #fff;
}
.rfsm-ut.mit-zeile .rfsm-ut-zeile {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
}
.rfsm-ut-haupt {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
}
.rfsm-ut-neben {
	font-size: 15px;
	line-height: 1.4;
	color: #b3c9e0;
}
.rfsm-ut-neben:empty,
.rfsm-ut-haupt:empty {
	display: none;
}
.rfsm-ut-hinweis {
	margin-top: 8px;
	font-size: 13px;
	color: #5c6670;
}
@media (max-width: 600px) {
	.rfsm-ut .rfsm-ut-leiste label.rfsm-ut-zwei { margin: 2px 0 0 !important; width: 100% !important; }
	.rfsm-ut-zeile { min-height: 72px; padding: 12px 14px; }
	.rfsm-ut-haupt { font-size: 17px; }
	.rfsm-ut-neben { font-size: 14px; }
}

/* Benutzername unter "Meine Schulungen" (seit 1.18.1) */
.rfsm-self-head .rfsm-benutzername {
	margin-left: auto;
	font-size: 13.5px;
	color: var(--rf-muted, #5c6670);
}

/* Profilseite */
.rfsm-profil-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.rfsm-profil-karte { background: #fff; border: 1px solid var(--rf-line); border-radius: 12px; padding: 18px 20px; }
.rfsm-profil-karte h3 { margin: 0 0 10px; font-size: 16px; color: var(--rf-forest); }
.rfsm-profil-karte dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.rfsm-profil-karte dt { color: var(--rf-muted); }
.rfsm-profil-karte dd { margin: 0; }
.rfsm-profil-hinweis { margin: 12px 0 0; font-size: 12.5px; color: var(--rf-muted); }
.rfsm-profil-form label { display: block; margin: 0 0 10px; font-weight: 600; font-size: 13px; }
.rfsm-profil-form input[type=password] { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid #cdd6df; border-radius: 8px; font: inherit; }
.rfsm-profil-btn, a.rfsm-profil-btn { display: inline-block; background: var(--rf-green-deep); color: #fff !important; border: 0; border-radius: 9px; padding: 10px 16px; font-weight: 700; text-decoration: none; cursor: pointer; font-family: inherit; }
.rfsm-profil-btn:hover { background: var(--rf-forest); }
.rfsm-profil-meldung { padding: 10px 14px; border-radius: 9px; margin: 0 0 14px; font-weight: 600; }
.rfsm-profil-ok { background: #e7f5ec; color: var(--rf-ok); }
.rfsm-profil-fehler { background: #fbeaea; color: var(--rf-bad); }
.rfsm-profil a.rfsm-profil-btn { text-decoration: none !important; }


/* Kopf und Fuss der Plattform: volle Breite, Logo links, Menue rechts,
   Fussband im Logo-Dunkelton mit zentrierter Copyright-Zeile. */
.site-header .ast-primary-header-bar {
	background: #fff;
	border-bottom: 1px solid #d1d5db;
	box-shadow: none;
}
.site-header .ast-primary-header-bar .ast-container,
.site-header .ast-primary-header-bar .site-primary-header-wrap {
	max-width: 100%;
	padding-left: 25px;
	padding-right: 25px;
}
.site-header .ast-primary-header-bar .ast-builder-grid-row {
	min-height: 80px;
}
.site-header .main-header-menu > .menu-item > .menu-link {
	color: #334155;
	font-size: 16px;
	font-weight: 400;
	padding: 0 16px;
	text-decoration: none !important;
}
.site-header .main-header-menu > .menu-item > .menu-link:hover,
.site-header .main-header-menu > .current-menu-item > .menu-link {
	color: #032b55;
}
.site-header .ast-header-account-wrap .ast-header-account-type-icon .ahfb-svg-iconset svg path:not(.ast-hf-account-unfill),
.site-header .ast-header-account-wrap .ast-header-account-type-icon .ahfb-svg-iconset svg circle {
	fill: #032b55;
}
.site-header .ast-header-account-wrap .ast-header-account-type-icon .ahfb-svg-iconset svg {
	width: 26px;
	height: 26px;
}
.site-footer .site-below-footer-wrap,
.site-footer .site-below-footer-wrap[data-section="section-below-footer-builder"] {
	background: #032b55;
	border-top: 0;
	min-height: 0;
}
.site-footer .site-below-footer-wrap,
.site-footer .site-below-footer-wrap .ast-builder-grid-row-container-inner,
.site-footer .site-below-footer-wrap .site-footer-below-section-1 {
	padding-top: 0;
	padding-bottom: 0;
}
.site-footer .site-below-footer-wrap .ast-builder-grid-row {
	min-height: 96px;
	align-items: center;
}
.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright p,
.site-footer .ast-footer-copyright a {
	color: #fff;
	font-size: 16px;
	text-align: center;
	margin: 0;
}


/* Schulungsangebot: Kurstitel auf der Karte zeigen (die Seitentitel-Regel
   oben blendet sonst auch diese Ueberschrift aus), Seitenkopf wie auf den
   uebrigen Plattformseiten. */
.ld-course-list-items article.course .caption h3.entry-title {
	display: block !important;
	margin: 4px 0 14px;
}
.rfsm-angebot-kopf {
	max-width: 1150px;
	margin: 0 auto 26px;
}
