/* ==========================================================================
   COOKIE- UND TRACKING-EINWILLIGUNG
   Kompakte Darstellung für Desktop und Mobilgeräte.
   ========================================================================== */

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

.pf-consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100000;
  width: min(410px, calc(100vw - 36px));
  padding: 18px;
  background: #fff;
  border: 1px solid #ddd4c7;
  border-top: 3px solid #b88a38;
  border-radius: 9px;
  box-shadow: 0 15px 42px rgba(30, 44, 54, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

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

.pf-consent-copy strong {
  display: block;
  margin: 0 0 6px;
  color: #253543;
  font-family: "Crimson Text", Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
}

.pf-consent-copy p {
  margin: 0;
  color: #586a77;
  font-size: 12px;
  line-height: 1.55;
}

.pf-consent-copy a {
  color: #9c6d1e;
  font-weight: 700;
  text-decoration: none;
}

.pf-consent-copy a:hover {
  text-decoration: underline;
}

.pf-consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.pf-consent-button {
  min-height: 39px;
  padding: 8px 12px;
  border: 1px solid #b88a38;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  cursor: pointer;
}

.pf-consent-accept {
  background: #b88a38;
  color: #fff;
}

.pf-consent-accept:hover {
  background: #9c6d1e;
}

.pf-consent-reject {
  background: #fff;
  color: #425867;
}

.pf-consent-reject:hover {
  background: #f7f3ed;
  color: #253543;
}

/* Link zum erneuten Öffnen im Footer */
.pf-cookie-settings {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.pf-cookie-settings:hover {
  color: #d9b872;
}

/* Smartphones */
@media (max-width: 575px) {
  .pf-consent-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 15px;
  }

  .pf-consent-copy strong {
    font-size: 17px;
  }

  .pf-consent-copy p {
    font-size: 11px;
  }

  .pf-consent-actions {
    gap: 7px;
    margin-top: 12px;
  }

  .pf-consent-button {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 10px;
  }
}