/* Cookie Consent Banner - Muet im Chopf
   Mechanik von SIGNEX (#316), an Sage/Cream + Nunito angepasst.
   Bottom-fixed Toast, max 460px. */

.cc-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  width: calc(100vw - 48px);
  max-width: 460px;
  background: #FBF8F1;
  border: 1px solid #E3DCCB;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(60, 50, 30, 0.14), 0 4px 12px rgba(60, 50, 30, 0.05);
  padding: 20px 22px 18px;
  font-family: 'Nunito', sans-serif;
  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: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #2E2A24;
  margin: 0 0 8px;
  line-height: 1.25;
}

.cc-banner__body {
  font-size: 14px;
  line-height: 1.55;
  color: #4A443A;
  margin: 0 0 16px;
}

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

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

.cc-btn {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  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: #79926A;
  color: #fff;
  border-color: #79926A;
}

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

.cc-btn--decline {
  background: transparent;
  color: #4A443A;
  border-color: #E3DCCB;
}

.cc-btn--decline:hover {
  background: #F0EADC;
  border-color: #C4B89E;
}

@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;
  }
}
