/* Cookie-Consent-Banner - eigenstaendig, ohne Abhaengigkeit vom Rest der Seite */

#cc-wrap, #cc-wrap * {
	box-sizing: border-box;
}

#cc-banner, #cc-settings {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	background: #F8F4EE;
	border-top: 3px solid #C5AB8C;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #444444;
	padding: 16px 20px;
}

#cc-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

#cc-text {
	flex: 1 1 420px;
	margin: 0;
	line-height: 160%;
}

#cc-text a {
	color: #C5AB8C;
	font-weight: bold;
}

#cc-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 0 0 auto;
}

#cc-buttons button, #cc-settings-buttons button {
	cursor: pointer;
	border: 1px solid #ECE1D5;
	background: #ffffff;
	color: #444444;
	padding: 8px 14px;
	font-size: 12px;
	border-radius: 2px;
}

#cc-btn-accept, #cc-btn-acceptall {
	background: #C5AB8C;
	border-color: #C5AB8C;
	color: #ffffff;
	font-weight: bold;
}

#cc-buttons button:hover, #cc-settings-buttons button:hover {
	opacity: 0.85;
}

#cc-settings {
	max-width: 640px;
	margin: 0 auto 20px auto;
	left: 20px;
	right: 20px;
	max-height: 80vh;
	overflow-y: auto;
	border: 1px solid #ECE1D5;
	border-radius: 3px;
}

#cc-settings h2 {
	margin: 0 0 10px 0;
	font-size: 100%;
	color: #C5AB8C;
}

#cc-settings .cc-row {
	border-top: 1px solid #eeeeee;
	padding: 10px 0;
}

#cc-settings .cc-row label {
	font-weight: bold;
}

#cc-settings .cc-row p {
	margin: 6px 0 0 0;
	line-height: 150%;
}

#cc-settings .cc-row code {
	background: #F8F4EE;
	border: 1px solid #eeeeee;
	padding: 0 3px;
}

#cc-settings-buttons {
	margin-top: 14px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

#cc-reopen {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 99999;
	background: #C5AB8C;
	color: #ffffff;
	border: none;
	border-radius: 20px;
	padding: 8px 16px;
	font-size: 12px;
	cursor: pointer;
	box-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* Platzhalter fuer gesperrte externe Inhalte */
.cc-placeholder {
	border: 1px dashed #ECE1D5;
	background: #F8F4EE;
	padding: 20px;
	text-align: center;
	line-height: 160%;
}

.cc-placeholder button {
	margin-top: 10px;
	cursor: pointer;
	border: 1px solid #C5AB8C;
	background: #C5AB8C;
	color: #ffffff;
	padding: 8px 16px;
	font-size: 12px;
	border-radius: 2px;
}

@media (max-width: 600px) {
	#cc-banner {
		flex-direction: column;
		align-items: stretch;
	}
	#cc-buttons {
		justify-content: stretch;
	}
	#cc-buttons button {
		flex: 1 1 auto;
	}
}
