/* eigengrund Emotionsräume – Einzeleinheit-Ansicht (Single-View) */

/* ── Layout ────────────────────────────────────────────────────────────────── */

body .eg-er-wrap {
  max-width: 580px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

/* ── Kopfzeile ─────────────────────────────────────────────────────────────── */

body .eg-er-wrap .eg-er-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 3rem;
}

/* 1. Breadcrumb – kein Link-Styling */
body .eg-er-wrap .eg-er-breadcrumb,
body .eg-er-wrap .eg-er-breadcrumb a {
  font-family: var(--eg-font-sans);
  font-size: 12px;
  color: var(--eg-muted-light) !important;
  text-decoration: none !important;
  pointer-events: none !important;
}

/* 7. Fortschritts-Dots */
body .eg-er-wrap .eg-er-dots {
  display: flex !important;
  gap: 4px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}
body .eg-er-wrap .eg-er-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: var(--eg-border) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}
body .eg-er-wrap .eg-er-dot.done {
  background: var(--eg-amber-muted) !important;
}
body .eg-er-wrap .eg-er-dot.now {
  background: var(--eg-text) !important;
  width: 7px !important;
  height: 7px !important;
}

/* ── Phasenlabel + Titel ───────────────────────────────────────────────────── */

/* 2. Phasenlabel – gedämpftes Terracotta */
body .eg-er-wrap .eg-er-phase {
  font-family: var(--eg-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--eg-amber-muted) !important;
  margin-bottom: 0.5rem;
}
body .eg-er-wrap .eg-er-title {
  font-family: var(--eg-font-serif);
  font-weight: 400;
  font-size: 32px;
  color: var(--eg-text) !important;
  line-height: 1.25;
  margin-bottom: 2rem;
  margin-top: 0;
}

/* ── Impulstext ────────────────────────────────────────────────────────────── */

body .eg-er-wrap .eg-er-text {
  font-family: var(--eg-font-serif);
  font-size: 17px;
  line-height: 1.95;
  color: var(--eg-text) !important;
  margin-bottom: 0.9rem;
}
body .eg-er-wrap .eg-er-text-em {
  font-family: var(--eg-font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.95;
  color: var(--eg-accent) !important;
  margin-bottom: 0.9rem;
}

/* ── Trennlinie + Frage ────────────────────────────────────────────────────── */

body .eg-er-wrap .eg-er-divider {
  border: none;
  border-top: 0.5px solid var(--eg-border) !important;
  margin: 2.5rem 0;
}
body .eg-er-wrap .eg-er-frage-wrap {
  border-left: 1.5px solid var(--eg-amber) !important;
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}
body .eg-er-wrap .eg-er-frage {
  font-family: var(--eg-font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: var(--eg-text) !important;
  line-height: 1.6;
}

/* ── Einheiten-Video (zwischen Impulstext und Divider) ─────────────────────── */

body .eg-er-wrap .eg-er-video-inline {
  margin: 1.5rem 0;
}
body .eg-er-wrap .eg-er-video-inline iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border: none !important;
  display: block !important;
}

/* ── Textarea ──────────────────────────────────────────────────────────────── */

body .eg-er-wrap .eg-er-area {
  width: 100%;
  border: 0.5px solid var(--eg-border) !important;
  border-radius: 4px;
  padding: 1rem 1.1rem;
  font-family: var(--eg-font-serif);
  font-size: 16px;
  color: var(--eg-text) !important;
  line-height: 1.8;
  resize: none;
  min-height: 110px;
  background: var(--eg-card) !important;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
body .eg-er-wrap .eg-er-area:focus {
  border-color: var(--eg-muted-light) !important;
}
body .eg-er-wrap .eg-er-area::placeholder {
  color: var(--eg-muted-light) !important;
  font-style: italic;
}

.eg-eingabe-hinweis {
  font-family: var(--eg-font-sans);
  font-size: 11px !important;
  color: var(--eg-text-gedimmt) !important;
  margin-top: 0.4rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* ── 3. Co-Regulations-Video (Akkordeon) ───────────────────────────────────── */

body .eg-er-wrap details.eg-er-video-wrap {
  border: 0.5px solid var(--eg-border) !important;
  border-radius: 4px !important;
  margin-top: 2rem !important;
  margin-bottom: 1.5rem !important;
  overflow: hidden !important;
}
body .eg-er-wrap details.eg-er-video-wrap summary.eg-er-video-toggle {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px 16px !important;
  background: var(--eg-card) !important;
  color: var(--eg-muted) !important;
  font-family: var(--eg-font-sans) !important;
  font-size: 13px !important;
  cursor: pointer !important;
  list-style: none !important;
  text-decoration: none !important;
}
body .eg-er-wrap details.eg-er-video-wrap summary.eg-er-video-toggle::after {
  content: '+' !important;
  font-size: 18px !important;
  font-weight: 300 !important;
}
body .eg-er-wrap details[open].eg-er-video-wrap summary.eg-er-video-toggle::after {
  content: '−' !important;
}
body .eg-er-wrap .eg-er-video-embed {
  aspect-ratio: 16 / 9 !important;
}
body .eg-er-wrap .eg-er-video-embed iframe {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  border: none !important;
}

/* ── 5. Button + Form ──────────────────────────────────────────────────────── */

body .eg-er-wrap form {
  margin-bottom: 0 !important;
}
body .eg-er-wrap .eg-er-btn {
  display: block !important;
  font-family: var(--eg-font-sans);
  font-size: 13px;
  font-weight: 500;
  background: var(--eg-text) !important;
  color: #ffffff !important;
  border: none;
  border-radius: 4px;
  padding: 11px 22px;
  cursor: pointer;
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
}
body .eg-er-wrap .eg-er-btn:hover { opacity: 0.85; }
body .eg-er-wrap .eg-er-btn:disabled { opacity: 0.5; cursor: default; }

/* ── 6. Disclaimer ─────────────────────────────────────────────────────────── */

body .eg-er-wrap .eg-er-disclaimer {
  background: var(--eg-card) !important;
  border-radius: 4px !important;
  padding: 1.25rem 1.5rem !important;
  margin-top: 3rem !important;
  font-size: 14px !important;
  color: var(--eg-muted) !important;
  font-family: var(--eg-font-sans) !important;
  line-height: 1.7 !important;
}

/* ── 4. Navigation ─────────────────────────────────────────────────────────── */

body .eg-er-wrap .eg-er-nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 3rem !important;
  padding-top: 1.5rem !important;
  border-top: 0.5px solid var(--eg-border) !important;
}
body .eg-er-wrap .eg-er-nav a,
body .eg-er-wrap .eg-er-nav span {
  display: inline !important;
  color: var(--eg-muted) !important;
  text-decoration: none !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  font-family: var(--eg-font-sans) !important;
}
body .eg-er-wrap .eg-er-nav .eg-er-nav-all {
  font-size: 14px !important;
}
body .eg-er-wrap .eg-er-nav .eg-er-nav-disabled {
  color: #E8E5E0 !important;
  pointer-events: none !important;
  cursor: default !important;
}

/* ── Übersichtsseite ───────────────────────────────────────────────────────── */

body .eg-er-alle-wrap {
  max-width: 580px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}
body .eg-er-alle-wrap .eg-er-alle-titel {
  font-family: var(--eg-font-serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--eg-text) !important;
  margin-bottom: 2rem;
}
body .eg-er-alle-wrap .eg-er-alle-liste {
  list-style: none;
  margin: 0;
  padding: 0;
}
body .eg-er-alle-wrap .eg-er-alle-liste li {
  padding: 0.6rem 0;
  border-bottom: 0.5px solid var(--eg-border) !important;
  font-family: var(--eg-font-sans);
  font-size: 14px;
}
body .eg-er-alle-wrap .eg-er-alle-liste li a {
  text-decoration: none;
}
body .eg-er-alle-wrap .eg-er-alle-liste li.done a {
  color: var(--eg-amber-muted) !important;
}
body .eg-er-alle-wrap .eg-er-alle-liste li.now a {
  color: var(--eg-text) !important;
  font-weight: 600;
}
body .eg-er-alle-wrap .eg-er-alle-liste li.locked span {
  color: var(--eg-muted-light) !important;
}
body .eg-er-alle-wrap .eg-er-zurueck {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--eg-font-sans);
  font-size: 12px;
  color: var(--eg-muted-light) !important;
  text-decoration: none;
}
