/**
 * First-party consent hooks.
 *
 * Does not restyle existing pages. Rules only cover:
 *   - the prepared footer Cookie-Einstellungen control (hidden until Usercentrics is live)
 *   - the Usercentrics host element (no visual effect until the CMP exists)
 *
 * Banner look-and-feel for the CMP itself lives in
 * source/css/consent-usercentrics-admin.css — paste that into the
 * Usercentrics Admin Custom CSS field. Usercentrics v3 uses Shadow DOM,
 * so site CSS cannot style the banner interior.
 */

[data-bc-consent-settings][hidden] {
  display: none !important;
}

[data-bc-consent-settings] button,
button[data-bc-consent-open] {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

[data-bc-consent-settings] button:hover,
button[data-bc-consent-open]:hover {
  color: var(--color-ink);
}

[data-bc-consent-settings] button:focus-visible,
button[data-bc-consent-open]:focus-visible {
  outline: 2px solid var(--color-pearl);
  outline-offset: 2px;
}

#usercentrics-root {
  /* Host node inserted by Usercentrics. Intentionally unstyled. */
}
