/* ============================================================
   Elbryo. – Cookie-Consent-Banner
   Eigenständig, ohne Drittanbieter-Tool. Nutzt dieselben Design-
   Tokens wie styles-C89KW9on.css (Electric-Future: Navy/Blau/Cyan).
   Ergänzt NICHT das bestehende Layout, sondern liegt als eigenes,
   abschaltbares Overlay darüber (siehe consent.js).
   ============================================================ */

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner-card {
  pointer-events: auto;
  width: 100%;
  max-width: 760px;
  background: var(--navy-2, #16244A);
  border: 1px solid var(--line-dark, rgba(245, 248, 255, .12));
  border-radius: var(--radius, 18px);
  box-shadow: 0 20px 60px -12px rgba(5, 9, 20, .6);
  padding: 22px 24px;
  color: var(--ice, #F5F8FF);
  font-family: var(--font-body, "Inter", system-ui, -apple-system, sans-serif);
  animation: consent-rise .35s var(--ease, cubic-bezier(.2, .7, .2, 1));
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner-card { animation: none; }
}

@keyframes consent-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.consent-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-on-dark, #A9B6D3);
}

.consent-text strong {
  color: var(--ice, #F5F8FF);
}

.consent-text a {
  color: var(--cyan, #72D9FF);
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.consent-btn {
  flex: 1 1 160px;
  appearance: none;
  border: 1px solid var(--line-dark, rgba(245, 248, 255, .12));
  border-radius: var(--radius-sm, 10px);
  padding: 12px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--ice, #F5F8FF);
  transition: transform .15s var(--ease, ease), box-shadow .15s var(--ease, ease), background .15s var(--ease, ease);
  text-align: center;
}

.consent-btn:hover {
  transform: translateY(-1px);
}

.consent-btn:focus-visible {
  outline: 2px solid var(--cyan, #72D9FF);
  outline-offset: 2px;
}

/* Gleichgewichtig: beide Optionen erhalten dieselbe Größe, denselben
   Rahmen und dasselbe Gewicht – keine optische Bevorzugung. */
.consent-btn--accept {
  background: var(--blue, #176BFF);
  border-color: var(--blue, #176BFF);
  box-shadow: 0 0 0 1px #72d9ff59 inset;
}

.consent-btn--decline {
  background: transparent;
  border-color: var(--line-dark, rgba(245, 248, 255, .12));
}

@media (max-width: 560px) {
  .consent-banner { padding: 12px; }
  .consent-banner-card { padding: 18px 18px 20px; }
  .consent-actions { flex-direction: column; }
  .consent-btn { flex: 1 1 auto; }
}

/* Footer-Link „Cookie-Einstellungen" – optisch identisch zu den
   bestehenden Footer-Links (Impressum/Datenschutz), siehe .footer-links. */
.footer-links .consent-settings-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.footer-links .consent-settings-link:hover {
  text-decoration: underline;
}
