/* Cookie Consent — Marc Fieber Motorrad-Site */
.cookie-consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 18px;
  background: rgba(20, 20, 18, .97);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(196, 169, 125, .15);
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0,0,0,.7);
  padding: 14px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  z-index: 1200;
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Inter', system-ui, sans-serif;
}

.cookie-consent-banner .cc-text {
  flex: 1;
  color: rgba(232, 228, 220, .65);
  font-size: .84rem;
  line-height: 1.55;
}

.cookie-consent-banner .cc-text strong {
  color: rgba(232, 228, 220, .9);
}

.cookie-consent-banner .cc-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.cookie-consent-banner .cc-btn {
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  font-weight: 500;
  font-size: .8rem;
  color: rgba(232, 228, 220, .75);
  font-family: inherit;
  letter-spacing: .05em;
  transition: background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}

.cookie-consent-banner .cc-btn:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .18);
  color: rgba(232, 228, 220, 1);
}

.cookie-consent-banner .cc-btn.primary {
  background: #c4a97d;
  color: #0c0c0b;
  border-color: #c4a97d;
  font-weight: 600;
}

.cookie-consent-banner .cc-btn.primary:hover {
  background: #d4b98d;
  border-color: #d4b98d;
}

.cookie-consent-banner .cc-btn.ghost {
  background: transparent;
  color: rgba(232, 228, 220, .4);
  border-color: transparent;
}

.cookie-consent-banner .cc-btn.ghost:hover {
  color: rgba(232, 228, 220, .75);
  background: rgba(255, 255, 255, .04);
}

.cookie-consent-banner .cc-btn:focus-visible {
  outline: 2px solid #c4a97d;
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .cookie-consent-banner {
    left: 8px;
    right: 8px;
    bottom: 12px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-consent-banner .cc-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .cookie-consent-banner .cc-btn {
    width: 100%;
    min-height: 42px;
  }
}

/* Preferences overlay */
.cc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 1250;
  font-family: 'Inter', system-ui, sans-serif;
}

.cc-panel {
  background: #1a1a18;
  border: 1px solid rgba(196, 169, 125, .15);
  border-radius: 4px;
  padding: 28px;
  width: min(560px, calc(100% - 32px));
  box-shadow: 0 24px 64px rgba(0, 0, 0, .7);
}

.cc-panel h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  color: #e8e4dc;
  letter-spacing: .02em;
}

.cc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.cc-row:first-of-type { border-top: 0; }

.cc-row strong {
  color: #e8e4dc;
  font-size: .88rem;
  font-weight: 500;
}

/* Toggle */
.cc-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cc-toggle input[type="checkbox"] {
  width: 44px;
  height: 24px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s;
}

.cc-toggle input[type="checkbox"]::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, .45);
  border-radius: 50%;
  transition: transform .18s, background .18s;
}

.cc-toggle input[type="checkbox"]:checked {
  background: #c4a97d;
}

.cc-toggle input[type="checkbox"]:checked::after {
  transform: translateX(20px);
  background: #0c0c0b;
}

.cc-toggle input[type="checkbox"]:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.cc-toggle input[type="checkbox"]:focus-visible {
  outline: 2px solid #c4a97d;
  outline-offset: 2px;
}
