
:root{
	--ha-card:#102f3d;
	--ha-petrol:#4f6d7a;
	--ha-cream:#f9f5ee;
	--ha-coral:#ff9166;
	--ha-sage:#bccabe;
	--ha-border:rgba(188,202,190,.28);
}

/* ============ KURSKARTEN ============ */
.ha-course-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:24px;
	align-items:stretch;
}

.ha-course-card{
	display:flex;
	flex-direction:column;
	overflow:hidden;
	background:var(--ha-card);
	border:1px solid var(--ha-border);
	border-radius:14px;
	box-shadow:0 14px 36px rgba(0,0,0,.18);
	transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.ha-course-card:hover{
	transform:translateY(-3px);
	border-color:rgba(249,245,238,.34);
	box-shadow:0 20px 44px rgba(0,0,0,.24);
}

.ha-course-media{
	position:relative;
	aspect-ratio:750/563;
	overflow:hidden;
	background:var(--ha-card);
}

.ha-course-image{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
	object-position:center;
}

.ha-course-image--listing-fix{
	object-fit:contain;
	padding:16px;
	box-sizing:border-box;
	background:#f9f5ee;
}

.ha-course-image-placeholder{
	width:100%;
	height:100%;
	background:linear-gradient(135deg,#163444,#0f2835);
}

.ha-course-status{
	position:absolute;
	top:12px;
	right:12px;
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:6px 10px;
	border-radius:999px;
	border:1px solid rgba(249,245,238,.24);
	background:rgba(11,28,44,.84);
	color:var(--ha-cream);
	font-size:10px;
	font-weight:700;
	letter-spacing:.08em;
	line-height:1;
	backdrop-filter:blur(8px);
}

.ha-course-card.is-available .ha-course-status{
	background:var(--ha-cream);
	color:#0b1c2c;
	border-color:var(--ha-cream);
}

.ha-course-content{
	display:flex;
	flex:1 1 auto;
	flex-direction:column;
	padding:18px;
}

.ha-course-title{
	margin:0 0 8px!important;
	color:var(--ha-cream)!important;
	font-size:22px;
	font-weight:600;
	line-height:1.25;
}

.ha-course-benefit{
	margin:0 0 18px!important;
	color:var(--ha-sage)!important;
	font-size:14px;
	line-height:1.55;
}

.ha-course-button{
	margin-top:auto;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:10px;
	min-height:46px;
	padding:10px 15px;
	border-radius:9px;
	text-decoration:none!important;
	font-size:14px;
	font-weight:700;
}

.ha-course-card.is-locked .ha-course-button{
	background:var(--ha-coral);
	color:#0b1c2c!important;
}

.ha-course-card.is-available .ha-course-button{
	background:var(--ha-cream);
	color:#0b1c2c!important;
}

.ha-icon{
	width:16px;
	height:16px;
	fill:none;
	stroke:currentColor;
	stroke-width:1.7;
	stroke-linecap:round;
	stroke-linejoin:round;
}


@media(max-width:1024px){
	.ha-course-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:680px){
	.ha-course-grid{grid-template-columns:1fr;}
}

/* ============ LIFTERLMS KURS + LEKTIONEN ============ */

.single-course .llms-instructor-info,
.single-lesson .llms-instructor-info,
.single-course .llms-instructor-info .llms-instructors,
.single-lesson .llms-instructor-info .llms-instructors,
.single-course .llms-instructor-info .llms-instructor,
.single-lesson .llms-instructor-info .llms-instructor,
.single-course .llms-instructor-info .llms-author,
.single-lesson .llms-instructor-info .llms-author,
.single-course .llms-instructor-info .llms-instructor-info,
.single-lesson .llms-instructor-info .llms-instructor-info,
.single-course .llms-instructor-info .llms-instructor-content,
.single-lesson .llms-instructor-info .llms-instructor-content{
	background:var(--ha-petrol)!important;
	border-color:rgba(249,245,238,.18)!important;
	color:var(--ha-cream)!important;
}

.single-course .llms-instructor-info *,
.single-lesson .llms-instructor-info *{
	color:var(--ha-cream)!important;
}

.single-course .llms-syllabus-wrapper .llms-section-title,
.single-lesson .llms-syllabus-wrapper .llms-section-title{
	background:var(--ha-sage)!important;
	color:#0b1c2c!important;
	border:none!important;
}

.single-course .llms-syllabus-wrapper .llms-lesson-preview,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview,
.single-course .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-link,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-link,
.single-course .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-preview,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-preview,
.single-course .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-counter,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-counter,
.single-course .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-title,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-title,
.single-course .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-excerpt,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-excerpt,
.single-course .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-preview-bottom,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-preview-bottom,
.single-course .llms-syllabus-wrapper .llms-lesson-preview footer,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview footer,
.single-course .llms-syllabus-wrapper .llms-lesson-preview .llms-meta,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview .llms-meta,
.single-course .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-meta,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-meta{
	background:var(--ha-petrol)!important;
	color:var(--ha-cream)!important;
	border-color:rgba(249,245,238,.18)!important;
}

.single-course .llms-syllabus-wrapper .llms-lesson-preview a,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview a,
.single-course .llms-syllabus-wrapper .llms-lesson-preview span,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview span,
.single-course .llms-syllabus-wrapper .llms-lesson-preview p,
.single-lesson .llms-syllabus-wrapper .llms-lesson-preview p{
	color:var(--ha-cream)!important;
}

.single-course .llms-lesson-preview .llms-meta,
.single-lesson .llms-lesson-preview .llms-meta,
.single-course .llms-lesson-preview .llms-lesson-preview-footer,
.single-lesson .llms-lesson-preview .llms-lesson-preview-footer,
.single-course .llms-lesson-preview .llms-lesson-preview-bottom,
.single-lesson .llms-lesson-preview .llms-lesson-preview-bottom,
.single-course .llms-lesson-preview .llms-lesson-meta,
.single-lesson .llms-lesson-preview .llms-lesson-meta,
.single-course .llms-lesson-preview .llms-favorite-wrapper,
.single-lesson .llms-lesson-preview .llms-favorite-wrapper,
.single-course .llms-lesson-preview .llms-favorite-button,
.single-lesson .llms-lesson-preview .llms-favorite-button{
	background:var(--ha-petrol)!important;
	color:var(--ha-cream)!important;
}

.single-course .llms-progress .progress-bar,
.single-lesson .llms-progress .progress-bar,
.single-course .llms-progress-bar .progress-bar-complete,
.single-lesson .llms-progress-bar .progress-bar-complete{
	background:var(--ha-coral)!important;
}

.single-course .llms-progress,
.single-lesson .llms-progress,
.single-course .llms-progress-bar,
.single-lesson .llms-progress-bar{
	background:rgba(249,245,238,.18)!important;
}

.single-course .llms-button-primary,
.single-course .llms-button-action,
.single-lesson .llms-button-primary,
.single-lesson .llms-button-action{
	background:var(--ha-coral)!important;
	color:#0b1c2c!important;
	border:none!important;
	border-radius:8px!important;
	box-shadow:none!important;
}

/* ============ LOGIN + STUDENT DASHBOARD ============ */
/* LifterLMS setzt hier eigene dunkle Textfarben; wir überschreiben nur diese Sonderfälle. */

.llms-student-dashboard form label,
.llms-student-dashboard .llms-form-field label,
.llms-student-dashboard .llms-form-field .llms-label,
.llms-student-dashboard .llms-form-field .llms-description,
.llms-student-dashboard .llms-form-field .llms-form-field-label,
.llms-student-dashboard .llms-form-field .description,
.llms-student-dashboard .llms-login label,
.llms-student-dashboard .llms-login .llms-form-field label{
	color:var(--ha-cream)!important;
}

.llms-student-dashboard .llms-form-field a,
.llms-student-dashboard .llms-login a,
.llms-student-dashboard .llms-form-field .llms-pass-strength,
.llms-student-dashboard .llms-form-field .llms-password-toggle,
.llms-student-dashboard .llms-password-toggle,
.llms-student-dashboard .llms-forgot-password,
.llms-student-dashboard a[href*="lostpassword"]{
	color:var(--ha-sage)!important;
}

.llms-student-dashboard .llms-form-field input[type="checkbox"] + label,
.llms-student-dashboard .llms-form-field input[type="radio"] + label,
.llms-student-dashboard .llms-login input[type="checkbox"] + label{
	color:var(--ha-cream)!important;
}

.llms-student-dashboard .llms-form-field input[type="text"],
.llms-student-dashboard .llms-form-field input[type="email"],
.llms-student-dashboard .llms-form-field input[type="password"],
.llms-student-dashboard .llms-login input[type="text"],
.llms-student-dashboard .llms-login input[type="email"],
.llms-student-dashboard .llms-login input[type="password"]{
	background:#fff!important;
	color:#0b1c2c!important;
	border-color:rgba(188,202,190,.6)!important;
}

.llms-student-dashboard .llms-form-field input::placeholder,
.llms-student-dashboard .llms-login input::placeholder{
	color:#4f6d7a!important;
	opacity:1;
}

/* Login-Button in Academy-Stil */
.llms-student-dashboard .llms-button-primary,
.llms-student-dashboard .llms-button-action,
.llms-student-dashboard button[type="submit"],
.llms-student-dashboard input[type="submit"]{
	background:var(--ha-coral)!important;
	color:#0b1c2c!important;
	border:none!important;
	border-radius:8px!important;
	box-shadow:none!important;
}

/* generische LifterLMS-Flächen */
.single-course .llms-loop-item-content,
.single-lesson .llms-loop-item-content,
.single-course .llms-widget-syllabus,
.single-lesson .llms-widget-syllabus{
	background:var(--ha-petrol)!important;
	color:var(--ha-cream)!important;
	border-color:rgba(249,245,238,.18)!important;
}


/* ============ KURS-NAVIGATION ============ */
/*
 * Die Academy-Startseite / Kurskarten sind die einzige Navigation zwischen Kursen.
 * Deshalb wird die vom Theme erzeugte Vorheriger-/Nächster-Kurs-Navigation
 * auf Kursseiten vollständig ausgeblendet. Die Navigation zwischen Lektionen
 * innerhalb eines freigeschalteten Kurses bleibt unangetastet.
 */
.single-course .post-navigation,
.single-course nav.navigation.post-navigation,
.single-course .navigation.post-navigation,
.single-course .ast-single-post-navigation,
.single-course .ast-post-navigation,
.single-course .entry-footer .post-navigation,
.single-course .nav-previous,
.single-course .nav-next{
	display:none!important;
}



/* ============ LEKTIONS-NAVIGATION ============ */
/*
 * Eigene Academy-Navigation unter jeder Lektion. Sie ersetzt die wechselhafte
 * Standard-/Block-Navigation und bleibt deshalb in allen Modulen gleich sichtbar.
 */
.single-lesson .ha-lesson-navigation{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:18px;
	margin:34px 0 12px;
	padding-top:26px;
	border-top:1px solid rgba(249,245,238,.20);
}
.single-lesson .ha-lesson-navigation__left,
.single-lesson .ha-lesson-navigation__right{
	display:flex;
	min-width:0;
}
.single-lesson .ha-lesson-navigation__right{
	margin-left:auto;
}
.single-lesson .ha-lesson-nav-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:10px;
	min-height:48px;
	padding:12px 18px;
	border-radius:8px;
	font-weight:700;
	line-height:1.2;
	text-decoration:none!important;
	box-shadow:none!important;
	transition:transform .15s ease, filter .15s ease, background-color .15s ease;
}
.single-lesson .ha-lesson-nav-button:hover{
	transform:translateY(-1px);
	filter:brightness(1.04);
}
.single-lesson .ha-lesson-nav-button--primary{
	background:var(--ha-coral)!important;
	color:#0b1c2c!important;
	border:1px solid var(--ha-coral)!important;
}
.single-lesson .ha-lesson-nav-button--secondary{
	background:transparent!important;
	color:var(--ha-cream)!important;
	border:1px solid rgba(249,245,238,.34)!important;
}
.single-lesson .ha-lesson-nav-button--secondary:hover{
	background:rgba(249,245,238,.07)!important;
}

/* Falls in einzelnen alten Lektionen noch ein manueller LifterLMS-
 * "Lesson Navigation"-Block steckt, wird nur dieser alte Block ausgeblendet,
 * damit die neue Navigation nicht doppelt erscheint. */
.single-lesson .llms-lesson-navigation{
	display:none!important;
}

@media (max-width: 680px){
	.single-lesson .ha-lesson-navigation{
		flex-direction:column;
		align-items:stretch;
		gap:12px;
	}
	.single-lesson .ha-lesson-navigation__left,
	.single-lesson .ha-lesson-navigation__right,
	.single-lesson .ha-lesson-nav-button{
		width:100%;
	}
	.single-lesson .ha-lesson-navigation__right{
		margin-left:0;
	}
}

/* ============ KOSTENLOSE REGISTRIERUNG ============ */
/*
 * Helle Launch-/Registrierungsfläche auf dem dunklen Academy-Hintergrund.
 * Wird sowohl auf /kostenlos-registrieren/ als auch auf /gratis-kurs/ geladen.
 */
.ha-register-wrap{
	max-width:760px;
	margin:56px auto;
	padding:0 20px;
}
.ha-register-card{
	background:#f9f5ee;
	border:1px solid rgba(188,202,190,.9);
	border-radius:16px;
	padding:38px;
	color:#0b1c2c;
	box-shadow:0 18px 50px rgba(0,0,0,.20);
}
.ha-register-kicker{
	display:inline-block;
	font-size:12px;
	font-weight:800;
	letter-spacing:.12em;
	color:#4f6d7a;
	margin-bottom:10px;
}
.ha-register-card h1{
	margin:0 0 12px;
	color:#0b1c2c!important;
	font-size:clamp(28px,4vw,40px);
	line-height:1.12;
}
.ha-register-lead{
	margin:0 0 28px;
	color:#4f6d7a!important;
	font-size:17px;
	line-height:1.6;
}
.ha-register-form{
	display:grid;
	gap:16px;
}
.ha-register-form label{
	display:grid;
	gap:7px;
	font-weight:700;
	color:#0b1c2c!important;
}
.ha-register-form label span{
	font-weight:400;
	color:#4f6d7a!important;
}
.ha-register-form input[type="text"],
.ha-register-form input[type="email"],
.ha-register-form input[type="password"]{
	width:100%;
	box-sizing:border-box;
	background:#ffffff!important;
	color:#0b1c2c!important;
	border:1px solid #bccabe!important;
	border-radius:8px;
	padding:13px 14px;
	font-size:16px;
	box-shadow:none!important;
}
.ha-register-form input[type="text"]:focus,
.ha-register-form input[type="email"]:focus,
.ha-register-form input[type="password"]:focus{
	outline:none;
	border-color:#4f6d7a!important;
	box-shadow:0 0 0 3px rgba(188,202,190,.35)!important;
}
.ha-register-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:100%;
	box-sizing:border-box;
	background:#bccabe!important;
	color:#0b1c2c!important;
	border:1px solid #aabdb0!important;
	border-radius:8px;
	padding:14px 18px;
	font-weight:800;
	font-size:16px;
	text-decoration:none!important;
	cursor:pointer;
	transition:transform .15s ease,filter .15s ease;
}
.ha-register-button:hover{
	filter:brightness(.97);
	transform:translateY(-1px);
}
.ha-register-errors{
	background:rgba(255,145,102,.16);
	color:#0b1c2c!important;
	border:1px solid rgba(255,145,102,.75);
	border-radius:8px;
	padding:10px 14px;
	margin:0 0 20px;
}
.ha-register-errors p{margin:5px 0;color:#0b1c2c!important;}
.ha-register-login,
.ha-register-privacy{
	font-size:14px;
	line-height:1.5;
	margin:18px 0 0;
	color:#4f6d7a!important;
}
.ha-register-login a,
.ha-register-privacy a{
	color:#0b1c2c!important;
	font-weight:700;
	text-decoration:underline;
}
.ha-honeypot{
	position:absolute!important;
	left:-99999px!important;
	top:auto!important;
	width:1px!important;
	height:1px!important;
	overflow:hidden!important;
	clip:rect(0 0 0 0)!important;
	clip-path:inset(50%)!important;
	white-space:nowrap!important;
}
@media (max-width:640px){
	.ha-register-wrap{margin:28px auto;padding:0 14px;}
	.ha-register-card{padding:26px 20px;}
}

/* ============ MEINE KURSE: KURSKARTEN ============ */
/* LifterLMS liefert die eingeschriebenen Kurse im Dashboard standardmäßig
 * mit weißem Karteninhalt aus. Wir ziehen diese Karten in das Academy-Design,
 * ohne Bild, Kurslogik oder Links zu verändern. */
.llms-student-dashboard .llms-loop-list .llms-loop-item,
.llms-student-dashboard .llms-loop-list .llms-loop-item-content,
.llms-student-dashboard .llms-loop-item .llms-loop-item-content{
	background:var(--ha-petrol)!important;
	color:var(--ha-cream)!important;
	border-color:rgba(188,202,190,.28)!important;
}

.llms-student-dashboard .llms-loop-list .llms-loop-item{
	border:1px solid rgba(188,202,190,.28)!important;
	border-radius:12px!important;
	overflow:hidden!important;
	box-shadow:none!important;
}

.llms-student-dashboard .llms-loop-list .llms-loop-item-content{
	padding-bottom:16px!important;
}

.llms-student-dashboard .llms-loop-list .llms-loop-title,
.llms-student-dashboard .llms-loop-list .llms-loop-title a,
.llms-student-dashboard .llms-loop-list .llms-loop-item-content a,
.llms-student-dashboard .llms-loop-list .llms-meta,
.llms-student-dashboard .llms-loop-list .llms-meta-info,
.llms-student-dashboard .llms-loop-list .llms-meta-info span,
.llms-student-dashboard .llms-loop-list .llms-author,
.llms-student-dashboard .llms-loop-list .llms-author a,
.llms-student-dashboard .llms-loop-list .llms-loop-item-content p,
.llms-student-dashboard .llms-loop-list .llms-loop-item-content span{
	color:var(--ha-cream)!important;
}

.llms-student-dashboard .llms-loop-list .llms-loop-title,
.llms-student-dashboard .llms-loop-list .llms-loop-title a{
	font-weight:700!important;
}

.llms-student-dashboard .llms-loop-list .llms-loop-item-content a:hover{
	color:var(--ha-coral)!important;
}

/* ============ TABLET + MOBILE: LEKTIONS-TEXT ============ */
/*
 * Astra/LifterLMS kann auf echten Mobilgeräten eine abweichende Textfarbe bzw.
 * -webkit-text-fill-color setzen. Dadurch war normaler Lektionstext unsichtbar,
 * obwohl er im Customizer sichtbar war. Auf Tablet und Mobile erzwingen wir
 * deshalb nur für normalen Lektionstext die Academy-Dunkelfarbe.
 * Der persönliche Notizbereich ist ausdrücklich ausgenommen und behält seine
 * eigenen hellen Farben auf der dunklen Karte.
 */
@media (max-width:1024px){
	body.single-lesson .entry-content{
		color:#0b1c2c!important;
		-webkit-text-fill-color:#0b1c2c!important;
		opacity:1!important;
		visibility:visible!important;
	}

	body.single-lesson .entry-content p:not(.ha-lesson-notes *),
	body.single-lesson .entry-content li:not(.ha-lesson-notes *),
	body.single-lesson .entry-content strong:not(.ha-lesson-notes *),
	body.single-lesson .entry-content em:not(.ha-lesson-notes *),
	body.single-lesson .entry-content span:not(.ha-lesson-notes *){
		color:#0b1c2c!important;
		-webkit-text-fill-color:#0b1c2c!important;
		opacity:1!important;
		visibility:visible!important;
	}

	/* Notizkarte: eigene Farbwelt gegen geerbtes Mobile text-fill absichern. */
	body.single-lesson .entry-content .ha-lesson-notes{
		-webkit-text-fill-color:initial!important;
	}
	body.single-lesson .entry-content .ha-lesson-notes-kicker{
		color:#ff9166!important;
		-webkit-text-fill-color:#ff9166!important;
	}
	body.single-lesson .entry-content .ha-lesson-notes h2{
		color:#f3ede7!important;
		-webkit-text-fill-color:#f3ede7!important;
	}
	body.single-lesson .entry-content .ha-lesson-notes-help{
		color:#d9e1df!important;
		-webkit-text-fill-color:#d9e1df!important;
	}
	body.single-lesson .entry-content .ha-lesson-notes-autosave,
	body.single-lesson .entry-content .ha-lesson-notes-status{
		color:#bccabe!important;
		-webkit-text-fill-color:#bccabe!important;
	}
	body.single-lesson .entry-content .ha-lesson-notes-field{
		color:#0b1c2c!important;
		-webkit-text-fill-color:#0b1c2c!important;
	}
	body.single-lesson .entry-content .ha-lesson-notes-save{
		color:#0b1c2c!important;
		-webkit-text-fill-color:#0b1c2c!important;
	}
}

/* ===== Lesson notes / persönlicher Arbeitsplatz ===== */
.single-lesson .ha-lesson-notes{
  box-sizing:border-box;
  width:100%;
  margin:24px 0 26px;
  padding:22px 24px;
  background:#132b3d;
  border:1px solid rgba(188,202,190,.32);
  border-radius:10px;
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.single-lesson .ha-lesson-notes-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:8px;
}
.single-lesson .ha-lesson-notes-kicker{
  display:block;
  margin-bottom:4px;
  color:#ff9166;
  font-size:11px;
  font-weight:700;
  letter-spacing:.09em;
}
.single-lesson .ha-lesson-notes h2{
  margin:0;
  color:#f3ede7;
  font-size:22px;
  line-height:1.2;
}
.single-lesson .ha-lesson-notes-help{
  margin:0 0 14px;
  color:#d9e1df;
  font-size:14px;
  line-height:1.55;
}
.single-lesson .ha-lesson-notes-field{
  display:block;
  box-sizing:border-box;
  width:100%;
  min-height:150px;
  resize:vertical;
  padding:14px 15px;
  background:#f8f5f1;
  color:#0b1c2c;
  border:1px solid #bccabe;
  border-radius:7px;
  font:inherit;
  line-height:1.55;
  outline:none;
}
.single-lesson .ha-lesson-notes-field:focus{
  border-color:#ff9166;
  box-shadow:0 0 0 3px rgba(255,145,102,.16);
}
.single-lesson .ha-lesson-notes-actions{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:12px;
}
.single-lesson .ha-lesson-notes-save{
  appearance:none;
  border:0;
  border-radius:6px;
  padding:10px 16px;
  background:#ff9166;
  color:#0b1c2c;
  font-weight:700;
  cursor:pointer;
}
.single-lesson .ha-lesson-notes-save:hover{ filter:brightness(1.04); }
.single-lesson .ha-lesson-notes-save:disabled{ opacity:.65; cursor:wait; }
.single-lesson .ha-lesson-notes-autosave,
.single-lesson .ha-lesson-notes-status{
  color:#bccabe;
  font-size:12px;
}
.single-lesson .ha-lesson-notes-status[data-state="saving"]{ color:#f3ede7; }
.single-lesson .ha-lesson-notes-status[data-state="dirty"]{ color:#ffd2bf; }
.single-lesson .ha-lesson-notes-status[data-state="error"]{ color:#ffb6b6; }

@media (max-width:700px){
  .single-lesson .ha-lesson-notes{padding:18px 16px;}
  .single-lesson .ha-lesson-notes-head{display:block;}
  .single-lesson .ha-lesson-notes-status{display:block;margin-top:8px;}
  .single-lesson .ha-lesson-notes-actions{align-items:flex-start;flex-direction:column;gap:8px;}
}

/* ===== Kontextbezogenes Cross Selling ===== */
.single-lesson .ha-cross-sell{
  box-sizing:border-box;width:100%;margin:34px 0 26px;padding:24px;
  background:#102638;border:1px solid rgba(188,202,190,.32);border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,.12);
}
.single-lesson .ha-cross-sell__head{margin-bottom:18px;}
.single-lesson .ha-cross-sell__kicker{display:block;margin-bottom:5px;color:#ff9166!important;-webkit-text-fill-color:#ff9166!important;font-size:11px;font-weight:800;letter-spacing:.1em;}
.single-lesson .ha-cross-sell__head h2{margin:0 0 5px;color:#f3ede7!important;-webkit-text-fill-color:#f3ede7!important;font-size:23px;line-height:1.2;}
.single-lesson .ha-cross-sell__head p{margin:0;color:#bccabe!important;-webkit-text-fill-color:#bccabe!important;font-size:14px;}
.single-lesson .ha-cross-sell__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.single-lesson .ha-cross-sell__grid--1{grid-template-columns:minmax(0,1fr);max-width:620px;}
.single-lesson .ha-cross-sell__grid--3{grid-template-columns:repeat(3,minmax(0,1fr));}
.single-lesson .ha-cross-sell-card{display:flex;min-width:0;overflow:hidden;background:#f8f5f1;border:1px solid #bccabe;border-radius:10px;box-shadow:0 7px 18px rgba(0,0,0,.10);}
.single-lesson .ha-cross-sell-card__visual{flex:0 0 38%;display:flex;align-items:center;justify-content:center;padding:12px 4px 12px 10px;background:#f8f5f1;}
.single-lesson .ha-cross-sell-card__visual img{display:block;width:100%;height:auto;max-width:160px;object-fit:contain;}
.single-lesson .ha-cross-sell-card__content{display:flex;flex:1;min-width:0;flex-direction:column;padding:17px 17px 16px 8px;color:#0b1c2c!important;-webkit-text-fill-color:#0b1c2c!important;}
.single-lesson .ha-cross-sell-card__eyebrow{display:block;margin-bottom:5px;color:#4f6d7a!important;-webkit-text-fill-color:#4f6d7a!important;font-size:9px;font-weight:800;letter-spacing:.07em;line-height:1.3;}
.single-lesson .ha-cross-sell-card h3{margin:0 0 7px;color:#0b1c2c!important;-webkit-text-fill-color:#0b1c2c!important;font-size:17px;line-height:1.22;}
.single-lesson .ha-cross-sell-card p{margin:0 0 9px;color:#0b1c2c!important;-webkit-text-fill-color:#0b1c2c!important;font-size:12.5px;line-height:1.45;}
.single-lesson .ha-cross-sell-card ul{margin:0 0 13px;padding:0;list-style:none;}
.single-lesson .ha-cross-sell-card li{position:relative;margin:0 0 4px;padding-left:17px;color:#0b1c2c!important;-webkit-text-fill-color:#0b1c2c!important;font-size:11.5px;line-height:1.35;}
.single-lesson .ha-cross-sell-card li:before{content:'✓';position:absolute;left:0;top:0;color:#ff9166;font-weight:900;}
.single-lesson .ha-cross-sell-card__button{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-top:auto;padding:10px 12px;border-radius:7px;background:#ff9166;color:#0b1c2c!important;-webkit-text-fill-color:#0b1c2c!important;text-decoration:none!important;font-size:12px;font-weight:800;line-height:1;}
.single-lesson .ha-cross-sell-card__button:hover{filter:brightness(1.04);transform:translateY(-1px);}
.single-lesson .ha-cross-sell__grid--3 .ha-cross-sell-card{display:block;}
.single-lesson .ha-cross-sell__grid--3 .ha-cross-sell-card__visual{padding:10px 10px 0;}
.single-lesson .ha-cross-sell__grid--3 .ha-cross-sell-card__visual img{max-width:135px;}
.single-lesson .ha-cross-sell__grid--3 .ha-cross-sell-card__content{padding:10px 15px 15px;}
@media (max-width:900px){
  .single-lesson .ha-cross-sell__grid,.single-lesson .ha-cross-sell__grid--3{grid-template-columns:1fr;}
  .single-lesson .ha-cross-sell__grid--3 .ha-cross-sell-card{display:flex;}
  .single-lesson .ha-cross-sell__grid--3 .ha-cross-sell-card__visual{padding:12px 4px 12px 10px;}
  .single-lesson .ha-cross-sell__grid--3 .ha-cross-sell-card__content{padding:17px 17px 16px 8px;}
}
@media (max-width:560px){
  .single-lesson .ha-cross-sell{padding:18px 14px;}
  .single-lesson .ha-cross-sell-card{display:block!important;}
  .single-lesson .ha-cross-sell-card__visual{padding:12px 12px 0!important;}
  .single-lesson .ha-cross-sell-card__visual img{max-width:145px!important;}
  .single-lesson .ha-cross-sell-card__content{padding:12px 16px 16px!important;}
}
