/* Echt oder Fake? – Trainer. Nur Tokens aus osw-website (var(--os-…)),
   bestehende Klassen osw-btn, osw-actions, osw-eyebrow werden genutzt.
   Ornament: der Schrägschnitt (−12°) im Startband, im Fortschritt und
   im Stempel der Auflösung. */

.osw-ef {
	--ef-rot: var(--os-red, #e2001a);
	--ef-schwarz: var(--os-black, #1a1a1a);
	--ef-text: var(--os-text, #2b2b2b);
	--ef-papier: var(--os-paper, #fff);
	--ef-ruhig: var(--os-mute, #f8f9fa);
	--ef-linie: var(--os-border, #e5e5e5);
	--ef-leise: var(--os-soft, #6f6f6f);
	--ef-gruen: var(--os-green-deep, #1d7a3e);
	--ef-gruen-hell: var(--os-green-tint, #f1f9f3);
	--ef-rot-hell: var(--os-red-tint, #fff5f6);
	--ef-schraeg: var(--os-skew, -12deg);
	--ef-radius: var(--os-radius, 4px);
	--ef-kopf: var(--os-font-head, Arial, Helvetica, sans-serif);
	max-width: 1180px;
	margin: 0 auto;
	color: var(--ef-text);
}

.osw-ef *,
.osw-ef *::before,
.osw-ef *::after {
	box-sizing: border-box;
}

.osw-ef__laden {
	color: var(--ef-leise);
}

.osw-ef__spiel {
	scroll-margin-top: 150px;
}

/* Start */

.osw-ef__start {
	position: relative;
	padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px);
	border-radius: var(--ef-radius);
	background: var(--ef-schwarz);
	color: #fff;
	overflow: hidden;
}

.osw-ef__startband {
	position: absolute;
	right: -60px;
	top: -20px;
	bottom: -20px;
	width: min(34%, 340px);
	display: flex;
	gap: 22px;
	transform: skewX(var(--ef-schraeg));
	pointer-events: none;
}

.osw-ef__startband::before,
.osw-ef__startband::after {
	content: "";
	flex: 1;
	background: var(--ef-rot);
}

.osw-ef__startband::after {
	background: #fff;
	opacity: .1;
}

.osw-ef__start .osw-eyebrow {
	position: relative;
	color: #ff3347;
}

.osw-ef__starttitel {
	position: relative;
	margin: 10px 0 0;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: clamp(2.4rem, 7vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: -.022em;
	color: #fff;
	max-width: 12ch;
}

.osw-ef__starttitel em {
	font-style: normal;
	color: #ff3347;
}

.osw-ef__start .osw-ef__lead {
	position: relative;
	color: rgba(255, 255, 255, .78);
	max-width: 52ch;
}

.osw-ef__start .osw-actions {
	position: relative;
}

.osw-ef__lead {
	margin: 18px 0 0;
	font-size: clamp(1.02rem, 1.6vw, 1.18rem);
	line-height: 1.55;
	color: var(--ef-leise);
	max-width: 62ch;
}

.osw-ef__klein {
	position: relative;
	margin: 30px 0 10px;
	font-size: .82rem;
	color: rgba(255, 255, 255, .6);
	text-transform: uppercase;
	letter-spacing: .14em;
	font-family: var(--ef-kopf);
	font-weight: 700;
}

.osw-ef__seite .osw-ef__klein {
	color: var(--ef-leise);
	margin: 18px 0 8px;
}

.osw-ef__vier {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: v;
	max-width: 900px;
}

.osw-ef__vier li {
	counter-increment: v;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--ef-radius);
}

.osw-ef__vier li::before {
	content: counter(v);
	display: block;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: 1.5rem;
	color: #ff3347;
	line-height: 1;
	margin-bottom: 6px;
}

.osw-ef__vier b {
	display: block;
	font-family: var(--ef-kopf);
	font-weight: 700;
	color: #fff;
}

.osw-ef__vier span {
	font-size: .86rem;
	color: rgba(255, 255, 255, .62);
}

/* Runde */

.osw-ef__kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.osw-ef__fortschritt {
	display: flex;
	gap: 5px;
}

.osw-ef__fortschritt i {
	display: block;
	width: 12px;
	height: 22px;
	background: var(--ef-linie);
	transform: skewX(var(--ef-schraeg));
}

.osw-ef__fortschritt i.ist-jetzt {
	background: var(--ef-schwarz);
}

.osw-ef__fortschritt i.ist-richtig {
	background: var(--ef-gruen);
}

.osw-ef__fortschritt i.ist-falsch {
	background: var(--ef-rot);
}

.osw-ef__spalten {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
	gap: clamp(18px, 3vw, 40px);
	align-items: start;
}

@media (max-width: 860px) {
	.osw-ef__spalten {
		grid-template-columns: 1fr;
	}
}

/* Karte */

.osw-ef__karte {
	position: relative;
	margin: 0;
	animation: osw-ef-rein .45s cubic-bezier(.2, .8, .2, 1) both;
}

.osw-ef__karte--beitrag,
.osw-ef__karte--schlagzeile {
	padding: 22px 24px;
	border: 1px solid var(--ef-linie);
	border-radius: 12px;
	background: var(--ef-papier);
	overflow: hidden;
}

.osw-ef__konto {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.osw-ef__konto b {
	display: block;
	font-family: var(--ef-kopf);
	font-weight: 700;
	color: var(--ef-schwarz);
	line-height: 1.2;
}

.osw-ef__konto small {
	color: var(--ef-leise);
	font-size: .8rem;
}

.osw-ef__avatar {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ef-schwarz);
	color: #fff;
	font-family: var(--ef-kopf);
	font-weight: 700;
}

.osw-ef__text {
	margin: 0 0 14px;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	line-height: 1.32;
	color: var(--ef-schwarz);
}

.osw-ef__karte--schlagzeile .osw-ef__text {
	font-size: clamp(1.5rem, 3.2vw, 2.3rem);
	line-height: 1.12;
	letter-spacing: -.012em;
	margin-bottom: 4px;
}

.osw-ef__rahmen {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	background: #000;
}

.osw-ef__karte--beitrag .osw-ef__rahmen {
	margin: 0 -24px -22px;
	border-radius: 0;
}

.osw-ef__rahmen {
	display: flex;
	justify-content: center;
}

.osw-ef__bildbox {
	position: relative;
	max-width: 100%;
}

.osw-ef__rahmen img {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 70vh;
}

.osw-ef__lupe {
	position: absolute;
	right: 10px;
	top: 10px;
	min-height: 36px;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	background: rgba(20, 20, 20, .72);
	color: #fff;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: .8rem;
	cursor: zoom-in;
}

.osw-ef__lupe:hover {
	background: var(--ef-schwarz);
}

.osw-ef__lupe:focus-visible,
.osw-ef__knopf:focus-visible,
.osw-ef__sicherwahl button:focus-visible,
.osw-ef__zu:focus-visible {
	outline: 3px solid var(--ef-rot);
	outline-offset: 3px;
}

.osw-ef__bildzeile {
	margin-top: 10px;
	font-size: .95rem;
	color: var(--ef-leise);
}

.osw-ef__stempel {
	position: absolute;
	left: 50%;
	top: 50%;
	padding: 8px 34px;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: clamp(2.2rem, 6vw, 4rem);
	line-height: 1;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) skewX(var(--ef-schraeg)) rotate(-6deg) scale(2.2);
}

.ist-aufgeloest .osw-ef__stempel {
	animation: osw-ef-stempel .6s cubic-bezier(.3, 1.5, .4, 1) both, osw-ef-stempel-weg .5s ease 2.2s forwards;
}

.ist-echt .osw-ef__stempel {
	background: var(--ef-gruen);
}

.ist-fake .osw-ef__stempel {
	background: var(--ef-rot);
}

.osw-ef__pins {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.osw-ef__pin {
	position: absolute;
	transform: translate(-50%, -50%);
	animation: osw-ef-pin .45s cubic-bezier(.2, .9, .2, 1.4) both;
	animation-delay: calc(2.6s + var(--i, 0) * .35s);
}

.osw-ef__pin b {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ef-rot);
	color: #fff;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: .9rem;
	box-shadow: 0 0 0 5px rgba(226, 0, 26, .3);
}

.ist-echt .osw-ef__pin b {
	background: var(--ef-gruen);
	box-shadow: 0 0 0 5px rgba(29, 122, 62, .3);
}

.osw-ef__ki {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 5px 10px;
	border-radius: var(--ef-radius);
	background: var(--ef-rot);
	color: #fff;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: .76rem;
	animation: osw-ef-rein .4s ease 2.4s both;
}

/* Seite: wählen und auflösen */

.osw-ef__frage {
	margin: 0 0 14px;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	color: var(--ef-schwarz);
}

.osw-ef__wahl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.osw-ef__knopf {
	min-height: 86px;
	border: 2px solid var(--ef-linie);
	border-radius: 10px;
	background: var(--ef-papier);
	color: var(--ef-schwarz);
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: 1.5rem;
	cursor: pointer;
	transition: transform .12s ease, border-color .15s ease, background .15s ease;
}

@media (hover: hover) {
	.osw-ef__knopf:hover {
		border-color: var(--ef-schwarz);
	}
}

.osw-ef__knopf:active {
	transform: scale(.97);
}

.osw-ef__knopf[aria-pressed="true"] {
	border-color: var(--ef-schwarz);
	background: var(--ef-schwarz);
	color: #fff;
}

.osw-ef__knopf--fake[aria-pressed="true"] {
	border-color: var(--ef-rot);
	background: var(--ef-rot);
}

.osw-ef__sicher {
	margin-top: 18px;
	animation: osw-ef-rein .3s ease both;
}

.osw-ef__sicher p {
	margin: 0 0 8px;
	color: var(--ef-leise);
	font-size: .95rem;
}

.osw-ef__sicherwahl {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.osw-ef__sicherwahl button {
	min-height: 48px;
	border: 2px solid var(--ef-linie);
	border-radius: 999px;
	background: var(--ef-papier);
	color: var(--ef-schwarz);
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: .92rem;
	cursor: pointer;
}

@media (hover: hover) {
	.osw-ef__sicherwahl button:hover {
		border-color: var(--ef-rot);
		color: var(--ef-rot);
	}
}

.osw-ef__urteil {
	padding: 18px 20px;
	border-radius: 10px;
	color: #fff;
	animation: osw-ef-urteil .55s cubic-bezier(.2, .9, .2, 1.2) .15s both;
}

.osw-ef__urteil.ist-richtig {
	background: var(--ef-gruen);
}

.osw-ef__urteil.ist-falsch {
	background: var(--ef-rot);
}

.osw-ef__urteil h3 {
	margin: 0 0 6px;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: 1.45rem;
	color: #fff;
}

.osw-ef__urteil p {
	margin: 0;
	color: rgba(255, 255, 255, .94);
	line-height: 1.5;
}

.osw-ef__merkmale {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: m;
	display: grid;
	gap: 8px;
}

.osw-ef__merkmale li {
	position: relative;
	padding-left: 36px;
	counter-increment: m;
}

.osw-ef__merkmale li::before {
	content: counter(m);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ef-rot);
	color: #fff;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: .8rem;
}

.osw-ef__pruefen {
	margin: 18px 0 0;
	padding: 12px 14px;
	border-left: 4px solid var(--ef-schwarz);
	background: var(--ef-ruhig);
	border-radius: 0 var(--ef-radius) var(--ef-radius) 0;
}

.osw-ef__pruefen b {
	font-family: var(--ef-kopf);
	font-weight: 700;
	color: var(--ef-schwarz);
}

.osw-ef__statistik {
	margin: 14px 0 0;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: .95rem;
	color: var(--ef-schwarz);
}

.osw-ef__statistik:empty {
	display: none;
}

.osw-ef__quelle {
	margin: 12px 0 0;
	font-size: .8rem;
	color: var(--ef-leise);
	word-break: break-word;
}

.osw-ef__quelle a {
	color: inherit;
}

/* Bilanz */

.osw-ef__bilanz {
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--ef-linie);
	border-top: 4px solid var(--ef-rot);
	border-radius: var(--ef-radius);
	background: var(--ef-papier);
}

.osw-ef__zahl {
	margin: 6px 0 0;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: clamp(3.4rem, 9vw, 5.6rem);
	line-height: 1;
	color: var(--ef-schwarz);
}

.osw-ef__zahl span {
	font-size: .3em;
	color: var(--ef-leise);
}

.osw-ef__liste {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.osw-ef__liste li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid var(--ef-linie);
	border-left: 4px solid var(--ef-gruen);
	border-radius: 0 var(--ef-radius) var(--ef-radius) 0;
}

.osw-ef__liste li.ist-falsch {
	border-left-color: var(--ef-rot);
}

.osw-ef__liste img,
.osw-ef__ohnebild {
	flex: 0 0 auto;
	width: 56px;
	height: 42px;
	object-fit: cover;
	border-radius: 3px;
}

.osw-ef__ohnebild {
	display: grid;
	place-items: center;
	background: var(--ef-schwarz);
	color: #fff;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: .72rem;
}

.osw-ef__liste b {
	display: block;
	overflow-wrap: anywhere;
	hyphens: auto;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: .92rem;
	color: var(--ef-schwarz);
	line-height: 1.2;
}

.osw-ef__liste small {
	color: var(--ef-leise);
	font-size: .8rem;
}

/* Lupe */

.osw-ef__gross {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	overflow: auto;
	background: rgba(0, 0, 0, .94);
}

.osw-ef__gross img {
	max-width: 96vw;
	max-height: 92vh;
	cursor: zoom-in;
}

.osw-ef__gross.ist-zoom {
	display: block;
}

.osw-ef__gross.ist-zoom img {
	max-width: none;
	max-height: none;
	width: 240vw;
	cursor: zoom-out;
}

.osw-ef__zu {
	position: fixed;
	right: 16px;
	top: 16px;
	z-index: 1;
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--ef-schwarz);
	font-family: var(--ef-kopf);
	font-weight: 700;
	cursor: pointer;
}

/* Lektion für Lehrpersonen */

.osw-ef__lektion {
	margin-top: clamp(40px, 6vw, 72px);
	padding-top: clamp(28px, 4vw, 40px);
	border-top: 1px solid var(--ef-linie);
}

.osw-ef__lektion h2 {
	margin: 6px 0 0;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	color: var(--ef-schwarz);
}

.osw-ef__schritte {
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: s;
	display: grid;
	gap: 10px;
	max-width: 76ch;
}

.osw-ef__schritte li {
	position: relative;
	padding: 12px 14px 12px 52px;
	border-left: 4px solid var(--ef-rot);
	background: var(--ef-ruhig);
	border-radius: 0 var(--ef-radius) var(--ef-radius) 0;
	counter-increment: s;
}

.osw-ef__schritte li::before {
	content: counter(s);
	position: absolute;
	left: 16px;
	top: 10px;
	font-family: var(--ef-kopf);
	font-weight: 700;
	font-size: 1.3rem;
	color: var(--ef-rot);
}

.osw-ef__schritte b {
	font-family: var(--ef-kopf);
	font-weight: 700;
	color: var(--ef-schwarz);
}

.osw-ef__fein {
	margin: 14px 0 0;
	font-size: .92rem;
	color: var(--ef-leise);
}

/* Prüfkarte drucken */

.osw-ef-druck {
	display: none;
}

@media print {
	body.osw-ef-drucken > *:not(.osw-ef-druck) {
		display: none !important;
	}

	body.osw-ef-drucken .osw-ef-druck {
		display: block;
		font-family: Arial, Helvetica, sans-serif;
		color: #1a1a1a;
		padding: 10mm;
		border-top: 4mm solid #e2001a;
	}

	.osw-ef-druck h1 {
		font-size: 22pt;
		margin: 2mm 0 6mm;
	}

	.osw-ef-druck h2 {
		font-size: 14pt;
		margin: 8mm 0 3mm;
	}

	.osw-ef-druck__eyebrow {
		font-size: 9pt;
		letter-spacing: .16em;
		text-transform: uppercase;
		color: #e2001a;
		margin: 0;
	}

	.osw-ef-druck__vier {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4mm;
		padding: 0;
		list-style: none;
		counter-reset: v;
	}

	.osw-ef-druck__vier li {
		counter-increment: v;
		border: .4mm solid #999;
		padding: 4mm;
	}

	.osw-ef-druck__vier li::before {
		content: counter(v);
		display: block;
		font-size: 18pt;
		font-weight: 700;
		color: #e2001a;
	}

	.osw-ef-druck__vier b {
		display: block;
		font-size: 12pt;
	}

	.osw-ef-druck li {
		font-size: 11pt;
		margin-bottom: 2mm;
	}

	.osw-ef-druck__linie {
		border-bottom: .3mm solid #999;
		height: 9mm;
		margin: 0;
	}

	.osw-ef-druck__fuss {
		margin-top: 8mm;
		font-weight: 700;
		font-size: 13pt;
	}
}

/* Bewegung */

@keyframes osw-ef-rein {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

@keyframes osw-ef-urteil {
	from { opacity: 0; transform: translateY(10px) scale(.97); }
	to { opacity: 1; transform: none; }
}

@keyframes osw-ef-stempel {
	from { opacity: 0; transform: translate(-50%, -50%) skewX(-12deg) rotate(-6deg) scale(2.2); }
	to { opacity: 1; transform: translate(-50%, -50%) skewX(-12deg) rotate(-6deg) scale(1); }
}

@keyframes osw-ef-stempel-weg {
	to { opacity: 0; }
}

@keyframes osw-ef-pin {
	from { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
	to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.osw-ef *,
	.osw-ef *::before,
	.osw-ef *::after {
		animation-duration: .01ms !important;
		animation-delay: 0s !important;
		transition-duration: .01ms !important;
	}
}
