/* Eurostile-inspired headings, using the free, self-hosted Librestile font.
   The original font and its SIL OFL licence live together in assets/fonts. */
@font-face {
  font-family: Librestile;
  src: url('fonts/librestile-extended-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  /* This font declares empty glyphs for German characters and other symbols.
     Only use its drawn glyphs; let Roboto render everything else. */
  unicode-range: U+0020-005B, U+005D-007B, U+007D-007E, U+00D3, U+00F3, U+00F7, U+2010-2014, U+25FC;
}

:root {
  --font-heading: Librestile, Roboto, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4,
.offer-editorial-headline,
.offer-editorial-model,
.offer-editorial-edition {
  font-family: var(--font-heading);
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: -.025em;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Extended letterforms need a little more room than the previous Roboto. */
[data-hero-carousel] .hero-content h1 {
  font-size: clamp(28px, 2.6vw, 38px);
  max-width: 24ch;
}
.catalogue-heading h1 {
  font-size: clamp(27px, 2.8vw, 42px);
  max-width: 30ch;
}
.catalogue-masthead h3 {
  font-size: clamp(22px, 1.9vw, 28px);
  min-height: 96px;
  overflow-wrap: normal;
}
.home-grid .vehicle-copy h3 { font-size: 22px; }
.service-card-title {
  font-size: 19px;
  line-height: 1.35;
  overflow-wrap: normal;
  hyphens: auto;
}
.offer-editorial-headline { font-size: clamp(34px, 6vw, 84px); }
.offer-editorial-model { font-size: 4.1cqw; overflow-wrap: normal; }
.offer-editorial-edition { font-size: 4cqw; }
#asx-select .offer-editorial-model { font-size: 5.4cqw; white-space: nowrap; }
#l200-diamant .offer-editorial-model { font-size: 5.4cqw; white-space: nowrap; }
#outlander-select .offer-editorial-model { font-size: 3.45cqw; }
.offer-editorial-card--featured .offer-editorial-edition { font-size: 4.5cqw; }
.offer-editorial-card--long-name .offer-editorial-model { font-size: 3.5cqw; }
.offer-editorial-card--long-name .offer-editorial-edition { font-size: 3.1cqw; }

/* Navigation, controls, badges and small utility headings retain their
   normal-width text face, so the green wedges and compact layouts stay clear. */
.hours-panel h2,
.quick-link h2,
.promo-services h3,
.footer-grid h3 {
  font-family: Roboto, 'Segoe UI', sans-serif;
  letter-spacing: .025em;
}
.offer-editorial-variant {
  font-family: Roboto, 'Segoe UI', sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

@media (max-width: 1000px) {
  .catalogue-masthead h3 { font-size: 26px; }
}
@media (max-width: 600px) {
  [data-hero-carousel] .hero-content h1 { font-size: 27px; max-width: 24ch; }
  .catalogue-heading h1 { font-size: 27px; }
  .catalogue-masthead h3 { font-size: 26px; min-height: 0; }
  .home-grid .vehicle-copy h3 { font-size: 24px; }
  .service-hero.service-hero-daylight h1 { font-size: clamp(27px, 7vw, 31px); }
  .service-introduction { grid-template-columns: minmax(0, 1fr); }
  .service-introduction h2 { font-size: clamp(24px, 6.5vw, 27px); }
  .service-card-title { font-size: 21px; }
  .about-hero.migration-hero h1 { font-size: 31px; }
  .offer-editorial-headline { font-size: clamp(20px, 6.25vw, 42px); max-width: none; }
  .offer-editorial-identity h3 { font-size: 25px; }
  .partner-card h2 { font-size: 18px; }
}
@media (max-width: 360px) {
  .catalogue-heading h1 { font-size: 24px; }
  .catalogue-masthead h3 { font-size: 23px; }
  .service-card-title { font-size: 18px; }
}
