/* MyPDFScanner — Landing Page
   Mobile first, App-Brand-Farben, schnell. */

:root {
  --bg:          #FAF7F2;
  --surface:     #FFFFFF;
  --surface-alt: #F1ECE3;
  --ink:         #0A0A0A;
  --ink-soft:    #3D3A35;
  --border:      #D9D2C5;
  --accent:      #1B4D8C;
  --accent-deep: #143761;
  --accent-glow: #2C6FB3;
  --max:         920px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(27, 77, 140, 0.06) 0%, transparent 60%),
    radial-gradient(700px 500px at 95% 20%, rgba(27, 77, 140, 0.04) 0%, transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration-color: rgba(27, 77, 140, 0.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }

/* ── Topbar ─────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600; font-size: 18px;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 24;
}
.brand img {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: block;
}
.brand strong { font-weight: 800; color: var(--accent); }

.lang {
  display: inline-flex; gap: 4px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
}
.lang a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-decoration: none;
}
.lang a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}

/* ── Hero ───────────────────────────────────────── */
main { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.hero {
  padding: 32px 0 48px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent);
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px;
  background: var(--accent);
}

h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 9vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  font-variation-settings: "opsz" 96;
}
h1 .accent { color: var(--accent); font-weight: 800; }

.lede {
  font-size: clamp(17px, 4.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 640px;
}

/* App-Store-Button */
.cta { margin-top: 8px; }
.cta-bottom { text-align: center; padding: 56px 0; }
.cta-bottom h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: clamp(26px, 6vw, 38px);
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  line-height: 1.1;
}
.cta-bottom .mark-large {
  display: inline-flex; margin-bottom: 22px;
}
.cta-bottom .mark-large img {
  width: 120px; height: 120px; border-radius: 27px;
  box-shadow:
    0 18px 36px -14px rgba(20, 55, 97, 0.40),
    0 4px 12px -4px rgba(20, 55, 97, 0.20);
}

.btn-appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0A0A0A;
  color: #fff;
  padding: 14px 22px 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 56px;
  transition: transform 120ms ease, box-shadow 120ms ease;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.25);
}
.btn-appstore:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(0,0,0,0.30); }
.btn-appstore:active { transform: translateY(0); }
.btn-appstore svg { width: 26px; height: 32px; flex-shrink: 0; }
.btn-appstore .meta { display: flex; flex-direction: column; line-height: 1.1; }
.btn-appstore .small { font-size: 11px; opacity: 0.8; letter-spacing: 0.02em; }
.btn-appstore .big { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }

.cta-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 480px;
}

/* ── Sections ───────────────────────────────────── */
section { padding: 48px 0; }

h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  font-variation-settings: "opsz" 48;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.steps li {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 16px;
  margin-bottom: 14px;
}
.steps h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.steps p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Why */
.why-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .why-list { grid-template-columns: 1fr 1fr; }
}
.why-list li {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.why-list li strong {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

/* ── Footer ─────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 22px 40px;
  margin-top: 40px;
  font-size: 14px;
  color: var(--ink-soft);
}
.foot-row {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
footer nav { display: flex; gap: 18px; }
footer a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}
footer a:hover { color: var(--accent); text-decoration: underline; }

/* ── Legal Pages (datenschutz / impressum) ─────── */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 22px 60px;
}
.legal h1 {
  font-size: clamp(32px, 7vw, 44px);
}
.legal h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 24px 0 8px;
}
.legal p, .legal li {
  font-size: 16px; line-height: 1.6; color: var(--ink-soft);
}
.legal ul { padding-left: 22px; }
.legal a.back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px;
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
}
