:root {
  --bg: #f6f7f9; --surface: #ffffff; --text: #1d2433; --muted: #5d6779; --line: #e3e7ee;
  --brand: #1f56f0; --brand-d: #1637e8; --brand-soft: #e8eeff; --ok: #15803d;
  --warn-bg: #fff7e6; --warn-line: #f1c76b; --warn-text: #6b4500;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.06);
  --c1: #2563eb; --c2: #7c3aed; --c3: #0891b2; --c4: #16a34a; --c5: #f59e0b; --c6: #e11d48;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1218; --surface: #161c26; --text: #e8ecf3; --muted: #9aa5b8; --line: #263041;
    --brand: #5b8cff; --brand-d: #7aa2ff; --brand-soft: #1b2740; --ok: #4ade80;
    --warn-bg: #2a2110; --warn-line: #7a5a14; --warn-text: #f5d58a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--brand); }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.sr { position: absolute; left: -9999px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.brand img { width: 42px; height: 42px; display: block; }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 18px; }
nav.main a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
nav.main a:hover { color: var(--brand); }
.lang { display: flex; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; cursor: pointer; }
.lang button.on { background: var(--brand); color: #fff; }

.tag { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; margin: 14px 0 14px; letter-spacing: -.02em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.btn { display: inline-block; border: 1px solid transparent; border-radius: 10px; padding: 12px 22px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-d); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn[disabled] { opacity: .6; cursor: default; }
.small { font-size: .85rem; color: var(--muted); }
/* Sections */
section.block { padding: 44px 0; }
h2 { font-size: 1.8rem; margin: 0 0 8px; letter-spacing: -.01em; }
h3 { margin: 0 0 6px; font-size: 1.05rem; }
.sub { color: var(--muted); margin: 0 0 26px; max-width: 46em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.ico { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 12px; }

/* Notarization notice */
.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-text); border-radius: 16px; padding: 26px; }
.notice h2 { color: inherit; }
.notice .badge { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--warn-line); color: #3a2800; border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.notice h3 { margin-top: 20px; }
.notice ul, .notice ol { margin: 6px 0 0; padding-left: 1.3em; }
.notice li { margin: 4px 0; }
/* Download */
.dl { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.dl img { width: 150px; height: 150px; margin: 0 auto; display: block; filter: drop-shadow(0 8px 18px rgba(3,4,210,.25)); }
.dl .ph { width: 150px; height: 150px; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.hash { display: flex; gap: 8px; align-items: stretch; margin-top: 4px; }
.hash code { flex: 1; word-break: break-all; font-size: .72rem; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; user-select: all; }
.hash button { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 8px; padding: 0 12px; font: inherit; font-size: .8rem; cursor: pointer; }
.dl-meta { margin: 0 0 14px; color: var(--muted); }

/* Footer */
footer { margin-top: 30px; border-top: 1px solid var(--line); background: var(--surface); padding: 26px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer button { background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; font-weight: 600; padding: 0; }
footer button:hover { color: var(--text); }

/* Modal */
.overlay { position: fixed; inset: 0; background: rgba(8,12,20,.6); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal { background: var(--surface); color: var(--text); border-radius: 16px; width: 100%; max-width: 720px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.modal .bar2 { display: flex; justify-content: flex-end; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.modal .x { background: var(--bg); border: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; color: var(--muted); }
.modal .body { padding: 6px 28px 28px; overflow-y: auto; font-size: .93rem; }
.modal h2 { font-size: 1.5rem; margin-top: 18px; }
.modal h3 { margin-top: 18px; }
.modal p { margin: 6px 0; }
.modal .note { font-size: .8rem; color: var(--muted); font-style: italic; }



/* Hero */
.hero { padding: 56px 0 20px; text-align: center; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin: 0 auto; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 10px; }
.hero .small { max-width: 46em; }

/* Ansichten / Screenshots */
.showcase { padding: 8px 0 24px; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 18px; }
.tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; font-weight: 600; font-size: .9rem; padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.tabs button:hover { border-color: var(--brand); color: var(--text); }
.tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.shot { margin: 0 auto; max-width: 980px; text-align: center; }
.shot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 32px rgba(16,24,40,.28)); }
.shot figcaption { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.views-h { text-align: center; margin-top: 28px; }
.cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.showcase .sub { text-align: center; margin-left: auto; margin-right: auto; }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 14px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; }
.plan .step { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.plan.featured { border-color: var(--brand); }
.plan .price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.plan .btn { margin-top: auto; text-align: center; }

/* Download */
.contact { max-width: 640px; }
label.f { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 4px; }
select { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
select:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.row { margin-bottom: 16px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }

/* Footer */
footer { margin-top: 30px; border-top: 1px solid var(--line); background: var(--surface); padding: 26px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer button { background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; font-weight: 600; padding: 0; }
footer button:hover { color: var(--text); }

/* 404 */
main.wrap { padding-top: 60px; max-width: 640px; }

@media (max-width: 800px) {
  .dl { grid-template-columns: 1fr; text-align: center; }
  .hash { text-align: left; }
  .hero { padding-top: 36px; }
}

/* Kompakter Notarisierungs-Hinweis */
.block-sm { padding: 16px 0 10px; }
.notice.compact { padding: 14px 18px; border-radius: 12px; font-size: .86rem; line-height: 1.5; }
.notice.compact .nt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 4px; font-size: .95rem; }
.notice.compact .badge { font-size: .68rem; padding: 2px 8px; margin: 0; }
.notice.compact p { margin: 4px 0; }
.notice.compact .nt-steps-t { font-weight: 600; margin-top: 8px; }
.notice.compact ol { margin: 2px 0 0; padding-left: 1.2em; }
.notice.compact li { margin: 1px 0; }
.notice.compact .nt-hint { font-size: .8rem; opacity: .85; margin-top: 6px; }

/* Zähler */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-align: center; }
.stat b { display: block; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat span { font-size: .8rem; color: var(--muted); }
.stats-note { margin: 8px 0 0; text-align: center; }
@media (max-width: 480px) { .stat b { font-size: 1.2rem; } .stat span { font-size: .72rem; } }

/* Kompaktere Bereiche: Funktionen sowie Preis und Lizenz */
#funktionen, #preis { padding: 26px 0; }
#funktionen h2, #preis h2 { font-size: 1.5rem; margin-bottom: 4px; }
#funktionen .sub, #preis .sub { margin-bottom: 16px; font-size: .95rem; }
#funktionen .cards { gap: 10px; }
#funktionen .card { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: start; padding: 12px 14px; border-radius: 12px; box-shadow: none; }
#funktionen .ico { grid-row: 1 / span 2; width: 30px; height: 30px; margin: 0; border-radius: 8px; font-size: .95rem; }
#funktionen .card h3 { font-size: .95rem; margin: 0 0 2px; align-self: center; }
#funktionen .card p { font-size: .82rem; line-height: 1.45; grid-column: 2; }
#preis .plans { gap: 10px; margin-bottom: 0; }
#preis .plan { padding: 12px 16px; gap: 3px; box-shadow: none; border-radius: 12px; }
#preis .plan .step { width: 22px; height: 22px; font-size: .78rem; }
#preis .plan h3 { font-size: .95rem; margin: 0; }
#preis .plan p { font-size: .84rem; line-height: 1.45; }
#preis .plan .price { font-size: 1.45rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
#preis .plan .btn { padding: 8px 16px; font-size: .9rem; }
.intro { font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 2px 8px; }
#funktionen .card { align-content: start; }
#funktionen .ico { grid-row: 1; }

/* Hero-Punkte */
.hero-points { list-style: none; margin: 16px auto 0; padding: 0; text-align: left; display: inline-block; max-width: 40em; color: var(--muted); font-size: 1.02rem; }
.hero-points li { position: relative; padding-left: 1.4em; margin: 5px 0; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.hero-points b { color: var(--text); }
.hero-q { margin: 12px 0 0; font-weight: 600; color: var(--text); }
