/* MJ AutoTech – Stil: Schwarz, Chrom, Rot (Rücklicht) */
:root {
  --bg: #060708;
  --bg2: #0c0e11;
  --panel: #111418;
  --panel2: #161a1f;
  --line: #22272e;
  --line2: #2e343c;
  --text: #eef0f3;
  --muted: #9aa1ab;
  --dim: #6b727c;
  --red: #e3170a;
  --red2: #ff3b2f;
  --red-glow: rgba(227, 23, 10, 0.45);
  --chrome: linear-gradient(180deg, #ffffff 0%, #d9dce1 38%, #8d929a 62%, #e9ebee 100%);
  --radius: 16px;
  --head: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wide: "Michroma", "Exo 2", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Symbole ---------- */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic.fill { fill: currentColor; stroke: none; }
.ic-badge {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background:
    linear-gradient(#15191e, #15191e) padding-box,
    linear-gradient(145deg, #5b6068, #1c2026 45%, #3a1210 100%) border-box;
  border: 1px solid transparent;
  color: #e6e8eb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(0,0,0,.35);
}
.ic-badge .ic { width: 28px; height: 28px; }
.ic-badge.red { color: var(--red2); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.solid { background: rgba(6, 7, 8, .88); backdrop-filter: blur(12px); border-color: var(--line); }
.bar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 44px; display: block; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 500; letter-spacing: .2px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .nav-cta {
  color: #fff; background: var(--red); padding: 9px 16px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav .nav-cta:hover { background: var(--red2); color: #fff; }
.nav .nav-cta .ic { width: 18px; height: 18px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 10px; width: 44px; height: 40px; }
.menu-btn .ic { width: 22px; height: 22px; }

/* ---------- Startbereich ---------- */
.hero {
  position: relative; min-height: min(100vh, 940px);
  display: grid; place-items: center; text-align: center;
  padding: 120px 20px 90px;
  background: #000 url("../bilder/garage.jpg") center 32% / cover no-repeat;
  overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(0,0,0,.25), rgba(0,0,0,.88) 72%),
    linear-gradient(180deg, rgba(6,7,8,.85) 0%, rgba(6,7,8,.25) 35%, rgba(6,7,8,.55) 70%, var(--bg) 100%);
}
/* feine Lichtlinien wie die Decke in der Garage */
.hero .beam {
  position: absolute; left: -20%; right: -20%; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  opacity: 0; animation: beam 7s ease-in-out infinite;
}
.hero .beam.b1 { top: 22%; animation-delay: 1.5s; }
.hero .beam.b2 { top: 78%; animation-delay: 4.5s; background: linear-gradient(90deg, transparent, rgba(227,23,10,.7), transparent); }
@keyframes beam { 0% { transform: translateX(-30%); opacity: 0; } 15% { opacity: .9; } 50% { transform: translateX(30%); opacity: 0; } 100% { opacity: 0; } }

.hero-inner { max-width: 860px; }
.logo-stage { position: relative; width: min(600px, 88vw); margin: 0 auto 6px; perspective: 900px; }
.logo-tilt { position: relative; transform-style: preserve-3d; transition: transform .25s ease-out; animation: logoIn 1.6s cubic-bezier(.2,.7,.2,1) both; }
.logo-tilt > img { display: block; width: 100%; filter: drop-shadow(0 10px 40px rgba(0,0,0,.9)); animation: breathe 7s 1.6s ease-in-out infinite; }
/* Chrom-Glanz, läuft regelmässig über das Logo */
.shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.9) 50%, transparent 60%);
  background-size: 260% 100%; background-position: 130% 0; mix-blend-mode: overlay;
  -webkit-mask: url("../bilder/logo.png") center / contain no-repeat;
          mask: url("../bilder/logo.png") center / contain no-repeat;
  animation: sweep 5.5s 1.2s ease-in-out infinite;
}
/* Rücklicht pulsiert */
.taillight {
  position: absolute; right: -1%; top: 30%; width: 18%; height: 22%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,40,25,.85), rgba(227,23,10,.35) 45%, transparent 75%);
  filter: blur(10px); mix-blend-mode: screen; opacity: 0;
  animation: glow 2.8s 1.4s ease-in-out infinite;
}
/* Spiegelung wie auf nassem Boden */
.logo-reflection {
  position: absolute; left: 0; top: 96%; width: 100%; pointer-events: none;
  transform: scaleY(-1); opacity: .16; filter: blur(2.5px);
  -webkit-mask: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 28%);
          mask: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 28%);
  animation: reflIn 1.2s 1s both;
}
@keyframes reflIn { from { opacity: 0; } to { opacity: .16; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.015); } }
.slogan {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--wide); font-size: clamp(10px, 1.6vw, 13px); letter-spacing: .45em;
  color: #cfd2d7; text-transform: uppercase; margin: 8px 0 14px;
}
.intro .slogan { animation: fadeUp .8s 1s both; }
.slogan::before, .slogan::after { content: ""; width: 64px; height: 1px; background: linear-gradient(90deg, transparent, #8a9099); }
.slogan::after { transform: scaleX(-1); }
.hero-lead { color: #b4bac3; font-size: clamp(15px, 2vw, 18px); max-width: 620px; margin: 0 auto 30px; }
.intro .hero-lead { animation: fadeUp .8s 1.2s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.intro .hero-actions { animation: fadeUp .8s 1.4s both; }
.scroll-cue { position: absolute; bottom: 72px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid #6b727c; border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--red2); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes logoIn { from { opacity: 0; transform: scale(.93); filter: blur(10px) brightness(.2); } to { opacity: 1; transform: none; filter: drop-shadow(0 10px 40px rgba(0,0,0,.9)); } }
@keyframes sweep { 0% { background-position: 130% 0; } 45%, 100% { background-position: -130% 0; } }
@keyframes glow { 0%, 100% { opacity: .35; } 45% { opacity: 1; } 55% { opacity: .85; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 15.5px; letter-spacing: .3px;
  text-decoration: none; color: #fff; cursor: pointer;
  background: linear-gradient(180deg, #f0291c, #c51207); border: 0;
  padding: 14px 24px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(227,23,10,.35), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(227,23,10,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.btn .ic { width: 20px; height: 20px; }
.btn.ghost { background: rgba(255,255,255,.05); border: 1px solid var(--line2); box-shadow: none; backdrop-filter: blur(6px); }
.btn.ghost:hover { border-color: #4a5058; }
.btn.small { padding: 10px 16px; font-size: 14px; border-radius: 10px; }

/* ---------- Vorteile-Leiste ---------- */
.trust { position: relative; margin-top: -46px; z-index: 2; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(17, 20, 24, .92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.trust-item { display: flex; gap: 14px; align-items: center; padding: 20px 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .ic { width: 30px; height: 30px; color: var(--red2); }
.trust-item b { display: block; font-family: var(--head); font-size: 15.5px; }
.trust-item span { color: var(--muted); font-size: 13.5px; }

/* ---------- Abschnitte ---------- */
section { padding: 96px 0; position: relative; }
section.alt { background: var(--bg2); }
section.alt::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line2), transparent); }
.head { max-width: 720px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--wide); font-size: 11px; letter-spacing: .32em; color: var(--red2); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
h2 {
  font-family: var(--head); font-weight: 800; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08;
  margin: 14px 0 14px; letter-spacing: -.3px;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.head p { color: var(--muted); margin: 0; font-size: 17px; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  position: relative; padding: 26px 24px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.service::after {
  content: ""; position: absolute; inset: auto -40% -60% -40%; height: 120px;
  background: radial-gradient(closest-side, rgba(227,23,10,.18), transparent); opacity: 0; transition: opacity .3s;
}
.service:hover { transform: translateY(-4px); border-color: #3b1512; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.service:hover::after { opacity: 1; }
.service h3 { font-family: var(--head); font-size: 19px; margin: 18px 0 8px; }
.service p { color: var(--muted); font-size: 14.5px; margin: 0; }
.service .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--red2); font-size: 14px; font-weight: 600; text-decoration: none; }
.service .more .ic { width: 16px; height: 16px; }

/* Spezialgebiet Scheinwerfer */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split-visual {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 4.4;
  border: 1px solid var(--line); background: #000;
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 67%; display: block; transform: scale(1.75); transform-origin: 50% 67%; filter: saturate(.9) contrast(1.05); }
.split-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6,7,8,.85)); }
.split-visual .badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 1;
  font-family: var(--wide); font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  background: rgba(6,7,8,.7); border: 1px solid var(--line2); padding: 10px 14px; border-radius: 10px; backdrop-filter: blur(6px);
}
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li .ic { color: var(--red2); margin-top: 1px; }
.checks b { display: block; font-family: var(--head); font-size: 16.5px; }
.checks span { color: var(--muted); font-size: 14.5px; }

/* Produkte */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.filters.sub { margin-bottom: 30px; }
.chip {
  font: 600 14px var(--body); color: var(--muted); cursor: pointer;
  background: var(--panel); border: 1px solid var(--line2); border-radius: 999px; padding: 8px 16px;
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: #4a5058; }
.chip.on { color: #fff; background: linear-gradient(180deg, #2a1210, #1a0b0a); border-color: var(--red); box-shadow: 0 0 0 1px rgba(227,23,10,.25) inset; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.product {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.product:hover { transform: translateY(-4px); border-color: #3b1512; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.product-visual {
  position: relative; height: 150px; display: grid; place-items: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 60%, rgba(227,23,10,.16), transparent 70%),
    linear-gradient(180deg, #1b1f25, #0f1215);
  border-bottom: 1px solid var(--line);
}
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-visual .ic { width: 64px; height: 64px; stroke-width: 1.2; color: #dfe2e6; filter: drop-shadow(0 6px 16px rgba(0,0,0,.6)); }
.product-visual .cat {
  position: absolute; left: 14px; bottom: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.product-visual .brands { position: absolute; right: 12px; top: 10px; display: flex; gap: 6px; }
.product-visual .brands span { font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.45); border: 1px solid var(--line2); }
.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-family: var(--head); font-size: 18.5px; margin: 0 0 2px; line-height: 1.25; }
.product-body .subt { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.product-body .models { font-size: 12.5px; color: #c5cad1; background: #0c0e11; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; margin-bottom: 12px; }
.product-body ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; }
.product-body li { display: flex; gap: 8px; font-size: 14px; color: #c9ced5; }
.product-body li .ic { width: 16px; height: 16px; color: var(--red2); margin-top: 3px; stroke-width: 2; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.price { font-family: var(--head); font-weight: 700; font-size: 15px; }
.price small { display: block; font-family: var(--body); font-weight: 400; color: var(--dim); font-size: 12px; }
.products-note { color: var(--dim); font-size: 13.5px; margin-top: 24px; display: flex; gap: 10px; align-items: flex-start; }
.products-note .ic { width: 18px; height: 18px; color: var(--muted); margin-top: 2px; }

/* Highlights: Sternenhimmel */
.star-feature {
  position: relative; overflow: hidden; border-radius: 22px; min-height: 420px;
  border: 1px solid var(--line); margin-bottom: 18px;
  background:
    linear-gradient(90deg, #06070a 30%, rgba(6,7,10,.55) 62%, rgba(6,7,10,.15) 100%),
    url("../bilder/galerie/sternenhimmel-2.jpg") right 30% / 60% auto no-repeat,
    radial-gradient(ellipse 90% 80% at 75% 20%, #10162a 0%, #07080c 60%, #040406 100%);
  display: flex; align-items: center;
}
.star-feature canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.star-text { position: relative; max-width: 620px; padding: 56px 48px; }
.star-text h2 { margin-top: 14px; }
.star-text p { color: #b9c0ca; font-size: 17px; margin: 0 0 26px; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.highlight {
  display: block; text-decoration: none; padding: 26px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.highlight:hover { transform: translateY(-4px); border-color: #3b1512; }
.highlight h3 { font-family: var(--head); font-size: 19px; margin: 18px 0 8px; }
.highlight p { color: var(--muted); font-size: 14.5px; margin: 0; }
.highlight .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--red2); font-size: 14px; font-weight: 600; }
.highlight .more .ic { width: 16px; height: 16px; }

/* Top-Seller und "mehr anzeigen" */
.product.top { border-color: rgba(227,23,10,.45); }
.top-badge {
  position: absolute; left: 12px; top: 10px;
  font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: linear-gradient(180deg, #f0291c, #c51207); padding: 4px 9px; border-radius: 6px;
}
.more-wrap { text-align: center; margin-top: 28px; }
.more-wrap .btn[hidden] { display: none; }
.result-count { color: var(--dim); font-size: 13.5px; margin: -14px 0 18px; }

/* Kopfzeile: kleines Logo erst nach dem Startbild */
.site-header .brand { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s; pointer-events: none; }
.site-header.solid .brand { opacity: 1; transform: none; pointer-events: auto; }

/* Überschrift mit Link rechts */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.head-row .head { margin-bottom: 0; }
.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--red2); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more .ic { width: 18px; height: 18px; }

/* Kollektionen (Bild-Kacheln) */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.collection {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: 300px; padding: 20px; border-radius: 18px; overflow: hidden; text-decoration: none;
  border: 1px solid var(--line); isolation: isolate;
}
.collection::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; transition: transform .7s; }
.collection::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.85)); }
.collection:hover::before { transform: scale(1.06); }
.col-title { font-family: var(--head); font-weight: 800; font-size: clamp(17px, 1.6vw, 21px); hyphens: manual; overflow-wrap: anywhere; line-height: 1.15; text-transform: uppercase; letter-spacing: .3px; }
.col-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.55); padding: 9px 14px; border-radius: 8px; backdrop-filter: blur(4px); }
.col-btn .ic { width: 16px; height: 16px; }
.collection:hover .col-btn { background: var(--red); border-color: var(--red); }

/* Marken-Kacheln */
.brand-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.brand-tile {
  position: relative; min-height: 340px; border-radius: 18px; overflow: hidden; isolation: isolate; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border: 1px solid var(--line);
}
.brand-tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; transition: transform .7s; filter: saturate(.85); }
.brand-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.88) 75%); }
.brand-tile:hover::before { transform: scale(1.06); }
.brand-tile b { font-family: var(--wide); font-size: 20px; letter-spacing: .14em; }
.brand-tile span { color: #c7ccd3; font-size: 14px; margin: 4px 0 12px; }
.brand-tile em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; color: var(--red2); font-weight: 700; font-size: 14px; }
.brand-tile em .ic { width: 16px; height: 16px; }
.brand-tile.main { border-color: rgba(227,23,10,.6); }
.brand-tile.plain::before { background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(227,23,10,.18), transparent 60%),
    repeating-linear-gradient(135deg, #121519 0 14px, #101317 14px 28px); }
.brand-tile.plain::after { background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.5)); }
.brand-tile .tile-ic { position: absolute; top: 22px; left: 22px; width: 46px; height: 46px; color: #8a9099; stroke-width: 1.2; }

/* Shop-Karten (wie Shopify) */
.shop-grid { grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.shop-card { background: none; border: 0; cursor: pointer; text-align: left; color: inherit; font: inherit; padding: 0; display: flex; flex-direction: column; }
.shop-card .sc-img { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #1b1f25, #0f1215); border: 1px solid var(--line); display: grid; place-items: center; }
.shop-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.shop-card:hover .sc-img img { transform: scale(1.05); }
.shop-card .sc-img .ic { width: 64px; height: 64px; stroke-width: 1.2; color: #dfe2e6; }
.shop-card .top-badge { left: 10px; top: 10px; }
.shop-card .sc-brands { position: absolute; right: 10px; top: 10px; display: flex; gap: 5px; }
.shop-card .sc-brands span { font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.15); }
.shop-card .sc-body { padding: 12px 2px 0; }
.shop-card .sc-vendor { font-size: 11px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.shop-card h3 { font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1.35; margin: 4px 0 4px; }
.shop-card .sc-sub { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.shop-card .sc-price { font-family: var(--head); font-weight: 700; font-size: 16px; }
.shop-card .sc-price small { font-family: var(--body); font-weight: 400; color: var(--dim); font-size: 12px; }

/* Produkt-Detail */
.pmodal { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.8); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(4px); }
.pmodal[hidden] { display: none; }
.pmodal-box { position: relative; width: min(980px, 100%); max-height: 92vh; overflow: auto; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--panel); border: 1px solid var(--line2); border-radius: 20px; }
.pm-media { position: relative; overflow: hidden; background: #0b0d10; display: grid; place-items: center; min-height: 340px; }
.pm-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-media .ic { width: 110px; height: 110px; stroke-width: 1; color: #dfe2e6; }
.pm-info { padding: 32px 30px; }
.pm-vendor { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.pm-info h3 { font-family: var(--head); font-size: 26px; margin: 6px 0 8px; line-height: 1.15; }
.pm-price { font-family: var(--head); font-weight: 700; font-size: 22px; margin-bottom: 12px; }
.pm-price small { display: block; font-family: var(--body); font-weight: 400; font-size: 12.5px; color: var(--dim); }
.pm-sub { color: var(--muted); margin: 0 0 12px; }
.pm-models { font-size: 13px; color: #c5cad1; background: #0c0e11; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; }
.pm-info ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 7px; }
.pm-info li { display: flex; gap: 8px; color: #c9ced5; font-size: 14.5px; }
.pm-info li .ic { width: 17px; height: 17px; color: var(--red2); margin-top: 3px; stroke-width: 2; }
.pm-note { color: var(--dim); font-size: 12.5px; margin: 16px 0 0; }
.pm-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 12px; background: rgba(0,0,0,.6); border: 1px solid var(--line2); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pm-close .ic { transform: rotate(45deg); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 22px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; right: 18px; top: 14px;
  font-family: var(--wide); font-size: 28px; color: #1f242a;
}
.step h3 { font-family: var(--head); font-size: 18px; margin: 18px 0 6px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Marken */
.marques { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.marque { text-align: center; padding: 30px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.marque b { display: block; font-family: var(--wide); font-size: clamp(15px, 1.8vw, 19px); letter-spacing: .14em; margin-bottom: 6px; }
.marque span { color: var(--muted); font-size: 14px; }
.marque.main { border-color: rgba(227,23,10,.6); background: linear-gradient(180deg, #1a0f0e, var(--panel)); }
.marque.main span { color: var(--red2); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 12px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); position: relative; }
.gallery figure.big { grid-column: span 2; grid-row: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery a { display: block; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s, filter .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; pointer-events: none;
  font-size: 13.5px; font-weight: 600; color: #e9ecef;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.75));
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.videos { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; margin-top: 14px; }
.video-card { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; height: 460px; }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.8)); }
.video-card b { display: block; font-family: var(--head); font-size: 17px; }
.video-card span { color: #c5cad1; font-size: 13.5px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 50px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 82vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #cfd3d8; margin: 0; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--line2); color: #fff; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; }
.lb-close { top: 16px; right: 16px; } .lb-close .ic { transform: rotate(45deg); }
.lb-prev { left: 16px; top: 50%; } .lb-prev .ic { transform: scaleX(-1); }
.lb-next { right: 16px; top: 50%; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--head); font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s; color: var(--red2); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Kontakt */
.contact-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
.contact-card {
  border-radius: 20px; padding: 34px; border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(227,23,10,.14), transparent 60%),
    var(--panel);
}
.contact-card h3 { font-family: var(--head); font-size: 26px; margin: 0 0 8px; }
.contact-card > p { color: var(--muted); margin: 0 0 24px; }
.contact-list { display: grid; gap: 12px; margin-bottom: 28px; }
.contact-row { display: flex; gap: 16px; align-items: center; text-decoration: none; padding: 14px 16px; border-radius: 12px; background: #0c0e11; border: 1px solid var(--line); transition: border-color .2s; }
a.contact-row:hover { border-color: #4a5058; }
.contact-row .ic-badge { width: 44px; height: 44px; border-radius: 11px; }
.contact-row .ic-badge .ic { width: 22px; height: 22px; }
.contact-row small { display: block; color: var(--dim); font-size: 12.5px; }
.contact-row b { font-weight: 600; }
.map-card {
  position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 360px;
  background: #000 url("../bilder/garage.jpg") center 70% / cover;
  display: flex; align-items: flex-end;
}
.map-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,8,.2), rgba(6,7,8,.92)); }
.map-card .inner { position: relative; padding: 30px; }
.map-card h3 { font-family: var(--head); font-size: 22px; margin: 0 0 6px; }
.map-card p { color: #c5cad1; margin: 0 0 18px; }

/* Fusszeile */
.site-footer { border-top: 1px solid var(--line); padding: 46px 0 100px; color: var(--dim); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot img { height: 52px; display: block; margin-bottom: 8px; }
.foot nav a { margin-left: 20px; text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: var(--text); }
.legal-note { margin-top: 18px; font-size: 12.5px; color: #555c66; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--muted); }
.social a:hover { color: #fff; border-color: #4a5058; }
.social .ic { width: 20px; height: 20px; }

/* Rechtliche Seiten */
.legal-page { padding: 120px 0 80px; }
.legal { max-width: 820px; }
.legal h1 {
  font-family: var(--head); font-weight: 800; font-size: clamp(32px, 4.5vw, 46px); margin: 14px 0 22px;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.legal h2 { font-family: var(--head); font-size: 20px; margin: 34px 0 8px; background: none; color: var(--text); -webkit-text-fill-color: currentColor; }
.legal p { color: #c3c8cf; margin: 0 0 12px; }
.legal a { color: var(--red2); }
.legal .entwurf { border: 1px solid rgba(250,204,21,.5); color: #facc15; background: rgba(250,204,21,.06); border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.legal .box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }
.back .ic { transform: scaleX(-1); width: 18px; height: 18px; }

/* WhatsApp schwebend */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1fbe5a; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 13px 18px; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.wa-float .ic { width: 22px; height: 22px; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Handy ---------- */
@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .collections, .brand-tiles { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .pmodal-box { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
  .marques { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .contact-wrap { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6,7,8,.98); border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { justify-content: center; margin-top: 14px; border: 0; }
  .menu-btn { display: grid; place-items: center; }
  .steps { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .collection { min-height: 210px; padding: 14px; }
  .col-title { font-size: 16px; }
  .col-btn { font-size: 11.5px; padding: 7px 10px; }
  .brand-tile { min-height: 220px; padding: 16px; }
  .brand-tile b { font-size: 15px; letter-spacing: .06em; }
  .services { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service { padding: 18px 16px; }
  .service h3 { font-size: 16px; margin-top: 12px; }
  .service p { font-size: 13px; }
  .service .ic-badge { width: 44px; height: 44px; }
  .shop-card h3 { font-size: 13.5px; }
  .shop-card .sc-sub { display: none; }
  .pmodal { padding: 0; align-items: end; }
  .pmodal-box { border-radius: 20px 20px 0 0; max-height: 94vh; }
  .pm-media { min-height: 0; aspect-ratio: 1 / 1; }
  .pm-info { padding: 22px 20px 28px; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .marques { grid-template-columns: repeat(2, 1fr); }
  .star-text { padding: 36px 24px; }
  .star-feature { min-height: 520px; align-items: flex-end; background: linear-gradient(0deg, #06070a 45%, rgba(6,7,10,.3) 80%), url("../bilder/galerie/sternenhimmel-2.jpg") center top / cover no-repeat; }
  .trust { margin-top: -30px; }
  .trust-item { padding: 16px; }
  .trust-item .ic { width: 26px; height: 26px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .gallery figure.big { grid-column: span 2; grid-row: span 2; }
  .gallery figcaption { opacity: 1; transform: none; font-size: 12px; }
  .videos { grid-template-columns: 1fr; }
  .video-card { height: auto; aspect-ratio: 16 / 9; }
  .video-card.tall { aspect-ratio: 9 / 14; }
  .slogan { letter-spacing: .3em; gap: 10px; }
  .slogan::before, .slogan::after { width: 28px; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .contact-card { padding: 24px; }
  .foot nav a { margin: 0 18px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .taillight { opacity: .8; }
}

/* ---------- Intro-Animation (erster Besuch, nach Storyboard) ---------- */
.intro-overlay {
  position: fixed; inset: 0; z-index: 200; background: #020203; overflow: hidden;
  display: grid; place-items: center;
  animation: introOut .7s 6.1s ease-in forwards;
}
.no-intro .intro-overlay { display: none; }
.playing-intro body { overflow: hidden; }
/* nasser Boden mit Lichtreflexen */
.intro-floor {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 48%;
  background:
    radial-gradient(ellipse 30% 18% at 30% 30%, rgba(170,190,220,.18), transparent 70%),
    radial-gradient(ellipse 22% 14% at 70% 42%, rgba(170,190,220,.14), transparent 70%),
    radial-gradient(ellipse 14% 10% at 78% 26%, rgba(227,23,10,.0), transparent 70%),
    linear-gradient(180deg, #050608, #0b0d11);
  filter: blur(1px); opacity: 0;
  animation: floorIn 1.2s .1s ease-out forwards, floorRed 1s 3s ease-out forwards;
}
.intro-floor::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 40px, rgba(255,255,255,.025) 40px 41px),
              radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255,255,255,.08), transparent 70%);
}
.intro-stage { position: relative; width: min(760px, 90vw); text-align: center; }
.intro-cam { position: relative; transform: scale(1.12); animation: camBack 1.6s 4.4s cubic-bezier(.3,.6,.2,1) forwards; }
/* Konturen mit Licht gezeichnet */
.intro-lines { display: block; width: 100%; height: auto; overflow: visible; clip-path: inset(-10% -10% 19.6% -10%); }
.intro-lines path {
  fill: none; stroke: #eaf2ff; stroke-width: 1.4; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 3px rgba(200,225,255,.9)) drop-shadow(0 0 10px rgba(140,180,255,.6));
  animation: draw 1.6s .9s cubic-bezier(.45,.05,.3,1) forwards, linesFade .8s 2.9s ease forwards;
}
/* MJ in Metall (oberer Teil des Logos) */
.intro-metal, .intro-text { position: absolute; inset: 0; width: 100%; height: auto; }
.intro-metal {
  clip-path: inset(0 100% 19.6% 0); filter: brightness(1.6) drop-shadow(0 8px 30px rgba(0,0,0,.9));
  animation: metalIn 1.2s 2.2s cubic-bezier(.3,.6,.2,1) forwards, metalSettle .8s 3.3s ease forwards;
}
/* AutoTech mit Linien, die seitlich herausfahren */
.intro-text { clip-path: inset(80.4% 50% 0 50%); opacity: 0; animation: textIn 1s 3.7s cubic-bezier(.3,.6,.2,1) forwards; }
/* Rücklicht leuchtet auf */
.intro-tail {
  position: absolute; left: 82%; top: 27%; width: 19%; height: 18%;
  background: radial-gradient(closest-side, rgba(255,50,30,.95), rgba(227,23,10,.4) 50%, transparent 78%);
  filter: blur(9px); mix-blend-mode: screen; opacity: 0;
  animation: tailOn 1.4s 3s ease-out forwards;
}
.intro-refl {
  position: absolute; left: 0; top: 94%; width: 100%; transform: scaleY(-1); filter: blur(3px);
  -webkit-mask: linear-gradient(to top, #000, transparent 30%); mask: linear-gradient(to top, #000, transparent 30%);
  opacity: 0; animation: reflOn 1s 3.4s ease forwards;
}
.intro-slogan {
  margin-top: 8%; font-family: var(--wide); font-size: clamp(10px, 1.6vw, 13px); letter-spacing: .5em; text-transform: uppercase;
  color: #c9ccd1; opacity: 0; animation: fadeUp .9s 4.9s ease forwards;
}
.intro-skip {
  position: absolute; right: 18px; bottom: 18px; background: rgba(255,255,255,.06); color: #aab0b8;
  border: 1px solid #2e343c; border-radius: 999px; padding: 9px 16px; font: 500 13px var(--body); cursor: pointer;
}
@keyframes floorIn { to { opacity: 1; } }
@keyframes floorRed { to { background:
    radial-gradient(ellipse 30% 18% at 30% 30%, rgba(170,190,220,.18), transparent 70%),
    radial-gradient(ellipse 22% 14% at 70% 42%, rgba(170,190,220,.14), transparent 70%),
    radial-gradient(ellipse 14% 10% at 78% 26%, rgba(227,23,10,.35), transparent 70%),
    linear-gradient(180deg, #050608, #0b0d11); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes linesFade { to { opacity: .0; } }
@keyframes metalIn { to { clip-path: inset(0 0 19.6% 0); } }
@keyframes metalSettle { to { filter: brightness(1) drop-shadow(0 8px 30px rgba(0,0,0,.9)); } }
@keyframes textIn { 0% { opacity: 0; clip-path: inset(80.4% 50% 0 50%); } 20% { opacity: 1; } 100% { opacity: 1; clip-path: inset(80.4% 0 0 0); } }
@keyframes tailOn { 0% { opacity: 0; } 30% { opacity: 1; } 55% { opacity: .55; } 100% { opacity: .9; } }
@keyframes reflOn { to { opacity: .16; } }
@keyframes camBack { to { transform: scale(1); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.intro-overlay.done { display: none; }

/* Nebel und Lichtreflexe (Storyboard) */
.intro-fog {
  position: absolute; left: -30%; right: -30%; height: 60%; bottom: 8%; pointer-events: none; opacity: 0;
  background:
    radial-gradient(ellipse 30% 40% at 20% 60%, rgba(150,160,175,.10), transparent 70%),
    radial-gradient(ellipse 25% 35% at 60% 50%, rgba(150,160,175,.08), transparent 70%),
    radial-gradient(ellipse 35% 45% at 90% 65%, rgba(150,160,175,.09), transparent 70%);
  filter: blur(18px);
  animation: fogIn 2s .3s ease forwards, drift 14s linear infinite;
}
.intro-fog.f2 { bottom: 30%; height: 50%; animation: fogIn 2s 1s ease forwards, drift 18s linear infinite reverse; }
@keyframes fogIn { to { opacity: 1; } }
@keyframes drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
.intro-floor::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 18%, rgba(220,230,255,.35) 22%, transparent 26%) 0 18% / 100% 2px no-repeat,
    linear-gradient(90deg, transparent 58%, rgba(220,230,255,.25) 61%, transparent 64%) 0 34% / 100% 2px no-repeat,
    linear-gradient(90deg, transparent 38%, rgba(220,230,255,.2) 41%, transparent 44%) 0 52% / 100% 1px no-repeat;
  filter: blur(1.5px); animation: glints 3s ease-in-out infinite alternate;
}
@keyframes glints { from { opacity: .4; } to { opacity: 1; } }
/* Lichtlinie, wenn AutoTech erscheint */
.intro-flare {
  position: absolute; left: 50%; top: 88%; width: 0; height: 2px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(210,230,255,.95), #fff, rgba(210,230,255,.95), transparent);
  box-shadow: 0 0 14px 3px rgba(170,200,255,.55); opacity: 0;
  animation: flare 1.3s 3.7s cubic-bezier(.3,.6,.2,1) forwards;
}
@keyframes flare { 0% { width: 0; opacity: 0; } 25% { opacity: 1; } 70% { width: 115%; opacity: .9; } 100% { width: 130%; opacity: 0; } }
@media (max-width: 760px) { .intro-stage { width: 84vw; } }

/* ---------- Kamerafahrt (überschreibt die einfache Version) ---------- */
.intro-overlay { animation: introOut .7s 6.7s ease-in forwards; }
.intro-stage { perspective: 1100px; }
.intro-cam {
  transform-style: preserve-3d; transform-origin: 50% 50%;
  transform: scale(1.3) rotateY(-24deg) rotateX(8deg) translateX(-4%);
  animation: camera 5.4s .8s cubic-bezier(.45,.05,.25,1) forwards;
}
@keyframes camera {
  0%    { transform: scale(1.3) rotateY(-24deg) rotateX(8deg) translateX(-4%); }
  30%   { transform: scale(1.12) rotateY(-10deg) rotateX(3deg) translateX(0); }
  43%   { transform: scale(1.06) rotateY(-3deg) rotateX(1deg) translate(0, 0); }
  54%   { transform: scale(3.1) rotateY(4deg) rotateX(0) translate(-41%, 14%); }
  66%   { transform: scale(3.35) rotateY(7deg) rotateX(0) translate(-41%, 14%); }
  80%   { transform: scale(1.05) rotateY(0) rotateX(0) translate(0, 0); }
  100%  { transform: scale(1) rotateY(0) rotateX(0) translate(0, 0); }
}
.intro-lines path { animation: draw 1.7s .9s cubic-bezier(.45,.05,.3,1) forwards, linesFade .8s 2.8s ease forwards; }
.intro-metal { animation: metalIn 1.1s 2.1s cubic-bezier(.3,.6,.2,1) forwards, metalSettle .8s 3.2s ease forwards; }
.intro-tail { animation: tailOn 1.6s 3.5s ease-out forwards; }
.intro-text { animation: textIn 1s 5.0s cubic-bezier(.3,.6,.2,1) forwards; }
.intro-flare { animation: flare 1.3s 5.0s cubic-bezier(.3,.6,.2,1) forwards; }
.intro-refl { animation: reflOn 1s 5.0s ease forwards; }
.intro-slogan { animation: fadeUp .9s 5.7s ease forwards; }
/* Lichtreflex, der über das Metall fährt */
.intro-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(255,255,255,.95) 50%, transparent 62%);
  background-size: 300% 100%; background-position: 150% 0; mix-blend-mode: overlay;
  -webkit-mask: url("../bilder/logo.png") top / 100% auto no-repeat; mask: url("../bilder/logo.png") top / 100% auto no-repeat;
  animation: shineRun 1.2s 2.7s ease-in-out forwards, shineRun2 1.2s 5.6s ease-in-out forwards;
}
@keyframes shineRun { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes shineRun2 { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* Produktansicht: Zurück-Knopf und immer sichtbares Schliessen */
.pm-info .btn { margin: 0 8px 10px 0; }
@media (max-width: 760px) {
  .pm-close { position: fixed; top: 14px; right: 14px; z-index: 95; background: rgba(0,0,0,.75); }
  .pm-info .btn { width: 100%; justify-content: center; margin-right: 0; }
}

/* ---------- Warenkorb & Kasse ---------- */
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 40px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(0,0,0,.25); color: var(--text); cursor: pointer; margin-left: auto; }
.cart-btn .ic { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font: 700 11.5px/20px var(--body); text-align: center; }
.bar .nav { margin-left: 8px; }
@media (min-width: 761px) { .bar { justify-content: flex-start; } .bar .brand { margin-right: auto; } .cart-btn { margin-left: 18px; order: 3; } }
.cart { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); }
.cart-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100%); overflow-y: auto; background: var(--panel); border-left: 1px solid var(--line2);
  padding: calc(18px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) 18px;
  transform: translateX(100%); transition: transform .25s ease; }
.cart.open .cart-panel { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cart-head h3 { font-family: var(--head); font-size: 22px; margin: 0; }
.cart-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line2); background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.cart-close .ic { transform: rotate(45deg); }
.cart-empty { color: var(--muted); }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ci img, .ci-ph { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #0c0e11; display: grid; place-items: center; }
.ci-ph .ic { width: 30px; height: 30px; }
.ci-t { min-width: 0; } .ci-t b { display: block; font-size: 14.5px; line-height: 1.3; } .ci-t > span { color: var(--muted); font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-p { font-family: var(--head); font-weight: 700; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; border: 1px solid var(--line2); border-radius: 8px; padding: 2px 6px; }
.qty button { background: none; border: 0; color: var(--text); font-size: 18px; width: 24px; cursor: pointer; }
#checkoutForm { display: grid; gap: 12px; margin-top: 16px; }
#checkoutForm label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
#checkoutForm input, #checkoutForm textarea { background: #0c0e11; color: var(--text); border: 1px solid var(--line2); border-radius: 9px; padding: 11px 12px; font: 15px var(--body); }
#checkoutForm input:focus, #checkoutForm textarea:focus { outline: none; border-color: var(--red); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .grid2 .full { grid-column: 1 / -1; }
.lief { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.lief legend { font-family: var(--head); font-weight: 700; margin-bottom: 6px; }
.lief label { display: flex !important; gap: 10px; align-items: flex-start; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; color: var(--text) !important; cursor: pointer; }
.lief label:has(input:checked) { border-color: var(--red); background: #1a0f0e; }
.lief input { accent-color: var(--red); margin-top: 3px; }
.lief small { display: block; color: var(--muted); font-size: 12.5px; }
.sums { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.sums div { display: flex; justify-content: space-between; color: var(--muted); }
.sums .tot { color: var(--text); font-family: var(--head); font-weight: 800; font-size: 19px; margin-top: 4px; }
.agb { display: flex !important; gap: 8px; align-items: flex-start; color: var(--muted); }
.agb input { accent-color: var(--red); margin-top: 3px; }
.agb a { color: var(--red2); }
.pay-methods { color: var(--muted); font-size: 13px; margin: 0; }
.test-hint { color: #facc15; font-size: 13px; margin: 0; }
.form-error { color: var(--red2); margin: 0; min-height: 1em; }
.btn.pay { justify-content: center; width: 100%; font-size: 17px; padding: 15px; }
.btn[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 760px) { .cart-btn { margin-left: auto; margin-right: 8px; } }

/* ---------- Shop nach Auto ---------- */
.vsel { display: grid; gap: 12px; margin-bottom: 18px; }
.vsel-step { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 17px; margin-top: 6px; }
.step-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 14px; }
.brand-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.brand-pick button {
  display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 128px; padding: 16px 10px;
  border-radius: 16px; border: 1px solid var(--line2); background: linear-gradient(180deg, #171a1f, #101216);
  color: #d9dce1; font: 600 14px var(--body); cursor: pointer; transition: border-color .2s, transform .2s, background .2s;
}
.brand-pick button:hover { transform: translateY(-2px); border-color: #4a5058; }
.brand-pick button.on { border-color: var(--red); background: linear-gradient(180deg, #24110f, #120a09); color: #fff; box-shadow: 0 0 0 1px rgba(227,23,10,.35) inset; }
.blogo { height: 52px; width: auto; max-width: 100%; color: inherit; }
.brand-pick .ic.blogo { width: 52px; stroke-width: 1.3; }
.model-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.model-pick button { font: 600 14.5px var(--body); color: var(--text); background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 11px 15px; cursor: pointer; }
.model-pick button.on { border-color: var(--red); background: #1d0f0e; }
.car-bar { position: sticky; top: calc(72px + env(safe-area-inset-top, 0px)); z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: rgba(19,22,26,.95); backdrop-filter: blur(8px); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.car-bar button { background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 9px; padding: 7px 11px; font: 600 13px var(--body); cursor: pointer; white-space: nowrap; }
.shop-hint { color: var(--muted); margin: 0 0 8px; }
.kat-row { margin-top: 26px; }
.kat-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.kat-head h3 { font-family: var(--head); font-size: 21px; margin: 0; }
.kat-head span { color: var(--dim); font-size: 13px; }
.kat-scroll { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1020px) { .kat-scroll { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .brand-pick { grid-template-columns: repeat(2, 1fr); }
  .brand-pick button { min-height: 108px; }
  .blogo { height: 44px; }
  .kat-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .kat-scroll::-webkit-scrollbar { display: none; }
  .kat-scroll .shop-card { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ---------- Preisliste ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.price-card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.price-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.price-head h3 { font-family: var(--head); font-size: 21px; margin: 0; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.price-row:last-of-type { border-bottom: 0; }
.price-row b { display: block; font-size: 15.5px; }
.price-row span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.price-row em { font-style: normal; font-family: var(--head); font-weight: 700; font-size: 16.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-cta { margin-top: 14px; width: 100%; justify-content: center; }
@media (max-width: 1020px) { .price-grid { grid-template-columns: 1fr; } }

/* Kategorie-Kacheln ohne Foto */
.collection.plain::before { background:
    radial-gradient(ellipse 80% 60% at 85% 0%, rgba(227,23,10,.22), transparent 60%),
    repeating-linear-gradient(135deg, #121519 0 14px, #101317 14px 28px); }
.collection.plain::after { background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.45)); }
.collection .col-ic { position: absolute; top: 22px; left: 20px; width: 64px; height: 64px; color: #dfe2e6; stroke-width: 1.1; filter: drop-shadow(0 0 14px rgba(227,23,10,.35)); }
.collection.plain:hover .col-ic { color: #fff; }
@media (max-width: 760px) { .collection .col-ic { width: 46px; height: 46px; top: 16px; left: 14px; } }

/* ---------- Produktansicht: Galerie & Optionen ---------- */
.pm-media { flex-direction: column; align-content: stretch; }
.pm-big { position: static !important; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.pm-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: #0b0d10; scrollbar-width: none; }
.pm-thumbs::-webkit-scrollbar { display: none; }
.pm-thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--line2); background: none; cursor: pointer; }
.pm-thumbs button.on { border-color: var(--red); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-options { display: grid; gap: 14px; margin-bottom: 18px; }
.pm-opt-name { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.pm-opt-name b { color: var(--text); font-weight: 600; }
.pm-opt-vals { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-opt-vals button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line2); background: #0c0e11; color: var(--text); font: 500 13.5px var(--body); cursor: pointer; }
.pm-opt-vals button.has-img { padding: 4px 10px 4px 4px; }
.pm-opt-vals button img { width: 40px; height: 40px; border-radius: 7px; object-fit: cover; }
.pm-opt-vals button.on { border-color: var(--red); background: #1d0f0e; }
.pm-opt-vals button.na { opacity: .45; }
#pmCart[disabled] { opacity: .5; cursor: not-allowed; }
@media (min-width: 761px) { .pmodal-box { align-items: start; } .pm-media { min-height: 0; } }

/* Handy: Produktbild bleibt oben stehen, damit Optionswechsel sichtbar sind */
@media (max-width: 760px) {
  .pm-media { position: sticky; top: 0; z-index: 3; box-shadow: 0 10px 24px rgba(0,0,0,.55); }
  .pm-big { aspect-ratio: auto !important; height: 40vh; object-fit: cover; }
  .pm-thumbs { padding: 6px 10px; }
  .pm-thumbs button { flex-basis: 48px; height: 48px; }
}
.pm-big { transition: opacity .2s; }
.pm-big.swap { opacity: .25; }

/* Neu im Shop, grössere Options-Bilder */
.neu-badge { background: linear-gradient(180deg, #2f80ed, #1c5fc4) !important; }
.neu-row .kat-head h3::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red2); margin-left: 10px; vertical-align: middle; box-shadow: 0 0 10px var(--red2); }
.pm-opt-vals button.has-img { flex-direction: column; align-items: center; width: 92px; padding: 6px 6px 8px; gap: 6px; text-align: center; }
.pm-opt-vals button.has-img img { width: 78px; height: 78px; }
.pm-opt-vals button.has-img span { font-size: 12px; line-height: 1.25; }

/* ---------- Produktbilder zum Wischen ---------- */
.pm-media { position: relative; display: block !important; min-height: 0 !important; background: #f2f3f5; }
.pm-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.pm-slider::-webkit-scrollbar { display: none; }
.pm-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; aspect-ratio: 1 / 1; display: grid; place-items: center; background: #f2f3f5; }
.pm-slide img { position: static !important; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.pm-count { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.62); color: #fff; font: 600 13px var(--body); padding: 4px 11px; border-radius: 999px; }
.pm-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.pm-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,.25); transition: all .2s; }
.pm-dots span.on { width: 18px; border-radius: 3px; background: var(--red); }
.pm-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pm-nav.prev { left: 10px; } .pm-nav.prev .ic { transform: scaleX(-1); }
.pm-nav.next { right: 10px; }
.pm-nav .ic { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .pm-media { position: sticky; top: 0; z-index: 3; }
  .pm-slide { aspect-ratio: auto; height: min(56vh, 100vw); }
  .pm-nav { display: none; }
}
.pm-big, .pm-thumbs { display: none !important; }

/* ---------- Feinschliff (20.10.2026) ---------- */
section.kat-row { padding: 0; margin-top: 34px; }
section.kat-row:first-of-type { margin-top: 18px; }
.kat-head { border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 16px; }
.kat-head h3 { font-size: 20px; letter-spacing: -.1px; }
.kat-head span { margin-left: auto; font-size: 12.5px; background: var(--panel2); border: 1px solid var(--line2); border-radius: 999px; padding: 2px 9px; }
.shop-card .sc-img { background: #fff; border-color: #1f2328; }
.shop-card .sc-img img { object-fit: contain; }
.shop-card .sc-img img[src*="titel.jpg"] { object-fit: cover; }
.shop-card .sc-body { padding-top: 12px; }
.shop-card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.shop-card .sc-price { color: #fff; font-size: 17px; margin-top: 2px; }
.shop-card:hover h3 { color: #fff; }
.shop-card:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 14px; }
.top-badge { box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.vsel { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.shop-hint { font-size: 14.5px; }
#products { margin-top: 6px; }
.car-bar { margin-top: 14px; }
@media (min-width: 761px) {
  .kat-scroll { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .shop-card .sc-img { aspect-ratio: 1 / 1; }
}

/* hidden-Attribut immer respektieren (sonst erscheinen leere Leisten) */
[hidden] { display: none !important; }
