/* Einwilligungsbanner + Captcha-Platzhalter (ergänzt styles.css, ändert sie nicht) */

[data-captcha-gate][hidden],
.cf-turnstile[hidden] {
  display: none !important;
}

.captcha-gate {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px dashed var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.captcha-gate p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted, #a8b0c2);
}

.captcha-gate button {
  justify-self: start;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: #e6ebf5;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 10px;
  padding: 8px 14px;
}

.captcha-gate button:hover,
.captcha-gate button:focus-visible {
  border-color: var(--brand, #c5993a);
}

.consent-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 100;
  width: min(460px, calc(100vw - 32px));
  padding: 18px 18px 16px;
  color: var(--text, #eef1f7);
  background: linear-gradient(160deg, rgba(16, 21, 31, 0.97), rgba(23, 29, 42, 0.98));
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  font-size: 0.86rem;
  line-height: 1.5;
}

.consent-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.consent-text {
  margin: 0 0 12px;
  color: var(--muted, #a8b0c2);
}

.consent-text a {
  color: #f1cb78;
}

.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px;
  color: #d5dbea;
  cursor: pointer;
}

.consent-option input {
  margin-top: 3px;
  accent-color: #c5993a;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.consent-btn {
  flex: 1 1 auto;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  color: #e6ebf5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 10px;
  padding: 9px 12px;
}

.consent-btn:hover,
.consent-btn:focus-visible {
  border-color: var(--brand, #c5993a);
}

.consent-btn--primary {
  color: #111218;
  background: linear-gradient(135deg, #d9ac4f, #b98526);
  border-color: transparent;
}

@media (max-width: 700px) {
  .consent-banner {
    left: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
  }
}
