/* Zwei-Klick-Platzhalter – nutzt die Farben des Themes, wenn vorhanden. */
.lehrer-consent {
	background: var(--surface, #F6F7F8);
	border: 1px solid var(--line, #E5E5E5);
	border-radius: var(--radius-card, 6px);
	padding: 20px 22px;
	margin: 0;
	color: var(--text, #1F2A33);
	font-size: 15px;
}
.lehrer-consent--video {
	position: relative;
	padding: 0;
	aspect-ratio: auto;
}
.lehrer-consent--video::before {
	content: "";
	display: block;
	padding-top: var(--lehrer-ratio, 56.25%);
}
.lehrer-consent--video .lehrer-consent__box {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 20px 24px;
	background: var(--navy, #00395F);
	color: #fff;
	border-radius: inherit;
}
.lehrer-consent--video .lehrer-consent__text,
.lehrer-consent--video .lehrer-consent__remember { color: #D6E2EC; }
.lehrer-consent--video a { color: #fff; }
.lehrer-consent__box > p { margin: 0 0 10px; }
.lehrer-consent__title { font-weight: 700; color: inherit; }
.lehrer-consent__text { font-size: 14px; color: var(--muted, #4A5560); }
.lehrer-consent__actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.lehrer-consent__load,
.lehrer-consent-reset button {
	min-height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--radius, 4px);
	background: var(--yellow, #FBBC41);
	color: var(--navy, #00395F);
	font: 700 15px/1.2 inherit;
	font-family: inherit;
	cursor: pointer;
}
.lehrer-consent__load:hover { background: var(--yellow-dark, #F5A800); }
.lehrer-consent__direct { font-weight: 600; font-size: 14px; }
.lehrer-consent__remember { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted, #4A5560); cursor: pointer; }
.lehrer-consent__remember input { width: 18px; height: 18px; margin: 0; }
.lehrer-consent-loaded.lehrer-consent--video { position: relative; }
.lehrer-consent-loaded.lehrer-consent--video::before { content: ""; display: block; padding-top: var(--lehrer-ratio, 56.25%); }
.lehrer-consent-loaded.lehrer-consent--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius-card, 6px); }
.lehrer-consent-loaded iframe { max-width: 100%; }
/* Cookie-Banner */
.lehrer-cookie {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1000;
	display: flex;
	justify-content: center;
}
.lehrer-cookie[hidden] { display: none; }
.lehrer-cookie__inner {
	max-width: 760px;
	width: 100%;
	background: #fff;
	color: var(--text, #1F2A33);
	border-top: 4px solid var(--yellow, #FBBC41);
	border-radius: var(--radius-card, 6px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
	padding: 20px 24px;
	font-size: 15px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
}
.lehrer-cookie__inner > * { margin: 0 0 12px; }
.lehrer-cookie__title { font-family: var(--font-head, inherit); font-weight: 700; font-size: 20px; color: var(--navy, #00395F); }
.lehrer-cookie__text { font-size: 14px; color: var(--muted, #4A5560); }
.lehrer-cookie__choices { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.lehrer-cookie__choices label { display: inline-flex; gap: 8px; align-items: center; min-height: 32px; font-weight: 600; cursor: pointer; }
.lehrer-cookie__choices input { width: 18px; height: 18px; margin: 0; }
.lehrer-cookie__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 0; }
.lehrer-cookie__buttons button {
	flex: 1 1 180px;
	min-height: 46px;
	border-radius: var(--radius, 4px);
	border: 2px solid var(--navy, #00395F);
	background: var(--navy, #00395F);
	color: #fff;
	font: 700 15px/1.2 var(--font-body, inherit);
	cursor: pointer;
}
.lehrer-cookie__buttons [data-cookie-action="save"] { background: #fff; color: var(--navy, #00395F); }

/* WordPress' eigenes 16:9-Polster im Embed-Block abschalten – das Seitenverhältnis kommt vom Platzhalter. */
.wp-block-embed__wrapper:has(> .lehrer-consent)::before,
.wp-block-embed__wrapper:has(> .lehrer-consent-loaded)::before,
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:has(> .lehrer-consent)::before,
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:has(> .lehrer-consent-loaded)::before { content: none; padding: 0; }
