/* Cookie-Hinweis (parts/consent.php), nachgebaut nach cowos-berlin.com: kleine Karte unten links, auf dem Handy unten
   über die volle Breite. In der CI von Impact Sprint Lab: weiße Karte mit 16 px Ecken wie die Karten der Seite,
   Buttons wie „Apply to the accelerator“ (Violett #623CEA, 4 px Ecken, League Spartan), Mint #00FFB1 als Akzent,
   Text dunkel #232326 (Farbkit „dark“). Kontraste auf Weiß: Text 15,7 : 1, grauer Text 7,4 : 1, Violett 6,3 : 1.
   Der Schatten sitzt als drop-shadow auf der Hülle .cc und folgt so der Form, wenn .cc-card aufgegessen wird.
   Dazu der Platzhalter .isl-vc für das Video, solange „External media“ nicht erlaubt ist. */
.cc {
	--cc-accent: #623CEA;
	--cc-mint: #00FFB1;
	--cc-text: #232326;
	--cc-muted: #55555C;
	--cc-radius: 16px;
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 10002; /* über Kopfzeile und Handy-Menü */
	box-sizing: border-box;
	width: 372px;
	max-width: calc(100vw - 48px);
	color: var(--cc-text);
	font: 400 13px/1.5 'Open Sans', Arial, sans-serif;
	text-align: left;
	filter: drop-shadow(0 10px 22px rgba(35, 35, 38, .22)) drop-shadow(0 2px 5px rgba(35, 35, 38, .12));
	transform: translateY(12px);
	opacity: 0;
	transition: transform .35s ease, opacity .35s ease;
}
.cc[hidden] { display: none; }
.cc.cc--in { transform: none; opacity: 1; }
.cc.cc--out { transform: translateY(12px); opacity: 0; pointer-events: none; }
.cc.cc--eating { pointer-events: none; }
.cc:focus { outline: none; }
.cc *, .cc *::before, .cc *::after { box-sizing: border-box; }
.cc p { margin: 0; }
.cc a { color: var(--cc-accent); text-decoration: underline; text-underline-offset: 2px; }

.cc-card {
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: 20px 20px 18px;
	border-radius: var(--cc-radius);
	background: #fff;
	/* Bisse: Masken-Ebenen setzt consent.js beim Aufessen */
}
.cc-title { font: 500 19px/1.2 'League Spartan', 'Open Sans', Arial, sans-serif; margin-bottom: 6px !important; }
.cc-text { color: var(--cc-muted); }

.cc-actions { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.cc-btn, .cc-link {
	font: 500 15px/1.2 'League Spartan', 'Open Sans', Arial, sans-serif;
	cursor: pointer;
	border: 0;
	border-radius: 4px;
	-webkit-appearance: none;
	appearance: none;
}
/* Mit .cc davor und :hover/:focus ausdrücklich gesetzt, damit fremde Button-Regeln nie durchschlagen (Falle aus CoWoS). */
.cc .cc-btn, .cc .cc-link { transition: filter .15s ease, background-color .15s ease, color .15s ease; }
.cc .cc-btn { flex: 1 1 0; min-height: 40px; padding: 9px 14px 7px; } /* League Spartan sitzt etwas hoch */
.cc .cc-btn--primary, .cc .cc-btn--primary:hover, .cc .cc-btn--primary:focus { background: var(--cc-accent); color: #fff; }
.cc .cc-btn--primary:hover { filter: brightness(1.12); }
.cc .cc-btn--ghost, .cc .cc-btn--ghost:focus { background: #EFEFF1; color: var(--cc-text); }
.cc .cc-btn--ghost:hover { background: #E3E3E7; }
.cc .cc-link, .cc .cc-link:focus { min-height: 40px; padding: 9px 12px 7px; margin: 0 auto 0 -12px; background: none; color: var(--cc-text); text-decoration: underline; text-underline-offset: 3px; }
.cc .cc-link:hover { background: #F3F0FE; color: var(--cc-accent); text-decoration: underline; }
.cc-btn:focus-visible, .cc-link:focus-visible, .cc a:focus-visible, .cc-switch input:focus-visible + span { outline: 2px solid var(--cc-accent); outline-offset: 2px; }

/* Einstellungen */
.cc-cat { border-top: 1px solid #E8E8EB; padding: 12px 0 2px; margin-top: 12px; }
.cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: default; }
label.cc-cat-head { cursor: pointer; }
.cc-cat-name { font: 500 16px/1.2 'League Spartan', 'Open Sans', Arial, sans-serif; }
.cc-cat-text { color: var(--cc-muted); margin-top: 4px !important; font-size: 12px; }
.cc-always { padding: 3px 9px 2px; border-radius: 100px; background: var(--cc-mint); color: var(--cc-text); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cc-switch { position: relative; flex: 0 0 auto; width: 40px; height: 22px; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cc-switch span { position: absolute; inset: 0; border-radius: 100px; background: #8A8A91; transition: background-color .2s ease; pointer-events: none; }
.cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.cc-switch input:checked + span { background: var(--cc-accent); }
.cc-switch input:checked + span::after { transform: translateX(18px); }
.cc-legal { margin-top: 12px !important; font-size: 12px; color: var(--cc-muted); text-align: center; }

@media (max-width: 600px) {
	.cc { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
	.cc-card { max-height: calc(100vh - 24px); padding: 18px; }
	.cc-actions { flex-wrap: wrap; }
	.cc .cc-btn { min-height: 44px; }
	.cc .cc-main .cc-link { order: 3; flex: 1 0 100%; min-height: 36px; margin: 0; padding: 9px 12px 7px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.cc, .cc-btn, .cc-switch span, .cc-switch span::after { transition: none; }
}
.cc.cc--eaten { opacity: 0; transition: opacity .18s ease; }

/* Platzhalter für das Video: abgedunkeltes Vorschaubild (von dieser Website), Knopf wie der Abspielknopf (Mint, rund). */
.isl-vc {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 24px;
	box-sizing: border-box;
	background: linear-gradient(rgba(35, 35, 38, .82), rgba(35, 35, 38, .82)), var(--isl-vc-poster, none) center / cover no-repeat, #232326;
	color: #fff;
	font: 400 14px/1.5 'Open Sans', Arial, sans-serif;
	text-align: center;
}
.isl-vc-box { max-width: 440px; }
.isl-vc p { margin: 0; }
.isl-vc-title { font: 500 24px/1.2 'League Spartan', 'Open Sans', Arial, sans-serif; margin-bottom: 8px !important; }
.isl-vc-text { color: #E4E4E8; }
.isl-vc .isl-vc-btn, .isl-vc .isl-vc-btn:hover, .isl-vc .isl-vc-btn:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	min-height: 48px;
	padding: 12px 28px 10px 22px;
	border: 0;
	border-radius: 100px;
	background: var(--cc-mint, #00FFB1);
	color: #232326;
	font: 500 17px/1.2 'League Spartan', 'Open Sans', Arial, sans-serif;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.isl-vc .isl-vc-btn:hover { filter: brightness(.94); }
.isl-vc-btn svg { width: 20px; height: 20px; margin-top: -2px; fill: currentColor; }
.isl-vc-link { display: block; width: max-content; margin: 12px auto 0; color: #fff !important; font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.isl-vc-text a, .isl-fc-text a { color: #fff !important; text-decoration: underline; text-underline-offset: 2px; }
.isl-vc-btn:focus-visible, .isl-vc-text a:focus-visible, .isl-fc-text a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 600px) {
	.isl-vc { padding: 16px; font-size: 13px; }
	.isl-vc-title { font-size: 19px; margin-bottom: 4px !important; }
	.isl-vc .isl-vc-btn, .isl-vc .isl-vc-btn:hover, .isl-vc .isl-vc-btn:focus { margin-top: 12px; min-height: 44px; padding: 10px 22px 8px 18px; font-size: 16px; }
	.isl-vc-link { margin-top: 8px; }
}

/* Platzhalter für das HubSpot-Formular (Newsletter): steht auf der dunklen Karte (#232326) der Seite, darum helle Schrift.
   Knopf wie „Load video“ (Mint, rund). Kontraste auf #2C2C2F: Weiß 13,9 : 1, #E4E4E8 11,0 : 1, #C9C9CE 8,4 : 1. */
.isl-fc {
	box-sizing: border-box;
	margin: 8px 0;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 16px;
	background: rgba(255, 255, 255, .04);
	color: #fff;
	font: 400 14px/1.5 'Open Sans', Arial, sans-serif;
	text-align: center;
}
.isl-fc p { margin: 0; }
.isl-fc-title { font: 500 20px/1.2 'League Spartan', 'Open Sans', Arial, sans-serif; margin-bottom: 8px !important; }
.isl-fc-text { max-width: 560px; margin: 0 auto !important; color: #E4E4E8; }
.isl-fc .isl-fc-btn, .isl-fc .isl-fc-btn:hover, .isl-fc .isl-fc-btn:focus {
	display: inline-flex;
	align-items: center;
	margin-top: 16px;
	min-height: 48px;
	padding: 12px 28px 10px;
	border: 0;
	border-radius: 100px;
	background: #00FFB1;
	color: #232326;
	font: 500 17px/1.2 'League Spartan', 'Open Sans', Arial, sans-serif;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.isl-fc .isl-fc-btn:hover { filter: brightness(.94); }
.isl-fc-note { max-width: 560px; margin: 12px auto 0 !important; color: #C9C9CE; font-size: 12px; }
.isl-fc-note a { color: #fff !important; text-decoration: underline; text-underline-offset: 2px; }
.isl-fc-btn:focus-visible, .isl-fc-note a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 600px) {
	.isl-fc { padding: 18px 16px; font-size: 13px; }
	.isl-fc-title { font-size: 18px; }
	.isl-fc .isl-fc-btn, .isl-fc .isl-fc-btn:hover, .isl-fc .isl-fc-btn:focus { min-height: 44px; padding: 10px 24px 8px; font-size: 16px; }
}
