/*
  Consent-Banner Vanessa Frankenstein
  Visuell ruhig, im Look der Seite (porcelain, line, ink).
  Faellt auf System-Fonts zurueck, solange die externen Fonts nicht freigegeben sind.
*/

.vf-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  display: none;
  padding: 20px 0 22px;
  background: #fbfaf7;
  border-top: 1px solid #e5dbcf;
  box-shadow: 0 -18px 40px rgba(53, 43, 35, .08);
  font-family: Mulish, "Segoe UI", Arial, sans-serif;
  color: #28231f;
  font-size: 15px;
  line-height: 1.6;
}

.vf-consent[data-open="true"] {
  display: block;
}

.vf-consent__wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.vf-consent__copy {
  max-width: 760px;
}

.vf-consent__title {
  font-family: Marcellus, Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.vf-consent__text {
  color: #4c423b;
  margin: 0;
}

.vf-consent__text a {
  color: #a66f55;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vf-consent__options {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.vf-consent__option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #e5dbcf;
  background: #ffffff;
  border-radius: 4px;
}

.vf-consent__option label {
  font-weight: 700;
  color: #28231f;
}

.vf-consent__option p {
  margin: 4px 0 0;
  color: #756b63;
  font-size: 14px;
}

.vf-consent__option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #a66f55;
}

.vf-consent__option input[type="checkbox"]:disabled + .vf-consent__option-body label::after {
  content: " (immer aktiv)";
  font-weight: 400;
  color: #756b63;
  font-size: 13px;
}

.vf-consent__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.vf-consent__btn {
  appearance: none;
  border: 1px solid #28231f;
  background: #28231f;
  color: #ffffff;
  padding: 12px 18px;
  font-family: Mulish, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.vf-consent__btn:hover,
.vf-consent__btn:focus-visible {
  background: #4c423b;
  border-color: #4c423b;
}

.vf-consent__btn--ghost {
  background: transparent;
  color: #28231f;
}

.vf-consent__btn--ghost:hover,
.vf-consent__btn--ghost:focus-visible {
  background: #f5f0e8;
  color: #28231f;
  border-color: #28231f;
}

.vf-consent__btn--text {
  background: transparent;
  border: 0;
  padding: 4px 0;
  color: #756b63;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: .08em;
  text-align: left;
}

.vf-consent__btn--text:hover,
.vf-consent__btn--text:focus-visible {
  color: #28231f;
}

@media (max-width: 900px) {
  .vf-consent__wrap {
    grid-template-columns: 1fr;
  }

  .vf-consent__actions {
    min-width: 0;
  }
}
