#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: min(680px, calc(100vw - 32px));
  z-index: 99999;
  background: linear-gradient(160deg, rgba(var(--a-a855f7,168,85,247),0.08) 0%, rgba(255,255,255,0.022) 55%, rgba(var(--a-e879f9,232,121,249),0.05) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.13);
  border-top-color: rgba(255,255,255,0.22);
  border-radius: var(--radius-xl, 32px);
  box-shadow: 0 24px 72px rgba(0,0,0,0.72), 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.10);
  padding: 24px 28px;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.25s ease;
  pointer-events: none;
}
#cookie-banner.cb-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
#cookie-banner-icon {
  font-size: 22px;
  flex-shrink: 0;
}
#cookie-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #F5F5F7);
  letter-spacing: -0.01em;
}
#cookie-banner-text {
  font-size: 12.5px;
  color: var(--text-2, rgba(245,245,247,0.68));
  line-height: 1.65;
  margin-bottom: 16px;
}
#cookie-banner-text a {
  color: rgba(var(--a-b964ff,185,100,255),0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--a-b964ff,185,100,255),0.3);
  transition: border-color 0.2s;
}
#cookie-banner-text a:hover { border-color: rgba(var(--a-b964ff,185,100,255),0.8); }
#cookie-banner-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.cb-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill, 100px);
  padding: 6px 12px 6px 8px;
  font-size: 12px;
  color: var(--text-2, rgba(245,245,247,0.68));
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}
.cb-toggle:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.14); }
.cb-toggle input[type=checkbox] { display: none; }
/* .cb-switch: Aussehen in switch-glass.css */
.cb-toggle.cb-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
#cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cb-btn {
  flex: 1;
  min-width: 120px;
  padding: 11px 16px;
  border-radius: var(--radius, 16px);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.22s;
  letter-spacing: -0.01em;
}
.cb-btn-accept {
  background: linear-gradient(160deg, rgba(var(--a-b964ff,185,100,255),0.75) 0%, rgba(var(--a-a855f7,168,85,247),0.65) 100%);
  border: 1px solid rgba(var(--a-a855f7,168,85,247),0.45);
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--a-a855f7,168,85,247),0.15), inset 0 1px 0 rgba(255,255,255,0.22);
}
.cb-btn-accept:hover {
  background: linear-gradient(160deg, rgba(var(--a-c878ff,200,120,255),0.85) 0%, rgba(var(--a-b964ff,185,100,255),0.75) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(var(--a-a855f7,168,85,247),0.23), inset 0 1px 0 rgba(255,255,255,0.28);
}
.cb-btn-save {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text-2, rgba(245,245,247,0.68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.cb-btn-save:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.16); color: var(--text, #F5F5F7); }
/* „Nur notwendige“ genauso gut sichtbar wie „Auswahl speichern“ (Ablehnen darf nicht versteckt wirken) */
.cb-btn-reject {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text-2, rgba(245,245,247,0.68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.cb-btn-reject:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.16); color: var(--text, #F5F5F7); }
@media (max-width: 480px) {
  #cookie-banner { padding: 18px 18px; bottom: 16px; }
  .cb-btn { min-width: 90px; font-size: 12px; padding: 10px 12px; }
}

/* Ratgeber- und Rechtsseiten (ohne switch-glass.js und ohne Glas-Hintergrund der Startseite):
   einfacher Schalter und dichterer Hintergrund, damit der Text dahinter nicht durchscheint */
body:not(#gg-tabnav-page) #cookie-banner { background-color: rgba(var(--a-140d22,20,13,34),0.94); }
.cb-switch:not(.gg-sw) { position: relative; flex: none; width: 34px; height: 20px; border-radius: 20px; background: rgba(255,255,255,0.16); transition: background 0.2s; }
.cb-switch:not(.gg-sw)::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.cb-toggle.cb-on .cb-switch:not(.gg-sw) { background: rgb(var(--a-a855f7,168,85,247)); }
.cb-toggle.cb-on .cb-switch:not(.gg-sw)::after { transform: translateX(14px); }

/* iOS-Stil wie alle Fenster (css/ios.css): feste Fläche, Knöpfe als Pille. Helle Werte in css/light.css */
:root {
  --cb-sheet: #1c1c1e; --cb-group: #2c2c2e; --cb-label: #ffffff; --cb-label2: rgba(235,235,245,0.6);   /* accent-keep: iOS-Grau */
  --cb-tint: rgb(var(--a-a855f7,168,85,247)); --cb-tint-ink: rgb(var(--a-c084fc,192,132,252)); --cb-tint-fill: rgba(var(--a-a855f7,168,85,247),0.2);
  --cb-shadow: 0 30px 80px -20px rgba(0,0,0,0.7), 0 0 0 0.5px rgba(255,255,255,0.08);
}
html #cookie-banner {
  background: var(--cb-sheet) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  border: 0 !important; box-shadow: var(--cb-shadow) !important; border-radius: 30px !important;
}
html #cookie-banner #cookie-banner-title { color: var(--cb-label); font-size: 17px; }
html #cookie-banner #cookie-banner-text { color: var(--cb-label2); font-size: 13px; }
html #cookie-banner #cookie-banner-text a { color: var(--cb-tint-ink); border-bottom-color: transparent; }
html #cookie-banner .cb-toggle { background: var(--cb-group) !important; border: 0 !important; color: var(--cb-label); }
html #cookie-banner .cb-btn { border: 0 !important; box-shadow: none !important; text-shadow: none !important; border-radius: 100px !important; min-height: 44px; font-weight: 650; }
html #cookie-banner .cb-btn-accept { background: var(--cb-tint) !important; color: #fff !important; }
html #cookie-banner .cb-btn-save, html #cookie-banner .cb-btn-reject { background: var(--cb-tint-fill) !important; color: var(--cb-tint-ink) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
