/* Landing-Page-Styles — Hub + Spoke-Seiten.
   Quelle: TMP/handoff-lp/ui_kits/landing/landing.css (Designer-Handoff).
   Alle Farbwerte kommen aus tokens.css unter dem --lp-*-Präfix. */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body.landing {
  font-family: var(--font-body);
  color: var(--lp-fg1);
  background: var(--lp-bg-paper);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.lp {
  --lp-max: 1120px;
  --lp-section-y: 96px;
  font-family: var(--font-body);
  color: var(--lp-fg1);
  background: var(--lp-bg-paper);
}

.lp-container {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Inline-SVG-Sprite (unsichtbar, dient nur als Symbol-Lager) ── */
.lp-svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ── Nav ───────────────────────────────────────────────── */
.lp-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--lp-nav-border);
}
.lp-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 18px;
  color: var(--lp-fg1);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.lp-nav-brand .lp-logo { width: 28px; height: 28px; flex: 0 0 28px; }
.lp-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.lp-nav-links a {
  color: var(--lp-fg1);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
}
.lp-nav-links a:hover { border-bottom-color: var(--lp-fg1); text-decoration: none; }
.lp-nav-links a.is-active { color: var(--lp-accent-warm); border-bottom-color: var(--lp-accent-warm); }
.lp-nav-links a.lp-nav-cta {
  background: var(--lp-fg1);
  color: var(--lp-fg-on-dark);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--lp-fg1);
  border-bottom: 1px solid var(--lp-fg1);
  transition: all 150ms ease;
}
.lp-nav-links a.lp-nav-cta:hover {
  background: var(--lp-slate-900);
  color: var(--lp-fg-on-dark);
  border-color: var(--lp-slate-900);
}

/* ── Hero ──────────────────────────────────────────────── */
.lp-hero {
  padding: 72px 0 var(--lp-section-y);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .lp-hero { grid-template-columns: 1fr; gap: 48px; padding: 48px 0 64px; } }

.lp-dachzeile {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-accent-warm);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  display: inline-block;
}
.lp-h1 {
  font-family: var(--font-headline);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--lp-fg1);
  margin: 0 0 20px;
  text-wrap: balance;
}
@media (max-width: 860px) { .lp-h1 { font-size: 44px; } }
.lp-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--lp-slate-600);
  margin: 0 0 32px;
  max-width: 56ch;
}
.lp-cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.lp-btn-primary {
  background: var(--lp-accent-warm);
  color: var(--lp-fg-on-dark);
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 150ms ease;
  font-family: var(--font-body);
}
.lp-btn-primary:hover { background: var(--lp-accent-warm-hover); text-decoration: none; color: var(--lp-fg-on-dark); }
.lp-btn-primary .lp-icon-inline {
  width: 16px;
  height: 16px;
  color: var(--lp-fg-on-dark);
}
.lp-btn-secondary {
  background: transparent;
  color: var(--lp-fg1);
  padding: 14px 20px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
}
.lp-btn-secondary:hover { color: var(--lp-accent-warm); text-decoration: none; }
.lp-btn-secondary.is-on-dark { color: var(--lp-final-text-muted); }
.lp-btn-secondary.is-on-dark:hover { color: var(--lp-fg-on-dark); }

.lp-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--lp-slate-500);
  align-items: center;
}
.lp-trust span { display: inline-flex; align-items: center; gap: 6px; }
.lp-trust .dot { width: 3px; height: 3px; background: var(--lp-slate-400); border-radius: 50%; }

/* Hero visual — beleg → DATEV split */
.lp-hero-visual {
  background: var(--lp-bg-white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px -20px var(--lp-hero-shadow-1), 0 2px 6px var(--lp-hero-shadow-2);
  border: 1px solid var(--lp-color-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.lp-hero-beleg {
  background: var(--lp-beleg-bg);
  border-radius: 10px;
  padding: 18px;
  border: 1px solid var(--lp-beleg-border);
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--lp-beleg-ink);
  transform: rotate(-1.5deg);
}
.lp-hero-beleg.is-rot-2 { transform: rotate(-2deg); }
.lp-hero-beleg.is-narrow { max-width: 260px; }
.lp-hero-beleg h4 {
  font-family: var(--font-headline);
  font-size: 13px;
  margin: 0 0 10px;
  color: var(--lp-beleg-ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lp-hero-beleg .line {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px dashed var(--lp-beleg-dashed);
}
.lp-hero-beleg .line.is-muted { color: var(--lp-slate-500); font-size: 10px; margin-top: 8px; }
.lp-hero-beleg .line.is-badge { color: var(--lp-terra-700); font-size: 10px; margin-top: 8px; font-weight: 600; }
.lp-hero-beleg .total {
  font-weight: 600;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1.5px solid var(--lp-beleg-ink);
}

.lp-hero-datev,
.lp-hero-booking {
  background: var(--lp-slate-50);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--lp-color-border);
}
.lp-hero-datev .head,
.lp-hero-booking .head {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lp-slate-500);
  font-family: var(--font-mono);
  margin-bottom: 10px;
}
.lp-hero-datev table,
.lp-hero-booking table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.lp-hero-datev td,
.lp-hero-booking td {
  padding: 5px 2px;
  border-bottom: 1px solid var(--lp-color-border);
  color: var(--lp-fg1);
}
.lp-hero-datev td.n,
.lp-hero-booking td.n { text-align: right; }
.lp-hero-datev .ok,
.lp-hero-booking .ok { color: var(--lp-green-700); }
.lp-hero-datev td.is-hint,
.lp-hero-booking td.is-hint {
  padding-top: 8px;
  color: var(--lp-slate-500);
  font-size: 10px;
}

/* Enterprise-Variante: JSON-Snippet im Hero */
.lp-hero-booking.is-code {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  line-height: 1.6;
}
.lp-hero-booking.is-code .head { font-family: var(--lp-font-sans); }
.lp-hero-booking.is-code .lp-json { color: var(--lp-slate-700); }
.lp-hero-booking.is-code .lp-json-k { color: var(--lp-terra-700); }
.lp-hero-booking.is-code .lp-json-v { color: var(--lp-green-700); }

/* ── Generic sections ─────────────────────────────────── */
.lp-section { padding: var(--lp-section-y) 0; }
.lp-section.alt { background: var(--lp-bg-white); }
.lp-section.dark { background: var(--lp-bg-ink); color: var(--lp-fg-on-dark); }
.lp-section.dark .lp-h2 { color: var(--lp-fg-on-dark); }
.lp-section.dark .lp-section-intro { color: var(--lp-section-dark-intro); }

.lp-section-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--lp-accent-warm);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 12px;
}
.lp-h2 {
  font-family: var(--font-headline);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 22ch;
  text-wrap: balance;
}
@media (max-width: 860px) { .lp-h2 { font-size: 30px; } }
.lp-section-intro {
  font-size: 17px;
  color: var(--lp-slate-600);
  max-width: 62ch;
  margin: 0 0 48px;
  line-height: 1.55;
}
.lp-section-intro.is-stacked { margin-top: -20px; }
.lp-section-intro.is-aside { margin-top: -20px; color: var(--lp-slate-600); font-style: italic; }
.lp-section-intro.is-aside-wide { margin-top: 32px; color: var(--lp-slate-600); font-style: italic; }

/* ── Audience cards (Hub weiche) ───────────────────────── */
.lp-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .lp-audience-grid { grid-template-columns: 1fr; } }
.lp-aud-card {
  background: var(--lp-bg-white);
  border: 1px solid var(--lp-color-border);
  border-radius: 12px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 200ms ease;
}
.lp-aud-card:hover {
  border-color: var(--lp-slate-300);
  box-shadow: 0 10px 20px -10px var(--lp-aud-shadow);
  transform: translateY(-2px);
  text-decoration: none;
}
.lp-aud-card .icon {
  width: 40px;
  height: 40px;
  background: var(--lp-accent-warm-soft);
  color: var(--lp-accent-warm);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.lp-aud-card .icon svg { width: 22px; height: 22px; }
.lp-aud-card h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.lp-aud-card p {
  font-size: 15px;
  color: var(--lp-slate-600);
  line-height: 1.55;
  margin: 0 0 auto;
  padding-bottom: 20px;
}
.lp-aud-card .more {
  font-weight: 500;
  font-size: 14px;
  color: var(--lp-accent-warm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Compare table (alte vs neue KI) ───────────────────── */
.lp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) { .lp-compare { grid-template-columns: 1fr; } }
.lp-col {
  padding: 32px 28px;
  border-radius: 12px;
  border: 1px solid var(--lp-color-border);
}
.lp-col.old { background: var(--lp-slate-50); color: var(--lp-slate-500); }
.lp-col.new { background: var(--lp-bg-white); border: 1.5px solid var(--lp-fg1); }
.lp-col.is-full { grid-column: 1 / -1; }
.lp-col h3 {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 18px;
  color: inherit;
}
.lp-col ul { list-style: none; margin: 0; padding: 0; }
.lp-col li {
  font-size: 15px;
  line-height: 1.5;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--lp-color-border);
  position: relative;
  text-wrap: pretty;
}
.lp-col li:last-child { border-bottom: none; }
.lp-col.old li::before {
  content: "×";
  position: absolute;
  left: 4px;
  top: 10px;
  line-height: 1.5;
  color: var(--lp-slate-400);
  font-size: 18px;
}
.lp-col.new li { color: var(--lp-fg1); }
.lp-col.new li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 21px;
  width: 14px;
  height: 2px;
  background: var(--lp-accent-warm);
}

/* ── Härtefall Tabs ────────────────────────────────────── */
.lp-tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--lp-color-border);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.lp-tab {
  padding: 14px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--lp-slate-500);
  cursor: pointer;
  transition: all 150ms ease;
}
.lp-tab:hover { color: var(--lp-fg1); }
.lp-tab.is-active { color: var(--lp-accent-warm); border-bottom-color: var(--lp-accent-warm); }

.lp-tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.lp-tab-panel.is-active { display: grid; }
@media (max-width: 860px) { .lp-tab-panel.is-active { grid-template-columns: 1fr; gap: 24px; } }
.lp-tab-panel h3 {
  font-family: var(--font-headline);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.lp-tab-panel p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--lp-slate-600);
}

/* ── Integration logo wall ─────────────────────────────── */
.lp-logowall {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--lp-color-border);
  border-bottom: 1px solid var(--lp-color-border);
}
.lp-logo-pill {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 18px;
  color: var(--lp-slate-500);
  letter-spacing: -0.01em;
}

/* ── JSON / code block — Hub-Variante ──────────────────── */
.lp-code {
  background: var(--lp-code-bg);
  color: var(--lp-code-fg);
  padding: 24px 28px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
}
.lp-code .k { color: var(--lp-code-key); }
.lp-code .s { color: var(--lp-code-string); }
.lp-code .b { color: var(--lp-code-bool); }
.lp-code .n { color: var(--lp-code-number); }

/* Enterprise-Spoke-Variante (dunkler, warmer) */
.lp-code.is-enterprise {
  margin: 28px 0 0;
  padding: 28px 32px;
  background: var(--lp-code-enterprise-bg);
  color: var(--lp-code-enterprise-fg);
  border-radius: 6px;
  font-family: var(--lp-font-mono);
  font-size: 14px;
  line-height: 1.7;
}
.lp-code.is-enterprise code { font-family: inherit; }
.lp-code.is-enterprise .k { color: var(--lp-code-enterprise-k); }
.lp-code.is-enterprise .s { color: var(--lp-code-enterprise-s); }
.lp-code.is-enterprise .v { color: var(--lp-code-enterprise-v); }
.lp-code.is-enterprise .n { color: var(--lp-code-enterprise-n); font-weight: 600; }
.lp-code.is-enterprise .num { color: var(--lp-code-enterprise-v); }

/* ── DATEV-Buchungsvorschlag (Härtefall-Tabs) ──────────── */
.lp-datev-preview {
  background: var(--lp-beleg-bg);
  border: 1px solid var(--lp-datev-border);
  border-radius: 6px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lp-terrakotta-900);
  overflow: hidden;
  box-shadow: 0 2px 8px -4px var(--lp-datev-shadow);
}
.lp-datev-preview .head {
  background: var(--lp-datev-head-bg);
  color: var(--lp-terrakotta-900);
  padding: 10px 16px;
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--lp-datev-divider);
}
.lp-datev-preview table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.lp-datev-preview thead th {
  background: transparent;
  padding: 10px 12px 6px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lp-terrakotta-700);
  border-bottom: 1px dashed var(--lp-datev-border-dashed-1);
}
.lp-datev-preview thead th.n { text-align: right; }
.lp-datev-preview tbody td {
  padding: 10px 12px;
  border-bottom: 1px dashed var(--lp-datev-border-dashed-2);
}
.lp-datev-preview tbody tr:last-child td { border-bottom: none; }
.lp-datev-preview td.n { text-align: right; }
.lp-datev-preview td.k { color: var(--lp-terrakotta-700); font-weight: 600; }
.lp-datev-preview td.b {
  text-align: center;
  color: var(--lp-terrakotta-700);
  background: var(--lp-datev-bu-bg);
  font-weight: 600;
}
.lp-datev-preview .foot {
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--lp-terrakotta-700);
  background: var(--lp-datev-foot-bg);
  border-top: 1px solid var(--lp-datev-border-top);
  line-height: 1.5;
}
.lp-datev-preview .foot code {
  background: var(--lp-datev-code-bg);
  padding: 1px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lp-terrakotta-900);
}
.lp-datev-preview .foot .sep { margin: 0 6px; opacity: 0.5; }

/* ── Final CTA / footer ────────────────────────────────── */
.lp-final {
  padding: 96px 0;
  background: var(--lp-bg-ink);
  color: var(--lp-fg-on-dark);
  text-align: center;
}
.lp-final .lp-h2 { color: var(--lp-fg-on-dark); margin-left: auto; margin-right: auto; }
.lp-final p {
  color: var(--lp-final-text-muted);
  margin: 0 auto 32px;
  max-width: 50ch;
  font-size: 17px;
}
.lp-final-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-footer {
  padding: 48px 0 64px;
  background: var(--lp-bg-ink);
  color: var(--lp-footer-text);
  font-size: 13px;
}
.lp-footer a { color: var(--lp-final-text-muted); text-decoration: none; }
.lp-footer a:hover { color: var(--lp-fg-on-dark); }
.lp-footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--lp-footer-border);
}
.lp-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   SPOKE-only components (Kanzleien / Unternehmer / Enterprise)
   ══════════════════════════════════════════════════════════ */

/* ── Steps (numbered list) ─────────────────────────────── */
.lp-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 24px;
  counter-reset: step;
  max-width: 880px;
}
.lp-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px;
  background: var(--lp-bg-page);
  border: 1px solid var(--lp-color-border);
  border-radius: 6px;
}
.lp-steps .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lp-terra-700);
  color: var(--lp-fg-on-dark);
  font-family: var(--lp-font-serif);
  font-size: 20px;
  font-weight: 600;
}
.lp-steps h3 {
  font-size: 20px;
  margin: 0 0 6px 0;
  font-family: var(--lp-font-serif);
  color: var(--lp-ink);
}
.lp-steps p {
  margin: 0;
  color: var(--lp-slate-700);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Cases (3-up card grid) ────────────────────────────── */
.lp-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 860px) { .lp-cases { grid-template-columns: 1fr; } }
.lp-case {
  padding: 28px 24px;
  background: var(--lp-bg-page);
  border: 1px solid var(--lp-color-border);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-case-tag {
  align-self: flex-start;
  font-family: var(--lp-font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lp-terra-700);
  padding: 4px 10px;
  background: var(--lp-terra-50);
  border-radius: 3px;
}
.lp-case h3 {
  font-family: var(--lp-font-serif);
  font-size: 20px;
  margin: 0;
  line-height: 1.3;
  color: var(--lp-ink);
}
.lp-case p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--lp-slate-700);
}

/* ── Deployment cards (2-up) ───────────────────────────── */
.lp-deploy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 860px) { .lp-deploy { grid-template-columns: 1fr; } }
.lp-deploy-card {
  padding: 32px 28px;
  background: var(--lp-bg-page);
  border: 1px solid var(--lp-color-border);
  border-radius: 6px;
}
.lp-deploy-card h3 {
  font-family: var(--lp-font-serif);
  font-size: 22px;
  margin: 0 0 12px 0;
  color: var(--lp-ink);
}
.lp-deploy-card > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--lp-slate-700);
  margin: 0 0 16px 0;
}
.lp-deploy-when {
  padding-top: 16px;
  border-top: 1px solid var(--lp-color-border);
  font-size: 14px;
  color: var(--lp-slate-700);
  line-height: 1.55;
}
.lp-deploy-when strong { color: var(--lp-terra-700); }
