:root {
  --cc-card: #1b1b1b;
  --cc-text: #fff;
  --cc-muted: rgba(255, 255, 255, 0.75);
  --cc-border: rgba(255, 255, 255, 0.18);
  --cc-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  --cc-radius: 16px;
  --cc-font:
    ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.cc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 99998;
}

.cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 980px;
  margin: 0 auto;
  background: var(--cc-card);
  color: var(--cc-text);
  border: 1px solid var(--cc-border);
  box-shadow: var(--cc-shadow);
  border-radius: var(--cc-radius);
  font-family: var(--cc-font);
  z-index: 99999;
  display: none;
}

.cc-inner {
  padding: 18px 18px 14px;
}
.cc-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.cc-text {
  margin: 0 0 12px;
  color: var(--cc-muted);
  line-height: 1.45;
  font-size: 14px;
}
.cc-links a {
  color: #e6eff0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cc-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap; /* <- wichtig für kleine Screens */
  justify-content: space-between;
  align-items: center;
}

.cc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cc-btn {
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid var(--cc-border);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.cc-primary {
  background: #fff;
  color: #111;
  border-color: transparent;
}

.cc-secondary {
  background: transparent;
  color: #e6eff0;
}

.cc-ghost {
  background: transparent;
  color: var(--cc-muted);
}

.cc-settings {
  display: none;
  border-top: 1px solid var(--cc-border);
  padding: 14px 18px 18px;
}

.cc-item {
  border: 1px solid var(--cc-border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 10px;
}

.cc-item h4 {
  margin: 0 0 6px;
  font-size: 14px;
}
.cc-item p {
  margin: 0;
  font-size: 13px;
  color: var(--cc-muted);
}

.cc-toggle {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.cc-switch {
  position: relative;
  width: 44px;
  height: 26px;
}

.cc-switch input {
  display: none;
}

.cc-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid var(--cc-border);
  border-radius: 999px;
}

.cc-slider:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #e6eff0;
  border-radius: 50%;
  transition: 0.2s;
}

.cc-switch input:checked + .cc-slider {
  background: rgba(255, 255, 255, 0.85);
}

.cc-switch input:checked + .cc-slider:before {
  transform: translateX(18px);
  background: #111;
}

.cc-small {
  font-size: 12px;
  color: var(--cc-muted);
}

.cc-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  display: none;
  z-index: 99997;
}

.cc-fab button {
  border-radius: 999px;
  padding: 10px 12px;
  background: #e6eff0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 420px) {
  .cc-actions,
  .cc-row {
    width: 100%;
  }
  .cc-btn {
    width: 100%;
    text-align: center;
  }
}
