/* H.I Car Performance, Bochum — dunkler Performance-Look: Carbon-Schwarz + Lime.
   (Junge Tuning-/Detailing-Zielgruppe mit aktiven TikTok/Instagram-Kanälen; bewusst
   ganz anders als die Uwimana-KFZ-Demo in Slate/Rot. Schrift: Chakra Petch, lokal.) */

@font-face {
  font-family: "Chakra Petch";
  src: url("chakra-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("chakra-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c0e11;
  --bg-2: #111419;
  --card: #161a20;
  --line: #262c35;
  --ink: #e8eaee;
  --muted: #9aa3b2;
  --lime: #a3e635;
  --lime-deep: #84cc16;
  --lime-ink: #0f1403;
  --red: #ef4444;
  --display: "Chakra Petch", "Avenir Next Condensed", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0.01em; }
h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; text-transform: uppercase; }
h3 { font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.grad { color: var(--lime); }

.demo-banner { background: #000; color: #8b93a1; text-align: center; font-size: 12.5px; padding: 7px 16px; letter-spacing: 0.02em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(12 14 17 / 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; text-decoration: none; line-height: 1; letter-spacing: 0.02em; }
.brand em { font-style: normal; color: var(--lime); font-size: 13px; letter-spacing: 0.22em; display: block; margin-top: 2px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color 180ms ease; }
.nav-links a:hover { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; border: 0; font-family: var(--body); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease; }
.btn-primary { background: linear-gradient(120deg, var(--lime), var(--lime-deep)); color: var(--lime-ink); box-shadow: 0 6px 20px rgb(163 230 53 / 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgb(163 230 53 / 0.35); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--lime); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.btn-nav { margin-left: 4px; white-space: nowrap; }
.nav-call { display: none; }

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; background: url("hero.jpg") center 40% / cover no-repeat; opacity: 0.5; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(12 14 17 / 0.96) 25%, rgb(12 14 17 / 0.6) 65%, rgb(163 230 53 / 0.08)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.kicker { font-family: var(--display); font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--lime); font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 6.8vw, 74px); line-height: 1.02; text-transform: uppercase; margin-bottom: 18px; }
.hero .sub { font-size: 17px; color: #c3c9d4; max-width: 50ch; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { font-size: 13.5px; color: var(--muted); }
.stars-inline { color: var(--lime); letter-spacing: 1px; }

/* WOW 1: Scheinwerfer flammen auf und werfen Lichtkegel */
.carfront-wrap { justify-self: center; text-align: center; }
.carfront { width: min(320px, 66vw); height: auto; display: block; margin: 0 auto; }
.cf-body { fill: #1b2027; stroke: #313947; stroke-width: 1.5; }
.cf-glass { fill: #242b35; }
.cf-grill { fill: #0c0e11; stroke: #313947; }
.cf-intake { fill: #0c0e11; }
.cf-ground { fill: #1b2027; }
.cf-splitter { fill: #262c35; }
.cf-crease { stroke: #313947; stroke-width: 2; fill: none; stroke-linecap: round; }
.cf-light { fill: #3a4250; }
html.js .cf-light { animation: light-on 2.2s ease 0.5s forwards; }
html.js .cf-light-r { animation-delay: 0.65s; }
.cf-beam { fill: rgb(232 240 200 / 0); }
html.js .cf-beam { animation: beam-on 2.6s ease 1s forwards; }
html.js .cf-beam-r { animation-delay: 1.15s; }
@keyframes light-on {
  0% { fill: #3a4250; }
  40% { fill: #f4f8d8; filter: drop-shadow(0 0 4px rgb(244 248 216 / 0.9)); }
  52% { fill: #6a7280; filter: none; }
  70%, 100% { fill: #f4f8d8; filter: drop-shadow(0 0 7px rgb(244 248 216 / 0.95)); }
}
@keyframes beam-on {
  0%, 45% { fill: rgb(232 240 200 / 0); }
  100% { fill: rgb(232 240 200 / 0.14); }
}
.carfront-caption { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ── WOW 2: Startampel ───────────────────────────────── */
.trust { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 22px 20px; }
.trust-item { display: flex; align-items: center; gap: 13px; justify-content: center; }
.trust-item strong { display: block; font-size: 15.5px; line-height: 1.3; color: #fff; }
.trust-item span:last-child { font-size: 13px; color: var(--muted); }
.t-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: rgb(163 230 53 / 0.1); color: var(--lime); flex-shrink: 0; }
.startlights { display: inline-flex; gap: 6px; padding: 10px 12px; border-radius: 10px; background: #000; flex-shrink: 0; }
.sl { width: 12px; height: 12px; border-radius: 50%; background: #2a2f38; }
html.js .lights-item.in .sl1 { animation: sl-red 0.4s ease 0.2s forwards; }
html.js .lights-item.in .sl2 { animation: sl-red 0.4s ease 0.8s forwards; }
html.js .lights-item.in .sl3 { animation: sl-green 0.5s ease 1.4s forwards; }
@keyframes sl-red { to { background: var(--red); box-shadow: 0 0 8px rgb(239 68 68 / 0.7); } }
@keyframes sl-green { to { background: var(--lime); box-shadow: 0 0 10px rgb(163 230 53 / 0.8); } }

/* ── Sektionen ───────────────────────────────────────── */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 17px; }

html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms ease; }
html.js .reveal.in { opacity: 1; transform: none; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.card:hover { transform: translateY(-4px); border-color: rgb(163 230 53 / 0.45); box-shadow: 0 14px 34px rgb(0 0 0 / 0.45); }
.card-ic { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 10px; background: rgb(163 230 53 / 0.1); color: var(--lime); margin-bottom: 16px; position: relative; overflow: hidden; }
.card h3 { margin-bottom: 8px; color: #fff; }
.card p { font-size: 14.5px; color: #aeb6c4; }
html.js .cards .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .cards .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .cards .reveal:nth-child(5) { transition-delay: 90ms; }
html.js .cards .reveal:nth-child(6) { transition-delay: 180ms; }

/* WOW 3: Tönungsfolie zieht über Icon UND die ganze Karte */
.tint-film { fill: rgb(163 230 53 / 0.55); transform: translateX(-16px); }
html.js .card-tint.in .tint-film { animation: tint-slide 1.4s cubic-bezier(0.33, 1, 0.68, 1) 0.6s forwards; }
@keyframes tint-slide { to { transform: translateX(0); } }
.card-tint { position: relative; overflow: hidden; }
.card-tint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(10 14 6 / 0.55), rgb(163 230 53 / 0.12)); transform: translateX(-101%); pointer-events: none; }
html.js .card-tint.in::after { animation: card-tint-slide 1.6s cubic-bezier(0.33, 1, 0.68, 1) 0.5s forwards; }
@keyframes card-tint-slide {
  0% { transform: translateX(-101%); opacity: 1; }
  60% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.35; }
}

/* WOW 4: Glanz-Sweep über dem Aufbereitungs-Icon (und dem Foto) */
.shine-ic::after, .photo-shine::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 34%; left: -50%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.55), transparent); transform: skewX(-18deg); }
html.js .card-shine.in .shine-ic::after { animation: shine-sweep 1.2s ease 0.7s forwards; }
.photo-shine { position: relative; overflow: hidden; border-radius: 16px; }
html.js .photo-shine.in::after { animation: shine-sweep 1.5s ease 0.6s forwards; }
@keyframes shine-sweep { to { left: 130%; } }

.cta-row { margin-top: 44px; text-align: center; }
.cta-row p { color: var(--muted); margin-bottom: 14px; }

/* ── WOW 5: Racing-Streifen ──────────────────────────── */
.stripes { height: 56px; position: relative; overflow: hidden; }
.stripe { position: absolute; left: 0; right: 0; height: 8px; transform: scaleX(0); transform-origin: left; }
.stripe.s1 { top: 18px; background: var(--lime); }
.stripe.s2 { top: 32px; height: 4px; background: #2a3140; }
html.js .stripes.in .stripe.s1 { animation: stripe-draw 1s cubic-bezier(0.33, 1, 0.68, 1) forwards; }
html.js .stripes.in .stripe.s2 { animation: stripe-draw 1s cubic-bezier(0.33, 1, 0.68, 1) 0.2s forwards; }
.stripes-rev .stripe { transform-origin: right; }
@keyframes stripe-draw { to { transform: scaleX(1); } }

/* ── Bewertungen ─────────────────────────────────────── */
.rating-panel { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; background: #000; border: 1px solid var(--line); border-radius: 20px; padding: 48px 52px; }
.rating-big { text-align: center; }
.rating-big strong { font-family: var(--display); font-size: 92px; font-weight: 700; line-height: 1; display: block; color: var(--lime); }
.rating-stars { color: var(--lime); font-size: 24px; letter-spacing: 4px; display: block; margin-top: 6px; }
.rating-sub { display: block; font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.rating-copy h2 { color: #fff; }
.rating-copy p { color: #c3c9d4; margin: 12px 0 22px; max-width: 52ch; }
.rating-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Bildleiste ──────────────────────────────────────── */
.strip-section { padding: 64px 0; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-strip figure { margin: 0; }
.photo-strip img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; }
.strip-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ── Über uns / Social ───────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.about-copy p { margin-top: 14px; color: #c3c9d4; }
.about-photo img { border-radius: 16px; }
.about-photo figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: border-color 180ms ease, transform 180ms ease; }
.social-btn:hover { border-color: var(--lime); transform: translateY(-1px); }

/* ── Kontakt & Formular ──────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.contact-card, .contact-form-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; }
.contact-card h3, .contact-form-wrap h3 { color: #fff; margin-bottom: 10px; }
.contact-card p { font-size: 15px; color: #aeb6c4; margin-bottom: 16px; }
.contact-form { display: grid; gap: 16px; margin-top: 6px; }
.contact-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: #d6dae2; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-form input[type="text"], .contact-form textarea { padding: 12px 14px; font-size: 16px; font-family: var(--body); border: 1.5px solid var(--line); border-radius: 10px; background: #0e1115; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgb(163 230 53 / 0.15); }
.contact-form button { justify-content: center; }
.form-note { font-size: 12.5px; color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.form-note a { color: var(--lime); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: #000; color: var(--muted); padding: 30px 0; font-size: 13.5px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.site-footer a { color: #c3c9d4; text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: #fff; }
.made-by a { margin: 0; }

.sticky-call { display: none; }

/* ── Responsiv ───────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 54px; padding-bottom: 60px; }
  .carfront-wrap { justify-self: start; }
  .cards { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { order: 2; }
  .rating-panel { grid-template-columns: 1fr; gap: 28px; padding: 38px 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .btn-nav { margin-left: auto; }
  .nav-num { display: none; }
  .nav-call { display: inline; }
  .cards { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; gap: 14px; }
  .trust-item { justify-content: flex-start; }
  .section { padding: 60px 0; }
  .sticky-call { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 25; text-align: center; padding: 15px 18px; border-radius: 14px; background: linear-gradient(120deg, var(--lime), var(--lime-deep)); color: var(--lime-ink); font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgb(163 230 53 / 0.35); }
  body { padding-bottom: 76px; }
}

/* Reduzierte Bewegung: Animationen aus, Endzustände sofort */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js .cf-light, html.js .cf-beam,
  html.js .lights-item.in .sl1, html.js .lights-item.in .sl2, html.js .lights-item.in .sl3,
  html.js .card-tint.in .tint-film, html.js .card-shine.in .shine-ic::after,
  html.js .photo-shine.in::after, html.js .stripes.in .stripe,
  .btn, .card, .social-btn {
    animation: none !important;
    transition: none !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .cf-light, html.js .cf-light { fill: #f4f8d8; }
  .cf-beam, html.js .cf-beam { fill: rgb(232 240 200 / 0.14); }
  .sl1, .sl2 { background: var(--red); }
  .sl3 { background: var(--lime); }
  .tint-film { transform: translateX(0); }
  .stripe { transform: scaleX(1); }
  .shine-ic::after, .photo-shine::after { display: none; }
  html.js .card-tint.in::after, .card-tint::after { animation: none !important; transform: translateX(0); opacity: 0.35; }
}
