.scherer-consent {
	position: fixed;
	z-index: 80;
	left: 1.25rem;
	bottom: 1.25rem;
	width: min(22.5rem, calc(100vw - 2.5rem));
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.15rem 1.15rem 1rem;
	background: #fff;
	color: var(--color-ink, #232b3f);
	font-family: var(--font-body, "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
	font-size: 0.9375rem;
	line-height: 1.45;
	border: 1px solid color-mix(in srgb, var(--color-primary, #384666) 16%, transparent);
	border-top: 3px solid var(--color-secondary, #528d97);
	box-shadow: 0 16px 40px rgba(35, 43, 63, 0.16);
}

.scherer-consent[hidden] {
	display: none !important;
}

.scherer-consent__title {
	margin: 0;
	font-family: var(--font-serif-display, "Source Serif 4", Georgia, "Times New Roman", serif);
	font-size: 1.65rem;
	font-weight: 600;
	line-height: 1.15;
	color: var(--color-primary, #384666);
}

.scherer-consent__intro {
	margin: 0;
	color: color-mix(in srgb, var(--color-ink, #232b3f) 82%, transparent);
	font-size: 0.875rem;
	line-height: 1.45;
}

.scherer-consent__intro a {
	color: var(--color-secondary, #528d97);
	text-underline-offset: 0.15em;
}

.scherer-consent__intro a:hover,
.scherer-consent__intro a:focus-visible {
	color: var(--color-primary, #384666);
}

.scherer-consent__choices {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
}

.scherer-consent__choice {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0;
	padding: 0.65rem 0.7rem;
	cursor: pointer;
	background: var(--color-off-white, #f8f8f8);
	border: 1px solid color-mix(in srgb, var(--color-primary, #384666) 12%, transparent);
}

.scherer-consent__choice:hover {
	background: var(--color-mist, #e6f3ef);
	border-color: color-mix(in srgb, var(--color-secondary, #528d97) 45%, transparent);
}

.scherer-consent__choice input {
	width: 1rem;
	height: 1rem;
	margin-top: 0.15rem;
	flex-shrink: 0;
	accent-color: var(--color-secondary, #528d97);
	cursor: pointer;
}

.scherer-consent__choice-text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.scherer-consent__choice-title {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-primary, #384666);
}

.scherer-consent__choice-desc {
	font-size: 0.8rem;
	line-height: 1.35;
	color: color-mix(in srgb, var(--color-ink, #232b3f) 72%, transparent);
}

.scherer-consent__actions {
	display: flex;
	gap: 0.5rem;
}

.scherer-consent__actions button {
	flex: 1 1 0;
	appearance: none;
	margin: 0;
	padding: 0.7rem 0.6rem;
	border-radius: 0;
	font-family: inherit;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.scherer-consent__reject {
	background: transparent;
	color: var(--color-primary, #384666);
	border: 1px solid var(--color-primary, #384666);
}

.scherer-consent__reject:hover,
.scherer-consent__reject:focus-visible {
	background: var(--color-mist, #e6f3ef);
}

.scherer-consent__agree {
	background: var(--color-primary, #384666);
	color: #fff;
	border: 1px solid var(--color-primary, #384666);
}

.scherer-consent__agree:hover,
.scherer-consent__agree:focus-visible {
	background: var(--color-secondary, #528d97);
	border-color: var(--color-secondary, #528d97);
	color: #fff;
}

.scherer-consent__actions button:focus-visible,
.scherer-consent__intro a:focus-visible,
.consent-settings:focus-visible {
	outline: 2px solid var(--color-secondary, #528d97);
	outline-offset: 2px;
}

.site-footer .consent-settings {
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.9);
	font: inherit;
	font-size: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
}

.site-footer .consent-settings:hover,
.site-footer .consent-settings:focus-visible {
	color: var(--color-light, #a9d0c4);
}

@media (max-width: 480px) {
	.scherer-consent {
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: min(85vh, 36rem);
		overflow: auto;
	}
}
