/* Cookiebanner (Einwilligung für den Meta-Pixel), 04.11.2026 */
.ew-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 560px; margin: 0 auto;
  background: var(--white, #fff); color: var(--dark, #1A1A1A);
  border-radius: 16px; border-top: 4px solid var(--orange, #FF8309);
  box-shadow: 0 16px 48px rgba(26, 26, 26, .22);
  padding: 22px 24px 20px;
  font-size: 14px; line-height: 1.5;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
}
.ew-banner[hidden] { display: none; }
.ew-banner h2 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.ew-banner p { margin-bottom: 8px; color: #3a3a3a; }
.ew-banner a { color: var(--orange, #FF8309); font-weight: 700; }
.ew-banner details { margin: 4px 0 14px; font-size: 14px; color: #3a3a3a; }
.ew-banner summary { cursor: pointer; font-weight: 700; color: var(--dark, #1A1A1A); }
.ew-banner details ul { margin: 8px 0 0 18px; }
.ew-banner details li { margin-bottom: 6px; }
/* Knöpfe bleiben beim Scrollen im Banner unten sichtbar */
.ew-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; position: sticky; bottom: -20px; margin: 0 -24px -20px; padding: 12px 24px 20px; background: var(--white, #fff); box-shadow: 0 -8px 16px rgba(255, 255, 255, .9); }
/* Beide Knöpfe gleich groß und gleich gut sichtbar: Ablehnen muss so leicht sein wie Zustimmen */
.ew-knoepfe button {
  flex: 1 1 180px; min-height: 46px;
  font: inherit; font-weight: 700; font-size: 15px;
  border-radius: 999px; cursor: pointer;
  border: 2px solid var(--orange, #FF8309);
}
.ew-ja { background: var(--orange, #FF8309); color: #fff; }
.ew-nein { background: #fff; color: var(--dark, #1A1A1A); }
.ew-knoepfe button:hover { filter: brightness(.95); }
.ew-knoepfe button:focus-visible { outline: 3px solid var(--dark, #1A1A1A); outline-offset: 2px; }
.ew-link-knopf { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 480px) {
  .ew-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px 18px 16px; font-size: 13.5px; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .ew-knoepfe { bottom: -16px; margin: 0 -18px -16px; padding: 10px 18px 16px; }
  .ew-knoepfe button { min-height: 42px; }
}
