/* DE Cookie Consent – Banner-Styles */

.decc-banner {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgba(15, 18, 25, 0.55);
	padding: 16px;
}

html.decc-lock,
html.decc-lock body {
	overflow: hidden;
}

.decc-card {
	background: #fff;
	color: #1c2330;
	max-width: 640px;
	width: 100%;
	max-height: min(85vh, 720px);
	overflow-y: auto;
	border-radius: 14px 14px 10px 10px;
	padding: 24px 24px 20px;
	box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.25);
	font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.decc-card h2 {
	margin: 0 0 10px;
	font-size: 19px;
	line-height: 1.3;
	color: inherit;
}

.decc-card p { margin: 0 0 12px; }

.decc-links { font-size: 13px; }
.decc-links a { color: #2b5db8; text-decoration: underline; }

/* Kategorien */
.decc-details { border-top: 1px solid #e4e7ee; margin-top: 4px; padding-top: 14px; }
.decc-cat { margin-bottom: 14px; }
.decc-cat p { font-size: 13px; color: #5a6372; margin: 6px 0 0 56px; }

.decc-switch {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	font-weight: 600;
}
.decc-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.decc-slider {
	width: 44px; height: 24px;
	background: #c6ccd8;
	border-radius: 999px;
	position: relative;
	flex: 0 0 auto;
	transition: background .18s ease;
}
.decc-slider::after {
	content: "";
	position: absolute;
	top: 3px; left: 3px;
	width: 18px; height: 18px;
	background: #fff;
	border-radius: 50%;
	transition: transform .18s ease;
	box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.decc-switch input:checked + .decc-slider { background: #2f7d4f; }
.decc-switch input:checked + .decc-slider::after { transform: translateX(20px); }
.decc-switch input:disabled + .decc-slider { background: #8fae9c; cursor: not-allowed; }
.decc-switch input:focus-visible + .decc-slider { outline: 3px solid #1c2330; outline-offset: 2px; }

/* Buttons – „Alle akzeptieren" und „Nur notwendige" gleichwertig (DSGVO) */
.decc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}
.decc-btn {
	font: inherit;
	font-weight: 600;
	border-radius: 8px;
	padding: 11px 18px;
	cursor: pointer;
	border: 2px solid #4968da;
	transition: filter .15s ease;
}
.decc-btn:focus-visible { outline: 3px solid #1c2330; outline-offset: 2px; }
.decc-btn-primary { background: #4968da; color: #fff; }
.decc-btn-primary:hover { background: #3a55b8; }
.decc-btn-ghost { background: #fff; color: #4968da; }
.decc-btn-ghost:hover { background: #eef1fc; }

/* Schwebende Schaltfläche zum Widerruf */
.decc-fab {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 999998;
	width: 46px; height: 46px;
	border-radius: 50%;
	border: none;
	background: #4968da;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.decc-fab:hover { filter: brightness(1.3); }
.decc-fab:focus-visible { outline: 3px solid #1c2330; outline-offset: 2px; }

@media (max-width: 560px) {
	.decc-banner { padding: 0; }
	.decc-card { border-radius: 14px 14px 0 0; }
	.decc-actions .decc-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.decc-slider, .decc-slider::after, .decc-btn { transition: none; }
}