/* PR Cookie Consent – Frontend-Banner */

#prcc-root, #prcc-root * { box-sizing: border-box; }

.prcc-banner {
	position: fixed;
	z-index: 999999;
	background: var(--prcc-bg, #fff);
	color: var(--prcc-text, #333);
	border-radius: var(--prcc-radius, 12px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
	padding: 22px 24px;
	font-family: var(--prcc-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	font-size: 14px;
	line-height: 1.55;
	/* vh meint auf iOS die Höhe OHNE Browserleisten – das Banner rutschte dadurch
	   unter die Safari-Leiste. dvh nutzt die tatsächlich sichtbare Höhe. */
	max-height: 90vh;
	max-height: 90dvh;
	overflow-y: auto;
	overflow-x: hidden;
	/* Ermöglicht, dass sich die Schriftgröße an der Bannerbreite orientiert. */
	container-type: inline-size;
	box-sizing: border-box;
	overflow-wrap: anywhere;
	word-break: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}
.prcc-banner * { max-width: 100%; }

/* Layout: Box (Ecke) */
.prcc-layout-box { width: var(--prcc-w, 420px); max-width: calc(100vw - var(--prcc-gap-left, 16px) - var(--prcc-gap-right, 16px)); }
.prcc-layout-box.prcc-pos-left { left: var(--prcc-gap-left, 16px); bottom: var(--prcc-gap-bottom, 16px); }
.prcc-layout-box.prcc-pos-right { right: var(--prcc-gap-right, 16px); bottom: var(--prcc-gap-bottom, 16px); }
.prcc-layout-box.prcc-pos-center { left: 50%; bottom: var(--prcc-gap-bottom, 16px); transform: translateX(-50%); }
.prcc-layout-box.prcc-pos-middle { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); }

/* Layout: Bar (Leiste) */
.prcc-layout-bar { left: 0; right: 0; width: 100%; border-radius: 0; max-width: 100%; }
.prcc-layout-bar.prcc-pos-bottom { bottom: var(--prcc-gap-bottom, 0px); }
.prcc-layout-bar.prcc-pos-top { top: var(--prcc-gap-top, 0px); }
.prcc-layout-bar .prcc-banner-inner { max-width: 1100px; margin: 0 auto; }

.prcc-head { display: flex; align-items: center; gap: 10px 12px; margin-bottom: 10px; flex-wrap: wrap; }
.prcc-logo { display: block; width: auto; max-width: 160px; height: auto; }
/* Titel: skaliert automatisch mit der BANNERBREITE (Container-Query-Einheit cqi),
   niemals größer als die eingestellte Wunschgröße. So bleibt „Datenschutz-
   einstellungen" auf Handy, Tablet und Desktop immer vollständig lesbar.
   !important, damit Theme-Überschriften-Styles den Banner nicht überschreiben. */
.prcc-title {
	font-size: var(--prcc-title-size, 18px) !important;
	font-size: min(var(--prcc-title-size, 18px), 7.5cqi) !important;
	line-height: 1.25;
	font-weight: 700; margin: 0; color: var(--prcc-primary, #0E7DB5);
	flex: 1 1 60%; min-width: 0;
	/* Kein Trennstrich mitten im Wort – lieber kleiner werden. */
	overflow-wrap: break-word; word-break: normal;
	-webkit-hyphens: manual; hyphens: manual;
}

.prcc-lang { display: flex; gap: 4px; flex-wrap: wrap; max-width: 100%; }
.prcc-lang-btn {
	border: 1px solid #d0d5dd; background: #fff; color: #555;
	border-radius: 6px; padding: 3px 8px; font-size: 12px; cursor: pointer; line-height: 1;
}
.prcc-lang-btn.is-active { background: var(--prcc-primary, #0E7DB5); color: #fff; border-color: var(--prcc-primary, #0E7DB5); }

.prcc-desc { margin: 0 0 12px; }
.prcc-links { margin: 0 0 14px; font-size: 13px; }
.prcc-links a { color: var(--prcc-link, #0E7DB5); text-decoration: underline; }
.prcc-links-sep { color: #9ca3af; margin: 0 2px; }

.prcc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.prcc-layout-bar .prcc-actions { justify-content: flex-end; }

.prcc-btn {
	border: 0; cursor: pointer; font-size: 14px; font-weight: 600;
	padding: 11px 16px; border-radius: var(--prcc-radius, 12px);
	transition: filter .15s ease, transform .05s ease; flex: 1 1 auto; min-width: 0;
	overflow-wrap: anywhere; white-space: normal;
}
.prcc-btn:hover { filter: brightness(.94); }
.prcc-btn:active { transform: translateY(1px); }
.prcc-btn-accept { background: var(--prcc-accept-bg, #0E7DB5); color: var(--prcc-accept-fg, #fff); }
.prcc-btn-reject { background: var(--prcc-reject-bg, #e9ecef); color: var(--prcc-reject-fg, #333); }
.prcc-btn-settings, .prcc-btn-save {
	background: #fff; color: var(--prcc-primary, #0E7DB5);
	border: 1px solid var(--prcc-primary, #0E7DB5);
}

/* Einstellungen */
/* Sind die Einstellungen offen, wird das Banner zur Spalte: Kopf und
   Schaltflächen bleiben stehen, nur die Liste in der Mitte scrollt. Sonst
   verschwinden „Speichern"/„Alle akzeptieren" bei vielen Cookies nach unten
   aus dem Bild – besonders auf dem Handy. */
.prcc-banner.prcc-has-panel { display: flex; flex-direction: column; overflow: hidden; }
.prcc-banner.prcc-has-panel > .prcc-head,
.prcc-banner.prcc-has-panel > .prcc-desc,
.prcc-banner.prcc-has-panel > .prcc-links,
.prcc-banner.prcc-has-panel > .prcc-actions { flex: 0 0 auto; }
.prcc-scroll {
	flex: 1 1 auto; min-height: 0;
	overflow-y: auto; overflow-x: hidden;
	-webkit-overflow-scrolling: touch; overscroll-behavior: contain;
	/* Platz für die Scrollleiste, damit Text nicht daran klebt. */
	padding-right: 8px; margin-right: -4px;
}
/* Sichtbare Kante nach unten: zeigt an, dass die Liste weitergeht. */
.prcc-banner.prcc-has-panel > .prcc-actions {
	border-top: 1px solid #eceff3; padding-top: 14px; margin-top: 0;
}

.prcc-settings-panel { margin: 6px 0 4px; border-top: 1px solid #eceff3; }
.prcc-cat { padding: 14px 0; border-bottom: 1px solid #eceff3; }
.prcc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prcc-cat-title strong { font-size: 15px; color: var(--prcc-primary, #0E7DB5); }
.prcc-always { font-style: normal; font-size: 12px; color: #3f7a17; margin-left: 6px; } /* 5,3:1 statt 3,3:1 (WCAG AA) */
.prcc-cat-desc { margin: 6px 0 0; font-size: 13px; color: #555; }

.prcc-cat-count {
	display: inline-block; margin-left: 6px; padding: 1px 7px;
	background: #eef2f8; color: #5a6472; border-radius: 10px;
	font-size: 11px; font-weight: 600; vertical-align: middle;
}

.prcc-svc-list { margin: 10px 0 0; padding: 10px 12px; background: #f7f9fc; border-radius: 8px; }
.prcc-svc-item + .prcc-svc-item { border-top: 1px solid #e6eaf0; }
.prcc-svc { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13px; flex-wrap: nowrap; }
.prcc-svc input[type="checkbox"] { flex: 0 0 auto; margin: 0; }
.prcc-svc-meta { flex: 1 1 auto; min-width: 0; cursor: pointer; overflow-wrap: anywhere; }
.prcc-svc-lock { flex: 0 0 auto; width: 15px; text-align: center; color: #3f7a17; font-size: 12px; }
.prcc-svc-provider { color: #5f6673; font-weight: 400; margin-left: 4px; font-size: 12px; } /* 5,6:1 auf #f7f9fc */

/* --- Cookie-Details je Dienst ------------------------------------------ */
.prcc-settings-tools { display: flex; justify-content: flex-end; padding: 8px 0 2px; }

/* Themes stylen oft ALLE <button>-Elemente (Rahmen, Farbe, Innenabstand).
   Diese beiden sind reine Textschalter und müssen deshalb hart zurückgesetzt
   werden – sonst stehen dicke Schaltflächen mitten in der Liste. */
.prcc-link-btn,
.prcc-svc-toggle {
	-webkit-appearance: none !important; appearance: none !important;
	background: transparent !important; background-image: none !important;
	border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
	margin: 0 !important; min-width: 0 !important; min-height: 0 !important; width: auto !important;
	font-family: inherit !important; font-weight: 500 !important;
	letter-spacing: normal !important; text-transform: none !important;
	color: var(--prcc-link, #0E7DB5) !important;
	cursor: pointer; line-height: 1.4 !important;
}
.prcc-link-btn {
	padding: 2px 0 !important; font-size: 12.5px !important; text-decoration: underline;
}
.prcc-svc-toggle {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
	padding: 3px 0 3px 8px !important; font-size: 12.5px !important; white-space: nowrap;
}
.prcc-svc-toggle:hover .prcc-svc-toggle-text { text-decoration: underline; }
.prcc-chevron {
	width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); transition: transform .15s ease; margin-top: -3px;
}
.prcc-svc-toggle.is-open .prcc-chevron { transform: rotate(-135deg); margin-top: 2px; }

.prcc-svc-details { padding: 2px 0 12px; }
.prcc-svc-details[hidden] { display: none; }
.prcc-svc-desc { margin: 0 0 8px; font-size: 12.5px; color: #555; }
.prcc-svc-privacy { margin: 8px 0 0; font-size: 12.5px; }
.prcc-svc-privacy a { color: var(--prcc-link, #0E7DB5); }
.prcc-ck-empty { margin: 0; font-size: 12.5px; color: #777; font-style: italic; }

/* Waagerechtes Scrollen als letzte Rettung, falls ein Zweck sehr lang ist. */
.prcc-ck-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* Themes bringen eigene Tabellenstile mit (Streifen, Rahmen, Innenabstände).
   Hier wird alles neutralisiert, damit die Cookie-Tabelle überall gleich aussieht. */
.prcc-ck-table {
	width: 100% !important; border-collapse: collapse !important; font-size: 12.5px;
	background: #fff !important; border: 0 !important; border-radius: 6px; overflow: hidden;
	margin: 0 !important; table-layout: auto;
}
.prcc-ck-table tr { background: transparent !important; border: 0 !important; }
.prcc-ck-table th, .prcc-ck-table td {
	text-align: left !important; padding: 6px 8px !important; vertical-align: top !important;
	border: 0 !important; border-bottom: 1px solid #e6eaf0 !important;
	background: transparent !important; color: inherit; font-size: inherit;
}
.prcc-ck-table th { background: #eef2f8 !important; color: #41495a; font-weight: 600; white-space: nowrap; }
.prcc-ck-table tr:last-child td { border-bottom: 0 !important; }
.prcc-ck-table code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11.5px; background: #f3f5f9; padding: 1px 5px; border-radius: 4px;
	overflow-wrap: anywhere;
}
.prcc-ck-type { display: inline-block; color: #5a6472; white-space: nowrap; }

/* Schmales Banner (Handy, schmales Tablet, schmale Box): Die Tabelle wird zu
   gestapelten Karten. Die Spaltenüberschrift steht dann je Zelle davor.
   Container-Query = richtet sich nach der BANNERBREITE, nicht nach dem
   Bildschirm – so passt es auch bei einem schmalen Banner am Desktop. */
@container (max-width: 430px) {
	.prcc-ck-wrap { overflow-x: visible; }
	.prcc-ck-table, .prcc-ck-table tbody, .prcc-ck-table tr, .prcc-ck-table td { display: block; width: 100%; }
	.prcc-ck-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.prcc-ck-table tr {
		border: 1px solid #e6eaf0; border-radius: 6px; padding: 8px 10px; margin-bottom: 8px; background: #fff;
	}
	.prcc-ck-table tr:last-child { margin-bottom: 0; }
	.prcc-ck-table td {
		border: 0 !important; padding: 3px 0 !important; display: flex; gap: 8px; align-items: baseline;
	}
	.prcc-ck-table td::before {
		content: attr(data-label) ":";
		flex: 0 0 34%; max-width: 34%;
		color: #6b7280; font-size: 11.5px; font-weight: 600;
	}
}

/* Umschalter */
.prcc-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; }
.prcc-switch input { opacity: 0; width: 0; height: 0; }
.prcc-slider {
	position: absolute; inset: 0; background: #cbd2dc; border-radius: 26px; transition: .2s; cursor: pointer;
}
.prcc-slider::before {
	content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px;
	background: #fff; border-radius: 50%; transition: .2s;
}
.prcc-switch input:checked + .prcc-slider { background: var(--prcc-primary, #0E7DB5); }
.prcc-switch input:checked + .prcc-slider::before { transform: translateX(20px); }
.prcc-switch input:disabled + .prcc-slider { opacity: .6; cursor: not-allowed; }

/* Cookie-Trigger – nur der Keks, ohne Rahmen/Schatten/Hintergrund (gegen Theme-Styles abgesichert) */
.prcc-floating {
	position: fixed; z-index: 999998; cursor: pointer; line-height: 0; width: 52px; height: 52px;
	padding: 0 !important; margin: 0 !important; border: 0 !important; outline: none !important;
	background: transparent !important; background-image: none !important; box-shadow: none !important;
	border-radius: 0 !important; -webkit-appearance: none !important; appearance: none !important;
}
.prcc-floating svg { width: 100%; height: 100%; display: block; }
.prcc-floating:hover { transform-origin: center; filter: brightness(1.04); }
.prcc-floating:focus-visible { outline: 2px solid var(--prcc-primary, #0E7DB5) !important; outline-offset: 3px; border-radius: 50% !important; }

/* Milchglas-Platzhalter für blockierte Inhalte (sichtbar „da ist was", aber nicht nutzbar) */
.prcc-iframe-placeholder { position: relative; }
.prcc-iframe-placeholder.prcc-blocked {
	overflow: hidden; border-radius: var(--prcc-radius, 12px); min-height: 180px;
	background: linear-gradient(135deg, #e9eef5 0%, #dbe3ef 50%, #e9eef5 100%);
}
.prcc-glass {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	text-align: center; padding: 20px;
	background: rgba(255, 255, 255, .45);
	-webkit-backdrop-filter: blur(9px) saturate(1.1); backdrop-filter: blur(9px) saturate(1.1);
	font-family: var(--prcc-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	color: #2a2f38;
}
.prcc-glass-inner { max-width: 380px; }
.prcc-glass-icon svg { width: 42px; height: 42px; }
.prcc-glass p { margin: 8px 0 14px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.prcc-glass-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.prcc-glass-open { flex: 0 0 auto; }
.prcc-glass-load {
	background: transparent; border: 0; padding: 8px 4px; cursor: pointer;
	color: var(--prcc-link, #0E7DB5); text-decoration: underline; font-size: 13px;
}

/* Cookie-Erklärung (Shortcode) */
.prcc-declaration { font-size: 15px; }
.prcc-declaration-intro { margin-bottom: 16px; }
.prcc-decl-btn {
	background: var(--prcc-primary, #0E7DB5); color: #fff; border: 0; cursor: pointer;
	padding: 9px 16px; border-radius: 8px; font-weight: 600;
}
.prcc-decl-controller { background: #f7f9fc; border: 1px solid #e6eaf0; border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; }
.prcc-decl-controller p { margin: 2px 0; }
.prcc-decl-cat { margin: 22px 0 4px; color: var(--prcc-primary, #0E7DB5); }
.prcc-decl-cat-desc { margin: 0 0 10px; color: #555; }
.prcc-decl-service { margin: 0 0 14px; padding: 12px 14px; background: #f7f9fc; border-radius: 8px; }
.prcc-decl-provider { font-size: 13px; color: #777; margin-left: 8px; }
.prcc-decl-service-desc { margin: 4px 0 8px; }
.prcc-decl-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prcc-decl-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.prcc-decl-table th, .prcc-decl-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #e6eaf0; vertical-align: top; }
.prcc-decl-table th { background: #eef2f8; color: #333; white-space: nowrap; }
.prcc-decl-table code { overflow-wrap: anywhere; }

/* Cookie-Erklärungsseite auf dem Handy: Tabelle wird zu gestapelten Karten,
   damit vier Spalten nicht zu unlesbaren Schnipseln zusammengequetscht werden. */
@media (max-width: 640px) {
	.prcc-decl-table-wrap { overflow-x: visible; }
	.prcc-decl-table, .prcc-decl-table tbody, .prcc-decl-table tr, .prcc-decl-table td { display: block; width: 100%; }
	.prcc-decl-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.prcc-decl-table tr { border: 1px solid #e6eaf0; border-radius: 6px; padding: 8px 10px; margin-bottom: 8px; }
	.prcc-decl-table td { border: 0; padding: 3px 0; display: flex; gap: 8px; align-items: baseline; }
	.prcc-decl-table td::before {
		content: attr(data-label) ":";
		flex: 0 0 34%; max-width: 34%; color: #6b7280; font-size: 12px; font-weight: 600;
	}
}
.prcc-decl-privacy { margin: 8px 0 0; font-size: 13px; }

/* Blockiermodus (modaler Banner mit Overlay) */
.prcc-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); z-index: 999997; }
html.prcc-noscroll, html.prcc-noscroll body { overflow: hidden !important; }
.prcc-banner.prcc-blocking {
	position: fixed; left: 50%; right: auto; bottom: auto;
	/* Prozentwerte beziehen sich bei position:fixed auf den Layout-Viewport
	   (ohne Browserleisten) – dvh nutzt die tatsächlich sichtbare Höhe. */
	top: 50%;
	top: 50dvh;
	transform: translate(-50%, -50%); width: var(--prcc-w, 460px); max-width: calc(100vw - var(--prcc-gap-left, 16px) - var(--prcc-gap-right, 16px));
	/* Nie höher als der sichtbare Bereich – sonst sind die Buttons unerreichbar.
	   dvh berücksichtigt ein- und ausblendende Browserleisten (iOS/Android). */
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

/* RTL (z. B. Arabisch) */
.prcc-banner[dir="rtl"] { text-align: right; }
.prcc-banner[dir="rtl"] .prcc-desc,
.prcc-banner[dir="rtl"] .prcc-links,
.prcc-banner[dir="rtl"] .prcc-cat-desc,
.prcc-banner[dir="rtl"] .prcc-cat-title { text-align: right; }
.prcc-glass[dir="rtl"] { direction: rtl; }

/* Responsive – Handy (hoch/quer) & Tablet, saubere Ränder, kein Überlauf */
@media (max-width: 782px) {
	.prcc-layout-box { width: auto; left: var(--prcc-gap-left, 12px); right: var(--prcc-gap-right, 12px); }
	.prcc-layout-box.prcc-pos-left, .prcc-layout-box.prcc-pos-right, .prcc-layout-box.prcc-pos-center { left: var(--prcc-gap-left, 12px); right: var(--prcc-gap-right, 12px); transform: none; }
	/* Mobil/Tablet: oben verankern statt zentrieren. Zentrierung rutscht auf
	   Smartphones sonst unter die Browserleiste (Layout- vs. sichtbarer Viewport). */
	.prcc-banner.prcc-blocking {
		width: auto; left: 12px; right: 12px;
		top: 12px !important;
		top: calc(12px + env(safe-area-inset-top)) !important;
		transform: none !important;
	}
	/* Auch der nicht-modale Banner darf nie über den Bildschirm hinauswachsen. */
	.prcc-layout-box {
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
}
@media (max-width: 600px) {
	.prcc-banner { padding: 16px 14px; }
	.prcc-banner.prcc-blocking {
		left: 8px !important; right: 8px !important; width: auto;
		top: 10px !important;
		top: calc(10px + env(safe-area-inset-top)) !important;
		transform: none !important;
		/* Sichere Bereiche (iPhone-Notch/Home-Indikator) mit einrechnen. */
		max-height: calc(100vh - 20px);
		max-height: calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
	}
	.prcc-layout-box {
		left: 8px !important; right: 8px !important; width: auto; transform: none !important;
		bottom: 8px; bottom: calc(8px + env(safe-area-inset-bottom));
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px - env(safe-area-inset-bottom));
	}
	.prcc-banner { padding: 18px 16px; font-size: 13.5px; }
	.prcc-actions { flex-direction: column; }
	.prcc-btn { width: 100%; }
	.prcc-layout-bar .prcc-actions { justify-content: stretch; }
	/* Auf kleinen Displays kompakter, damit die Buttons ohne Scrollen sichtbar bleiben. */
	/* Titelgröße regelt die cqi-Formel oben automatisch – hier nur die Zeilenhöhe. */
	.prcc-title { line-height: 1.2; }
	.prcc-desc { font-size: 13px; line-height: 1.45; }
	.prcc-links { margin-bottom: 10px; }
}
/* Sehr niedrige Ansichten (Querformat): oben andocken statt zentrieren. */
/* Sehr niedrige Ansichten (Querformat): oben andocken statt zentrieren. */
@media (max-height: 520px) and (min-width: 783px) {
	/* Desktop-Variante: horizontal weiterhin über left:50% zentriert. */
	.prcc-banner.prcc-blocking {
		top: 8px !important; transform: translateX(-50%) !important;
		max-height: calc(100vh - 16px);
		max-height: calc(100dvh - 16px);
	}
}
@media (max-height: 520px) and (max-width: 782px) {
	/* Mobil/Tablet: links/rechts eingerückt, daher keine Verschiebung. */
	.prcc-banner.prcc-blocking {
		top: 8px !important; transform: none !important;
		max-height: calc(100vh - 16px);
		max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
	}
}

/* --- Cookie-Messung (nur fuer Administratoren sichtbar) ----------------- */
.prcc-measure-box {
	position: fixed; z-index: 1000000; right: 16px; bottom: 16px; width: 320px; max-width: calc(100vw - 32px);
	background: #fff; color: #2a2f38; border-radius: 12px; padding: 16px 18px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .22);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 13.5px; line-height: 1.5;
}
.prcc-measure-title { font-weight: 700; font-size: 15px; margin-bottom: 10px; color: var(--prcc-primary, #0E7DB5); }
.prcc-measure-bar { height: 8px; background: #eef2f8; border-radius: 6px; overflow: hidden; }
.prcc-measure-bar span {
	display: block; height: 100%; width: 0;
	background: linear-gradient(90deg, #0E7DB5 0%, #5BA12B 100%); transition: width .12s linear;
}
.prcc-measure-hint { margin: 10px 0 0; color: #5a6472; font-size: 12.5px; }
.prcc-measure-link {
	display: inline-block; margin-top: 10px; padding: 8px 14px; border-radius: 8px;
	background: var(--prcc-primary, #0E7DB5); color: #fff !important; text-decoration: none; font-weight: 600;
}
.prcc-measure-box.is-done .prcc-measure-title { color: #5BA12B; }
@media (max-width: 600px) {
	.prcc-measure-box { left: 10px; right: 10px; width: auto; bottom: 10px; }
}


/* --- Barrierefreiheit: sichtbarer Tastaturfokus (WCAG 2.4.7) ------------- */
.prcc-banner:focus { outline: none; } /* Der Dialog selbst bekommt nur programmatisch Fokus. */
.prcc-banner .prcc-btn:focus-visible,
.prcc-banner .prcc-lang-btn:focus-visible,
.prcc-banner a:focus-visible,
.prcc-banner .prcc-link-btn:focus-visible,
.prcc-banner .prcc-svc-toggle:focus-visible,
.prcc-banner input[type="checkbox"]:focus-visible,
.prcc-glass button:focus-visible {
	outline: 3px solid var(--prcc-primary, #0E7DB5) !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 5px rgba(255, 255, 255, .9) !important;
}
/* Der Kategorie-Schalter ist ein unsichtbares Kontrollkästchen – der Fokus
   muss deshalb am sichtbaren Schieber erscheinen. */
.prcc-switch input:focus-visible + .prcc-slider {
	outline: 3px solid var(--prcc-primary, #0E7DB5);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	.prcc-slider, .prcc-slider::before, .prcc-chevron, .prcc-btn { transition: none !important; }
}

/* --- Hinweis-Ebene über Einbettungen, die erst per JS entstehen (z. B. Elementor-Video) --- */
.prcc-has-overlay { position: relative !important; min-height: 200px; }
.prcc-iframe-placeholder.prcc-embed-overlay {
	position: absolute; inset: 0; z-index: 5; min-height: 0;
	border-radius: inherit;
}

/* Schließen ohne Auswahl (nur wenn keine aktive Entscheidung verlangt wird) */
.prcc-close {
	-webkit-appearance: none !important; appearance: none !important;
	margin-left: auto !important; flex: 0 0 auto; width: 32px !important; height: 32px !important;
	padding: 0 !important; border: 0 !important; border-radius: 50% !important;
	background: transparent !important; color: #5f6673 !important; font-size: 24px !important; line-height: 1 !important;
	cursor: pointer; box-shadow: none !important;
}
.prcc-close:hover { background: #eef2f8 !important; }
.prcc-close:focus-visible { outline: 3px solid var(--prcc-primary, #0E7DB5) !important; outline-offset: 2px; }

/* Niedrige Bildschirme (Handy quer): Feste Kopf- und Fußzeile ließen der
   Cookie-Liste kaum Platz. Hier scrollt der ganze Banner als Einheit, die
   Schaltflächen bleiben am unteren Rand angeheftet. */
@media (max-height: 560px) {
	.prcc-banner.prcc-has-panel { display: block; overflow-y: auto; padding-bottom: 0 !important; }
	.prcc-banner.prcc-has-panel .prcc-scroll { overflow: visible; max-height: none; padding-right: 0; margin-right: 0; }
	.prcc-banner.prcc-has-panel > .prcc-actions {
		position: sticky; bottom: 0; z-index: 2;
		background: var(--prcc-bg, #fff); padding-bottom: 14px;
		box-shadow: 0 -8px 12px -8px rgba(0, 0, 0, .12);
		margin-left: -2px; margin-right: -2px;
	}
	.prcc-banner .prcc-desc { font-size: 12.5px; line-height: 1.4; margin-bottom: 8px; }
	.prcc-banner .prcc-head { margin-bottom: 6px; }
	.prcc-banner .prcc-btn { padding: 8px 12px; }
}
