/* LEAF & LEADS – leafleads.de */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #0a1a13;
  --bg2: #0e2219;
  --card: #112a1f;
  --line: #1e4434;
  --text: #d5e3da;
  --muted: #8fa89a;
  --white: #fff;
  --lime: #c4f135;
  --lime-soft: rgba(196, 241, 53, .12);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", var(--sans);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--lime); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); color: var(--white); margin: 0; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.tag { display: block; font: 400 13px/1.4 var(--mono); color: var(--lime); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 17px; max-width: 40em; margin-bottom: 40px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; background: var(--lime); color: var(--bg); border: 1px solid var(--lime); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196, 241, 53, .25); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 10; background: rgba(10, 26, 19, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 15px var(--sans); letter-spacing: .06em; color: var(--white); text-decoration: none; white-space: nowrap; }
.logo svg { width: 28px; height: 28px; }
.menu { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.menu a { color: var(--muted); text-decoration: none; }
.menu a:hover { color: var(--white); }
.menu .btn { padding: 9px 16px; font-size: 14px; color: var(--bg); }

/* Einstieg */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; line-height: 1.02; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { font-size: 18px; max-width: 32em; margin-bottom: 30px; }
.record { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; font: 400 13px/1.4 var(--mono); }
.record .head { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.record dl { margin: 0; }
.record div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.record div:last-child { border-bottom: 0; }
.record dt { color: var(--muted); }
.record dd { margin: 0; color: var(--white); text-align: right; }
.record .ok { color: var(--lime); }

/* Kennzahlen */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .wrap > div { padding: 30px 24px; }
.stats .wrap > div:first-child { padding-left: 0; }
.stats .wrap > div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font: 800 clamp(28px, 3.4vw, 38px)/1.15 var(--display); color: var(--white); letter-spacing: -.02em; }
.stats span { font-size: 14px; color: var(--muted); }

/* Abschnitte */
.sec { padding: 88px 0; border-top: 1px solid var(--line); }
.sec.alt { background: var(--bg2); }
.stats + .sec { border-top: 0; }
.sec h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; margin-bottom: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.card h3 { font-size: 20px; margin: 8px 0 10px; }
.card p { font-size: 15px; }
.card ul { margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.card li { padding: 7px 0; border-top: 1px dashed var(--line); }
.card li::before { content: "→ "; color: var(--lime); }
.num { font: 500 13px var(--mono); color: var(--lime); }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.checks > div { display: flex; gap: 16px; }
.checks b { display: block; color: var(--white); margin-bottom: 4px; font-weight: 600; }
.checks p { margin: 0; font-size: 15px; }
.icon { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--lime-soft); display: grid; place-items: center; }
.icon svg { width: 16px; height: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; background: var(--card); }
.label { font: 400 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { border-top: 2px solid var(--line); padding-top: 18px; }
.steps li:first-child { border-color: var(--lime); }
.steps h3 { font-size: 17px; margin: 8px 0; }
.steps p { font-size: 14px; color: var(--muted); margin: 0; }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; margin-top: 32px; }
.about p { font-size: 16px; line-height: 1.75; }
.timeline { border-left: 2px solid var(--line); padding-left: 24px; margin: 4px 0 0; list-style: none; }
.timeline li { position: relative; padding-bottom: 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--lime); }
.timeline b { display: block; font: 500 13px var(--mono); color: var(--lime); }

.faq { max-width: 820px; margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 17px; font-weight: 500; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--lime); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text); padding-bottom: 20px; margin: 0; max-width: 46em; }

.final { margin: 0 auto 88px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #163b2b, #0f2a1f); border: 1px solid #2a5a44; border-radius: 18px; padding: clamp(28px, 5vw, 56px); }
.final h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.final p { font-size: 16px; }
.contact { font: 400 14px/1.9 var(--mono); }
.contact dt { color: var(--lime); }
.contact dd { margin: 0 0 8px; }
.contact a { color: var(--white); text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.final-wrap { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }

/* Fußzeile */
.foot { border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; }
.foot nav { display: flex; gap: 22px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--white); }

/* Rechtstexte */
.legal { max-width: 780px; padding-top: 72px; padding-bottom: 88px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 44px); font-weight: 800; margin-bottom: 32px; }
.legal h2 { font-size: 20px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 20px; }
.legal .muted { color: var(--muted); font-size: 14px; }

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 88px; }
.notfound h1 { font-size: clamp(36px, 6vw, 56px); font-weight: 800; margin-bottom: 16px; }

@media (max-width: 900px) {
  .menu a:not(.btn) { display: none; }
  .hero, .about, .final { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; gap: 40px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stats .wrap > div { padding: 22px 0; }
  .stats .wrap > div + div { border-left: 0; }
  .stats .wrap > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .stats .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid3, .grid4, .checks { grid-template-columns: 1fr; }
  .grid4 { gap: 28px; }
  .sec { padding: 64px 0; }
}

@media (max-width: 420px) {
  .logo span { font-size: 13px; }
  .menu .btn { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
