/* ==========================================================================
   RetroCars Krefeld – Stylesheet
   Graphit, Elfenbein, Ochsenblut · Archivo (breit) + Newsreader
   ========================================================================== */

:root {
  /* an das Hero-Bild angelehnt: tiefes Schwarz, Chrom, Neonrot */
  --graphite: #080a0d;
  --graphite-deep: #0b0e12;
  --graphite-raised: #11151b;
  --ivory: #f2f3f5;
  --pewter: #c7cdd4;
  --pewter-dim: #a5a09b;
  --oxblood: #b4232f;
  --oxblood-hi: #e63946;
  --neon-blue: #168bff;
  --rule: rgba(255, 255, 255, 0.12);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max: 1440px;
  --space: clamp(5.5rem, 12vw, 11rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 80px;
}

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

html {
  font-size: 93.75%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /* Verlauf zieht sich über die ganze Seitenlänge: Blau links, Rot rechts, im Wechsel */
  background:
    radial-gradient(ellipse 60% 10% at 0% 8%, rgba(22, 139, 255, 0.08), transparent 100%),
    radial-gradient(ellipse 60% 10% at 100% 24%, rgba(230, 57, 70, 0.12), transparent 100%),
    radial-gradient(ellipse 60% 10% at 0% 42%, rgba(22, 139, 255, 0.08), transparent 100%),
    radial-gradient(ellipse 60% 10% at 100% 58%, rgba(230, 57, 70, 0.12), transparent 100%),
    radial-gradient(ellipse 60% 10% at 0% 76%, rgba(22, 139, 255, 0.08), transparent 100%),
    radial-gradient(ellipse 60% 10% at 100% 92%, rgba(230, 57, 70, 0.12), transparent 100%),
    var(--graphite);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  font-optical-sizing: auto;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--oxblood); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--pewter); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--ivory);
  color: var(--graphite);
  font-family: var(--sans);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

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

/* ---------- Typografie ---------- */
.h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(2rem, 1.3rem + 3vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  line-height: 1.45;
  max-width: 34ch;
}

.prose { display: grid; gap: 1.1em; max-width: 60ch; }
.prose p { color: var(--pewter); }

.label {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pewter-dim);
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.9rem;
  border: 1px solid var(--ivory);
  border-radius: 999px;
  background: transparent;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { background: var(--ivory); color: var(--graphite); }
.btn--primary { background: var(--oxblood); border-color: var(--oxblood); }
.btn--primary:hover { background: var(--oxblood-hi); border-color: var(--oxblood-hi); color: var(--ivory); }

.text-link {
  font-family: var(--sans);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--pewter-dim);
  transition: text-decoration-color 0.3s;
}
.text-link:hover { text-decoration-color: var(--ivory); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(8, 10, 13, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--rule);
}
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Wortmarke: breite Archivo + schmale Archivo */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--sans);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
}
.brand__name { font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand__city { font-weight: 400; font-stretch: 62%; font-variation-settings: "wdth" 62; font-size: 1.05rem; letter-spacing: 0.04em; color: var(--pewter); }

.nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.nav__link {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--pewter);
  padding-block: 0.5rem;
  transition: color 0.3s;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ivory); }
.nav__phone {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: border-color 0.3s;
}
.nav__phone:hover { border-color: var(--ivory); }
.nav__wrap { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 102;
  width: 48px; height: 48px;
  margin-right: -12px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 20px; }
.nav-toggle span:nth-child(2) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 24px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--header-h) var(--gutter) 3rem;
    background: var(--graphite-deep);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__wrap { flex-direction: column; align-items: flex-start; gap: 2.5rem; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .nav__link {
    font-size: clamp(2rem, 9vw, 2.75rem);
    font-stretch: 112%;
    font-variation-settings: "wdth" 112;
    color: var(--ivory);
  }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0 0 -12% 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 55%;
  transform: scale(1.06);
  animation: settle 2.6s var(--ease) forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(31,29,25,0.6) 0%, rgba(31,29,25,0) 22%),
    linear-gradient(0deg, rgba(31,29,25,0.97) 4%, rgba(31,29,25,0.55) 34%, rgba(31,29,25,0) 62%);
}
@keyframes settle { to { transform: scale(1); } }

.hero__content { padding-bottom: clamp(2rem, 6vh, 4.5rem); }

/* Das eine laute Element: die Wortmarke über die volle Breite */
.hero__mark {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.15em;
  font-family: var(--sans);
  text-transform: uppercase;
  line-height: 0.8;
  /* Breite gemessen: Wortmarke + Stadt ≈ 10,2 em */
  font-size: min(calc((100vw - var(--gutter) * 2) / 10.4), 7.9rem);
}
.hero__mark-name {
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.01em;
  margin-left: -0.05em;
  white-space: nowrap;
}
.hero__mark-city {
  font-weight: 400;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-size: 0.5em;
  letter-spacing: 0.02em;
  color: var(--pewter);
  padding-bottom: 0.04em;
}

.hero__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-top: clamp(1.75rem, 4vh, 3rem);
  padding-top: clamp(1.25rem, 3vh, 2rem);
  border-top: 1px solid var(--rule);
}
.hero__claim {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem);
  line-height: 1.15;
}
.hero__actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: flex-end; }
.hero__caption {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--pewter);
  text-align: right;
  line-height: 1.4;
}
.hero__caption a { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: var(--pewter-dim); }

/* Einmalige, orchestrierte Ladesequenz */
.hero [data-in] { opacity: 0; transform: translateY(0.35em); animation: rise 1.1s var(--ease) forwards; }
.hero__mark-name[data-in] { transform: translateY(0.18em); animation-delay: 0.25s; }
.hero__mark-city[data-in] { animation-delay: 0.45s; }
.hero__row[data-in] { transform: none; animation-name: fade; animation-delay: 0.8s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

@media (max-width: 760px) {
  .hero__media img { object-position: 22% 50%; }
  .hero__mark { flex-direction: column; align-items: flex-start; gap: 0.12em; font-size: calc((100vw - var(--gutter) * 2) / 4.9); line-height: 0.86; }
  .hero__mark-name { white-space: normal; }
  .hero__mark-city { font-size: 0.5em; padding: 0; }
  .hero__row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column-reverse; align-items: stretch; gap: 1rem; }
  .hero__caption { text-align: left; }
}

/* ---------- Sektionen ---------- */
.section { padding-block: var(--space); }
.section--deep { background: transparent; }
.section__head { display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 7vw, 6rem); max-width: 60rem; }

/* Bild-Reveal (nur große Fotos) */
.js .reveal-img { clip-path: inset(0 0 14% 0); transition: clip-path 1.3s var(--ease); }
.js .reveal-img img { transform: scale(1.1); transition: transform 1.6s var(--ease); }
.js .reveal-img.is-visible { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-visible img { transform: scale(1); }

/* ---------- Automobile mit Geschichte ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr);
  align-items: center;
}
.story__text { grid-column: 1; display: grid; gap: 2rem; }
.story__figure { grid-column: 3; margin-right: calc(var(--gutter) * -1); }
.story__figure .media { aspect-ratio: 4 / 5; }
.story__figure figcaption { margin-top: 0.9rem; font-style: italic; font-size: 0.9375rem; color: var(--pewter-dim); }

.media { position: relative; overflow: hidden; background: var(--graphite-raised); }
.media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 3rem; }
  .story__text, .story__figure { grid-column: 1; }
  .story__figure { margin-right: 0; }
  .story__figure .media { aspect-ratio: 4 / 3; }
}

/* ---------- Fahrzeuge ---------- */
.stock__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; }
.stock__count { font-family: var(--sans); color: var(--pewter); }
.stock__list { display: grid; gap: clamp(4rem, 9vw, 7.5rem); }

.car {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.car:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.car:nth-child(even) .car__media { order: 2; }

.car__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--graphite-raised); }
.car__media img { width: 100%; height: 100%; object-fit: cover; }
.car:hover .car__media img { transform: scale(1.03); }
.js .car .reveal-img.is-visible img { transition: transform 1.2s var(--ease); }

.car__body { display: grid; gap: 1.1rem; justify-items: start; }
.car__make { font-family: var(--sans); font-weight: 500; color: var(--pewter); }
.car__title {
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: -0.6rem;
}
.car__title a { text-decoration: none; }
.car__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car__text { color: var(--pewter); max-width: 42ch; }
.car__cta {
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--pewter-dim);
  transition: text-decoration-color 0.3s;
}
.car:hover .car__cta { text-decoration-color: var(--ivory); }
.car:focus-within { outline: 2px solid var(--pewter); outline-offset: 12px; }
.car:focus-within .car__title a:focus-visible { outline: none; }

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 0.9rem 2.5rem;
  margin-top: 0.3rem;
  font-family: var(--sans);
}
.specs dt { font-size: 0.8125rem; color: var(--pewter-dim); }
.specs dd { font-size: 1.0625rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.specs__price { color: var(--ivory); }

@media (max-width: 900px) {
  .car, .car:nth-child(even) { grid-template-columns: 1fr; gap: 1.75rem; }
  .car:nth-child(even) .car__media { order: 0; }
  .car__media { margin-inline: calc(var(--gutter) * -1); }
}

/* Kennzeichen-Schild (H = Oldtimer-Kennzeichen) */
.plate {
  display: inline-flex;
  align-items: stretch;
  height: 1.9rem;
  border: 1.5px solid #15140f;
  border-radius: 4px;
  background: #f7f5ef;
  color: #15140f;
  font-family: var(--sans);
  font-weight: 600;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  font-size: 1rem;
  line-height: 1;
  overflow: hidden;
}
.plate__eu {
  display: grid;
  place-items: end center;
  width: 1.15rem;
  padding-bottom: 0.2rem;
  background: #1f3f9a;
  color: #fff;
  font-size: 0.625rem;
}
.plate__txt { display: flex; align-items: center; gap: 0.1rem; padding: 0 0.55rem; letter-spacing: 0.06em; }
.plate__txt b { font-weight: 700; margin-left: 0.25rem; }

/* ---------- Über uns ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 1fr) minmax(0, 5fr);
  align-items: end;
}
.about__figure { grid-column: 1; margin-left: calc(var(--gutter) * -1); }
.about__figure .media { aspect-ratio: 5 / 4; }
.about__text { grid-column: 3; display: grid; gap: 2rem; }
.about__sign { font-family: var(--sans); }
.about__sign span { display: block; color: var(--pewter-dim); font-size: 0.9375rem; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .about__figure, .about__text { grid-column: 1; }
  .about__figure { margin-left: 0; }
}

/* ---------- Warum RetroCars ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  counter-reset: step;
}
.step { display: grid; gap: 0.9rem; align-content: start; padding-top: 1.5rem; border-top: 1px solid var(--rule); counter-increment: step; }
.step::before {
  content: counter(step);
  font-family: var(--sans);
  font-weight: 300;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-size: 3rem;
  line-height: 1;
  color: var(--pewter-dim);
}
.step h3 { font-family: var(--sans); font-weight: 500; font-size: 1.375rem; line-height: 1.2; }
.step p { color: var(--pewter); }

.services { margin-top: clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); }
.services h3 { font-family: var(--sans); font-weight: 500; font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.15; }
.services__intro { margin-top: 1rem; color: var(--pewter); max-width: 36ch; }
.services__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.services__list li { padding: 0.95rem 0; border-bottom: 1px solid var(--rule); font-family: var(--sans); }
.services__list li span { display: block; margin-top: 0.2rem; font-family: var(--serif); font-size: 0.975rem; color: var(--pewter); }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services__list { grid-template-columns: 1fr; }
}

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 7rem); }
.contact__intro { display: grid; gap: 1.75rem; align-content: start; }
.contact__intro p { color: var(--pewter); max-width: 40ch; }
.contact__direct { display: grid; gap: 1.25rem; margin-top: 0.5rem; font-family: var(--sans); }
.contact__direct dt { font-size: 0.875rem; color: var(--pewter-dim); }
.contact__direct dd a { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 500; text-decoration: none; }
.contact__direct dd a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; }
.field { display: grid; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--graphite-raised);
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--pewter) 50%), linear-gradient(135deg, var(--pewter) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field select option { background: var(--graphite-raised); }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ivory); }
.check { grid-column: 1 / -1; display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.975rem; color: var(--pewter); }
.check input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; accent-color: var(--oxblood); }
.check a { color: var(--ivory); text-underline-offset: 0.2em; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; }
.form__note { font-size: 0.9375rem; color: var(--pewter-dim); max-width: 34ch; }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
}

/* ---------- Standort ---------- */
.visit__address {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(2.2rem, 1rem + 5.4vw, 6.25rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.visit__address span { display: block; color: var(--pewter); }
.visit__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.visit__grid h3 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; color: var(--pewter-dim); margin-bottom: 0.75rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.75rem; font-family: var(--sans); }
.hours dt { color: var(--pewter); }
.hours dd { font-variant-numeric: tabular-nums; }
.visit__grid p { font-family: var(--sans); }
.visit__grid p a { text-decoration: none; }
.visit__grid p a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .visit__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: transparent; padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; font-family: var(--sans); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.footer__top .brand__name, .footer__top .brand__city { font-size: clamp(1.6rem, 1rem + 2.5vw, 2.75rem); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.975rem;
  color: var(--pewter);
}
.footer__grid h2 { font-size: 0.875rem; font-weight: 500; color: var(--pewter-dim); margin-bottom: 0.75rem; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: var(--ivory); text-decoration: underline; }
.footer__grid li + li { margin-top: 0.3rem; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--pewter-dim);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Fahrzeugdetailseite
   ========================================================================== */
.detail { padding-top: calc(var(--header-h) + clamp(1rem, 2vw, 2rem)); }

.breadcrumb { font-family: var(--sans); font-size: 0.9375rem; color: var(--pewter-dim); margin-bottom: 1.5rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.6rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ivory); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--pewter); }

/* Galerie */
.gallery { display: grid; gap: 0.75rem; }
.gallery__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite-raised); }
.gallery__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s var(--ease); }
.gallery__stage img.is-leaving { opacity: 0; }
.gallery__open { position: absolute; inset: 0; z-index: 1; width: 100%; border: 0; background: none; cursor: zoom-in; }
.gallery__nav {
  position: absolute;
  z-index: 2;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(31, 29, 25, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--sans);
}
.gallery__btn {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ivory);
  cursor: pointer;
  transition: background-color 0.25s;
}
.gallery__btn:hover { background: rgba(245, 240, 229, 0.14); }
.gallery__btn svg { width: 18px; height: 18px; }
.gallery__count { min-width: 3.75rem; text-align: center; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.gallery__thumbs { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumb {
  flex: 0 0 clamp(96px, 13vw, 170px);
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  background: var(--graphite-raised);
  cursor: pointer;
  scroll-snap-align: start;
  opacity: 0.5;
  outline-offset: -2px;
  transition: opacity 0.3s;
}
.gallery__thumb:hover { opacity: 0.85; }
.gallery__thumb[aria-current="true"] { opacity: 1; box-shadow: inset 0 -3px 0 var(--ivory); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 760px) {
  .container--gallery { padding-inline: 0; }
  .gallery__stage { aspect-ratio: 4 / 3; }
  .gallery__thumbs { padding-inline: var(--gutter); }
}

.detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.detail__head { display: grid; gap: 1.1rem; justify-items: start; }
.detail__title {
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: -0.5rem;
}
.detail__lead { font-style: italic; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.4; max-width: 36ch; }

.detail__aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--graphite-raised);
  border-radius: 10px;
  font-family: var(--sans);
}
.detail__price { font-weight: 500; font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1; }
.detail__aside .btn { width: 100%; }
.keyfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-block: 1.25rem; border-block: 1px solid var(--rule); }
.keyfacts dt { font-size: 0.8125rem; color: var(--pewter-dim); }
.keyfacts dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.detail__contact { display: grid; gap: 0.15rem; }
.detail__contact a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 0.975rem; }
.detail__contact a:last-child { border-bottom: 0; }
.detail__contact a:hover span:last-child { text-decoration: underline; }
.detail__contact span:first-child { color: var(--pewter-dim); }

.detail__content { display: grid; gap: clamp(3.5rem, 7vw, 5.5rem); }
.detail__section { display: grid; gap: 1.75rem; }
.detail__prose { display: grid; gap: 1.1em; max-width: 62ch; }
.detail__prose p { color: var(--pewter); }
.detail__section > h2 { font-family: var(--sans); font-weight: 500; font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.3rem); line-height: 1.1; letter-spacing: -0.015em; }

.datatable { border-top: 1px solid var(--rule); font-family: var(--sans); }
.datatable div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); }
.datatable dt { color: var(--pewter); }

.condition { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.condition__grade { font-family: var(--sans); font-weight: 300; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem); line-height: 0.9; }
.condition__grade small { display: block; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; font-stretch: 100%; font-variation-settings: "wdth" 100; color: var(--pewter-dim); }
.condition p { color: var(--pewter); max-width: 52ch; }

.equipment { columns: 2; column-gap: 2.5rem; font-family: var(--sans); }
.equipment li { break-inside: avoid; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }

.timeline { display: grid; gap: 0; border-left: 1px solid var(--rule); margin-left: 0.3rem; }
.timeline li { position: relative; display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: 0 0 1.75rem 1.75rem; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--ivory); }
.timeline time { font-family: var(--sans); font-weight: 500; font-variant-numeric: tabular-nums; }
.timeline p { color: var(--pewter); }

.notfound { min-height: 70vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1.75rem; }

@media (max-width: 960px) {
  .detail__layout { grid-template-columns: 1fr; }
  .detail__content { display: contents; }
  .detail__head { order: -2; }
  .detail__aside { position: static; order: -1; }
}
@media (max-width: 600px) {
  .equipment { columns: 1; }
  .datatable div { grid-template-columns: 1fr; gap: 0.15rem; }
  .timeline li { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* Lightbox */
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(20, 19, 16, 0.97);
  color: var(--ivory);
  font-family: var(--sans);
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade 0.35s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem var(--gutter); color: var(--pewter); }
.lightbox__img { min-height: 0; display: grid; place-items: center; padding: 0 var(--gutter); }
.lightbox__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__nav { display: flex; justify-content: center; gap: 1rem; padding: 1rem; }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero [data-in], .hero__media img { opacity: 1; transform: none; }
  .js .reveal-img, .js .reveal-img img { clip-path: none; transform: none; }
}

/* ---------- Hero mit Banner (Logo + Fahrzeuge) ---------- */
.hero--banner { min-height: 0; display: block; padding-top: var(--header-h); background: var(--graphite); }
.hero--banner::after { content: none; }
.hero__banner img { width: 100%; height: auto; }
.hero--banner .hero__content { padding-top: clamp(1.75rem, 4vh, 3rem); }
.hero--banner .hero__row { margin-top: 0; }

/* ---------- Bestand: Button „Alle Fahrzeuge“ ---------- */
.stock__more { display: flex; justify-content: center; margin-top: clamp(4rem, 8vw, 6.5rem); }
.stock-page { padding-top: clamp(1rem, 3vw, 2.5rem); }

/* ---------- Über uns ohne Bild, mittig ---------- */
.about--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.about--center .about__text { grid-column: 1; max-width: none; width: 100%; justify-items: center; }
.about--center .h2 { max-width: none; }
.about--center .lead { max-width: 60ch; }
.about--center .prose { max-width: 80ch; }
.about--center .lead, .about--center .prose { margin-inline: auto; }

/* ---------- Warum RetroCars: Logo transparent im Hintergrund, mittig ---------- */
.why { position: relative; overflow: hidden; isolation: isolate; }
.why__logo {
  position: absolute;
  z-index: -1;
  inset: 0;
  margin: auto;
  width: 75%;
  height: 75%;
  object-fit: contain;
  object-position: 50% 50%;
  opacity: 0.07;
  mix-blend-mode: screen;
  pointer-events: none;
}
.why__inner .section__head { margin-inline: auto; text-align: center; justify-items: center; }
.why__inner .lead { margin-inline: auto; }
.why__inner .step { text-align: center; justify-items: center; }

/* Hero füllt genau den Bildschirm: Bild nimmt den Platz über Claim und Button ein */
.hero--banner { display: flex; flex-direction: column; height: 100vh; height: 100svh; min-height: 560px; }
.hero__banner { flex: 1 1 auto; min-height: 0; display: block; }
.hero__banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero--banner .hero__content { flex: none; padding-top: clamp(1rem, 2.5vh, 2rem); padding-bottom: clamp(1.25rem, 3vh, 2.5rem); }
.hero--banner .hero__row { padding-top: clamp(1rem, 2vh, 1.5rem); }
@media (max-width: 700px) {
  .hero--banner { height: auto; min-height: 0; }
  .hero__banner img { height: auto; }
}

/* Rote Lichtlinie wie im Logo – nur unter dem Hero-Bild */
.hero--banner .hero__row {
  border-top: 0;
  background: linear-gradient(90deg, transparent, var(--oxblood-hi) 25%, var(--neon-blue) 50%, var(--oxblood-hi) 75%, transparent) top / 100% 1px no-repeat;
}

/* ==========================================================================
   Werkstatt-Service
   ========================================================================== */
.workshop { background: transparent; }
.workshop__intro {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.workshop__text { display: grid; gap: 1.5rem; justify-items: start; }
.workshop__eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-blue);
}
.workshop__title {
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem);
  line-height: 1.06;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
.workshop__lead { color: var(--pewter); max-width: 44ch; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
.workshop__cta { gap: 0.75rem; margin-top: 0.5rem; }
.workshop__arrow { display: inline-block; transition: transform 0.35s var(--ease); }
.workshop__cta:hover .workshop__arrow { transform: translateX(4px); }
.workshop__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite-raised); }
.workshop__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.workshop__media:hover img { transform: scale(1.03); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.svc {
  position: relative;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1rem, 2vw, 1.75rem) clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--rule);
  transition: transform 0.3s var(--ease);
}
.svc:not(:nth-child(4n+1)) { padding-left: clamp(1rem, 2vw, 1.75rem); border-left: 1px solid var(--rule); }
.svc::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--neon-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.svc__no { font-family: var(--sans); font-size: 0.875rem; font-weight: 500; color: var(--pewter-dim); font-variant-numeric: tabular-nums; transition: color 0.3s; }
.svc__title { font-family: var(--sans); font-weight: 500; font-size: 1.3125rem; line-height: 1.2; color: var(--pewter); transition: color 0.3s; }
.svc__title a { color: inherit; text-decoration: none; }
.svc__title a::before { content: ""; position: absolute; inset: 0; }
.svc__text { color: var(--pewter-dim); font-size: 0.975rem; line-height: 1.55; }
@media (hover: hover) {
  .svc:hover { transform: translateY(-4px); }
  .svc:hover .svc__title { color: var(--ivory); }
  .svc:hover .svc__no { color: var(--oxblood-hi); }
  .svc:hover::after { transform: scaleX(1); }
}
@media (hover: none) { .svc__title { color: var(--ivory); } }

/* Einblenden beim Scrollen, leicht gestaffelt */
.js .reveal-up { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal-up.is-visible { opacity: 1; transform: none; }
.js .svc.reveal-up.is-visible { transition: opacity 0.8s var(--ease) calc(var(--i, 0) * 70ms), transform 0.3s var(--ease); }

@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .svc:nth-child(even) { padding-left: clamp(1rem, 2vw, 1.75rem); border-left: 1px solid var(--rule); }
}
@media (max-width: 900px) {
  .workshop__intro { grid-template-columns: 1fr; }
  .workshop__media { order: -1; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc:nth-child(even) { padding-left: 0; border-left: 0; }
  .workshop__cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal-up { opacity: 1; transform: none; }
}
@media (hover: hover) {
  .js .svc.reveal-up.is-visible:hover { transform: translateY(-4px); }
  .js .workshop__media.is-visible:hover img { transform: scale(1.03); }
}

/* ==========================================================================
   Feinschliff Gesamtseite (Palette, Eyebrows, Kontakt, Karte, Inzahlungnahme)
   ========================================================================== */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 0;
}
.about--center .eyebrow, .why__inner .eyebrow { justify-self: center; }

/* Warum RetroCars: Abschnitt so hoch wie das Logo breit ist – nichts wird beschnitten */
.why { padding-block: clamp(4rem, 7vw, 6.5rem); min-height: min(36vw, 520px); display: flex; align-items: center; }
.why__inner { width: 100%; }
.why__inner .section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Bestand: zweiter Button */
.stock__more { gap: 1rem; flex-wrap: wrap; }
.btn--ghost { border-color: var(--rule); color: var(--pewter); }
.btn--ghost:hover { border-color: var(--ivory); background: transparent; color: var(--ivory); }

/* Kontakt mit Standort und Karte */
.contact-sec .contact { align-items: start; }
.contact__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
}
.contact__facts dt { font-size: 0.8125rem; color: var(--pewter-dim); margin-bottom: 0.25rem; }
.contact__facts dd { font-size: 1rem; line-height: 1.5; }
.contact__facts address { font-style: normal; }
.contact__facts a { text-decoration: none; }
.contact__facts a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.map {
  margin-top: clamp(3rem, 6vw, 5rem);
  aspect-ratio: 21 / 8;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--graphite-raised);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(0.85) invert(0.9) contrast(0.9); }
@media (max-width: 600px) {
  .contact__facts { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 5; }
}

/* Spamfalle im Formular (für Menschen unsichtbar) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Inzahlungnahme */
.trade { padding-top: clamp(1rem, 3vw, 2.5rem); }
.trade__head { max-width: 52rem; }
.trade__sub {
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  line-height: 1.15;
  margin: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}
.trade__steps { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.know-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.know-grid .svc:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.trade__form { max-width: 980px; }
.form__group {
  grid-column: 1 / -1;
  margin-top: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.25rem;
}
.form__group:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.equip-checks {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.75rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.975rem;
}
.equip-checks label { display: flex; gap: 0.65rem; align-items: center; cursor: pointer; }
.equip-checks input { width: 1.1rem; height: 1.1rem; accent-color: var(--oxblood-hi); }
.field input[type="file"] { padding: 0.75rem; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 1rem; padding: 0.55rem 1.1rem;
  border: 1px solid var(--rule); border-radius: 999px;
  background: transparent; color: var(--ivory); font: inherit; cursor: pointer;
}
.check input { accent-color: var(--oxblood-hi); }
@media (max-width: 900px) {
  .know-grid { grid-template-columns: 1fr; }
  .know-grid .svc, .know-grid .svc:nth-child(even) { padding-left: 0; border-left: 0; }
}
p.eyebrow { color: var(--neon-blue); }
.map { aspect-ratio: 21 / 7; max-height: 440px; }
@media (max-width: 600px) { .map { aspect-ratio: 4 / 5; max-height: none; } }
.field .form__note { max-width: none; }

/* Abstand Eyebrow → Überschrift einheitlich (wie „Unser Service“) */
.stock__head > div { display: grid; gap: 1.5rem; }
.about__text, .contact__intro { gap: 1.5rem; }

/* ---------- Impressum & Datenschutz ---------- */
.legal { padding-top: clamp(1rem, 3vw, 2.5rem); }
.legal__inner { max-width: 50rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.legal .h2 { margin-bottom: 1rem; }
.legal h2:not(.h2) {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem);
  line-height: 1.25;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.legal p, .legal li { color: var(--pewter); }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.35rem; }
.legal a { color: var(--ivory); text-underline-offset: 0.2em; }
.legal strong { color: var(--ivory); font-weight: 600; }
.legal .lead { color: var(--ivory); max-width: 46ch; }
.legal__toc { margin: 0.5rem 0 0; padding: 1.25rem 1.5rem; border: 1px solid var(--rule); font-family: var(--sans); font-size: 0.975rem; }
.legal__toc ol { list-style: decimal; padding-left: 1.25rem; display: grid; gap: 0.3rem; }
.legal__toc a { text-decoration: none; color: var(--pewter); }
.legal__toc a:hover { color: var(--ivory); text-decoration: underline; }
.legal__stand { margin-top: 2rem; font-size: 0.9375rem; color: var(--pewter-dim); }

/* Service-Detailseite: Titelbild */
.service-hero { margin-bottom: clamp(2rem, 4vw, 3rem); }
.service-hero img { display: block; width: 100%; height: auto; }

/* Textlink mit Pfeil (ohne Kasten) */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--pewter);
  text-decoration: none;
  transition: color 0.3s;
}
.more-link__arrow { display: inline-block; transition: transform 0.35s var(--ease); }
.more-link:hover { color: var(--ivory); }
.more-link:hover .more-link__arrow { transform: translateX(5px); }

/* Service-Seite */
.svc-head { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.svc-head .container { display: grid; gap: 1.1rem; justify-items: start; }
.svc-jump { border-block: 1px solid var(--rule); position: sticky; top: 0; z-index: 5; background: rgba(0,0,0,.8); backdrop-filter: blur(10px); }
.svc-jump .container { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-block: .8rem; }
.svc-jump span { color: var(--pewter-dim); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-right: .5rem; }
.svc-jump a { border: 1px solid var(--rule); padding: .35rem .8rem; font-size: .85rem; text-decoration: none; transition: border-color .3s, color .3s; }
.svc-jump a:hover { border-color: var(--neon-blue); color: var(--neon-blue); }
.svc-list { display: grid; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); scroll-margin-top: 4.5rem; }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media img { display: block; width: 100%; height: auto; }
.svc-row__no { position: absolute; left: 0; bottom: 0; background: var(--neon-blue); color: #000; padding: .45rem .8rem; font-size: .85rem; font-weight: 600; }
.svc-row__body { display: grid; gap: 1rem; max-width: 52ch; }
.svc-row__body h2 { font-family: var(--sans); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); line-height: 1.2; }
.svc-row__body p { color: var(--pewter); }
.svc-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; border: 1px solid var(--rule); padding: clamp(1.5rem, 4vw, 2.5rem); margin: clamp(2.5rem, 5vw, 4rem) 0; }
.svc-cta h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.svc-cta p { color: var(--pewter); max-width: 48ch; }
.svc-cta__btns { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
}

.trade__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-bottom: clamp(2rem, 4vw, 3rem); }
.trade__media img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .trade__top { grid-template-columns: 1fr; } }
.trade__media { margin-top: -2rem; }
@media (max-width: 860px) { .trade__media { margin-top: 0; } }

/* Fix: Karte darf nie breiter als der Container werden */
.map { width: 100%; }
.legal :is(h1, h2, p, li, a) { overflow-wrap: anywhere; }

/* Service-Kacheln mit Bild (Name steckt im Bild) */
.svc__img { display: block; width: 100%; height: auto; margin-bottom: 0.25rem; }
.svc__title a { font-size: 0; }
.svc__title { line-height: 0; }

/* Feinschliff: Metallkante an der Navigation, ruhigere Buttons */
.site-header.is-scrolled { box-shadow: none; }
.site-header.is-scrolled::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(199, 205, 212, 0.35) 20%, rgba(199, 205, 212, 0.35) 80%, transparent); }
.btn { transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease); }
@media (hover: hover) { .btn--primary:hover { transform: translateY(-1px); } }
.btn--primary:active { transform: none; }
.btn:focus-visible { outline: 2px solid var(--neon-blue); outline-offset: 3px; }

/* Hero: Banner komplett zeigen (Logo und beide Autos), Höhe folgt dem Bild */
.hero--banner { height: auto; min-height: 0; }
.hero__banner { flex: none; }
.hero__banner img { height: auto; object-fit: initial; }

/* Sanfter Übergang Hero → Inhalt: Banner läuft an den Rändern in den Seitenhintergrund aus */
.hero--banner { background: transparent; }
.hero__banner img {
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 78%, transparent), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}
.hero--banner + .section { padding-top: calc(var(--space) * 0.55); }

/* Hero-Zeile (Claim + Button) sofort sichtbar, nicht verzögert einblenden */
.hero--banner .hero__row[data-in] { animation: none; opacity: 1; transform: none; }

/* Touch-Ziele: Footer-Links auf Touch-Geräten mind. 44px hoch */
@media (pointer: coarse) {
  .footer__grid a { display: inline-block; padding-block: 0.7rem; }
  .footer__grid li + li { margin-top: 0; }
}

/* Service: "Direkt zu" mobil in einer Zeile, seitlich scrollbar */
@media (max-width: 760px) {
  .svc-jump .container { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: .6rem; }
  .svc-jump .container::-webkit-scrollbar { display: none; }
  .svc-jump span, .svc-jump a { flex: none; white-space: nowrap; }
}

/* Startseite Service: ohne Bild, Text einspaltig */
.workshop__intro { grid-template-columns: 1fr; }

/* Mobile-Menü: Unschärfe der Kopfleiste aus, sonst wird das Vollbild-Menü auf die Leistenhöhe begrenzt */
body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

/* Fahrzeug-Beschreibung: Aufzählungen */
.detail__prose ul { display: grid; gap: .55rem; padding: 0; margin: 0; list-style: none; }
.detail__prose li { position: relative; padding-left: 1.2rem; color: var(--pewter); }
.detail__prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: .45rem; height: 2px; background: var(--oxblood-hi); }

/* Bilder mit schwarzem Rand: Kanten weich in den Seitenverlauf auslaufen lassen */
.hero--banner { background: transparent; }
.trade__media.media { background: transparent; }
.hero__banner img, .trade__media img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 20%, #000 80%, transparent 100%);
  mask-composite: intersect;
}

/* Inzahlungnahme: Bild größer, dicht neben dem Text */
@media (min-width: 861px) {
  .trade__top { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(.5rem, 1.5vw, 1.5rem); align-items: center; }
  .trade__media { margin-top: 0; position: relative; top: -1rem; }
  .trade__media img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%); }
}
