/* ==========================================================================
   MODLAB – Design-System
   Systemschriften (keine externen Fonts → schnell & DSGVO-freundlich).
   Aufbau: Tokens → Basis → Layout → Komponenten → Seiten-Module → Utilities
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #171717;
  --line: #232323;
  --line-2: #333333;
  --text: #f4f4f4;
  --text-2: #cfcfcf;
  --muted: #8f8f8f;
  --accent: #ff4510;           /* Logo-Orange */
  --accent-hover: #ff5c2e;
  --accent-soft: rgba(255, 69, 16, .1);
  --radius: 6px;
  --max: 1240px;
  --gutter: 20px;
  --header-h: 72px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.025em; font-weight: 750; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--text-2); max-width: 520px; }
.section-head--stack { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Typo-Helfer ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.label b { color: var(--accent); font-weight: 600; }
.label::before { content: ""; width: 18px; height: 1px; background: var(--line-2); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--text-2); max-width: 640px; line-height: 1.55; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: transparent; --_fg: var(--text); --_bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--radius);
  background: var(--_bg); color: var(--_fg); border: 1px solid var(--_bd);
  font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { --_bg: var(--accent); --_fg: #fff; --_bd: var(--accent); }
.btn--primary:hover { --_bg: var(--accent-hover); --_bd: var(--accent-hover); }
.btn--ghost:hover { --_bd: var(--text); }
.btn--quiet { --_bd: transparent; padding: 0 6px; }
.btn--quiet:hover { --_fg: var(--accent); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { color: var(--text); text-decoration: none; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.text-link::after { content: "→"; color: var(--accent); transition: transform .25s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Header / Navigation ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(10, 10, 10, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--radius); color: var(--text-2); font-size: .93rem; font-weight: 550; text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; transition: color .2s, background .2s; }
.nav__link:hover, .nav__link[aria-current] { color: var(--text); }
.nav__link[aria-current] { background: var(--bg-3); }
.nav__cta { margin-left: 12px; }
.nav__group { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .6);
}
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu, .nav__group.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; padding: 12px; border-radius: 8px; text-decoration: none; }
.nav__menu a:hover { background: var(--bg-3); }
.nav__menu a span { grid-row: span 2; font-family: var(--mono); font-size: .75rem; color: var(--accent); padding-top: 3px; }
.nav__menu a strong { font-size: .95rem; font-weight: 600; }
.nav__menu a small { color: var(--muted); font-size: .82rem; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--text); cursor: pointer; }
@media (max-width: 1020px) {
  /* backdrop-filter würde das fixierte Menü im Header „einsperren“ */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; background: var(--bg); overflow-y: auto; display: none; }
  .nav.is-open { display: flex; }
  .nav__link { padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .nav__link[aria-current] { background: none; color: var(--accent); }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 4px 0 12px; min-width: 0; }
  .nav__cta { margin: 24px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); max-height: 980px; display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.7) 42%, rgba(10,10,10,.1) 75%), linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 35%); }
.hero__content { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px); }
.hero__brand { font-family: var(--mono); font-size: .8rem; letter-spacing: .22em; color: var(--text-2); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.hero__brand::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { max-width: 12ch; }
.hero .lead { margin-bottom: 34px; }
.hero__specs { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.hero__specs a { padding: 18px 20px 4px 0; text-decoration: none; display: grid; gap: 4px; transition: color .2s; }
.hero__specs a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.hero__specs span { font-family: var(--mono); font-size: .72rem; color: var(--accent); letter-spacing: .08em; }
.hero__specs strong { font-weight: 600; font-size: .98rem; }
.hero__specs a:hover strong { color: var(--accent); }
@media (max-width: 820px) {
  .hero { min-height: 0; max-height: none; flex-direction: column; align-items: stretch; }
  .hero__media { position: relative; aspect-ratio: 4 / 3; }
  .hero__media::after { background: linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 45%); }
  .hero__content { padding-top: 8px; }
  .hero__specs { grid-template-columns: 1fr 1fr; }
  .hero__specs a:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__specs a { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
}
/* dezente Einstiegs-Animation */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__content > * { animation: rise .8s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__content > *:nth-child(3) { animation-delay: .16s; }
.hero__content > *:nth-child(4) { animation-delay: .24s; }
.hero__content > *:nth-child(5) { animation-delay: .32s; }

/* ---------- Marken-Leiste ---------- */
.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brands p { margin: 0; color: var(--muted); font-size: .92rem; }
.brands ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.brands li { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); }

/* ---------- Leistungs-Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.9); }
.card:hover .card__media img { transform: scale(1.035); filter: saturate(1); }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.card__top b { color: var(--accent); font-weight: 600; }
.card h3 { font-size: 1.55rem; }
.card p { color: var(--text-2); font-size: .98rem; }
.card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 24px; }
.card__tags li { font-size: .8rem; color: var(--text-2); padding: 5px 10px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 4px; }
.card__more { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; font-size: .93rem; }
.card__more svg { color: var(--accent); transition: transform .3s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Split / Media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.media { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); aspect-ratio: 4 / 5; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 11; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .media { aspect-ratio: 16 / 11; } }

/* ---------- Kennzahlen / Grundsätze ---------- */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.principles div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.principles div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.principles span { font-family: var(--mono); font-size: .75rem; color: var(--accent); }
.principles h3 { font-size: 1.05rem; margin: 6px 0 6px; }
.principles p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } .principles div:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- Leistungsliste (Unterseiten) ---------- */
.spec-list { border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 64px 1.1fr 2fr; gap: 16px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.spec__num { font-family: var(--mono); font-size: .8rem; color: var(--accent); padding-top: 4px; }
.spec h3 { margin: 0; font-size: 1.2rem; }
.spec p { margin: 0; color: var(--text-2); }
.spec p + p { margin-top: .6em; }
.spec .note { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .spec { grid-template-columns: 40px 1fr; } .spec > div:last-child { grid-column: 2; } }

/* ---------- Checkliste ---------- */
.checks { list-style: none; display: grid; gap: 12px; margin: 0 0 1.5em; }
.checks li { position: relative; padding-left: 28px; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- Preise ---------- */
.price-group + .price-group { margin-top: 56px; }
.price-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.price-group__head h3 { margin: 0; font-size: 1.35rem; }
.price-group__head a { font-size: .9rem; }
.price-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; padding: 20px 24px; background: var(--bg-2); transition: background .2s; }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-row:hover { background: var(--bg-3); }
.price-row h4 { margin: 0 0 2px; font-size: 1.05rem; letter-spacing: -.01em; font-weight: 650; }
.price-row p { margin: 0; color: var(--muted); font-size: .9rem; }
.price-row .badge { display: inline-block; margin-left: 8px; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--accent); border: 1px solid rgba(255,69,16,.4); padding: 2px 6px; border-radius: 3px; vertical-align: 2px; text-transform: uppercase; }
.price { text-align: right; white-space: nowrap; }
.price small { display: block; font-family: var(--mono); font-size: .7rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.price strong { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.price--request strong { font-size: 1rem; font-weight: 600; color: var(--text-2); }
.price-hint { margin-top: 12px; font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) { .price-row { grid-template-columns: 1fr; } .price { text-align: left; } }

/* ---------- Hinweis-Box ---------- */
.notice { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: 6px; padding: 18px 22px; font-size: .95rem; color: var(--text-2); }
.notice strong { color: var(--text); }
.notice + .notice { margin-top: 12px; }

/* ---------- Projekte ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s; }
.project:hover { border-color: var(--line-2); }
.project__media { aspect-ratio: 4 / 3; background: var(--bg-3); overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__media img { transform: scale(1.03); }
.project__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.project__meta { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }
.project h3 { font-size: 1.2rem; margin-bottom: 14px; }
.project dl { margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.project dt { font-family: var(--mono); font-size: .7rem; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.project dd { margin: 2px 0 0; color: var(--text-2); }
.projects--featured .project:first-child { grid-column: span 2; }
.projects--featured .project:first-child .project__media { aspect-ratio: 16 / 9; }
@media (max-width: 960px) { .projects { grid-template-columns: 1fr 1fr; } .projects--featured .project:first-child { grid-column: span 2; } }
@media (max-width: 620px) { .projects { grid-template-columns: 1fr; } .projects--featured .project:first-child { grid-column: auto; } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--mono); font-size: .8rem; color: var(--accent); margin-bottom: 26px; }
.steps h3 { font-size: 1.08rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-weight: 600; font-size: 1.08rem; transition: color .2s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq .faq__a { padding: 0 48px 24px 0; color: var(--text-2); max-width: 780px; }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- CTA-Band ---------- */
.cta { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; padding: clamp(32px, 6vw, 72px); background: var(--bg-2); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,69,16,.16), transparent 65%); pointer-events: none; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--text-2); margin: 0; }
.cta .btn-row { justify-content: flex-end; position: relative; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: clamp(72px, 11vw, 140px) 0 clamp(48px, 7vw, 88px); }
.page-head__media { position: absolute; inset: 0; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.78) 50%, rgba(10,10,10,.4) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.page-head .container { position: relative; }
.page-head h1 { max-width: 16ch; font-size: clamp(2.3rem, 5vw, 4.2rem); }
.page-head .lead { margin-bottom: 30px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; color: var(--muted); margin-bottom: 28px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* ---------- Kontakt & Formular ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-list { list-style: none; border-top: 1px solid var(--line); margin-bottom: 28px; }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; text-decoration: none; }
.contact-list span { font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.contact-list strong { font-weight: 600; }
.contact-list a:hover strong { color: var(--accent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 4vw, 36px); }
.form .full { grid-column: 1 / -1; }
.form fieldset { border: 0; padding: 0; margin: 0; display: contents; }
.form legend { grid-column: 1 / -1; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); padding-top: 6px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.field label em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--bg); color: var(--text); border: 1px solid var(--line-2); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #5f5f5f; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #474747; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.drop { position: relative; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--muted); font-size: .9rem; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop strong { color: var(--text); }
.drop__files { list-style: none; margin-top: 10px; font-family: var(--mono); font-size: .8rem; color: var(--text-2); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check a { color: var(--text-2); }
.form__status { font-size: .92rem; margin: 0; }
.form__status.is-ok { color: #6fdc8c; }
.form__status.is-err { color: #ff7b5c; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.3rem; margin-top: 2.4em; letter-spacing: -.01em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal address { font-style: normal; color: var(--text-2); margin-bottom: 1em; }
.legal a { color: var(--accent); }

/* ---------- Platzhalter (vor Livegang ersetzen) ---------- */
.ph { outline: 1px dashed rgba(255, 69, 16, .7); outline-offset: 2px; background: rgba(255, 69, 16, .08); border-radius: 3px; padding: 0 4px; }
.ph-box { border: 1px dashed rgba(255, 69, 16, .6); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer .logo img { height: 44px; }
.footer p { color: var(--muted); font-size: .94rem; margin-top: 16px; max-width: 320px; }
.footer h2 { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--text-2); font-size: .94rem; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .03em; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile Anfrage-Leiste ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: rgba(17,17,17,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 12px; }
  .mobile-cta .btn { min-height: 46px; }
  body { padding-bottom: 84px; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Leistungsrechner (2-Klick) ---------- */
.widget { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); padding: clamp(16px, 3vw, 28px); }
.widget__consent { text-align: center; padding: 36px 10px; }
.widget__consent p { color: var(--muted); font-size: .92rem; max-width: 580px; margin: 0 auto 22px; }
.widget__consent a { color: var(--text-2); }
.widget__note { color: var(--muted); font-size: .8rem; margin-top: 12px; }
.widget__note a { color: var(--text-2); }
.calc__info { margin-top: clamp(32px, 5vw, 56px); }
.calc__info .trust { margin-top: 0; grid-template-columns: 1fr; gap: 14px; }
.calc__info .trust__badge { justify-self: start; }
.perf-dyno { max-width: 760px; margin: clamp(40px, 6vw, 64px) auto 0; }
.calc .widget { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px -30px var(--accent); min-height: 320px; }
.nav__menu a[aria-current] { background: var(--bg-3); }


/* ==========================================================================
   Effekte & Pixel-Art (gesteuert von assets/fx.js und assets/pixel.js)
   Ohne JavaScript oder bei „Bewegung reduzieren“ ist alles sofort sichtbar.
   ========================================================================== */

/* Scroll-Fortschritt (in Pixel-Stufen) */
.fx-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 8px); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.header.is-scrolled { background: rgba(10, 10, 10, .96); }

/* Einblenden beim Scrollen */
.fx [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.fx [data-reveal="media"] { opacity: 1; transform: none; position: relative; }
.fx [data-reveal="media"]::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--bg-3); transform-origin: 50% 100%; transition: transform 1s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.fx [data-reveal].is-in { opacity: 1; transform: none; }
.fx [data-reveal="media"].is-in::after { transform: scaleY(0); }

/* Unterseiten-Kopf: Einstieg */
.page-head .container > * { animation: rise .8s var(--ease) both; }
.page-head .container > *:nth-child(2) { animation-delay: .06s; }
.page-head .container > *:nth-child(3) { animation-delay: .12s; }
.page-head .container > *:nth-child(4) { animation-delay: .18s; }
.page-head .container > *:nth-child(5) { animation-delay: .24s; }
.page-head__media img { animation: settle 2.2s var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Hero: Scheinwerfer-Sweep + Parallax */
.hero__brand::before { animation: blink 1.2s steps(2, jump-none) infinite; border-radius: 0; box-shadow: none; }
@keyframes blink { 0% { opacity: 1; } 100% { opacity: .2; } }

/* ---------- Pixel-Art ---------- */
.pixel { display: inline-block; line-height: 0; flex: none; }
.pixel svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; }

/* Pixel-Straße unter dem Hero: Auto fährt quer durchs Bild */
.road { position: relative; height: 150px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.road__lane { position: absolute; left: 0; right: 0; bottom: 30px; height: 4px; background: repeating-linear-gradient(90deg, #2e2e2e 0 24px, transparent 24px 48px); }
.road__edge { position: absolute; left: 0; right: 0; bottom: 14px; height: 4px; background: #1f1f1f; }
.road__beam { position: absolute; left: 100%; bottom: 14px; width: 180px; height: 28px; margin-left: -6px;
  background: linear-gradient(90deg, rgba(255, 226, 154, .35), rgba(255, 226, 154, 0));
  clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 65%); }
.road__text { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; color: var(--muted); white-space: nowrap; text-transform: uppercase; }
.road__text b { color: var(--accent); font-weight: 500; }
@media (max-width: 560px) { .road__text { font-size: .6rem; letter-spacing: .06em; } }
@keyframes bob { 0% { transform: translateY(0); } 100% { transform: translateY(-2px); } }

/* Pixel-Icons in Karten */
.card__top { align-items: flex-end; }
.card__top .pixel { transition: transform .25s steps(3); }
.card:hover .card__top .pixel { transform: translateY(-4px); }

/* Pixel-Motiv im Seitenkopf */
.page-head__sprite { position: absolute; right: max(20px, calc((100vw - var(--max)) / 2 + 20px)); bottom: clamp(40px, 6vw, 80px); z-index: 1; opacity: .95; animation: float 3s steps(4, jump-none) infinite alternate; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@media (max-width: 900px) { .page-head__sprite { display: none; } }

/* Pixel-Icons im Ablauf */
.steps li::before { display: none; }
.steps .pixel { margin-bottom: 22px; }
.steps li { transition: border-color .3s; }
.steps li:hover { border-color: var(--line-2); }
.steps li:hover .pixel { animation: bob .3s steps(2, jump-none) 2; }

/* Buttons: kantiger Pixel-Hover */
.btn--primary { box-shadow: 0 0 0 0 var(--accent-hover); transition: background .2s, box-shadow .15s steps(2), transform .15s steps(2); }
.btn--primary:hover { box-shadow: 4px 4px 0 0 #7a1f05; transform: translate(-2px, -2px); }
.btn--primary:active { box-shadow: 0 0 0 0 #7a1f05; transform: none; }

/* Leistungsliste */
.spec { transition: background .3s; }
.spec:hover { background: linear-gradient(90deg, rgba(255, 69, 16, .05), transparent 60%); }
.spec__num { transition: transform .25s steps(3); display: inline-block; }
.spec:hover .spec__num { transform: translateX(6px); }

/* Footer-Auto */
.footer__car { margin-top: 20px; opacity: .9; }

@media (prefers-reduced-motion: reduce) {
  .fx [data-reveal] { opacity: 1 !important; transform: none !important; }
  .fx [data-reveal="media"]::after { display: none; }
  .fx-progress { display: none; }
}

/* ==========================================================================
   Scheinwerfer-Effekt im Hero (BMW Angel Eyes)
   .hl / .hl-tint werden per JS exakt über das Foto gelegt (object-fit: cover).
   ========================================================================== */
.hero__media img, .hl, .hl-tint { transform: translate3d(0, var(--py, 0px), 0); scale: 1.06; }
.hero__media img { will-change: transform; animation: settle-s 2.4s var(--ease) both, wake 2.4s linear both; }
.hl, .hl-tint { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; animation: settle-s 2.4s var(--ease) both; }
@keyframes settle-s { from { scale: 1.12; } to { scale: 1.06; } }
/* Auto „wacht auf“: dunkel → Aufblenden → normal */
@keyframes wake {
  0%, 30% { filter: brightness(.42) saturate(.7); }
  36% { filter: brightness(.6) saturate(.8); }
  40% { filter: brightness(.45) saturate(.75); }
  50% { filter: brightness(1.18) saturate(1.05); }
  100% { filter: brightness(1) saturate(1); }
}

/* Leuchten + Lichtstreifen */
.hl { mix-blend-mode: screen; }
.hl__lamp, .hl__spot { position: absolute; transform: translate(-50%, -50%); }
/* Position der Scheinwerfer im Titelbild in % der Bildbreite/-höhe. Bei neuem Titelbild anpassen (siehe README). */
.hl__lamp--l, .hl__spot--l { left: 29.5%; top: 54%; width: 12.5%; height: 11%; }
.hl__lamp--r, .hl__spot--r { left: 70%; top: 53.5%; width: 12.5%; height: 11%; }
.hl__lamp::before {
  content: ""; position: absolute; inset: -70%;
  background: radial-gradient(closest-side, rgba(255, 205, 110, .95), rgba(255, 150, 40, .35) 45%, transparent 75%);
  filter: blur(4px); opacity: 0;
  animation: ignite 1.5s .7s linear both, breathe 4s 2.4s ease-in-out infinite alternate;
}
.hl__lamp::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 520%; height: 5%; min-height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 90, .15) 25%, rgba(255, 225, 160, .9) 50%, rgba(255, 190, 90, .15) 75%, transparent);
  filter: blur(1px); opacity: 0; transform: translate(-50%, -50%) scaleX(0);
  animation: streak 1.8s 1s var(--ease) both;
}
@keyframes ignite {
  0% { opacity: 0; } 6% { opacity: .8; } 10% { opacity: 0; } 16% { opacity: .9; } 22% { opacity: .15; }
  30% { opacity: 1; } 55% { opacity: .75; } 100% { opacity: .45; }
}
@keyframes breathe { from { opacity: .45; } to { opacity: .7; } }
@keyframes streak {
  0% { opacity: 0; transform: translate(-50%, -50%) scaleX(0); }
  25% { opacity: 1; transform: translate(-50%, -50%) scaleX(1); }
  100% { opacity: .35; transform: translate(-50%, -50%) scaleX(.55); }
}

/* Lichthupe (per JS) */
.hero.is-flash .hl__lamp::before { animation: none; opacity: 1; filter: blur(2px); }
.hero.is-flash .hl__lamp::after { animation: none; opacity: 1; transform: translate(-50%, -50%) scaleX(1.3); }
.hero.is-flash .hero__media img { filter: brightness(1.12); }

/* Farbwechsel-Demo: Gelb ↔ Weiß */
.hl-tint { mix-blend-mode: color; opacity: 0; transition: opacity .35s steps(3); }
.hl__spot { background: radial-gradient(closest-side, #fff 62%, rgba(255, 255, 255, 0)); transform: translate(-50%, -42%) scale(1.45, 2.1); }
.hero.drl-white .hl-tint { opacity: 1; }
.hero.drl-white .hl__lamp::before { background: radial-gradient(closest-side, rgba(235, 244, 255, .95), rgba(180, 210, 255, .3) 45%, transparent 75%); }
.hero.drl-white .hl__lamp::after { background: linear-gradient(90deg, transparent, rgba(190, 215, 255, .15) 25%, rgba(240, 248, 255, .9) 50%, rgba(190, 215, 255, .15) 75%, transparent); }
.hero.is-switching .hl__lamp::before { animation: switch .45s steps(1) both; }
@keyframes switch { 0% { opacity: 0; } 30% { opacity: .9; } 55% { opacity: 0; } 80%, 100% { opacity: .7; } }

.hero__drl {
  position: absolute; top: 20px; right: 20px; z-index: 5;
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px;
  font: 500 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
  background: rgba(10, 10, 10, .72); border: 1px solid var(--line-2); border-radius: 4px; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s, color .2s;
  animation: rise .6s 2.6s var(--ease) both;
}
.hero__drl:hover { border-color: var(--text); color: var(--text); }
.hero__drl b { color: #ffc15a; font-weight: 600; }
.hero.drl-white .hero__drl b { color: #e8f1ff; }
.hero__drl-dot { width: 10px; height: 10px; background: #ffb347; box-shadow: 0 0 10px #ffb347; }
.hero.drl-white .hero__drl-dot { background: #eef5ff; box-shadow: 0 0 10px #cfe2ff; }
@media (max-width: 820px) { .hero__drl { top: 12px; right: 12px; } }

@media (prefers-reduced-motion: reduce) {
  .hl__lamp::before { animation: none !important; opacity: .55; }
  .hl__lamp::after { animation: none !important; opacity: .35; transform: translate(-50%, -50%) scaleX(.55); }
  .hero__media img { animation: none !important; filter: none; }
}

/* overflow: clip verhindert, dass Fokus/Tab-Navigation den Bereich intern verschiebt */
.hero, .page-head, .road { overflow: clip; }

/* ==========================================================================
   Leistungsdiagramm (Dyno) auf der Startseite – gezeichnet von fx.js
   ========================================================================== */
.perf { align-items: start; grid-template-columns: 1.25fr 1fr; }
@media (max-width: 860px) { .perf { grid-template-columns: 1fr; } }
.dyno { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: clamp(16px, 2.5vw, 24px); }
.dyno__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.dyno__title { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; color: var(--muted); }
.dyno__switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; }
.dyno__switch button { font: 500 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; background: none; border: 0; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.dyno__switch button + button { border-left: 1px solid var(--line-2); }
.dyno__switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }

/* Schaltblitz-LEDs wie am Motorsport-Lenkrad */
.dyno__leds { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-bottom: 14px; }
.dyno__leds i { height: 8px; background: #1b1b1b; transition: background .08s, box-shadow .08s; }
.dyno__leds i.on { background: #46d17a; box-shadow: 0 0 8px rgba(70, 209, 122, .6); }
.dyno__leds i.on:nth-child(n+5) { background: #ffb347; box-shadow: 0 0 8px rgba(255, 179, 71, .6); }
.dyno__leds i.on:nth-child(n+9) { background: var(--accent); box-shadow: 0 0 8px rgba(255, 69, 16, .7); }
.dyno.is-limit .dyno__leds i { animation: limiter .16s steps(1) infinite; }
@keyframes limiter { 50% { background: #3a8bff; box-shadow: 0 0 10px rgba(58, 139, 255, .8); } }

.dyno__chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.dyno .grid line { stroke: #1d1d1d; stroke-width: 1; }
.dyno .axis text { fill: #6b6b6b; font: 10px var(--mono); }
.dyno .curve { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.dyno .curve--serie { stroke: #7a7a7a; }
.dyno .curve--stage { stroke: var(--accent); }
.dyno .curve--tq { stroke-dasharray: 7 6; stroke-width: 2; }
.dyno .area { fill: url(#dynoFill); }
.dyno .stage { transition: opacity .5s; }
.dyno.is-serie .stage { opacity: 0; }
.dyno .cursor line { stroke: #f4f4f4; stroke-width: 1; stroke-dasharray: 3 4; opacity: .55; }
.dyno .cursor circle { stroke: #0a0a0a; stroke-width: 2; }
.dyno .cursor .dot-stage { fill: var(--accent); }
.dyno .cursor .dot-serie { fill: #9a9a9a; }
.dyno.is-serie .cursor .dot-stage { opacity: 0; }

.dyno__readout { font-family: var(--mono); font-size: .82rem; color: var(--muted); margin-top: 8px; }
.dyno__rpm { color: var(--text); font-weight: 600; display: inline-block; min-width: 5ch; text-align: right; }
.dyno__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .82rem; color: var(--text-2); }
.dyno__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 18px; height: 3px; }
.lg--serie { background: #7a7a7a; }
.lg--stage { background: var(--accent); }
.lg--solid { background: var(--text-2); }
.lg--dash { background: repeating-linear-gradient(90deg, var(--text-2) 0 5px, transparent 5px 8px); }
.dyno__note { margin: 12px 0 0; font-size: .78rem; color: var(--muted); }

/* ---------- Hero-Layout für das Titelbild (Auto mittig) ---------- */
.hero { min-height: min(calc(100svh - var(--header-h)), 880px); max-height: none; }
@media (min-width: 1100px) {
  /* Foto auf die rechten ~62 %, Text steht links auf Schwarz */
  .hero__media { left: 38%; overflow: clip; }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(10,10,10,.75) 12%, rgba(10,10,10,0) 38%),
      linear-gradient(0deg, var(--bg) 0%, rgba(10,10,10,0) 28%),
      linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,0) 20%);
  }
  .hero h1 { max-width: 11ch; }
  .hero .lead { max-width: 480px; }
}
@media (min-width: 821px) and (max-width: 1099px) {
  .hero__media::after { background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.65) 45%, rgba(10,10,10,.15) 80%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
  .hero__media img { object-position: 30% 50%; }
}
@media (max-width: 820px) { .hero__media { aspect-ratio: 16 / 10; } }


/* ==========================================================================
   Launch-Control-Drag-Race (F23 vorne, F30 hinten) – Ablauf: assets/launch.js
   Positionen von Auspuff/Scheinwerfer/Hinterrad in % des jeweiligen Bildes.
   ========================================================================== */
.launch {
  --w: clamp(150px, 22vw, 330px);                 /* Breite des vorderen Autos */
  --start: clamp(10px, 5vw, 110px);               /* Heck des vorderen Autos an der Startposition */
  height: calc(var(--w) * .62 + 74px);
}
.launch .road__edge { bottom: 12px; }
.launch__divider { bottom: calc(var(--w) * .3 + 26px); }
.launch .road__text { left: auto; right: 5%; top: 16px; transform: none; }
@media (max-width: 700px) { .launch .road__text { display: none; } }

.launch__car { position: absolute; will-change: transform; z-index: 2; transform: translateX(calc(-1 * var(--start) - var(--w) - 80px)); }
.launch__car--front { left: var(--start); bottom: 18px; width: var(--w); --ex: 24%; --hl: 51%; --rw: 19%; z-index: 3; }
.launch__car--back { left: calc(var(--start) + var(--w) * .08); bottom: calc(var(--w) * .3 + 32px); width: calc(var(--w) * .92); --ex: 20%; --hl: 56%; --rw: 21%; }
.launch__body { transform-origin: 15% 100%; }
.launch__body img { display: block; width: 100%; height: auto; }
.launch.is-rev .launch__body img { animation: rev .06s steps(2, jump-none) infinite; }
.launch__car--back .launch__body img { animation-delay: .03s; }
@keyframes rev { 0% { transform: translate(0, 0); } 100% { transform: translate(-1px, -1px); } }
.launch.is-go .launch__body { animation: squat .7s cubic-bezier(.2, .8, .3, 1); }
@keyframes squat { 0% { transform: rotate(0); } 20% { transform: rotate(-2deg); } 100% { transform: rotate(0); } }

/* Scheinwerferkegel auf Höhe der Scheinwerfer */
.launch .road__beam { top: var(--hl); bottom: auto; left: calc(100% - 10px); height: 26px; width: 200px; margin-left: 0; transform: translateY(-50%); }

/* Flammen am Auspuff (Pixel-Sprites) */
.launch__flame { position: absolute; right: calc(100% - 6px); bottom: calc(var(--ex) - 10px); opacity: 0; transform-origin: 100% 50%; filter: drop-shadow(0 0 6px rgba(255, 120, 20, .9)); pointer-events: none; }
.launch__flame.is-pop { opacity: 1; animation: pop .09s steps(2, jump-none) 2; }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1.1); } }
.launch.is-go .launch__flame--long { opacity: 1; animation: burn .07s steps(2, jump-none) infinite; }
@keyframes burn { 0% { transform: scaleX(1); } 100% { transform: scaleX(.78) scaleY(.85); } }

/* Reifenqualm */
.launch__smoke { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.launch__puff { position: absolute; opacity: .8; animation: puff 1.6s ease-out forwards; }
@keyframes puff { 0% { transform: translate(0, 0) scale(.6); opacity: .85; } 100% { transform: translate(-70px, -26px) scale(2.6); opacity: 0; } }

/* Startlinie + Startampel */
.launch__line { position: absolute; left: calc(var(--start) + var(--w) + 6px); bottom: 12px; width: 8px; height: calc(var(--w) * .62 + 10px); background: repeating-conic-gradient(#e8e8e8 0 25%, #111 0 50%) 0 0 / 8px 8px; opacity: .85; }
.launch__lights { position: absolute; left: calc(var(--start) + var(--w) - 16px); top: 12px; display: flex; gap: 4px; padding: 4px; background: #111; border: 2px solid #2c2c2c; z-index: 4; }
.launch__lights i { width: 10px; height: 10px; background: #2a1212; }
.launch__lights i.on { background: #ff2b2b; box-shadow: 0 0 10px rgba(255, 43, 43, .9); }
.launch__lights.is-go i { background: #39e36b; box-shadow: 0 0 12px rgba(57, 227, 107, .9); }

@media (prefers-reduced-motion: reduce) { .launch__car { transform: none; } }
.footer__car { display: block; width: 170px; height: auto; margin-top: 20px; }
.page-head__sprite--car { width: clamp(240px, 28vw, 420px); height: auto; animation-timing-function: ease-in-out; }

/* ---------- Tuned by MODLAB ---------- */
.launch { height: calc(var(--w) * .62 + 96px); }
.launch__car--front { --ex: 25%; --hl: 51%; }
.launch__car--back { --ex: 22%; --hl: 54%; }
.launch__tag {
  position: absolute; left: 28%; bottom: calc(100% + 4px); z-index: 4;
  font: 600 .62rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  padding: 5px 7px; background: #1b1b1b; color: var(--muted); border: 1px solid #333;
  opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s steps(3);
}
.launch__tag::after { content: ""; position: absolute; left: 10px; top: 100%; border: 4px solid transparent; border-top-color: #333; }
.launch__car.has-tag .launch__tag { opacity: 1; transform: none; }
.launch__car.is-tuned .launch__tag { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 3px 3px 0 #7a1f05; }
.launch__car.is-tuned .launch__tag::after { border-top-color: var(--accent); }
.launch__car.is-tuned .launch__flame--long { scale: 1.4; transform-origin: 100% 50%; }

.launch__win {
  position: absolute; left: 60%; top: 50%; z-index: 5; pointer-events: none;
  transform: translate(-50%, -50%); opacity: 0; text-align: center;
  padding: 14px 22px 16px; background: rgba(10, 10, 10, .88); border: 2px solid #2c2c2c; box-shadow: 5px 5px 0 var(--accent);
}
.launch.is-win .launch__win { opacity: 1; animation: win-in .5s steps(5) both; }
@keyframes win-in {
  0% { clip-path: inset(0 100% 0 0); transform: translate(-47%, -50%); }
  60% { clip-path: inset(0 25% 0 0); transform: translate(-51%, -50%); }
  100% { clip-path: inset(0 0 0 0); transform: translate(-50%, -50%); }
}
.launch__win-kicker { display: block; font: 600 .68rem/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.launch__win strong { display: flex; align-items: center; justify-content: center; gap: 12px; font: 700 clamp(.85rem, 1.8vw, 1.2rem)/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.launch__win img { height: clamp(28px, 3.6vw, 50px); width: auto; }
@media (max-width: 700px) { .launch__win { left: 50%; padding: 10px 14px 12px; } }
/* Mehr Platz zwischen den Spuren für die Schilder */
.launch { height: calc(var(--w) * .62 + 118px); }
.launch__divider { bottom: calc(var(--w) * .3 + 38px); }
.launch__car--back { bottom: calc(var(--w) * .3 + 54px); }
.launch__line { height: calc(var(--w) * .62 + 34px); }
.launch__win strong { white-space: nowrap; }
/* Serienauto (Verlierer): keine Flammen */
.launch__car:not(.is-tuned) .launch__flame { display: none; }

/* ---------- Original Master-Tools (EVC-Lizenzsiegel) ---------- */
.trust { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 32px; padding: 20px 22px; background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; }
.section--alt .trust { background: var(--bg); }
.trust__badge { display: block; border-radius: 4px; transition: transform .2s var(--ease), box-shadow .2s; }
.trust__badge:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -10px rgba(255, 69, 16, .6); }
.trust__badge img { display: block; width: 236px; height: auto; border-radius: 4px; }
.trust h3 { margin: 0 0 6px; font-size: 1.1rem; }
.trust p { margin: 0; color: var(--text-2); font-size: .95rem; }
.trust small { display: block; margin-top: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--muted); }
.principles a { color: var(--text-2); }
.perf .trust { grid-template-columns: 1fr; gap: 14px; }
.perf .trust__badge { justify-self: start; }
@media (max-width: 640px) { .trust { grid-template-columns: 1fr; } }
