/**
 * Vicky Lash Cookie Consent — 1:1 zum Base-File (ohne Tailwind).
 */

:root {
	--vl-cc-paper: #faf8f5;
	--vl-cc-ink: #1a1a1a;
	--vl-cc-line: #eae5dd;
	--vl-cc-muted: #95918a;
	--vl-cc-dark: #050505;
	--vl-cc-z-banner: 999990;
	--vl-cc-z-modal: 999999;
}

.vl-cc-root {
	box-sizing: border-box;
	color: var(--vl-cc-ink);
	font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.vl-cc-root *,
.vl-cc-root *::before,
.vl-cc-root *::after {
	box-sizing: border-box;
}

.vl-cc-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* —— Banner —— */
.vl-cc-banner {
	position: fixed;
	z-index: var(--vl-cc-z-banner);
	bottom: 1.5rem;
	left: 1.5rem;
	width: calc(100% - 3rem);
	max-width: 420px;
	background: var(--vl-cc-paper);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	padding: 2rem;
	border: 1px solid var(--vl-cc-line);
	display: flex;
	flex-direction: column;
	transform: translateY(150%);
	opacity: 0;
	pointer-events: none;
	transition:
		transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.45s ease;
	will-change: transform, opacity;
}

@media (min-width: 768px) {
	.vl-cc-banner {
		bottom: 3rem;
		left: 3rem;
		padding: 2.5rem;
	}
}

.vl-cc-banner.vl-cc--visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.vl-cc-banner__title {
	margin: 0 0 1rem;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.875rem;
	font-weight: 300;
	line-height: 1.2;
	color: var(--vl-cc-ink);
}

.vl-cc-banner__text {
	margin: 0 0 2rem;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.625;
	color: var(--vl-cc-muted);
}

.vl-cc-banner__actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.vl-cc-banner__row {
	display: flex;
	gap: 0.75rem;
}

.vl-cc-banner__row .vl-cc-btn {
	flex: 1;
	width: 50%;
}

.vl-cc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 1.15rem 1.25rem;
	font-family: inherit;
	font-size: 9px;
	font-weight: 400;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	border: none;
	text-align: center;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vl-cc-btn--primary {
	background: var(--vl-cc-ink);
	color: #fff;
	width: 100%;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.vl-cc-btn--primary:hover {
	background: #2d2d2d;
}

.vl-cc-btn--outline {
	background: transparent;
	color: var(--vl-cc-ink);
	border: 1px solid var(--vl-cc-line);
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.vl-cc-btn--outline:hover {
	background: #f4f4f4;
}

.vl-cc-btn--shadow {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.vl-cc-banner__legal {
	margin-top: 1.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	font-size: 9px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(149, 145, 138, 0.7);
}

.vl-cc-legal-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.vl-cc-legal-link:hover {
	color: var(--vl-cc-ink);
}

.vl-cc-legal-link--disabled {
	pointer-events: none;
	opacity: 0.45;
}

.vl-cc-legal-sep {
	opacity: 0.6;
}

/* —— Modal —— */
.vl-cc-modal {
	position: fixed;
	inset: 0;
	z-index: var(--vl-cc-z-modal);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

@media (min-width: 768px) {
	.vl-cc-modal {
		padding: 3rem;
	}
}

.vl-cc-modal.vl-cc--open {
	pointer-events: auto;
	visibility: visible;
	opacity: 1;
	transition-delay: 0s;
}

.vl-cc-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 5, 0.8);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.45s ease;
}

.vl-cc-modal.vl-cc--open .vl-cc-modal__backdrop {
	opacity: 1;
	transition-delay: 0.05s;
}

.vl-cc-modal__box {
	position: relative;
	width: 100%;
	max-width: 42rem;
	max-height: 90vh;
	background: var(--vl-cc-paper);
	padding: 2rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	border: 1px solid var(--vl-cc-line);
	display: flex;
	flex-direction: column;
	opacity: 0;
	transform: translateY(2.5rem);
	transition:
		opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: auto;
}

@media (min-width: 768px) {
	.vl-cc-modal__box {
		padding: 3.5rem;
	}
}

.vl-cc-modal.vl-cc--open .vl-cc-modal__box {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.1s;
}

.vl-cc-modal__close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	padding: 0.25rem;
	border: none;
	background: none;
	color: var(--vl-cc-muted);
	cursor: pointer;
	line-height: 0;
	transition: color 0.2s ease;
}

@media (min-width: 768px) {
	.vl-cc-modal__close {
		top: 2rem;
		right: 2rem;
	}
}

.vl-cc-modal__close:hover {
	color: var(--vl-cc-ink);
}

.vl-cc-modal__header {
	margin-bottom: 2.5rem;
}

.vl-cc-modal__kicker {
	display: block;
	margin-bottom: 1rem;
	font-size: 9px;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--vl-cc-muted);
}

.vl-cc-modal__title {
	margin: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2.25rem;
	font-weight: 300;
	line-height: 1.15;
	color: var(--vl-cc-ink);
}

@media (min-width: 768px) {
	.vl-cc-modal__title {
		font-size: 3rem;
	}
}

.vl-cc-modal__scroll {
	flex: 1 1 auto;
	overflow-y: auto;
	padding-right: 1rem;
	margin-right: -0.25rem;
	scrollbar-width: thin;
}

.vl-cc-modal__intro {
	margin: 0 0 1.5rem;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.625;
	color: var(--vl-cc-muted);
}

.vl-cc-cat {
	border-top: 1px solid var(--vl-cc-line);
	padding-top: 1.5rem;
	margin-top: 0;
}

/* Checkboxes */
.vl-cc-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0;
	cursor: pointer;
	margin: 0;
}

.vl-cc-checkbox--disabled {
	cursor: not-allowed;
	opacity: 0.85;
}

.vl-cc-checkbox__ui {
	position: relative;
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.25rem;
	margin-right: 1.5rem;
	border: 1px solid var(--vl-cc-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s ease;
}

.vl-cc-checkbox--toggle .vl-cc-checkbox__ui {
	border-color: var(--vl-cc-ink);
}

.vl-cc-checkbox--toggle:hover .vl-cc-checkbox__ui {
	border-color: var(--vl-cc-muted);
}

.vl-cc-checkbox__mark {
	display: block;
	width: 0.625rem;
	height: 0.625rem;
	background: var(--vl-cc-muted);
	transform: scale(0);
	transition: transform 0.3s ease;
}

.vl-cc-checkbox--disabled .vl-cc-checkbox__mark {
	background: var(--vl-cc-muted);
	transform: scale(1);
}

.vl-cc-checkbox--toggle input:checked + .vl-cc-checkbox__ui .vl-cc-checkbox__mark {
	background: var(--vl-cc-ink);
	transform: scale(1);
}

.vl-cc-checkbox--toggle input:checked + .vl-cc-checkbox__ui {
	border-color: var(--vl-cc-ink);
}

.vl-cc-checkbox__text {
	flex: 1;
	min-width: 0;
}

.vl-cc-checkbox__title {
	display: block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.125rem;
	color: var(--vl-cc-ink);
	margin-bottom: 0.5rem;
}

.vl-cc-checkbox__desc {
	display: block;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.625;
	color: var(--vl-cc-muted);
}

.vl-cc-modal__footer {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--vl-cc-line);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: flex-end;
}

@media (min-width: 768px) {
	.vl-cc-modal__footer {
		flex-direction: row;
		align-items: center;
	}
}

.vl-cc-modal__footer .vl-cc-btn {
	width: 100%;
	padding-left: 2.5rem;
	padding-right: 2.5rem;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

@media (min-width: 768px) {
	.vl-cc-modal__footer .vl-cc-btn {
		width: auto;
	}
}

/* Blur target (set by JS on elements matching blurSelector) */
.vl-cc-blur-target {
	transition: filter 0.55s ease;
}

.vl-cc-blur-target.vl-cc--blurred {
	filter: blur(8px);
}

/* Shortcode reopen — dezenter Link wie Base art-link */
.vl-cc-reopen {
	position: relative;
	display: inline-block;
	padding-bottom: 2px;
	background: none;
	border: none;
	font: inherit;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
}

.vl-cc-reopen::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background-color: currentColor;
	transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vl-cc-reopen:hover::after {
	width: 100%;
}
