/* Cookie-Banner – Bestattungen Landrichinger */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 32px);
  max-width: 720px;
  margin-bottom: 16px;
  background: #F5F1EB;
  color: #303030;
  border: 1px solid rgba(120, 36, 128, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(120, 36, 128, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
}

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

.cookie-banner__inner {
  padding: 24px;
}

.cookie-banner__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2E2E2E;
  margin: 0 0 12px;
}

.cookie-banner__text {
  margin: 0 0 20px;
  color: #6B6358;
}

.cookie-banner__text a {
  color: #782480;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: #621D69;
}

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

.cookie-banner__btn {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.cookie-banner__btn--primary {
  background: #782480;
  color: #fff;
  border: 1.5px solid #782480;
}

.cookie-banner__btn--primary:hover {
  background: #621D69;
  border-color: #621D69;
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: #782480;
  border: 1.5px solid rgba(120, 36, 128, 0.25);
}

.cookie-banner__btn--secondary:hover {
  border-color: #782480;
  background: #EEE9F2;
}

@media (max-width: 600px) {
  .cookie-banner {
    width: calc(100% - 16px);
    margin-bottom: 8px;
  }

  .cookie-banner__inner {
    padding: 20px 16px;
  }

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

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

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