/* wie-schmeckt.de – Quiz-Modul */

.wsq {
	--wsq-ink: #1d1b1a;
	--wsq-muted: #6b6560;
	--wsq-line: #e7e1d8;
	--wsq-surface: #ffffff;
	--wsq-tint: #fbf7f1;
	--wsq-accent: #e1523d;
	--wsq-accent-dark: #b93a28;
	--wsq-ok: #1e8e5a;
	--wsq-ok-tint: #e8f6ee;
	--wsq-no: #d64545;
	--wsq-no-tint: #fdedec;
	--wsq-radius: 18px;

	max-width: 660px;
	margin: 34px auto;
	padding: 0;
	background: var(--wsq-surface);
	border: 1px solid var(--wsq-line);
	border-radius: var(--wsq-radius);
	box-shadow: 0 10px 30px rgba(29, 27, 26, .07);
	color: var(--wsq-ink);
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	overflow: hidden;
	-webkit-text-size-adjust: 100%;
}

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

.wsq p {
	margin: 0 0 14px;
}

.wsq__screen {
	padding: 28px 26px 26px;
}

.wsq [hidden] {
	display: none !important;
}

/* --- Startansicht --- */

.wsq__kicker {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--wsq-accent);
}

.wsq__title {
	margin: 0 0 12px;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--wsq-ink);
}

.wsq__intro {
	color: var(--wsq-muted);
	font-size: 16.5px;
}

.wsq__meta {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
}

.wsq__meta li {
	margin: 0;
	padding: 5px 12px;
	background: var(--wsq-tint);
	border: 1px solid var(--wsq-line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wsq-muted);
}

.wsq__challenge {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	padding: 12px 14px;
	background: var(--wsq-tint);
	border: 1px dashed var(--wsq-accent);
	border-radius: 12px;
	font-size: 15px;
}

.wsq__challenge-badge {
	flex: none;
	padding: 6px 11px;
	background: var(--wsq-accent);
	border-radius: 9px;
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	white-space: nowrap;
}

.wsq__players {
	margin: 14px 0 0;
	font-size: 13.5px;
	color: var(--wsq-muted);
}

/* --- Buttons --- */

.wsq__btn {
	display: inline-block;
	width: 100%;
	margin: 0;
	padding: 15px 22px;
	background: var(--wsq-tint);
	border: 1px solid var(--wsq-line);
	border-radius: 12px;
	color: var(--wsq-ink);
	font: inherit;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, transform .1s ease;
}

.wsq__btn:hover {
	background: #f3ece2;
}

.wsq__btn:active {
	transform: translateY(1px);
}

.wsq__btn--primary,
.wsq__btn--primary:hover {
	background: var(--wsq-accent);
	border-color: var(--wsq-accent);
	color: #fff;
	font-size: 17px;
}

.wsq__btn--primary:hover {
	background: var(--wsq-accent-dark);
	border-color: var(--wsq-accent-dark);
}

.wsq__btn:focus-visible {
	outline: 3px solid #1d1b1a;
	outline-offset: 2px;
}

/* --- Fortschritt --- */

.wsq__bar {
	height: 5px;
	margin: -28px -26px 16px;
	background: var(--wsq-line);
}

.wsq__bar-fill {
	height: 100%;
	width: 0;
	background: var(--wsq-accent);
	transition: width .35s cubic-bezier(.22, .61, .36, 1);
}

.wsq__status {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--wsq-muted);
}

.wsq__score {
	color: var(--wsq-accent);
}

/* --- Frage --- */

/*
 * Kein aspect-ratio-Kasten mit overflow:hidden: Browser ohne aspect-ratio
 * (aeltere iOS-Safari) bekommen dann eine Figur mit Hoehe 0 und das Bild ist
 * unsichtbar. Das Bild bringt seine Masse per width/height-Attribut selbst mit,
 * damit reserviert der Browser den Platz auch vor dem Laden.
 */
.wsq__figure {
	position: relative;
	margin: 0 0 18px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--wsq-tint);
	min-height: 60px;
}

.wsq__figure img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100%;
	margin: 0;
	opacity: 1 !important;
	visibility: visible !important;
	object-fit: cover;
	transform: none !important;
	filter: none !important;
	clip-path: none !important;
}

.wsq__question {
	margin: 0 0 16px;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 800;
}

.wsq__options {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wsq__option {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 13px 15px;
	background: var(--wsq-surface);
	border: 1.5px solid var(--wsq-line);
	border-radius: 12px;
	color: var(--wsq-ink);
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

.wsq__option:hover:not([disabled]) {
	border-color: var(--wsq-accent);
	background: var(--wsq-tint);
}

.wsq__option[disabled] {
	cursor: default;
	opacity: .72;
}

.wsq__option-key {
	flex: none;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	background: var(--wsq-tint);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 800;
	color: var(--wsq-muted);
}

.wsq__option.is-correct {
	border-color: var(--wsq-ok);
	background: var(--wsq-ok-tint);
	opacity: 1;
}

.wsq__option.is-correct .wsq__option-key {
	background: var(--wsq-ok);
	color: #fff;
}

.wsq__option.is-wrong {
	border-color: var(--wsq-no);
	background: var(--wsq-no-tint);
	opacity: 1;
}

.wsq__option.is-wrong .wsq__option-key {
	background: var(--wsq-no);
	color: #fff;
}

/* --- Auflösung --- */

.wsq__reveal {
	margin-top: 16px;
	padding: 16px 16px 6px;
	background: var(--wsq-tint);
	border-radius: 13px;
	border-left: 4px solid var(--wsq-accent);
	animation: wsq-in .25s ease;
}

.wsq__reveal.is-correct {
	border-left-color: var(--wsq-ok);
}

.wsq__reveal-head {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--wsq-no);
}

.wsq__reveal.is-correct .wsq__reveal-head {
	color: var(--wsq-ok);
}

.wsq__reveal p {
	font-size: 15.5px;
}

.wsq__reveal a {
	color: var(--wsq-accent-dark);
	font-weight: 700;
}

.wsq__next {
	margin-top: 14px;
}

@keyframes wsq-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

/* --- Ergebnis --- */

.wsq__result {
	text-align: center;
}

.wsq__ring {
	position: relative;
	width: 132px;
	height: 132px;
	margin: 4px auto 16px;
}

.wsq__ring svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.wsq__ring-track {
	fill: none;
	stroke: var(--wsq-line);
	stroke-width: 10;
}

.wsq__ring-value {
	fill: none;
	stroke: var(--wsq-accent);
	stroke-width: 10;
	stroke-linecap: round;
	transition: stroke-dashoffset 1s cubic-bezier(.22, .61, .36, 1);
}

.wsq__ring-label {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.wsq__ring-label small {
	font-size: 15px;
	font-weight: 700;
	color: var(--wsq-muted);
}

.wsq__rank {
	margin: 0 0 8px;
	font-size: 26px;
	line-height: 1.25;
	font-weight: 800;
}

.wsq__rank-text {
	max-width: 460px;
	margin: 0 auto 16px;
	color: var(--wsq-muted);
}

.wsq__stat {
	display: inline-block;
	margin: 0 0 22px;
	padding: 9px 16px;
	background: var(--wsq-tint);
	border: 1px solid var(--wsq-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
}

.wsq__stat strong {
	color: var(--wsq-accent);
}

/* --- Teilen --- */

.wsq__share {
	margin: 0 0 20px;
	padding: 20px 18px;
	background: var(--wsq-tint);
	border: 1px solid var(--wsq-line);
	border-radius: 14px;
}

.wsq__share-head {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 800;
}

.wsq__share-sub {
	margin: 0 0 14px;
	font-size: 14.5px;
	color: var(--wsq-muted);
}

.wsq__share-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
	gap: 9px;
}

.wsq__share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 10px;
	background: var(--wsq-surface);
	border: 1px solid var(--wsq-line);
	border-radius: 11px;
	color: var(--wsq-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .15s ease;
}

.wsq__share-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(29, 27, 26, .1);
	color: var(--wsq-ink);
}

.wsq__share-btn svg {
	width: 18px;
	height: 18px;
	flex: none;
	fill: currentColor;
}

.wsq__share-btn--native {
	grid-column: 1 / -1;
	background: var(--wsq-accent);
	border-color: var(--wsq-accent);
	color: #fff;
	font-size: 16px;
	padding: 14px;
}

.wsq__share-btn--native:hover {
	background: var(--wsq-accent-dark);
	color: #fff;
}

.wsq__share-btn--whatsapp { color: #128c40; }
.wsq__share-btn--telegram { color: #1d8dc4; }
.wsq__share-btn--facebook { color: #385898; }
.wsq__share-btn--x        { color: #1d1b1a; }

.wsq__copy-note {
	margin: 10px 0 0;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--wsq-ok);
}

/* --- Auflösungen / Weiterlesen --- */

.wsq__solutions {
	margin: 0 0 18px;
	padding: 0;
	text-align: left;
}

.wsq__solutions-head {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wsq-muted);
}

.wsq__solutions ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.wsq__solutions li {
	display: flex;
	align-items: baseline;
	gap: 9px;
	margin: 0;
	padding: 8px 11px;
	background: var(--wsq-tint);
	border-radius: 9px;
	font-size: 14.5px;
}

.wsq__solutions .wsq-mark {
	flex: none;
	font-weight: 800;
	color: var(--wsq-ok);
}

.wsq__solutions .wsq-mark--no {
	color: var(--wsq-no);
}

.wsq__solutions a {
	color: var(--wsq-ink);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--wsq-line);
	text-underline-offset: 3px;
}

.wsq__solutions a:hover {
	color: var(--wsq-accent-dark);
}

.wsq__again {
	margin-top: 4px;
}

.wsq__foot {
	margin: 0;
	padding: 12px 26px 14px;
	border-top: 1px solid var(--wsq-line);
	background: var(--wsq-tint);
	font-size: 12px;
	color: var(--wsq-muted);
	text-align: center;
}

@media (max-width: 560px) {
	.wsq__screen { padding: 22px 18px 20px; }
	.wsq__bar { margin: -22px -18px 14px; }
	.wsq__title { font-size: 25px; }
	.wsq__question { font-size: 19px; }
	.wsq__rank { font-size: 22px; }
	.wsq__foot { padding: 11px 18px 12px; }
}

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

/* Absicherung gegen Theme-Regeln, die in den Beitragsinhalt hineingreifen */

.wsq h2,
.wsq h3 {
	font-family: inherit;
	padding: 0;
	border: 0;
	background: none;
	text-transform: none;
}

.wsq img {
	max-width: 100%;
	border-radius: 0;
	box-shadow: none;
}

.wsq__options li,
.wsq__meta li,
.wsq__solutions li {
	list-style: none;
	background-image: none;
}

.wsq__options li {
	margin: 0;
	padding: 0;
	background: none;
}

.wsq ul {
	list-style: none;
}

.wsq button {
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
	min-height: 0;
}

.wsq a,
.wsq a:hover,
.wsq a:focus {
	box-shadow: none;
}


/* --- Weitere Quizze --- */

.wsq__more {
	margin: 0 0 18px;
	text-align: left;
}

.wsq__more-head {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wsq-muted);
}

.wsq__more-card {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	padding: 10px;
	background: var(--wsq-surface);
	border: 1px solid var(--wsq-line);
	border-radius: 12px;
	color: var(--wsq-ink);
	text-decoration: none;
	transition: border-color .15s ease, transform .12s ease;
}

.wsq__more-card:hover {
	border-color: var(--wsq-accent);
	transform: translateY(-1px);
	color: var(--wsq-ink);
}

.wsq__more-thumb {
	flex: none;
	width: 74px;
	height: 56px;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
}

.wsq__more-text {
	display: block;
	min-width: 0;
}

.wsq__more-text small {
	display: block;
	margin-bottom: 2px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wsq-accent);
}

.wsq__more-text strong {
	display: block;
	font-size: 15.5px;
	line-height: 1.3;
	font-weight: 700;
}
