/* Plausio – Produktseite. Systemschriften, keine externen Ressourcen. */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --text: #15181d;
  --muted: #5b6472;
  --line: #e2e6ec;
  --accent: #2563eb;
  --accent-text: #ffffff;
  --red: #dc2626;
  --orange: #ea7a0c;
  --radius: 14px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --bg-soft: #181c22;
    --text: #eef1f5;
    --muted: #9aa3b1;
    --line: #2a3039;
    --accent: #4f8cff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Kopfzeile */
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); }
.brand img { width: 32px; height: 32px; }
.brand:hover { text-decoration: none; }
nav.top { display: flex; gap: 18px; font-size: 15px; }
nav.top a { color: var(--muted); }
/* Schmal: nur der Sprachwechsel bleibt in der Kopfzeile */
@media (max-width: 640px) { nav.top a:not([lang]) { display: none; } }

/* Einstieg */
.hero { padding: 72px 0 40px; text-align: center; }
.hero img.icon { width: 112px; height: 112px; margin: 0 auto 20px; }
.hero h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 720px; margin: 0 auto 28px; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600;
  background: var(--accent); color: var(--accent-text);
}
.button.secondary { background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }
.button:hover { text-decoration: none; filter: brightness(1.05); }
.button.disabled { opacity: 0.6; pointer-events: none; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Screenshots */
.shots { display: flex; gap: 20px; justify-content: safe center; align-items: flex-end; padding: 20px 20px 64px; overflow-x: auto; }
.shots img { border-radius: 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14); border: 1px solid var(--line); }
.shots .phone { width: 240px; flex: none; }
.shots .mac { width: 520px; flex: none; border-radius: 12px; }
@media (max-width: 760px) { .shots .mac { display: none; } .shots .phone { width: 220px; } }

/* Abschnitte */
section { padding: 56px 0; }
section.soft { background: var(--bg-soft); }
section h2 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 10px; letter-spacing: -0.01em; }
section p.intro { color: var(--muted); max-width: 760px; margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
section.soft .card { background: var(--bg); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .emoji { font-size: 26px; margin-bottom: 8px; }

/* Pakete */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { font-size: 26px; font-weight: 700; margin: 6px 0 12px; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; color: var(--muted); }
.plan li { margin: 4px 0; }

/* Hinweis */
.callout { border-left: 4px solid var(--orange); background: var(--bg-soft); padding: 14px 18px; border-radius: 8px; color: var(--text); }

/* Rechtstexte */
main.doc { padding: 48px 0 72px; }
main.doc .wrap { max-width: 820px; }
main.doc h1 { font-size: 34px; line-height: 1.2; }
main.doc h2 { margin-top: 36px; font-size: 24px; }
main.doc h3 { margin-top: 26px; font-size: 19px; }
main.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 16px 0; display: block; overflow-x: auto; }
main.doc th, main.doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
main.doc th { background: var(--bg-soft); }
main.doc hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
main.doc code { background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: 0.92em; }
pre.brew { background: var(--bg-soft); border: 1px solid var(--line); padding: 14px 18px; border-radius: 10px; overflow-x: auto; }

/* Fußzeile */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); }
