/* Einwilligungshinweis und Einstellung. Bewusst schlicht: schwarz auf weiß, zwei gleichwertige Schaltflächen. */
.consent-banner {
  position: fixed;
  z-index: 60;
  left: max(16px, env(safe-area-inset-left));
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  width: min(340px, calc(100vw - 32px));
  padding: 9px 0 0;
  border-radius: 4px;
  background: #fff;
  color: #171717;
  box-shadow: 0 0 0 1px rgb(23 23 23 / 8%), 0 2px 6px rgb(0 0 0 / 5%);
  font-family: "Geist", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  animation: consent-in 500ms ease-out both;
}

@keyframes consent-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner { animation: none; }
}

.consent-text { margin: 0; padding: 0 12px; text-align: center; }

.consent-row { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }

.consent-actions { display: contents; }

.consent-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #707070;
  font-size: 11px;
  text-underline-offset: 2px;
}

.consent-banner .consent-button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: none;
  letter-spacing: 0.02em;
}

.consent-button {
  flex: 0 0 auto;
  width: 88px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: none;
  letter-spacing: 0.02em;
}

.consent-button {
  flex: 1 1 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgb(23 23 23 / 45%);
  border-radius: 0;
  background: #fff;
  color: #171717;
  font: inherit;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.consent-button:hover { background: #f1f1f1; }

.consent-button:focus-visible { outline: 2px solid #171717; outline-offset: 2px; }

.consent-reopen {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.consent-settings p { margin: 16px 0 0; }

.consent-settings .consent-actions { max-width: 360px; margin-top: 12px; }
