/* 2FaceBeauty - DSGVO Cookie-Banner */

.cb-banner {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: transparent;
  pointer-events: none;
}

@media (min-width: 720px) {
  .cb-banner {
    padding: 2rem;
    align-items: flex-end;
    justify-content: flex-end;
  }
}

.cb-card {
  pointer-events: auto;
  background: #FAFAFA;
  border: 1px solid #ECE8E2;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);
  max-width: 440px;
  width: 100%;
  padding: 1.5rem 1.5rem 1.25rem;
  font-family: 'Outfit', -apple-system, sans-serif;
  color: #1a1a1a;
  animation: cbSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cbSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cb-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  font-style: italic;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.005em;
}

.cb-text {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #4a4a4a;
  line-height: 1.65;
  margin: 0 0 1.25rem 0;
}

.cb-text a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cb-text a:hover {
  color: #C86496;
}

.cb-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .cb-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.cb-btn {
  flex: 1;
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cb-btn-primary {
  background: #0A0A0A;
  color: #FAFAFA;
  border-color: #0A0A0A;
}

.cb-btn-primary:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.cb-btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border-color: #D8D4CE;
}

.cb-btn-secondary:hover {
  border-color: #0A0A0A;
  background: rgba(0,0,0,0.02);
}

/* === SETTINGS PANEL === */
.cb-settings[hidden] { display: none; }

.cb-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ECE8E2;
  cursor: pointer;
  user-select: none;
}

.cb-toggle:last-of-type {
  border-bottom: none;
}

.cb-toggle input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.125rem;
  accent-color: #0A0A0A;
  cursor: pointer;
}

.cb-toggle input[type="checkbox"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cb-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.cb-toggle-label strong {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
}

.cb-toggle-label small {
  font-size: 0.75rem;
  font-weight: 300;
  color: #6b6b6b;
  line-height: 1.5;
}

.cb-actions-settings {
  margin-top: 1rem;
}

/* Cookie-Einstellungen-Link im Footer */
.cb-link {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cb-link:hover {
  color: #C86496;
}
