/* Cookie-/Consent-Banner */

.consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	background: #fff;
	box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.2);
	max-height: 90vh;
	overflow-y: auto;
}

.consent[hidden] {
	display: none;
}

.consent-inner {
	max-width: 60em;
	margin: 0 auto;
	padding: 1.5em 1.5em 1em 1.5em;
	text-align: left;
}

.consent h2 {
	font-size: 1.25em;
	margin: 0 0 0.5em 0;
}

.consent p {
	margin: 0 0 1em 0;
	font-size: 0.9em;
	line-height: 1.6em;
}

.consent-options label {
	display: block;
	text-align: left;
	margin: 0 0 0.5em 0;
	font-size: 0.9em;
	line-height: 1.5em;
	cursor: pointer;
}

/* das Theme versteckt native Checkboxen, hier sollen sie sichtbar sein */
.consent-options input[type="checkbox"] {
	display: inline-block;
	position: static;
	opacity: 1;
	width: auto;
	height: auto;
	margin: 0 0.5em 0 0;
	vertical-align: middle;
	-moz-appearance: checkbox;
	-webkit-appearance: checkbox;
	appearance: auto;
}

.consent-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	margin-top: 1em;
}

.consent-buttons .button {
	margin: 0;
}

@media screen and (max-width: 480px) {
	.consent-buttons .button {
		width: 100%;
	}
}

/* Platzhalter für die Google-Maps-Karte */
.consent-placeholder {
	vertical-align: top;
	box-sizing: border-box;
	padding: 2em 1.5em;
	background: #f0f0f0;
	text-align: center;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.consent-placeholder p {
	font-size: 0.9em;
	margin: 0 0 1em 0;
}
