/* Cookie-Hinweis (assets/js/modules/consent.js) – auf allen Seiten.
   Ablehnen und Zustimmen sind gleichwertig gestaltet; der Hinweis blockiert die Seite nicht. */
.consent {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  width: min(100% - 32px, 760px); translate: -50% 24px; opacity: 0;
  transition: opacity .35s ease, translate .45s var(--ease-out, ease);
}
.consent.is-in { opacity: 1; translate: -50% 0; }
.consent[hidden] { display: none; }
.consent__inner {
  display: grid; grid-template-columns: 1fr auto; gap: .4rem 1.4rem; align-items: center;
  padding: 1.1rem 1.25rem 1.15rem; border-radius: 20px;
  background: rgba(251, 247, 238, .98); color: var(--ink);
  box-shadow: 0 18px 50px rgba(20, 30, 20, .28), 0 0 0 1px rgba(16, 35, 28, .08);
}
.consent__title { grid-column: 1; margin: 0; font-size: 1.05rem; font-weight: 800; }
.consent__text { grid-column: 1; margin: 0; font-size: .88rem; line-height: 1.5; color: var(--ink-soft); }
.consent__text a { color: var(--gk-green-deep); text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: .5rem; }
.consent__btn {
  --btn-bg: var(--gk-green); --btn-fg: #fff; --btn-bd: var(--gk-green);
  min-width: 11.5rem; justify-content: center;
}
@media (max-width: 640px) {
  .consent__inner { grid-template-columns: 1fr; }
  .consent__actions { grid-column: 1; grid-row: auto; flex-direction: row; margin-top: .5rem; }
  .consent__btn { flex: 1 1 0; min-width: 0; padding-inline: .6rem; }
}
.reduce-motion .consent { transition: none; }

/* Link zu den Einstellungen im Fußbereich und in der Datenschutzerklärung */
.consent-open {
  appearance: none; border: 0; background: none; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.consent-open:focus-visible { outline: 3px solid var(--gk-yellow); outline-offset: 3px; border-radius: 4px; }
html:not(.js) .consent-open { display: none; }
