/* ─── NIS Initiative — Cookie Consent Banner ─── */
#consent-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: auto;
  width: calc(100% - 3rem);
  max-width: 460px;
  background: #0d1b2a;
  color: #f6f1e8;
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 151, 78, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  z-index: 9999;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#consent-banner.show {
  opacity: 1;
  transform: translateY(0);
}

.consent-title {
  font-family: "Fraunces", "IBM Plex Sans", serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: #d4974e;
  letter-spacing: -0.005em;
}

.consent-text {
  margin: 0 0 1.1rem;
  color: #c8c5bb;
}
.consent-text strong {
  color: #f6f1e8;
  font-weight: 500;
}
.consent-text a {
  color: #d4974e;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-text a:hover { color: #f6f1e8; }

.consent-buttons {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.consent-btn {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-weight: 500;
}
.consent-btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.20);
  color: #c8c5bb;
}
.consent-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.40);
  color: #f6f1e8;
}
.consent-btn-primary {
  background: #d4974e;
  border-color: #d4974e;
  color: #0d1b2a;
}
.consent-btn-primary:hover {
  background: #b97d33;
  border-color: #b97d33;
}

/* Mobile */
@media (max-width: 540px) {
  #consent-banner {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .consent-buttons {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .consent-btn { width: 100%; }
}

/* "Reset consent" button w Datenschutz */
.consent-reset-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #d4974e;
  text-decoration: underline;
  cursor: pointer;
}
.consent-reset-link:hover { color: #f6f1e8; }
