/* VERIGUARD privacy controls v2026-10-04.1 */
.vg-consent {
  position: fixed;
  z-index: 120;
  left: 20px;
  bottom: 20px;
  width: min(440px, calc(100vw - 40px));
  max-height: calc(100dvh - 120px);
  overflow: auto;
  padding: 22px;
  color: #0e2a47;
  background: #faf8f3;
  border: 1px solid #b7b0a3;
  border-radius: 12px;
  box-shadow: 0 8px 32px #0e2a4733;
  font: 14px/1.5 "DM Sans", system-ui, sans-serif;
}
.vg-consent[hidden], .vg-consent-notice[hidden] { display: none !important; }
.vg-consent h2 { margin: 0 0 10px; font: 600 18px/1.3 "Sora", system-ui, sans-serif; }
.vg-consent p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.vg-consent p:empty { display: none; }
.vg-consent a { color: #0e2a47; text-decoration: underline; font-size: 13px; }
.vg-consent__actions { display: flex; gap: 8px; margin: 14px 0 12px; }
.vg-consent__button {
  flex: 1;
  padding: 11px 9px;
  min-height: 44px;
  border: 1px solid #0e2a47;
  border-radius: 6px;
  color: #0e2a47;
  background: #fff;
  font: 600 13px/1.3 "DM Sans", system-ui, sans-serif;
  cursor: pointer;
}
.vg-consent__button:hover { background: #ece8df; }
.vg-consent__button:focus-visible, .vg-privacy-settings:focus-visible {
  outline: 3px solid #c9a24b; outline-offset: 3px;
}
.vg-privacy-settings {
  display: inline-block; margin: 18px 0 6px; padding: 8px 0;
  color: inherit; background: transparent; border: 0;
  text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer;
}
.vg-consent-notice { max-width: 500px; font-size: 13px; }
@media (max-width: 760px) {
  /* 2026-10-04.1: mobil oben statt unten, damit Hero-Anrufbutton und Anrufleiste frei bleiben */
  .vg-consent {
    left: 8px; right: 8px; top: calc(8px + env(safe-area-inset-top, 0px)); bottom: auto;
    width: auto; padding: 12px 14px;
    max-height: calc(100dvh - 160px);
    font-size: 12.5px; line-height: 1.4;
  }
  .vg-consent h2 { margin: 0 0 6px; font-size: 15px; }
  .vg-consent p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.4; }
  .vg-consent__actions { margin: 8px 0 6px; }
  .vg-consent__button { min-height: 40px; padding: 8px; }
  .vg-consent a { font-size: 12px; }
}
