/* =========================================================
   Cookie-Banner im Schwarz-Weiß-Stil – „Der Farbaffe fragt“
   Überschreibt nur das Aussehen der Erweiterung „Cookies“.
   Beide Entscheidungs-Knöpfe bleiben bewusst gleichwertig.
   ========================================================= */

#arata-consent #BannerWrapper {
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

#arata-consent #BannerWrapper #ConsentBannerBg {
	background: #000 !important;
	opacity: .6 !important;
}

/* ---------- Erste Ebene: das Banner ---------- */
#arata-consent #BannerWrapper #ConsentBanner {
	position: relative;
	background: #0b0b0b !important;
	color: #fff !important;
	border: 1.5px solid rgba(255, 255, 255, .85);
	border-radius: 26px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .75);
	padding: 26px 28px 22px !important;
	margin: 0 auto 24px !important;
	max-width: 980px;
	width: calc(100% - 32px) !important;
	box-sizing: border-box;
	overflow: visible !important;
	animation: cmKeksRein .8s cubic-bezier(.2, 1.3, .4, 1) both;
}

@keyframes cmKeksRein {
	from { opacity: 0; transform: translateY(60px) scale(.96); }
	to   { opacity: 1; transform: none; }
}

#arata-consent #ConsentBanner .col_4_4 {
	width: 100% !important;
	max-width: none;
	display: flex;
	flex-wrap: wrap;
	gap: 18px 28px;
	align-items: center;
	padding-left: 150px;
	box-sizing: border-box;
}

#arata-consent #ConsentBanner #ConsentBannerText {
	flex: 1 1 380px;
	width: auto !important;
}

#arata-consent #ConsentBanner #form {
	flex: 0 1 260px;
	width: auto !important;
	text-align: center;
}

#arata-consent #ConsentBanner h2,
#arata-consent #ConsentBanner #ConsentTitel {
	margin: 0 0 8px !important;
	color: #fff !important;
	font-size: clamp(20px, 2vw, 26px) !important;
	font-weight: 900;
	letter-spacing: .02em;
	text-transform: uppercase;
	line-height: 1.15;
}

#arata-consent #ConsentBanner #desc {
	color: rgba(255, 255, 255, .78) !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
}

/* Der Affe guckt über den Rand */
#arata-consent #ConsentBanner #ConsentImg {
	position: absolute !important;
	left: 20px !important;
	right: auto !important;
	top: auto !important;
	bottom: 14px;
	width: 120px;
	height: 150px !important;
	background: url("/medien/files/5050886ce0.png") center bottom / contain no-repeat;
	filter: drop-shadow(0 0 18px rgba(255, 255, 255, .15));
	transform-origin: 50% 100%;
	animation: cmAffeGuckt 5s ease-in-out infinite;
	pointer-events: none;
}

#arata-consent #ConsentBanner #ConsentImg img { display: none; }

@keyframes cmAffeGuckt {
	0%, 100% { transform: rotate(0) translateY(0); }
	20%      { transform: rotate(-6deg) translateY(-4px); }
	40%      { transform: rotate(4deg) translateY(0); }
	60%      { transform: rotate(0) translateY(-6px); }
}

/* Reaktionen des Affen auf die Knöpfe */
#arata-consent #ConsentBanner:has(.all:hover) #ConsentImg,
#arata-consent #ConsentBanner:has(.all:focus-visible) #ConsentImg {
	animation: cmAffeHuepft .55s cubic-bezier(.3, 1.6, .5, 1) infinite;
}

#arata-consent #ConsentBanner:has(.deny:hover) #ConsentImg,
#arata-consent #ConsentBanner:has(.deny:focus-visible) #ConsentImg {
	animation: cmAffeNickt 1.1s ease-in-out infinite;
}

@keyframes cmAffeHuepft {
	0%, 100% { transform: translateY(0) scale(1); }
	50%      { transform: translateY(-18px) scale(1.06) rotate(-4deg); }
}

@keyframes cmAffeNickt {
	0%, 100% { transform: rotate(0); }
	25%      { transform: rotate(8deg); }
	75%      { transform: rotate(-8deg); }
}

/* Sprechblase */
#arata-consent #ConsentBanner .cm-blase {
	position: absolute;
	left: 118px;
	top: -22px;
	padding: 8px 14px;
	border-radius: 16px 16px 16px 4px;
	background: #fff;
	color: #000;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
	animation: cmBlase 3s ease-in-out infinite;
	pointer-events: none;
}

@keyframes cmBlase {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-5px); }
}

/* Knöpfe: gleichwertig, schwarz-weiß */
#arata-consent #ConsentBanner input.ac-knopf,
#arata-consent #ConsentBanner input[type="button"],
#arata-consent #ConsentBanner input[type="button"]:nth-child(2) {
	display: block;
	width: 100% !important;
	margin: 0 0 10px !important;
	padding: 13px 22px !important;
	border: 1.5px solid #fff !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background .25s, color .25s, transform .25s;
}

#arata-consent #ConsentBanner input.ac-knopf:hover,
#arata-consent #ConsentBanner input.ac-knopf:focus-visible {
	background: #fff !important;
	color: #000 !important;
	transform: translateY(-2px);
	outline: none;
}

#arata-consent #ConsentBanner #form .ac-links,
#arata-consent #ConsentBanner #form nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 14px;
	margin-top: 4px;
}

#arata-consent #ConsentBanner #form a {
	color: rgba(255, 255, 255, .7) !important;
	border: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#arata-consent #ConsentBanner #form a:hover { color: #fff !important; }

@media (max-width: 760px) {
	#arata-consent #ConsentBanner .col_4_4 { padding-left: 0; padding-top: 70px; }
	#arata-consent #ConsentBanner #ConsentImg { left: 50% !important; top: -60px !important; bottom: auto; width: 100px; height: 120px !important; margin-left: -50px; }
	#arata-consent #ConsentBanner .cm-blase { left: 50%; top: -38px; margin-left: 40px; }
	#arata-consent #ConsentBanner #form { flex: 1 1 100%; }
}

/* ---------- Zweite Ebene: Einstellungen ---------- */
#arata-consent #BannerWrapper #ConsentSettings {
	background: #0b0b0b !important;
	color: #fff !important;
	border: 1.5px solid rgba(255, 255, 255, .85);
	border-radius: 26px 26px 0 0;
	box-shadow: 0 -20px 80px rgba(0, 0, 0, .7);
	left: 0;
	right: 0;
	margin: 0 auto;
	animation: cmKeksRein .6s cubic-bezier(.2, 1.2, .4, 1) both;
}

#arata-consent #ConsentSettings h2,
#arata-consent #ConsentSettings .headtext {
	color: #fff !important;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .02em;
}

#arata-consent #ConsentSettings .desc,
#arata-consent #ConsentSettings p,
#arata-consent #ConsentSettings div,
#arata-consent #ConsentSettings span,
#arata-consent #ConsentSettings label {
	color: rgba(255, 255, 255, .82) !important;
}

#arata-consent #ConsentSettings label { color: #fff !important; font-weight: 700; }

#arata-consent #ConsentSettings a {
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#arata-consent #ConsentSettings ul#Consents li {
	background: transparent !important;
	color: #fff !important;
	border: 1.5px solid rgba(255, 255, 255, .5);
	border-radius: 999px !important;
}

#arata-consent #ConsentSettings ul#Consents li.active,
#arata-consent #ConsentSettings ul#Consents li:hover {
	background: #fff !important;
	color: #000 !important;
}

#arata-consent #ConsentSettings .item {
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

#arata-consent #ConsentSettings img.info {
	filter: invert(1);
	transition: transform .3s;
}

#arata-consent #ConsentSettings img.info:hover { transform: rotate(20deg) scale(1.1); }

#arata-consent #ConsentSettings .item_desc {
	margin-top: 10px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #151515;
	font-size: 13px;
	line-height: 1.55;
}

#arata-consent #ConsentSettings .item_desc * { color: rgba(255, 255, 255, .72) !important; }

#arata-consent #ConsentSettings .ac-id code {
	color: #fff;
	background: #1b1b1b;
	padding: 2px 6px;
	border-radius: 6px;
}

#arata-consent #ConsentSettings .bottomButtons input,
#arata-consent #ConsentSettings input[type="submit"] {
	padding: 13px 20px !important;
	border: 1.5px solid #fff !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700;
	cursor: pointer;
	transition: background .25s, color .25s, transform .25s;
}

#arata-consent #ConsentSettings .bottomButtons input:hover,
#arata-consent #ConsentSettings input[type="submit"]:hover,
#arata-consent #ConsentSettings input[type="submit"]:focus-visible {
	background: #fff !important;
	color: #000 !important;
	transform: translateY(-2px);
	outline: none;
}

/* ---------- Keks-Knopf zum erneuten Öffnen ---------- */
#arata-consent #Consent {
	background: #000 !important;
	border: 1.5px solid rgba(255, 255, 255, .8) !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
	transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .25s;
}

/* Das Keks-Symbol ist eine Maske – seine Farbe kommt aus background-color */
#arata-consent #Consent a {
	background-color: #fff !important;
	filter: none !important;
	transition: background-color .25s;
}

#arata-consent #Consent:hover {
	transform: rotate(-25deg) scale(1.12);
	background: #fff !important;
}

#arata-consent #Consent:hover a { background-color: #000 !important; }

@media (prefers-reduced-motion: reduce) {
	#arata-consent #ConsentBanner,
	#arata-consent #ConsentSettings,
	#arata-consent #ConsentBanner #ConsentImg,
	#arata-consent #ConsentBanner .cm-blase { animation: none !important; }
}
