/*
 * ProfiRadar — Designsystem (Richtung 1a „Klar & vertraut").
 *
 * Tokens, Grundelemente und alle Bausteine, die auf mehr als einem Screen
 * vorkommen: Kopf- und Fußzeile, Buttons, Felder, Karten, Chips, Badges,
 * Tabs, Akkordeon, Tabellen. Die Screen-Layouts liegen in screens.css.
 *
 * Maße stammen 1:1 aus dem Screendesign (Desktop 1280, Mobil 390). Die
 * Entwürfe sind pixelgenau für diese zwei Breiten gezeichnet; dazwischen
 * wird fluide skaliert, damit nichts umbricht, was im Entwurf nebeneinander
 * steht.
 */

/* ══ Tokens ══ */
:root {
	/* Flächen */
	--pr-page: #FAF8F5;
	--pr-surface: #fff;
	--pr-tint: #F4F1EC;
	--pr-tint-strong: #F1ECE5;
	--pr-hatch-a: #EFEAE3;
	--pr-hatch-b: #E8E2DA;

	/* Linien */
	--pr-line: #ECE7E0;
	--pr-line-strong: #DDD7CF;
	--pr-line-dark: #C9C2B8;
	--pr-rule: #E2DCD4;

	/* Schrift */
	--pr-ink: #10263F;
	--pr-ink-2: #2E3E52;
	--pr-ink-3: #4A5768;
	--pr-muted: #5B6778;
	--pr-faint: #8A8378;
	--pr-dim: #8A94A3;

	/* Akzente */
	--pr-accent: #EC5F0D;
	--pr-accent-hover: #d4520a;
	--pr-accent-ink: #B34508;
	--pr-accent-tint: #FCE9DD;
	--pr-navy: #10263F;
	--pr-navy-hover: #1d3a5c;
	--pr-go: #E4F4EA;
	--pr-go-ink: #1E6B41;

	/* Typografie */
	--pr-font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--pr-display: 'Barlow Semi Condensed', 'Barlow', system-ui, sans-serif;

	/* Raster */
	--pr-max: 1280px;
	--pr-gutter: 48px;
	--pr-shadow-panel: 0 30px 70px -30px rgba(16, 38, 63, .35), 0 0 0 1px var(--pr-line);
	--pr-shadow-soft: 0 20px 50px -25px rgba(16, 38, 63, .35), 0 0 0 1px var(--pr-line);
	--pr-shadow-hover: 0 10px 30px -18px rgba(16, 38, 63, .3);
}

/* ══ Grundlagen ══ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

body {
	margin: 0;
	background: var(--pr-page);
	color: var(--pr-ink);
	font: 400 16px/1.55 var(--pr-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* [hidden] ist nur eine Browser-Vorgabe und verliert gegen jede Klasse mit
   eigenem display — Knöpfe und Flex-Container blieben sonst sichtbar, obwohl
   das Skript sie ausgeblendet hat. */
[hidden] {
	display: none !important;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--pr-accent);
	text-decoration: none;
}

a:hover {
	color: var(--pr-navy);
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pr-display);
	font-weight: 800;
	letter-spacing: -.005em;
	color: var(--pr-ink);
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

:focus-visible {
	outline: 2px solid var(--pr-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.pr-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.pr-sr-focus:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	clip: auto;
	z-index: 100;
	background: var(--pr-navy);
	color: #fff;
	padding: 12px 18px;
	border-radius: 8px;
}

/* ══ Raster ══ */
.pr-wrap {
	width: 100%;
	max-width: var(--pr-max);
	margin-inline: auto;
	padding-inline: var(--pr-gutter);
}

/* Die Startseite steht im Entwurf auf 56px Rand statt 48px. Unterhalb von
   1000px gilt wieder der Wert aus :root — sonst behielte sie die breiten
   Desktop-Ränder und verschenkte auf einem 390px-Schirm 112px Inhalt. */
@media (min-width: 1001px) {
	.pr-wrap--wide {
		--pr-gutter: 56px;
	}
}

.pr-wrap--narrow {
	max-width: 996px;
}

@media (max-width: 1000px) {
	:root {
		--pr-gutter: 32px;
	}
}

@media (max-width: 640px) {
	:root {
		--pr-gutter: 20px;
	}
}

.pr-stack {
	display: flex;
	flex-direction: column;
}

/* Abschnittsrhythmus aus dem Entwurf: 88px (Start) bzw. 80px (Unterseiten). */
.pr-section {
	padding-top: 88px;
}

.pr-section--tight {
	padding-top: 56px;
}

@media (max-width: 860px) {
	.pr-section {
		padding-top: 56px;
	}

	.pr-section--tight {
		padding-top: 40px;
	}
}

.pr-sec-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 32px;
}

.pr-sec-head h2,
.pr-h2 {
	font: 800 44px/1 var(--pr-display);
	margin: 0;
}

.pr-sec-head__more {
	font: 600 15px/1 var(--pr-font);
	color: var(--pr-accent);
	white-space: nowrap;
}

@media (max-width: 860px) {
	.pr-sec-head h2,
	.pr-h2 {
		font-size: 32px;
	}

	.pr-sec-head {
		margin-bottom: 20px;
	}
}

.pr-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	font: 600 13px/1 var(--pr-font);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--pr-accent);
}

.pr-eyebrow--dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.pr-lead {
	font: 400 20px/1.5 var(--pr-font);
	color: var(--pr-ink-3);
}

.pr-muted {
	color: var(--pr-muted);
}

/* Platzhalterflächen ersetzen im Entwurf die späteren Fotos. Sie bleiben im
   Theme als Fallback: Einträge ohne Bild zeigen dieselbe Schraffur. */
.pr-ph {
	background: repeating-linear-gradient(135deg, var(--pr-hatch-a) 0 8px, var(--pr-hatch-b) 8px 16px);
	position: relative;
	overflow: hidden;
}

/* Absolut, damit das Foto die Fläche füllt, ohne im Flex-/Grid-Layout der
   Fläche mitzuzählen — Beschriftungen und Badges liegen darüber. */
.pr-ph > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pr-ph__label {
	position: absolute;
	left: 14px;
	bottom: 12px;
	font: 500 11px/1 ui-monospace, Menlo, monospace;
	color: var(--pr-faint);
}

/* ══ Buttons ══ */
.pr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 10px;
	padding: 16px 24px;
	font: 700 16px/1 var(--pr-font);
	text-align: center;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.pr-btn--accent {
	background: var(--pr-accent);
	color: #fff;
}

.pr-btn--accent:hover {
	background: var(--pr-accent-hover);
	color: #fff;
}

.pr-btn--navy {
	background: var(--pr-navy);
	color: #fff;
}

.pr-btn--navy:hover {
	background: var(--pr-navy-hover);
	color: #fff;
}

.pr-btn--ghost {
	background: var(--pr-surface);
	color: var(--pr-ink);
	border: 1px solid var(--pr-line-strong);
	font-weight: 600;
}

.pr-btn--ghost:hover {
	border-color: var(--pr-ink);
	color: var(--pr-ink);
}

.pr-btn--onnavy {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, .7);
	font-weight: 600;
	padding: 14.5px 24px;
}

.pr-btn--onnavy:hover {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.pr-btn--sm {
	padding: 11px 16px;
	font: 600 14px/1 var(--pr-font);
	border-radius: 8px;
}

.pr-btn--md {
	padding: 13px 18px;
	font: 600 15px/1 var(--pr-font);
	border-radius: 8px;
}

.pr-btn--lg {
	padding: 18px 26px;
	font-size: 17px;
}

.pr-btn--block {
	display: flex;
	width: 100%;
}

.pr-btn[disabled] {
	opacity: .55;
	cursor: not-allowed;
}

.pr-link {
	font: 600 15px/1 var(--pr-font);
	color: var(--pr-accent);
}

/* Aufklapper, deren Schalter wie ein Knopf aussieht. */
summary.pr-btn {
	list-style: none;
	cursor: pointer;
}

summary.pr-btn::-webkit-details-marker {
	display: none;
}

details[open] > summary.pr-btn {
	display: none;
}

.pr-link-quiet {
	background: none;
	border: 0;
	padding: 0;
	font: 600 14px/1 var(--pr-font);
	color: var(--pr-ink);
}

/* ══ Formularelemente ══ */
.pr-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font: 600 14px/1 var(--pr-font);
}

/* Gruppen aus Wahlknöpfen: Ein <legend> nimmt nicht am Flex-Abstand teil,
   den Abstand zu den Knöpfen trägt es deshalb selbst. */
fieldset.pr-field {
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}

fieldset.pr-field > legend {
	padding: 0;
	margin-bottom: 8px;
}

.pr-input,
.pr-select,
.pr-textarea {
	width: 100%;
	border: 1px solid var(--pr-line-strong);
	border-radius: 10px;
	padding: 15px;
	background: var(--pr-surface);
	font: 500 17px/1.2 var(--pr-font);
	color: var(--pr-ink);
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.pr-textarea {
	font: 400 15px/1.45 var(--pr-font);
	min-height: 96px;
	resize: vertical;
}

.pr-select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--pr-ink) 50%), linear-gradient(135deg, var(--pr-ink) 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(50% + 1px), calc(100% - 15px) calc(50% + 1px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 42px;
}

.pr-input:focus,
.pr-select:focus,
.pr-textarea:focus {
	border-color: var(--pr-ink);
	box-shadow: 0 0 0 3px rgba(16, 38, 63, .08);
	outline: none;
}

.pr-input::placeholder,
.pr-textarea::placeholder {
	color: var(--pr-dim);
}

.pr-input--invalid {
	border-color: var(--pr-accent);
}

.pr-hint {
	font: 400 13px/1.45 var(--pr-font);
	color: var(--pr-muted);
}

/* Auswahlkacheln: der Grundbaustein des Assistenten (Gewerk, Projekt, Radius,
   Zeitraum). Die Auswahl wird über [aria-pressed] bzw. .is-on gespiegelt. */
.pr-opt {
	background: var(--pr-surface);
	color: var(--pr-ink);
	border: 1px solid var(--pr-line-strong);
	border-radius: 10px;
	padding: 14px 10px;
	font: 600 15px/1.2 var(--pr-font);
	text-align: left;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.pr-opt:hover {
	border-color: var(--pr-ink);
}

/* Ausgewählt ist eine Kachel auf drei Wegen: als Knopf über [aria-pressed],
   als Label über das darin liegende Feld, und über .is-on für Kacheln ohne
   Feld. Labels mit Radio/Checkbox bekommen kein .is-on — die Klasse bliebe
   beim Umschalten stehen; das checked-Attribut trägt den Anfangszustand. */
.pr-opt.is-on,
.pr-opt[aria-pressed="true"],
.pr-opt:has(input:checked) {
	background: var(--pr-navy);
	color: #fff;
	border-color: var(--pr-navy);
}

.pr-opt:has(input:focus-visible) {
	outline: 2px solid var(--pr-accent);
	outline-offset: 2px;
}

label.pr-opt {
	cursor: pointer;
}

.pr-opt--wide {
	border-radius: 12px;
	padding: 20px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pr-opt--wide b {
	font: 700 19px/1 var(--pr-display);
}

.pr-opt--wide span {
	font: 400 14px/1.3 var(--pr-font);
	opacity: .75;
}

.pr-opt--row {
	flex: 1 1 70px;
	min-width: 0;
	text-align: center;
	padding: 12px 6px;
}

.pr-opt--tall {
	border-radius: 12px;
	padding: 20px 18px;
	font-size: 17px;
}

/* Schalter (Filter „Nur geprüfte Betriebe" etc.) */
.pr-switch {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	background: none;
	border: 0;
	padding: 0;
	font: 600 15px/1.2 var(--pr-font);
	color: var(--pr-ink);
	text-align: left;
	width: 100%;
}

.pr-switch__track {
	flex: none;
	width: 40px;
	height: 24px;
	border-radius: 12px;
	background: #D6D0C7;
	display: flex;
	align-items: center;
	padding: 3px;
	transition: background .2s ease;
}

.pr-switch__track::after {
	content: "";
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	margin-left: 0;
	transition: margin .2s ease;
}

.pr-switch[aria-pressed="true"] .pr-switch__track,
.pr-switch:has(input:checked) .pr-switch__track {
	background: var(--pr-accent);
}

.pr-switch[aria-pressed="true"] .pr-switch__track::after,
.pr-switch:has(input:checked) .pr-switch__track::after {
	margin-left: 16px;
}

label.pr-switch {
	cursor: pointer;
}

.pr-switch:has(input:focus-visible) .pr-switch__track {
	outline: 2px solid var(--pr-accent);
	outline-offset: 2px;
}

/* Kästchenliste (Leistungen im Filter) */
.pr-check {
	display: flex;
	gap: 10px;
	align-items: center;
	font: 500 15px/1.3 var(--pr-font);
	color: var(--pr-ink);
	cursor: pointer;
}

.pr-check input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.pr-check__box {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	border: 1px solid var(--pr-line-dark);
	background: var(--pr-surface);
	display: grid;
	place-items: center;
	font-size: 12px;
	color: transparent;
}

.pr-check input:checked + .pr-check__box {
	background: var(--pr-navy);
	border-color: var(--pr-navy);
	color: #fff;
}

.pr-check input:focus-visible + .pr-check__box {
	outline: 2px solid var(--pr-accent);
	outline-offset: 2px;
}

/* ══ Badges & Chips ══ */
.pr-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border-radius: 20px;
	padding: 5px 10px;
	font: 600 12px/1 var(--pr-font);
	white-space: nowrap;
}

.pr-badge--verified {
	background: var(--pr-navy);
	color: #fff;
}

.pr-badge--master {
	background: var(--pr-accent-tint);
	color: var(--pr-accent-ink);
}

.pr-badge--soon {
	background: var(--pr-go);
	color: var(--pr-go-ink);
}

.pr-badge--plain {
	background: var(--pr-surface);
	color: var(--pr-ink);
}

.pr-badge--lg {
	padding: 7px 12px;
	font-size: 13px;
}

.pr-tag {
	background: var(--pr-tint);
	border-radius: 6px;
	padding: 5px 8px;
	font: 500 13px/1 var(--pr-font);
	color: var(--pr-ink-3);
}

.pr-pill {
	display: inline-flex;
	align-items: center;
	background: var(--pr-surface);
	border: 1px solid var(--pr-line-strong);
	border-radius: 999px;
	padding: 12px 18px;
	font: 500 15px/1 var(--pr-font);
	color: var(--pr-ink);
	transition: border-color .15s ease, color .15s ease;
}

.pr-pill:hover,
.pr-pill.is-on {
	border-color: var(--pr-accent);
	color: var(--pr-accent);
}

.pr-stars {
	color: var(--pr-accent);
	letter-spacing: 2px;
}

/* ══ Karten ══ */
.pr-card {
	background: var(--pr-surface);
	border: 1px solid var(--pr-line);
	border-radius: 14px;
}

.pr-card--pad {
	padding: 20px;
}

.pr-panel {
	background: var(--pr-surface);
	border-radius: 18px;
	box-shadow: var(--pr-shadow-panel);
	padding: 26px;
}

.pr-note {
	background: var(--pr-accent-tint);
	border-radius: 12px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pr-note__title {
	font: 700 17px/1.1 var(--pr-display);
}

.pr-note__text {
	font: 400 14px/1.45 var(--pr-font);
	color: var(--pr-ink-3);
}

.pr-navybox {
	background: var(--pr-navy);
	color: #fff;
	border-radius: 14px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pr-navybox h2,
.pr-navybox__title {
	font: 700 20px/1.1 var(--pr-display);
	color: #fff;
	margin: 0;
}

.pr-navybox p {
	font: 400 14px/1.45 var(--pr-font);
	color: rgba(255, 255, 255, .75);
}

/* ══ Tabs ══ */
.pr-tabs {
	display: flex;
	gap: 28px;
	border-bottom: 1px solid var(--pr-line);
	overflow-x: auto;
	scrollbar-width: none;
}

.pr-tabs::-webkit-scrollbar {
	display: none;
}

.pr-tab {
	flex: none;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	color: var(--pr-muted);
	padding: 14px 0;
	margin-bottom: -1px;
	font: 600 16px/1 var(--pr-font);
}

.pr-tab[aria-selected="true"] {
	color: var(--pr-ink);
	border-bottom-color: var(--pr-accent);
}

.pr-tabpanel[hidden] {
	display: none;
}

/* Ohne JavaScript stehen alle Tafeln untereinander — dann braucht jede eine
   sichtbare Überschrift. Mit JavaScript übernimmt das die Reiterleiste. */
.pr-panel-title {
	font: 700 26px/1.15 var(--pr-display);
	margin-bottom: 4px;
}

.pr-js .pr-panel-title {
	display: none;
}

/* ══ Akkordeon (FAQ) ══ */
.pr-acc {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--pr-line-strong);
}

.pr-acc__item {
	border-bottom: 1px solid var(--pr-line-strong);
}

.pr-acc__btn {
	width: 100%;
	background: none;
	border: 0;
	padding: 22px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	text-align: left;
	color: var(--pr-ink);
	font: 700 21px/1.2 var(--pr-display);
	cursor: pointer;
	list-style: none;
}

.pr-acc__btn::-webkit-details-marker {
	display: none;
}

.pr-acc__sign {
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--pr-tint-strong);
	display: grid;
	place-items: center;
	font: 600 18px/1 var(--pr-font);
}

.pr-acc__sign::after {
	content: "+";
}

.pr-acc__item[open] .pr-acc__sign::after {
	content: "–";
}

.pr-acc__panel {
	margin: 0 0 22px;
	font: 400 16px/1.6 var(--pr-font);
	color: var(--pr-ink-3);
	max-width: 640px;
}

.pr-acc__panel[hidden] {
	display: none;
}

/* ══ Tabellen ══ */
.pr-table {
	width: 100%;
	border-collapse: collapse;
	font: 500 16px/1.3 var(--pr-font);
}

.pr-table th {
	text-align: left;
	padding: 0 12px 12px 0;
	border-bottom: 2px solid var(--pr-navy);
	font: 600 13px/1 var(--pr-font);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--pr-muted);
}

.pr-table td {
	padding: 16px 12px 16px 0;
	border-bottom: 1px solid var(--pr-line);
	vertical-align: top;
}

.pr-table td:first-child {
	font-weight: 600;
}

.pr-table td:last-child,
.pr-table th:last-child {
	padding-right: 0;
	color: var(--pr-muted);
}

.pr-table--card {
	background: var(--pr-surface);
	border: 1px solid var(--pr-line);
	border-radius: 14px;
	overflow: hidden;
	font-size: 15px;
}

.pr-table--card th {
	background: var(--pr-navy);
	color: #fff;
	border: 0;
	padding: 14px 18px;
}

.pr-table--card td {
	padding: 16px 18px;
}

.pr-table--card tr:last-child td {
	border-bottom: 0;
}

/* Datenzeile „Beschriftung / Wert" */
.pr-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--pr-line);
	font: 500 15px/1.3 var(--pr-font);
}

.pr-row:last-child {
	border-bottom: 0;
}

.pr-row__label {
	color: var(--pr-muted);
}

/* ══ Hinweise ══ */
.pr-notice {
	border-radius: 12px;
	padding: 16px 18px;
	font: 500 15px/1.5 var(--pr-font);
	margin-bottom: 20px;
}

.pr-notice--error {
	background: var(--pr-accent-tint);
	color: var(--pr-accent-ink);
}

.pr-notice--success {
	background: var(--pr-go);
	color: var(--pr-go-ink);
}

/* ══ Kopfzeile ══ */
.pr-header {
	background: var(--pr-surface);
	border-bottom: 1px solid var(--pr-line);
	position: sticky;
	top: 0;
	z-index: 40;
}

.pr-header__bar {
	display: flex;
	align-items: center;
	gap: 40px;
	padding-block: 18px;
}

.pr-logo img {
	height: 36px;
	width: auto;
}

/* Schiebt alles Nachfolgende — also die Aktionen — an den rechten Rand.
   Logo und Navigation bleiben dadurch als Gruppe links beisammen. */
.pr-nav {
	margin-right: auto;
	display: flex;
	gap: 26px;
}

.pr-nav ul {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pr-nav a {
	font: 500 15px/1 var(--pr-font);
	color: var(--pr-ink);
	white-space: nowrap;
}

.pr-nav a:hover,
.pr-nav .current-menu-item > a,
.pr-nav .is-current > a,
.pr-nav li.current_page_item > a {
	color: var(--pr-accent);
}

.pr-header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	font: 500 15px/1 var(--pr-font);
}

.pr-header__login {
	color: var(--pr-ink);
	font-weight: 500;
}

.pr-header__login:hover {
	color: var(--pr-accent);
}

.pr-burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 10px;
}

.pr-burger span {
	width: 22px;
	height: 2px;
	background: var(--pr-ink);
	transition: transform .2s ease, opacity .2s ease;
}

.pr-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.pr-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.pr-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1000px) {
	/* Erste Zeile: Logo links, Schalter rechts. Navigation und Aktionen
	   stehen im Markup dahinter und brechen aufgeklappt darunter um. */
	.pr-header__bar {
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 0;
		padding-block: 14px;
	}

	.pr-logo img {
		height: 28px;
	}

	.pr-burger {
		display: flex;
		margin-right: -10px;
	}

	.pr-nav,
	.pr-header__actions {
		display: none;
		width: 100%;
		margin-right: 0;
	}

	.pr-header.is-open .pr-nav,
	.pr-header.is-open .pr-header__actions {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding-bottom: 16px;
	}

	.pr-header.is-open .pr-nav ul {
		flex-direction: column;
		gap: 0;
		width: 100%;
	}

	.pr-header.is-open .pr-nav a {
		display: block;
		padding: 13px 0;
		border-bottom: 1px solid var(--pr-line);
		font-size: 17px;
	}

	.pr-header.is-open .pr-header__actions {
		gap: 10px;
		padding-top: 16px;
		padding-bottom: 8px;
	}
}

/* Vertrauensband unter dem Hero */
.pr-trustbar {
	background: var(--pr-navy);
	color: #fff;
}

.pr-trustbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding-block: 22px;
	font: 500 15px/1.3 var(--pr-font);
	flex-wrap: wrap;
}

.pr-trustbar__item {
	display: flex;
	gap: 10px;
	align-items: center;
}

.pr-trustbar__check {
	background: var(--pr-accent);
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	font-size: 13px;
	flex: none;
}

/* ══ Fußzeile ══ */
.pr-footer {
	margin-top: 96px;
	border-top: 1px solid var(--pr-line);
}

.pr-footer__inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-block: 48px;
	font: 400 15px/1.9 var(--pr-font);
	color: var(--pr-ink-3);
}

.pr-footer__brand img {
	height: 34px;
	width: auto;
	margin-bottom: 16px;
}

.pr-footer h2 {
	font: 700 15px/2 var(--pr-font);
	color: var(--pr-ink);
	margin: 0;
	letter-spacing: 0;
}

.pr-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pr-footer a {
	color: var(--pr-ink-3);
}

.pr-footer a:hover {
	color: var(--pr-accent);
}

@media (max-width: 860px) {
	.pr-footer {
		margin-top: 56px;
	}

	.pr-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 24px 32px;
		padding-block: 32px;
		font-size: 14px;
	}

	.pr-footer__brand {
		grid-column: 1 / -1;
	}
}

/* ══ Seitenumbruch ══ */
.pr-pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 40px;
	flex-wrap: wrap;
}

.pr-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--pr-line-strong);
	border-radius: 10px;
	background: var(--pr-surface);
	color: var(--pr-ink);
	font: 600 15px/1 var(--pr-font);
}

.pr-pagination .page-numbers:hover {
	border-color: var(--pr-ink);
}

.pr-pagination .page-numbers.current {
	background: var(--pr-navy);
	border-color: var(--pr-navy);
	color: #fff;
}

/* ══ Leerzustand ══ */
.pr-empty {
	background: var(--pr-surface);
	border: 1px dashed var(--pr-line-dark);
	border-radius: 14px;
	padding: 40px;
	text-align: center;
	font: 500 16px/1.5 var(--pr-font);
	color: var(--pr-muted);
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

.pr-empty h2,
.pr-empty h3 {
	font: 700 24px/1.1 var(--pr-display);
	color: var(--pr-ink);
}

/* ══ Fließtext aus dem Editor ══ */
.pr-prose {
	font: 400 18px/1.7 var(--pr-font);
	color: var(--pr-ink-2);
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.pr-prose > * {
	margin: 0;
}

.pr-prose h2 {
	font: 800 34px/1.1 var(--pr-display);
	color: var(--pr-ink);
	margin-top: 16px;
}

.pr-prose h3 {
	font: 700 26px/1.15 var(--pr-display);
	color: var(--pr-ink);
	margin-top: 12px;
}

.pr-prose ul,
.pr-prose ol {
	padding-left: 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pr-prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pr-prose img,
.pr-prose figure {
	border-radius: 14px;
	overflow: hidden;
}

.pr-prose figcaption {
	font: 400 14px/1.5 var(--pr-font);
	color: var(--pr-muted);
	margin-top: 8px;
}

/* Kasten im Fließtext (<aside>), etwa übernommene Hinweisboxen der alten
   Seite oder die Infokarten der Gewerk-Seiten. */
.pr-prose aside {
	background: var(--pr-surface);
	border: 1px solid var(--pr-line);
	border-left: 4px solid var(--pr-accent);
	border-radius: 12px;
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pr-prose aside > * {
	margin: 0;
}

.pr-prose aside h3 {
	margin-top: 0;
	font-size: 22px;
}

/* Bildquellen im Impressum */
.pr-prose .pr-credits {
	list-style: none;
	padding: 0;
	gap: 14px;
}

.pr-credits__item {
	display: flex;
	gap: 16px;
	align-items: center;
}

.pr-prose .pr-credits__item img {
	flex: none;
	width: 96px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
}

.pr-credits__source,
.pr-credits__used {
	display: block;
}

.pr-credits__source {
	font: 500 16px/1.4 var(--pr-font);
	color: var(--pr-ink);
}

.pr-credits__used {
	font: 400 14px/1.5 var(--pr-font);
	color: var(--pr-muted);
}

.pr-prose blockquote {
	border-left: 3px solid var(--pr-accent);
	padding-left: 20px;
	font: 500 20px/1.5 var(--pr-font);
	color: var(--pr-ink);
}

.pr-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.pr-prose th,
.pr-prose td {
	border-bottom: 1px solid var(--pr-line);
	padding: 12px 16px 12px 0;
	text-align: left;
	vertical-align: top;
}

@media (max-width: 640px) {
	.pr-prose {
		font-size: 17px;
	}

	/* Breite Tabellen (Ratgeber) scrollen in sich statt die Seite. */
	.pr-prose table {
		display: block;
		overflow-x: auto;
	}

	.pr-prose h2 {
		font-size: 28px;
	}
}
