/* Noble Cookie Consent (Custom CMP Light)
 * CI: Gold #dbc16d, Emerald #01221c, Ivory #f8f5f0
 */
:root {
  --noble-gold: #dbc16d;
  --noble-emerald: #01221c;
  --noble-ivory: #f8f5f0;
  --noble-moss: #1c3c2c;
}

.noble-consent-root {
  position: relative;
  z-index: 999998;
  font-family: "Lato", sans-serif;
}

.noble-consent-open {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 999999;
  background: rgba(1, 34, 28, 0.95);
  color: var(--noble-ivory);
  border: 1px solid rgba(219, 193, 109, 0.25);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Inline trigger (for Datenschutzerklärung / Cookie-Richtlinie) */
.noble-consent-open--inline {
  position: static;
  left: auto;
  bottom: auto;
  z-index: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  margin: 6px 0 0 0;
}

.noble-consent-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 70px;
  z-index: 999999;
  background: rgba(1, 34, 28, 0.96);
  color: var(--noble-ivory);
  border: 1px solid rgba(219, 193, 109, 0.25);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.noble-consent-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.noble-consent-banner__copy .headline {
  font-family: "Playfair Display", serif;
  color: var(--noble-gold);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}
.noble-consent-banner__copy .text {
  opacity: 0.92;
  font-size: 14px;
  line-height: 1.4;
}

.noble-consent-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.noble-btn {
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
}

.noble-btn--primary {
  background: var(--noble-gold);
  color: var(--noble-emerald);
}

.noble-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--noble-ivory);
  border-color: rgba(255, 255, 255, 0.12);
}

.noble-btn--ghost {
  background: transparent;
  color: var(--noble-ivory);
  border-color: rgba(255, 255, 255, 0.12);
}

.noble-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.noble-consent-modal.is-open {
  display: block;
}

.noble-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.noble-consent-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 36px));
  background: rgba(248, 245, 240, 0.98);
  color: #111;
  border-radius: 18px;
  border: 1px solid rgba(1, 34, 28, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.noble-consent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(1, 34, 28, 0.98);
  color: var(--noble-ivory);
}

.noble-consent-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--noble-gold);
  font-size: 18px;
}

.noble-consent-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(219, 193, 109, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--noble-ivory);
  font-size: 20px;
  cursor: pointer;
}

.noble-consent-body {
  padding: 16px;
}

.noble-consent-text {
  margin: 0 0 14px 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.78);
}

.noble-consent-option {
  border: 1px solid rgba(1, 34, 28, 0.12);
  border-radius: 14px;
  padding: 12px 12px;
  background: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}
.noble-consent-option label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  color: rgba(1, 34, 28, 0.95);
}
.noble-consent-option .desc {
  margin-left: 28px;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.72);
}
.noble-consent-option--locked {
  opacity: 0.85;
}

.noble-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: rgba(1, 34, 28, 0.04);
  border-top: 1px solid rgba(1, 34, 28, 0.08);
}

@media (max-width: 560px) {
  .noble-consent-banner__inner {
    grid-template-columns: 1fr;
  }
  .noble-consent-banner__actions {
    justify-content: flex-start;
  }
  .noble-consent-open {
    left: 12px;
    bottom: 12px;
  }
}

