/* Zerodesk – öffentliche Startseite. Farben, Radien und Schatten aus docs/DESIGN.md §2. */
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fafbf8;
  --panel: #ffffff;
  --ink: #111111;
  --ink2: #2a2e2b;
  --forest: #14532d;
  --moss: #2e7d51;
  --lime: #bef264;
  --lime-soft: #eff8dd;
  --line: #e2e6df;
  --line2: #eef1ec;
  --col: #f1f3ee;
  --muted: #6b7280;
  --r-panel: 18px;
  --r-card: 13px;
  --r-control: 10px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(20, 83, 45, 0.05), 0 10px 28px -16px rgba(20, 83, 45, 0.22);
  --shadow-card: 0 1px 2px rgba(20, 83, 45, 0.05);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink2);
  font: 400 16px/1.55 "Geist", ui-sans-serif, system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
h1, h2 { color: var(--ink); margin: 0; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 650; letter-spacing: -0.025em; line-height: 1.15; max-width: 22ch; }
p { margin: 0; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--panel); padding: 8px 12px; border-radius: var(--r-control); }

/* Kopf */
.top { position: sticky; top: 0; z-index: 5; background: rgba(250, 251, 248, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; }
.menu { display: flex; align-items: center; gap: 22px; }
.menu a:not(.btn) { color: var(--ink2); text-decoration: none; font-size: 15px; }
.menu a:not(.btn):hover { color: var(--forest); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-control); font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.btn-main { background: var(--lime); color: var(--ink); }
.btn-main:hover { background: #b0e650; }
.btn-ghost { background: var(--panel); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--moss); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }

/* Einstieg */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.kicker { color: var(--moss); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.05; }
h1 span { color: var(--forest); }
.lead { font-size: 18px; margin-top: 20px; max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.facts li { background: var(--lime-soft); color: var(--forest); border-radius: var(--r-pill); padding: 5px 12px; font-size: 13.5px; font-weight: 500; }
.shot { margin: 0; border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel); }
.shot figcaption { padding: 14px 18px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line2); }
.shot-wide { margin-top: 40px; max-width: 980px; }

/* Ablauf */
.band { background: var(--col); padding: 72px 0; margin-top: 32px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--panel); border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--lime); font-weight: 650; margin-bottom: 12px; }
.steps b, .card b, .rules b { display: block; color: var(--ink); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.steps p, .card p { font-size: 15px; }

/* Im Alltag */
.features { padding: 72px 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow-card); }
.soon { display: inline-block; background: var(--lime-soft); color: var(--forest); border-radius: var(--r-pill); padding: 2px 10px; font-size: 12.5px; font-weight: 600; margin-bottom: 10px; }

/* Demo */
.demo { margin-top: 0; }
.demo .lead { max-width: 64ch; }

/* Grundsätze */
.dark { background: var(--ink); color: #e7ebe4; padding: 72px 0; }
.dark h2 { color: #fff; }
.dark .kicker { color: var(--lime); }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin-top: 32px; }
.rules div { border-top: 1px solid #2f332f; padding-top: 18px; }
.rules b { color: var(--lime); }

/* Fragen */
.faq { padding: 72px 0 24px; }
.faq details { max-width: 820px; }
.faq h2 { margin-bottom: 20px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-weight: 600; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--moss); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 18px; max-width: 64ch; }

/* Kontakt */
.contact { margin: 48px auto 72px; background: var(--forest); color: #e7f1e9; border-radius: var(--r-panel); padding: 40px; display: grid; gap: 14px; justify-items: start; }
.contact h2 { color: #fff; }
.contact .kicker { color: var(--lime); margin-bottom: 0; }
.contact small { font-size: 13.5px; color: #c9dccd; }
.contact small a { color: #fff; }
.contact .mail { margin: 0; }
.contact .mail a { color: #fff; font-weight: 600; overflow-wrap: anywhere; }

/* Fuß */
.foot { border-top: 1px solid var(--line); padding: 8px 0; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--forest); }

/* Rechtsseiten */
.legal { padding: 48px 0 72px; max-width: 760px; }
.legal h1 { font-size: 34px; margin-bottom: 24px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; max-width: none; }
.legal p, .legal li { margin-bottom: 10px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.todo { background: #fef3c7; color: #92400e; border-radius: 6px; padding: 0 4px; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .menu a:not(.btn) { display: none; }
  .hero { padding-top: 36px; }
  .steps, .grid, .rules { grid-template-columns: 1fr; }
  .band, .features, .dark { padding: 52px 0; }
  .contact { padding: 28px 22px; }
  .legal dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
