/* ═══════════════════════════════════════════════════
   Cookie Consent Banner – Gromambo Marilla Design
   Schwarz / Gold / Creme
════════════════════════════════════════════════════ */

.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  backdrop-filter: blur(2px);
}
.cookie-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0c0c0c;
  border-top: 1px solid rgba(200, 168, 76, 0.5);
  padding: 28px 24px 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.1, 0.64, 1);
  box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.7);
}
.cookie-modal.active { transform: translateY(0); }

.cookie-modal-inner { max-width: 1100px; margin: 0 auto; }

.cookie-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c8a84c 30%, #e2c97e 50%, #c8a84c 70%, transparent);
}

.cookie-modal h3 {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 1.1rem;
  color: #c8a84c;
  margin-bottom: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cookie-modal p {
  color: rgba(240,235,224,0.75);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 18px;
  font-family: 'Raleway', sans-serif;
}
.cookie-modal a { color: #c8a84c; text-decoration: underline; text-underline-offset: 2px; }
.cookie-modal a:hover { color: #e2c97e; }

.cookie-options { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 20px; }
.cookie-option { display: flex; align-items: center; gap: 8px; }

.cookie-option input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid rgba(200,168,76,0.6);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.cookie-option input[type='checkbox']:checked { background: #c8a84c; border-color: #c8a84c; }
.cookie-option input[type='checkbox']:checked::after {
  content: '✓';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  color: #060606; font-size: 11px; font-weight: 700; line-height: 1;
}
.cookie-option input[type='checkbox']:disabled { opacity: 0.45; cursor: default; }

.cookie-option label {
  color: rgba(240,235,224,0.85);
  font-size: 0.85rem; cursor: pointer;
  font-family: 'Raleway', sans-serif;
}
.cookie-option label span { color: rgba(200,168,76,0.55); font-size: 0.75rem; margin-left: 2px; }

.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cookie-btn {
  padding: 10px 22px;
  border: none; cursor: pointer;
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.25s ease;
  border-radius: 6px; white-space: nowrap;
}
.cookie-btn-accept {
  background: #c8a84c; color: #060606;
  box-shadow: 0 2px 12px rgba(200,168,76,0.3);
}
.cookie-btn-accept:hover { background: #e2c97e; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(200,168,76,0.45); }
.cookie-btn-selected {
  background: transparent; color: #c8a84c;
  border: 1px solid rgba(200,168,76,0.5);
}
.cookie-btn-selected:hover { background: rgba(200,168,76,0.08); border-color: #c8a84c; transform: translateY(-1px); }
.cookie-btn-reject {
  background: transparent; color: rgba(240,235,224,0.45);
  border: 1px solid rgba(255,255,255,0.12); font-size: 0.72rem;
}
.cookie-btn-reject:hover { color: rgba(240,235,224,0.7); border-color: rgba(255,255,255,0.3); }

@media (max-width: 768px) {
  .cookie-modal { padding: 22px 16px 20px; }
  .cookie-modal h3 { font-size: 1rem; }
  .cookie-modal p { font-size: 0.82rem; margin-bottom: 14px; }
  .cookie-options { flex-direction: column; gap: 10px; margin-bottom: 16px; }
  .cookie-buttons { flex-direction: column; }
  .cookie-btn { width: 100%; text-align: center; padding: 12px; }
}