/* CleaROffert · Public landing page
 * ---------------------------------------------------------------------------
 * Landing-only styles. Loaded AFTER app.css so every custom property from
 * app.css :root (--bg, --panel, --fg, --fg-muted, --accent, --gold, --grad,
 * --serif, --sans, --radius, …) is already defined and reused here.
 *
 * No build step, no preprocessor, no external assets. The dark, elegant,
 * gradient-accented look mirrors the app dashboard so the landing page and
 * the product feel like one system.
 */

.landing {
  /* The body background + tokens come from app.css. Just give the landing
     document its own rhythm. */
  min-height: 100vh;
}

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.lp-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 18, 0.78);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.lp-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.lp-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg);
}
.lp-brand:hover { text-decoration: none; color: var(--fg); }
.lp-brand .brand-mark { color: var(--accent); }

.lp-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 14px;
}
.lp-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-soft);
}
.lp-nav-link:hover { color: var(--fg); text-decoration: none; }

.lp-topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Main column ─────────────────────────────────────────────────────────── */
.lp-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.lp-section {
  padding: 64px 0;
  border-top: 1px solid var(--rule-soft);
}
.lp-section-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--fg);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.lp-hero {
  padding: 84px 0 28px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.lp-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-faint);
  margin: 0 0 14px;
}
.lp-hero-title {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.04;
  font-weight: 600;
  margin: 0;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.lp-hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--fg-soft);
  margin: 20px auto 30px;
  max-width: 640px;
}
.lp-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.lp-cta { padding: 13px 26px; font-size: 15px; }

/* Decorative gradient band (pure CSS, reuses var(--grad)) */
.lp-wave {
  height: 64px;
  margin: 52px auto 0;
  max-width: 880px;
  border-radius: var(--radius);
  background: var(--grad-soft);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule-soft);
}
.lp-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0.5;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 7px);
  mask: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 7px);
}

/* ── Feature cards ───────────────────────────────────────────────────────── */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.lp-card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color 0.16s, transform 0.16s;
}
.lp-card:hover {
  border-color: var(--rule-strong);
  transform: translateY(-2px);
}
.lp-card-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--fg);
  /* Long German compounds (e.g. "Entscheidungsdokumentation") must wrap
     inside the card instead of overflowing its edge. */
  overflow-wrap: break-word;
  hyphens: auto;
}
.lp-card-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}

/* ── How it works ────────────────────────────────────────────────────────── */
.lp-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  counter-reset: none;
}
.lp-step {
  background: var(--panel-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.lp-step-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(228, 210, 166, 0.10);
  border: 1px solid rgba(228, 210, 166, 0.28);
  margin-bottom: 16px;
}
.lp-step-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--fg);
}
.lp-step-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}

/* ── Trust / closing band ────────────────────────────────────────────────── */
.lp-trust { text-align: center; }
.lp-trust-inner {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 44px 36px;
  box-shadow: var(--shadow);
}
.lp-trust-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin: 8px auto 18px;
  max-width: 580px;
}
.lp-disclaimer {
  font-size: 13px;
  color: var(--fg-faint);
  margin: 0 auto 26px;
  letter-spacing: 0.01em;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.lp-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 28px 48px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.lp-footer-brand {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-soft);
}
.lp-footer-brand .brand-mark { color: var(--accent); }
.lp-footer-line {
  font-size: 12.5px;
  color: var(--fg-faint);
  margin-left: auto;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .lp-nav { display: none; }
  .lp-hero-title { font-size: 40px; }
  .lp-hero { padding-top: 56px; }
  .lp-section { padding: 48px 0; }
  .lp-footer-line { margin-left: 0; width: 100%; }
}
