/*
 * SCB Consent – Cookie-Hinweis, Einstellungs-Dialog, 2-Klick-Platzhalter (v0.72.0).
 * Farben/Schrift nach Vereins-CI (Webseiten-Rot #C42119, Barlow über das Theme).
 */

/* ---- Banner -------------------------------------------------------------- */
.scb-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	background: #fff;
	color: #353238;
	border-top: 4px solid var(--scb-red, #C42119);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, .14);
	padding: 16px;
	font-size: 15px;
	line-height: 1.45;
}
.scb-consent[hidden] { display: none !important; }
.scb-consent__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 32px;
}
.scb-consent__text { flex: 1 1 480px; }
.scb-consent__text p { margin: 0; }
.scb-consent__title {
	font-weight: 700;
	font-size: 17px;
	margin: 0 0 4px !important;
}
.scb-consent a { color: var(--scb-red, #C42119); }
.scb-consent__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

/* Gleichwertige Schaltflächen (kein Dark Pattern). */
.scb-consent__btn,
.scb-consent-ph__load {
	display: inline-block;
	background: var(--scb-red, #C42119);
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 11px 20px;
	min-width: 170px;
	font: inherit;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
}
.scb-consent__btn:hover,
.scb-consent-ph__load:hover { background: #A01A14; }
.scb-consent__btn:focus-visible,
.scb-consent-ph__load:focus-visible,
.scb-consent__link:focus-visible,
.scb-consent-dialog__close:focus-visible {
	outline: 3px solid #353238;
	outline-offset: 2px;
}
.scb-consent__link {
	background: none;
	border: 0;
	padding: 8px 6px;
	color: var(--scb-red, #C42119);
	text-decoration: underline;
	font: inherit;
	font-size: 15px;
	cursor: pointer;
}

@media (max-width: 600px) {
	.scb-consent { padding: 14px 16px; font-size: 14px; }
	.scb-consent__actions { width: 100%; }
	.scb-consent__btn { flex: 1 1 140px; min-width: 0; }
	.scb-consent__link { width: 100%; text-align: center; }
}

/* ---- Einstellungs-Dialog ------------------------------------------------- */
.scb-consent-dialog {
	width: calc(100% - 32px);
	max-width: 640px;
	max-height: calc(100vh - 32px);
	border: 0;
	border-radius: 8px;
	padding: 0;
	color: #353238;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
	font-size: 15px;
	line-height: 1.45;
}
.scb-consent-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.scb-consent-dialog__body { position: relative; padding: 24px 24px 18px; }
.scb-consent-dialog__title {
	margin: 0 32px 8px 0;
	font-size: 24px;
	line-height: 1.2;
}
.scb-consent-dialog p { margin: 0 0 10px; }
.scb-consent-dialog a { color: var(--scb-red, #C42119); }
.scb-consent-dialog__close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	color: #50575E;
	cursor: pointer;
	padding: 4px 8px;
}
.scb-consent-dialog__cat {
	border: 1px solid #E2E4E7;
	border-radius: 6px;
	padding: 12px 14px 4px;
	margin: 0 0 12px;
}
.scb-consent-dialog__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	font-size: 16px;
}
.scb-consent-dialog__label input { width: 18px; height: 18px; accent-color: var(--scb-red, #C42119); }
.scb-consent-dialog__always { color: #50575E; font-size: 14px; }
.scb-consent-dialog__list { margin: 0 0 10px; padding-left: 1.4em; font-size: 14px; }
.scb-consent-dialog__list li { margin: 2px 0; }
.scb-consent-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 6px 0 10px;
}
.scb-consent-dialog__more { font-size: 14px; }

/* ---- 2-Klick-Platzhalter ------------------------------------------------- */
.scb-consent-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	width: 100%;
	box-sizing: border-box;
	background: #F1F2F3;
	border: 1px solid #E2E4E7;
	color: #353238;
	font-size: 15px;
	line-height: 1.45;
}
.scb-consent-ph--fill,
.scb-map__frame > .scb-consent-ph {
	position: absolute;
	inset: 0;
	min-height: 0;
	border: 0;
}
.scb-consent-ph__box {
	max-width: 520px;
	padding: 20px;
	text-align: center;
}
.scb-consent-ph__box p { margin: 0 0 10px; }
.scb-consent-ph__title {
	font-weight: 700;
	font-size: 18px;
}
.scb-consent-ph a { color: var(--scb-red, #C42119); }
.scb-consent-ph__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 16px;
}
.scb-consent-ph__actions[hidden] { display: none !important; }
.scb-consent-ph__remember {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	cursor: pointer;
}
.scb-consent-ph__remember input { accent-color: var(--scb-red, #C42119); }
.scb-consent-ph__alt { font-size: 14px; }
.scb-consent-ph template { display: none; }
