/* ==========================================================================
   CARDENO – Stylesheet
   Idee: Das Logo ist ein Auto, das gleichzeitig der Buchstabe E ist – mit drei
   waagrechten Balken. Diese drei Balken sind das Leitmotiv der Seite:
   Stage 1, 2 und 3 füllen sie nach und nach, Aufzählungen nutzen sie als Zeichen.
   Farben: Schwarz, Nachtblau und ein kräftiges Blau, wie vom Kunden gewünscht.
   ========================================================================== */

:root {
  --ink: #04060a;
  --deep: #080d16;
  --panel: #0c1424;
  --panel-2: #101b31;
  --line: #17233a;
  --line-strong: #243756;
  --text: #e9eef7;
  --muted: #98a6c0;
  --blue: #2f7bff;
  --blue-strong: #1f63e8;
  --blue-deep: #174bb8;
  --blue-soft: #7db1ff;
  --font: "Helvetica Neue", "HelveticaNeue", "Arial Nova", Arial, "Liberation Sans", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-ctl: 8px;
  --r-card: 16px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; color-scheme: dark; background: var(--ink); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: #fff; color: #000; padding: 10px 16px; border-radius: var(--r-ctl); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; hyphens: auto; overflow-wrap: break-word; color: #fff; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 58ch; color: #c3cde0; }
.text-link { font-weight: 700; color: var(--blue-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.text-link:hover { color: #fff; }

/* ---------- Balken-Motiv (das E aus dem Logo) ---------- */
.ebars { display: inline-flex; flex-direction: column; gap: 5px; width: 58px; }
.ebars i { display: block; height: 7px; border-radius: 2px; background: var(--line-strong); }
.ebars i.on { background: var(--blue); box-shadow: 0 0 14px rgba(47,123,255,.55); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none; border: 0;
  padding: 15px 28px; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -0.005em;
  background: var(--blue-strong); color: #fff; border-radius: var(--r-ctl);
  box-shadow: 0 0 0 0 rgba(47,123,255,0);
  transition: background-color .15s ease, box-shadow .2s ease, color .15s ease;
}
.btn:hover { background: var(--blue); box-shadow: 0 0 0 5px rgba(47,123,255,.22); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { background: rgba(47,123,255,.12); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--white { background: #fff; color: #0a2a73; }
.btn--white:hover { background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.28); }
.btn--block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 16px; }

/* ---------- Kopfzeile ---------- */
.topbar { background: var(--ink); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 28px; min-height: 40px; padding-block: 6px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar .social a { display: inline-flex; padding: 4px 6px; }
.topbar .social svg { margin: 0; width: 17px; height: 17px; stroke: currentColor; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(4,6,10,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 28px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.2vw, 32px); align-items: center; }
.nav a { display: inline-block; position: relative; padding: 8px 0; text-decoration: none; font-weight: 600; font-size: 1rem; color: #c9d3e6; transition: color .15s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.nav .nav-cta { background: var(--blue-strong); color: #fff; padding: 10px 20px; border-radius: var(--r-ctl); }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--blue); box-shadow: 0 0 0 4px rgba(47,123,255,.22); }

.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 640px) {
  .topbar [data-c="adresse"], .topbar .social { display: none; }
  .topbar .wrap { min-height: 0; }
  .brand img { height: 24px; }
}

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-top: 1px solid var(--line); display: none; padding: 8px var(--gutter) 24px; box-shadow: 0 18px 30px rgba(0,0,0,.6); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { display: block; padding: 16px 0; font-size: 1.15rem; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--blue-soft); }
  .nav li:last-child { border: 0; padding-top: 18px; }
  .nav .nav-cta { display: block; text-align: center; }
}

/* ---------- Unterseiten-Kopf (Grundlage) ---------- */
.page-hero { position: relative; background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(47,123,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,123,255,.09) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; right: -12%; top: -30%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(31,99,232,.42), rgba(31,99,232,0) 100%);
  pointer-events: none;
}

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); background: var(--ink); }
.section--deep { background: var(--deep); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { margin-bottom: 16px; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.section-head--row > div { max-width: 62ch; }
.section + .section:not(.section--deep) { border-top: 1px solid var(--line); }

/* ---------- Fahrzeuge ---------- */
.vehicles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vehicle {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  padding: clamp(26px, 3.4vw, 40px); border-radius: var(--r-card); background: linear-gradient(160deg, var(--panel-2), var(--panel) 55%, #091020);
  border: 1px solid var(--line); overflow: hidden;
}
.vehicle::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; background: radial-gradient(closest-side, rgba(47,123,255,.22), transparent); pointer-events: none; }
.vehicle svg { width: 68px; height: 68px; stroke: var(--blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.vehicle h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.vehicle p { color: #bcc7dc; max-width: 40ch; margin-bottom: 26px; }
.vehicle .btn { margin-top: auto; }
@media (max-width: 760px) { .vehicles { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.fact { padding: 22px 24px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--deep); }
.fact strong { display: block; color: #fff; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: .98rem; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Stages ---------- */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); padding-top: 10px; }
.stage {
  position: relative; display: flex; flex-direction: column; padding: 34px clamp(22px, 2.6vw, 34px) 36px;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(12,20,36,.55);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .25s ease, background .25s ease, opacity .3s ease;
}
.stage .ebars { margin-bottom: 26px; }
.stage h3 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.04em; margin-bottom: 14px; transition: color .25s ease; }
.stage p { margin: 0; color: #bcc7dc; max-width: 36ch; }
.stage .stage-for { margin-top: auto; padding-top: 22px; font-size: .95rem; color: var(--muted); }
.stage .stage-for strong { color: var(--blue-soft); }
.stage::after { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(47,123,255,0), var(--blue), rgba(47,123,255,0)); opacity: 0; transition: opacity .3s ease; }
@media (hover: hover) {
  .stages:hover .stage:not(:hover) { opacity: .5; }
  .stage:hover {
    transform: translateY(-12px); border-color: var(--blue); background: linear-gradient(180deg, #13223f 0%, #0d1830 100%);
    box-shadow: 0 28px 60px -18px rgba(47,123,255,.55), 0 0 0 1px rgba(47,123,255,.35);
  }
  .stage:hover::after { opacity: 1; }
  .stage:hover h3 { color: var(--blue-soft); }
}
.stage:focus-within { transform: translateY(-12px); border-color: var(--blue); background: linear-gradient(180deg, #13223f 0%, #0d1830 100%); box-shadow: 0 28px 60px -18px rgba(47,123,255,.55); }
@media (max-width: 860px) {
  .stages { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .stage, .stage:hover { transition: none; transform: none; } }

/* ---------- Marken ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.brand-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 132px; overflow: hidden;
  padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.brand-tile::after {
  content: attr(data-initial); position: absolute; right: 12px; top: -8px; font-size: 6.5rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px #1c2c49; pointer-events: none; transition: -webkit-text-stroke-color .15s ease;
}
.brand-tile strong { position: relative; z-index: 1; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.brand-tile span { position: relative; z-index: 1; margin-top: 6px; font-size: .9rem; color: var(--muted); }
.brand-tile:hover, .brand-tile:focus-visible { border-color: var(--blue); background: var(--panel-2); transform: translateY(-2px); }
.brand-tile:hover::after, .brand-tile:focus-visible::after { -webkit-text-stroke-color: rgba(47,123,255,.5); }
.brand-search { margin-bottom: 26px; max-width: 460px; }

/* ---------- Fahrzeug-Finder ---------- */
.finder { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-card); background: linear-gradient(170deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -30px rgba(31,99,232,.55); }
.finder h3 { font-size: 1.5rem; margin-bottom: 6px; }
.finder p { color: var(--muted); font-size: .98rem; margin-bottom: 20px; }
.finder .field + .field { margin-top: 14px; }
.finder .btn { margin-top: 22px; }
.tuning-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-bottom: clamp(32px, 5vw, 56px); }
@media (max-width: 900px) { .tuning-intro { grid-template-columns: 1fr; } }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { padding-block: clamp(44px, 6vw, 84px); }
.page-hero::before { -webkit-mask-image: radial-gradient(ellipse 70% 120% at 90% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 70% 120% at 90% 30%, #000 0%, transparent 70%); }
.page-hero::after { width: 55%; right: -10%; top: -90%; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.crumbs li + li::before { content: "›"; margin-right: 10px; color: var(--blue); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); margin-bottom: 18px; }
.page-hero .lead { margin: 0; }
.page-hero { border-bottom: 1px solid var(--line); }

/* ---------- Leistungssteigerung: Layout ---------- */
.tuning-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.brand-nav { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel); overflow: hidden; }
.brand-nav h2 { font-size: 1.2rem; padding: 22px 24px 12px; }
.brand-nav ul { list-style: none; margin: 0; padding: 0 0 12px; max-height: calc(100vh - var(--header-h) - 150px); overflow-y: auto; overscroll-behavior: contain; }
.brand-nav a { display: block; padding: 8px 24px; text-decoration: none; font-weight: 600; font-size: .98rem; color: #c3cde0; border-left: 3px solid transparent; }
.brand-nav a:hover { color: #fff; background: rgba(47,123,255,.08); }
.brand-nav a[aria-current="true"] { border-left-color: var(--blue); color: #fff; background: rgba(47,123,255,.14); }
@media (max-width: 980px) {
  .tuning-layout { grid-template-columns: 1fr; }
  .brand-nav { display: none; }
}

.brand-view__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 26px; }
.back-link { display: inline-block; margin-bottom: 18px; font-weight: 700; text-decoration: none; color: var(--blue-soft); }
.back-link:hover { color: #fff; text-decoration: underline; }
.model-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; list-style: none; margin: 0 0 56px; padding: 0; }
.model-list button {
  width: 100%; text-align: left; cursor: pointer; background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; font-weight: 600; line-height: 1.25; transition: border-color .15s ease, background-color .15s ease;
}
.model-list button:hover { border-color: var(--blue); }
.model-list button[aria-pressed="true"] { background: var(--blue-strong); border-color: var(--blue); color: #fff; }

.request-box { background: linear-gradient(170deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-strong); border-radius: var(--r-card); padding: clamp(24px, 4vw, 44px); scroll-margin-top: calc(var(--header-h) + 20px); }
.request-box h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.request-box > p { color: var(--muted); }

/* ---------- Formulare ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: #dce4f2; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: #070c17; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); padding: 13px 14px; line-height: 1.3; color: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #6a7a96; }
.field input[readonly] { color: #aebbd3; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #3a5282; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,123,255,.28); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%237db1ff' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select:disabled { background-color: #0a111f; color: #5d6c88; cursor: not-allowed; }
.field select option { background: #0c1424; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); margin: 18px 0 0; }
.form-note a { color: inherit; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { margin: 0; font-weight: 700; }
.form-status.is-ok { color: #6fe0a0; }
.form-status.is-error { color: #ff8f8f; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Dienstleistungen ---------- */
.mini-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-services a { display: block; padding: 24px 24px 26px; text-decoration: none; border-left: 1px solid var(--line); transition: background-color .15s ease; }
.mini-services a:first-child { border-left: 0; padding-left: 0; }
.mini-services strong { display: block; color: #fff; font-size: 1.08rem; margin-bottom: 4px; }
.mini-services span { color: var(--muted); font-size: .95rem; }
.mini-services a:hover strong { color: var(--blue-soft); }
@media (max-width: 980px) {
  .mini-services { grid-template-columns: 1fr 1fr; }
  .mini-services a:nth-child(3) { border-left: 0; padding-left: 0; }
  .mini-services a:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .mini-services { grid-template-columns: 1fr; }
  .mini-services a { border-left: 0; padding-left: 0; }
  .mini-services a + a { border-top: 1px solid var(--line); }
}

.service-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); }
.service-detail:first-of-type { border-top: 0; }
.service-detail svg { width: 50px; height: 50px; stroke: var(--blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.service-detail p { color: #bcc7dc; }
.service-detail .lead { color: #d7dfee; }
.service-detail ul { list-style: none; margin: 18px 0 0; padding: 0; }
.service-detail li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.service-detail li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 16px; height: 4px; border-radius: 2px; background: var(--blue); box-shadow: 0 -6px 0 var(--blue), 0 6px 0 var(--blue); opacity: .95; }
@media (max-width: 820px) { .service-detail { grid-template-columns: 1fr; } }

/* ---------- Über mich ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ticks { list-style: none; margin: 26px 0 32px; padding: 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 16px; color: #bcc7dc; }
.ticks strong { display: block; color: #fff; }
.badge-panel { position: relative; aspect-ratio: 1; border-radius: var(--r-card); border: 1px solid var(--line); background: radial-gradient(closest-side, rgba(47,123,255,.2), transparent 85%), var(--panel); display: grid; place-items: center; overflow: hidden; }
.badge-panel img { width: 52%; height: auto; filter: drop-shadow(0 0 30px rgba(47,123,255,.4)); }
.badge-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(47,123,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(47,123,255,.08) 1px, transparent 1px); background-size: 40px 40px; }
.badge-panel img { position: relative; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .badge-panel { max-width: 380px; } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; position: relative; padding-top: 68px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--blue); letter-spacing: -0.04em; }
.steps li::after { content: ""; position: absolute; left: 0; top: 56px; width: 44px; height: 4px; border-radius: 2px; background: var(--line-strong); }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 980px) { .steps, .steps.steps--3 { grid-template-columns: 1fr 1fr; gap: 40px 28px; } }
@media (max-width: 560px) { .steps, .steps.steps--3 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 0; font-weight: 700; font-size: 1.15rem; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details > div { padding: 0 0 24px; max-width: 64ch; color: #bcc7dc; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; background: linear-gradient(110deg, #0e2f78 0%, var(--blue-deep) 38%, var(--blue-strong) 100%); padding-block: clamp(48px, 7vw, 84px); overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); mask-image: linear-gradient(90deg, transparent 20%, #000); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 22ch; }
.cta-band p { margin: 12px 0 0; max-width: 52ch; color: #dbe7ff; }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.info-block + .info-block { margin-top: 38px; }
.info-block h2 { font-size: 1.35rem; margin-bottom: 12px; }
.info-block p, .info-block ul { margin: 0; color: #c3cde0; }
.info-block ul { list-style: none; padding: 0; }
.info-block a { text-decoration: none; font-weight: 700; color: #fff; }
.info-block a:hover { color: var(--blue-soft); text-decoration: underline; }
.hours { margin: 0; }
.hours div { display: grid; grid-template-columns: minmax(9.5rem, auto) 1fr; gap: 0 22px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 700; color: #fff; }
.hours dd { margin: 0; color: #c3cde0; }
.contact-empty { background: var(--panel); padding: 20px 22px; border-radius: 12px; border: 1px solid var(--line); border-left: 4px solid var(--blue); color: var(--muted); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; }
.legal p, .legal li { color: #c3cde0; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.15rem; margin: 26px 0 8px; letter-spacing: 0; }
.legal ul { padding-left: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); border-top: 1px solid var(--line); color: #b4c0d6; font-size: 1rem; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.footer-main img { height: 26px; width: auto; margin-bottom: 20px; }
.footer-main h2 { font-size: 1.05rem; color: #fff; margin-bottom: 16px; letter-spacing: -0.01em; }
.footer-main p, .footer-main ul { margin: 0; }
.footer-main ul { list-style: none; padding: 0; }
.footer-main li + li { margin-top: 8px; }
.footer-main a { text-decoration: none; }
.footer-main a:hover { color: #fff; text-decoration: underline; }
.footer-hours { display: grid; gap: 8px; margin: 0; }
.footer-hours div { display: block; }
.footer-hours dt { color: #fff; font-weight: 700; }
.footer-hours dd { margin: 0; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-block: 22px; font-size: .92rem; color: #7f8da8; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero__mark .draw { stroke-dashoffset: 0; fill: var(--blue); stroke: var(--blue); }
}

/* Zusatz: vier Fakten nebeneinander (Über mich) */
.facts--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .facts--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts--4 { grid-template-columns: 1fr; } }

/* Breite Karte (Transport auf der Startseite) */
.vehicle--wide { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px 40px; }
.vehicle--wide > div { max-width: 62ch; }
.vehicle--wide .btn { margin-top: 0; }
.badge-panel svg { position: relative; width: 46%; height: auto; stroke: var(--blue-soft); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 24px rgba(47,123,255,.5)); }

/* ==========================================================================
   Startseite: Hero mit Lamborghini. Die Scheinwerfer leuchten je nach Stage stärker.
   ========================================================================== */
.sh {
  --bar-h: 112px;
  --hero-h: clamp(680px, calc(100svh - 112px), 900px);
  --nx: 42.5%; --ny: 78.3%;      /* nahes Tagfahrlicht */
  --fx: 28.8%; --fy: 75.8%;      /* fernes Tagfahrlicht */
  --ls: 1;                        /* Skalierung der Leuchten */
  --a-near: .55; --a-far: 0; --a-road: 0; --a-tint: 0;
  position: relative; height: var(--hero-h); background: var(--ink); overflow: hidden; isolation: isolate;
}
.sh[data-stage="2"] { --a-near: .9; --a-far: .7; --a-road: 0; --a-tint: .25; }
.sh[data-stage="3"] { --a-near: 1; --a-far: 1; --a-road: .85; --a-tint: .55; }

.sh__scene { position: absolute; inset: 0 0 var(--bar-h) 0; z-index: -1; }
.sh__frame {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: max(100%, calc((var(--hero-h) - var(--bar-h)) * 2)); aspect-ratio: 2 / 1; container-type: inline-size;
}
.sh__img { position: absolute; inset: 0; background: url("../images/hero-lambo.jpg") center / 100% 100% no-repeat; }
.js .sh__img { opacity: 0; animation: sh-in 1.8s ease .1s forwards; }
@keyframes sh-in { to { opacity: 1; } }

.sh__light { position: absolute; pointer-events: none; border-radius: 50%; mix-blend-mode: screen; transform: translate(-50%, -50%); transition: opacity .9s ease; }
.sh__light--near {
  left: var(--nx); top: var(--ny); width: calc(24cqw * var(--ls)); height: calc(9cqw * var(--ls)); opacity: var(--a-near);
  background: radial-gradient(closest-side, rgba(150,200,255,.95) 0%, rgba(47,123,255,.6) 30%, rgba(47,123,255,0) 100%);
}
.sh__light--far {
  left: var(--fx); top: var(--fy); width: calc(11cqw * var(--ls)); height: calc(8cqw * var(--ls)); opacity: var(--a-far);
  background: radial-gradient(closest-side, rgba(150,200,255,.9) 0%, rgba(47,123,255,.55) 30%, rgba(47,123,255,0) 100%);
}
.sh__light--road {
  left: calc(var(--nx) + 3%); top: calc(var(--ny) + 17%); width: calc(52cqw * var(--ls)); height: calc(9cqw * var(--ls)); opacity: var(--a-road);
  background: radial-gradient(closest-side, rgba(47,123,255,.6), rgba(47,123,255,0) 100%);
}
.sh__frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 78%, rgba(31,99,232,.5), transparent 70%); mix-blend-mode: screen; opacity: var(--a-tint); transition: opacity .9s ease; pointer-events: none; }
.js .sh:not(.is-lit) .sh__light, .js .sh:not(.is-lit) .sh__frame::after { opacity: 0; }

.sh__copy { position: absolute; inset: 0 0 var(--bar-h) 0; display: flex; flex-direction: column; justify-content: flex-start; padding-top: clamp(48px, 9vh, 110px); text-align: center; pointer-events: none; }
.sh__copy > * { pointer-events: auto; }
.sh__copy h1 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); max-width: 17ch; margin: 0 auto 18px; }
.sh__copy .lead { margin: 0 auto 26px; max-width: 52ch; }
.sh__copy .wrap { }
.sh__copy-in { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sh__copy-in > * { max-width: 720px; margin-inline: auto; }
.sh__copy-in > h1 { max-width: 17ch; }
.sh__copy .btn-row { justify-content: center; }

.sh__bar { position: absolute; left: 0; right: 0; bottom: 0; height: var(--bar-h); border-top: 1px solid rgba(125,177,255,.2); background: linear-gradient(180deg, rgba(4,6,10,.6), rgba(4,6,10,.94)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sh__bar-in { height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px clamp(20px, 3.5vw, 48px); }
.sh__pick { display: flex; gap: 10px; }
.sh__pick button {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer; padding: 12px 18px; border-radius: var(--r-ctl);
  background: transparent; border: 1px solid var(--line-strong); font-weight: 700; color: #c9d3e6; transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.sh__pick button:hover { border-color: var(--blue); color: #fff; }
.sh__pick button[aria-pressed="true"] { border-color: var(--blue); background: rgba(47,123,255,.18); color: #fff; }
.sh__pick .ebars { width: 24px; gap: 3px; }
.sh__pick .ebars i { height: 4px; border-radius: 1px; }
.sh__desc { margin: 0; color: #c3cde0; max-width: 46ch; }

@media (max-width: 1060px) {
  .sh__bar-in { grid-template-columns: 1fr auto; }
  .sh__desc { grid-column: 1 / -1; grid-row: 2; display: none; }
}

@media (max-width: 900px) {
  .sh { --nx: 39.3%; --ny: 67.4%; --fx: 10.3%; --fy: 64.5%; --ls: 1.7; height: auto; display: flex; flex-direction: column; }
  .sh__copy { position: static; padding-block: clamp(40px, 9vw, 64px) 0; order: 1; pointer-events: auto; }
  .sh__copy-in > * { max-width: none; }
  .sh__copy .btn-row { flex-direction: column; align-items: stretch; }
  .sh__copy .btn-row .btn { justify-content: center; text-align: center; }
  .sh__copy h1 { max-width: none; font-size: clamp(2.1rem, 8.4vw, 3rem); }
  .sh__scene { position: relative; inset: auto; order: 2; margin-top: 8px; }
  .sh__frame { position: relative; left: auto; bottom: auto; transform: none; width: 100%; aspect-ratio: 4 / 3; }
  .sh__img { background-image: url("../images/hero-lambo-m.jpg"); }
      .sh__bar { position: relative; order: 3; height: auto; padding-block: 20px 26px; margin-top: -8px; }
  .sh__bar-in { grid-template-columns: 1fr; height: auto; gap: 16px; }
  .sh__pick { flex-wrap: wrap; }
  .sh__pick button { flex: 1 1 0; justify-content: center; padding-inline: 8px; gap: 8px; white-space: nowrap; font-size: .92rem; }
  .sh__pick .ebars { display: none; }
  .sh__desc { display: block; grid-row: auto; }
  .sh__bar-in .btn { text-align: center; }
}


/* Nur Handy: Standort, Angebots-Zeilen und Kontakt-Buttons im Hero */
.sh__loc, .sh__svc, .sh__mcta { display: none; }

/* ---------- Angebot als Inhaltsverzeichnis ---------- */
.index { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-strong); counter-reset: ix; }
.index__row {
  position: relative; display: grid; grid-template-columns: 3.2rem minmax(0, 1.5fr) minmax(0, 1fr) 17.5rem; align-items: center; gap: 16px clamp(16px, 3vw, 40px);
  padding: clamp(26px, 3.4vw, 40px) 0; border-top: 1px solid var(--line-strong); isolation: isolate; counter-increment: ix;
}
.index__row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: linear-gradient(90deg, rgba(47,123,255,.16), rgba(47,123,255,0) 75%); opacity: 0; transition: opacity .25s ease; }
.index__row:hover::before, .index__row:focus-within::before { opacity: 1; }
.index__big { grid-column: 2; display: block; font-size: clamp(2.3rem, 4.4vw, 4rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: #fff; transition: transform .25s ease, color .25s ease; }
.index__big::before { content: "0" counter(ix); position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: .95rem; font-weight: 600; letter-spacing: .08em; color: var(--blue-soft); }
.index__row:hover .index__big, .index__row:focus-within .index__big { transform: translateX(10px); color: var(--blue-soft); }
.index__row p { margin: 0; color: #bcc7dc; max-width: 36ch; }
.index__row .btn { justify-content: space-between; width: 100%; white-space: nowrap; }
.index__row .btn::after { content: "\2192"; margin-left: 12px; font-weight: 400; font-size: 1.15em; transition: transform .2s ease; }
.index__row .btn:hover::after { transform: translateX(4px); }
@media (max-width: 1040px) {
  .index__row { grid-template-columns: 2.6rem minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 10px clamp(14px, 2.4vw, 32px); }
  .index__big { grid-row: 1; }
  .index__row p { grid-column: 2; grid-row: 2; max-width: 52ch; }
  .index__row .btn { grid-column: 2; grid-row: 3; justify-self: start; width: auto; margin-top: 10px; }
}
@media (max-width: 640px) {
  .index__row { grid-template-columns: 1fr; grid-template-rows: auto; padding-block: 26px; }
  .index__big, .index__row p, .index__row .btn { grid-column: 1; grid-row: auto; }
  .index__big::before { position: static; display: block; transform: none; margin-bottom: 10px; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { margin: 0 0 14px; color: var(--blue-soft); font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Fahrzeug wählen: Formular neben Detailbild ---------- */
.fsplit-sec { overflow: hidden; }
.fsplit { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.fsplit__img { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -30px rgba(47,123,255,.35); }
.fsplit__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; display: block; }
.fsplit__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,6,10,0) 55%, rgba(4,6,10,.55)); pointer-events: none; }
.fsplit__body h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 14px; }
.finder-card { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.finder-card .btn { grid-column: 1 / -1; justify-content: center; }
.fsplit__more { margin: 20px 0 0; color: var(--muted); font-size: .95rem; }
.fsplit__chips { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fsplit__chips span { width: 100%; color: var(--muted); font-size: .9rem; }
.chip { display: inline-block; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: #dce4f2; font-size: .92rem; font-weight: 600; text-decoration: none; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.chip:hover, .chip:focus-visible { border-color: var(--blue); background: rgba(47,123,255,.14); color: #fff; }
@media (max-width: 900px) {
  .fsplit { grid-template-columns: 1fr; }
  .fsplit__img { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .finder-card { grid-template-columns: 1fr; } }

/* ---------- Schluss-Abschnitt mit ganzem Auto ---------- */
.closer { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(520px, 78vh, 720px); display: flex; align-items: center; border-top: 1px solid var(--line-strong); background: var(--ink); }
.closer__img { position: absolute; inset: 0; z-index: -1; background:
  url("../images/closer-bmw.jpg") 70% 60% / cover no-repeat; }
.closer__in { padding-block: clamp(64px, 9vw, 120px); }
.closer__in h2 { font-size: clamp(2.8rem, 7.2vw, 5.8rem); letter-spacing: -0.05em; line-height: .98; margin-bottom: 22px; }
.closer__in .lead { max-width: 34ch; color: #cfd8ea; }
.closer__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
@media (max-width: 760px) {
  .closer { display: block; min-height: 0; }
  .closer__img { position: relative; inset: auto; z-index: 0; height: 75vw; margin-bottom: -40px;
    background: linear-gradient(0deg, rgba(4,6,10,1) 0%, rgba(4,6,10,0) 28%), url("../images/closer-bmw-m.jpg") center / 100% 100% no-repeat; }
  .closer__in { padding-block: 0 56px; position: relative; }
}

@media (prefers-reduced-motion: reduce) { .js .sh__img { opacity: 1; animation: none; } .index__row:hover .index__big { transform: none; } }

/* ---------- Cookie-Hinweis ---------- */
.ck { position: fixed; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 1000; width: min(440px, calc(100vw - 24px)); padding: 24px 24px 20px; border-radius: 16px; background: rgba(10,16,30,.96); border: 1px solid var(--line-strong); box-shadow: 0 24px 70px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(47,123,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: ck-in .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes ck-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ck__title { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -0.01em; }
.ck__text { margin: 0 0 18px; color: #bcc7dc; font-size: .95rem; line-height: 1.55; }
.ck__text a { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 3px; }
.ck__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ck__btns .btn { flex: 1 1 0; justify-content: center; text-align: center; padding-inline: 14px; white-space: nowrap; }
.ck__link { display: block; margin: 14px auto 0; background: none; border: 0; padding: 4px 8px; color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ck__link:hover, .ck__link:focus-visible { color: #fff; }
.ck-lock { overflow: hidden; }
.ck-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 16px; }
.ck-modal__bg { position: absolute; inset: 0; background: rgba(2,4,8,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ck-modal__box { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 28px; border-radius: 16px; background: #0b1426; border: 1px solid var(--line-strong); box-shadow: 0 30px 90px -10px rgba(0,0,0,.9); animation: ck-in .35s ease both; }
.ck-modal__box h2 { margin: 0 0 18px; font-size: 1.5rem; letter-spacing: -0.02em; }
.ck-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.ck-row strong { display: block; margin-bottom: 4px; }
.ck-row p { margin: 0; color: #a9b6cf; font-size: .93rem; line-height: 1.5; }
.ck-switch { position: relative; flex: none; width: 46px; height: 26px; margin-top: 2px; cursor: pointer; }
.ck-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ck-switch__ui { position: absolute; inset: 0; border-radius: 999px; background: #1a2a47; border: 1px solid var(--line-strong); transition: background .2s ease; pointer-events: none; }
.ck-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.ck-switch input:checked + .ck-switch__ui { background: var(--blue); border-color: var(--blue); }
.ck-switch input:checked + .ck-switch__ui::after { transform: translateX(20px); }
.ck-switch input:disabled { cursor: not-allowed; }
.ck-switch input:disabled + .ck-switch__ui { opacity: .55; }
.ck-switch input:focus-visible + .ck-switch__ui { outline: 3px solid var(--blue-soft); outline-offset: 3px; }
.ck-modal__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.ck-modal__btns .btn { flex: 1 1 0; justify-content: center; text-align: center; white-space: nowrap; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linklike:hover, .linklike:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .ck { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 20px 18px 16px; } .ck__btns .btn { flex-basis: 100%; } .ck-modal__btns .btn { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .ck, .ck-modal__box { animation: none; } }

/* =====================================================================
   HANDY-ANSICHT: kompakter und übersichtlicher
   ===================================================================== */
@media (max-width: 860px) {
  /* Stage-Karten: seitlich wischen statt untereinander */
  .stages { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 18px; scroll-padding-inline: var(--gutter); }
  .stages::-webkit-scrollbar { display: none; }
  .stage { flex: 0 0 82%; scroll-snap-align: start; padding: 26px 22px 24px; }
  .stage .ebars { margin-bottom: 18px; }
  .stage h3 { font-size: 2rem; margin-bottom: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section { padding-block: 44px; }
  .section--tight { padding-block: 36px; }
  .section-head { margin-bottom: 22px; }
  .section-head h2 { margin-bottom: 10px; }
  .lead { font-size: 1.02rem; line-height: 1.55; }

  /* Seitenkopf */
  .page-hero { padding-block: 22px 28px; }
  .crumbs { margin-bottom: 10px; font-size: .85rem; }
  .page-hero h1 { font-size: 2rem; margin-bottom: 10px; }

  /* Startseite: Hero */
  .sh__copy { padding-block: 22px 0; }
  .sh__loc { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 12px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-soft); }
  .sh__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
  .sh__copy h1 { font-size: clamp(1.9rem, 8.2vw, 2.4rem); margin-bottom: 18px; }
  .sh__copy .lead { display: none; }
  .sh__svc { display: block; list-style: none; margin: 0; padding: 0; text-align: left; border-top: 1px solid var(--line-strong); }
  .sh__svc li { border-bottom: 1px solid var(--line-strong); }
  .sh__svc a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 1px 12px; align-items: center; padding: 13px 2px; color: #fff; text-decoration: none; }
  .sh__svc b { grid-column: 1; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
  .sh__svc span { grid-column: 1; font-size: .9rem; color: #aab8d0; line-height: 1.35; }
  .sh__svc a::after { content: ""; grid-column: 2; grid-row: 1 / 3; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13M11 4.5 16.5 10 11 15.5' fill='none' stroke='%237db1ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
  .sh__svc a:active { background: rgba(47,123,255,.12); }
  .sh__scene { margin-top: 10px; }
  .sh__frame { aspect-ratio: 610 / 410; }
  .sh { --ny: 63.7%; --fy: 60.4%; }
  .sh__pick, .sh__desc, .sh__bar-in > .btn { display: none; }
  .sh__bar { padding-block: 14px 24px; margin-top: -4px; }
  .sh__mcta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sh__mcta .btn { justify-content: center; text-align: center; padding-inline: 10px; }
  .sh__mcta [hidden] ~ .btn, .sh__mcta .btn:only-child { grid-column: 1 / -1; }

  /* Angebot: kompakte Zeilen, ganze Zeile mit Pfeil rechts */
  .index__row { grid-template-columns: minmax(0, 1fr) 48px; grid-template-rows: auto auto; gap: 4px 14px; padding-block: 20px; align-items: center; }
  .index__big { grid-column: 1; grid-row: 1; font-size: 1.9rem; }
  .index__big::before { position: static; display: block; transform: none; margin-bottom: 6px; font-size: .75rem; }
  .index__row p { grid-column: 1; grid-row: 2; font-size: .95rem; line-height: 1.45; }
  .index__row .btn { grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: end; width: 48px; height: 48px; min-height: 0; padding: 0; margin: 0; border-radius: 50%; display: grid; place-content: center; }
  .index__row .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .index__row .btn::after { content: ""; display: block; width: 20px; height: 20px; margin: 0; transform: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13M11 4.5 16.5 10 11 15.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
  .index__row .btn:hover::after { transform: none; }
  .index__row .btn::before { content: ""; position: absolute; inset: -200px -400px -200px -400px; }
  .index__row { overflow: hidden; }

  /* Fahrzeug wählen */
  .fsplit { gap: 22px; }
  .fsplit__img { aspect-ratio: 2 / 1; }
  .fsplit__img img { object-position: 50% 58%; }
  .fsplit__body h2 { font-size: 2rem; }
  .finder-card { margin-top: 18px; gap: 12px; }
  .fsplit__chips { margin-top: 18px; }

  /* Abschluss */
  .closer__in h2 { font-size: 2.5rem; margin-bottom: 14px; }
  .closer__in .lead { margin-bottom: 0; }
  .closer__btns { margin-top: 22px; flex-direction: column; }
  .closer__btns .btn { width: 100%; justify-content: center; }

  /* Marken: zwei Spalten */
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .brand-tile { min-height: 84px; padding: 14px 14px 12px; border-radius: 12px; }
  .brand-tile::after { font-size: 3.6rem; right: 8px; top: -4px; -webkit-text-stroke-width: 1px; }
  .brand-tile strong { font-size: 1.02rem; overflow-wrap: anywhere; }
  .brand-tile span { font-size: .8rem; margin-top: 3px; }
  .brand-search { margin-bottom: 16px; max-width: none; }

  /* Karten und Hinweise */
  .vehicles { gap: 14px; }
  .vehicle { padding: 22px 20px; }
  .vehicle svg { width: 44px; height: 44px; margin-bottom: 14px; }
  .vehicle p { margin-bottom: 18px; font-size: .98rem; }
  .vehicle .btn { width: 100%; justify-content: center; text-align: center; }
  .facts, .facts--4 { gap: 10px; margin-top: 14px; }
  .fact { padding: 16px 18px; }

  /* Schritte: Nummer links, Text rechts */
  .steps, .steps.steps--3 { gap: 22px; }
  .steps li { padding: 0 0 0 54px; min-height: 44px; }
  .steps li::before { font-size: 2.1rem; top: -4px; }
  .steps li::after { display: none; }
  .steps h3 { font-size: 1.1rem; margin-bottom: 4px; }

  /* Formulare */
  .form-grid { gap: 14px; margin-top: 18px; }
  form .btn[type="submit"], form button.btn { width: 100%; justify-content: center; text-align: center; }
  .form-note { font-size: .82rem; margin-top: 14px; }

  /* Fusszeile: kompakt, Links nebeneinander */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-block: 34px 26px; }
  .footer-main > div:nth-child(1), .footer-main > div:nth-child(2) { grid-column: 1 / -1; }
  .footer-main img { margin-bottom: 12px; }
  .footer-main h2 { margin-bottom: 10px; font-size: 1rem; }
  .footer-main li + li { margin-top: 6px; }
  .footer-bottom .wrap { flex-direction: column; gap: 10px; padding-block: 18px; font-size: .88rem; }
  .footer-bottom ul { flex-wrap: wrap; gap: 6px 18px; }
  .footer-bottom .linklike { white-space: nowrap; }
}


/* ==========================================================================
   HANDY: Doppelungen entfernen (Laptop bleibt unverändert)
   ========================================================================== */
@media (max-width: 640px) {
  /* Die drei Angebote stehen schon im Hero – «Mein Angebot» würde sie wiederholen */
  .sec-offer { display: none; }
  /* Kontaktdaten oben nicht doppelt: Anruf-Button steht direkt im Hero */
  body:has(.sh) .topbar { display: none; }
  /* Stage-Bereich: Einleitung weglassen, die Karten erklären sich selbst */
  .sec-stages .section-head .lead { display: none; }
  .sec-stages .section-head { margin-bottom: 18px; }
  /* Fusszeile: Logo-Text und Seitenliste wiederholen Menü und Startseite */
  .footer-main > div:nth-child(1) p { display: none; }
  .footer-main > div:nth-child(3) { display: none; }
  .footer-main > div:nth-child(4) { grid-column: 1 / -1; }
}


/* ==========================================================================
   HANDY: «Was fährst du?» und «Schreib mir direkt.» klar unterscheiden
   - Fahrzeug-Wahl = Werkzeug in einer Karte (links ausgerichtet)
   - Kontakt = Abschluss-Plakat (zentriert, weisser Hauptbutton)
   ========================================================================== */
@media (max-width: 640px) {
  .fsplit { gap: 0; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px -34px rgba(47,123,255,.45); }
  .fsplit__img { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
  .fsplit__img img { object-position: 50% 62%; }
  .fsplit__img::after { background: linear-gradient(180deg, rgba(12,20,36,0) 62%, var(--panel)); }
  .fsplit__body { padding: 4px 18px 22px; }
  .fsplit__body h2 { font-size: 1.75rem; }
  .fsplit__body .lead { font-size: .98rem; }
  .fsplit__more { font-size: .9rem; }

  .closer__in { text-align: center; }
  .closer__in .kicker { display: none; }
  .closer__in .lead { margin-inline: auto; }
  .closer__btns .btn:first-child { background: #fff; color: #0a2a73; }
  .closer__btns .btn:first-child:hover { background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.28); }
}

/* ==========================================================================
   Leistungsübersicht beim Modell: Serie gegen Stage 1 / 2 / 3
   ========================================================================== */
.power { margin: 0 0 56px; padding: clamp(22px, 3.4vw, 40px); background: linear-gradient(170deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-strong); border-radius: var(--r-card); scroll-margin-top: calc(var(--header-h) + 20px); box-shadow: 0 30px 80px -40px rgba(47,123,255,.4); }
.power[hidden] { display: none; }
.power__head h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.03em; margin: 0 0 14px; }
.power__badge { display: inline-block; margin: 0 0 16px; padding: 5px 12px; border: 1px dashed #f0b44c; border-radius: 999px; color: #f6c76b; font-size: .85rem; font-weight: 600; }
.power__motor { margin: 0 0 14px; color: var(--muted); }
.power__variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.power__variants button, .power__tabs button { cursor: pointer; font: inherit; font-weight: 600; color: #dce4f2; background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.power__variants button:hover, .power__tabs button:hover:not(:disabled) { border-color: var(--blue); color: #fff; }
.power__variants button[aria-pressed="true"] { background: rgba(47,123,255,.18); border-color: var(--blue); color: #fff; }
.power__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 20px; }
.power__tabs button { border-radius: 10px; padding: 13px 10px; text-align: center; }
.power__tabs button[aria-pressed="true"] { background: var(--blue-strong); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(47,123,255,.2); }
.power__tabs button:disabled { opacity: .4; cursor: not-allowed; }
.power__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.power__stats div { padding: 16px 14px; background: rgba(4,6,10,.45); border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.power__stats strong { display: block; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--blue-soft); }
.power__stats span { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; }
.power__bars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; margin-bottom: 26px; }
.power__bar h4 { margin: 0 0 10px; font-size: 1rem; color: #fff; }
.pb { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) 5.2rem; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .92rem; }
.pb span { color: var(--muted); }
.pb em { font-style: normal; font-weight: 700; text-align: right; color: #dce4f2; }
.pb i { display: block; height: 12px; background: rgba(125,177,255,.1); border-radius: 6px; overflow: hidden; }
.pb b { display: block; height: 100%; background: #4a5a78; border-radius: 6px; animation: pbgrow .7s ease both; }
.pb--on b { background: linear-gradient(90deg, var(--blue-strong), var(--blue)); box-shadow: 0 0 14px rgba(47,123,255,.6); }
.pb--on em { color: #fff; }
@keyframes pbgrow { from { width: 0 !important; } }
.power__table { overflow-x: auto; margin-bottom: 18px; }
.power__table table { width: 100%; border-collapse: collapse; min-width: 420px; }
.power__table th, .power__table td { padding: 12px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.power__table thead th { color: var(--muted); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.power__table th:first-child, .power__table td:first-child { text-align: left; }
.power__table tbody th { font-weight: 600; color: #fff; }
.power__table .on { color: #fff; background: rgba(47,123,255,.12); font-weight: 700; }
.power__table small { display: block; color: var(--blue-soft); font-weight: 600; }
.power__note { margin: 0 0 22px; color: var(--muted); font-size: .92rem; max-width: 70ch; }
.power__empty { margin: 0 0 22px; color: #c3cde0; max-width: 62ch; }
.power__foot .btn { width: auto; }
@media (max-width: 760px) {
  .power__bars { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .power { margin-bottom: 36px; padding: 20px 16px; }
  .power__tabs { gap: 8px; margin: 14px 0 16px; }
  .power__stats { gap: 8px; margin-bottom: 20px; }
  .power__stats div { padding: 12px 6px; }
  .power__stats span { font-size: .78rem; }
  .pb { grid-template-columns: 3.6rem minmax(0, 1fr) 4.6rem; gap: 8px; font-size: .88rem; }
  .power__table table { min-width: 0; font-size: .9rem; }
  .power__table th, .power__table td { padding: 10px 5px; }
  .power__foot .btn { width: 100%; justify-content: center; }
}

.tuning-layout > div { min-width: 0; }
.power { min-width: 0; }
@media (max-width: 640px) {
  .power__table th, .power__table td { padding: 10px 4px; font-size: .9rem; }
  .power__table tbody th { white-space: normal; line-height: 1.25; }
  .power__table thead th { font-size: .72rem; letter-spacing: .03em; }
  .power__table small { font-size: .78rem; }
}
@media (max-width: 640px) { .power__stats strong { font-size: 1.3rem; white-space: nowrap; } }

.power__typ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0 24px; }
.power__typ > div { padding: 18px 16px; background: rgba(4,6,10,.45); border: 1px solid var(--line); border-radius: 12px; }
.power__typ h4 { margin: 0 0 12px; font-size: 1rem; color: #fff; }
.power__typ p { margin: 0 0 10px; }
.power__typ p:last-child { margin-bottom: 0; }
.power__typ strong { display: block; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.02em; color: var(--blue-soft); line-height: 1.15; }
.power__typ span { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
@media (max-width: 640px) {
  .power__typ { grid-template-columns: 1fr; gap: 10px; }
  .power__typ > div { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 14px; }
  .power__typ h4 { grid-column: 1 / -1; margin-bottom: 4px; }
}

/* Seitenliste: Modelle unter der geöffneten Marke */
.brand-nav li.is-open > a { color: #fff; font-weight: 700; }
.brand-nav .brand-nav__models { max-height: none; overflow: visible; padding: 2px 0 10px; margin: 0; background: rgba(4,6,10,.35); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-nav .brand-nav__models a { padding: 7px 24px 7px 42px; font-weight: 500; font-size: .93rem; color: #aeb9cf; }
.brand-nav .brand-nav__models a[aria-current="true"] { color: #fff; font-weight: 700; }

/* ==========================================================================
   Karten: Modell → Generation → Motor (wie hmperformance.ch)
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; list-style: none; margin: 0 0 48px; padding: 0; }
.cards[hidden] { display: none; }
.cards--engines { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.mcard { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 100%; min-height: 78px; padding: 16px 18px; text-decoration: none; color: #fff; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.mcard:hover, .mcard:focus-visible { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 18px 40px -24px rgba(47,123,255,.7); }
.mcard[aria-current="true"] { border-color: var(--blue); background: rgba(47,123,255,.14); }
.mcard strong { font-size: 1.05rem; line-height: 1.25; }
.mcard span { color: var(--muted); font-size: .88rem; }
.ecard { display: flex; flex-direction: column; padding: 20px 20px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s ease, transform .2s ease; }
.ecard:hover { border-color: var(--blue); transform: translateY(-3px); }
.ecard h3 { font-size: 1.25rem; margin: 0 0 6px; }
.ecard p { margin: 0 0 4px; color: #c3cde0; font-size: .95rem; }
.ecard .ecard__ps { color: var(--blue-soft); font-weight: 700; font-style: italic; font-size: 1.05rem; margin-bottom: 10px; }
.ecard .btn { margin-top: auto; align-self: flex-start; }
.ecard p:last-of-type { margin-bottom: 18px; }
.brand-nav .brand-nav__gens { max-height: none; overflow: visible; padding: 0; margin: 0; }
.brand-nav .brand-nav__gens a { padding: 6px 24px 6px 58px; font-weight: 500; font-size: .88rem; color: #8fa0bf; }
.brand-nav .brand-nav__gens a[aria-current="true"] { color: #fff; font-weight: 700; }
@media (max-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 34px; }
  .cards--engines { grid-template-columns: 1fr; }
  .mcard { padding: 12px 14px; min-height: 64px; }
  .mcard strong { font-size: .98rem; }
}

/* Bestätigung nach dem Senden */
.thanks { position: fixed; inset: 0; z-index: 1050; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(2,4,8,.78); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.thanks.is-in { opacity: 1; }
.thanks__box { width: 100%; max-width: 440px; text-align: center; padding: 40px 28px 30px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(47,123,255,.15); transform: translateY(14px) scale(.97); transition: transform .3s ease; outline: none; }
.thanks.is-in .thanks__box { transform: none; }
.thanks__icon { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--blue); box-shadow: 0 0 0 8px rgba(47,123,255,.2); }
.thanks h2 { margin: 0 0 10px; font-size: 1.6rem; color: var(--text); }
.thanks p { margin: 0 0 26px; color: var(--muted); line-height: 1.55; }
.thanks .btn { min-width: 160px; }
body.thanks-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .thanks, .thanks__box { transition: none; } }
