/* ProvaBill Website – keine externen Ressourcen, keine Webfonts, kein Tracking */
:root {
  --bg: #f8f8f7;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #5a5f66;
  --faint: #8b9096;
  --line: #e4e4e2;
  --teal: #148f85;
  --teal-dark: #0f6f68;
  --teal-soft: #e7f4f2;
  --teal-line: #b9dfda;
  --sand: #f3ece6;
  --violet: #5b3fd6;
  --violet-soft: #ece8fb;
  --amber-soft: #fbf0d2;
  --amber: #9a6b00;
  --red: #c0392b;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 10px;
  --max: 1180px;
}

* { 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(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-dark); }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.kicker.quiet { color: var(--faint); }
.lead { font-size: 20px; color: var(--muted); max-width: 760px; margin-top: 14px; }
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(30px, 4.2vw, 48px); }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,248,247,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand .mark { width: 28px; height: 28px; border-radius: 7px; background: var(--teal); display: grid; place-items: center; }
.brand .mark span { display: block; width: 4px; height: 14px; background: #fff; border-radius: 2px; box-shadow: 7px 0 0 #fff; margin-right: 7px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .cta { background: var(--teal); color: #fff; padding: 9px 16px; border-radius: 8px; font-weight: 600; }
.nav .cta:hover { background: var(--teal-dark); color: #fff; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); position: relative; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  content: ""; position: absolute; left: 11px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle-label span { top: 19px; }
.nav-toggle-label span::before { left: 0; top: -6px; }
.nav-toggle-label span::after { left: 0; top: 6px; }

/* Hero */
.hero { padding: 110px 0 80px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); max-width: 1040px; letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .quote-mark { display: inline-block; width: 16px; height: 18px; vertical-align: -2px; margin-right: 10px; background: linear-gradient(90deg, var(--teal) 0 40%, transparent 40% 60%, var(--teal) 60% 100%); border-radius: 2px; }
.hero .lead { font-size: 21px; margin-top: 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 9px; border: 1px solid transparent; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.fact strong { display: block; font-size: 17px; margin-bottom: 6px; }
.fact p { color: var(--muted); font-size: 15px; }

/* Cards & grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .kicker { margin-bottom: 18px; }
.card.tint-blue { background: #e9f0f3; border-color: #d3e1e6; }
.card.tint-teal { background: var(--teal-soft); border-color: var(--teal-line); }

.icon-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.icon-row:first-of-type { border-top: 0; padding-top: 0; }
.icon-row .ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--teal-dark); }
.icon-row strong { display: block; font-size: 17px; }
.icon-row span { color: var(--muted); font-size: 14.5px; }
.card.tint-teal .icon-row .ic, .card.tint-blue .icon-row .ic { background: #fff; }

.flow { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 18px; align-items: stretch; margin-top: 44px; }
.flow .card { display: flex; flex-direction: column; }
.flow .handoff { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--teal-line); font-family: var(--mono); font-size: 13.5px; color: var(--teal-dark); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--mono); font-size: 13.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.chip.on { background: var(--teal-soft); border-color: var(--teal-line); color: var(--teal-dark); }
.sources { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: center; }
.sources .kicker { margin-bottom: 4px; color: var(--faint); }
.sources .label { font-size: 15px; color: var(--muted); }

.badge { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; padding: 3px 7px; border-radius: 5px; vertical-align: middle; }
.badge.ki { background: var(--violet); color: #fff; }
.badge.analog { background: var(--amber-soft); color: var(--amber); }
.badge.outline { border: 1px solid var(--teal-line); color: var(--teal-dark); background: var(--teal-soft); }
.badge.violet { border: 1px solid #cfc5f5; color: var(--violet); background: #fff; }
.badge.grey { border: 1px solid var(--line); color: var(--muted); background: #fff; }

/* Example table */
.table { margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table .thead, .table .row { display: grid; grid-template-columns: 1.4fr 1.2fr 0.6fr 1fr; gap: 20px; padding: 22px 26px; align-items: center; }
.table .thead { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding: 16px 26px; }
.table .row + .row { border-top: 1px solid var(--line); }
.table .src { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.table .txt { font-size: 18px; }
.table .txt mark { background: var(--violet-soft); color: var(--violet); padding: 0 3px; border-radius: 3px; }
.table .code { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.table .code small { font-family: var(--sans); font-weight: 400; font-size: 15.5px; color: var(--muted); display: block; margin-top: 4px; letter-spacing: 0; }
.table .amount { font-family: var(--mono); font-size: 22px; text-align: right; color: var(--faint); font-weight: 400; }
.table .amount small { display: block; font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.table .proof { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.learned { margin-top: 18px; background: var(--teal-soft); border: 1px solid var(--teal-line); border-radius: var(--radius); padding: 22px 26px; display: grid; grid-template-columns: auto auto 1fr; gap: 28px; align-items: center; }
.learned .kicker { margin: 0; color: var(--teal-dark); }
.learned .diff { font-family: var(--mono); font-size: 16px; }
.learned .diff s { color: var(--faint); }
.learned .diff b { color: var(--teal-dark); font-weight: 600; }
.learned p { color: var(--muted); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; position: relative; }
.step .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.step .head .kicker { margin: 0; color: var(--muted); }
.step .head .num { font-family: var(--mono); color: var(--faint); font-size: 13px; }
.step p { color: var(--muted); font-size: 15.5px; }
.stats { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 18px; margin-top: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; min-height: 300px; }
.stat .kicker { color: var(--teal-dark); }
.stat .big { font-size: clamp(34px, 4vw, 52px); font-weight: 800; color: var(--teal); letter-spacing: -0.04em; line-height: 1; margin: auto 0; }
.stat .big.huge { font-size: clamp(64px, 8vw, 112px); }
.stat .split { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; margin: auto 0; }
.stat .split .line { border-left: 1px solid var(--line); padding-left: 36px; }
.stat .split .line .kicker { color: var(--muted); margin-bottom: 4px; }
.stat .split .line strong { display: block; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 16px; }
.stat p { color: var(--muted); font-size: 15.5px; margin-top: 22px; }

/* Feature groups */
.features { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.features .group .kicker { color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.features .card + .card { margin-top: 18px; }
.features .card { min-height: 230px; }
.fi { width: 44px; height: 44px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 16px; }

/* UI mockups (fiktive Daten) */
.mock { margin-top: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.mock-window { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(20,20,20,0.06); font-size: 13px; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.mock-bar .dots { display: flex; gap: 5px; }
.mock-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.mock-bar .crumb b { color: var(--ink); font-weight: 600; }
.mock-bar .search { margin-left: auto; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; color: var(--faint); font-size: 12px; }
.mock-body { padding: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpis div { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.mock-kpis .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mock-kpis .v { font-size: 18px; font-weight: 700; margin-top: 4px; }
.mock-kpis .v.amber { color: var(--amber); }
.mock-kpis .v.teal { color: var(--teal); }
.mock-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-col { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px; min-height: 230px; }
.mock-col .h { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-bottom: 10px; }
.mock-col .h b { color: var(--ink); font-weight: 600; }
.mock-col .h i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 5px; background: var(--faint); }
.mock-col .h i.amber { background: #e2a400; } .mock-col .h i.blue { background: #2f7fd6; } .mock-col .h i.teal { background: var(--teal); }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 10px; margin-bottom: 8px; }
.mock-card .id { font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.mock-card .t { font-weight: 600; margin: 4px 0 2px; font-size: 12.5px; }
.mock-card .d { color: var(--muted); font-size: 11.5px; }
.mock-card .eur { font-family: var(--mono); color: var(--teal-dark); margin-top: 6px; font-size: 12.5px; }
.mock-card .meta { color: var(--faint); font-size: 11px; margin-top: 4px; }
.mock-empty { border: 1px dashed var(--line); border-radius: 7px; padding: 24px 10px; text-align: center; color: var(--faint); font-size: 11.5px; }

.mock-item { padding: 18px; }
.mock-item .top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.mock-item .top .code { font-family: var(--mono); font-weight: 700; font-size: 16px; }
.mock-item .top .conf { color: var(--teal); font-size: 12px; }
.mock-item .top .conf::before { content: "●"; margin-right: 4px; }
.mock-item .pill { font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.mock-item .pill.ok { background: var(--teal); color: #fff; border-color: var(--teal); }
.mock-item .pill.ok2 { background: var(--teal-soft); color: var(--teal-dark); border-color: var(--teal-line); }
.mock-item .desc { font-size: 14px; margin-bottom: 8px; }
.mock-item .nums { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.mock-item .nums b { color: var(--ink); }
.mock-item .acc { border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; margin-bottom: 8px; display: flex; justify-content: space-between; color: var(--ink); font-size: 13px; }
.mock-item .acc span { color: var(--faint); }
.mock-item .hist { margin-top: 14px; border-left: 2px solid var(--line); padding-left: 12px; }
.mock-item .hist div { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.mock-item .hist b { color: var(--ink); font-weight: 600; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; margin-right: 6px; }
.mock-item .hist code { font-family: var(--mono); font-size: 11px; display: block; margin-top: 2px; color: var(--faint); }
.mock-item .ev { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; font-size: 13px; color: var(--teal-dark); }
.mock-item .ev .n { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; color: var(--ink); font-family: var(--mono); font-size: 11px; }
.mock-note { font-size: 13px; color: var(--faint); margin-top: 12px; grid-column: 1 / -1; }

/* Roadmap */
.roadmap { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.roadmap .group .kicker { color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.rm { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 18px 20px; }
.rm + .rm { margin-top: 12px; }
.rm .kicker { margin-bottom: 6px; }
.rm h3 { font-size: 18px; margin-bottom: 6px; }
.rm p { color: var(--muted); font-size: 14.5px; }
.rm.now { background: #f1edfb; border-color: #dcd3f5; } .rm.now .kicker { color: var(--violet); }
.rm.next { border-color: var(--teal-line); } .rm.next .kicker { color: var(--teal); }
.rm.later { background: #f2f3f2; } .rm.later .kicker { color: var(--faint); }

/* Start plan */
.plan { margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.plan .thead, .plan .prow { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; }
.plan .thead { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.plan .thead div { padding: 16px 26px; }
.plan .thead div:last-child { color: var(--teal-dark); }
.plan .prow + .prow { border-top: 1px solid var(--line); }
.plan .prow > div { padding: 24px 26px; }
.plan .prow > div + div { border-left: 1px solid var(--line); }
.plan .prow > div:last-child { background: var(--teal-soft); }
.plan .prow h3 { font-size: 21px; margin-bottom: 10px; }
.plan .prow h3 small { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--teal); margin-right: 10px; }
.plan .prow p { color: var(--muted); font-size: 15.5px; }
.plan .prow p + p { margin-top: 8px; }
.plan .prow p b { color: var(--ink); }
.plan .when { display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--teal-dark); border: 1px solid var(--teal-line); background: var(--teal-soft); border-radius: 999px; padding: 4px 12px; }

/* Trust / Datenschutz section */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.trust .card h3 { font-size: 18px; }
.trust .fi { margin-bottom: 14px; }

/* Contact */
.contact { background: var(--ink); color: #fff; border-radius: 16px; padding: 56px 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.contact .kicker { color: #7fd1c8; }
.contact h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.contact p { color: #c9cccf; margin-top: 14px; font-size: 17px; max-width: 560px; }
.contact .box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 24px; }
.contact .box .kicker { margin-bottom: 10px; }
.contact .box a.mail { color: #fff; font-size: 20px; font-weight: 600; text-decoration: none; word-break: break-all; }
.contact .box a.mail:hover { color: #7fd1c8; }
.contact .box address { font-style: normal; color: #c9cccf; margin-top: 16px; font-size: 15px; line-height: 1.5; }
.contact .box small { display: block; color: #8d9195; margin-top: 14px; font-size: 13px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* Legal pages */
.legal { max-width: 800px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 10px; }
.legal .version { color: var(--muted); font-family: var(--mono); font-size: 13px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: #2c2f33; font-size: 16.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal address { font-style: normal; line-height: 1.6; }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 16px 0; }
.legal .todo { background: var(--amber-soft); border: 1px solid #ecd38a; border-radius: 8px; padding: 12px 16px; font-size: 14.5px; color: var(--amber); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4, .steps, .features, .roadmap { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
  .mock { grid-template-columns: 1fr; }
  .table .thead { display: none; }
  .table .row { grid-template-columns: 1fr 1fr; }
  .table .amount { text-align: left; }
  .table .proof { justify-content: flex-start; }
  .plan .thead { display: none; }
  .plan .prow { grid-template-columns: 1fr; }
  .plan .prow > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; padding: 40px 28px; }
  .sources { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 56px; }
  .facts, .grid-3, .grid-4, .steps, .features, .roadmap, .trust { grid-template-columns: 1fr; }
  .table .row { grid-template-columns: 1fr; gap: 10px; }
  .learned { grid-template-columns: 1fr; gap: 10px; }
  .mock-kpis, .mock-cols { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle-label { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); display: none; padding: 8px 16px 16px; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a.cta { margin-top: 12px; text-align: center; border: 0; }
  .nav-toggle:checked ~ .nav { display: flex; }
}
@media print {
  .site-header, .actions, .contact { display: none; }
}

/* Rückweg auf Rechtsseiten */
.backlink a { text-decoration: none; color: var(--muted); font-size: 15px; }
.backlink a:hover { color: var(--ink); }

/* Vertrauensanker im Hero */
.facts { grid-template-columns: repeat(4, 1fr); }
.fact .kicker { margin-bottom: 10px; }
.fact strong { font-size: 16.5px; line-height: 1.3; }

/* Grundsätze */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.principles li { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius); padding: 24px; }
.principles .num { font-family: var(--mono); color: var(--teal); font-size: 13px; display: block; margin-bottom: 14px; }
.principles h3 { font-size: 20px; margin-bottom: 10px; }
.principles p { color: var(--muted); font-size: 15.5px; }

/* Unser Weg */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 44px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding: 32px 22px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); box-sizing: border-box; }
.timeline li.now::before { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 5px var(--teal-soft); }
.timeline li.now .kicker { color: var(--teal); }
.timeline h3 { font-size: 18px; margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: 14.5px; }

/* FAQ */
.faq { margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 26px; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--teal); font-size: 22px; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 26px 22px; color: var(--muted); font-size: 16px; max-width: 820px; }

@media (max-width: 1024px) {
  .facts, .principles { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { left: 7px; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding: 0 0 28px 32px; }
}
@media (max-width: 720px) {
  .facts, .principles { grid-template-columns: 1fr; }
}

/* Vignetten */
.seals { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.seal { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--teal-line); border-radius: 999px; padding: 10px 20px 10px 12px; }
.seal svg { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: var(--teal); padding: 9px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; }
.seal strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.seal span { display: block; font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.seals.large { margin-top: 36px; }
.seals.large .seal { padding: 14px 26px 14px 14px; }
.seals.large .seal svg { width: 48px; height: 48px; flex-basis: 48px; padding: 11px; }
.seals.large .seal strong { font-size: 17px; }
@media (max-width: 720px) { .seal { width: 100%; } }

/* Bausteine */
.blocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.blocks li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.blocks h3 { font-size: 19px; margin-bottom: 10px; }
.blocks p { color: var(--muted); font-size: 15px; }
@media (max-width: 1024px) { .blocks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .blocks { grid-template-columns: 1fr; } }

/* Nutzen: Stat-Karten exakt auf das 4-Spalten-Raster der Schritte legen */
.stats { grid-template-columns: repeat(4, 1fr); }
.stats .stat:nth-child(2) { grid-column: span 2; }
.stat { min-height: 280px; padding: 24px; }
.stat .big { font-size: clamp(28px, 2.6vw, 38px); }
.stat .big.huge { font-size: clamp(56px, 6.2vw, 96px); white-space: nowrap; }
.stat .split { grid-template-columns: auto minmax(0, 1fr); gap: 28px; }
.stat .split .line { padding-left: 28px; }
.stat .split .line strong { font-size: 21px; white-space: nowrap; margin-bottom: 14px; }
.stat .split .line .kicker { white-space: nowrap; }
.stat p { margin-top: 18px; }
@media (max-width: 1024px) {
  .stats { grid-template-columns: 1fr; }
  .stats .stat:nth-child(2) { grid-column: auto; }
  .stat .big.huge { font-size: 64px; }
}

/* Beträge unkenntlich */
.table .amount .redacted { display: inline-block; width: 92px; height: 18px; border-radius: 4px; background: repeating-linear-gradient(135deg, #d9dad8 0 6px, #e6e7e5 6px 12px); vertical-align: middle; }

/* Platzhalter für echte App-Screenshots */
.shots { margin-top: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.shot { margin: 0; }
.shot-box { aspect-ratio: 16 / 10; border: 2px dashed var(--teal-line); border-radius: 12px; background: repeating-linear-gradient(135deg, #f3f6f5 0 14px, #eef3f2 14px 28px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 24px; color: var(--muted); }
.shot:not(.wide) .shot-box { aspect-ratio: 4 / 5; }
.shot-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark); background: var(--teal-soft); border: 1px solid var(--teal-line); border-radius: 999px; padding: 4px 10px; }
.shot-box strong { color: var(--ink); font-size: 17px; margin-top: 6px; }
.shot-box span:last-child { font-size: 13px; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 1024px) { .shots { grid-template-columns: 1fr; } .shot:not(.wide) .shot-box { aspect-ratio: 16 / 10; } }

/* Demo-Dialog */
.demo-dialog { border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100vw - 32px)); width: 100%; }
.demo-dialog::backdrop { background: rgba(20, 20, 20, 0.55); backdrop-filter: blur(10px); }
.demo-dialog .dlg { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: 0 30px 80px rgba(20,20,20,0.25); }
.demo-dialog h2 { font-size: 26px; margin-bottom: 10px; }
.dlg-sub { color: var(--muted); font-size: 15.5px; margin-bottom: 24px; }
.dlg-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.dlg-close:hover { color: var(--ink); border-color: var(--ink); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.form-row .opt { font-weight: 400; color: var(--faint); font-size: 13px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; }
.form-row textarea { resize: vertical; min-height: 96px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.dlg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.dlg-actions .btn { text-align: center; cursor: pointer; font: inherit; font-weight: 600; font-size: 16px; }
.dlg-hint { margin-top: 16px; font-size: 13px; color: var(--faint); text-align: center; }
.dlg-hint a { color: var(--muted); }
.contact .box-cta { margin-top: 18px; }
.contact .box-cta .btn { display: inline-block; }
@media (max-width: 720px) { .demo-dialog .dlg { padding: 24px; } .dlg-actions { grid-template-columns: 1fr; } }

/* Produkt-Features: alle Karten auf gleicher Höhe, Reihen bündig */
.features { align-items: stretch; }
.features .group { display: grid; grid-template-rows: auto 1fr 1fr; gap: 18px; }
.features .group .kicker { margin-bottom: 0; }
.features .card + .card { margin-top: 0; }
.features .card { min-height: 0; display: flex; flex-direction: column; }
.features .card h3 { min-height: 2.4em; display: flex; align-items: flex-end; margin-bottom: 10px; }

/* Hero kompakter: CTA ohne Scrollen sichtbar */
.hero { padding: 64px 0 64px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; max-width: 1000px; }
.hero .lead { font-size: 19px; margin-top: 18px; max-width: 720px; }
.hero .actions { margin-top: 26px; }
.hero .seals { margin-top: 26px; }
.hero .facts { margin-top: 48px; }
@media (max-width: 720px) { .hero { padding: 40px 0 48px; } .hero h1 { font-size: 32px; } }

/* Mini-Vignetten im Footer */
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "copy tag nav" "seals seals seals"; align-items: center; row-gap: 18px; }
.site-footer .wrap > span:first-child { grid-area: copy; }
.site-footer .tag { grid-area: tag; text-align: center; }
.site-footer nav { grid-area: nav; }
.seals.mini { grid-area: seals; margin: 0; gap: 10px; justify-content: center; padding-top: 18px; border-top: 1px solid var(--line); }
.seals.mini .seal { padding: 6px 14px 6px 6px; gap: 8px; width: auto; }
.seals.mini .seal svg { width: 26px; height: 26px; flex-basis: 26px; padding: 6px; }
.seals.mini .seal strong { font-size: 12.5px; font-weight: 600; }
@media (max-width: 720px) {
  .site-footer .wrap { grid-template-columns: 1fr; grid-template-areas: "copy" "nav" "tag" "seals"; text-align: left; }
  .site-footer .tag { text-align: left; }
}

/* Footer, zweizeilig */
.site-footer { padding: 40px 0 36px; }
.site-footer .wrap { display: block; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.foot-brand p { margin-top: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.seals.mini { grid-area: auto; padding: 0; border: 0; margin: 0; justify-content: flex-end; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 14px; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 22px; }
@media (max-width: 720px) {
  .foot-top, .foot-bottom { flex-direction: column; align-items: flex-start; }
  .seals.mini { justify-content: flex-start; }
}
