/* gogo24 – Rechtliches: Frontend-Styles (Cookiebanner, Widerrufsbutton) */

.gogo24-cookie-banner {
	--gogo24-accent: #e30613;
	position: fixed;
	z-index: 99999;
	background: #111315;
	color: #e6e6e6;
	box-shadow: 0 -4px 24px rgba( 0, 0, 0, 0.35 );
	font-size: 15px;
	line-height: 1.5;
}

.gogo24-cookie-banner.gogo24-pos-bottom {
	left: 0;
	right: 0;
	bottom: 0;
}

.gogo24-cookie-banner.gogo24-pos-center {
	left: 50%;
	top: 50%;
	transform: translate( -50%, -50% );
	max-width: 560px;
	width: calc( 100% - 32px );
	border-radius: 8px;
}

.gogo24-cookie-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 22px 24px;
}

.gogo24-cookie-banner h2 {
	margin: 0 0 8px;
	font-size: 19px;
	color: #fff;
}

.gogo24-cookie-text {
	margin: 0 0 14px;
}

.gogo24-cookie-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0 0 14px;
}

.gogo24-cookie-option {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.gogo24-cookie-option input {
	width: 18px;
	height: 18px;
}

.gogo24-cookie-links {
	margin: 0 0 14px;
	font-size: 13px;
}

.gogo24-cookie-links a {
	color: #c9ccd1;
	margin-right: 16px;
	text-decoration: underline;
}

.gogo24-cookie-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.gogo24-btn {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 3px;
	padding: 11px 20px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.gogo24-btn-ghost {
	background: transparent;
	color: #e6e6e6;
	border-color: #454b52;
}

.gogo24-btn-ghost:hover {
	border-color: #ffcb05;
	color: #ffcb05;
}

.gogo24-btn-accept {
	background: var( --gogo24-accent );
	color: #fff;
}

.gogo24-btn-accept:hover {
	filter: brightness( 1.08 );
}

@media ( max-width: 600px ) {
	.gogo24-cookie-buttons {
		justify-content: stretch;
	}
	.gogo24-cookie-buttons .gogo24-btn {
		flex: 1 1 auto;
	}
}

/* Widerrufsbutton */
.gogo24-widerruf-button {
	--gogo24-accent: #e30613;
	display: inline-block;
	padding: 10px 20px;
	background: var( --gogo24-accent );
	color: #fff !important;
	border-radius: 3px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
}

.gogo24-widerruf-button:hover {
	filter: brightness( 1.08 );
	color: #fff !important;
}

.gogo24-cookie-settings-link {
	cursor: pointer;
}

/* Rechtstexte */
.gogo24-legal-text h2 {
	margin-top: 1.6em;
}

.gogo24-legal-text h3 {
	margin-top: 1.2em;
}

.gogo24-legal-note {
	color: #777;
	font-size: 0.9em;
}

/* ---- Cookie-Details: Kategorien, Dienste, Schalter ---- */
.gogo24-cookie-details {
	max-height: 46vh;
	overflow-y: auto;
	margin: 4px 0 16px;
	padding-right: 6px;
	border-top: 1px solid #33383d;
}

.gogo24-cat {
	border-bottom: 1px solid #2a2e33;
	padding: 14px 0;
}

.gogo24-cat-head {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.gogo24-cat-title strong {
	color: #fff;
	font-size: 16px;
}

.gogo24-cat-desc {
	display: block;
	color: #b9bdc2;
	font-size: 13px;
	margin-top: 2px;
}

.gogo24-service-list {
	list-style: none;
	margin: 10px 0 0 58px;
	padding: 0;
}

.gogo24-service {
	border-top: 1px dashed #33383d;
	padding: 8px 0;
}

.gogo24-service-head {
	display: flex;
	gap: 12px;
	align-items: center;
}

.gogo24-service-name {
	background: none;
	border: 0;
	color: #e6e6e6;
	font-size: 14px;
	cursor: pointer;
	padding: 0;
	text-align: left;
	text-decoration: underline dotted;
}

.gogo24-service-info {
	margin: 8px 0 4px 46px;
	font-size: 13px;
	color: #c9ccd1;
}

.gogo24-service-info a {
	color: #ffcb05;
}

.gogo24-cookie-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
	font-size: 12px;
}

.gogo24-cookie-table th,
.gogo24-cookie-table td {
	border: 1px solid #33383d;
	padding: 5px 8px;
	text-align: left;
	vertical-align: top;
}

.gogo24-cookie-table code {
	background: #1f2226;
	color: #ffcb05;
	padding: 1px 5px;
	border-radius: 3px;
}

/* Toggle-Switch */
.gogo24-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	flex: 0 0 44px;
}

.gogo24-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.gogo24-slider {
	position: absolute;
	inset: 0;
	background: #55606b;
	border-radius: 24px;
	transition: background 0.15s ease;
	cursor: pointer;
}

.gogo24-slider::before {
	content: "";
	position: absolute;
	height: 18px;
	width: 18px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.15s ease;
}

.gogo24-switch input:checked + .gogo24-slider {
	background: var( --gogo24-accent );
}

.gogo24-switch input:checked + .gogo24-slider::before {
	transform: translateX( 20px );
}

.gogo24-switch input:disabled + .gogo24-slider {
	background: #3a4046;
	opacity: 0.7;
	cursor: not-allowed;
}

.gogo24-badge {
	display: inline-block;
	font-size: 11px;
	padding: 1px 7px;
	border-radius: 10px;
	margin-left: 6px;
	vertical-align: middle;
}

.gogo24-badge-necessary {
	background: #ffcb05;
	color: #111;
}

/* Blockierte Embeds (iFrames) */
.gogo24-embed-blocked {
	background: #1f2226;
	color: #e6e6e6;
	border: 1px dashed #55606b;
	border-radius: 6px;
	padding: 24px 20px;
	text-align: center;
	min-height: 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

