/* Statische Seiten + Dashboard mit Header/Footer-Chrome */
html,
body.hg-wp-chrome {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

body.hg-wp-chrome {
  overflow-x: clip;
}

body.hg-wp-chrome .hg-page-content {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.hg-wp-chrome #hg-pro-gateway.hg-v3[data-hg-layout="fullpage"] {
  width: 100%;
  max-width: 100%;
}

/* Dashboard mit Site-Header/Footer — Footer-Widget-CSS darf body nicht auf #0f1014 setzen */
body.hg-wp-chrome.hg-dashboard-chrome {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  color-scheme: light;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
  background:
    radial-gradient(1100px 520px at 92% -8%, rgba(58, 98, 227, 0.11), transparent 42%),
    radial-gradient(980px 480px at -8% 108%, rgba(255, 145, 29, 0.1), transparent 44%),
    radial-gradient(700px 360px at 50% 0%, rgba(255, 255, 255, 0.65), transparent 70%),
    #eef2f8 !important;
}

body.hg-wp-chrome.hg-dashboard-chrome:has(#authSection:not(.hidden)) {
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(58, 98, 227, 0.09), transparent 48%),
    radial-gradient(820px 400px at 6% 102%, rgba(255, 145, 29, 0.08), transparent 48%),
    #eef2f8 !important;
}

body.hg-wp-chrome.hg-dashboard-chrome .hg-page-content {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

body.hg-wp-chrome.hg-dashboard-chrome #leiste-embed {
  flex: 0 0 auto;
  position: relative;
  z-index: 120;
}

body.hg-wp-chrome.hg-dashboard-chrome #footer-embed {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

body.hg-wp-chrome.hg-dashboard-chrome .hg-auth-shell {
  min-height: auto;
  padding: clamp(32px, 6vw, 56px) 20px clamp(48px, 8vw, 72px);
}

body.hg-wp-chrome.hg-dashboard-chrome #appSection {
  padding-bottom: clamp(24px, 4vw, 48px);
}

body.hg-wp-chrome.hg-dashboard-chrome #appSection .hg-wrap {
  padding-top: clamp(16px, 3vw, 28px);
}
