/* Public front page (landing.html). Light only, like the workspace; brand navy and gold from the logo.
   Quiet chrome on warm paper; the colour sits in the product screenshots. Spacing on a 4px grid. */
@font-face { font-family:Inter; font-style:normal; font-weight:400; font-display:swap; src:url('/static/fonts/inter-400.ttf') format('truetype'); }
@font-face { font-family:Inter; font-style:normal; font-weight:500; font-display:swap; src:url('/static/fonts/inter-500.ttf') format('truetype'); }
@font-face { font-family:Inter; font-style:normal; font-weight:600; font-display:swap; src:url('/static/fonts/inter-600.ttf') format('truetype'); }

:root {
  --ink:#151834; --ink-2:#4b4f6b; --ink-3:#6b6f8a;
  --navy:#21255e; --navy-deep:#111331; --navy-soft:#e8e9f2;
  --gold:#c4a35c; --gold-deep:#8f6f2c; --gold-ink:#7a5c22; --gold-soft:#f5eedc;
  --paper:#fbfaf6; --paper-2:#f4f2ec; --surface:#ffffff;
  --line:#e7e4db; --line-strong:#d4d0c3;
  --sold:#2f6b4a; --sold-soft:#e6f0e9;
  --wrap:1180px; --gutter:28px;
  --shadow-lg:0 24px 48px -24px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md:0 8px 24px rgba(0,0,0,.06);
  --ease:cubic-bezier(0.22, 1, 0.36, 1);
  --check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6f8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color-scheme:light;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:88px; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
body { margin:0; background:var(--paper); color:var(--ink); font-family:var(--sans); font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; overflow-x:hidden; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; }
h1, h2, h3, p { margin:0; }
:where(a, button, summary):focus-visible { outline:2px solid var(--navy); outline-offset:3px; border-radius:6px; }
.sprite { position:absolute; width:0; height:0; overflow:hidden; }
.wrap { width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gutter); }
.skip-link { position:fixed; top:12px; left:12px; z-index:100; padding:12px 16px; border-radius:8px; background:var(--surface);
  color:var(--navy); font-weight:600; transform:translateY(-160%); }
.skip-link:focus { transform:none; }

/* Buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 20px;
  border:1px solid transparent; border-radius:8px; font:600 15px/1.2 var(--sans); text-decoration:none; white-space:nowrap;
  transition:background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease); }
.btn:active { transform:scale(.98); }
.btn-lg { min-height:48px; padding:12px 24px; font-size:16px; border-radius:10px; }
.btn-primary { background:var(--navy); color:#fff; }
.btn-primary:hover { background:var(--navy-deep); }
.btn-ghost { background:var(--surface); border-color:var(--line-strong); color:var(--ink); }
.btn-ghost:hover { border-color:var(--navy); color:var(--navy); }
.btn-light { background:#fff; color:var(--navy); }
.btn-light:hover { background:var(--gold-soft); }
.btn-outline-light { border-color:rgba(255,255,255,.34); color:#fff; }
.btn-outline-light:hover { border-color:#fff; background:rgba(255,255,255,.08); }
.btn-icon { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }

/* Header */
.site-header { position:sticky; top:0; z-index:30; background:var(--paper); border-bottom:1px solid var(--line); }
.header-inner { display:flex; align-items:center; gap:36px; min-height:72px; }
.site-brand { display:inline-flex; align-items:center; gap:10px; color:var(--navy); font-size:20px; font-weight:600;
  letter-spacing:-.02em; text-decoration:none; }
.site-brand img { width:auto; height:28px; }
.site-nav { display:flex; gap:28px; }
.site-nav a { color:var(--ink-2); font-size:15px; font-weight:500; text-decoration:none; transition:color 160ms var(--ease); }
.site-nav a:hover { color:var(--navy); }
.header-actions { display:flex; align-items:center; gap:8px; margin-left:auto; }
.login-link { padding:10px 12px; border-radius:8px; color:var(--ink); font-size:15px; font-weight:600; text-decoration:none;
  transition:background-color 160ms var(--ease), color 160ms var(--ease); }
.login-link:hover { background:var(--navy-soft); color:var(--navy); }

/* Language menu: a native <details> list of forms, so it works without JavaScript */
.lang-menu { position:relative; }
.lang-menu summary { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:10px 12px; border-radius:8px;
  color:var(--ink-2); font-size:14px; font-weight:600; letter-spacing:.02em; cursor:pointer; list-style:none; user-select:none;
  transition:background-color 160ms var(--ease), color 160ms var(--ease); }
.lang-menu summary::-webkit-details-marker { display:none; }
.lang-menu summary:hover, .lang-menu[open] summary { background:var(--navy-soft); color:var(--navy); }
.lang-menu summary svg { flex:0 0 auto; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.lang-menu .lang-chevron { width:12px; height:12px; transition:transform 160ms var(--ease); }
.lang-menu[open] .lang-chevron { transform:rotate(180deg); }
.lang-list { position:absolute; top:calc(100% + 8px); right:0; z-index:40; display:grid; gap:2px; min-width:192px; margin:0; padding:6px;
  border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:var(--shadow-md); }
.lang-list button { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:44px; padding:10px 12px;
  border:0; border-radius:6px; background:none; color:var(--ink); font:500 15px/1.2 var(--sans); text-align:left; cursor:pointer;
  transition:background-color 160ms var(--ease), color 160ms var(--ease); }
.lang-list button:hover { background:var(--paper-2); color:var(--navy); }
.lang-list button[aria-current] { color:var(--navy); font-weight:600; }
.lang-list button[aria-current]::after { content:""; width:6px; height:11px; margin:0 4px 3px 0; border-right:2px solid var(--gold-deep);
  border-bottom:2px solid var(--gold-deep); transform:rotate(45deg); }

/* Hero */
.hero { padding:88px 0 0; }
.hero-copy { max-width:980px; text-align:center; }
.hero-audience { color:var(--ink-3); font-size:15px; font-weight:500; line-height:1.5; }
.hero h1 { max-width:15ch; margin:16px auto 0; color:var(--ink); font-size:clamp(40px, 6.4vw, 74px); font-weight:600;
  line-height:1.02; letter-spacing:-.045em; text-wrap:balance; }
.hero h1 .accent { color:var(--navy); text-decoration:underline; text-decoration-color:var(--gold);
  text-decoration-thickness:.075em; text-underline-offset:.14em; }
.lead { max-width:41em; margin:24px auto 0; color:var(--ink-2); font-size:clamp(17px, 1.7vw, 20px); line-height:1.6; text-wrap:pretty; }
.cta-row { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:32px; }
.hero-shot { position:relative; margin-top:64px; }
.hero-shot::after { content:""; position:absolute; left:0; right:0; bottom:44px; height:180px; pointer-events:none;
  background:linear-gradient(rgba(251,250,246,0), var(--paper)); }
.frame { margin:0; overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:var(--shadow-lg); }
.frame-bar { position:relative; display:flex; align-items:center; gap:8px; height:40px; padding:0 16px; border-bottom:1px solid var(--line); background:#f3f1ea; }
.frame-bar i { width:10px; height:10px; border-radius:50%; background:#dcd7c9; }
.frame-bar b { position:absolute; left:50%; transform:translateX(-50%); padding:4px 16px; border:1px solid var(--line); border-radius:6px;
  background:var(--surface); color:var(--ink-3); font-size:12px; font-weight:500; white-space:nowrap; }
.shot-note { position:relative; z-index:1; margin-top:16px; color:var(--ink-3); font-size:13px; text-align:center; }

/* Numbers */
.proof { padding:44px 0 8px; }
.proof-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); }
.proof-item { padding:4px 28px; border-left:1px solid var(--line); }
.proof-item:first-child { padding-left:0; border-left:0; }
.proof-item b { display:block; color:var(--navy); font-size:clamp(30px, 3.3vw, 42px); font-weight:600; line-height:1.1;
  letter-spacing:-.035em; font-variant-numeric:tabular-nums; }
.proof-item span { display:block; margin-top:8px; color:var(--ink-2); font-size:15px; line-height:1.5; }

/* Sections */
.section { padding:120px 0; }
.band { border-block:1px solid var(--line); background:var(--paper-2); }
.section-head { max-width:720px; }
.section-head.center { margin-inline:auto; text-align:center; }
.kicker { color:var(--gold-ink); font-size:15px; font-weight:500; }
h2 { margin-top:12px; font-size:clamp(32px, 4.2vw, 50px); font-weight:600; line-height:1.08; letter-spacing:-.04em; text-wrap:balance; }
.section-head > p:not(.kicker) { margin-top:20px; color:var(--ink-2); font-size:clamp(17px, 1.6vw, 19px); text-wrap:pretty; }

/* Feature rows */
.feature { display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 7fr); gap:76px; align-items:center; margin-top:112px; }
.feature.flip { grid-template-columns:minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-copy { order:2; }
.feature h3 { margin-top:12px; font-size:clamp(27px, 2.7vw, 36px); font-weight:600; line-height:1.14; letter-spacing:-.035em; }
.feature-copy > p:not(.kicker) { margin-top:16px; color:var(--ink-2); text-wrap:pretty; }
.ticks { display:grid; gap:12px; margin:24px 0 0; padding:0; list-style:none; }
.ticks li { position:relative; padding-left:28px; font-size:16px; line-height:1.55; }
.ticks li::before { content:""; position:absolute; top:4px; left:0; width:16px; height:16px; background:var(--check) center / 16px no-repeat; }
.shot { position:relative; margin:0; overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:var(--shadow-md); }
.shot-fade::after { content:""; position:absolute; left:0; right:0; bottom:0; height:22%;
  background:linear-gradient(rgba(242,242,240,0), #f2f2f0); pointer-events:none; }

/* Cards: a line icon in the muted text colour, no tile */
.cards { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:20px; margin-top:112px; }
.card { padding:28px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.icon { display:block; flex:0 0 auto; width:18px; height:18px; color:var(--ink-3); }
.icon svg { display:block; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.card h3, .step h3, .audience h3, .privacy-item h3 { font-size:19px; font-weight:600; line-height:1.3; letter-spacing:-.015em; }
.card h3 { margin-top:16px; }
.card p, .step p, .audience p, .privacy-item p { margin-top:8px; color:var(--ink-2); font-size:15.5px; line-height:1.6; }

/* Steps */
.steps { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; margin:64px 0 0; padding:0; list-style:none; }
.step { padding:32px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.step-number { display:block; margin-bottom:24px; color:var(--gold-ink); font-size:14px; font-weight:600; font-variant-numeric:tabular-nums; }

/* Data */
.data-grid { display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 6fr); gap:80px; align-items:center; }
.sources { overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:var(--shadow-md); }
.sources-title { padding:20px 28px; border-bottom:1px solid var(--line); background:#fcfbf8; color:var(--ink-2); font-size:15px; font-weight:600; }
.source { display:flex; gap:20px; align-items:flex-start; justify-content:space-between; padding:20px 28px; border-bottom:1px solid var(--line); }
.source:last-child { border-bottom:0; }
.source b { display:block; font-size:16.5px; font-weight:600; letter-spacing:-.01em; }
.source span { display:block; margin-top:4px; color:var(--ink-2); font-size:15px; line-height:1.55; }
/* Sold and asking prices never mix: their two tags are the page's one recurring mark */
.chip { flex:0 0 auto; padding:4px 10px; border-radius:6px; background:var(--navy-soft); color:var(--navy); font-size:12px;
  font-style:normal; font-weight:600; white-space:nowrap; }
.chip-sold { background:var(--sold-soft); color:var(--sold); }
.chip-ask { background:var(--gold-soft); color:var(--gold-ink); }

/* Audiences */
.audiences { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; margin-top:64px; }
.audience { padding:32px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }

/* Privacy */
.privacy-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:20px; max-width:980px; margin:64px auto 0; }
.privacy-item { display:flex; gap:16px; padding:28px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.privacy-item .icon { margin-top:4px; }

/* FAQ */
.faq-wrap { max-width:860px; }
.faq { margin-top:52px; border-top:1px solid var(--line-strong); }
.faq details { border-bottom:1px solid var(--line-strong); }
.faq summary { position:relative; padding:24px 48px 24px 0; cursor:pointer; list-style:none; font-size:18px; font-weight:600; letter-spacing:-.01em; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:""; position:absolute; top:50%; right:6px; width:10px; height:10px; margin-top:-7px;
  border-right:2px solid var(--navy); border-bottom:2px solid var(--navy); transform:rotate(45deg); transition:transform 160ms var(--ease); }
.faq details[open] summary::after { margin-top:-2px; transform:rotate(-135deg); }
.faq details p { max-width:62ch; padding:0 0 24px; color:var(--ink-2); }

/* Closing call to action: one solid navy panel */
.cta-section { padding-bottom:0; }
.cta-band { padding:88px 40px; border-radius:24px; background:var(--navy-deep); color:#fff; text-align:center; }
.cta-band h2 { margin-top:0; color:#fff; }
.cta-band > p { max-width:36em; margin:16px auto 0; color:#c9cbe2; font-size:18px; }
.cta-band .cta-row { margin-top:32px; }
.cta-band .cta-mail { margin-top:24px; color:#a9acc9; font-size:15px; }
.cta-mail a { color:#fff; text-decoration-color:var(--gold); text-underline-offset:3px; }

/* Footer */
.site-footer { margin-top:112px; padding:48px 0 56px; border-top:1px solid var(--line); }
.footer-inner { display:flex; flex-wrap:wrap; gap:24px 40px; align-items:center; }
.footer-logo img { width:auto; height:64px; }
.footer-links { display:flex; flex-wrap:wrap; gap:8px 28px; margin-left:auto; }
.footer-links a { color:var(--ink-2); font-size:15px; text-decoration:none; transition:color 160ms var(--ease); }
.footer-links a:hover { color:var(--navy); }
.footer-meta { color:var(--ink-3); font-size:14px; }

/* Smaller screens */
@media (max-width:1080px) {
  .site-nav { gap:20px; }
  .cards { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:960px) {
  .site-nav { display:none; }
  .section { padding:96px 0; }
  .feature, .feature.flip { grid-template-columns:minmax(0, 1fr); gap:40px; margin-top:84px; }
  .feature.flip .feature-copy { order:0; }
  .data-grid { grid-template-columns:minmax(0, 1fr); gap:48px; }
  .steps, .audiences { grid-template-columns:minmax(0, 1fr); max-width:620px; margin-inline:auto; }
  .proof-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:28px 0; }
  .proof-item:nth-child(3) { padding-left:0; border-left:0; }
}
@media (max-width:640px) {
  :root { --gutter:16px; }
  body { font-size:16px; }
  .header-inner { gap:12px; min-height:64px; }
  .site-brand { font-size:18px; }
  .site-brand img { height:24px; }
  .header-cta { display:none; }
  .header-actions { gap:6px; }
  .lang-menu summary { gap:4px; padding:10px 8px; }
  .lang-menu .lang-chevron { display:none; }
  .login-link { padding:10px 12px; border:1px solid var(--line-strong); background:var(--surface); white-space:nowrap; }
  .hero { padding-top:48px; }
  .hero-audience { font-size:14px; }
  .cta-row .btn { width:100%; }
  .hero-shot { margin-top:44px; }
  .hero-shot::after { bottom:40px; height:112px; }
  .frame-bar b { display:none; }
  .proof-item { padding:4px 16px; }
  .proof-item span { font-size:14px; }
  .section { padding:80px 0; }
  .cards, .privacy-grid { grid-template-columns:minmax(0, 1fr); margin-top:72px; }
  .privacy-grid { margin-top:48px; }
  .privacy-item { flex-direction:column; gap:12px; padding:24px; }
  .privacy-item .icon { margin-top:0; }
  .card, .step, .audience { padding:24px; }
  .source { flex-direction:column; gap:12px; padding:20px; }
  .sources-title { padding:16px 20px; }
  .faq summary { font-size:17px; }
  .cta-band { padding:64px 24px; border-radius:20px; }
  .site-footer { margin-top:72px; }
  .footer-links { margin-left:0; }
}

@media (max-width:360px) {
  /* Long German compounds such as "Sammlerfahrzeug" must still fit the smallest phones */
  .hero h1 { font-size:32px; hyphens:auto; }
  .proof-item b { font-size:26px; }
}

/* Function map: every function along the life of a car */
.map { display:grid; gap:12px; margin:64px 0 0; padding:0; list-style:none; }
.map-row { display:grid; grid-template-columns:minmax(190px, 232px) minmax(0, 1fr); gap:12px; }
.map-stage { padding:24px; border-radius:16px; background:var(--navy-deep); color:#fff; }
.map-number { display:block; color:var(--gold); font-size:13px; font-weight:600; font-variant-numeric:tabular-nums; }
.map-stage h3 { margin-top:8px; font-size:24px; font-weight:600; line-height:1.2; letter-spacing:-.02em; }
.map-stage p { margin-top:4px; color:#c9cbe2; font-size:15px; line-height:1.45; }
.map-functions { display:grid; grid-template-columns:repeat(auto-fit, minmax(232px, 1fr)); gap:12px; margin:0; padding:0; list-style:none; }
.map-functions li { padding:20px 24px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.map-functions b { display:block; font-size:16.5px; font-weight:600; letter-spacing:-.01em; }
.map-functions span { display:block; margin-top:4px; color:var(--ink-2); font-size:15px; line-height:1.55; }
.map-functions .map-alert { border-color:#e6d6ad; background:var(--gold-soft); }
.map-functions .map-alert b::before { content:""; display:inline-block; width:8px; height:8px; margin:0 8px 2px 0; border-radius:50%; background:var(--gold); }
.map-everywhere { display:flex; flex-wrap:wrap; gap:12px 28px; align-items:center; margin-top:24px; padding:20px 24px;
  border:1px dashed var(--line-strong); border-radius:16px; }
.map-everywhere-title { color:var(--gold-ink); font-size:15px; font-weight:500; }
.map-everywhere ul { display:flex; flex-wrap:wrap; gap:8px 24px; margin:0; padding:0; list-style:none; color:var(--ink-2); font-size:15px; }
.map-everywhere li { position:relative; padding-left:24px; }
.map-everywhere li::before { content:""; position:absolute; top:4px; left:0; width:16px; height:16px; background:var(--check) center / 16px no-repeat; }
@media (max-width:960px) {
  .map-row { grid-template-columns:minmax(0, 1fr); }
  .map-stage { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; }
  .map-stage h3, .map-stage p { margin-top:0; }
}
@media (max-width:640px) {
  .map { margin-top:48px; }
  .map-stage { padding:16px 20px; }
  .map-functions li { padding:16px 20px; }
  .map-everywhere { padding:20px; }
}
