/* leanframe.de: Werbeseite. Gleiche Schriften und Farben wie Chat und Portal. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --navy: #1e2a38; --petrol: #1d6f63; --mint: #2ccb8d; --orange: #ff6b1b;
  --bg: #f6f8fa; --surface: #ffffff; --surface-2: #eef2f5; --ink: #1e2a38; --muted: #5a6877; --line: #dce3ea;
  --accent: #1d6f63; --accent-soft: #e2f4ef;
  --radius: 16px; --shadow: 0 1px 2px rgba(30, 42, 56, 0.06), 0 10px 30px rgba(30, 42, 56, 0.08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e151c; --surface: #16212b; --surface-2: #1c2935; --ink: #e8eef3; --muted: #9badba; --line: #26343f;
    --accent: #5fd3b5; --accent-soft: #15322c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); text-align: center; margin-bottom: 1.2em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
section { padding: clamp(56px, 8vw, 96px) 0; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.mark-a { fill: var(--mint); } .mark-b { fill: var(--orange); }
.top-nav { display: flex; gap: 22px; margin-left: 12px; }
.top-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.top-nav a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.link-login { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
@media (max-width: 860px) { .top-nav { display: none; } }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; transition: transform 0.15s, filter 0.15s; }
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-cta { background: var(--orange); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
@media (max-width: 420px) { .top-actions .btn-sm { padding: 0 12px; } }

/* Start */
.hero { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.hero h1 span { color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 38em; }
.lead.center { margin-inline: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 10px; }
.fine { font-size: 0.88rem; color: var(--muted); }

.hero-demo { display: flex; justify-content: center; }
.phone { width: min(360px, 100%); background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; transform: rotate(1.5deg); }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: var(--navy); color: #fff; }
.phone-head small { display: block; opacity: 0.7; font-size: 0.75rem; }
.dotm { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), var(--petrol)); }
.msgs { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { margin: 0; padding: 10px 14px; border-radius: 16px; max-width: 85%; font-size: 0.92rem; line-height: 1.45; }
.msg.them { background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg.me { background: var(--navy); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
@media (prefers-color-scheme: dark) { .msg.me { background: #2b4a66; } }
.card-demo { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 0.88rem; }
.card-demo span { color: var(--muted); }
.card-demo .btn-demo { margin-top: 8px; background: var(--petrol); color: #fff; text-align: center; padding: 9px; border-radius: 10px; font-weight: 600; }

/* Schritte */
.steps { background: var(--surface); border-block: 1px solid var(--line); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
@media (max-width: 800px) { .step-list { grid-template-columns: 1fr; } }
.step-list li { position: relative; padding-top: 4px; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-weight: 700; margin-bottom: 12px; }
.step-list p { color: var(--muted); }

/* Funktionen */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature-grid article h3 { position: relative; padding-left: 16px; }
.feature-grid article h3::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 6px; height: 0.9em; border-radius: 3px; background: var(--mint); }
.feature-grid p { color: var(--muted); margin: 0; }

/* Zielgruppe */
.audience { padding-top: 0; }
.tags { list-style: none; padding: 0; margin: 0 auto 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; }
.tags li { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; }

/* Preise */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 32px 0 20px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.plan.is-featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 22px; margin: 0; background: var(--orange); color: var(--navy); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price { color: var(--muted); }
.price strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--ink); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; flex: 1; }
.plan li { padding-left: 24px; position: relative; font-size: 0.95rem; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Fragen */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* Schluss */
.final { background: var(--navy); color: #fff; text-align: center; }
.final h2 { color: #fff; margin-bottom: 0.4em; }
.final p { color: rgba(255, 255, 255, 0.75); margin-bottom: 28px; }

/* Fuß */
.foot { padding: 32px 0 40px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.claim { font-family: var(--font-display); font-weight: 600; margin: 0; }
.foot .muted { margin: 0 0 0 auto; font-size: 0.9rem; }
@media (max-width: 600px) { .foot .muted { margin-left: 0; } }

/* Rechtstexte */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { text-align: left; font-size: 1.25rem; margin: 2em 0 0.6em; }
.legal .todo { background: #fff4e5; color: #8a4b00; border-radius: 8px; padding: 2px 6px; }
@media (prefers-color-scheme: dark) { .legal .todo { background: #33250f; color: #f3c27a; } }
.btn { white-space: nowrap; }
@media (max-width: 420px) {
  .top-in { gap: 12px; }
  .brand span { font-size: 1.05rem; }
  .top-actions { gap: 10px; }
  .top-actions .btn-sm { min-height: 36px; padding: 0 10px; font-size: 0.85rem; }
  .link-login { font-size: 0.88rem; }
}
