/* Cookie-Frage (public/cookie-consent.js). Aufbau wie auf neu.leadscraper.de und handschriftpost.de, Farben der Seite:
   heller Grund, Schwarz #191919, Pillen-Knöpfe. Fenster in der Mitte über der abgedunkelten, gesperrten Seite; auf den
   Rechtstexten als Leiste unten. „Accept all“ ist die Haupttaste, „Reject“ steht in derselben Reihe, gleich hoch. */
.dc-consent {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 2147483001;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  width: min(600px, calc(100vw - 32px)); padding: 16px 16px 16px 20px; border-radius: 20px;
  background: #fff; border: 1px solid #e2e2e2; box-shadow: 0 2px 6px rgba(0,0,0,.06), 0 32px 64px -24px rgba(0,0,0,.35);
  font-family: "Montserrat Variablefont Wght", Arial, sans-serif; font-size: 14px; line-height: 1.5; color: #3c3c3c;
  text-align: left; transform: translateX(-50%); box-sizing: border-box;
}
.dc-consent *, .dc-consent *::before, .dc-consent *::after { box-sizing: border-box; }
.dc-consent[hidden], .dc-consent [hidden], .dc-consent-backdrop[hidden] { display: none !important; }
.dc-consent-backdrop { position: fixed; inset: 0; z-index: 2147483000; background: rgba(25,25,25,.42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dc-consent-locked, .dc-consent-locked body { overflow: hidden !important; }
.dc-consent-locked { scrollbar-gutter: stable; }
.dc-consent.is-centre {
  top: 50%; bottom: auto; width: min(460px, calc(100vw - 32px));
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 28px 24px 20px; border-radius: 24px; transform: translate(-50%, -50%);
}
.dc-consent.is-centre:focus { outline: none; }
.dc-consent p { margin: 0; }
.dc-consent-short { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; width: 100%; }
.dc-consent-short .dc-consent-lead { flex: 1 1 280px; }
.dc-consent.is-centre .dc-consent-short { gap: 18px; }
.dc-consent.is-centre .dc-consent-lead { flex-basis: 100%; font-size: 17px; line-height: 1.45; font-weight: 500; color: #191919; }
.dc-consent.is-centre .dc-consent-actions { width: 100%; margin-left: 0; }
.dc-consent.is-centre .dc-consent-short .is-quiet { order: 3; flex-basis: 100%; height: 32px; }
.dc-consent.is-centre .dc-consent-short .dc-consent-legal { flex-basis: 100%; text-align: center; }
.dc-consent.is-detail { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 20px; }
.dc-consent-detail { display: grid; gap: 12px; width: 100%; }
.dc-consent a { color: #5c5c5c; text-decoration: underline; text-decoration-color: #c4c4c4; text-underline-offset: 3px; }
.dc-consent a:hover { color: #191919; text-decoration-color: currentColor; }
.dc-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.dc-consent-detail .dc-consent-actions { margin-left: 0; }
.dc-consent-title { font-size: 17px; font-weight: 600; color: #191919; }
.dc-consent-group { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #f2f2f2; border: 1px solid #e8e8e8; }
.dc-consent-head { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.dc-consent-name { font-weight: 600; color: #191919; }
.dc-consent-always { margin-left: auto; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #6b6b6b; }
.dc-consent-text, .dc-consent-services, .dc-consent-legal { font-size: 13px; }
.dc-consent-services, .dc-consent-legal { color: #6b6b6b; }
.dc-consent-switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 38px; height: 22px; margin: 0; border-radius: 999px; background: #dcdcdc; border: 1px solid #c8c8c8; cursor: pointer; transition: background .2s; }
.dc-consent-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.dc-consent-switch:checked { background: #191919; border-color: transparent; }
.dc-consent-switch:checked::after { transform: translateX(16px); }
.dc-consent-switch:disabled { opacity: .5; cursor: default; }
.dc-consent-switch:focus-visible, .dc-consent-btn:focus-visible, .dc-cookie-link:focus-visible { outline: 2px solid #191919; outline-offset: 2px; }
.dc-consent-btn { flex: 1 1 0; height: 44px; padding: 0 18px; border-radius: 58px; font: inherit; font-weight: 600; color: #191919; white-space: nowrap; cursor: pointer; background: #fff; border: 1px solid #cfcfcf; transition: background .2s, border-color .2s; }
.dc-consent-btn.is-yes { flex: 2 1 0; background: #191919; border-color: #191919; color: #fff; }
.dc-consent-btn.is-quiet { flex: 0 1 auto; padding: 0 10px; background: none; border-color: transparent; color: #5c5c5c; font-weight: 500; text-decoration: underline; text-decoration-color: #c4c4c4; text-underline-offset: 3px; }
@media (hover: hover) {
  .dc-consent-btn:hover { background: #f2f2f2; border-color: #b5b5b5; }
  .dc-consent-btn.is-yes:hover { background: #333; }
  .dc-consent-btn.is-quiet:hover { background: none; color: #191919; }
}
@media (max-width: 480px) {
  .dc-consent { padding: 16px; }
  .dc-consent.is-centre { padding: 22px 16px 16px; }
  .dc-consent-actions { width: 100%; }
  .dc-consent.is-detail { padding: 16px; }
  .dc-consent-actions .is-yes { order: -1; flex-basis: 100%; }
}
