/*
 * Anpassung des Cookiebanners (CookieConsent 3) an das Seitendesign
 * und Platzhalter für externe Einbettungen, die erst nach Zustimmung geladen werden.
 */

#cc-main {
	--cc-font-family: Timeless, "Times New Roman", Times, serif;
	--cc-bg: #ffffff;
	--cc-primary-color: #2d3b26;
	--cc-secondary-color: #4E6840;
	--cc-btn-primary-bg: #4E6840;
	--cc-btn-primary-border-color: #4E6840;
	--cc-btn-primary-hover-bg: #33542C;
	--cc-btn-primary-hover-border-color: #33542C;
	--cc-btn-secondary-bg: #EBF176;
	--cc-btn-secondary-color: #2d3b26;
	--cc-btn-secondary-border-color: #DBE33D;
	--cc-btn-secondary-hover-bg: #DBE33D;
	--cc-btn-secondary-hover-border-color: #DBE33D;
	--cc-toggle-on-bg: #4E6840;
	--cc-separator-border-color: #DBE33D;
	--cc-cookie-category-block-bg: #FEFFC1;
	--cc-cookie-category-block-border: #DBE33D;
	--cc-link-color: #33542C;
}

/* Banner: volle Breite, bündig am unteren Bildschirmrand */
#cc-main .cm--bar {
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 100%;
	border-radius: 0;
}

/* ---------- Platzhalter für externe Inhalte ---------- */
.consent-embed {
	position: relative;
	max-width: 100%;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px dotted #4E6840;
}
.consent-embed-box {
	box-sizing: border-box;
	height: 100%;
	min-height: 140px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.consent-embed-box[hidden] {
	display: none;
}
.consent-embed-box p {
	margin: 0 0 0.6em;
}
.consent-embed-button {
	padding: 0.4em 1em;
	border: 1px solid #DBE33D;
	border-radius: 6px;
	background: #DBE33D;
	font: inherit;
	font-weight: bold;
	color: #4E6840;
	cursor: pointer;
}
.consent-embed-button:hover,
.consent-embed-button:focus {
	background: #EBF176;
}
.consent-embed-content {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.consent-embed-video {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
}
.consent-embed-map {
	width: 100%;
	height: 450px;
}
.consent-embed-events {
	width: 100%;
	height: 800px;
}
.consent-embed-weather {
	width: 190px;
	min-height: 140px;
}
.consent-embed-weather .consent-embed-content {
	height: auto;
}
.consent-embed-weather.consent-embed-active {
	border: 0;
	min-height: 0;
}
.consent-embed-weather .consent-embed-box {
	padding: 8px;
	font-size: 0.85em;
}

@media (max-width: 700px) {
	.consent-embed-map {
		height: 350px;
	}
	.consent-embed-events {
		height: 650px;
	}
}
