/* =====================================================================
   European Space Bond – Zugangs-Disclaimer (Gate) / Access disclaimer
   Used by angebot.html (DE) and the English page. Page stays locked
   until "Ich bestätige" / "I Confirm" is pressed (also locked without JS).
   ===================================================================== */
html.esb-locked body > :not(.esb-gate):not(noscript) { display: none !important; }
html.esb-locked, html.esb-locked body { overflow: hidden; }

.esb-gate {
  width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: none; border-radius: 12px; overflow: hidden;
  background: var(--esv-surface, #ffffff); color: var(--esv-text, #082137);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35); font: inherit;
}
.esb-gate[open] { display: flex; flex-direction: column; }
.esb-gate::backdrop { background: rgba(5, 10, 30, .92); }

.esb-gate__langbar {
  display: flex; justify-content: flex-end; gap: 4px;
  padding: 12px 16px 0;
}
.esb-gate__langbar button {
  font: inherit; font-size: .85rem; min-height: 36px; padding: 4px 12px;
  border: 1px solid rgba(8, 33, 55, .35); border-radius: 6px;
  background: transparent; color: inherit; cursor: pointer;
}
.esb-gate__langbar button[aria-pressed="true"] {
  background: var(--esv-text, #082137); color: #fff; border-color: transparent;
}

.esb-gate__body { overflow-y: auto; padding: 12px 24px 8px; line-height: 1.55; font-size: .95rem; }
.esb-gate__body:focus-visible { outline: 3px solid var(--esv-focus, #f59e0b); outline-offset: -3px; }
.esb-gate__title { margin: 0 0 16px; font-size: 1.35rem; }
.esb-gate__title:focus { outline: none; }
.esb-gate__body p { margin: 0 0 12px; }
.esb-gate__risk { font-weight: 600; border-left: 4px solid var(--esv-warning, #b91c1c); padding-left: 12px; }
.esb-gate__confirmtext { font-weight: 600; }

.esb-gate__actions {
  display: flex; flex-wrap: wrap; gap: 12px; padding: 16px 24px;
  border-top: 1px solid rgba(8, 33, 55, .15); background: inherit;
}
.esb-gate__actions button { font: inherit; min-height: 44px; padding: 10px 20px; border-radius: 8px; cursor: pointer; }
.esb-gate__yes { background: var(--esv-primary, #0713b8); color: #fff; border: 1px solid transparent; }
.esb-gate__no  { background: transparent; color: inherit; border: 1px solid currentColor; }
.esb-gate button:focus-visible, .esb-gate a:focus-visible { outline: 3px solid var(--esv-focus, #f59e0b); outline-offset: 2px; }
.esb-gate__legal { width: 100%; margin: 4px 0 0; font-size: .85rem; }
.esb-gate__legal a { margin-right: 16px; }
.esb-gate__declined { padding: 24px; }
