/* Einwilligungs-Banner Meta Pixel (assets/_files/consent/consent.js). Eigenstaendig, damit er im
   cms-Rahmen (Materialize) und auf /rindfleisch-preise/ (eigene CSS) gleich aussieht. */
.fh-consent {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  padding: 12px 16px;
  box-sizing: border-box;
  pointer-events: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.fh-consent.fh-consent--open {
  display: block;
}

.fh-consent *,
.fh-consent *::before,
.fh-consent *::after {
  box-sizing: border-box;
}

.fh-consent .fh-consent__box {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px;
  background: #ffffff;
  color: #1f2a1e;
  border: 1px solid #d5ddd3;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
  text-align: left;
}

.fh-consent .fh-consent__title {
  margin: 0 32px 8px 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: #1f2a1e;
  text-transform: none;
  letter-spacing: normal;
}

.fh-consent .fh-consent__text,
.fh-consent .fh-consent__state,
.fh-consent .fh-consent__links {
  margin: 0 0 10px 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: #1f2a1e;
  text-transform: none;
  letter-spacing: normal;
}

.fh-consent .fh-consent__state {
  font-weight: 600;
}

.fh-consent .fh-consent__links a {
  color: #2e5c2c;
  text-decoration: underline;
  text-transform: none;
  font-size: 15px;
}

.fh-consent .fh-consent__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* Beide Knoepfe absichtlich gleich: gleiche Groesse, Farbe und Gewichtung */
.fh-consent .fh-consent__btn {
  flex: 1 1 200px;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  border: 2px solid #3c763a;
  border-radius: 8px;
  background: #3c763a;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
  height: auto;
}

.fh-consent .fh-consent__btn:hover,
.fh-consent .fh-consent__btn:focus {
  background: #2e5c2c;
  border-color: #2e5c2c;
  color: #ffffff;
}

.fh-consent .fh-consent__btn:focus-visible,
.fh-consent .fh-consent__close:focus-visible,
.fh-consent .fh-consent__links a:focus-visible {
  outline: 3px solid #f2b705;
  outline-offset: 2px;
}

.fh-consent .fh-consent__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f2a1e;
  font-size: 26px;
  line-height: 36px;
  cursor: pointer;
  box-shadow: none;
}

.fh-consent-link-row {
  clear: both;
  padding: 16px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
}

.fh-consent-link-row a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .fh-consent {
    padding: 8px;
  }

  .fh-consent .fh-consent__box {
    padding: 16px;
    max-height: 80vh;
    overflow-y: auto;
  }

  .fh-consent .fh-consent__text {
    font-size: 14px;
  }

  .fh-consent .fh-consent__btn {
    flex-basis: 100%;
  }
}
