/* ╔══════════════════════════════════════════════════════════════════════╗
 * ║  wepa-manager — Public Pages — "Ledger" Editorial Design             ║
 * ║  Variant A aus docs/inbox/design_handoff_landing_page/               ║
 * ║  Token-scope: :root (global fuer Fonts/Logo); Sektionen scoped via   ║
 * ║  body.landing-page, damit Impressum/Datenschutz/Ratgeber unberuehrt  ║
 * ║  bleiben. Navbar/Footer sind global (eigene .ledger-* Klassen).      ║
 * ╚══════════════════════════════════════════════════════════════════════╝ */


/* ── Design Tokens ──────────────────────────────────────────────────── */
:root {
  --ink: #0b1b3b;
  --ink-2: #1a2d55;
  --paper: #ffffff;
  --paper-2: #f3f5f8;
  --accent: #066fd1;
  --accent-2: #0b5fad;
  --line: rgba(11, 27, 59, 0.12);
  --muted: rgba(11, 27, 59, 0.6);
}


/* ── Body-Reset (nur Landing-Page, damit App-UI nicht kollidiert) ─────
 * Tabler .page-public setzt overflow: hidden auto — damit scrollt der
 * Body statt html und die Sticky-Nav + scroll-margin-top brechen.
 * Auf der Landing zurueck auf natives Window-Scroll. */
body.landing-page {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow: visible;
}
body.landing-page h1,
body.landing-page h2,
body.landing-page h3,
body.landing-page .serif {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
body.landing-page .mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
body.landing-page ::selection {
  background: var(--accent);
  color: #fff;
}


/* ── Container / Wrap ───────────────────────────────────────────────── */
.ledger-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}


/* ── Logo ───────────────────────────────────────────────────────────── */
.wepa-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.wepa-logo img { display: block; }
.wepa-logo--light img {
  filter: invert(1) hue-rotate(180deg) saturate(1.15);
}


/* ── Buttons ────────────────────────────────────────────────────────── */
.ledger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: all 0.18s;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.ledger-btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.ledger-btn-primary:hover {
  background: var(--ink-2);
  color: var(--paper);
}
.ledger-btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}
.ledger-btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.ledger-btn-link {
  color: var(--ink);
  padding: 10px 0;
  border: none;
  background: transparent;
}
.ledger-btn-link:hover {
  color: var(--accent);
}


/* ── Nav (sticky, glassmorph) ───────────────────────────────────────── */
.ledger-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
}
.ledger-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.ledger-nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.ledger-nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}
.ledger-nav-links a {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.ledger-nav-links a:hover {
  opacity: 1;
}
.ledger-nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ledger-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}


/* ── Eyebrow (Mono-Label mit Accent-Linie) ──────────────────────────── */
body.landing-page .ledger-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
body.landing-page .ledger-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}
body.landing-page .ledger-eyebrow--on-dark {
  color: #5b9af2;
}
body.landing-page .ledger-eyebrow--on-dark::before {
  background: var(--accent);
}


/* ── Hero ───────────────────────────────────────────────────────────── */
body.landing-page .ledger-hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
body.landing-page .ledger-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
body.landing-page .ledger-hero h1 {
  font-size: 76px;
  letter-spacing: -0.025em;
  line-height: 0.96;
  margin: 0 0 28px;
}
body.landing-page .ledger-hero h1 em {
  color: var(--accent);
  font-style: italic;
  font-family: 'Instrument Serif', 'DM Serif Display', serif;
  font-weight: 400;
}
body.landing-page .ledger-lede {
  font-size: 20px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 36px;
}
body.landing-page .ledger-hero-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
body.landing-page .ledger-hero-cta--center {
  justify-content: center;
}
body.landing-page .ledger-hero-meta {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  gap: 24px;
}
body.landing-page .ledger-hero-meta .val {
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
}
body.landing-page .ledger-hero-meta .lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
body.landing-page .ledger-hero-visual {
  position: relative;
  perspective: 1400px;
}
body.landing-page .ledger-hero-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 24px 60px -20px rgba(10, 25, 60, 0.22), 0 8px 20px -8px rgba(10, 25, 60, 0.12);
  transform: rotate(1.2deg);
  transform-origin: top left;
}
body.landing-page .ledger-hero-visual::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 30% 30%, var(--accent) 0%, transparent 70%);
  opacity: 0.25;
  z-index: -1;
  filter: blur(10px);
}


/* ── Trust Strip ────────────────────────────────────────────────────── */
body.landing-page .ledger-trust {
  padding: 24px 0 56px;
  border-bottom: 1px solid var(--line);
}
body.landing-page .ledger-trust-inner {
  display: flex;
  align-items: center;
  gap: 44px;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}
body.landing-page .ledger-trust-divider {
  width: 1px;
  height: 18px;
  background: var(--line);
}
body.landing-page .ledger-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.landing-page .ledger-trust-badge i {
  color: var(--ink);
}
body.landing-page .ledger-trust-footnote {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
  margin: 6px 0 0;
  letter-spacing: 0.01em;
}


/* ── Section-Kopf ───────────────────────────────────────────────────── */
body.landing-page .ledger-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
body.landing-page .ledger-section-head {
  max-width: 820px;
  margin-bottom: 72px;
}
body.landing-page .ledger-section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
body.landing-page .ledger-section-head--center .ledger-eyebrow {
  justify-content: center;
}
body.landing-page .ledger-section-head h2 {
  font-size: 56px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 16px 0 20px;
}
body.landing-page .ledger-section-head p {
  font-size: 20px;
  color: var(--muted);
  margin: 0;
}
body.landing-page .ledger-muted-inline {
  opacity: 0.6;
}
body.landing-page .accent-text {
  color: var(--accent);
}


/* ── Problem ────────────────────────────────────────────────────────── */
body.landing-page .ledger-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
body.landing-page .ledger-problem-card {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
body.landing-page .ledger-problem-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
}
body.landing-page .ledger-problem-card h3 {
  font-size: 26px;
  margin: 18px 0 12px;
}
body.landing-page .ledger-problem-card p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
}


/* ── Features ───────────────────────────────────────────────────────── */
body.landing-page .ledger-features {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
body.landing-page .ledger-feature-row {
  padding: 96px 0;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: center;
  border-bottom: 1px dashed var(--line);
}
body.landing-page .ledger-feature-row:last-child {
  border-bottom: none;
}
body.landing-page .ledger-feature-row.reverse {
  grid-template-columns: 1fr 0.85fr;
}
body.landing-page .ledger-feature-row.reverse .ledger-feature-text {
  order: 2;
}
body.landing-page .ledger-feature-text .ledger-eyebrow {
  margin-bottom: 16px;
}
body.landing-page .ledger-feature-text h3 {
  font-size: 44px;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
body.landing-page .ledger-feature-text p {
  color: var(--muted);
  font-size: 17px;
  max-width: 460px;
}
body.landing-page .ledger-feature-text ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
body.landing-page .ledger-feature-text ul li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
}
body.landing-page .ledger-feature-text ul li:last-child {
  border-bottom: 1px solid var(--line);
}
body.landing-page .ledger-feature-text ul li i {
  color: var(--accent);
  font-size: 14px;
}
body.landing-page .ledger-feature-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 24px 60px -20px rgba(10, 25, 60, 0.22), 0 8px 20px -8px rgba(10, 25, 60, 0.12);
  border: 1px solid rgba(10, 25, 60, 0.08);
}


/* ── Roles (dark) ───────────────────────────────────────────────────── */
body.landing-page .ledger-roles {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0;
}
body.landing-page .ledger-roles h2 {
  color: var(--paper);
}
body.landing-page .ledger-roles .ledger-lede {
  color: rgba(255, 255, 255, 0.7);
}
body.landing-page .ledger-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 56px;
}
body.landing-page .ledger-role-card {
  background: var(--ink);
  padding: 40px 34px;
  transition: background 0.2s;
}
body.landing-page .ledger-role-card:hover {
  background: var(--ink-2);
}
body.landing-page .ledger-role-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
}
body.landing-page .ledger-role-card h3 {
  font-size: 28px;
  margin: 14px 0 16px;
  color: var(--paper);
}
body.landing-page .ledger-role-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin: 16px 0 20px;
}
body.landing-page .ledger-role-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}
body.landing-page .ledger-role-card ul li {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 10px;
}
body.landing-page .ledger-role-card ul li i {
  color: var(--accent);
}


/* ── Pipeline ───────────────────────────────────────────────────────── */
body.landing-page .ledger-pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
body.landing-page .ledger-pipeline-step {
  position: relative;
  padding: 16px 4px 4px;
}
body.landing-page .ledger-pipeline-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
body.landing-page .ledger-pipeline-step h4 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
body.landing-page .ledger-pipeline-step p {
  color: var(--muted);
  margin: 0;
}


/* ── Comparison Table ───────────────────────────────────────────────── */
body.landing-page .ledger-comparison {
  background: var(--paper);
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
body.landing-page .ledger-comp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  font-variant-numeric: tabular-nums;
}
body.landing-page .ledger-comp-table th,
body.landing-page .ledger-comp-table td {
  padding: 22px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
body.landing-page .ledger-comp-table th {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}
body.landing-page .ledger-comp-table th.highlight {
  color: var(--accent);
}
body.landing-page .ledger-comp-table td.highlight {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--ink);
}
body.landing-page .ledger-comp-table td.old {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(11, 27, 59, 0.25);
}
body.landing-page .ledger-comp-table td.label {
  font-weight: 500;
}
body.landing-page .ledger-comp-table .bar {
  width: 100%;
  height: 6px;
  background: var(--paper-2);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}
body.landing-page .ledger-comp-table .bar > div {
  height: 100%;
  background: var(--accent);
}


/* ── Security ───────────────────────────────────────────────────────── */
body.landing-page .ledger-security {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
body.landing-page .ledger-security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: var(--line);
  border: 1px solid var(--line);
}
body.landing-page .ledger-sec-card {
  background: var(--paper);
  padding: 32px 28px;
}
body.landing-page .ledger-sec-card i {
  font-size: 24px;
  color: var(--accent);
}
body.landing-page .ledger-sec-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin: 18px 0 8px;
  letter-spacing: 0;
  color: var(--ink);
}
body.landing-page .ledger-sec-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}


/* ── FAQ (details/summary — CSS-only) ───────────────────────────────── */
body.landing-page .ledger-faq {
  max-width: 880px;
  margin: 56px auto 0;
}
body.landing-page .ledger-faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  cursor: pointer;
}
body.landing-page .ledger-faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
body.landing-page .ledger-faq-item > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}
body.landing-page .ledger-faq-item > summary::-webkit-details-marker {
  display: none;
}
body.landing-page .ledger-faq-item > summary i {
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.25s;
}
body.landing-page .ledger-faq-item[open] > summary i {
  transform: rotate(45deg);
}
body.landing-page .ledger-faq-answer {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
  line-height: 1.55;
}


/* ── Big CTA (dark) ─────────────────────────────────────────────────── */
:is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 0;
  text-align: center;
}
:is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta h2 {
  font-size: 72px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--paper);
  max-width: 900px;
  margin: 0 auto 28px;
}
:is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta h2 em {
  color: var(--accent);
  font-style: italic;
  font-family: 'Instrument Serif', serif;
}
:is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 40px;
  max-width: 560px;
}
:is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta .ledger-btn-primary {
  background: var(--accent);
  color: #fff;
}
:is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta .ledger-btn-primary:hover {
  background: #1e85e0;
}
:is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta .ledger-btn-ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.25);
}
:is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta .ledger-btn-ghost:hover {
  border-color: var(--paper);
  color: var(--paper);
}
:is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta-email {
  margin-top: 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
:is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta-email a {
  color: inherit;
  text-decoration: none;
}
:is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta-email a:hover {
  color: #fff;
}


/* ── Footer (global, auch auf Sub-Seiten) ───────────────────────────── */
.ledger-footer {
  background: var(--paper);
  padding: 64px 0 40px;
  font-size: 13.5px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.ledger-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.ledger-footer-tagline {
  margin-top: 14px;
  max-width: 280px;
}
.ledger-footer h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.ledger-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ledger-footer li {
  padding: 4px 0;
}
.ledger-footer a {
  color: var(--muted);
  text-decoration: none;
}
.ledger-footer a:hover {
  color: var(--ink);
}
.ledger-footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ledger-footer-bottom .mono {
  font-family: 'JetBrains Mono', monospace;
}
.ledger-footer-bottom a {
  color: inherit;
}


/* ─────────────────────────────────────────────────────────────────────
 * Scroll-Offset fuer Anker bei sticky Nav
 * ───────────────────────────────────────────────────────────────────── */
body.landing-page [id] {
  scroll-margin-top: 80px;
}


/* ═══════════════════════════════════════════════════════════════════════
 * RESPONSIVE
 * ═══════════════════════════════════════════════════════════════════════ */

/* ── Tablet (<= 1023px) ─────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .ledger-wrap { padding: 0 32px; }

  body.landing-page .ledger-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  body.landing-page .ledger-hero h1 { font-size: 56px; }
  body.landing-page .ledger-hero-visual img { transform: none; }

  body.landing-page .ledger-section-head h2 { font-size: 44px; }
  :is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta h2 { font-size: 56px; }

  body.landing-page .ledger-problem-grid,
  body.landing-page .ledger-roles-grid,
  body.landing-page .ledger-pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
  body.landing-page .ledger-pipeline::before { display: none; }

  body.landing-page .ledger-security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.landing-page .ledger-feature-row,
  body.landing-page .ledger-feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  body.landing-page .ledger-feature-row.reverse .ledger-feature-text { order: 0; }
  body.landing-page .ledger-feature-text h3 { font-size: 36px; }

  .ledger-footer-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ── Mobile (<= 767px) ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  .ledger-wrap { padding: 0 20px; }

  .ledger-nav-toggle { display: inline-flex; }
  .ledger-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 16px;
  }
  .ledger-nav-menu.is-open { display: flex; }
  .ledger-nav-links {
    flex-direction: column;
    gap: 14px;
    font-size: 16px;
  }
  .ledger-nav-links a { opacity: 1; }
  .ledger-nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .ledger-nav-cta .ledger-btn { justify-content: center; }

  body.landing-page .ledger-hero { padding: 48px 0 64px; }
  body.landing-page .ledger-hero h1 { font-size: 44px; }
  body.landing-page .ledger-lede { font-size: 17px; }
  body.landing-page .ledger-hero-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  body.landing-page .ledger-hero-meta .val { font-size: 28px; }

  body.landing-page .ledger-section,
  body.landing-page .ledger-roles,
  body.landing-page .ledger-comparison,
  body.landing-page .ledger-security { padding: 72px 0; }
  body.landing-page .ledger-section-head { margin-bottom: 48px; }
  body.landing-page .ledger-section-head h2 { font-size: 34px; }
  :is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta { padding: 80px 0; }
  :is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta h2 { font-size: 40px; }
  :is(body.landing-page, body.ledger-ratgeber) .ledger-big-cta p { font-size: 16px; }

  body.landing-page .ledger-problem-grid,
  body.landing-page .ledger-roles-grid,
  body.landing-page .ledger-pipeline,
  body.landing-page .ledger-security-grid {
    grid-template-columns: 1fr;
  }
  body.landing-page .ledger-feature-row { padding: 56px 0; }
  body.landing-page .ledger-feature-text h3 { font-size: 28px; }
  body.landing-page .ledger-feature-text p { font-size: 16px; }

  body.landing-page .ledger-comp-table th,
  body.landing-page .ledger-comp-table td { padding: 14px 10px; font-size: 14px; }
  body.landing-page .ledger-comp-table td.highlight { font-size: 18px; }

  body.landing-page .ledger-trust-inner { gap: 20px; font-size: 12px; }
  body.landing-page .ledger-trust-divider { display: none; }

  .ledger-footer { padding: 48px 0 32px; }
  .ledger-footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .ledger-footer-bottom { flex-direction: column; text-align: left; }
}


/* ═══════════════════════════════════════════════════════════════════════
 * LEGACY-STYLES fuer Sub-Seiten (Ratgeber etc.) — bleiben erhalten
 * ═══════════════════════════════════════════════════════════════════════ */

/* Section-Spacing fuer Ratgeber-Layout */
.section-spacer {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 992px) {
  .section-spacer {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* ╔══════════════════════════════════════════════════════════════════════╗
 * ║  RATGEBER — Long-Form Article (Ledger Style)                        ║
 * ║  Scope: body.ledger-ratgeber (analog body.landing-page)             ║
 * ║  Basis: docs/inbox/design_handoff_ratgeber_delta/ratgeber.css       ║
 * ╚══════════════════════════════════════════════════════════════════════╝ */

/* Body-Reset analog Landing: natives Window-Scroll fuer Sticky-TOC */
body.ledger-ratgeber {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow: visible;
}
body.ledger-ratgeber h1,
body.ledger-ratgeber h2,
body.ledger-ratgeber h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
body.ledger-ratgeber .mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
body.ledger-ratgeber ::selection {
  background: var(--accent);
  color: #fff;
}

/* ─── Article header ─── */
body.ledger-ratgeber .article-header {
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--line);
}
body.ledger-ratgeber .crumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
body.ledger-ratgeber .crumb a { color: var(--muted); text-decoration: none; transition: color .15s; }
body.ledger-ratgeber .crumb a:hover { color: var(--ink); }
body.ledger-ratgeber .crumb .crumb-current { color: var(--ink); }
body.ledger-ratgeber .article-meta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 28px;
}
body.ledger-ratgeber .article-meta .meta-dot { color: var(--line); }
body.ledger-ratgeber .article-header h1 {
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 1040px;
}
body.ledger-ratgeber .article-header h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
body.ledger-ratgeber .article-header .deck {
  font-family: 'Instrument Serif', serif;
  font-size: 24px; font-style: italic; line-height: 1.4;
  color: var(--muted); max-width: 760px; margin: 0;
}

/* ─── Article body: 2-column (TOC + prose) ─── */
body.ledger-ratgeber .article-body { padding: 80px 0 120px; }
/* Ratgeber: Big-CTA etwas kompakter, damit die Seite nach dem Disclaimer nicht
 * ewig weiterlaeuft — Landing bleibt bei 140px. */
body.ledger-ratgeber .ledger-big-cta { padding: 100px 0; }
body.ledger-ratgeber .article-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

/* ─── Sticky TOC (Desktop) / Collapsible <details> (Mobile) ─── */
body.ledger-ratgeber .article-toc {
  position: sticky; top: 100px;
  align-self: start;
}
body.ledger-ratgeber .toc-collapsible > summary {
  list-style: none;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
body.ledger-ratgeber .toc-collapsible > summary::-webkit-details-marker { display: none; }
body.ledger-ratgeber .toc-chevron {
  font-size: 14px;
  transition: transform .2s;
}
body.ledger-ratgeber .toc-collapsible[open] .toc-chevron {
  transform: rotate(180deg);
}
body.ledger-ratgeber .article-toc ol {
  list-style: none; padding: 0; margin: 0;
  counter-reset: toc;
  font-size: 14px;
}
body.ledger-ratgeber .article-toc li {
  counter-increment: toc;
  padding: 8px 0;
  position: relative;
  padding-left: 28px;
}
body.ledger-ratgeber .article-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--accent);
  letter-spacing: 0.1em;
}
body.ledger-ratgeber .article-toc a {
  color: var(--ink); text-decoration: none; opacity: 0.75;
  transition: opacity .15s;
  line-height: 1.35; display: block;
}
body.ledger-ratgeber .article-toc a:hover { opacity: 1; color: var(--accent); }

/* ─── Prose column ─── */
body.ledger-ratgeber .article-prose {
  max-width: 720px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
}
body.ledger-ratgeber .article-prose section { scroll-margin-top: 100px; }
body.ledger-ratgeber .article-prose h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 44px; line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--ink);
}
body.ledger-ratgeber .article-prose h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px; line-height: 1.2; letter-spacing: -0.015em;
  margin: 48px 0 14px;
  color: var(--ink);
}
body.ledger-ratgeber .article-prose h4 {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 18px; line-height: 1.3; letter-spacing: 0;
  margin: 0 0 10px; color: var(--ink);
}
body.ledger-ratgeber .article-prose p {
  margin: 0 0 20px;
  color: var(--ink);
}
body.ledger-ratgeber .article-prose p.lead-para {
  font-size: 20px; line-height: 1.55;
  font-family: 'Instrument Serif', serif; font-style: italic;
  color: var(--ink);
}
body.ledger-ratgeber .article-prose .eyebrow-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
body.ledger-ratgeber .article-prose em { font-style: italic; font-family: 'Instrument Serif', serif; }
body.ledger-ratgeber .article-prose strong { font-weight: 600; color: var(--ink); }
body.ledger-ratgeber .article-prose a.inline-link {
  color: var(--accent); text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.ledger-ratgeber .article-prose a.inline-link:hover { color: var(--accent-2); }
body.ledger-ratgeber .article-prose .rule {
  border: none; border-top: 1px solid var(--line);
  margin: 56px 0;
}
body.ledger-ratgeber .article-prose p.caveat {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 18px;
  color: var(--muted);
  font-size: 16px;
}

/* Pull-stat block */
body.ledger-ratgeber .pull-stat {
  margin: 32px 0 28px;
  padding: 28px 32px;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: baseline;
  column-gap: 18px;
  row-gap: 8px;
}
body.ledger-ratgeber .pull-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 44px; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
body.ledger-ratgeber .pull-stat-vs {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 18px; color: var(--muted);
}
body.ledger-ratgeber .pull-stat-alt {
  font-family: 'DM Serif Display', serif;
  font-size: 34px; line-height: 1; color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(11,27,59,0.35);
  font-variant-numeric: tabular-nums;
}
body.ledger-ratgeber .pull-stat-label {
  grid-column: 1 / -1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}

/* Call-out quote */
body.ledger-ratgeber .callout-quote {
  font-family: 'Instrument Serif', serif;
  font-size: 26px; font-style: italic; line-height: 1.3;
  color: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 28px 0;
  margin: 40px 0;
}
body.ledger-ratgeber .callout-quote em { color: var(--accent); }

/* Prose tables */
body.ledger-ratgeber .prose-table {
  margin: 24px 0 32px;
  overflow-x: auto;
}
body.ledger-ratgeber .prose-table table {
  width: 100%; border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
body.ledger-ratgeber .prose-table th,
body.ledger-ratgeber .prose-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
body.ledger-ratgeber .prose-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
}
body.ledger-ratgeber .prose-table th.highlight { color: var(--accent); }
body.ledger-ratgeber .prose-table td.highlight {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--ink);
}
body.ledger-ratgeber .prose-table td.old {
  color: var(--muted);
}
body.ledger-ratgeber .prose-table td.accent-text { color: var(--accent); }
body.ledger-ratgeber .prose-table.big table { font-size: 16px; }
body.ledger-ratgeber .prose-table.big td { padding: 18px 16px; }
body.ledger-ratgeber .prose-table .td-note {
  font-family: 'Inter', sans-serif; font-size: 12.5px;
  color: var(--muted); font-weight: 400;
}

/* Prose lists */
body.ledger-ratgeber .prose-list {
  list-style: none; padding: 0; margin: 0 0 24px;
}
body.ledger-ratgeber .prose-list li {
  padding: 10px 0 10px 24px;
  position: relative;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
body.ledger-ratgeber .prose-list li:last-child { border-bottom: 1px solid var(--line); }
body.ledger-ratgeber .prose-list li::before {
  content: '·';
  position: absolute; left: 6px; top: 6px;
  color: var(--accent); font-weight: 700; font-size: 20px;
}
body.ledger-ratgeber .prose-list.ticks li::before {
  content: '';
  left: 0; top: 17px;
  width: 14px; height: 1px; background: var(--accent);
}

/* Verdict cards */
body.ledger-ratgeber .two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin: 32px 0 8px;
}
body.ledger-ratgeber .verdict-card {
  border: 1px solid var(--line);
  padding: 28px 26px;
  background: var(--paper);
}
body.ledger-ratgeber .verdict-card.good { background: var(--paper-2); border-color: var(--accent); }
body.ledger-ratgeber .verdict-head {
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
body.ledger-ratgeber .verdict-card.good .verdict-head i { color: var(--accent); }
body.ledger-ratgeber .verdict-card .verdict-head i { color: var(--muted); }
body.ledger-ratgeber .verdict-card ul {
  list-style: none; padding: 0; margin: 0;
  font-size: 15px; line-height: 1.55;
}
body.ledger-ratgeber .verdict-card li {
  padding: 8px 0 8px 18px;
  position: relative;
  color: var(--ink);
}
body.ledger-ratgeber .verdict-card li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 8px; height: 1px; background: currentColor; opacity: 0.4;
}

/* Scenario cards */
body.ledger-ratgeber .scenario {
  margin: 24px 0;
  padding: 24px 26px;
  border-left: 2px solid var(--ink);
  background: var(--paper-2);
}
body.ledger-ratgeber .scenario .scenario-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
body.ledger-ratgeber .scenario h4 {
  margin: 0 0 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 22px; font-weight: 400; letter-spacing: -0.01em;
}
body.ledger-ratgeber .scenario p { margin: 0; font-size: 16px; color: var(--ink); }

/* Solution 3-up */
body.ledger-ratgeber .solution-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--line); border: 1px solid var(--line);
  margin: 32px 0;
}
body.ledger-ratgeber .sol-card {
  background: var(--paper);
  padding: 28px 24px;
}
body.ledger-ratgeber .sol-card i { font-size: 22px; color: var(--accent); }
body.ledger-ratgeber .sol-card h4 {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  margin: 16px 0 8px;
}
body.ledger-ratgeber .sol-card p {
  font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0;
}

/* Disclaimer */
body.ledger-ratgeber .disclaimer {
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.55;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}
body.ledger-ratgeber .disclaimer strong { color: var(--ink); }

/* ─── Responsive ─── */
@media (min-width: 1025px) {
  /* Desktop: TOC-summary darf nicht togglen (always-open) */
  body.ledger-ratgeber .toc-collapsible > summary {
    pointer-events: none;
  }
  body.ledger-ratgeber .toc-chevron { display: none; }
}

@media (max-width: 1024px) {
  body.ledger-ratgeber .article-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  body.ledger-ratgeber .article-toc { position: static; }
  body.ledger-ratgeber .article-header h1 { font-size: 52px; }
  body.ledger-ratgeber .article-prose h2 { font-size: 36px; }
  body.ledger-ratgeber .article-header { padding: 48px 0 56px; }
  body.ledger-ratgeber .article-body { padding: 56px 0 80px; }
}

@media (max-width: 768px) {
  body.ledger-ratgeber .article-header h1 { font-size: 40px; }
  body.ledger-ratgeber .article-header .deck { font-size: 20px; }
  body.ledger-ratgeber .article-prose { font-size: 16.5px; }
  body.ledger-ratgeber .article-prose h2 { font-size: 30px; }
  body.ledger-ratgeber .article-prose h3 { font-size: 22px; }
  body.ledger-ratgeber .pull-stat {
    grid-template-columns: 1fr;
    padding: 22px 22px;
  }
  body.ledger-ratgeber .pull-stat-num { font-size: 36px; }
  body.ledger-ratgeber .pull-stat-alt { font-size: 28px; }
  body.ledger-ratgeber .two-col { grid-template-columns: 1fr; }
  body.ledger-ratgeber .solution-grid { grid-template-columns: 1fr; }
  body.ledger-ratgeber .callout-quote { font-size: 22px; }
  body.ledger-ratgeber .verdict-card { padding: 22px 20px; }
  body.ledger-ratgeber .scenario { padding: 20px 22px; }
}

/* Print: Ratgeber druckfreundlich (Nice-to-have fuer Steuerberater) */
@media print {
  body.ledger-ratgeber .ledger-nav,
  body.ledger-ratgeber .ledger-big-cta,
  body.ledger-ratgeber .ledger-footer,
  body.ledger-ratgeber .article-toc { display: none; }
  body.ledger-ratgeber .article-grid { grid-template-columns: 1fr; }
  body.ledger-ratgeber .article-prose { max-width: none; font-size: 11pt; }
  body.ledger-ratgeber .article-header h1 { font-size: 28pt; }
  body.ledger-ratgeber .article-prose h2 { font-size: 18pt; }
  body.ledger-ratgeber .article-prose h3 { font-size: 14pt; }
  body.ledger-ratgeber .callout-quote,
  body.ledger-ratgeber .scenario,
  body.ledger-ratgeber .pull-stat { page-break-inside: avoid; }
}
