/*
 * Motor Magnet landing page.
 * Layout and type: the "Pop Site" style reference (DESIGN(Landing Page).md) — monumental Satoshi headlines,
 * hairline borders, pills, and one filled colour kept for the primary call to action.
 * Colours: the Motor Magnet app's monochrome design system of 2026-11-24 (src/shared/ui/tokens.ts in the app repo):
 * ink text, a light grey page, flat white cards without shadows, the logo's deep green for filled buttons, a light
 * green for the buyer's chat bubble. Used for the page and for the phone mockups (.phone, .screen, .frag, .mm-*).
 */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Inter is the app's typeface; it is used only inside the phone mockups. */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Colours: the app's palette, with the app's token names. */
  --color-text: #171a20;            /* ink: titles, body text, hairline borders */
  --color-text-secondary: #5c5e62;  /* supporting text */
  --color-brand: #134b21;           /* the app's `action`: primary button; the only filled colour on the page */
  --color-brand-hover: #0d3a18;
  --color-on-brand: #ffffff;
  --color-ink: #171a20;             /* the app's `brand`: links, tabs, toggles, selected states inside the mockups */
  --color-surface: #ffffff;         /* cards, pills */
  --color-background: #f4f4f4;      /* the app's screen background: the page and the preview areas */
  --color-border: #e2e3e3;          /* soft hairlines */
  --color-tint: #ededed;            /* grey fill: chips, composer, info boxes */
  --color-bubble: #e3f2d6;          /* the buyer's chat bubble; the highlighted plan */
  --color-muted: #c6c7c9;           /* sheet grabber */

  --font-satoshi: "Satoshi", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --page-max-width: 1200px;
  --gutter: 24px;
  --section-gap: 120px;

  --radius-cards: 8px;
  --radius-featurecards: 22px;
  --radius-full: 9999px;

  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 2v14M2 9h14' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font: 400 15px/1.4 var(--font-satoshi);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--page-max-width) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { margin-top: var(--section-gap); scroll-margin-top: 40px; }

/* ---------- Type ---------- */
.display-xl, .display, .heading { color: var(--color-text); font-weight: 700; text-wrap: balance; }
.display-xl { font-size: clamp(54px, 10vw, 120px); line-height: 0.9; letter-spacing: -0.059em; }
.display { font-size: clamp(44px, 7.4vw, 93px); line-height: 1; letter-spacing: -0.05em; }
.heading { font-size: clamp(38px, 4.6vw, 53px); line-height: 1.1; letter-spacing: -0.046em; }
.sub { max-width: 620px; color: var(--color-text-secondary); font-size: 21px; line-height: 1.3; letter-spacing: -0.63px; text-wrap: pretty; }
.fine { color: var(--color-text-secondary); font-size: 13px; line-height: 1.4; }

/* ---------- Navigation ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.wordmark { color: var(--color-text); font-size: 18px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 1px; margin-right: -6px; }
.nav-links a { padding: 12px 6px; font-size: 15px; white-space: nowrap; }
.nav-links a, .footer nav a { text-decoration: underline transparent; text-underline-offset: 4px; transition: text-decoration-color 150ms ease, color 150ms ease; }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover, .footer nav a:hover { text-decoration-color: currentColor; }
  .footer nav a:hover { color: var(--color-text); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 45px; padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 15px; font-weight: 500; line-height: 21px; text-decoration: none; white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms var(--ease-out-quart);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { border-radius: var(--radius-full); }
.btn-primary { background: var(--color-brand); color: var(--color-on-brand); }
.btn-secondary { padding: 11px 22px; border: 1px solid var(--color-text); background: var(--color-surface); color: var(--color-text); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--color-brand-hover); }
  .btn-secondary:hover { background: var(--color-text); color: var(--color-on-brand); }
}
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Hero ---------- */
.hero { padding-top: 48px; overflow-x: clip; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge { padding: 6px 14px; border: 1px solid var(--color-border); background: var(--color-surface); border-radius: var(--radius-full); color: var(--color-text-secondary); font-size: 13px; line-height: 1.4; }
.badge strong { color: var(--color-text); font-weight: 700; }
.hero h1 { margin-top: 28px; }
.hero h1 .line { display: block; }
.hero .sub { margin-top: 24px; }
.hero .cta-row { margin-top: 36px; }
.hero .fine { margin-top: 16px; }

/* The fanned row of phones. --k scales the whole row down on narrower screens. */
.fan { --k: 1; pointer-events: none; display: flex; justify-content: center; align-items: center; margin-top: 60px; padding: 20px 0 70px; }
.fan .phone { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); }
.fan .p1 { --s: calc(0.56 * var(--k)); z-index: 1; margin-right: calc(-26px * var(--k)); transform: translateY(calc(34px * var(--k))) rotate(-8deg); }
.fan .p2 { --s: calc(0.64 * var(--k)); z-index: 2; margin-right: calc(-20px * var(--k)); transform: translateY(calc(10px * var(--k))) rotate(-4deg); }
.fan .p3 { --s: calc(0.72 * var(--k)); z-index: 3; }
.fan .p4 { --s: calc(0.64 * var(--k)); z-index: 2; margin-left: calc(-20px * var(--k)); transform: translateY(calc(10px * var(--k))) rotate(4deg); }
.fan .p5 { --s: calc(0.56 * var(--k)); z-index: 1; margin-left: calc(-26px * var(--k)); transform: translateY(calc(34px * var(--k))) rotate(8deg); }

/* ---------- 3 Portale. 1 Suche. ---------- */
.statement { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 60px; }
.statement .sub { margin-top: 32px; }

/* ---------- Section heading block ---------- */
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 60px; }
.section-head .sub { margin-top: 24px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding-top: 20px; border-top: 1px solid var(--color-text); }
.step-num { display: block; color: var(--color-text); font-size: 53px; font-weight: 700; line-height: 1.2; letter-spacing: -2.44px; }
.steps h3, .card h3, .plan h3 { color: var(--color-text); font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -0.63px; }
.steps h3 { margin-top: 12px; }
.steps p { max-width: 340px; margin-top: 8px; color: var(--color-text-secondary); }

/* ---------- Showcase cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 20px; border-radius: var(--radius-cards); background: var(--color-surface); }
.card p { margin-top: 8px; color: var(--color-text-secondary); font-size: 13px; line-height: 1.4; }
.preview { display: grid; place-items: center; height: 236px; margin-bottom: 20px; border-radius: var(--radius-cards); background: var(--color-background); overflow: hidden; user-select: none; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 880px; margin-inline: auto; }
.plan { padding: 36px; border-radius: var(--radius-featurecards); background: var(--color-surface); }
.plan-pro { background: var(--color-bubble); }
.plan-price { margin-top: 20px; color: var(--color-text); font-size: 53px; font-weight: 700; line-height: 1; letter-spacing: -2.44px; }
.plan-per { margin-top: 8px; color: var(--color-text-secondary); }
.plan ul { display: grid; gap: 12px; margin-top: 24px; }
.plan li { display: flex; align-items: flex-start; gap: 12px; }
.plan li svg { margin-top: 2.5px; }
.plan-note { margin-top: 24px; color: var(--color-text-secondary); font-size: 13px; line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--color-text); }
.faq details { border-bottom: 1px solid var(--color-text); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  color: var(--color-text); font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -0.63px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 18px; height: 18px; margin-right: 3px; background: currentColor;
  -webkit-mask: var(--icon-plus) center / contain no-repeat; mask: var(--icon-plus) center / contain no-repeat;
  transition: transform 200ms var(--ease-out-quart);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] p { animation: faq-in 200ms var(--ease-out-quart); }
.faq p { max-width: 680px; padding-bottom: 24px; color: var(--color-text-secondary); text-wrap: pretty; }

/* ---------- Closing ---------- */
.closing { display: flex; flex-direction: column; align-items: center; text-align: center; }
.app-icon { border-radius: 22px; }
.closing h2 { margin-top: 36px; }
.closing .sub { margin-top: 24px; }
.closing .cta-row { margin-top: 36px; }
.closing .fine { margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { margin-top: var(--section-gap); padding-bottom: 40px; color: var(--color-text-secondary); font-size: 13px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px 20px; padding: 40px; border-radius: 22px 22px 0 0; background: var(--color-surface); }
.footer-brand p { margin-top: 12px; }
.footer h2 { color: var(--color-text); font-size: 13px; font-weight: 500; line-height: 1.4; }
.footer ul { display: grid; gap: 2px; margin-top: 8px; }
.footer nav a { display: inline-block; padding: 5px 0; }
@media (pointer: coarse) { .footer nav a { padding: 13px 0; } }
.footer-legal { max-width: 880px; margin-top: 24px; padding-inline: 40px; color: var(--color-text-secondary); font-size: 12px; line-height: 1.5; }

/* ---------- Legal pages (impressum.html, datenschutz.html) ---------- */
.legal { max-width: 720px; padding-top: 48px; font-size: 16px; line-height: 1.6; }
.legal .heading { margin-bottom: 12px; }
.legal .stand { color: var(--color-text-secondary); font-size: 14px; }
.legal .summary { margin-top: 32px; padding: 20px 24px; border-radius: var(--radius-cards); background: var(--color-tint); }
.legal h2 { margin-top: 48px; font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; scroll-margin-top: 24px; }
.legal h3 { margin-top: 24px; font-size: 17px; font-weight: 700; line-height: 1.35; }
.legal p, .legal ul, .legal address { margin-top: 12px; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal .table-wrap { margin-top: 16px; overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.legal th, .legal td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.legal th { font-weight: 500; }
@media (max-width: 640px) { .legal { padding-top: 28px; } }

/* ---------- Icons ---------- */
.ic { flex: none; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.ic.sw15 { stroke-width: 1.5; }
.ic.sw17 { stroke-width: 1.7; }
.ic.sw18 { stroke-width: 1.8; }
.ic.sw2 { stroke-width: 2.25; }
.ic.fill { fill: currentColor; }
.sys { flex: none; fill: currentColor; }

/* ============================================================
   Phone mockups: the Motor Magnet app, drawn at 390 × 844 and scaled by --s.
   ============================================================ */
.phone {
  --s: 0.5;
  position: relative; flex: none; box-sizing: content-box;
  width: calc(390px * var(--s)); height: calc(844px * var(--s));
  border: calc(6px * var(--s)) solid #000;
  border-radius: calc(44px * var(--s));
  background: var(--color-background); overflow: hidden; user-select: none;
}
.screen, .frag {
  color: var(--color-text); text-align: left; letter-spacing: 0;
  font: 400 15px/20.2px "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.screen {
  position: absolute; top: 0; left: 0; width: 390px; height: 844px;
  transform: scale(var(--s)); transform-origin: 0 0;
  background: var(--color-background); overflow: hidden;
}
.screen.plain { background: var(--color-surface); }  /* the KI-Chat's white page */
.screen::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: var(--color-text); }

.mm-status { position: relative; display: flex; align-items: flex-start; justify-content: space-between; height: 54px; padding: 19px 30px 0 52px; font-size: 17px; font-weight: 600; line-height: 22px; }
.mm-status::before { content: ""; position: absolute; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; border-radius: 18px; background: #000; }
.mm-status .sys { margin-top: 4px; }
.mm-nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 16px; color: var(--color-ink); }
.mm-nav.pad20 { padding: 0 20px; }
.mm-nav .t { position: absolute; left: 0; right: 0; text-align: center; color: var(--color-text); font-size: 17px; font-weight: 500; }
.mm-body { display: flex; flex-direction: column; gap: 12px; padding: 8px 20px 0; }

.mm-large { font-size: 34px; font-weight: 500; line-height: 45.9px; letter-spacing: -0.7px; }
.mm-t1 { font-size: 32px; font-weight: 500; line-height: 38px; letter-spacing: -0.7px; }
.mm-t2 { font-size: 30px; font-weight: 500; line-height: 40.5px; letter-spacing: -0.7px; }
.mm-t3 { font-size: 28px; font-weight: 500; line-height: 34px; letter-spacing: -0.7px; }
.mm-h { font-size: 20px; font-weight: 500; line-height: 27px; letter-spacing: -0.25px; }
.mm-ct { font-size: 21px; font-weight: 500; line-height: 28.4px; letter-spacing: -0.25px; }
.mm-sh { font-size: 19px; font-weight: 500; line-height: 25.6px; letter-spacing: -0.25px; }
.mm-price { font-size: 23px; font-weight: 500; line-height: 31.1px; letter-spacing: -0.7px; }
.mm-lead { color: var(--color-text-secondary); font-size: 16px; line-height: 21.6px; letter-spacing: -0.25px; }
.mm-t1 + .mm-lead { margin-top: 6px; }
.mm-call { font-size: 14px; line-height: 18.9px; }
.mm-foot { color: var(--color-text-secondary); font-size: 13px; line-height: 17.6px; }
.mm-updated { margin-top: 8px; }
.mm-cap { color: var(--color-text-secondary); font-size: 12px; line-height: 16.2px; }
.mm-call + .mm-cap { margin-top: 2px; }
.mm-sec { color: var(--color-text-secondary); }
.mm-b { font-weight: 600; }
.nw { white-space: nowrap; }
.mm-brandc { color: var(--color-ink); }

.mm-card { border-radius: 12px; background: #fff; }
.mm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mm-pills { display: flex; gap: 8px; }
.mm-pill { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; padding: 5px 11px; border-radius: 100px; background: var(--color-tint); color: var(--color-text); font-size: 12px; font-weight: 600; line-height: 16.2px; white-space: nowrap; }
.mm-pill.rank { background: rgba(244, 244, 244, 0.94); color: var(--color-text); }
.mm-pill.best { background: var(--color-ink); color: #fff; }
.mm-ib { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--color-tint); color: var(--color-ink); }
.mm-ib.sm { width: 36px; height: 36px; }
.mm-ib.on { background: var(--color-brand); color: #fff; }  /* the saved heart: `action` */
.mm-it { display: flex; align-items: center; gap: 6px; color: var(--color-text-secondary); font-size: 14px; line-height: 18.9px; }
.mm-it.mm-text { gap: 8px; color: var(--color-text); font-size: 15px; }
.mm-it.mm-text .ic, .mm-it.mm-brandc { color: var(--color-ink); }

/* Recommendation card */
.mm-rec-h { display: flex; align-items: center; justify-content: space-between; padding: 16px; }
.mm-rec-b { display: flex; flex-direction: column; gap: 12px; padding: 0 16px 16px; }
.mm-why { display: flex; flex-direction: column; gap: 5px; padding: 12px; border-radius: 10px; background: var(--color-tint); }
.mm-why b { color: var(--color-ink); font-size: 13px; font-weight: 600; line-height: 17.6px; }
.mm-link { display: flex; align-items: center; gap: 8px; color: var(--color-ink); }
.mm-link div, .mm-stage div, .mm-switchrow div { display: flex; flex: 1; flex-direction: column; gap: 2px; }
.mm-link b { font-size: 13px; font-weight: 600; line-height: 17.6px; }
.mm-link small, .mm-stage small, .mm-switchrow small { color: var(--color-text-secondary); font-size: 12px; line-height: 16.2px; }
.mm-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; color: var(--color-ink); font-size: 14px; line-height: 18.9px; }
.mm-actions .mm-b { font-size: 15px; }

/* KI-Chat */
.mm-chat { display: flex; flex-direction: column; gap: 18px; padding: 12px 20px 0; }
.mm-ai { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mm-ai p { margin: 0; font-size: 18px; line-height: 26px; letter-spacing: -0.2px; }
.mm-me { align-self: flex-end; max-width: 300px; padding: 12px 16px; border-radius: 22px; background: var(--color-bubble); color: var(--color-text); font-size: 18px; line-height: 26px; letter-spacing: -0.2px; }
.mm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.mm-chips span { padding: 8px 14px; border-radius: 100px; background: var(--color-tint); color: var(--color-text); font-size: 15px; line-height: 20px; }
.mm-composer { position: absolute; left: 16px; right: 16px; bottom: 98px; display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 7px 0 18px; border-radius: 25px; background: var(--color-tint); color: var(--color-text-secondary); font-size: 16px; }
.mm-send { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-brand); color: #fff; }

/* Tab bar */
.mm-tabs { position: absolute; left: 20px; right: 20px; bottom: 22px; display: grid; grid-template-columns: repeat(4, 1fr); height: 62px; padding: 4px; border-radius: 31px; background: rgba(255, 255, 255, 0.82); box-shadow: 0 6px 24px rgba(23, 26, 32, 0.14), inset 0 0 0 0.5px rgba(255, 255, 255, 0.9); color: var(--color-text); font-size: 10px; font-weight: 500; line-height: 13.5px; }
.mm-tabs span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 27px; }
.mm-tabs .on { background: rgba(23, 26, 32, 0.09); font-weight: 700; }

/* Recherche läuft */
.mm-run { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; padding: 18px; }
.mm-track { height: 6px; border-radius: 3px; background: var(--color-border); overflow: hidden; }
.mm-track i { display: block; width: 52%; height: 100%; border-radius: 3px; background: var(--color-ink); }
.mm-stage, .mm-switchrow { display: flex; align-items: center; gap: 12px; color: var(--color-ink); }
.mm-stage div, .mm-switchrow div { color: var(--color-text); }
.mm-stage b, .mm-switchrow b { font-size: 16px; font-weight: 600; line-height: 21.6px; letter-spacing: -0.25px; }
.mm-stage small, .mm-switchrow small { font-size: 13px; line-height: 17.6px; }
.mm-stage.wait .ic { opacity: 0.35; }
.mm-sheet { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 10px; padding: 10px 20px 44px; border-radius: 24px 24px 0 0; background: #fff; box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.07); }
.mm-grab { align-self: center; width: 36px; height: 5px; margin-bottom: 8px; border-radius: 3px; background: var(--color-muted); }
.mm-switchrow { margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: var(--color-tint); }
.mm-switch { position: relative; flex: none; width: 51px; height: 31px; border-radius: 16px; background: var(--color-ink); }
.mm-switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; }

/* Details */
.mm-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mm-facts div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: #fff; }
.mm-facts b { font-size: 17px; font-weight: 500; line-height: 23px; letter-spacing: -0.25px; }
.mm-facts small { color: var(--color-text-secondary); font-size: 11px; line-height: 14.9px; }
.mm-box { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.mm-list { display: flex; flex-direction: column; gap: 8px; }
.mm-list span { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 18.9px; }
.mm-list .ic { margin-top: 1px; color: var(--color-ink); }
.mm-cta { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 20px 34px; background: rgba(244, 244, 244, 0.94); }
.mm-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 10px; background: var(--color-brand); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -0.25px; }

/* Suchaufträge */
.mm-ss { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.mm-ss .mm-actions { margin-bottom: -8px; }

/* Fragments in the showcase cards */
.frag { width: min(296px, calc(100% - 32px)); }
.f-pad { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.f-rank { display: flex; flex-direction: column; gap: 8px; }
.f-rank .mm-card { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 12px; border-radius: 14px; }
.f-rank b { font-size: 17px; font-weight: 500; letter-spacing: -0.25px; }
.f-line { padding-top: 8px; border-top: 1px solid var(--color-border); margin-bottom: -8px; }
.f-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.f-modes span { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--color-text-secondary); font-size: 12px; font-weight: 500; line-height: 16.2px; }
.f-modes i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-tint); color: var(--color-ink); }
.f-modes .on { color: var(--color-text); font-weight: 600; }
.f-modes .on i { background: var(--color-ink); color: #fff; }
.f-mode-panel { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 10px; background: #fdf6dc; }
.f-mode-panel b { font-size: 15px; font-weight: 600; }
.f-saved .mm-actions { margin-bottom: -8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .fan { --k: 0.86; }
}
@media (max-width: 1040px) {
  .fan { --k: 0.76; }
}
@media (max-width: 960px) {
  :root { --section-gap: 96px; }
  .fan { --k: 0.66; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps p { max-width: 560px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-anchor { display: none; }
  .fan { --k: 0.54; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-gap: 80px; }
  .hero { padding-top: 28px; }
  .sub { font-size: 19px; letter-spacing: -0.5px; }
  .section-head { margin-bottom: 40px; }
  .statement { margin-top: 40px; }
  /* Three phones: chat, recommendations, details. The outer two run off the screen edges. */
  .fan { --k: 0.78; margin-top: 44px; padding-bottom: 60px; }
  .fan .p2, .fan .p5 { display: none; }
  .fan .p1 { --s: calc(0.64 * var(--k)); z-index: 2; margin-right: calc(-76px * var(--k)); transform: translateY(calc(10px * var(--k))) rotate(-4deg); }
  .fan .p4 { margin-left: calc(-76px * var(--k)); }
  .grid-3, .plans { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
  .faq summary { font-size: 19px; }
  .footer-inner { padding: 24px; }
  .footer-legal { padding-inline: 24px; }
}
@media (max-width: 380px) {
  .display { font-size: 40px; }
  .heading { font-size: 34px; }
}

/* ============================================================
   Motion. Only transform and opacity move; entrances ease out; nothing is tied to scrolling.
   ============================================================ */

/* Intro: once per session (the script in <head> sets html.intro). Elements keep their place in the layout.
   The keyframes name only the start; each element ends on its own resting style, so nothing stays animated. */
@keyframes rise { from { opacity: 0; transform: translateY(var(--rise, 16px)); } }
/* The phones start stacked behind the middle one and fan out to their resting transform. */
@keyframes fan-out { from { opacity: 0; transform: translate(var(--from-x, 0px), calc(48px * var(--k))) scale(0.94); } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes mm-spin { to { transform: rotate(360deg); } }

.intro .badge, .intro .hero h1 .line, .intro .hero .sub, .intro .hero .cta-row, .intro .hero .fine { animation: rise 700ms var(--ease-out-quint) backwards; }
.intro .badge { --rise: 8px; }
.intro .hero h1 .line { --rise: 0.3em; animation-delay: 60ms; }
.intro .hero h1 .line + .line { animation-delay: 140ms; }
.intro .hero .sub { animation-delay: 240ms; }
.intro .hero .cta-row { animation-delay: 320ms; }
.intro .hero .fine { animation-delay: 380ms; }

.fan .p1 { --from-x: calc(210px * var(--k)); }
.fan .p2 { --from-x: calc(110px * var(--k)); }
.fan .p4 { --from-x: calc(-110px * var(--k)); }
.fan .p5 { --from-x: calc(-210px * var(--k)); }
.intro .fan .phone { animation: fan-out 900ms var(--ease-out-quint) backwards; }
.intro .fan .p3 { animation-delay: 420ms; }
.intro .fan .p2, .intro .fan .p4 { animation-delay: 500ms; }
.intro .fan .p1, .intro .fan .p5 { animation-delay: 580ms; }
@media (max-width: 640px) {
  .fan .p1 { --from-x: calc(110px * var(--k)); }
  .intro .fan .p1 { animation-delay: 500ms; }
}

/* The app's own research spinner (1.4 s, constant speed), paused while the phones are off screen. */
.mm-spin { animation: mm-spin 1400ms linear infinite paused; }
.fan.in-view .mm-spin { animation-play-state: running; }

@media (prefers-reduced-motion: reduce) {
  .intro .badge, .intro .hero h1 .line, .intro .hero .sub, .intro .hero .cta-row, .intro .hero .fine,
  .intro .fan .phone, .faq details[open] p, .mm-spin { animation: none; }
  .btn, .faq summary::after, .nav-links a, .footer nav a { transition: none; }
}
