/* style.css's @media (min-width: 480px) turns body into a centered,
   padded flex container to render .app-shell as a phone-sized card
   (".app-shell"'s width:100% normally keeps its content full-bleed inside
   that card). landing.html has no .app-shell wrapper — this is a real,
   edge-to-edge responsive page, not a card — so from 480px up it needs its
   own sections to stay full-width, and the body padding/centering meant
   for the card shell neutralized for this page specifically. */
@media (min-width: 480px) {
  body.page-landing {
    padding: 0;
    align-items: stretch;
    background: var(--c-bg);
  }
}
.l-nav, .l-hero, .l-steps, .l-plan, .l-stats, .l-warum, .l-footer {
  width: 100%;
}

/* ── Navbar ── */
.l-nav {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  height: 52px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
  /* body's total content is far taller than one viewport, and with
     html,body{height:100%} (style.css) giving body a definite height, the
     column flex layout will shrink any child whose explicit height exceeds
     its own min-content floor to make room — .l-nav is the only section
     here with an explicit height (the rest size from content/padding, which
     already sits at their floor), so without flex-shrink:0 it silently
     collapsed from 52/56px down to ~32px (button touching top/bottom edge). */
  flex-shrink: 0;
}
.l-nav-logo {
  font-size: 15px; font-weight: 600; color: var(--c-text);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.l-nav-links { display: none; }
.l-nav-cta {
  background: var(--c-brand); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 7px 14px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}

/* ── Hero ── */
.l-hero {
  padding: 48px 20px 40px; text-align: center;
  background: var(--c-surface); border-bottom: 1px solid var(--c-border);
}
.l-hero-eyebrow {
  font-size: 12px; font-weight: 600; color: var(--c-accent);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.l-hero-title {
  font-size: 36px; font-weight: 700; color: var(--c-text);
  line-height: 1.1; margin-bottom: 12px;
}
.l-hero-sub {
  font-size: 15px; color: var(--c-sub); line-height: 1.6;
  margin-bottom: 24px;
}
.l-hero-actions {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 320px; margin: 0 auto;
}
.l-btn-primary {
  background: var(--c-brand); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 13px 24px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  text-decoration: none; display: block; text-align: center;
}
.l-btn-secondary {
  background: transparent; color: var(--c-accent);
  border: 1.5px solid var(--c-accent); border-radius: var(--radius-sm);
  padding: 12px 24px; font-size: 15px; font-weight: 500;
  cursor: pointer; width: 100%;
}
.l-event-link-form {
  display: none; flex-direction: column; gap: 8px;
  margin-top: 10px; max-width: 320px;
  margin-left: auto; margin-right: auto;
}
.l-event-link-form.visible { display: flex; }

/* ── Steps ── */
.l-steps { padding: 40px 20px; background: var(--c-bg); }
.l-steps-inner { max-width: 900px; margin: 0 auto; }
.l-section-label {
  font-size: 11px; font-weight: 700; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 20px; text-align: center;
}
.l-steps-grid { display: flex; flex-direction: column; }
.l-step {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
}
.l-step:last-child { border-bottom: none; }
.l-step-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-brand); color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.l-step-title {
  font-size: 14px; font-weight: 600; color: var(--c-text); margin-bottom: 3px;
}
.l-step-sub { font-size: 13px; color: var(--c-sub); line-height: 1.5; }

/* ── Plan (Formular) ── */
.l-plan {
  padding: 40px 20px; background: var(--c-surface);
  border-top: 1px solid var(--c-border);
}
.l-plan-inner { max-width: 480px; margin: 0 auto; }
.l-plan-title {
  font-size: 20px; font-weight: 700; color: var(--c-text); margin-bottom: 6px;
}
.l-plan-sub { font-size: 14px; color: var(--c-sub); margin-bottom: 20px; }
.l-plan-form { display: flex; flex-direction: column; gap: 12px; }
.l-form-group { display: flex; flex-direction: column; gap: 5px; }
.l-form-row { display: flex; flex-direction: column; gap: 12px; }
.l-label { font-size: 13px; font-weight: 600; color: var(--c-text); }
.l-form-hint { font-size: 12px; color: var(--c-muted); }
.l-input {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--c-text);
  background: var(--c-bg); font-family: inherit; outline: none;
}
.l-input:focus { border-color: var(--c-accent); }
.l-btn-full { width: 100%; margin-top: 4px; }
.l-plan-hint {
  font-size: 12px; color: var(--c-muted); text-align: center; margin-top: 4px;
}
.l-plan-hint a { color: var(--c-accent); }

/* ── Stats ── */
.l-stats { padding: 40px 20px; background: var(--c-bg); }
.l-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--c-border);
  border: 1px solid var(--c-border); border-radius: var(--radius-md);
  overflow: hidden; max-width: 480px; margin: 0 auto;
}
.l-stat { background: var(--c-surface); padding: 18px 10px; text-align: center; }
.l-stat-num {
  font-size: 26px; font-weight: 700; color: var(--c-text);
  line-height: 1; letter-spacing: -0.02em;
}
.l-stat-label {
  font-size: 10px; font-weight: 600; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px;
}
.l-stat-trend { font-size: 11px; color: var(--c-green); margin-top: 2px; }

/* Stats Animation */
.l-stats-hidden { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.l-stats-visible { opacity: 1; transform: translateY(0); }

/* ── Warum ── */
.l-warum {
  padding: 40px 20px; background: var(--c-surface);
  border-top: 1px solid var(--c-border);
}
.l-warum-inner { max-width: 900px; margin: 0 auto; }
.l-warum-grid { display: flex; flex-direction: column; margin-top: 16px; }
.l-warum-point {
  display: flex; gap: 14px; padding: 18px 0;
  border-bottom: 1px solid var(--c-border);
}
.l-warum-point:last-child { border-bottom: none; }
.l-warum-highlight {
  background: var(--c-accent-bg);
  border-radius: var(--radius-md);
  padding: 18px; margin: 0 -4px;
  border-bottom: none !important;
}
.l-warum-num {
  font-size: 12px; font-weight: 700; color: var(--c-muted);
  width: 24px; flex-shrink: 0; padding-top: 2px;
}
.l-warum-title {
  font-size: 14px; font-weight: 600; color: var(--c-text); margin-bottom: 4px;
}
.l-warum-text { font-size: 13px; color: var(--c-sub); line-height: 1.6; }
.l-warum-footer {
  margin-top: 20px; font-size: 13px; color: var(--c-muted); text-align: center;
}
.l-warum-footer a { color: var(--c-accent); }

/* ── Footer ── */
.l-footer {
  background: var(--c-surface); border-top: 1px solid var(--c-border);
  padding: 20px;
}
.l-footer-inner {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px;
}
.l-footer-logo { font-size: 14px; font-weight: 600; color: var(--c-text); display: flex; align-items: center; gap: 8px; }
.l-footer-tagline { font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.l-footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.l-footer-links a { font-size: 12px; color: var(--c-muted); text-decoration: none; }
.l-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--c-border); padding-top: 12px;
  font-size: 11px; color: var(--c-muted);
}
.l-coffee { color: var(--c-accent); text-decoration: none; font-size: 12px; }

/* ── Desktop ab 900px ── */
@media (min-width: 900px) {
  .l-nav { padding: 0 48px; height: 56px; }
  .l-nav-links { display: flex; gap: 20px; font-size: 13px; }
  .l-nav-links a { color: var(--c-sub); text-decoration: none; }

  .l-hero { padding: 80px 48px 72px; }
  .l-hero-title { font-size: 52px; }
  .l-hero-sub { font-size: 17px; max-width: 560px; margin-left: auto; margin-right: auto; }
  .l-hero-actions { flex-direction: row; justify-content: center; max-width: none; gap: 12px; }
  .l-hero-actions .l-btn-primary,
  .l-hero-actions .l-btn-secondary { width: auto; }
  .l-event-link-form { max-width: 480px; }

  .l-steps { padding: 64px 48px; }
  .l-steps-grid { flex-direction: row; }
  .l-step {
    flex-direction: column; gap: 12px; padding: 0 32px;
    border-bottom: none; border-right: 1px solid var(--c-border); flex: 1;
  }
  .l-step:last-child { border-right: none; }

  .l-plan { padding: 64px 48px; }
  .l-plan-inner { max-width: 600px; }
  .l-plan-title { font-size: 26px; }
  .l-form-row { flex-direction: row; gap: 16px; }
  .l-form-row .l-form-group { flex: 1; }

  .l-stats { padding: 56px 48px; }
  .l-stats-grid { max-width: 600px; }
  .l-stat-num { font-size: 32px; }
  .l-stats-hidden { opacity: 1; transform: none; transition: none; }

  .l-warum { padding: 64px 48px; }
  .l-warum-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .l-warum-point {
    padding: 24px; border-bottom: 1px solid var(--c-border);
    border-right: 1px solid var(--c-border);
  }
  .l-warum-point:nth-child(2n) { border-right: none; }
  .l-warum-point:nth-last-child(-n+2) { border-bottom: none; }
  .l-warum-highlight { border-radius: 0; margin: 0; padding: 24px; }

  .l-footer { padding: 28px 48px; }
  .l-footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
