/* MotoOne Website · Design A „Klar“
   Farben und Abstände stehen oben als Variablen. Immer hell, auch wenn das Gerät im Dunkelmodus ist. */

@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
/* Nur die Buchstaben der Wortmarke „MotoOne“, wie in der App */
@font-face {
  font-family: 'Barlow';
  src: url('/assets/fonts/Barlow-ExtraBold-Wortmarke.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e3e3e8;
  --accent: #c8ff2e;          /* Lime aus der App, nur als Akzent */
  --accent-text: #3f6212;     /* lesbares Grün für Text auf Weiß */
  --button: #1d1d1f;
  --button-text: #ffffff;
  --band: #000000;
  --band-text: #f5f5f7;
  --band-muted: #a1a1a6;
  --band-line: #333336;
  --header: rgba(255, 255, 255, .82);
  --phone-frame: #1d1d1f;
  --radius: 28px;
  --wrap: 1120px;
  --gutter: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 92px); letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.035em; }
h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--button); color: var(--button-text); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

/* Kopfzeile */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; }
.wordmark { font-family: 'Barlow', 'Geist', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; color: #0a0a0a; }
.wordmark span { color: #4d7c0f; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--header); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 60px; display: flex; align-items: center; gap: 36px; }
.main-nav { display: flex; gap: 28px; font-size: 15px; flex-grow: 1; }
.main-nav a { text-decoration: none; color: var(--muted); padding: 8px 0; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--text); }
.main-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-gruppe { position: relative; display: flex; }
.nav-gruppe > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-unter { position: absolute; top: 100%; left: -16px; min-width: 220px; padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.08); display: none; flex-direction: column; }
.nav-unter a { padding: 10px 12px; border-radius: 10px; color: var(--text); white-space: nowrap; }
.nav-unter a:hover { background: var(--surface); }
.nav-gruppe:hover .nav-unter, .nav-gruppe:focus-within .nav-unter { display: flex; }
.mobile-nav a.mobile-unter { font-size: 18px; font-weight: 500; padding: 10px 0 10px 20px; color: var(--muted); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; margin-right: -10px; }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 6px auto; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
.mobile-nav a { display: block; padding: 14px 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border: 0; color: var(--accent-text); }
@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-inner { gap: 12px; justify-content: space-between; }
  .header-cta { margin-left: auto; }
}
@media (min-width: 861px) { .mobile-nav { display: none; } }

/* Knöpfe und Links */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--button); color: var(--button-text); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; transition: opacity .15s; }
.button:hover { opacity: .85; }
.button:disabled { opacity: .5; cursor: progress; }
.button-small { min-height: 36px; padding: 0 16px; font-size: 14px; }
.button-light { background: #f5f5f7; color: #000; }
.text-link { color: var(--accent-text); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
.text-link::after { content: '›'; margin-left: 6px; font-size: 1.2em; transition: transform .15s; }
.text-link:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }

/* Grundbausteine */
/* clip statt hidden: hidden macht main zum Scroll-Container und die Bereichsleiste bleibt dann nicht oben kleben. */
main { overflow: hidden; overflow: clip; }
.section { max-width: var(--wrap); margin: 0 auto; padding: 120px var(--gutter) 0; }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 19px; }
.eyebrow { font-size: 17px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.eyebrow a { color: var(--accent-text); text-decoration: none; }
.lead { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.45; color: var(--muted); margin-top: 24px; max-width: 640px; }
.caption { font-size: 14px; color: var(--muted); }
.tag { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 600; letter-spacing: 0; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #000; }
.notice { margin-top: 32px; padding: 18px 22px; border-radius: 18px; background: var(--surface); color: var(--muted); font-size: 15px; max-width: 760px; }
.notice a { color: var(--accent-text); }
.card { background: var(--surface); border-radius: var(--radius); padding: 32px; }

/* Startseite */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 96px var(--gutter) 0; text-align: center; }
.hero .eyebrow { color: var(--accent-text); }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .actions { justify-content: center; }
.hero .caption { margin-top: 20px; }
.phones { margin-top: 72px; display: flex; justify-content: center; align-items: flex-end; gap: 40px; }
.phones .phone { width: 300px; }
.phones .phone-side { width: 240px; margin-bottom: 40px; }
@media (max-width: 760px) { .phones .phone-side { display: none; } .phones .phone { width: min(300px, 78vw); } }

.phone { margin: 0; border-radius: 46px; border: 9px solid var(--phone-frame); overflow: hidden; background: #f5f5f2; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .45); flex-shrink: 0; }

.phone video { display: block; width: 100%; height: auto; }

.page-head { max-width: var(--wrap); margin: 0 auto; padding: 88px var(--gutter) 0; }
.page-head .lead { max-width: 700px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 34px; min-height: 230px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: transform .2s; }
.tile:hover { transform: translateY(-3px); }
.tile h3 { font-size: 26px; }
.tile p { color: var(--muted); }

.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 40px; border-top: 1px solid var(--line); padding-top: 32px; }
.columns h3 { margin-bottom: 8px; }
.columns p { color: var(--muted); }
.columns a, .facts a, .faq a, .steps a { color: var(--accent-text); }
.section > .columns + .text-link { margin-top: 24px; }
.feature-block .columns + .text-link { margin-top: 24px; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.split > .phone { width: 300px; }
.split > div { flex: 999 1 420px; min-width: 0; }
.split-reverse > .phone { order: 2; }
@media (max-width: 760px) { .split > .phone, .split-reverse > .phone { order: 0; margin: 0 auto; width: min(300px, 78vw); } }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; border-top: 1px solid var(--line); padding-top: 28px; margin: 32px 0 16px; }
.facts-single { grid-template-columns: 1fr; gap: 22px; }
.facts dt { font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

.band { background: var(--band); color: var(--band-text); border-radius: 36px; padding: clamp(32px, 6vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.band > div { flex: 999 1 420px; min-width: 0; }
.band > .phone { width: 280px; border-color: #2c2c2e; margin: 0 auto; }
.band .eyebrow { color: var(--accent); }
.band .lead { color: var(--band-muted); }
.band .text-link { color: var(--accent); }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 36px; }
.prices > div { border: 1px solid var(--band-line); border-radius: 22px; padding: 24px; color: var(--band-muted); font-size: 15px; }
.prices .price { color: var(--band-text); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; margin: 6px 0 4px; }

.cta { text-align: center; padding-bottom: 40px; }
.cta .lead { margin-left: auto; margin-right: auto; margin-bottom: 32px; }
.cta .actions { justify-content: center; }

.subnav { position: sticky; top: 61px; z-index: 5; background: var(--header); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); margin-top: 48px; display: flex; gap: 8px; overflow-x: auto; padding: 10px max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); scrollbar-width: none; }
.subnav a { flex-shrink: 0; text-decoration: none; font-size: 15px; font-weight: 500; padding: 9px 16px; border-radius: 999px; background: var(--surface); color: var(--text); transition: background .2s, color .2s; }
.subnav a:hover { background: var(--line); }
.subnav a[aria-current="true"] { background: var(--text); color: var(--bg); }
.feature-block { scroll-margin-top: 50px; }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.plan { background: var(--surface); border-radius: var(--radius); padding: 32px; }
.plan-featured { background: var(--band); color: var(--band-text); }
.plan-featured h3 { color: var(--accent); }
.plan .price { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; margin: 12px 0 4px; }
.plan .price small { font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan-featured .price small, .plan-featured .plan-sub, .plan-featured li { color: var(--band-muted); }
.plan-sub { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.plan-featured ul { border-color: var(--band-line); }
.plan li { padding-left: 24px; position: relative; color: var(--muted); }
.plan li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.plan-featured li::before { border-color: var(--accent); }
.plans-four { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 1100px) { .plans-four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .plans-four .plan { padding: 28px 24px; } }
.plan .soon { font-size: 13px; opacity: .8; }
.tag-soon { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
caption { text-align: left; padding: 24px 24px 8px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
th, td { text-align: left; padding: 14px 24px; border-top: 1px solid var(--line); }
thead th { color: var(--muted); font-weight: 500; }
tbody th { font-weight: 500; }
td { color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 40px; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 24px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 14px; font-weight: 600; color: var(--accent-text); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.status-grid h3 { margin-bottom: 16px; }
.check-list, .open-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li, .open-list li { padding-left: 30px; position: relative; color: var(--muted); }
.check-list li::before { content: ''; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.check-list li::after { content: ''; position: absolute; left: 5px; top: .48em; width: 7px; height: 4px; border-left: 1.5px solid #000; border-bottom: 1.5px solid #000; transform: rotate(-45deg); }
.open-list li::before { content: ''; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--muted); }

/* Fragen */
.faq h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.faq details { border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 760px; }

/* Formulare */
.form { display: grid; gap: 10px; max-width: 560px; }
.form label { font-size: 15px; font-weight: 500; margin-top: 8px; }
.form input:not([type="checkbox"]), .form select { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
.captcha { min-height: 65px; margin-top: 8px; }
.captcha:empty { display: none; }
.form input[aria-invalid="true"] { border-color: #d70015; }
.form .button { margin-top: 16px; justify-self: start; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--text); flex-shrink: 0; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:not(:empty) { margin-top: 8px; font-weight: 500; }
.form a { color: var(--accent-text); }
.signup { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.signup > div { flex: 1 1 320px; }
.signup > div p { margin-top: 20px; color: var(--muted); }
.signup > form { flex: 999 1 420px; }

.bike-check { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.bike-check > div:first-child { flex: 1 1 300px; }
.bike-check > div:first-child p { margin-top: 20px; color: var(--muted); }
.bike-check > .card { flex: 999 1 460px; }
.bike-check .form { max-width: none; }
.check-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.check-fields label { display: grid; gap: 8px; }
.check-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .check-fields { grid-template-columns: 1fr; } }
.check-result { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.check-result p { color: var(--muted); }
.check-result .eyebrow { margin: 0; color: var(--accent-text); }
.check-result .button { justify-self: start; margin-top: 8px; }

/* Rechtstexte und Bilder */
.legal { max-width: 800px; margin: 0; padding-top: 64px; }
@media (min-width: 900px) { .legal { margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); } }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal p { color: var(--muted); margin-bottom: 14px; }
.legal a { color: var(--accent-text); }
.legal strong { color: var(--text); font-weight: 600; }
.wide-image { margin: 0 auto; }
.wide-image img { border-radius: 36px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; margin-bottom: 24px; }
.team-person { margin: 0; }
.team-person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; background: var(--surface); }
.team-person figcaption { margin-top: 12px; display: grid; gap: 2px; }
.team-person figcaption span { color: var(--muted); }

/* Fußzeile */
.site-footer { margin-top: 140px; background: var(--surface); border-top: 1px solid var(--line); font-size: 14px; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter) 24px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--muted); }
.site-footer h2 { font-size: 14px; letter-spacing: 0; font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { color: var(--muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer ul a:hover { color: var(--text); }
.footer-note { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gutter) 32px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (max-width: 760px) {
  .section { padding-top: 88px; }
  .hero { padding-top: 64px; }
  .page-head { padding-top: 56px; }
  .tile { min-height: 0; }
  .band { border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
