/* HierFeiern Core – Cookie-Einwilligung */
.hf-consent {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 2147483000;
	display: flex;
	justify-content: center;
	padding: 16px;
	pointer-events: none;
	font-size: 15px;
	line-height: 1.5;
}
.hf-consent[hidden],
.hf-consent [hidden],
.hf-consent-reopen[hidden] { display: none !important; }

.hf-consent__box {
	pointer-events: auto;
	width: 100%;
	max-width: 760px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: #fff;
	color: #312C40;
	border-radius: 14px;
	box-shadow: 0 10px 40px rgba(49, 44, 64, .25);
	padding: 22px 24px;
	box-sizing: border-box;
}
.hf-consent__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	color: #312C40;
}
.hf-consent__text { margin: 0 0 14px; color: #4a4558; }
.hf-consent__text a { color: #FF3C48; text-decoration: underline; }

.hf-consent__settings {
	display: grid;
	gap: 10px;
	margin: 0 0 16px;
}
.hf-consent__cat {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 14px;
	background: #F8F6FB;
	border-radius: 10px;
	cursor: pointer;
	font-size: 14px;
}
.hf-consent__cat input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	accent-color: #FF3C48;
	flex: 0 0 auto;
}

.hf-consent__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}
.hf-btn {
	appearance: none;
	border: 2px solid #312C40;
	border-radius: 10px;
	padding: 10px 18px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	min-height: 44px;
	transition: background-color .15s, color .15s;
}
.hf-btn--secondary { background: #fff; color: #312C40; }
.hf-btn--secondary:hover { background: #F8F6FB; }
.hf-btn--primary { background: #312C40; color: #fff; }
.hf-btn--primary:hover { background: #FF3C48; border-color: #FF3C48; }
.hf-btn:focus-visible { outline: 3px solid #FF3C48; outline-offset: 2px; }

.hf-consent-reopen {
	position: fixed;
	left: 14px;
	bottom: 14px;
	z-index: 2147482999;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: #312C40;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: .75;
	box-shadow: 0 4px 14px rgba(49, 44, 64, .3);
}
.hf-consent-reopen:hover { opacity: 1; }

@media (max-width: 600px) {
	.hf-consent { padding: 8px; }
	.hf-consent__box { padding: 18px; border-radius: 12px; }
	.hf-btn { flex: 1 1 100%; }
	.hf-consent-reopen { bottom: 80px; } /* über mobiler Voxel-Navigation */
}
