/* Einstiegsseiten der Vorgangs-Hosts (angebot-erstellen, auftragsbestaetigung-
   erstellen, lieferschein-erstellen, mahnung-schreiben), erzeugt von
   scripts/ops/build_rechnung_seiten.mjs. Kopf und Farben kommen aus re.css und
   thema.css; hier steht nur, was eine Landingseite zusaetzlich braucht. */
.eg-seite { background: var(--paper); color: var(--ink); }
.eg-held {
  display: grid; gap: 32px; align-items: center;
  padding-top: clamp(28px, 6vw, 64px); padding-bottom: clamp(28px, 5vw, 48px);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) { .eg-held { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.eg-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.eg-held h1 { margin: 0 0 14px; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; }
.eg-lede { margin: 0 0 18px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.eg-merkmale { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; }
.eg-merkmale li {
  padding: 6px 12px; border-radius: 999px; font-size: 13.5px;
  background: var(--white); border: 1px solid var(--line-2); color: var(--ink-2);
}
.eg-merkmale li::before { content: "✓"; margin-right: 6px; color: var(--thm, var(--blue)); font-weight: 700; }
.eg-cta { min-height: 52px; padding: 14px 24px; font-size: 17px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.eg-cta-klein { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-3); max-width: 52ch; }

/* Das Blatt: eine Andeutung des Dokuments, keine zweite Vorschau. */
.eg-blatt {
  margin: 0; justify-self: center; width: min(100%, 360px); aspect-ratio: 210 / 297;
  background: var(--white); border-radius: 4px; padding: 26px 24px;
  box-shadow: 0 1px 0 rgba(15,23,42,.05), 0 18px 40px -22px rgba(15,23,42,.35);
  border-top: 6px solid var(--thm, var(--blue));
  display: flex; flex-direction: column; gap: 10px; font-size: 10px; color: var(--ink-3); overflow: hidden;
}
.eg-blatt-kopf { display: flex; justify-content: space-between; gap: 12px; }
.eg-blatt-titel { font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 18px; }
.eg-linie { height: 6px; border-radius: 3px; background: var(--line); }
.eg-linie.k { width: 45%; } .eg-linie.m { width: 70%; }
.eg-blatt table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.eg-blatt th { text-align: left; font-weight: 700; color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding: 4px 2px; }
.eg-blatt td { padding: 6px 2px; border-bottom: 1px solid var(--line); }
.eg-blatt td span { display: block; height: 5px; border-radius: 3px; background: var(--line); }
.eg-blatt-fuss { margin-top: auto; display: flex; justify-content: space-between; gap: 16px; }
.eg-blatt-fuss span { flex: 1; border-top: 1px solid var(--line-2); padding-top: 4px; }

.eg-abschnitt { padding-top: 28px; padding-bottom: 28px; }
.eg-abschnitt h2 { font-size: 22px; margin: 0 0 16px; }
.eg-schritte { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: s; }
.eg-schritte li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 56px; position: relative; line-height: 1.55; font-size: 15px; }
.eg-schritte li::before {
  content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 700; display: grid; place-items: center; font-size: 14px;
}
.eg-faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; }
.eg-faq summary { cursor: pointer; padding: 12px 16px; min-height: 44px; font-weight: 600; display: flex; align-items: center; }
.eg-faq details p { margin: 0; padding: 0 16px 14px; line-height: 1.6; color: var(--ink-2); }
.eg-vorgang { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.eg-vorgang a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 10px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none;
}
.eg-vorgang a[aria-current="page"] { border-color: var(--blue); color: var(--blue-2); font-weight: 700; }
/* Dieselben Symbole und Kennfarben wie im Katalog (website/vorgang-symbole.json). */
.eg-chip-symbol, .eg-symbol { display: inline-grid; place-items: center; flex: none; border-radius: 8px; color: #fff; background: linear-gradient(145deg, var(--k1), var(--k2)); }
.eg-chip-symbol { width: 26px; height: 26px; margin-right: 10px; }
.eg-chip-symbol svg { width: 17px; height: 17px; }
.eg-kicker { display: flex; align-items: center; gap: 10px; }
.eg-symbol { width: 40px; height: 40px; border-radius: 10px; }
.eg-symbol svg { width: 24px; height: 24px; }
.eg-vorgang a[data-thema="angebot"] { --thm-nav: var(--thm-angebot); }
.eg-vorgang a[data-thema="auftrag"] { --thm-nav: var(--thm-auftrag); }
.eg-vorgang a[data-thema="lieferschein"] { --thm-nav: var(--thm-lieferschein); }
.eg-vorgang a[data-thema="abnahme"] { --thm-nav: var(--thm-abnahme); }
.eg-vorgang a[data-thema="rechnung"] { --thm-nav: var(--thm-rechnung); }
.eg-vorgang a[data-thema="mahnung"] { --thm-nav: var(--thm-mahnung); }
.eg-kopf .re-nav { justify-content: flex-end; }
@media (pointer: coarse) { .eg-kopf .re-nav a { min-height: 44px; } }
