/* ==========================================================================
   Autohaus Hermann - Startseite
   Signature: the two-colour pinstripe (Zierlinie) in logo red + partner blue,
   expanded Mona Sans headlines that keep the original bold emphasis.
   ========================================================================== */

@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0d0f12;
  --ink-2: #16191e;
  --ink-3: #252a31;
  --steel: #3a4049;
  --mute: #585e68;
  --mute-on-dark: #a7adb6;
  --line: #d9dad5;
  --line-dark: rgba(255, 255, 255, 0.14);
  --paper: #f3f3f0;
  --paper-2: #e9e9e5;
  --white: #fff;
  --red: #d7141a;          /* the line under the AUTOHAUS HERMANN wordmark */
  --red-deep: #b30f14;
  --blue: #0062ba;         /* partner blue, only ever in the pinstripe */
  --ok: #17733f;

  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wide: 118%;
  --wider: 125%;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1440px;
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 84px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);

  /* Pinstripe: 2px red, 2px gap, 1px blue. */
  --stripe: linear-gradient(to bottom, var(--red) 0 2px, transparent 2px 4px, var(--blue) 4px 5px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  /* Mona Sans draws a slashed zero in its tabular figures; keep proportional figures. */
  font-variant-numeric: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
:where(ul, ol)[role="list"], .plain-list { list-style: none; padding: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typography ---------- */

.display,
.h2 {
  font-stretch: var(--wide);
  font-weight: 420;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.display strong,
.h2 strong,
.display b,
.h2 b { font-weight: 800; }
.h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.75rem); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 5px;
  background: var(--stripe);
  flex: none;
}
.on-dark .kicker { color: var(--mute-on-dark); }

.lead {
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--steel);
  max-width: 62ch;
}
.lead strong { color: var(--ink); font-weight: 650; }
.on-dark .lead { color: var(--mute-on-dark); }
.on-dark .lead strong { color: #fff; }

/* Pinstripe rule */
.pinstripe {
  display: block;
  height: 5px;
  background: var(--stripe);
  border: 0;
  margin: 0;
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font-weight: 650;
  font-size: 0.98rem;
  font-stretch: 108%;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}
.btn::after {
  /* the red fill wipes in from the left on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.btn:hover::after { transform: scaleX(1); }
.btn:hover { border-color: var(--red); color: #fff; }
.btn .icon { transition: transform 0.35s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: currentColor; }
.on-dark .btn--ghost { --fg: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--red { --bg: var(--red); --fg: #fff; }
.btn--red::after { background: var(--ink); }
.btn--red:hover { border-color: var(--ink); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--ease-out);
}
.textlink:hover { background-size: 100% 1px; }
.textlink .icon { width: 1.1em; height: 1.1em; transition: transform 0.35s var(--ease-out); }
.textlink:hover .icon { transform: translateX(3px); }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Live opening status
   ========================================================================== */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b9099;
  flex: none;
}
.status.is-open .status__dot {
  background: #2fbf6b;
  box-shadow: 0 0 0 0 rgba(47, 191, 107, 0.6);
  animation: pulse 2.4s var(--ease-out) infinite;
}
.status__label { color: var(--mute-on-dark); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 191, 107, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(47, 191, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 191, 107, 0); }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  transition: transform 0.45s var(--ease-out), box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(13, 15, 18, 0.35); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  /* constant height: a height change here shifts the page, the browser's scroll
     anchoring corrects the scroll position and the header state flips back (jitter) */
  height: var(--header-h);
}
.site-header__stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  transform-origin: left;
  animation: draw 1.4s 0.2s var(--ease-out) both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.brand { display: flex; align-items: center; min-height: 48px; flex: none; }
.brand img {
  width: 214px;
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
/* compact look without touching layout */
.site-header.is-scrolled .brand img { transform: scale(0.88); }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border: 0;
  background: none;
  font-size: 0.97rem;
  font-weight: 560;
  letter-spacing: 0.005em;
  text-decoration: none;
  color: var(--ink);
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover::after,
.nav__item.is-open > .nav__link::after,
.nav__item--has-sub:hover > .nav__link::after { transform: scaleX(1); }
.nav__chev { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: calc(100% + 12px);
  left: 0.25rem;
  min-width: 260px;
  padding: 0.6rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 50px -20px rgba(13, 15, 18, 0.35), 0 0 0 1px rgba(13, 15, 18, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s 0.25s;
}
.nav__sub::before {
  /* hover bridge */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.nav__sub ul { margin: 0; padding: 0; list-style: none; }
.nav__sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 540;
  text-decoration: none;
  transition: background-color 0.2s;
}
.nav__sub a .icon { width: 16px; height: 16px; color: var(--red); opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.3s var(--ease-out); }
.nav__sub a:hover { background: var(--paper); }
.nav__sub a:hover .icon { opacity: 1; transform: none; }
.nav__item.is-open .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s;
}
@media (hover: hover) {
  .nav__item--has-sub:hover .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s;
  }
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-header__cta { min-height: 48px; padding-inline: 1.15rem; font-size: 0.93rem; }
.site-header__cta .icon { width: 18px; height: 18px; }
.site-header__call {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
}
.site-header__call .icon { width: 20px; height: 20px; }

.burger {
  display: none;
  position: relative;
  z-index: 80;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}
.burger__box { position: absolute; left: 14px; right: 14px; top: 17px; bottom: 17px; }
.burger__box span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), opacity 0.2s, top 0.4s var(--ease-out);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 6px; right: 5px; }
.burger__box span:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1279px) {
  .site-header__inner { gap: 1.25rem; }
  .nav__link { padding-inline: 0.6rem; font-size: 0.93rem; }
  .nav__link::after { left: 0.6rem; right: 0.6rem; }
  .brand img { width: 190px; }
}
@media (max-width: 1099px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .burger { display: block; }
  .site-header__actions { margin-left: auto; }
  .site-header__call { display: grid; }
  .brand img { width: 168px; }
}
@media (max-width: 599px) {
  .site-header__cta { display: none; }
  .brand img { width: 150px; }
}

/* ---------- Drawer (mobile menu) ---------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
}
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(13, 15, 18, 0.55);
  opacity: 0;
  transition: opacity 0.4s;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 92vw);
  padding: calc(var(--header-h) + 1.5rem) 1.5rem calc(2rem + env(safe-area-inset-bottom));
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.menu-open .drawer { pointer-events: auto; }
.menu-open .drawer__scrim { opacity: 1; }
.menu-open .drawer__panel { transform: none; }
.menu-open body { overflow: hidden; }
.drawer__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__link,
.drawer__group > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 60px;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  font-size: 1.35rem;
  font-weight: 650;
  font-stretch: 110%;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
}
.drawer__group > button .icon { width: 22px; height: 22px; transition: transform 0.3s var(--ease-out); }
.drawer__group > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer__sub {
  display: none;
  margin: 0 0 1rem;
  padding: 0 0 0 1rem;
  list-style: none;
  border-left: 2px solid var(--red);
}
.drawer__group > button[aria-expanded="true"] + .drawer__sub { display: block; }
.drawer__sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.05rem;
  font-weight: 520;
  text-decoration: none;
  color: var(--steel);
}
.drawer__contact { display: grid; gap: 0.25rem; }
.drawer__phone {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 56px;
  text-decoration: none;
  font-weight: 600;
}
.drawer__phone .icon { width: 22px; height: 22px; color: var(--red); }
.drawer__phone small { display: block; font-size: 0.78rem; font-weight: 550; color: var(--mute); }
.drawer__phone b { font-weight: 800; }
.drawer__cta { margin-top: 0.75rem; }
.drawer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}
.drawer__legal a { display: inline-flex; min-height: 44px; align-items: center; color: var(--mute); }

/* Staggered entrance for drawer items */
.drawer__list > li,
.drawer__contact,
.drawer__legal {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.4s, transform 0.6s var(--ease-out);
}
.menu-open .drawer__list > li,
.menu-open .drawer__contact,
.menu-open .drawer__legal { opacity: 1; transform: none; }
.menu-open .drawer__list > li:nth-child(1) { transition-delay: 0.08s; }
.menu-open .drawer__list > li:nth-child(2) { transition-delay: 0.12s; }
.menu-open .drawer__list > li:nth-child(3) { transition-delay: 0.16s; }
.menu-open .drawer__list > li:nth-child(4) { transition-delay: 0.2s; }
.menu-open .drawer__contact { transition-delay: 0.26s; }
.menu-open .drawer__legal { transition-delay: 0.3s; }

/* ==========================================================================
   Hero "vier Türen": statement + live info left, four expanding photo doors right
   ========================================================================== */

.hero {
  --overlap: 76px;
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem) 0 calc(var(--overlap) + clamp(2rem, 3.5vw, 3rem));
  background: var(--ink);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  /* fine coachline grid, barely visible: gives the dark stage some depth */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / calc((100% - 2 * var(--gutter)) / 12) 100%;
  background-origin: content-box;
  padding-inline: var(--gutter);
  max-width: var(--maxw);
  margin-inline: auto;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
  gap: clamp(2rem, 4vw, 4rem);
  min-height: clamp(540px, calc(100svh - var(--header-h) - 230px), 700px);
}

/* ---------- Left: statement + today ---------- */
.hero__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  min-width: 0;
}
.hero__status { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chip-status {
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  color: #cfd3d9;
}
.chip-status .status__label { color: #fff; font-weight: 650; }
.hero__title {
  font-size: clamp(2.7rem, 1rem + 3.65vw, 4.9rem);
  font-weight: 360;
  font-stretch: var(--wider);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__title strong {
  font-weight: 820;
  padding-bottom: 0.06em;
  background: var(--stripe) 0 88% / 0 5px no-repeat;
  animation: underline 1.1s 0.5s var(--ease-out) forwards;
}
@keyframes underline { to { background-size: 100% 5px; } }
.hero__lead {
  max-width: 30ch;
  font-size: clamp(1.1rem, 0.98rem + 0.45vw, 1.35rem);
  line-height: 1.5;
  color: #b4bac3;
}
.hero__lead strong { color: #fff; font-weight: 650; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__ctas .btn { padding-inline: 1.15rem; font-size: 0.95rem; }
.hero .btn--ghost { --fg: #fff; border-color: rgba(255, 255, 255, 0.4); }
.hero .btn--ghost:hover { border-color: var(--red); }

.hero__contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 1.5rem;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}
.hero__contact li { display: grid; align-content: start; }
.hero__open {
  margin: -0.4rem 0 0.4rem 6px;
  font-size: 0.78rem;
  color: var(--mute-on-dark);
  white-space: normal;
}
.hero__open.is-open { color: #5fd38f; }
.hero__contact a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 50px;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 560;
  line-height: 1.25;
  text-decoration: none;
}
.hero__contact a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.hero__contact .icon { width: 20px; height: 20px; color: #ff5a5f; }
.hero__contact small { display: block; font-size: 0.74rem; font-weight: 550; color: var(--mute-on-dark); }
.hero__contact b { font-weight: 800; }

.hero__brands { display: flex; align-items: center; gap: 1rem; }
.hero__logos { display: flex; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.hero__logos a, .hero__logos li > img { display: block; }
.hero__logos img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.4s var(--ease-out);
}
.hero__logos a:hover img { transform: translateY(-3px); }
.hero__brand-text { max-width: 20ch; font-size: 0.85rem; line-height: 1.35; color: var(--mute-on-dark); }

/* ---------- Right: the doors ---------- */
.doors {
  --gap: 10px;
  --grow: 4.2;
  position: relative;
  display: flex;
  gap: var(--gap);
  min-width: 0;
  min-height: 520px;
}
.door {
  --p: 0;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-3);
  transition: flex-grow 0.85s var(--ease-out), height 0.7s var(--ease-out);
}
.door.is-open { flex-grow: var(--grow); }
.door__media { position: absolute; inset: 0; }
.door__media img {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--door-w, 100%);
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transform: translateX(-50%) scale(1.08);
  filter: grayscale(0.45) brightness(0.62);
  transition: transform 1.4s var(--ease-out), filter 0.7s var(--ease-out);
}
.door.is-open .door__media img { transform: translateX(-50%) scale(1); filter: none; }
.door:not(.is-open):hover .door__media img { filter: grayscale(0) brightness(0.8); }
.door::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 10, 12, 0.88) 0%, rgba(8, 10, 12, 0.35) 42%, rgba(8, 10, 12, 0) 68%);
}
.door__timer {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0;
  transition: opacity 0.3s;
}
.door__timer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(var(--p));
  transform-origin: left;
}
.door.is-open .door__timer { opacity: 1; }
.doors.is-paused .door__timer { opacity: 0; }

.door__toggle {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 0.5rem 1.2rem;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.door__label {
  order: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.02rem;
  font-weight: 650;
  font-stretch: 110%;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.door__plus {
  order: 2;
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}
.door__plus::before,
.door__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.door__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.door__toggle:hover .door__plus { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
.door.is-open .door__toggle {
  /* stays focusable for keyboard users, the open door shows its body instead */
  inset: auto;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  opacity: 0;
}
.door:has(.door__toggle:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }

.door__body {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  justify-items: start;
  gap: 0.7rem;
  width: var(--door-w, 100%);
  max-width: 100%;
  padding: clamp(1.25rem, 2.4vw, 2.25rem);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.3s, transform 0.6s var(--ease-out);
}
.door.is-open .door__body {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s 0.35s, transform 0.9s 0.3s var(--ease-out);
}
.door__title {
  font-size: clamp(1.9rem, 0.8rem + 2.1vw, 3.1rem);
  font-weight: 790;
  font-stretch: var(--wider);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.door__sub {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
}
.door__sub::before {
  content: "";
  width: 30px;
  height: 5px;
  background: linear-gradient(to bottom, var(--red) 0 2px, transparent 2px 4px, #fff 4px 5px);
}
.door__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 50px;
  margin-top: 0.5rem;
  padding: 0.3rem 0.3rem 0.3rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
.door__cta-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  transition: transform 0.45s var(--ease-out);
}
.door__cta-icon .icon { width: 20px; height: 20px; }
.door__cta:hover .door__cta-icon { transform: rotate(-45deg); }

.doors__pause {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(13, 15, 18, 0.45);
  color: #fff;
  backdrop-filter: blur(6px);
}
.doors__pause:hover { background: rgba(13, 15, 18, 0.75); border-color: #fff; }
.doors__pause .icon { width: 16px; height: 16px; }
.doors__pause .icon--play,
.doors.is-paused .doors__pause .icon--pause { display: none; }
.doors.is-paused .doors__pause .icon--play { display: block; }

@media (max-width: 1099px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__lead { max-width: 44ch; }
  .doors { min-height: 460px; }
}
@media (max-width: 699px) {
  .hero { --overlap: 28px; padding-top: 1.75rem; }
  .hero__intro { gap: 1.25rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__contact { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .hero__contact a { font-size: 0.88rem; }
  .doors { flex-direction: column; min-height: 0; --gap: 8px; }
  .door { flex: none; height: 66px; }
  .door.is-open { height: 330px; }
  .door__toggle { flex-direction: row; justify-content: space-between; align-items: center; padding: 0 0.9rem 0 1.1rem; }
  .door__label { writing-mode: horizontal-tb; transform: none; font-size: 1rem; }
  .door__plus { width: 32px; height: 32px; }
  .door__media img { width: 100%; left: 0; transform: scale(1.08); }
  .door.is-open .door__media img { transform: none; }
  .door__body { width: 100%; }
  .doors__pause { top: 10px; right: 10px; width: 40px; height: 40px; }
}

/* ==========================================================================
   Vehicle finder
   ========================================================================== */

.finder {
  position: relative;
  z-index: 5;
  margin-top: calc(var(--overlap, 76px) * -1);
}
.hero + .finder { --overlap: 76px; }
.finder__panel { position: relative; }
@media (max-width: 899px) { .hero + .finder { --overlap: 28px; } }

.finder__panel {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.25rem, 2.6vw, 2.1rem) clamp(1.15rem, 2.8vw, 2.4rem);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 70px -40px rgba(13, 15, 18, 0.45), 0 0 0 1px rgba(13, 15, 18, 0.05);
}
.finder__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
.finder__title {
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.65rem);
  font-weight: 420;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.finder__title strong { font-weight: 780; }
.finder__stock { font-size: 0.9rem; color: var(--mute); }
.finder__stock-num { font-weight: 750; color: var(--ink); }

.finder__fields {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  align-items: end;
}
.field { position: relative; display: grid; gap: 0.4rem; min-width: 0; }
.field__label {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--mute);
}
.field select {
  width: 100%;
  height: 54px;
  padding: 0 2.5rem 0 0.95rem;
  border: 1px solid #cfd0cb;
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 550;
  color: var(--ink);
  appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field select:hover:not(:disabled) { border-color: var(--ink); background: #fff; }
.field select:focus-visible { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(215, 20, 26, 0.35); }
.field select:disabled { cursor: not-allowed; color: #8b9099; background: #f7f7f5; }
.field__chev {
  position: absolute;
  right: 0.85rem;
  bottom: 17px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  color: var(--steel);
}

.finder__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 54px;
  min-width: 190px;
  padding: 0 1.5rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.finder__submit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.finder__submit:hover::after { transform: scaleX(1); }
.finder__submit .icon { width: 20px; height: 20px; }
.finder__submit.is-empty { background: var(--steel); }

/* Odometer */
.odo {
  display: inline-flex;
  font-size: 1.3rem;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.15;
}
.odo__col {
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
}
.odo__reel {
  display: block;
  white-space: pre;
  text-align: center;
  transform: translateY(calc(var(--d, 0) * -1.15em));
  transition: transform 0.75s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.odo__sep { display: inline-block; }

.finder__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.6rem;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.finder__quick a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--steel);
  background: linear-gradient(var(--red), var(--red)) 0 calc(100% - 8px) / 0 2px no-repeat;
  transition: background-size 0.35s var(--ease-out), color 0.2s;
}
.finder__quick a:hover { color: var(--ink); background-size: 100% 2px; }

@media (max-width: 1199px) {
  .finder__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finder__submit { grid-column: span 1; }
}
@media (max-width: 699px) {
  .finder__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__fields .field:nth-of-type(5) { grid-column: 1 / -1; }
  .finder__submit { grid-column: 1 / -1; width: 100%; }
  .finder__quick { gap: 0 1.1rem; }
}

/* ==========================================================================
   Intro + signpost rows
   ========================================================================== */

.intro { padding-block: clamp(5rem, 9vw, 8.5rem) clamp(4rem, 7vw, 6.5rem); }
.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: end;
}
.intro__title {
  grid-column: 1 / span 6;
  font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5.25rem);
}
.intro__text {
  grid-column: 8 / span 5;
  display: grid;
  gap: 0.9rem;
}
.intro__p { color: var(--steel); max-width: 52ch; }

.index {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.index__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.index__item { border-bottom: 1px solid var(--line); }
.index__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 64px;
  align-items: center;
  gap: 2rem;
  min-height: 64px;
  padding: clamp(0.6rem, 1.4vw, 1.1rem) 0;
  text-decoration: none;
  color: var(--ink);
}
.index__row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 5px;
  background: var(--stripe);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.index__label {
  font-size: clamp(2.1rem, 0.9rem + 4.4vw, 5.6rem);
  font-weight: 300;
  font-stretch: 100%;
  letter-spacing: -0.035em;
  line-height: 1.02;
  transition: font-weight 0.5s var(--ease-out), font-stretch 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.index__meta {
  font-size: 0.95rem;
  font-weight: 560;
  color: var(--mute);
  text-align: right;
}
.index__go {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.35s, border-color 0.35s, color 0.35s, transform 0.5s var(--ease-out);
}
.index__go .icon { width: 22px; height: 22px; }
.index__row:hover .index__label,
.index__row:focus-visible .index__label { font-weight: 760; font-stretch: var(--wider); }
.index__row:hover::after,
.index__row:focus-visible::after { transform: scaleX(1); }
.index__row:hover .index__go,
.index__row:focus-visible .index__go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-45deg); }
.index__row:hover .index__meta { color: var(--ink); }

.index__float {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: clamp(220px, 22vw, 320px);
  aspect-ratio: 4 / 3;
  margin: calc(clamp(220px, 22vw, 320px) * -0.375) 0 0 28px;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  scale: 0.85;
  box-shadow: 0 30px 60px -30px rgba(13, 15, 18, 0.6);
  transition: opacity 0.35s, scale 0.5s var(--ease-out);
}
.index__float img { width: 100%; height: 100%; object-fit: cover; }
.index.is-floating .index__float { opacity: 1; scale: 1; }

@media (max-width: 899px) {
  .intro__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro__title, .intro__text { grid-column: auto; }
  .index__row { grid-template-columns: minmax(0, 1fr) 48px; gap: 0.25rem 1rem; }
  .index__meta { grid-column: 1; grid-row: 2; text-align: left; font-size: 0.875rem; }
  .index__go { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; }
  .index__float { display: none; }
}

/* ==========================================================================
   Stock rail
   ========================================================================== */

.stock {
  padding-block: clamp(4.5rem, 8vw, 7.5rem) clamp(2.5rem, 4vw, 3.5rem);
  background: var(--paper-2);
}
.stock__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.stock__title { max-width: 20ch; }
.stock__tools {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid #c9cac4;
  border-radius: 999px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rail__nav { display: flex; gap: 0.5rem; }
.rail__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background-color 0.25s, color 0.25s, opacity 0.25s;
}
.rail__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.rail__btn:disabled { opacity: 0.3; cursor: default; }
.rail__btn .icon { width: 22px; height: 22px; }

.rail__track {
  --peek: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(282px, 84vw, 360px);
  gap: 1.25rem;
  margin: 0;
  padding: 0.5rem var(--peek) 1.5rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--peek);
  scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.rail__track.is-dragging * { pointer-events: none; }
@media (min-width: 1100px) {
  .rail__track { grid-auto-columns: calc((min(100vw, var(--maxw)) - 2 * var(--gutter) - 3 * 1.25rem) / 3.35); }
}
@media (min-width: 1500px) {
  .rail__track { grid-auto-columns: calc((var(--maxw) - 2 * var(--gutter) - 3 * 1.5rem) / 3.6); gap: 1.5rem; }
}

.car { scroll-snap-align: start; display: flex; }
.car__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(13, 15, 18, 0.06);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.car__card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(13, 15, 18, 0.45); }
.car__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #d9dad6;
  overflow: hidden;
}
.car__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  user-select: none;
}
.car__card:hover .car__media img { transform: scale(1.04); }
.car__nophoto {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.5rem;
  color: #8b9099;
  font-size: 0.85rem;
  font-weight: 600;
}
.car__nophoto .icon { width: 56px; height: 56px; }
.car__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.car__count {
  position: absolute;
  right: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 3px;
  background: rgba(13, 15, 18, 0.6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 650;
}
.car__count .icon { width: 14px; height: 14px; }
.car__dots {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.car__dot { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.45); }
.car__dot.is-on { background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .car__card:hover .car__dots { opacity: 1; }
}

.car__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.25rem 1.25rem;
}
.car__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--mute);
}
.car__meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.car__meta .icon { width: 14px; height: 14px; }
.car__title {
  margin-top: 0.45rem;
  font-size: 1.3rem;
  font-weight: 760;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.car__link { text-decoration: none; color: inherit; }
.car__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.car__link:focus-visible { outline: none; }
.car__card:has(.car__link:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.car__variant {
  margin-top: 0.2rem;
  font-size: 0.92rem;
  color: var(--mute);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.car__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  margin: 1rem 0 0;
  padding: 0.95rem 0 0;
  border-top: 1px solid var(--line);
}
.car__specs dt {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.car__specs dd {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  font-weight: 560;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.car__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
}
.car__price { display: grid; line-height: 1.2; }
.car__price-label { font-size: 0.75rem; font-weight: 600; color: var(--mute); }
.car__old { font-size: 0.85rem; color: var(--mute); }
.car__old sup, .car__rate sup, .deal sup { font-size: 0.65em; margin-left: 1px; }
.car__amount {
  font-size: 1.6rem;
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.car__vat { font-size: 0.75rem; color: var(--mute); }
.car__rate { position: static; z-index: 2; }
.car__rate-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: #fff;
  color: var(--red-deep);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s;
}
.car__rate-btn b { font-weight: 800; }
.car__rate-btn .icon { width: 17px; height: 17px; }
.car__rate-btn:hover,
.car__rate.is-open .car__rate-btn { background: var(--red); color: #fff; }
.car__avail {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ok);
}
.car__avail-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.car__env {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  line-height: 1.45;
  color: var(--mute);
}

/* Financing example: inside a card it covers the whole card */
.fin {
  display: none;
  font-size: 0.82rem;
  line-height: 1.4;
  background: #fff;
  color: var(--ink);
}
[data-pop].is-open .fin { display: block; animation: fin-in 0.35s var(--ease-out); }
@keyframes fin-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.car .fin {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1.25rem 1.25rem 4.5rem;
  overflow-y: auto;
}
.fin__title {
  margin-bottom: 0.75rem;
  padding-bottom: 0.85rem;
  background: var(--stripe) left bottom / 100% 5px no-repeat;
  font-size: 1rem;
  font-weight: 760;
  font-stretch: 110%;
}
.fin dl { margin: 0; display: grid; gap: 0.15rem; }
.fin dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--line);
}
.fin dt { color: var(--mute); }
.fin dd { margin: 0; font-weight: 650; text-align: right; white-space: nowrap; }
.fin__note { margin-top: 0.75rem; font-size: 0.74rem; color: var(--mute); }
.car__rate.is-open .car__rate-btn {
  position: absolute;
  z-index: 4;
  right: 1.25rem;
  bottom: 1.25rem;
}

.car--more { display: flex; }
.car__more {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 420px;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.car__more::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  transform: translateY(101%);
  transition: transform 0.6s var(--ease-out);
}
.car__more:hover::before { transform: none; }
.car__more-num {
  font-size: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  font-weight: 800;
  font-stretch: var(--wider);
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.car__more-text { font-size: 1.3rem; font-weight: 500; font-stretch: 110%; line-height: 1.25; max-width: 12ch; }
.car__more-go {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: transform 0.5s var(--ease-out);
}
.car__more-go .icon { width: 24px; height: 24px; }
.car__more:hover .car__more-go { transform: rotate(-45deg); }

.rail__progress {
  position: relative;
  height: 2px;
  margin-top: 0.75rem;
  background: rgba(13, 15, 18, 0.12);
}
.rail__progress span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--p, 0) * (100% - var(--w, 0.3) * 100%));
  width: calc(var(--w, 0.3) * 100%);
  background: var(--ink);
  transition: left 0.15s linear;
}

@media (max-width: 899px) {
  .stock__tools { justify-content: space-between; min-width: 0; }
  .rail__nav { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; min-width: 0; max-width: calc(100% + 2 * var(--gutter)); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ==========================================================================
   Forest band - the window opens while scrolling
   ========================================================================== */

.band {
  --open: 0;
  --drift: 0;
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(520px, 92vh, 860px);
  color: #fff;
  overflow: hidden;
  background: var(--paper-2);
}
.band__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(
    calc((1 - var(--open)) * 6%) calc((1 - var(--open)) * 14%) round calc((1 - var(--open)) * 22px)
  );
}
.band__media { position: absolute; inset: -12% 0; }
.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(calc(var(--drift) * 7%)) scale(calc(1.18 - var(--open) * 0.12));
}
.band__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(8, 10, 12, 0.45) 0%, rgba(8, 10, 12, 0.62) 100%);
}
.band__copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 2rem;
  text-align: center;
  opacity: calc(0.15 + var(--open) * 0.85);
  transform: translateY(calc((1 - var(--open)) * 40px));
}
.band__copy { max-width: min(88vw, 1120px); }
.band__title {
  font-size: clamp(1.75rem, 0.75rem + 2.6vw, 3.25rem);
  font-weight: 720;
  font-stretch: var(--wide);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Offers board
   ========================================================================== */

.offers { padding-block: clamp(5rem, 9vw, 8rem); }
.offers__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}
.offers__intro {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  display: grid;
  gap: 1.5rem;
}
.board { grid-column: 7 / span 6; }
.board__tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--paper-2);
}
.board__tab {
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.93rem;
  font-weight: 650;
  color: var(--steel);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.board__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(13, 15, 18, 0.3); }
.board__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  counter-reset: deal;
}
.quotes__figure { margin: 0; }
.board__panel:not([hidden]) .deal { animation: deal-in 0.6s var(--ease-out) both; }
.board__list .deal:nth-child(2) { animation-delay: 0.04s; }
.board__list .deal:nth-child(3) { animation-delay: 0.08s; }
.board__list .deal:nth-child(4) { animation-delay: 0.12s; }
.board__list .deal:nth-child(5) { animation-delay: 0.16s; }
.board__list .deal:nth-child(6) { animation-delay: 0.2s; }
@keyframes deal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.deal {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto 40px;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0.5rem 1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s;
}
.deal:hover { background: #fff; }
.deal:has(.is-open) { z-index: 10; background: #fff; }
.deal__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #d9dad6;
}
.deal__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.deal:hover .deal__thumb img { transform: scale(1.06); }
.deal__name { display: grid; gap: 0.15rem; min-width: 0; }
.deal__link {
  font-size: 1.12rem;
  font-weight: 740;
  font-stretch: 110%;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.deal__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.deal__variant { font-size: 0.86rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal__tags { display: flex; gap: 0.4rem; margin-top: 0.3rem; }
.deal__tags span {
  padding: 0.12rem 0.45rem;
  border-radius: 3px;
  background: var(--paper-2);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  color: var(--steel);
}
.deal__figures { display: grid; justify-items: end; text-align: right; line-height: 1.25; }
.deal__old { font-size: 0.82rem; color: var(--mute); }
.deal__price { font-size: 1.3rem; font-weight: 800; font-stretch: 106%; letter-spacing: -0.015em; white-space: nowrap; }
.deal__save { font-size: 0.82rem; font-weight: 700; color: var(--red-deep); white-space: nowrap; }
.deal__save--rate { position: relative; z-index: 2; }
.deal__info {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--red-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.deal__info .icon { width: 15px; height: 15px; }
.deal .fin {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 6;
  width: min(330px, 86vw);
  padding: 1rem 1.1rem;
  border-radius: 8px;
  box-shadow: 0 24px 50px -20px rgba(13, 15, 18, 0.45), 0 0 0 1px rgba(13, 15, 18, 0.07);
  text-align: left;
  white-space: normal;
  font-weight: 400;
}
.deal__go {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.deal__go .icon { width: 20px; height: 20px; }
.deal:hover .deal__go { background: var(--red); color: #fff; transform: rotate(-45deg); }
.board__all { margin-top: 1.5rem; }

@media (max-width: 999px) {
  .offers__grid { grid-template-columns: 1fr; }
  .offers__intro, .board { grid-column: auto; position: static; }
}
@media (max-width: 599px) {
  .deal { grid-template-columns: 84px minmax(0, 1fr); gap: 0.4rem 1rem; padding-right: 0; }
  .deal__thumb { grid-row: span 2; align-self: start; }
  .deal__figures { grid-column: 2; justify-items: start; text-align: left; }
  .deal__go { display: none; }
  .deal .fin { right: auto; left: -100px; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews {
  padding-block: clamp(5rem, 9vw, 8.5rem);
  background: var(--ink);
  color: #fff;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem;
}
.reviews__intro { grid-column: 1 / span 5; display: grid; gap: 1.5rem; align-content: start; }
.quotes { grid-column: 7 / span 6; position: relative; }
.quotes__mark { width: 64px; height: auto; color: var(--red); margin-bottom: 1.5rem; }
.quotes__stars { display: flex; gap: 4px; margin-bottom: 1.25rem; color: #f2b632; }
.quotes__stars .icon { width: 20px; height: 20px; }
.quotes__panel { margin: 0; min-height: 11em; }
.quotes__panel:not([hidden]) { animation: quote-in 0.7s var(--ease-out); }
@keyframes quote-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.quotes__panel:focus-visible { outline-offset: 8px; }
.quotes__text {
  margin: 0;
  font-size: clamp(1.3rem, 0.95rem + 1.25vw, 2rem);
  font-weight: 380;
  line-height: 1.42;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.quotes__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.quotes__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mute-on-dark);
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}
.quotes__initial {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 750;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.quotes__tab:hover { color: #fff; }
.quotes__tab[aria-selected="true"] { color: #fff; }
.quotes__tab[aria-selected="true"] .quotes__initial { background: var(--red); border-color: var(--red); color: #fff; }

@media (max-width: 899px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__intro, .quotes { grid-column: auto; }
  .quotes__panel { min-height: 0; }
}

/* ==========================================================================
   Visit
   ========================================================================== */

.visit { padding-block: clamp(5rem, 9vw, 8rem); background: #fff; }
.visit__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.visit__photo {
  grid-column: 1 / span 6;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.visit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.visit__addr {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 20px 40px -20px rgba(13, 15, 18, 0.5);
}
.visit__addr::before {
  content: "";
  height: 5px;
  margin-bottom: 0.65rem;
  background: var(--stripe);
}
.visit__addr-name { font-weight: 750; }
.visit__info { grid-column: 7 / span 6; display: grid; gap: 2.25rem; }
.visit__title { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); font-weight: 760; }
.visit__street { margin-top: -1.5rem; font-size: 1.1rem; color: var(--steel); }

.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.hours__group {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: 1.25rem;
  border-radius: 8px;
  background: var(--paper);
}
.hours__label { font-size: 1rem; font-weight: 720; line-height: 1.3; }
.hours .status { font-size: 0.85rem; font-weight: 600; color: var(--steel); white-space: normal; }
.hours .status.is-open { color: var(--ok); }
.hours__rows { margin: 0.25rem 0 0; display: grid; gap: 0.3rem; }
.hours__rows div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.93rem; }
.hours__rows dt { color: var(--mute); }
.hours__rows dd { margin: 0; font-weight: 620; text-align: right; }

.lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lines li { border-bottom: 1px solid var(--line); }
.line {
  display: grid;
  grid-template-columns: 44px 7rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  text-decoration: none;
  color: var(--ink);
}
.line__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  transition: background-color 0.3s, color 0.3s;
}
.line__icon .icon { width: 20px; height: 20px; }
.line__label { font-size: 0.9rem; font-weight: 600; color: var(--mute); }
.line__value { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); font-weight: 560; font-stretch: 106%; overflow-wrap: anywhere; }
.line__value b { font-weight: 820; }
a.line:hover .line__icon { background: var(--red); color: #fff; }

.visit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.social { display: flex; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.social a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #313131;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.social .icon { width: 20px; height: 20px; }

.sites { display: grid; gap: 1rem; }
.sites__title { font-size: 1.15rem; font-weight: 760; font-stretch: 110%; }
.sites__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.site {
  display: grid;
  align-content: start;
  gap: 0.2rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.site__city { font-size: 1.5rem; font-weight: 780; font-stretch: var(--wide); letter-spacing: -0.02em; }
.site__name { font-size: 0.9rem; font-weight: 600; }
.site__street { font-size: 0.9rem; color: var(--mute); }
.site__phones { margin: 0.5rem 0 0; padding: 0; list-style: none; }
.site__phones a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.site__phones a span { color: var(--mute); font-weight: 550; }
.site__route { margin-top: 0.4rem; justify-self: start; min-height: 44px; font-size: 0.92rem; background-position: 0 calc(100% - 10px); }

@media (max-width: 999px) {
  .visit__grid { grid-template-columns: 1fr; }
  .visit__photo, .visit__info { grid-column: auto; position: relative; top: 0; }
  .visit__photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 599px) {
  .hours, .sites__list { grid-template-columns: 1fr; }
  .line { grid-template-columns: 44px minmax(0, 1fr); gap: 0 1rem; padding-block: 0.6rem; }
  .line__label { grid-column: 2; font-size: 0.8rem; }
  .line__value { grid-column: 2; }
  .line__icon { grid-row: span 2; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--paper);
  color: var(--ink);
  font-size: 0.92rem;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 3rem;
  padding-block: 3rem 2rem;
}
.site-footer__brand img { width: 230px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; margin: 0; padding: 0; list-style: none; }
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 650;
  text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) 0 calc(100% - 8px) / 0 2px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}
.site-footer__nav a:hover { background-size: 100% 2px; }
.site-footer__guarantee {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  font-weight: 600;
  text-decoration: none;
}
.site-footer__guarantee img { width: 48px; height: 48px; border-radius: 6px; }
.site-footer__guarantee:hover span { text-decoration: underline; }
.site-footer__notes { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.footnotes {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--mute);
  max-width: 120ch;
}
.footnotes sup { font-weight: 700; color: var(--ink); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--mute);
}
.site-footer__copy span[aria-hidden] { margin-inline: 0.35rem; opacity: 0.5; }
.site-footer__copy a { color: inherit; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; padding: 0; list-style: none; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--steel); text-decoration: none; }
.site-footer__legal a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__credit a { color: var(--steel); font-weight: 600; }
.totop {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-left: auto;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
}
.totop .icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.totop:hover .icon { background: var(--ink); color: #fff; transform: translateY(-3px); }

@media (max-width: 899px) {
  .site-footer__top { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .site-footer__guarantee { margin-left: 0; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .totop { margin-left: 0; }
}

/* ==========================================================================
   Mobile action dock
   ========================================================================== */

.dock { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 0.25rem env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -20px rgba(13, 15, 18, 0.35);
    transition: transform 0.45s var(--ease-out);
  }
  .menu-open .dock { transform: translateY(100%); }
  .dock__item {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0.2rem;
    min-height: 64px;
    font-size: 0.72rem;
    font-weight: 650;
    text-decoration: none;
    color: var(--ink);
  }
  .dock__item .icon { width: 22px; height: 22px; }
  .dock__item:first-child { color: var(--red); }
}

/* ==========================================================================
   Reduced motion: no autoplay wipes, no zoom, static band
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero__title strong { animation: none; background-size: 100% 5px; }
  .band { --open: 1; }
  .band__media img { transform: none; }
  .status.is-open .status__dot { animation: none; }
  .site-header__stripe { animation: none; }
}

/* ==========================================================================
   404
   ========================================================================== */

.notfound { padding-block: clamp(5rem, 12vw, 10rem); }
.notfound__inner { display: grid; gap: 1.5rem; justify-items: start; }
.notfound__code {
  font-size: clamp(5rem, 3rem + 10vw, 12rem);
  font-weight: 800;
  font-stretch: var(--wider);
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.notfound__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

/* ==========================================================================
   Werkstatt (service)
   ========================================================================== */

.service {
  --open: 1;
  padding-block: clamp(5rem, 9vw, 8rem);
  background: #121417;
  color: #fff;
}
.service__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.service__title { grid-column: 1 / span 7; font-size: clamp(2.3rem, 1.2rem + 3.8vw, 4.75rem); }
.service__title strong { color: #fff; }
.service__intro { grid-column: 9 / span 4; display: grid; gap: 1.5rem; justify-items: start; }

.service__stage { position: relative; }
.service__photo {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-3);
  clip-path: inset(0 calc((1 - var(--open)) * 6%) round var(--radius-lg));
}
.service__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  transform: translateY(calc(var(--drift, 0) * 4%)) scale(1.12);
}
.service__card {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  display: grid;
  gap: 0.6rem;
  width: min(360px, 100%);
  padding: 1.35rem 1.4rem;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.service__card::before {
  content: "";
  height: 5px;
  margin-bottom: 0.25rem;
  background: var(--stripe);
}
.service__card-title { font-size: 1.02rem; font-weight: 740; line-height: 1.3; }
.service__card .status { font-size: 0.85rem; font-weight: 600; color: var(--steel); white-space: normal; }
.service__card .status.is-open { color: var(--ok); }
.service__card .hours__rows { margin: 0; }
.service__phone {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 56px;
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.service__phone small { display: block; font-size: 0.75rem; font-weight: 600; color: var(--mute); }
.service__phone b { font-weight: 820; }
.service__phone-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  transition: transform 0.4s var(--ease-out);
}
.service__phone-icon .icon { width: 20px; height: 20px; }
.service__phone:hover .service__phone-icon { transform: rotate(-12deg) scale(1.06); }

.service__body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
.service__list-title {
  grid-column: 1 / -1;
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  font-stretch: 112%;
}
.svc {
  grid-column: 1 / span 7;
  display: grid;
  align-items: start;
}
.svc__item { border-top: 1px solid var(--line-dark); }
.svc__item:last-child { border-bottom: 1px solid var(--line-dark); }
.svc__head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  padding: 0.75rem 0;
  cursor: pointer;
  list-style: none;
}
.svc__head::-webkit-details-marker { display: none; }
.svc__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #ff5a5f;
  transition: background-color 0.3s, color 0.3s;
}
.svc__icon .icon { width: 30px; height: 30px; }
.svc__title { font-size: 1.08rem; font-weight: 650; line-height: 1.3; }
.svc__plus {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.svc__plus::before,
.svc__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: #fff;
  transform: translate(-50%, -50%);
}
.svc__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity 0.3s; }
.svc__item[open] .svc__plus { transform: rotate(180deg); background: var(--red); border-color: var(--red); }
.svc__item[open] .svc__plus::after { opacity: 0; }
.svc__item[open] .svc__icon,
.svc__head:hover .svc__icon { background: var(--red); color: #fff; }
.svc__head:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.svc__text { padding: 0 2.75rem 1.4rem calc(48px + 1rem); color: var(--mute-on-dark); font-size: 0.95rem; line-height: 1.6; }
.svc__item[open] .svc__text { animation: svc-in 0.5s var(--ease-out); }
@keyframes svc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.service__extras {
  grid-column: 9 / span 4;
  display: grid;
  gap: 1.1rem;
  align-content: start;
  padding: 1.5rem;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
}
.service__extras-title { font-size: 1rem; font-weight: 720; }
.extras { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.extras li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; line-height: 1.4; color: #dfe2e6; }
.extras .icon { width: 18px; height: 18px; margin-top: 2px; color: #2fbf6b; }
.service .textlink { color: #fff; }

@media (max-width: 1099px) {
  .service__head, .service__body { grid-template-columns: minmax(0, 1fr); }
  .service__title, .service__intro { grid-column: 1 / -1; }
  .svc { grid-column: 1 / -1; }
  .service__extras { grid-column: 1 / -1; }
}
@media (max-width: 799px) {
  .service__photo { aspect-ratio: 4 / 3; }
  .service__card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -3rem; margin-inline: auto; max-width: calc(100% - 2rem); }
  .svc__text { padding-right: 0; padding-left: 0; }
}

/* Signpost heading is the long services sentence now */
.intro__grid { align-items: end; }
.intro__title { grid-column: 1 / span 8; font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4.5rem); }
.intro__text { grid-column: 9 / span 4; }
@media (max-width: 899px) { .intro__title, .intro__text { grid-column: auto; } }

/* Location logos + visit lead */
.site__logo {
  display: flex;
  align-items: center;
  height: 56px;
  margin-bottom: 0.75rem;
}
.site__logo img { max-height: 48px; width: auto; }
.visit__lead { margin-top: -1rem; }
