/* =====================================================
   LABI QUALITY GMBH — Design System v2
   Weniger KI. Mehr Charakter.
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700;800&family=Outfit:wght@400;500;600&display=swap');

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --red:         #C41E1E;
  --red-dark:    #9A1414;
  --black:       #111418;
  --dark:        #1B2030;
  --cream:       #F5F0E8;
  --cream-2:     #EDE7DB;
  --white:       #FFFFFF;
  --gray:        #6B7280;
  --gray-light:  #9CA3AF;
  --border:      rgba(0,0,0,0.1);
  --border-w:    rgba(255,255,255,0.1);
  --red-rgb:     196, 30, 30;

  --font-d: 'Space Grotesk', sans-serif;
  --font-b: 'Outfit', sans-serif;

  --w: 1220px;
  --r: 8px;
  --r-lg: 16px;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width:100%; height:auto; display:block; }
a   { text-decoration:none; color:inherit; }
ul,ol { list-style:none; }
button { font-family: var(--font-b); }

/* ── LAYOUT ─────────────────────────────────────────── */
.wrap    { max-width: var(--w); margin: 0 auto; padding: 0 32px; }
.wrap-sm { max-width: 760px;    margin: 0 auto; padding: 0 32px; }

/* ── TYPE SCALE ─────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-d); line-height: 1.06; }
h1 { font-size: clamp(42px, 7vw, 90px);  font-weight: 800; letter-spacing: -3px; }
h2 { font-size: clamp(28px, 4vw, 52px);  font-weight: 700; letter-spacing: -1.5px; }
h3 { font-size: clamp(17px, 2.2vw, 22px);font-weight: 600; letter-spacing: -.3px; }
p  { line-height: 1.75; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-d); font-size: 11px; font-weight: 600;
  letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.eyebrow-white  { color: rgba(255,255,255,.45); }
.eyebrow-gray   { color: var(--gray-light); }
.lead    { font-size: 18px; color: var(--gray); line-height: 1.75; }
.t-muted { color: var(--gray); }
.t-white { color: var(--white); }

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r);
  font-family: var(--font-d); font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; line-height: 1;
  transition: all .2s ease; white-space: nowrap; text-decoration: none;
}
.btn-lg { padding: 17px 36px; font-size: 15px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

.btn-red  { background: var(--red); color: var(--white); box-shadow: 0 4px 20px rgba(var(--red-rgb),.3); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(var(--red-rgb),.42); }

.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--dark); transform: translateY(-2px); }

.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--black); }
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

.btn-outline-w { background: transparent; border: 1.5px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8); }
.btn-outline-w:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

.btn-white { background: var(--white); color: var(--red); box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }

.btn svg { width:17px; height:17px; flex-shrink:0; }

/* ── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 68px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
.navbar.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.navbar.is-scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 11px; text-decoration: none;
}
.nav-logo-icon { width: 38px; height: 38px; flex-shrink: 0; }
.nav-logo-img { height: 44px; width: auto; display: block; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-d); font-size: 17px; font-weight: 800;
  color: var(--black); letter-spacing: -.5px; line-height: 1.1;
}
.nav-logo-text small {
  display: block; font-size: 10px; font-weight: 500;
  color: var(--gray); letter-spacing: .3px; font-family: var(--font-b);
}
.navbar.is-transparent .nav-logo-text { color: var(--white); }
.navbar.is-transparent .nav-logo-text small { color: rgba(255,255,255,.4); }
.footer-logo-img { height: 40px; width: auto; display: block; object-fit: contain; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--gray);
  padding: 8px 13px; border-radius: 6px;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.navbar.is-transparent .nav-links a { color: rgba(255,255,255,.55); }
.navbar.is-transparent .nav-links a:hover { color: var(--white); }
.navbar.is-transparent .nav-links a.active { color: var(--white); }

.nav-right {
  display: flex; align-items: center; gap: 12px;
}
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--black);
}
.nav-phone svg { width: 15px; height: 15px; color: var(--red); }
.navbar.is-transparent .nav-phone { color: rgba(255,255,255,.65); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--black); border-radius: 2px; transition: all .3s;
}
.navbar.is-transparent .nav-burger span { background: var(--white); }

.mobile-nav {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px 24px;
  z-index: 499;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 13px 0;
  font-size: 15px; font-weight: 500; color: var(--black);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn { width: 100%; margin-top: 16px; justify-content: center; }

/* ── PAGE HERO (Unterseiten) ────────────────────────── */
.page-hero {
  background: var(--black); color: var(--white);
  padding: 140px 0 80px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 5% 100%, rgba(var(--red-rgb),.16) 0%, transparent 55%);
  pointer-events: none;
}
.ph-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero .lead { color: rgba(255,255,255,.55); max-width: 540px; }

/* ── BREADCRUMB ─────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.3);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,.3); transition: color .2s; }
.breadcrumb a:hover { color: rgba(255,255,255,.7); }

/* ── MARQUEE ────────────────────────────────────────── */
.marquee-strip {
  background: var(--red); overflow: hidden; padding: 0;
  height: 52px; display: flex; align-items: center;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: flex; align-items: center; gap: 36px;
  padding: 0 36px; white-space: nowrap;
  font-family: var(--font-d); font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.m-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); flex-shrink: 0; }

/* ── SERVICE LIST ───────────────────────────────────── */
.service-list { border-top: 1px solid var(--border); }
.service-row {
  display: grid; grid-template-columns: 54px 1fr auto 44px;
  align-items: center; gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--black);
  transition: padding-left .22s;
  cursor: pointer;
}
.service-row:hover { padding-left: 10px; }
.svc-num {
  font-family: var(--font-d); font-size: 12px; font-weight: 700;
  color: var(--red); opacity: .5; letter-spacing: 1.5px;
  transition: opacity .22s;
}
.service-row:hover .svc-num { opacity: 1; }
.svc-name {
  font-family: var(--font-d);
  font-size: clamp(17px, 2.5vw, 26px);
  font-weight: 600; color: var(--black);
  transition: color .22s;
}
.service-row:hover .svc-name { color: var(--red); }
.svc-desc {
  font-size: 14px; color: var(--gray); max-width: 300px;
  line-height: 1.55;
}
.svc-arr {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all .22s; flex-shrink: 0;
}
.svc-arr svg { width: 15px; height: 15px; transition: transform .22s; }
.service-row:hover .svc-arr { background: var(--red); border-color: var(--red); color: var(--white); }
.service-row:hover .svc-arr svg { transform: translateX(2px); }

/* ── NUMBERS ────────────────────────────────────────── */
.numbers-section { background: var(--black); }
.numbers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.07);
}
.num-item {
  padding: 64px 48px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.num-item:last-child { border-right: none; }
.num-figure {
  font-family: var(--font-d);
  font-size: clamp(60px, 7vw, 88px);
  font-weight: 800; letter-spacing: -4px;
  color: var(--white); line-height: 1;
  display: block; margin-bottom: 10px;
  will-change: transform;
}
.num-label {
  font-family: var(--font-d); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.28);
}
.num-desc { font-size: 14px; color: rgba(255,255,255,.38); margin-top: 8px; line-height: 1.6; }

/* ── VEHICLE CARDS ──────────────────────────────────── */
.vehicle-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
  will-change: transform;
}
.vehicle-card:hover { transform: translateY(-6px) scale(1.025); box-shadow: 0 20px 48px rgba(0,0,0,.12); }
.v-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(140deg, var(--dark) 0%, var(--black) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.v-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(var(--red-rgb),.22), transparent 60%);
  pointer-events: none;
}
/* Real photos: light background, full image visible, no dark overlay */
.v-thumb:has(img) { background: #f4f2ef; }
.v-thumb:has(img)::after { display: none; }
.v-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.v-thumb svg { position: relative; z-index: 1; opacity: .5; }
.v-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(var(--red-rgb),.9); color: var(--white);
  font-family: var(--font-d); font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.v-photo-hint {
  position: absolute; bottom: 12px; right: 14px; z-index: 2;
  font-size: 11px; color: rgba(255,255,255,.25); font-family: var(--font-d);
}
.v-body { padding: 24px 28px; }
.v-body h3 { margin-bottom: 3px; font-size: 19px; }
.v-cat {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px; display: block;
}
.v-specs {
  display: flex; gap: 24px; margin: 14px 0;
  padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.vspec { display: flex; flex-direction: column; gap: 2px; }
.vspec strong { font-family: var(--font-d); font-size: 16px; font-weight: 700; color: var(--black); line-height: 1; }
.vspec span   { font-size: 12px; color: var(--gray); }
.v-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.v-actions .btn { flex: 1; min-width: 120px; }

/* ── FLEET GRID ─────────────────────────────────────── */
.fleet-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.fleet-main { grid-row: 1 / 3; }
.fleet-main .v-thumb { aspect-ratio: auto; min-height: 280px; flex: 1; }
.fleet-main .vehicle-card { display: flex; flex-direction: column; height: 100%; }
.fleet-main .v-body { flex: 1; }

/* ── PROCESS (horizontal strip) ─────────────────────── */
.process-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.ps-item {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  position: relative;
}
.ps-item:last-child { border-right: none; }
.ps-num {
  font-family: var(--font-d); font-size: 52px; font-weight: 800;
  color: rgba(var(--red-rgb),.08); letter-spacing: -3px;
  line-height: 1; margin-bottom: 20px; display: block;
}
.ps-title { font-family: var(--font-d); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ps-text  { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ── CTA MAIN ───────────────────────────────────────── */
.cta-main {
  background: var(--red); padding: 96px 0;
  position: relative; overflow: hidden;
}
.cta-main::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(255,255,255,.12), transparent 55%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-tag { color: rgba(255,255,255,.5); margin-bottom: 16px; }
.cta-big {
  font-family: var(--font-d);
  font-size: clamp(36px, 5.5vw, 72px); font-weight: 800;
  letter-spacing: -3px; color: var(--white); line-height: 1.05;
  margin-bottom: 12px;
}
.cta-phone {
  font-family: var(--font-d);
  font-size: clamp(24px, 3.5vw, 48px); font-weight: 600;
  letter-spacing: -1.5px; color: rgba(255,255,255,.6);
  display: block; margin-bottom: 40px; text-decoration: none;
  transition: color .2s;
}
.cta-phone:hover { color: var(--white); }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────────────────── */
.footer { background: var(--black); padding: 80px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2.4fr 1fr 1fr 1.3fr;
  gap: 64px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 32px;
}
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand-row svg { width: 36px; height: 36px; }
.footer-brand-name {
  font-family: var(--font-d); font-size: 17px; font-weight: 800;
  color: var(--white); letter-spacing: -.5px; line-height: 1.1;
}
.footer-brand-name small { display:block; font-size:10px; font-weight:500; color:rgba(255,255,255,.28); letter-spacing:.3px; font-family:var(--font-b); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.34); line-height: 1.65; max-width: 260px; margin-bottom: 28px; }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-ci {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,.44);
}
.footer-ci svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--red); }
.footer-ci a:hover { color: var(--white); }

.footer-col h4 {
  font-family: var(--font-d); font-size: 10px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.2); margin-bottom: 20px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.44); transition: color .2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.22);
}
.footer-bottom-links a { color: rgba(255,255,255,.22); margin-left: 24px; transition: color .2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.6); }

/* ── FORM ───────────────────────────────────────────── */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  font-family: var(--font-d); color: var(--black);
  letter-spacing: .4px; margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 13px 17px;
  border: 1.5px solid var(--border);
  border-radius: var(--r); font-family: var(--font-b);
  font-size: 15px; color: var(--black); background: var(--white);
  appearance: none; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(var(--red-rgb),.1); }
.form-control::placeholder { color: #B5BAC1; }
select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 14px center;
  background-size: 17px; padding-right: 44px; cursor: pointer;
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* ── FILTER BAR ─────────────────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-tab {
  padding: 10px 22px; border-radius: 100px;
  border: 1.5px solid var(--border);
  font-family: var(--font-d); font-size: 14px; font-weight: 600;
  color: var(--gray); background: var(--white);
  cursor: pointer; transition: all .2s;
}
.filter-tab:hover       { border-color: var(--red); color: var(--red); }
.filter-tab.active      { background: var(--red); border-color: var(--red); color: var(--white); }

/* ── TOGGLE ─────────────────────────────────────────── */
.toggle-row { display: flex; gap: 6px; background: var(--cream); border-radius: var(--r); padding: 4px; }
.toggle-opt {
  flex: 1; padding: 11px 16px; border-radius: 6px;
  cursor: pointer; font-size: 14px; font-weight: 600;
  font-family: var(--font-d); text-align: center;
  color: var(--gray); transition: all .2s; border: none; background: none;
}
.toggle-opt.active { background: var(--white); color: var(--black); box-shadow: 0 2px 8px rgba(0,0,0,.1); }

/* ── FADE-IN (GSAP sets opacity via from() — no CSS opacity here) ── */
.js-fade { will-change: transform; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .fleet-grid      { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .fleet-main      { grid-row: auto; }
  .fleet-main .v-thumb { min-height: auto; }
  .service-row     { grid-template-columns: 44px 1fr 40px; }
  .svc-desc        { display: none; }
  .numbers-grid    { grid-template-columns: 1fr 1fr; }
  .num-item:nth-child(2) { border-right: none; }
  .num-item:last-child   { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.07); }
  .process-row     { grid-template-columns: 1fr 1fr; }
  .ps-item:nth-child(2)  { border-right: none; }
  .ps-item:nth-child(3), .ps-item:nth-child(4) { border-top: 1px solid var(--border); }
  .ps-item:nth-child(4)  { border-right: none; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --w: 100%; }
  .wrap, .wrap-sm { padding: 0 20px; }
  .nav-links, .nav-right { display: none; }
  .nav-burger { display: flex; }
  .fleet-grid      { grid-template-columns: 1fr; }
  .numbers-grid    { grid-template-columns: 1fr; }
  .num-item        { border-right: none !important; border-top: 1px solid rgba(255,255,255,.07); padding: 40px 28px; }
  .num-item:first-child { border-top: none; }
  .process-row     { grid-template-columns: 1fr; border-radius: var(--r); }
  .ps-item         { border-right: none !important; border-bottom: 1px solid var(--border); }
  .ps-item:last-child { border-bottom: none; }
  .footer-grid     { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom   { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-links a { margin: 0 8px; }
  .cta-btns        { flex-direction: column; }
  .cta-btns .btn   { justify-content: center; }
  .service-row     { grid-template-columns: 38px 1fr 38px; gap: 16px; }
}

/* ── COMPAT LAYER — old variable aliases for subpages ── */
:root {
  /* Old name → new value */
  --primary:       var(--red);
  --border-dark:   rgba(255,255,255,0.1);
  --primary-dark:  var(--red-dark);
  --primary-rgb:   196, 30, 30;
  --dark-2:        #1B2030;
  --neutral:       var(--gray);
  --border-light:  rgba(0,0,0,0.08);
  --radius:        var(--r);
  --radius-lg:     var(--r-lg);
  --shadow:        0 2px 12px rgba(0,0,0,.08);
  --shadow-red:    0 4px 20px rgba(196,30,30,.28);
  --neutral-light: #9CA3AF;
  --font-display:  var(--font-d);
  --section-gap:   96px;
  /* Spacing scale (8px grid) */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-7:  56px;
  --sp-8:  64px;
  --sp-9:  72px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-15: 120px;
}
/* Container aliases */
.container    { max-width: var(--w); margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 760px;    margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) {
  .container, .container-sm { padding: 0 20px; }
}
/* Old page-hero inner */
.page-hero-inner { position: relative; z-index: 1; }
/* section-md used in subpages */
.section-md { padding: 72px 0; }
/* Button compat */
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 4px 20px rgba(var(--red-rgb),.3); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

/* Old navbar class (now handled by .navbar in v2) */
.navbar-logo-icon { width: 38px; height: 38px; }
.navbar-logo-text { font-family: var(--font-d); font-size: 17px; font-weight: 800; color: var(--black); letter-spacing:-.5px; line-height:1.1; }
.navbar-logo-text small { display:block; font-size:10px; font-weight:500; color:var(--gray); letter-spacing:.3px; }
/* Old footer classes */
.footer-main { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1.3fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand-name { font-family: var(--font-d); font-size: 17px; font-weight: 800; color: var(--white); letter-spacing:-.5px; line-height:1.1; }
.footer-brand-name small { display:block; font-size:10px; font-weight:500; color:rgba(255,255,255,.28); letter-spacing:.3px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,.44); }
.footer-contact-item svg { width:15px; height:15px; flex-shrink:0; margin-top:3px; color: var(--red); }
.footer-contact-item a:hover { color: var(--white); }
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}

/* Section layout utilities used in subpages */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.text-center { text-align: center; }
.text-muted { color: var(--gray); }
.section-header { max-width: 700px; }
.section-header.text-center { margin-left: auto; margin-right: auto; }
.eyebrow-dim { color: rgba(255,255,255,.38); }
.eyebrow-dark { color: rgba(255,255,255,.38); }

/* CSS intersection-observer animations for subpages */
.anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-d1 { transition-delay: 0.08s; }
.anim-d2 { transition-delay: 0.18s; }
.anim-d3 { transition-delay: 0.28s; }
.anim-d4 { transition-delay: 0.38s; }

/* Vehicle cards: re-assert fast hover transition after .anim rules above */
.vehicle-card { transition: opacity .4s ease, transform .22s ease, box-shadow .22s ease; }
.vehicle-card.visible { transition-delay: 0s; }
