/* =========================================================
   Autoforum BS GmbH – Variante 2 "Vertrauen"
   Trustworthy & sauber: hell, navy + signalgrün, klar & offen
   ========================================================= */
:root {
  --bg: #f4f6f9;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --navy: #0f2748;
  --navy-soft: #1c3a63;
  --line: #e2e8f0;
  --txt: #14233b;
  --txt-soft: #5b6b80;
  --accent: #0a7d5a;        /* vertrauensvolles grün */
  --accent-soft: #0fa674;
  --blue: #1f5fbf;
  --radius: 16px;
  --shadow: 0 18px 40px -22px rgba(15, 39, 72, 0.35);
  --shadow-sm: 0 6px 18px -10px rgba(15, 39, 72, 0.25);
  --max: 1240px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--txt); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; color: var(--navy); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; color: var(--accent); font-weight: 700; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.muted { color: var(--txt-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-soft); }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Top bar */
.topbar { background: var(--navy); color: #cdd9ea; font-size: 0.84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a { color: #fff; }
.topbar .pill { color: var(--accent-soft); font-weight: 700; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.brand__mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; }
.brand small { display: block; font-size: 0.62rem; letter-spacing: 0.16em; color: var(--txt-soft); text-transform: uppercase; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--txt); font-size: 0.95rem; font-weight: 600; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .25s; }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: 80px 0; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin: 16px 0 18px; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--txt-soft); font-size: 1.1rem; max-width: 520px; }
.hero__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
.hero__trust div { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.hero__trust .tick { width: 24px; height: 24px; border-radius: 50%; background: rgba(10,125,90,0.12); color: var(--accent); display: grid; place-items: center; font-size: 0.8rem; }
.hero__visual { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; border: 1px solid var(--line); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__rating { position: absolute; top: 16px; right: 16px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-sm); font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.hero__rating .stars { color: #f5a623; }

/* Logos */
.logos { display: flex; flex-wrap: wrap; gap: 14px 46px; justify-content: center; align-items: center; }
.logos span { font-size: 1.3rem; font-weight: 800; color: var(--txt-soft); opacity: .65; }

/* Section heads */
.section__head { max-width: 660px; margin-bottom: 44px; }
.section__head.center { margin-left: auto; margin-right: auto; }
.section__head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 12px 0 12px; }
.section__head p { color: var(--txt-soft); }

/* Car grid + cards */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.car-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.car-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg); }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car-card:hover .car-card__media img { transform: scale(1.04); }
.car-card__tag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.car-card__body { padding: 20px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.car-card__brand { font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.car-card__title { font-size: 1.22rem; }
.car-card__specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.car-card__specs li { font-size: 0.78rem; color: var(--txt-soft); background: var(--bg); border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; }
.car-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.car-card__price { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.car-card__cta { color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(10,125,90,0.1); color: var(--accent); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature p { color: var(--txt-soft); font-size: 0.95rem; }

/* Toolbar / filters */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; justify-content: space-between; margin-bottom: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.filters { display: flex; flex-wrap: wrap; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--txt-soft); font-weight: 700; }
.field select, .field input, .field textarea { background: #fff; border: 1px solid var(--line); color: var(--txt); padding: 11px 14px; border-radius: 10px; font-size: 0.95rem; font-family: inherit; min-width: 170px; }
.field select:focus, .field input:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.result-count { color: var(--txt-soft); font-size: 0.9rem; }
.result-count b { color: var(--navy); }
.empty { color: var(--txt-soft); padding: 40px 0; }

/* Detail */
.breadcrumb { color: var(--txt-soft); font-size: 0.85rem; margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--accent); }
.detail__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; }
.detail__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16/10; object-fit: cover; }
.detail__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.detail__thumbs img { aspect-ratio: 4/3; }
.detail__brand { font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.detail__info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 8px 0 14px; }
.detail__price { font-size: 2.1rem; font-weight: 800; color: var(--navy); margin-bottom: 22px; }
.detail__price small { display: block; font-size: 0.78rem; color: var(--txt-soft); font-weight: 500; }
.detail__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.detail__specs > div { background: #fff; padding: 14px 16px; }
.detail__specs dt { font-size: 0.74rem; color: var(--txt-soft); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.detail__specs dd { font-size: 1rem; margin-top: 2px; font-weight: 600; color: var(--navy); }
.detail__cta { width: 100%; justify-content: center; }
.detail__note { margin-top: 14px; font-size: 0.85rem; color: var(--accent); text-align: center; font-weight: 600; }
.detail__features { margin-top: 52px; }
.detail__features h2 { font-size: 1.5rem; margin-bottom: 18px; }
.detail__features ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.detail__features li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 0.92rem; box-shadow: var(--shadow-sm); }
.detail__features li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__visual { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; box-shadow: var(--shadow); }
.about__visual img { width: 100%; height: 100%; object-fit: cover; }
.about p { color: var(--txt-soft); margin-bottom: 16px; }
.timeline { list-style: none; margin-top: 24px; display: grid; gap: 16px; }
.timeline li { padding-left: 30px; position: relative; }
.timeline li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(10,125,90,0.12); color: var(--accent); display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; }
.timeline b { color: var(--navy); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.testi .stars { color: #f5a623; margin-bottom: 12px; }
.testi p { color: var(--txt); font-size: 0.96rem; margin-bottom: 16px; }
.testi b { color: var(--navy); }
.testi span { color: var(--txt-soft); font-size: 0.84rem; display: block; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form .field { width: 100%; }
.form .field select, .form .field input, .form .field textarea { min-width: 0; width: 100%; }
.form-msg { background: rgba(10,125,90,0.1); border: 1px solid var(--accent); color: var(--accent); padding: 16px; border-radius: 10px; font-weight: 600; margin-bottom: 16px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.info-card p { color: var(--txt-soft); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* CTA banner */
.cta-banner { background: var(--navy); color: #fff; border-radius: 22px; padding: 56px; text-align: center; }
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 12px; }
.cta-banner p { color: #b9c6da; margin-bottom: 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--navy); color: #b9c6da; padding: 60px 0 26px; margin-top: 40px; }
.site-footer .brand, .site-footer h4 { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer__grid h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer__grid a, .footer__grid p { display: block; color: #b9c6da; font-size: 0.92rem; margin-bottom: 10px; }
.footer__grid a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.84rem; }
.site-footer .brand__mark { background: #fff; color: var(--navy); }
.site-footer .brand small { color: #b9c6da; }

/* Switcher */
.switcher { position: fixed; right: 18px; bottom: 18px; z-index: 80; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 16px; display: flex; align-items: center; gap: 10px; font-size: 0.82rem; box-shadow: var(--shadow); font-weight: 600; color: var(--navy); }
.switcher a { background: var(--navy); color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 700; }

@media (max-width: 980px) {
  .hero__inner, .about__grid, .contact__grid, .detail__grid { grid-template-columns: 1fr; }
  .car-grid, .feature-grid, .testi-grid, .detail__features ul { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav { position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; display: none; }
  .nav.is-open { display: flex; }
  .car-grid, .feature-grid, .testi-grid, .detail__features ul, .detail__specs, .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .topbar { display: none; }
  .cta-banner { padding: 36px 22px; }
}
