/*
 * Problems („Was davon kennst du?“) – Styles (ADR-0029, 02.10.2026).
 * Dunkel. Vier Karten mit Schmerzbild zum Antippen, Antwort passt sich an.
 * Nur Token-Variablen. Bewegung und Ein-/Ausblenden nur unter .js-pk
 * (setzt view.js) – ohne Skript steht alles sichtbar da.
 */
.section-problems {
	--pk-karte: color-mix(in srgb, var(--wp--preset--color--contrast-light) 4%, var(--wp--preset--color--base-dark));
	--pk-bild: color-mix(in srgb, var(--wp--preset--color--contrast-light) 2%, var(--wp--preset--color--base-dark));
	--pk-rand: var(--wp--preset--color--neutral-dark);
	/* Angetippt = neutral Weiß („ausgewählt“). Den Schmerz zeigen die Bilder in Rot;
	   Grün bleibt der Lösung und dem Knopf vorbehalten. */
	--pk-wahl: var(--wp--preset--color--contrast-light);
	--pk-glut: color-mix(in srgb, var(--pk-wahl) 8%, transparent);
	--pk-puls: color-mix(in srgb, var(--wp--preset--color--contrast-light) 30%, transparent);
	background: var(--wp--preset--color--base-dark);
	color: var(--wp--preset--color--contrast-light);
	padding: var(--wp--preset--spacing--section) var(--wp--preset--spacing--gutter);
}

.section-problems .section-problems__inner {
	display: block;
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto;
	text-align: center;
}

.pk-label {
	margin: 0 0 var(--wp--preset--spacing--sm);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--accent);
}

.pk-titel {
	margin: 0;
	font-size: var(--wp--preset--font-size--title);
	font-weight: 700;
	line-height: var(--wp--custom--line-height--tight);
	letter-spacing: var(--wp--custom--letter-spacing--title);
}

.pk-titel em {
	font-style: italic;
	color: var(--wp--preset--color--accent);
}

/* Hinweis nur mit Skript (ohne Skript gibt es nichts anzutippen) */
.pk-hinweis {
	display: none;
	margin: var(--wp--preset--spacing--sm) 0 0;
	font-size: var(--wp--preset--font-size--base);
	color: var(--wp--preset--color--neutral-light);
}

.js-pk .pk-hinweis {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.pk-hinweis__punkt {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--wp--preset--color--neutral-light);
	box-shadow: 0 0 0 0 var(--pk-puls);
	animation: pk-puls 1.8s ease-out infinite;
}

/* ---------- Karten ---------- */

.pk-karten {
	list-style: none;
	margin: var(--wp--preset--spacing--lg) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	text-align: left;
}

.pk-karte {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 0.75rem 0.75rem 1.25rem;
	border: 1px solid var(--pk-rand);
	border-radius: var(--wp--custom--radius--lg, 20px);
	background: var(--pk-karte);
	transition: border-color 0.25s ease, box-shadow 0.35s ease, opacity 0.3s ease, transform 0.25s ease;
}

.pk-karte__kopf {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0 0.5rem;
}

.pk-karte__titel {
	margin: 0;
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 600;
	line-height: var(--wp--custom--line-height--snug);
	transition: color 0.3s ease;
}

.pk-karte__text {
	margin: 0;
	padding: 0 0.5rem;
	font-size: var(--wp--preset--font-size--sm);
	line-height: var(--wp--custom--line-height--normal);
	color: var(--wp--preset--color--neutral-light);
}

/* Häkchen-Kreis: leer, beim Antippen weiß mit gezeichnetem Haken */
.pk-haken {
	flex: none;
	display: none;
	place-items: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	border: 1.5px solid color-mix(in srgb, var(--wp--preset--color--contrast-light) 30%, transparent);
	color: var(--wp--preset--color--base-dark);
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.js-pk .pk-haken {
	display: grid;
}

.pk-haken svg {
	width: 1rem;
	height: 1rem;
}

.pk-haken path,
.pk-loesung__haken path {
	stroke-dasharray: 22;
	stroke-dashoffset: 22;
	transition: stroke-dashoffset 0.35s ease 0.1s;
}

/* Ganze Karte ist der Knopf (liegt über allem, Text bleibt im HTML) */
.pk-karte__tipp {
	display: none;
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: inherit;
	background: transparent;
	cursor: pointer;
}

.js-pk .pk-karte__tipp {
	display: block;
}

.pk-karte__tipp:focus-visible {
	outline: 2px solid var(--pk-wahl);
	outline-offset: 3px;
}

.js-pk .pk-karte:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast-light) 25%, var(--pk-rand));
	transform: translateY(-2px);
}

.js-pk .pk-karte:hover .pk-haken {
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast-light) 65%, transparent);
}

/* Angetippt */
.pk-karte.ist-an {
	border-color: var(--pk-wahl);
	box-shadow: 0 0 0 1px var(--pk-wahl), 0 0 28px var(--pk-glut);
}

.pk-karte.ist-an .pk-haken {
	background: var(--pk-wahl);
	border-color: var(--pk-wahl);
	color: var(--wp--preset--color--base-dark);
	transform: scale(1.12);
}

.pk-karte.ist-an .pk-haken path {
	stroke-dashoffset: 0;
}

.pk-karte.ist-ploppt {
	animation: pk-plopp 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}

/* Sobald etwas gewählt ist, treten die anderen leicht zurück */
.pk-karten.hat-wahl .pk-karte:not(.ist-an) {
	opacity: 0.55;
}

.pk-karten.hat-wahl .pk-karte:not(.ist-an):hover {
	opacity: 0.85;
}

/* ---------- Schmerzbilder (klein, dekorativ) ---------- */

.pk-bild {
	position: relative;
	height: 8.5rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--pk-rand);
	border-radius: 12px;
	background: var(--pk-bild);
	overflow: hidden;
	font-size: 11px;
	color: var(--wp--preset--color--neutral-light);
}

.pk-bild__kopf {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast-light);
}

.pk-rot {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-weight: 500;
	color: var(--wp--preset--color--neutral-light);
}

.pk-rot i {
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--wp--preset--color--negative);
	animation: pk-blink 2.4s ease-in-out infinite;
}

/* 1 Anfragen ohne Muster */
.pk-saeulen {
	position: absolute;
	left: 0.8rem;
	right: 0.8rem;
	bottom: 0.7rem;
	height: 4.75rem;
	display: flex;
	align-items: flex-end;
	gap: 5px;
	border-bottom: 1px solid var(--pk-rand);
}

.pk-saeulen i {
	flex: 1;
	min-height: 2px;
	border-radius: 2px 2px 0 0;
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 45%, transparent);
	transform-origin: bottom;
}

.pk-saeulen .h00 { height: 2px; }
.pk-saeulen .h05 { height: 5%; }
.pk-saeulen .h10 { height: 10%; }
.pk-saeulen .h15 { height: 15%; }
.pk-saeulen .h20 { height: 20%; }
.pk-saeulen .h40 { height: 40%; }
.pk-saeulen .h75 { height: 75%; }
.pk-saeulen .h95 { height: 95%; }

/* 2 Ads */
.pk-legende {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-weight: 500;
	color: var(--wp--preset--color--neutral-light);
}

.pk-legende i {
	width: 0.7rem;
	height: 2px;
	border-radius: 1px;
}

.pk-l1 { background: var(--wp--preset--color--neutral-light); }
.pk-l2 { background: var(--wp--preset--color--primary); margin-left: 0.4rem; }

.pk-kurve {
	position: absolute;
	left: 0.8rem;
	right: 0.8rem;
	bottom: 0.7rem;
	width: calc(100% - 1.6rem);
	height: 5rem;
	overflow: visible;
	fill: none;
}

.pk-kurve path,
.pk-kurve line {
	vector-effect: non-scaling-stroke;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pk-kurve__grau { stroke: var(--wp--preset--color--neutral-light); stroke-width: 1.5; }
.pk-kurve__gruen { stroke: var(--wp--preset--color--primary); stroke-width: 1.8; }
.pk-kurve__marke { stroke: color-mix(in srgb, var(--wp--preset--color--contrast-light) 35%, transparent); stroke-width: 1; stroke-dasharray: 3 3; }

.pk-etikett {
	position: absolute;
	top: 1.9rem;
	right: 0.8rem;
	padding: 0.1rem 0.4rem;
	border: 1px solid var(--pk-rand);
	border-radius: 6px;
	background: var(--pk-karte);
	font-size: 10px;
}

/* 3 KI-Antwort */
.pk-chips {
	display: inline-flex;
	gap: 0.3rem;
}

.pk-chips b {
	padding: 0.1rem 0.45rem;
	border-radius: var(--wp--custom--radius--pill);
	background: color-mix(in srgb, var(--wp--preset--color--primary) 22%, transparent);
	color: var(--wp--preset--color--accent);
	font-size: 10px;
	font-weight: 600;
}

.pk-chips b.grau {
	background: var(--wp--preset--color--neutral-dark);
	color: var(--wp--preset--color--neutral-light);
}

.pk-blase {
	margin: 0.45rem 0 0 auto;
	width: fit-content;
	max-width: 80%;
	padding: 0.25rem 0.6rem;
	border-radius: 10px 10px 2px 10px;
	background: var(--wp--preset--color--neutral-dark);
	color: var(--wp--preset--color--contrast-light);
	font-size: 10px;
}

.pk-liste {
	list-style: none;
	margin: 0.4rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.3rem;
	counter-reset: pk;
}

.pk-liste li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	counter-increment: pk;
}

.pk-liste li::before {
	content: counter(pk);
	width: 0.7rem;
	font-size: 9px;
	font-weight: 600;
}

.pk-liste i {
	height: 4px;
	width: 70%;
	border-radius: 2px;
	background: var(--wp--preset--color--neutral-dark);
}

.pk-liste i.k { width: 55%; }
.pk-liste i.kk { width: 62%; }

.pk-fehlt {
	margin: 0.4rem 0 0;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem 0.4rem;
	border: 1px dashed color-mix(in srgb, var(--wp--preset--color--negative) 60%, transparent);
	border-radius: 6px;
	color: var(--wp--preset--color--negative);
	font-size: 10px;
	font-weight: 600;
}

.pk-fehlt em {
	font-style: normal;
}

.pk-fehlt__kurz {
	display: none;
}

.pk-fehlt span {
	display: grid;
	place-items: center;
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--wp--preset--color--negative) 18%, transparent);
	font-size: 9px;
}

/* 4 Report */
.pk-chip {
	padding: 0.1rem 0.45rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--neutral-dark);
	font-size: 10px;
	font-weight: 500;
	color: var(--wp--preset--color--neutral-light);
}

.pk-report {
	margin: 0.55rem 0 0;
	display: grid;
}

.pk-report div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.35rem 0;
	border-bottom: 1px solid var(--pk-rand);
}

.pk-report div:last-child {
	border-bottom: 0;
}

.pk-report dt { margin: 0; }

.pk-report dd {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.pk-report dd i {
	width: 3.2rem;
	height: 4px;
	border-radius: 2px;
	background: var(--wp--preset--color--neutral-dark);
}

.pk-report dd i.k { width: 2.4rem; }

.pk-report .hoch { color: var(--wp--preset--color--primary); font-size: 9px; }
.pk-report .null { color: var(--wp--preset--color--negative); font-size: 12px; }
.pk-report__ziel dt { color: var(--wp--preset--color--contrast-light); font-weight: 600; }

/* ---------- Antwort: passt sich der Auswahl an ---------- */

.pk-antwort {
	margin: var(--wp--preset--spacing--lg) auto 0;
	max-width: 46rem;
}

/* Ohne Skript: Lösungen stehen als Liste da, Zähler/Satz ausgeblendet */
.pk-antwort__zahl,
.pk-antwort__satz {
	display: none;
}

.pk-antwort__plan-titel {
	margin: 0 0 var(--wp--preset--spacing--sm);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--accent);
}

.pk-plan {
	list-style: none;
	margin: 0 0 var(--wp--preset--spacing--md);
	padding: 0;
	display: grid;
	gap: 0.6rem;
	text-align: left;
}

.pk-loesung {
	display: flex;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--pk-rand);
	border-radius: 12px;
	background: var(--pk-karte);
	font-size: var(--wp--preset--font-size--sm);
	line-height: var(--wp--custom--line-height--normal);
	color: var(--wp--preset--color--neutral-light);
}

.pk-loesung b {
	display: block;
	margin-bottom: 0.15rem;
	color: var(--wp--preset--color--contrast-light);
	font-weight: 600;
}

.pk-loesung__haken {
	flex: none;
	display: grid;
	place-items: center;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base-dark);
}

.pk-loesung__haken svg {
	width: 0.9rem;
	height: 0.9rem;
}

.pk-loesung__haken path {
	stroke-dashoffset: 0;
}

/* Mit Skript: Antwort erscheint erst mit der Auswahl */
.js-pk .pk-antwort__zahl,
.js-pk .pk-antwort__satz {
	display: block;
}

.js-pk .pk-antwort__zahl {
	margin: 0;
	font-size: var(--wp--preset--font-size--heading);
	font-weight: 700;
	color: var(--wp--preset--color--contrast-light);
}

.pk-antwort__n {
	display: inline-block;
	min-width: 1ch;
	color: var(--pk-wahl);
}

.pk-antwort__n.ist-neu {
	animation: pk-zahl 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.js-pk .pk-antwort__satz {
	margin: 0.35rem 0 var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--neutral-light);
}

.js-pk .pk-antwort__zahl,
.js-pk .pk-antwort__satz,
.js-pk .pk-antwort__plan-titel {
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.js-pk .pk-antwort:not(.hat-wahl) .pk-antwort__zahl,
.js-pk .pk-antwort:not(.hat-wahl) .pk-antwort__satz,
.js-pk .pk-antwort:not(.hat-wahl) .pk-antwort__plan-titel {
	display: none;
}

.js-pk .pk-loesung {
	display: none;
}

.js-pk .pk-loesung.ist-an {
	display: flex;
	animation: pk-rein 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.js-pk .pk-loesung.ist-an path {
	stroke-dashoffset: 22;
	animation: pk-zeichnen 0.35s ease 0.2s forwards;
}

/* Knopf: ohne Wahl ruhig, mit Wahl leuchtet er auf */
.pk-knopf {
	transition: transform 0.25s ease, box-shadow 0.35s ease;
}

.js-pk .pk-antwort.hat-wahl .pk-knopf {
	animation: pk-knopf 0.6s cubic-bezier(0.3, 1.6, 0.5, 1);
}

@keyframes pk-plopp {
	0% { transform: scale(1); }
	40% { transform: scale(0.97); }
	100% { transform: scale(1); }
}

@keyframes pk-zahl {
	0% { transform: translateY(-0.4em) scale(0.6); opacity: 0; }
	100% { transform: none; opacity: 1; }
}

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

@keyframes pk-zeichnen {
	to { stroke-dashoffset: 0; }
}

@keyframes pk-knopf {
	0% { transform: scale(1); }
	40% { transform: scale(1.05); }
	100% { transform: scale(1); }
}

@keyframes pk-puls {
	0% { box-shadow: 0 0 0 0 var(--pk-puls); }
	70%, 100% { box-shadow: 0 0 0 10px transparent; }
}

@keyframes pk-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.25; }
}

/* ---------- Tablet / Handy ---------- */

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

@media (max-width: 767px) {
	.pk-karten {
		gap: 0.75rem;
	}

	/* Handy: kompakte Karten – Bild klein links, Titel rechts; Text erst beim Antippen */
	.pk-karte {
		display: grid;
		grid-template-columns: 6.5rem minmax(0, 1fr);
		grid-template-areas: "bild kopf" "text text";
		align-items: center;
		gap: 0.6rem 0.75rem;
		padding: 0.6rem;
	}

	.pk-karten {
		grid-template-columns: minmax(0, 1fr);
	}

	.pk-bild {
		grid-area: bild;
		height: 5.25rem;
		padding: 0.45rem 0.5rem;
		font-size: 9px;
	}

	.pk-bild__kopf .pk-legende,
	.pk-bild__kopf .pk-chip,
	.pk-chips b.grau,
	.pk-liste,
	.pk-etikett {
		display: none;
	}

	.pk-saeulen,
	.pk-kurve {
		height: 3rem;
		bottom: 0.45rem;
	}

	/* Bilder am Handy: nur das Wesentliche, nichts umbrechen oder abschneiden */
	.pk-bild__kopf {
		white-space: nowrap;
		font-size: 8.5px;
	}

	.pk-rot {
		font-size: 0;
	}

	.pk-bild--ki .pk-blase {
		margin-top: 0.35rem;
		max-width: 100%;
		font-size: 8.5px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.pk-fehlt {
		margin-top: 0.35rem;
		font-size: 8.5px;
		white-space: nowrap;
	}

	.pk-fehlt span {
		display: none;
	}

	.pk-report {
		margin-top: 0.3rem;
	}

	.pk-report div {
		padding: 0.12rem 0;
	}

	.pk-report dd i {
		display: none;
	}

	.pk-karte__kopf {
		grid-area: kopf;
		padding: 0;
	}

	.pk-karte__titel {
		font-size: var(--wp--preset--font-size--base);
	}

	.pk-karte__text {
		grid-area: text;
		padding: 0 0.25rem 0.25rem;
	}

	.js-pk .pk-karte__text {
		display: none;
	}

	.js-pk .pk-karte.ist-an .pk-karte__text {
		display: block;
		animation: pk-rein 0.35s ease both;
	}

	.pk-knopf {
		width: 100%;
		box-sizing: border-box;
		justify-content: center;
	}
}

/* ---------- weitere Schmerzbilder ---------- */

.pk-bild__neben {
	font-weight: 500;
}

.pk-x {
	display: inline-grid;
	place-items: center;
	width: 0.95rem;
	height: 0.95rem;
	margin-right: 0.4rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--wp--preset--color--negative) 18%, transparent);
	color: var(--wp--preset--color--negative);
	font-size: 8px;
}

.pk-check {
	list-style: none;
	margin: 0.6rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.pk-check li {
	display: flex;
	align-items: center;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--pk-rand);
}

.pk-check li:last-child {
	border-bottom: 0;
}

.pk-suchfeld {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.35rem 0.6rem;
	border: 1px solid var(--pk-rand);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--pk-karte);
}

.pk-suchfeld i {
	height: 4px;
	width: 55%;
	border-radius: 2px;
	background: var(--wp--preset--color--neutral);
}

.pk-lupe {
	width: 0.6rem;
	height: 0.6rem;
	border: 1.5px solid var(--wp--preset--color--neutral-light);
	border-radius: 50%;
}

.pk-liste--suche {
	margin-top: 0.5rem;
}

.pk-rang,
.pk-balken {
	list-style: none;
	margin: 0.55rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}

.pk-rang li {
	display: flex;
	justify-content: space-between;
	padding: 0.25rem 0.5rem;
	border-radius: 6px;
	background: var(--wp--preset--color--neutral-dark);
}

.pk-rang li.du,
.pk-balken li.du span {
	color: var(--wp--preset--color--negative);
	font-weight: 600;
}

.pk-rang li.du {
	background: color-mix(in srgb, var(--wp--preset--color--negative) 12%, transparent);
}

.pk-balken li {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr);
	align-items: center;
	gap: 0.5rem;
}

.pk-balken i {
	height: 0.45rem;
	border-radius: 3px;
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 45%, transparent);
}

.pk-balken li.du i {
	background: var(--wp--preset--color--negative);
}

.pk-balken .b90 { width: 90%; }
.pk-balken .b70 { width: 70%; }
.pk-balken .b15 { width: 12%; }

.pk-leer {
	list-style: none;
	margin: 0.6rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.pk-leer li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.3rem 0.5rem;
	border: 1px dashed color-mix(in srgb, var(--wp--preset--color--contrast-light) 22%, transparent);
	border-radius: 6px;
}

.pk-leer i {
	flex: 1;
	height: 4px;
	border-radius: 2px;
	background: var(--wp--preset--color--neutral-dark);
}

.pk-leer b {
	color: var(--wp--preset--color--neutral);
}

.pk-trichter {
	margin-top: 0.55rem;
	display: grid;
	gap: 0.3rem;
	justify-items: center;
}

.pk-trichter i {
	height: 0.55rem;
	border-radius: 3px;
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 45%, transparent);
}

.pk-trichter .b100 { width: 100%; }
.pk-trichter .b60 { width: 60%; }
.pk-trichter .b25 { width: 25%; }
.pk-trichter .b05 { width: 6%; background: var(--wp--preset--color--negative); }

.pk-trichter__unter {
	margin: 0.35rem 0 0;
	text-align: center;
	font-size: 10px;
}

.pk-karte-maps {
	position: relative;
	height: 3.4rem;
	margin-top: 0.45rem;
	border-radius: 8px;
	background:
		linear-gradient(90deg, transparent 48%, var(--pk-rand) 48%, var(--pk-rand) 52%, transparent 52%),
		linear-gradient(0deg, transparent 40%, var(--pk-rand) 40%, var(--pk-rand) 46%, transparent 46%),
		var(--wp--preset--color--neutral-dark);
}

.pk-karte-maps i {
	position: absolute;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 55%, transparent);
}

.pk-karte-maps .p1 { left: 20%; top: 25%; }
.pk-karte-maps .p2 { left: 58%; top: 15%; }
.pk-karte-maps .p3 { left: 76%; top: 52%; }

.pk-bild--lokal .pk-fehlt,
.pk-bild--suche .pk-fehlt {
	margin-top: 0.45rem;
}

@media (max-width: 767px) {
	.pk-check,
	.pk-rang,
	.pk-balken,
	.pk-leer,
	.pk-trichter {
		margin-top: 0.3rem;
		gap: 0.15rem;
	}

	.pk-check li {
		padding-bottom: 0.1rem;
		white-space: nowrap;
	}

	.pk-rang li {
		padding: 0.05rem 0.35rem;
	}

	.pk-balken li {
		grid-template-columns: 3.4rem minmax(0, 1fr);
	}

	.pk-leer li {
		padding: 0.12rem 0.35rem;
	}

	.pk-fehlt__lang {
		display: none;
	}

	.pk-fehlt__kurz {
		display: inline;
	}

	.pk-trichter__unter,
	.pk-liste--suche,
	.pk-bild--suche .pk-liste {
		display: none;
	}

	.pk-karte-maps {
		height: 1.9rem;
		margin-top: 0.25rem;
	}

	.pk-suchfeld {
		margin-top: 0.1rem;
	}
}

/* Bewegung reduzieren: alles ruhig, Zustände ohne Animation */
@media (prefers-reduced-motion: reduce) {
	.section-problems *,
	.section-problems *::before {
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
		transition-duration: 0.01ms;
	}
}

.js-pk .pk-hinweis.ist-weg {
	visibility: hidden;
}
