/* Gamm Cookie-Consent – Banner-Styles */

:root {
	--gamm-accent: #b3894f;        /* Akzentfarbe (Salon-Gold) – hier zentral anpassbar */
	--gamm-accent-hover: #9c7440;
	--gamm-bg: #ffffff;
	--gamm-text: #2b2b2b;
	--gamm-muted: #5c5c5c;
	--gamm-border: #e3e3e3;
}

.gamm-consent[hidden] {
	display: none;
}

.gamm-consent {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgba( 0, 0, 0, 0.45 );
	opacity: 0;
	transition: opacity 0.25s ease;
	padding: 16px;
}

.gamm-consent.is-visible {
	opacity: 1;
}

.gamm-consent__box {
	background: var( --gamm-bg );
	color: var( --gamm-text );
	width: 100%;
	max-width: 640px;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba( 0, 0, 0, 0.25 );
	padding: 24px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	max-height: 90vh;
	overflow-y: auto;
	transform: translateY( 12px );
	transition: transform 0.25s ease;
}

.gamm-consent.is-visible .gamm-consent__box {
	transform: translateY( 0 );
}

.gamm-consent__title {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.2;
	color: var( --gamm-text );
}

.gamm-consent__intro {
	margin: 0 0 8px;
	color: var( --gamm-muted );
}

.gamm-consent__intro a {
	color: var( --gamm-accent );
	text-decoration: underline;
}

.gamm-consent__options {
	margin: 16px 0 4px;
	border-top: 1px solid var( --gamm-border );
	padding-top: 16px;
}

.gamm-consent__opt {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 12px;
	color: var( --gamm-text );
	cursor: pointer;
}

.gamm-consent__opt input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	accent-color: var( --gamm-accent );
}

.gamm-consent__opt span {
	font-size: 14px;
	color: var( --gamm-muted );
}

.gamm-consent__opt strong {
	color: var( --gamm-text );
}

.gamm-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	justify-content: flex-end;
}

.gamm-consent__btn {
	appearance: none;
	border: 1px solid var( --gamm-accent );
	border-radius: 8px;
	padding: 11px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1;
	transition: background 0.15s ease, color 0.15s ease;
}

.gamm-consent__btn--primary {
	background: var( --gamm-accent );
	color: #fff;
}

.gamm-consent__btn--primary:hover {
	background: var( --gamm-accent-hover );
	border-color: var( --gamm-accent-hover );
}

.gamm-consent__btn--ghost {
	background: transparent;
	color: var( --gamm-accent );
}

.gamm-consent__btn--ghost:hover {
	background: rgba( 179, 137, 79, 0.08 );
}

/* Reopen-Button (Einwilligung nachtraeglich aendern) */
.gamm-consent-reopen {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 999998;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var( --gamm-border );
	background: var( --gamm-bg );
	box-shadow: 0 4px 14px rgba( 0, 0, 0, 0.18 );
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.gamm-consent-reopen:hover {
	box-shadow: 0 6px 18px rgba( 0, 0, 0, 0.25 );
}

/* Platzhalter fuer blockierte externe Inhalte (Maps/Instagram) */
.gamm-consent-ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 220px;
	padding: 28px 20px;
	text-align: center;
	background: #f6f4f0;
	border: 1px dashed var( --gamm-border );
	border-radius: 10px;
}

.gamm-consent-ph__txt {
	margin: 0;
	max-width: 460px;
	color: var( --gamm-muted );
	font-size: 14px;
	line-height: 1.5;
}

.gamm-consent-ph__btn {
	appearance: none;
	border: none;
	border-radius: 8px;
	padding: 11px 20px;
	background: var( --gamm-accent );
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.gamm-consent-ph__btn:hover {
	background: var( --gamm-accent-hover );
}

@media ( max-width: 600px ) {
	.gamm-consent__box {
		padding: 20px 16px;
	}
	.gamm-consent__actions {
		justify-content: stretch;
	}
	.gamm-consent__btn {
		flex: 1 1 auto;
		text-align: center;
	}
}
