#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(192, 192, 192, 0.15);
  padding: 1rem 1.5rem;
}
:root:not([data-theme="dark"]) #cookie-banner {
  background: rgba(250, 250, 250, 0.97);
  border-top-color: rgba(17, 17, 17, 0.12);
}
#cookie-banner.cb-visible { transform: translateY(0); }
.cb-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cb-text {
  flex: 1;
  min-width: 200px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(200, 200, 200, 0.88);
  margin: 0;
}
:root:not([data-theme="dark"]) .cb-text { color: #3a3a3a; }
.cb-text a { color: #c9a264; text-decoration: underline; }
:root:not([data-theme="dark"]) .cb-text a { color: #8a6d35; }
.cb-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Akzeptieren: goldene Primary-CTA */
.cb-accept {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  min-height: 42px;
  background: #c9a264;
  color: #0a0a0a;
  transition: background 0.2s, transform 0.15s;
}
.cb-accept:hover { background: #e8c88a; transform: translateY(-1px); }

/* Ablehnen: dezenter Text-Link, kein Button-Look */
.cb-deny {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.4rem 0.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(200, 200, 200, 0.65); /* WCAG AA — Alpha bumped from .4 (= ~2.6:1) to .65 (= ~4.9:1 effektiv auf #0d0d0d) */
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  transition: color 0.15s;
  min-height: 36px;
}
:root:not([data-theme="dark"]) .cb-deny { color: rgba(58, 58, 58, 0.75); } /* WCAG AA — alpha hochgezogen */
.cb-deny:hover { color: rgba(200, 200, 200, 0.75); }
:root:not([data-theme="dark"]) .cb-deny:hover { color: #3a3a3a; }

@media (max-width: 600px) {
  #cookie-banner { padding: 1rem 1rem 1.25rem; }
  .cb-inner { gap: 0.85rem; }
  .cb-text { min-width: 100%; font-size: 0.8rem; }
  .cb-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
  /* Akzeptieren oben, groß und gold */
  .cb-accept {
    width: 100%;
    text-align: center;
    min-height: 52px;
    font-size: 0.88rem;
    order: 1;
  }
  /* Ablehnen darunter, klein und dezent */
  .cb-deny {
    width: 100%;
    text-align: center;
    min-height: auto;
    padding: 0.3rem;
    font-size: 0.72rem;
    order: 2;
  }
}
