@font-face {
  font-family: 'Bricolage';
  src: url('fonts/BricolageGrotesque_800ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage';
  src: url('fonts/BricolageGrotesque_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #13233b;
  --navy-2: #1b3050;
  --green: #2ed39e;
  --green-ink: #00875f;
  --gold: #ffb547;
  --canvas: #edf1f5;
  --surface: #ffffff;
  --ink: #13233b;
  --muted: #5f6b7e;
  --line: #dde3ea;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0b1220;
    --surface: #151b26;
    --ink: #f2f4f7;
    --muted: #98a2b3;
    --line: #263041;
    --green-ink: #2ed39e;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
a { color: var(--green-ink); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, .brand { font-family: 'Bricolage', system-ui, sans-serif; letter-spacing: -0.02em; }

/* --- Phone: a real screenshot in a plain frame --- */
.phone { background: #0b0f16; border-radius: 13.5% / 6.2%; padding: 2.4%; box-shadow: 0 30px 70px rgba(11, 15, 22, 0.28); }
.phone img { display: block; width: 100%; height: auto; border-radius: 11.5% / 5.3%; }
/* Only the upper part of the screen: enough to read, short enough to sit next to text. */
.phone.crop { aspect-ratio: 10 / 14; overflow: hidden; border-radius: 13.5% / 9.6%; padding-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.phone.crop img { border-radius: 11.5% / 8.2%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* --- Hero: one sentence and the app --- */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: start; gap: 40px; padding-top: 28px; }
.top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-bottom: 32px; }
.brand { font-weight: 800; font-size: 22px; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; }
.top nav a { color: rgba(255, 255, 255, 0.72); text-decoration: none; margin-left: 20px; font-size: 15px; }
.top nav a:hover { color: #fff; }
.pitch { padding: 28px 0 72px; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 6vw, 68px); line-height: 1; margin: 0 0 24px; }
.hero h1 span { display: block; color: var(--green); }
.hero p { font-size: 19px; color: rgba(255, 255, 255, 0.74); max-width: 30em; margin: 0 0 28px; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; padding: 10px 18px 10px 12px; font-weight: 600; font-size: 15px; }
.soon::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.25); }
/* The phone runs out of the hero at the bottom; the owl leans against it. */
.stage { position: relative; justify-self: center; width: min(100%, 330px); margin-bottom: -150px; }
.stage .phone { transform: rotate(3deg); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45); }
.stage .owl { position: absolute; left: -84px; top: 46%; width: 128px; height: auto; transform: rotate(-8deg); }

/* --- The clause in the contract: the thing the app finds --- */
.found { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 200px 72px; }
.found h2, .stories h2, .own h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.1; margin: 0 0 16px; }
.found p { color: var(--muted); margin: 0 0 14px; max-width: 30em; }
.clause { margin: 0; background: var(--surface); border-radius: 6px; padding: 28px 30px 24px; box-shadow: 0 18px 40px rgba(19, 35, 59, 0.12); transform: rotate(-1.2deg); }
.clause figcaption { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.clause p { font-family: Georgia, 'Times New Roman', serif; font-size: 17px; line-height: 1.75; color: var(--ink); margin: 0 0 20px; max-width: none; }
.clause mark { background: rgba(255, 181, 71, 0.45); color: inherit; padding: 2px 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.clause dl { margin: 0; border-top: 1px solid var(--line); }
.clause dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0 0; }
.clause dt { color: var(--muted); font-size: 15px; }
.clause dd { margin: 0; font-family: 'Bricolage', system-ui, sans-serif; font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* --- Worked examples: one figure each --- */
.stories { background: var(--surface); padding-block: 72px; }
.stories ul { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stories li { border-top: 3px solid var(--green); padding-top: 18px; }
.stories h3 { font-size: 20px; font-weight: 600; margin: 0 0 10px; }
.stories .figure { font-family: 'Bricolage', system-ui, sans-serif; font-weight: 800; font-size: clamp(32px, 3.8vw, 44px); white-space: nowrap; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--green-ink); margin: 0 0 14px; }
.stories .figure span { display: block; font: 600 15px/1.4 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.stories li p:last-child { color: var(--muted); margin: 0; }
.stories .note { max-width: 60em; }

/* --- The calculator, for the visitor's own loan --- */
.own { padding-block: 72px 8px; }
.own .lead { color: var(--muted); font-size: 18px; margin: 0; max-width: 36em; }

/* --- Three steps, each with what you see on the phone --- */
.steps { padding-block: 72px 24px; }
.steps h2, .features h2, .ai h2, .film h2, .plans h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.1; margin: 0 0 16px; }
.steps h2 { max-width: 18em; margin-bottom: 40px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps .phone { max-width: 300px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.step .ring { width: 48px; height: 48px; }
.step h3 { margin: 0 0 4px; font-size: 22px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); }
.note { color: var(--muted); font-size: 14px; margin: 28px 0 0; }

/* --- How the AI is used: said plainly, on the brand's dark ground --- */
.ai { background: var(--navy); color: #fff; margin-top: 64px; padding-block: 72px; }
.ai .lead { font-size: 19px; color: rgba(255, 255, 255, 0.74); max-width: 34em; margin: 0 0 40px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split h3 { font-size: 20px; font-weight: 600; margin: 0 0 12px; }
.split ul { list-style: none; margin: 0; padding: 0; }
.split li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--line); }
.split li::before { content: ''; position: absolute; left: 2px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.ai .split li { border-top-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.86); }
.ai .split div:last-child li::before { background: var(--gold); }
.fine { font-size: 15px; color: var(--muted); margin: 28px 0 0; max-width: 44em; }
.ai .fine { color: rgba(255, 255, 255, 0.6); }
.ai a { color: var(--green); }

/* --- Two more screens, text beside them --- */
.features { padding-block: 88px 24px; display: grid; gap: 72px; }
.feature { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 56px; align-items: center; }
.feature.flip { grid-template-columns: 1fr minmax(0, 300px); }
.feature.flip .phone { order: 2; }
.feature p { color: var(--muted); max-width: 32em; margin: 0; font-size: 18px; }

/* --- Short film --- */
.film { padding-block: 64px 24px; }
.film .wrap { display: grid; grid-template-columns: 1fr minmax(0, 300px); gap: 56px; align-items: center; }
.film p { color: var(--muted); max-width: 32em; margin: 0; font-size: 18px; }
.film video { width: 100%; height: auto; border-radius: 28px; background: var(--navy); display: block; }

/* --- Free and Pro --- */
.plans { padding-block: 72px 16px; }
.plans .split { background: var(--surface); border-radius: 24px; padding: 28px; }
.plans .split li:first-child { border-top: 0; }
.plans .split li:first-child::before { top: 22px; }
.plans .fine { margin-top: 12px; }

/* --- Trust --- */
.trust { padding-block: 40px 80px; }
.trust ul { list-style: none; margin: 0; padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; background: var(--surface); border-radius: 24px; }
.trust strong { display: block; font-family: 'Bricolage', system-ui, sans-serif; font-weight: 600; font-size: 19px; margin-bottom: 4px; }
.trust span { color: var(--muted); font-size: 15px; }

/* --- Text pages (Impressum, Datenschutz, Support) --- */
.page-head { background: var(--navy); color: #fff; }
.page-head .top { padding: 28px 0 32px; }
.doc { max-width: 720px; padding: 48px 16px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; margin: 0 0 8px; line-height: 1.05; }
.doc h2 { font-size: 24px; font-weight: 800; margin: 40px 0 8px; }
.doc h3 { font-size: 18px; font-weight: 600; margin: 24px 0 4px; }
.doc .lead { color: var(--muted); margin-top: 0; }
.todo { background: rgba(255, 181, 71, 0.18); border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 8px; font-size: 15px; }
mark { background: rgba(255, 181, 71, 0.35); color: inherit; padding: 0 4px; border-radius: 4px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav a { color: var(--muted); margin-right: 20px; }

/* --- Calculators, guides, waiting list --- */
.doc.wide { max-width: 1040px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc ol { padding-left: 1.4em; }
/* Tables in guide articles: figures on the right, a rule under each row. */
.doc table { width: 100%; border-collapse: collapse; margin: 20px 0; font-variant-numeric: tabular-nums; }
.doc th, .doc td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc th { font-family: 'Bricolage', system-ui, sans-serif; font-weight: 600; font-size: 15px; color: var(--muted); }
.doc th:last-child, .doc td:last-child { padding-right: 0; }
.crumb { margin: 0 0 8px; font-size: 15px; }
.crumb a::before { content: '‹ '; }
.tool { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; margin: 28px 0 12px; align-items: start; }
.calc, .calc-out { background: var(--surface); border-radius: 24px; padding: 24px; }
.calc { display: grid; gap: 16px; }
.calc label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.calc small { font-weight: 400; color: var(--muted); font-size: 13px; }
.calc input, .calc select, .signup input { font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); color: var(--ink); }
.calc input:focus-visible, .calc select:focus-visible, .signup input:focus-visible, .signup button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.unit { position: relative; display: block; }
.unit input { padding-right: 40px; }
.unit i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-weight: 600; }
.calc-out { min-height: 200px; }
.calc-hero { background: var(--green-ink); color: #fff; border-radius: 18px; padding: 20px 22px; margin-bottom: 8px; display: grid; gap: 2px; }
.calc-hero b { font-family: 'Bricolage', system-ui, sans-serif; font-weight: 800; font-size: clamp(34px, 6vw, 52px); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-hero span { color: rgba(255, 255, 255, 0.88); }
@media (prefers-color-scheme: dark) { .calc-hero { background: #0f6b4f; } }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.calc-row:last-child { border-bottom: 0; }
.calc-row span { color: var(--muted); }
.calc-row small { display: block; font-size: 13px; }
.calc-row strong { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.calc-bar { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; margin: 12px 0 4px; }
.calc-bar i { display: block; height: 100%; background: var(--green); border-radius: 5px; }
.calc-problem { background: rgba(255, 181, 71, 0.18); border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 8px; margin: 0; }
.calc-fine, .calc-note { font-size: 14px; color: var(--muted); }
.calc-note { margin: 12px 2px 0; }
.calc-out table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.calc-out th { text-align: right; font-weight: 600; font-size: 13px; color: var(--muted); padding: 8px 4px; border-bottom: 1px solid var(--line); }
.calc-out td { text-align: right; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.calc-out th:first-child, .calc-out td:first-child { text-align: left; }
.calc-out tr:last-child td { border-bottom: 0; }
.calc-rates tr.own td { background: rgba(46, 211, 158, 0.16); font-weight: 600; }
.calc-years { margin-top: 12px; }
.calc-years summary { cursor: pointer; font-weight: 600; color: var(--green-ink); padding: 8px 2px; }
.calc-years table { margin-top: 4px; }
.app-hint { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; background: var(--navy); color: #fff; border-radius: 24px; padding: 22px 24px; margin: 40px 0; }
.app-hint img { width: 56px; height: 56px; }
.app-hint strong { font-family: 'Bricolage', system-ui, sans-serif; font-weight: 600; font-size: 19px; }
.app-hint p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.78); }
.app-hint a { color: var(--green); }
.cards { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc .cards { padding-left: 0; }
.cards li { margin: 0; }
.cards a { display: block; height: 100%; background: var(--surface); border-radius: 20px; padding: 20px 22px; text-decoration: none; color: var(--ink); border: 2px solid transparent; }
.cards a:hover { border-color: var(--green); }
.cards strong { display: block; font-family: 'Bricolage', system-ui, sans-serif; font-weight: 600; font-size: 19px; margin-bottom: 4px; color: var(--green-ink); }
.cards span { color: var(--muted); font-size: 15px; }
.try { padding-block: 72px 8px; }
.try h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.1; margin: 0 0 12px; max-width: 20em; }
.try .lead { color: var(--muted); font-size: 18px; margin: 0; max-width: 36em; }
/* Apple's badge, unchanged, with the clear space its guidelines ask for. */
.store-badge { display: inline-block; margin: 8px 10px 4px 0; }
.store-badge img { display: block; height: 60px; width: auto; }
.store-badge:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 10px; }
.hero .store-note { font-size: 15px; color: rgba(255, 255, 255, 0.6); margin: 10px 0 0; }
.signup { margin-top: 28px; max-width: 460px; }
.signup label { display: block; font-weight: 600; margin-bottom: 8px; }
.signup-row { display: flex; gap: 8px; }
.signup input { flex: 1; min-width: 0; background: var(--surface); }
.signup button { font: inherit; font-weight: 600; border: 0; border-radius: 12px; padding: 11px 20px; background: var(--green-ink); color: #fff; cursor: pointer; white-space: nowrap; }
.signup.on-dark input { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.signup.on-dark input::placeholder { color: rgba(255, 255, 255, 0.5); }
.signup.on-dark button { background: var(--green); color: var(--navy); }
.signup.on-dark .calc-fine { color: rgba(255, 255, 255, 0.6); margin: 10px 0 0; font-size: 14px; }
.signup.on-dark a { color: var(--green); }
/* Field that only bots fill in. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.page-head .top nav a { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .pitch { padding-bottom: 40px; }
  .stage { width: min(72%, 300px); margin-bottom: -120px; }
  .stage .owl { left: -64px; width: 96px; }
  .top nav a { margin-left: 14px; }
  .tool, .cards { grid-template-columns: 1fr; }
  .steps { padding-top: 56px; }
  .found { grid-template-columns: 1fr; gap: 32px; padding-block: 168px 56px; }
  .stories ul { grid-template-columns: 1fr; gap: 32px; }
  .steps ol { grid-template-columns: 1fr; gap: 48px; }
  .steps .phone { max-width: 260px; }
  .split, .trust ul { grid-template-columns: 1fr; }
  .split { gap: 28px; }
  .feature, .feature.flip, .film .wrap { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .phone { order: 0; }
  .feature .phone, .film video { max-width: 260px; }
  .features { gap: 56px; padding-top: 64px; }
}
@media (prefers-reduced-motion: no-preference) {
  .stage .owl { transition: transform 0.6s ease; }
  .stage:hover .owl { transform: rotate(4deg); }
}
