/* THETA-Aufbau 1:1 für Bellevue: Kopfzeile, Fusszeile, zentrierte Fragen im 2-Spalten-Raster,
   Vertrauenszeile und Danke-Screen mit Terminkalender. Lädt nach erstgespraech(-gate).css. */
:root { --eg-footer: #081f36; --eg-nav-h: 64px; }

/* Kopfzeile */
.eg-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--eg-nav-h); padding: 6px max(24px, env(safe-area-inset-right)) 6px max(24px, env(safe-area-inset-left)); background: #fff; border-bottom: 1px solid var(--eg-line); }
.eg-nav-brand { display: inline-flex; align-items: center; min-height: 44px; }
.eg-nav-brand img { width: 150px; }
.eg-nav-links { display: flex; align-items: center; gap: 28px; }
.eg-nav-links a:not(.eg-btn) { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--eg-ink); text-decoration: none; }
.eg-nav-links a:not(.eg-btn):hover { color: var(--eg-blue); }
.eg-nav-cta { min-height: 44px; padding: 8px 20px; font-size: 15px; box-shadow: none; }
.eg-nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; align-items: center; justify-content: center; }
.eg-nav-toggle span, .eg-nav-toggle span::before { display: block; width: 26px; height: 2px; background: var(--eg-ink); border-radius: 2px; }
.eg-nav-toggle span { position: relative; }
.eg-nav-toggle span::before { content: ''; position: absolute; left: 0; top: 8px; }
@media (max-width: 900px) {
  .eg-nav { padding-inline: 20px; }
  .eg-nav-brand img { width: 118px; }
  .eg-nav-toggle { display: inline-flex; }
  .eg-nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: #fff; border-bottom: 1px solid var(--eg-line); box-shadow: 0 18px 40px rgb(0 37 70 / .12); }
  .eg-nav.is-open .eg-nav-links { display: flex; }
  .eg-nav-links a:not(.eg-btn) { min-height: 52px; border-bottom: 1px solid #eef1f5; }
  .eg-nav-cta { margin-top: 14px; }
}

/* Seitenhülle */
body.eg-page, body.eg-gate { display: flex; flex-direction: column; padding: 0; min-height: 100svh; }
body.eg-page { background: #fff; }
.eg-main { flex: 0 0 auto; padding: 36px 24px 28px; }
.eg-card { max-width: 760px; }

/* Zwischenseite wie THETA: zentriert, Eyebrow, Weiter */
.eg-gate-main { align-self: center; flex: 1 0 auto; margin-top: 0; padding: clamp(40px, 8vh, 88px) 24px clamp(48px, 8vh, 88px); text-align: center; }
.eg-gate-eyebrow { margin: 0 0 20px !important; font-size: 17px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--eg-muted); }
.eg-gate-main h1 { font-weight: 500; }
.eg-gate-main > p { margin-inline: auto; max-width: 660px; }
.eg-gate-continue { min-width: 170px; }

/* Fragebogen zentriert, 2-Spalten-Raster */
.eg-head { text-align: center; }
.eg-eyebrow { justify-content: center; color: var(--eg-ink); }
.eg-head h1 { font-size: 40px; }
.eg-q { text-align: center; font-size: 32px; }
.eg-hint { text-align: center; }
.eg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eg-grid--1 { grid-template-columns: 1fr; }
.eg-opt { border-radius: 4px; }
.eg-step.is-active .eg-grid .eg-opt:last-child:nth-child(odd) { grid-column: auto; }
@media (max-width: 700px) {
  .eg-main { padding: 20px 20px 20px; }
  .eg-head h1 { font-size: 26px; }
  .eg-q { font-size: 24px; }
  .eg-grid { grid-template-columns: 1fr; }
  .eg-grid--multi { grid-template-columns: 1fr; }
  .eg-grid--multi .eg-opt { align-items: center; padding: 11px 13px; font-size: 16px; }
}
.eg-field input, .eg-field textarea { border-radius: 4px; }

/* Vertrauenszeile (THETA: vier Häkchen-Punkte) */
.eg-trust { display: block; padding: 8px 20px 36px; }
.eg-trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; font-size: 18px; color: var(--eg-ink); }
.eg-trust-badges span::before { content: '✓ '; color: var(--eg-red); }
@media (max-width: 700px) { .eg-trust-badges { flex-direction: column; align-items: center; font-size: 17px; gap: 6px; } }

/* Danke-Screen mit Kalender */
.eg-done-note { font-size: 15px !important; color: var(--eg-muted); }
.eg-cal { position: relative; width: 100%; max-width: 760px; min-height: 280px; margin: 24px auto; border: 1px solid var(--eg-line); border-radius: 8px; background: #fff; overflow: hidden; }
.eg-cal-frame { display: block; width: 100%; min-height: 620px; border: 0; overflow: hidden; }
.eg-cal-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0 !important; color: var(--eg-muted); }

/* Fusszeile wie Bellevue */
.eg-footer { background: var(--eg-footer); color: #fff; margin-top: auto; }
.eg-footer-inner { max-width: 1280px; margin: 0 auto; padding: 48px 24px 24px; }
.eg-footer-top { display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; align-items: start; }
.eg-footer-brand img { width: 190px; }
.eg-footer-claim { margin: 0; font-size: 18px; line-height: 1.45; color: #a9c5df; }
.eg-footer-address { font-size: 14px; line-height: 1.7; color: #cfe0f0; text-align: right; }
.eg-footer-address a { text-decoration: none; }
.eg-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .16); font-size: 13px; color: #a9c5df; }
.eg-footer-bottom div { display: flex; gap: 22px; }
.eg-footer-bottom a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
@media (max-width: 700px) {
  .eg-footer-top { grid-template-columns: 1fr; gap: 20px; }
  .eg-footer-address { text-align: left; }
}

/* Korrekturen nach erstem Durchlauf */
body.eg-gate { padding: 0; align-items: stretch; }
.eg-gate .eg-gate-main { width: min(100%, 760px); }
.eg-footer-brand img { filter: brightness(0) invert(1); }
.eg-nav-links a.eg-btn { color: #fff; }
