/* Kfz-Sachverständigenbüro Meichsner – dunkles Design, Farben aus dem Logo */
:root {
  --bg: #0c0e14;
  --bg-2: #12151e;
  --surface: #171b26;
  --line: #262b3a;
  --text: #e7e9f0;
  --muted: #9aa1b4;
  --red: #e3262b;
  --red-dark: #c41d22;
  --navy: #1f2a5c;
  --radius: 10px;
  --max: 1160px;
  --head: "Bahnschrift", "Avenir Next Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: #fff; }
h1, h2, h3 { font-family: var(--head); color: #fff; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); text-transform: uppercase; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); text-transform: uppercase; font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
section { padding: 96px 0; scroll-margin-top: 80px; }
.alt { background: var(--bg-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red);
  font-family: var(--head);
  font-weight: 700; font-size: .9rem;
  letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.red { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.6em;
  font-family: var(--head);
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .2s, color .2s, border-color .2s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12,14,20,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--text); font-family: var(--head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .92rem; }
.nav a:hover { color: var(--red); }
.nav .btn { padding: .6em 1.2em; color: #fff; }
.nav .btn:hover { color: #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 120px;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(31,42,92,.55), transparent 60%),
    radial-gradient(ellipse at 10% 100%, rgba(227,38,43,.12), transparent 50%),
    var(--bg);
}
/* Rennstreifen */
.hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 58%;
  width: 90px; transform: skewX(-18deg);
  background: linear-gradient(90deg, rgba(227,38,43,.16) 0 38%, transparent 38% 62%, rgba(227,38,43,.16) 62%);
}
/* Zielflagge */
.hero::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 260px; height: 130px;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.06) 75%),
    linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.06) 75%);
  background-size: 26px 26px; background-position: 0 0, 13px 13px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent);
  mask-image: linear-gradient(to left, #000, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.gauge { width: 100%; max-width: 440px; margin-left: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.gauge .needle { transform-origin: 200px 200px; transform: rotate(-120deg); animation: rev 2.4s cubic-bezier(.2,.8,.2,1) .3s forwards; }
@keyframes rev { 0% { transform: rotate(-120deg); } 55% { transform: rotate(95deg); } 100% { transform: rotate(52deg); } }
@media (prefers-reduced-motion: reduce) { .gauge .needle { animation: none; transform: rotate(52deg); } }

/* Vertrauensleiste */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 26px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { flex: 0 0 34px; width: 34px; height: 34px; color: var(--red); }
.trust-item strong { display: block; color: #fff; font-family: var(--head); letter-spacing: .03em; font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .9rem; }

/* Fahrzeugarten */
.vehicle-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.vehicle {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 12px; text-align: center;
  font-family: var(--head); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: .95rem;
  transition: border-color .2s, transform .2s;
}
.vehicle:hover { border-color: var(--red); transform: translateY(-3px); }
.vehicle svg { width: 52px; height: 52px; color: var(--red); margin: 0 auto 10px; display: block; }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), transparent); }
.card .num { font-family: var(--head); font-size: 3rem; font-weight: 700; color: rgba(255,255,255,.07); position: absolute; right: 22px; top: 10px; }
.card p { color: var(--muted); }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { padding: 7px 0 7px 22px; position: relative; color: var(--text); font-size: .97rem; border-top: 1px solid var(--line); }
.card li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 3px; background: var(--red); }
.tag { display: inline-block; font-family: var(--head); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin-bottom: 10px; }

/* Datengrundlage: Classic Data / CARFAX */
.data-partners { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.data-partner {
  display: flex; gap: 20px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(31,42,92,.45), rgba(23,27,38,1) 70%);
  border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: var(--radius); padding: 28px;
}
.data-partner > svg { flex: 0 0 40px; width: 40px; height: 40px; color: var(--red); }
.data-partner p { color: var(--muted); margin: 0; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; counter-reset: step; }
.step { position: relative; padding-top: 70px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--head); font-weight: 700; font-size: 3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--red);
}
.step::after { content: ""; position: absolute; top: 24px; left: 80px; right: -14px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); }

/* Über mich */
.about-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: center; }
.about-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); position: relative; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(31,42,92,.9), rgba(12,14,20,.95)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 8px);
  border: 1px solid var(--line);
  display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: .95rem; padding: 24px;
}
.about-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: var(--red); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quals { list-style: none; padding: 0; margin: 28px 0 0; }
.quals li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.quals svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--red); margin-top: 2px; }
.quals strong { color: #fff; display: block; }
.quals span { color: var(--muted); font-size: .95rem; }

/* Kontakt */
.contact {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(31,42,92,.6), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.contact-item {
  display: block;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; color: var(--text); text-decoration: none;
  transition: border-color .2s, transform .2s;
}
a.contact-item:hover { border-color: var(--red); transform: translateY(-3px); }
.contact-item svg { width: 30px; height: 30px; color: var(--red); margin-bottom: 14px; }
.contact-item small { display: block; color: var(--muted); font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; margin-bottom: 4px; }
.contact-item strong { font-size: 1.15rem; color: #fff; word-break: break-word; }
.contact-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #08090d; color: var(--muted); padding: 28px 0; font-size: .9rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--text); text-decoration: none; margin-left: 22px; }
.site-footer a:hover { color: var(--red); }

/* Rechtstexte */
.legal { padding: 64px 0 90px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; text-transform: none; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal p, .legal li { color: #c9cddb; }
.legal a { color: #ff6b6f; }

/* Mobil */
@media (max-width: 960px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 70px 0 80px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .gauge { max-width: 320px; margin: 10px auto 0; }
  .hero::before { left: 75%; }
  .cards, .contact-grid, .data-partners { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .vehicle-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .about-photo { max-width: 360px; }
  section { padding: 70px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .brand img { height: 52px; }
  .nav .btn span { display: none; }
  .site-footer a { margin: 0 18px 0 0; }
}
