/* Cookie Consent Banner - Mentivo
   Mechanik von SIGNEX (#316), an Mentivo-Look angepasst (Charcoal/Coral, Fraunces/Inter, Radius 2px).
   Bottom-fixed Toast, max 460px, dunkle Karte. */

.cc-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  width: calc(100vw - 48px);
  max-width: 460px;
  background: #262624;
  border: 1px solid rgba(244, 238, 226, 0.20);
  border-radius: 2px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
  padding: 20px 22px 18px;
  font-family: 'Inter', sans-serif;
  color: #F4EEE2;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.32s ease;
}

.cc-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cc-banner__title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: #F4EEE2;
  margin: 0 0 8px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.cc-banner__body {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244, 238, 226, 0.78);
  margin: 0 0 16px;
}

.cc-banner__body a {
  color: #EA6E56;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cc-btn {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  line-height: 1.2;
}

.cc-btn--accept {
  background: #EA6E56;
  color: #2B2B29;
  border-color: #EA6E56;
}

.cc-btn--accept:hover {
  background: #f08369;
  border-color: #f08369;
}

.cc-btn--decline {
  background: transparent;
  color: rgba(244, 238, 226, 0.82);
  border-color: rgba(244, 238, 226, 0.35);
}

.cc-btn--decline:hover {
  background: rgba(244, 238, 226, 0.08);
  border-color: rgba(244, 238, 226, 0.6);
}

@media (max-width: 540px) {
  .cc-banner {
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    bottom: 16px;
    padding: 18px 18px 16px;
  }
  .cc-btn {
    flex: 1;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner {
    transition: opacity 0.18s ease;
    transform: none;
  }
}
