/* Einfache Cookie-Einwilligung */
.ece {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 2147483000;
	display: flex;
	justify-content: center;
	font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1d1d1f;
}
.ece[hidden], .ece [hidden], .ece-reopen[hidden] { display: none !important; }

.ece__box {
	width: 100%;
	max-width: 720px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, .25);
	padding: 22px 24px 16px;
	box-sizing: border-box;
}
.ece__title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; font-weight: 700; color: inherit; }
.ece__text { margin: 0 0 14px; }

.ece__details { border-top: 1px solid #e5e5e5; margin: 0 0 14px; padding-top: 10px; }
.ece__cat { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.ece__cat label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.ece__cat input { width: 18px; height: 18px; margin: 0; accent-color: var(--ece-farbe, #1f3a5f); }
.ece__cat p { margin: 4px 0 0 26px; font-size: 13px; color: #555; }
.ece__always { font-weight: 400; color: #777; font-size: 13px; }

.ece__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.ece__btn {
	flex: 1 1 160px;
	padding: 11px 16px;
	border: 2px solid var(--ece-farbe, #1f3a5f);
	border-radius: 6px;
	background: var(--ece-farbe, #1f3a5f);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.2;
}
.ece__btn--secondary { background: #fff; color: var(--ece-farbe, #1f3a5f); }
.ece__btn:hover { filter: brightness(1.1); }
.ece__btn:focus-visible, .ece-reopen:focus-visible, .ece a:focus-visible { outline: 3px solid #f5a623; outline-offset: 2px; }

.ece__links { margin: 12px 0 0; font-size: 13px; text-align: center; color: #555; }
.ece__links a { color: var(--ece-farbe, #1f3a5f); text-decoration: underline; }

.ece-reopen {
	position: fixed;
	left: 12px;
	bottom: 12px;
	z-index: 2147482999;
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	color: var(--ece-farbe, #1f3a5f);
	font: 12px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	cursor: pointer;
	opacity: .85;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.ece-reopen:hover { opacity: 1; }

@media (max-width: 520px) {
	.ece { left: 8px; right: 8px; bottom: 8px; }
	.ece__box { padding: 18px 16px 12px; }
	.ece__btn { flex-basis: 100%; }
}
