/* Cookie Consent Banner - Signalfabrik
   Brand-konform: Primary-Green Accent (#10B454), Inter Body, Red Hat Display Headline, radius 4px.
   Bottom-fixed Toast, max 460px. */

.cc-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  width: calc(100vw - 48px);
  max-width: 460px;
  background: var(--bg, #faf9f7);
  border: 1px solid var(--border, rgba(10, 10, 10, 0.15));
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 20px 22px 18px;
  font-family: var(--font-b, 'Inter', 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: var(--font-h, 'Red Hat Display', sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #0a0a0a);
  margin: 0 0 8px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cc-banner__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text, #0a0a0a);
  margin: 0 0 16px;
}

.cc-banner__body a {
  color: var(--primary-deep, #0A6E32);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.cc-btn {
  font-family: var(--font-b, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 4px;
  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: var(--primary, #10B454);
  color: #fff;
  border-color: var(--primary, #10B454);
}

.cc-btn--accept:hover {
  background: var(--primary-deep, #0A6E32);
  border-color: var(--primary-deep, #0A6E32);
}

.cc-btn--decline {
  background: transparent;
  color: var(--text, #0a0a0a);
  border-color: var(--border, rgba(10, 10, 10, 0.15));
}

.cc-btn--decline:hover {
  background: var(--pine-1, #DBF6E3);
  border-color: var(--muted, rgba(10, 10, 10, 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;
  }
}
