/* Cookie Consent Banner – Martens Bestattungen */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 32px);
  max-width: 720px;
  background: #F4EFE7;
  color: #1A1A1A;
  border: 1px solid #E8E8EC;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 18px 40px rgba(0, 0, 0, 0.12);
  padding: 22px 24px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #1A1A1A;
}

.cookie-banner__text {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: #666870;
}

.cookie-banner__text a {
  color: #A6202D;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.cookie-banner__text a:hover {
  color: #7E1822;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-banner__btn--secondary {
  background: #fff;
  color: #1A1A1A;
  border-color: #E8E8EC;
}

.cookie-banner__btn--secondary:hover {
  border-color: #bcbfc6;
  background: #FAFAFB;
}

.cookie-banner__btn--primary {
  background: #A6202D;
  color: #fff;
  border-color: #A6202D;
}

.cookie-banner__btn--primary:hover {
  background: #7E1822;
  border-color: #7E1822;
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid #A6202D;
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 18px 16px;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

@media print {
  .cookie-banner {
    display: none !important;
  }
}
