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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--type-body-size);
  font-weight: var(--type-body-weight);
  line-height: var(--type-body-leading);
  color: var(--brand-text);
  background: var(--brand-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-main { flex: 1 0 auto; }

a { color: var(--brand-primary); text-decoration: none; }
a:hover { color: var(--brand-primary-strong); }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Logo: feste Höhe, damit SVGs mit nur viewBox zuverlässig rendern */
img.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  max-height: 42px;
  max-width: min(220px, 70vw);
  object-fit: contain;
  object-position: center;
}

/* ══════════════════════════════════════
   GLOBAL TYPOGRAPHY (immer gleich)
   ══════════════════════════════════════ */

h1, .heading-1 {
  margin: 0 0 var(--space-4);
  font-size: var(--type-h1-size);
  font-weight: var(--type-h1-weight);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--brand-text);
}

h2, .heading-2 {
  margin: 0 0 var(--space-3);
  font-size: var(--type-h2-size);
  font-weight: var(--type-h2-weight);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--brand-text);
  text-transform: none;
}

h3, .heading-3 {
  margin: 0 0 var(--space-2);
  font-size: var(--type-h3-size);
  font-weight: var(--type-h3-weight);
  line-height: 1.3;
  color: var(--brand-text);
  text-transform: none;
}

.text-eyebrow, .eyebrow {
  margin: 0 0 var(--space-3);
  font-size: var(--type-eyebrow-size);
  font-weight: var(--type-eyebrow-weight);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--brand-muted);
}
.eyebrow-invert { color: rgba(255, 255, 255, 0.85); }

.text-lead, .lead {
  margin: 0 0 var(--space-5);
  font-size: var(--type-lead-size);
  font-weight: var(--type-lead-weight);
  line-height: 1.6;
  color: var(--brand-muted);
  max-width: 36em;
}
.lead-invert { color: rgba(255, 255, 255, 0.92); }

.text-muted { color: var(--brand-muted); }

/* ══════════════════════════════════════
   GLOBAL BUTTONS (immer gleich)
   ══════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-height);
  padding: 0 var(--btn-padding-x);
  font-family: inherit;
  font-size: var(--type-btn-size);
  font-weight: var(--type-btn-weight);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:focus-visible {
  outline: 2px solid rgba(0, 120, 214, 0.55);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}
.btn-primary:hover {
  background: var(--brand-primary-strong);
  border-color: var(--brand-primary-strong);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--brand-text);
  border-color: var(--brand-border);
}
.btn-secondary:hover {
  border-color: var(--brand-text);
  color: var(--brand-text);
}

.btn-secondary-invert {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-secondary-invert:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* Kleiner Button (Navigation) */
.btn-sm {
  min-height: var(--btn-height-sm);
  padding: 0 var(--btn-padding-x-sm);
  font-size: var(--type-nav-size);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

/* ══════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════ */

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

.section-vehicle-detail .container {
  max-width: var(--container-max-wide);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--brand-text);
  color: #fff;
  font-size: var(--type-nav-size);
  font-weight: var(--type-nav-weight);
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: var(--gutter);
  outline: 2px solid rgba(0, 120, 214, 0.55);
  outline-offset: 2px;
}

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

/* ══════════════════════════════════════
   HEADER & NAVIGATION
   ══════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--brand-border);
}

.site-header .container {
  max-width: var(--container-max-wide);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-3);
  min-height: 80px;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  color: var(--brand-text);
  text-decoration: none;
}
.brand:hover { color: var(--brand-text); }

.brand-logo {
  flex-shrink: 0;
}

.brand-text {
  font-size: var(--type-nav-size);
  font-weight: var(--type-nav-weight);
  letter-spacing: 0;
  text-transform: none;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav-left {
  justify-self: start;
}

.site-nav-right {
  justify-self: end;
  grid-column: 2;
}

.nav-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav-left .nav-list {
  justify-content: flex-start;
}

.site-nav-right .nav-list {
  justify-content: flex-end;
}

.nav-list li { display: flex; align-items: center; }

.nav-list a:not(.btn) {
  display: block;
  padding: var(--space-2) 0.625rem;
  color: var(--brand-text);
  font-size: var(--type-nav-size);
  font-weight: var(--type-nav-weight);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}
.nav-list a:not(.btn):hover { color: var(--brand-primary); }
.nav-list a:not(.btn):focus-visible {
  outline: 2px solid rgba(0, 120, 214, 0.55);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: var(--space-3);
    padding-block: var(--space-3);
    min-height: auto;
  }

  .brand {
    position: static;
    transform: none;
    order: -1;
    justify-self: center;
  }

  .site-nav-left,
  .site-nav-right {
    justify-self: center;
  }

  .site-nav-left .nav-list,
  .site-nav-right .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-1);
  }
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */

.hero-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(480px, 72vh, 720px);
  color: #fff;
  background-color: #141820;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center 40%;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 24, 32, 0.88) 0%,
    rgba(20, 24, 32, 0.45) 45%,
    rgba(20, 24, 32, 0.15) 100%
  );
}

.hero-banner-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.hero-banner h1,
.hero-banner .heading-1 {
  color: #fff;
  max-width: min(22ch, 100%);
}

.hero-lead {
  max-width: 38em;
}

/* ══════════════════════════════════════
   SECTIONS (Inhaltsseiten & Startseite)
   ══════════════════════════════════════ */

.section { padding-block: var(--space-7); }

.section-header {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--brand-border);
}

.section-intro {
  margin: var(--space-3) 0 0;
  font-size: var(--type-body-size);
  font-weight: var(--type-body-weight);
  line-height: var(--type-body-leading);
  color: var(--brand-text);
  max-width: 40em;
}

.page-header { margin-bottom: var(--space-6); }
.page-header-compact { margin-bottom: var(--space-5); }

/* ══════════════════════════════════════
   SERVICE LIST
   ══════════════════════════════════════ */

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.service-list li { border-bottom: 1px solid var(--brand-border); }
.service-list li:first-child { border-top: 1px solid var(--brand-border); }

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  color: var(--brand-text);
  font-size: var(--type-h3-size);
  font-weight: var(--type-h3-weight);
  text-decoration: none;
  transition: color 0.15s ease;
}
.service-item::after {
  content: "→";
  flex-shrink: 0;
  font-size: var(--type-body-size);
  font-weight: var(--type-nav-weight);
  color: var(--brand-muted);
  transition: transform 0.15s ease, color 0.15s ease;
}
.service-item:hover { color: var(--brand-primary); }
.service-item:hover::after {
  color: var(--brand-primary);
  transform: translateX(3px);
}
.service-item:focus-visible {
  outline: 2px solid rgba(0, 120, 214, 0.55);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ══════════════════════════════════════
   CARDS & GRIDS
   ══════════════════════════════════════ */

.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 820px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.card-action { display: grid; gap: var(--space-3); }
.card-media { padding: 0; overflow: hidden; border-radius: var(--radius); }
.card-media-top { background: var(--brand-surface); }
.card-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: var(--space-5); display: grid; gap: var(--space-3); }

.link { font-weight: var(--type-nav-weight); color: var(--brand-primary); }
.link-arrow::after { content: " →"; }
.fineprint { margin-top: var(--space-5); font-size: var(--type-eyebrow-size); color: var(--brand-muted); }

/* ══════════════════════════════════════
   STARTSEITE – Sektionen
   ══════════════════════════════════════ */

.section-alt {
  background: var(--brand-surface);
}

.section-new-vehicles,
.section-about {
  --castle-width: min(1180px, 96vw);
  --castle-height: clamp(7rem, 20vw, 13rem);
  --castle-rise: 0.55;
}

.section-about {
  position: relative;
  padding-top: calc(var(--castle-height) * (1 - var(--castle-rise)) + var(--space-3));
  padding-bottom: var(--space-7);
  overflow: visible;
}

.section-about > .section-castle-divider {
  --castle-fill: var(--brand-surface);

  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 0;
  margin: 0;
  z-index: 1;
  pointer-events: none;
}

.section-castle-divider__art {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, calc(var(--castle-rise) * var(--castle-height) * -1));
  width: var(--castle-width);
  height: var(--castle-height);
  background-color: var(--castle-fill);
  -webkit-mask-image: url('/uploads/site/schloss_hellenstein.png');
  mask-image: url('/uploads/site/schloss_hellenstein.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
}

.section-new-vehicles {
  padding-block: var(--space-6) calc(var(--castle-height) * var(--castle-rise) + var(--space-4));
  overflow: visible;
}

.section-new-vehicles .section-footer-link {
  position: relative;
  z-index: 2;
}

.about-home {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.about-home-copy {
  max-width: var(--container-max-wide);
  width: 100%;
  text-align: center;
}

.about-home-copy .heading-2 {
  margin-bottom: var(--space-4);
}

.about-text {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--brand-muted);
}

.about-text-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  text-align: left;
}

.about-text-columns p {
  margin: 0;
}

@media (min-width: 768px) {
  .about-text-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5) var(--space-6);
  }
}

.about-text p + p,
.about-text br + br {
  margin-top: var(--space-3);
}

.about-home-cta {
  margin: var(--space-4) 0 0;
}

.section-footer-link {
  margin: var(--space-5) 0 0;
  text-align: center;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  font-size: var(--type-eyebrow-size);
  color: var(--brand-muted);
}

.card-title-link {
  color: inherit;
  text-decoration: none;
}
.card-title-link:hover { color: var(--brand-primary); }

.card-media-link { display: block; }

.card-news,
.card-season,
.card-rental {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-news .card-body,
.card-season .card-body,
.card-rental .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.card-news .link-arrow,
.card-season .btn,
.card-rental .btn {
  margin-top: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.65em;
  font-size: var(--type-eyebrow-size);
  font-weight: var(--type-nav-weight);
  line-height: 1.4;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.badge-muted {
  background: var(--brand-surface);
  color: var(--brand-muted);
  border: 1px solid var(--brand-border);
}

.section-alt .badge-muted {
  background: #fff;
}

.badge-primary {
  background: var(--brand-primary-soft);
  color: var(--brand-primary-strong);
}

.badge-accent {
  background: rgba(26, 31, 38, 0.06);
  color: var(--brand-text);
}

.season-grid .card-season {
  border-color: var(--brand-border);
}

.season-slide {
  flex: 0 0 calc((100% - var(--space-4)) / 2);
  min-width: min(100%, 320px);
  scroll-snap-align: start;
  height: auto;
  border-color: var(--brand-border);
}

.section-season .season-slider-track {
  gap: var(--space-4);
}

.section-rental .container {
  overflow: visible;
}

.rental-slide {
  flex: 0 0 calc((100% - (3 * var(--space-3))) / 4);
  min-width: min(100%, 220px);
  scroll-snap-align: start;
  height: auto;
}

.section-rental .slider-track-inner {
  gap: var(--space-3);
}

.section-rental .card-rental .card-body {
  padding: var(--space-3);
  gap: var(--space-2);
}

.section-rental .card-rental h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.section-rental .rental-slide-summary {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--brand-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-rental .card-rental .card-image {
  aspect-ratio: 16 / 9;
}

.section-rental .card-rental .link-arrow {
  margin-top: auto;
  font-size: 0.875rem;
}

@media (max-width: 1020px) {
  .rental-slide {
    flex-basis: calc((100% - (2 * var(--space-3))) / 3);
  }
}

@media (max-width: 720px) {
  .rental-slide {
    flex-basis: calc(100% - var(--space-6));
  }
}

.article-layout {
  max-width: 42em;
}

.article-figure {
  margin: 0 0 var(--space-5);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--brand-border);
}

.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-body {
  margin-bottom: var(--space-5);
  line-height: var(--type-body-leading);
  color: var(--brand-text);
}

.legal-page-header .text-eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--brand-primary-strong);
}

.legal-page-nav {
  margin: var(--space-2) 0 0;
}

.legal-page-layout {
  display: grid;
  gap: var(--space-6);
  max-width: 52rem;
}

.legal-page-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--brand-border);
}

.legal-page-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.legal-page-content {
  display: grid;
  gap: var(--space-5);
}

.legal-block .heading-3 {
  margin: 0 0 var(--space-3);
}

.legal-block p,
.legal-block address {
  margin: 0 0 var(--space-3);
  line-height: 1.65;
  color: var(--brand-text);
}

.legal-block ul {
  margin: 0 0 var(--space-3);
  padding-left: 1.25rem;
  line-height: 1.65;
  color: var(--brand-text);
}

.legal-block li + li {
  margin-top: var(--space-1);
}

.legal-block p:last-child,
.legal-block address:last-child {
  margin-bottom: 0;
}

.legal-address {
  font-style: normal;
}

.legal-contact-list {
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-1);
}

.legal-block-partner {
  padding-top: var(--space-4);
  border-top: 1px solid var(--brand-border);
  color: var(--brand-muted);
}

@media (min-width: 768px) {
  .legal-page-layout {
    max-width: none;
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    align-items: start;
  }
}

.application-section {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--brand-border);
}

.application-form-wrap {
  margin-top: var(--space-4);
}

.application-form {
  display: grid;
  gap: var(--space-4);
}

.form-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .form-grid .form-field:last-child {
    grid-column: span 1;
  }
}

.form-field {
  display: grid;
  gap: var(--space-1);
}

.form-field label {
  font-size: var(--type-eyebrow-size);
  font-weight: var(--type-nav-weight);
  color: var(--brand-text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  font: inherit;
  color: var(--brand-text);
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid rgba(0, 120, 214, 0.55);
  outline-offset: 2px;
}

.form-hint {
  margin: 0;
  font-size: var(--type-eyebrow-size);
  color: var(--brand-muted);
  line-height: 1.5;
}

.form-notice,
.form-error {
  margin: 0 0 var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--type-nav-size);
}

.form-notice {
  background: rgba(0, 120, 214, 0.08);
  color: var(--brand-primary-strong);
}

.form-error {
  background: #fef2f2;
  color: #991b1b;
}

/* ══════════════════════════════════════
   KARRIERE
   ══════════════════════════════════════ */

.career-page-header {
  max-width: 42rem;
  margin-bottom: var(--space-7);
}

.career-page-header .text-eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--brand-primary-strong);
}

.career-page-header h1 {
  margin: 0 0 var(--space-3);
}

.career-page-lead {
  margin: 0;
  font-size: var(--type-lead-size);
  line-height: 1.65;
  color: var(--brand-muted);
}

.career-group + .career-group {
  margin-top: var(--space-7);
  padding-top: var(--space-7);
  border-top: 1px solid var(--brand-border);
}

.career-group-header {
  margin-bottom: var(--space-5);
  max-width: 40rem;
}

.career-group-header .heading-2 {
  margin: 0 0 var(--space-2);
}

.career-group-intro {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.6;
}

.career-grid {
  align-items: stretch;
}

.card-career {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--brand-border);
  transition: border-color 0.15s ease;
}

.card-career:hover {
  border-color: rgba(0, 120, 214, 0.22);
}

.card-career .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
}

.card-career-summary {
  margin: 0;
  line-height: 1.6;
  color: var(--brand-muted);
}

.card-career .link-arrow {
  margin-top: auto;
}

.career-empty {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  padding: var(--space-6);
  border: 1px dashed var(--brand-border);
  border-radius: var(--radius-lg);
  background: var(--brand-surface);
}

.career-empty-text {
  margin: 0;
  color: var(--brand-muted);
}

.career-detail-inner {
  max-width: 44rem;
}

.career-detail-header {
  margin-bottom: var(--space-5);
}

.career-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  font-size: var(--type-eyebrow-size);
}

.career-detail-header h1 {
  margin: 0 0 var(--space-3);
}

.career-detail-lead {
  margin: 0;
  font-size: var(--type-lead-size);
  line-height: 1.65;
  color: var(--brand-muted);
}

.career-detail-figure {
  margin: 0 0 var(--space-5);
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-border);
}

.career-detail-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.career-body {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.career-body-heading {
  margin: var(--space-2) 0 0;
  font-size: var(--type-h3-size);
  font-weight: var(--type-h3-weight);
  color: var(--brand-text);
}

.career-body-text {
  margin: 0;
  line-height: 1.65;
  color: var(--brand-text);
}

.career-body-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: var(--space-2);
  line-height: 1.6;
  color: var(--brand-text);
}

.career-apply {
  margin-top: var(--space-6);
}

.career-apply-panel {
  padding: var(--space-5);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: var(--brand-surface);
}

.career-apply-panel .heading-2 {
  margin: 0 0 var(--space-2);
}

.career-apply-intro {
  margin: 0 0 var(--space-4);
  color: var(--brand-muted);
  line-height: 1.6;
}

.career-back-link {
  margin: var(--space-5) 0 0;
}

@media (max-width: 640px) {
  .career-apply-panel {
    padding: var(--space-4);
  }
}

.section-footer-sep {
  margin-inline: var(--space-2);
  color: var(--brand-muted);
}

/* ══════════════════════════════════════
   SLIDER (Startseite)
   ══════════════════════════════════════ */

.section-news .container,
.section-new-vehicles .container,
.section-season .container {
  overflow: visible;
}

.slider-shell {
  position: relative;
  isolation: isolate;
}

.slider-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--space-1);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-border) transparent;
}

.slider-track-inner {
  display: flex;
  gap: var(--space-4);
  padding-block: var(--space-1);
}

.slider-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  font: inherit;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--brand-text);
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.slider-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.slider-btn:focus-visible {
  outline: 2px solid rgba(0, 120, 214, 0.55);
  outline-offset: 2px;
}

.slider-btn-outside {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.slider-btn-outside.slider-prev {
  left: -3.25rem;
}

.slider-btn-outside.slider-next {
  right: -3.25rem;
}

.news-slide,
.vehicle-slide {
  flex: 0 0 calc((100% - (2 * var(--space-4))) / 3);
  min-width: min(100%, 280px);
  scroll-snap-align: start;
  height: auto;
}

.vehicle-slide .vehicle-card {
  height: 100%;
}

@media (max-width: 1020px) {
  .news-slide,
  .vehicle-slide {
    flex-basis: calc((100% - var(--space-4)) / 2);
  }

  .season-slide {
    flex-basis: calc((100% - var(--space-4)) / 2);
  }
}

@media (max-width: 900px) {
  .slider-btn-outside.slider-prev {
    left: -2.5rem;
  }

  .slider-btn-outside.slider-next {
    right: -2.5rem;
  }
}

@media (max-width: 720px) {
  .slider-btn-outside {
    display: none;
  }

  .news-slide,
  .vehicle-slide,
  .rental-slide,
  .season-slide {
    flex-basis: calc(100% - var(--space-6));
  }
}

/* Legacy alias */
.slider-wrap {
  position: relative;
  display: block;
}

.news-slider-track {
  display: flex;
  gap: var(--space-4);
  padding-block: var(--space-1);
}

/* ══════════════════════════════════════
   LEISTUNGEN (Checkliste)
   ══════════════════════════════════════ */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3) var(--space-5);
  }
}

@media (min-width: 980px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-list-item {
  margin: 0;
}

.feature-list-link {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--brand-text);
  text-decoration: none;
  font-size: var(--type-lead-size);
  line-height: 1.4;
  border-bottom: 1px solid var(--brand-border);
  transition: color 0.15s ease;
}

a.feature-list-link:hover {
  color: var(--brand-primary);
}

.feature-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1em;
  font-size: 0.8125rem;
  font-weight: var(--type-nav-weight);
  color: var(--brand-primary-strong);
  background: var(--brand-primary-soft);
  border-radius: 50%;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  --footer-bg: #101820;
  --footer-bg-soft: #162029;
  --footer-text: rgba(255, 255, 255, 0.94);
  --footer-muted: rgba(255, 255, 255, 0.68);
  --footer-border: rgba(255, 255, 255, 0.12);
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-cta-band {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-strong) 100%);
  color: #fff;
}

.footer-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
}

.footer-cta-eyebrow {
  margin: 0 0 var(--space-1);
  font-size: var(--type-eyebrow-size);
  font-weight: var(--type-eyebrow-weight);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}

.footer-cta-lead {
  margin: 0;
  max-width: 28em;
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: var(--type-h2-weight);
  line-height: 1.35;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.footer-phone-link {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: var(--type-nav-weight);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.footer-phone-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-body {
  position: relative;
  overflow: hidden;
}

.footer-castle {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(680px, 88vw);
  height: clamp(5rem, 14vw, 8rem);
  opacity: 0.14;
  pointer-events: none;
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-mask-image: url('/uploads/site/schloss_hellenstein.png');
  mask-image: url('/uploads/site/schloss_hellenstein.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
}

.footer-main {
  position: relative;
  z-index: 1;
  padding-block: var(--space-6) var(--space-5);
}

.footer-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--footer-border);
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.footer-logo {
  display: block;
  width: auto;
  height: 38px;
  max-width: min(200px, 60vw);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-name {
  font-size: 1.125rem;
  font-weight: var(--type-nav-weight);
}

.footer-heritage {
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: var(--type-eyebrow-size);
  font-weight: var(--type-nav-weight);
  color: var(--footer-muted);
  border: 1px solid var(--footer-border);
  border-radius: var(--radius-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6) var(--space-7);
}

.footer-panel {
  min-width: 0;
}

.footer-panel-title {
  margin: 0 0 var(--space-3);
  font-size: 0.8125rem;
  font-weight: var(--type-nav-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.footer-dl {
  margin: 0;
  display: grid;
  gap: var(--space-3);
}

.footer-dl-item {
  display: grid;
  gap: 0.2rem;
}

.footer-dl-item dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: var(--type-nav-weight);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.footer-dl-item dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.footer-dl-item a,
.footer-links-compact a,
.footer-legal a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-dl-item a:hover,
.footer-links-compact a:hover,
.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-hours-block + .footer-hours-block {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--footer-border);
}

.footer-hours-label {
  margin: 0 0 var(--space-1);
  font-size: 0.9375rem;
  font-weight: var(--type-nav-weight);
}

.footer-hours-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--footer-muted);
}

.footer-links-compact {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: var(--space-3);
}

.footer-links-compact li {
  break-inside: avoid;
  margin-bottom: 0.45rem;
}

.footer-links-compact a {
  font-size: 0.9375rem;
  color: var(--footer-muted);
}

.footer-links-compact a:hover { color: #fff; }

.footer-brands {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--footer-border);
}

.footer-brand-logos {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.footer-brand-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  min-height: 3rem;
  padding: 0.5rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.footer-brand-logos a:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.footer-brand-logos img {
  display: block;
  width: auto;
  height: 2rem;
  max-width: 7rem;
  object-fit: contain;
}

.footer-brand-logos span {
  font-size: 0.75rem;
  font-weight: var(--type-nav-weight);
  color: var(--brand-text);
  text-align: center;
  line-height: 1.2;
}

.footer-specialties {
  margin: var(--space-4) 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--footer-muted);
  text-align: center;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--footer-border);
  background: rgba(0, 0, 0, 0.28);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-4);
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--footer-muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
}

.footer-legal a {
  font-size: 0.8125rem;
  color: var(--footer-muted);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .footer-panel + .footer-panel {
    padding-top: var(--space-5);
    border-top: 1px solid var(--footer-border);
  }

  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .footer-main { padding-block: var(--space-5) var(--space-4); }

  .footer-links-compact {
    columns: 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ══════════════════════════════════════
   FAHRZEUGE / GEBRAUCHTWAGEN
   ══════════════════════════════════════ */

.section-vehicles { padding-top: var(--space-6); }

/* ── Suche & Filter ── */

.vehicle-search {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--brand-border);
}

.vehicle-search-combobox {
  position: relative;
  margin-bottom: var(--space-3);
}

.vehicle-search-combobox.is-open .vehicle-search-input {
  border-color: var(--brand-primary);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.vehicle-search-combobox.is-open .vehicle-suggest {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.vehicle-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.vehicle-search-icon {
  position: absolute;
  left: var(--space-4);
  color: var(--brand-muted);
  pointer-events: none;
}

.vehicle-search-input {
  width: 100%;
  min-height: 56px;
  padding: 0 3rem 0 3rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: #fff;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--brand-text);
  transition: border-color 0.15s ease;
}

.vehicle-search-input::placeholder {
  color: #8a96a3;
}

.vehicle-search-input:hover {
  border-color: #c5d0db;
}

.vehicle-search-input:focus-visible {
  outline: 2px solid rgba(0, 120, 214, 0.55);
  outline-offset: 2px;
  border-color: var(--brand-primary);
}

.vehicle-search-clear {
  position: absolute;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--brand-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.vehicle-search-clear:hover {
  background: var(--brand-surface);
  color: var(--brand-text);
}

.vehicle-suggest {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
  max-height: min(24rem, 70vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--brand-primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: #fff;
}

.vehicle-suggest-group {
  padding-top: 0.35rem;
}

.vehicle-suggest-group-label {
  display: block;
  padding: 0.35rem 1rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: var(--type-nav-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.vehicle-suggest-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 52px;
  padding: 0.65rem 1rem;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.vehicle-suggest-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 32px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--brand-surface);
}

.vehicle-suggest-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-suggest-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.vehicle-suggest-subtitle {
  overflow: hidden;
  font-size: 0.8125rem;
  color: var(--brand-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vehicle-suggest-highlight {
  padding: 0;
  border-radius: 2px;
  background: rgba(0, 120, 214, 0.14);
  color: inherit;
  font: inherit;
}

.vehicle-suggest-item:hover,
.vehicle-suggest-item.is-active {
  background: var(--brand-primary-soft);
}

.vehicle-suggest-label {
  overflow: hidden;
  font-size: 0.9375rem;
  font-weight: var(--type-nav-weight);
  color: var(--brand-text);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vehicle-suggest-meta {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--brand-muted);
}

.vehicle-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
}

.vehicle-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.25rem 0.65rem 0.25rem 0.85rem;
  border: 1px solid var(--brand-primary);
  border-radius: 999px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: var(--type-nav-weight);
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.vehicle-filter-chip:hover {
  background: rgba(0, 120, 214, 0.16);
}

.vehicle-filter-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}

#vehicle-grid.is-updating {
  opacity: 0.55;
  transition: opacity 0.12s ease;
}

#vehicle-live-root.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.vehicle-search-submit {
  display: none;
}

.vehicle-search-field {
  display: none;
}

.vehicle-search-filters {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 820px) {
  .vehicle-search-filters {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.vehicle-filter {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.vehicle-filter-wide {
  grid-column: 1 / -1;
}

@media (min-width: 820px) {
  .vehicle-filter-wide {
    grid-column: auto;
  }
}

.vehicle-filter-label {
  font-size: 0.75rem;
  font-weight: var(--type-nav-weight);
  letter-spacing: 0.02em;
  color: var(--brand-muted);
}

.vehicle-filter-select {
  width: 100%;
  min-height: 44px;
  padding: 0 2rem 0 var(--space-3);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a5568' d='M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  appearance: none;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--brand-text);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.vehicle-filter-select:focus-visible {
  outline: 2px solid rgba(0, 120, 214, 0.55);
  outline-offset: 2px;
  border-color: var(--brand-primary);
}

/* ── Ergebniszeile ── */

.vehicle-results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.vehicle-result-count {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--brand-text);
}

.vehicle-result-count strong {
  font-weight: var(--type-nav-weight);
}

.vehicle-result-filtered {
  color: var(--brand-muted);
  font-weight: var(--type-body-weight);
}

.vehicle-results-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.vehicle-sort {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.vehicle-sort .vehicle-filter-select {
  min-width: 11rem;
}

.vehicle-reset {
  font-size: 0.9375rem;
  font-weight: var(--type-nav-weight);
  color: var(--brand-primary);
  text-decoration: none;
}

.vehicle-reset:hover {
  color: var(--brand-primary-strong);
  text-decoration: underline;
}

/* ── Karten-Grid ── */

.vehicle-grid {
  margin-bottom: var(--space-6);
  align-items: stretch;
}

.vehicle-card {
  padding: 0;
  overflow: hidden;
  height: 100%;
  transition: border-color 0.15s ease;
}

.vehicle-card:hover {
  border-color: #c5d0db;
}

.vehicle-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.vehicle-card-link:hover { color: inherit; }

/* Einheitliches Bildformat: 16:10, cover, feste Höhe */
.vehicle-card-media {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9eef3;
}

.vehicle-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.vehicle-card-placeholder,
.vehicle-detail-placeholder {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  background: linear-gradient(160deg, #eef2f6 0%, #e2e8ef 100%);
}

.vehicle-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: 0.3rem 0.55rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: var(--type-nav-weight);
  letter-spacing: 0.01em;
}

.vehicle-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
  padding: var(--space-4);
}

.vehicle-card-price {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-primary);
}

.vehicle-card-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: var(--type-h3-weight);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vehicle-card-subtitle {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vehicle-card-specs {
  margin: 0.25rem 0 0;
  color: var(--brand-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vehicle-card-cta {
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: 0.9375rem;
  font-weight: var(--type-nav-weight);
  color: var(--brand-primary);
}

.vehicle-card:hover .vehicle-card-cta {
  color: var(--brand-primary-strong);
}

.vehicle-notice {
  padding: var(--space-5);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: var(--brand-surface);
}

.vehicle-pagination {
  display: none;
}

.vehicle-infinite-scroll {
  margin-bottom: var(--space-6);
}

.vehicle-scroll-sentinel {
  width: 100%;
  height: 1px;
}

.vehicle-scroll-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5) 0 var(--space-3);
  color: var(--brand-muted);
  font-size: 0.9375rem;
}

.vehicle-scroll-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--brand-border);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: vehicle-scroll-spin 0.7s linear infinite;
}

@keyframes vehicle-scroll-spin {
  to { transform: rotate(360deg); }
}

.vehicle-scroll-end {
  margin: 0;
  padding: var(--space-5) 0 var(--space-3);
  text-align: center;
  font-size: 0.875rem;
  color: var(--brand-muted);
}

.vehicle-card.is-new {
  animation: vehicle-card-in 0.35s ease;
}

@keyframes vehicle-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vehicle-pagination-meta {
  color: var(--brand-muted);
  font-size: var(--type-eyebrow-size);
}

.vehicle-detail {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.vehicle-detail-top {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

@media (min-width: 980px) {
  .vehicle-detail-top {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    gap: var(--space-5);
  }
}

.vehicle-detail-gallery {
  width: 100%;
  min-width: 0;
}

.vehicle-detail-purchase {
  display: grid;
  align-content: start;
}

.vehicle-purchase-card {
  display: grid;
  gap: var(--space-4);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.vehicle-purchase-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: var(--type-nav-weight);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.vehicle-purchase-card .vehicle-detail-price-block {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.vehicle-detail-price-label {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  color: var(--brand-muted);
}

.vehicle-purchase-card .vehicle-detail-price {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
}

.vehicle-purchase-perk {
  margin: 0;
  font-size: 0.875rem;
  font-weight: var(--type-nav-weight);
  line-height: 1.45;
  color: var(--brand-text);
}

.vehicle-purchase-fineprint {
  margin: calc(var(--space-2) * -1) 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--brand-muted);
}

.vehicle-purchase-card .vehicle-detail-actions {
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
  margin: 0;
}

.vehicle-purchase-card .vehicle-detail-actions .btn {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
}

.vehicle-purchase-cta {
  min-height: 3rem;
  font-size: 1rem;
}

.vehicle-purchase-icon {
  flex-shrink: 0;
}

.vehicle-purchase-external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding-top: var(--space-2);
  font-size: 0.875rem;
  font-weight: var(--type-nav-weight);
  color: var(--brand-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.vehicle-purchase-external:hover {
  color: var(--brand-primary);
}

.vehicle-inquiry {
  padding-top: var(--space-6);
  margin-top: var(--space-2);
  border-top: 1px solid var(--brand-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vehicle-inquiry h2 {
  margin: 0 0 var(--space-2);
  width: 100%;
}

.vehicle-inquiry-intro {
  margin: 0 0 var(--space-4);
  max-width: 42em;
  line-height: 1.6;
  color: var(--brand-muted);
}

.vehicle-inquiry .contact-form-embed {
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
}

.vehicle-detail-body {
  display: grid;
  gap: var(--space-6);
  width: 100%;
  padding-top: 0;
}

.vehicle-detail-header {
  width: 100%;
  padding-bottom: var(--space-2);
}

.vehicle-detail-header .eyebrow {
  margin-bottom: var(--space-2);
}

.vehicle-detail-header h1 {
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.vehicle-detail-header .lead {
  margin-top: var(--space-2);
  max-width: none;
}

.vehicle-detail-info {
  display: grid;
  gap: var(--space-5);
  width: 100%;
}

@media (min-width: 768px) {
  .vehicle-detail-info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
    align-items: start;
  }
}

.vehicle-detail-info-col {
  min-width: 0;
}

.vehicle-spec-card {
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.vehicle-detail-info-col .vehicle-spec-list {
  margin-bottom: 0;
}

.vehicle-detail-info-col .vehicle-spec-row {
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: var(--space-2) 0;
}

.vehicle-detail-info-col .vehicle-spec-row:first-child {
  padding-top: 0;
}

.vehicle-detail-info-col .vehicle-spec-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.vehicle-detail-info-col .vehicle-spec-row dd {
  text-align: left;
  font-size: 0.9375rem;
}

.vehicle-gallery-main {
  display: none;
}

.vehicle-gallery {
  display: grid;
  gap: var(--space-3);
}

.vehicle-gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 0;
  background: #e9eef3;
  aspect-ratio: 16 / 10;
}

.vehicle-gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.vehicle-gallery-main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.25s ease;
}

.vehicle-gallery-open:hover .vehicle-gallery-main-image {
  transform: scale(1.015);
}

.vehicle-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-text);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.vehicle-gallery-nav:hover:not(:disabled) {
  background: #fff;
  color: var(--brand-primary);
  transform: translateY(-50%) scale(1.04);
}

.vehicle-gallery-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.vehicle-gallery-prev { left: var(--space-3); }
.vehicle-gallery-next { right: var(--space-3); }

.vehicle-gallery-counter {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  z-index: 2;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(20, 24, 32, 0.72);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: var(--type-nav-weight);
}

.vehicle-gallery-zoom {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-text);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.vehicle-gallery-zoom:hover {
  color: var(--brand-primary);
  transform: scale(1.04);
}

.vehicle-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-2);
  overflow-x: auto;
  padding: 0.15rem 0 0.35rem;
  scrollbar-width: thin;
}

.vehicle-gallery-thumb {
  flex-shrink: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.65;
  transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.vehicle-gallery-thumb.is-active,
.vehicle-gallery-thumb:hover {
  opacity: 1;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.vehicle-gallery-thumb img {
  display: block;
  width: 112px;
  height: 72px;
  object-fit: cover;
}

body.vehicle-lightbox-open {
  overflow: hidden;
}

.vehicle-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background: rgba(10, 14, 20, 0.92);
}

.vehicle-lightbox[hidden] {
  display: none !important;
}

.vehicle-lightbox-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.vehicle-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.vehicle-lightbox-figure {
  display: grid;
  gap: var(--space-3);
  width: min(1200px, 100%);
  margin: 0;
}

.vehicle-lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 8rem);
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

.vehicle-lightbox-counter {
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
}

.vehicle-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
}

.vehicle-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.vehicle-lightbox-prev { left: var(--space-3); }
.vehicle-lightbox-next { right: var(--space-3); }

.vehicle-detail-price-block {
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: var(--brand-surface);
}

.vehicle-detail-price {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.2;
}

.vehicle-detail-price-note,
.vehicle-detail-price-net {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--brand-muted);
}

.vehicle-detail-price-net {
  margin-top: 0.15rem;
}

.vehicle-spec-list {
  display: grid;
  gap: 0;
  margin: 0 0 var(--space-5);
}

.vehicle-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--brand-border);
}

.vehicle-spec-row dt {
  margin: 0;
  color: var(--brand-muted);
  font-weight: var(--type-body-weight);
}

.vehicle-spec-row dd {
  margin: 0;
  font-weight: var(--type-nav-weight);
  text-align: right;
}

.vehicle-detail-actions { margin-top: var(--space-4); }

.vehicle-environment--compact {
  padding-top: var(--space-4);
  margin-top: var(--space-2);
  border-top: 1px solid var(--brand-border);
}

.vehicle-environment-compact-title {
  margin: 0 0 var(--space-3);
  font-size: 0.75rem;
  font-weight: var(--type-nav-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.vehicle-envkv-card--compact {
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: none;
  gap: var(--space-3);
}

.vehicle-envkv-card--compact .vehicle-envkv-highlights {
  gap: var(--space-3);
}

.vehicle-envkv-card--compact .vehicle-envkv-highlight-value {
  font-size: 0.9375rem;
}

.vehicle-envkv-label--compact {
  max-width: none;
}

.vehicle-envkv-label--compact .vehicle-envkv-label-class {
  min-height: 1.65rem;
}

.vehicle-envkv-label--compact .vehicle-envkv-label-class.is-active {
  min-height: 2rem;
}

.vehicle-envkv-label--compact .vehicle-envkv-label-letter {
  font-size: 0.75rem;
}

.vehicle-envkv-label--compact .vehicle-envkv-label-class.is-active .vehicle-envkv-label-letter {
  font-size: 0.875rem;
}

.vehicle-environment {
  padding-top: var(--space-6);
  border-top: 1px solid var(--brand-border);
}

.vehicle-environment > h2 {
  margin: 0 0 var(--space-4);
}

.vehicle-environment-missing {
  margin: 0 0 var(--space-4);
  color: var(--brand-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.vehicle-envkv-card {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding: var(--space-5);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  background: var(--brand-surface);
}

.vehicle-envkv-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
}

.vehicle-envkv-highlight {
  display: grid;
  gap: 0.2rem;
}

.vehicle-envkv-highlight-label {
  font-size: 0.8125rem;
  color: var(--brand-muted);
}

.vehicle-envkv-highlight-value {
  font-size: 1.0625rem;
  font-weight: var(--type-nav-weight);
  color: var(--brand-text);
}

.vehicle-envkv-label {
  max-width: none;
}

.vehicle-envkv-label-caption {
  margin: 0 0 var(--space-2);
  font-size: 0.8125rem;
  font-weight: var(--type-nav-weight);
  color: var(--brand-text);
}

.vehicle-envkv-label-scale {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  align-items: end;
}

.vehicle-envkv-label-class {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border-radius: 2px;
  transition: min-height 0.15s ease;
}

.vehicle-envkv-label-class.is-active {
  min-height: 2.65rem;
}

.vehicle-envkv-label-letter {
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
}

.vehicle-envkv-label-class.is-active .vehicle-envkv-label-letter {
  font-size: 1.125rem;
}

.vehicle-envkv-label-pointer {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #111;
  transform: translateX(-50%);
}

.vehicle-envkv-label-class--a { background: #00a550; color: #fff; }
.vehicle-envkv-label-class--b { background: #9fd067; color: #1a2e0f; }
.vehicle-envkv-label-class--c { background: #d5e047; color: #2e3308; }
.vehicle-envkv-label-class--d { background: #fff100; color: #333; }
.vehicle-envkv-label-class--e { background: #fdc60c; color: #333; }
.vehicle-envkv-label-class--f { background: #f69b1a; color: #fff; }
.vehicle-envkv-label-class--g { background: #e6332a; color: #fff; }

.vehicle-environment-grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-4);
}

@media (min-width: 768px) {
  .vehicle-environment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vehicle-environment-panel {
  padding: var(--space-4);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  background: var(--brand-surface);
}

.vehicle-environment-subheading {
  margin: 0 0 var(--space-3);
  font-size: 0.9375rem;
  font-weight: var(--type-h3-weight);
  color: var(--brand-text);
}

.vehicle-environment-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.vehicle-environment-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--brand-border);
}

.vehicle-environment-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.vehicle-environment-row dt {
  margin: 0;
  color: var(--brand-muted);
  font-weight: var(--type-body-weight);
  font-size: 0.875rem;
}

.vehicle-environment-row dd {
  margin: 0;
  font-weight: var(--type-nav-weight);
  text-align: right;
  white-space: nowrap;
}

.vehicle-environment-disclaimers {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-2);
}

.vehicle-environment-disclaimers .fineprint {
  margin: 0;
  max-width: none;
}

.vehicle-legal {
  padding-top: var(--space-6);
  border-top: 1px solid var(--brand-border);
  display: grid;
  gap: var(--space-2);
}

.vehicle-legal-block {
  display: grid;
  gap: var(--space-3);
}

.vehicle-legal-heading {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--type-nav-weight);
}

.vehicle-legal .fineprint {
  margin: 0;
  max-width: none;
}

.vehicle-card-env {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--brand-muted);
  line-height: 1.45;
}

.vehicle-features,
.vehicle-description {
  padding-top: var(--space-6);
  border-top: 1px solid var(--brand-border);
}

.vehicle-detail-body .vehicle-environment {
  padding-top: var(--space-6);
  margin-top: 0;
}

.vehicle-feature-list {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .vehicle-feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vehicle-feature-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--brand-text);
}

.vehicle-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand-primary);
}

.vehicle-description-body {
  margin-top: var(--space-4);
  color: var(--brand-text);
  line-height: 1.7;
}

.vehicle-description-body > *:first-child {
  margin-top: 0;
}

.vehicle-description-body p {
  margin: 0 0 var(--space-4);
  max-width: none;
}

.vehicle-desc-heading {
  margin: var(--space-5) 0 var(--space-3);
  font-size: 1rem;
  font-weight: var(--type-h3-weight);
  color: var(--brand-text);
}

.vehicle-desc-heading:first-child {
  margin-top: 0;
}

.vehicle-desc-list {
  margin: 0 0 var(--space-4);
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.vehicle-desc-list li {
  padding-left: 0.15rem;
}

.vehicle-description .fineprint {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--brand-border);
  font-size: 0.8125rem;
  color: var(--brand-muted);
  max-width: 70ch;
}

/* ══════════════════════════════════════
   TERMIN-SEITE
   ══════════════════════════════════════ */

.section-termin .page-header-compact {
  margin-bottom: var(--space-5);
}

.termin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.termin-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.termin-card-media-top {
  background: var(--brand-surface);
}

.termin-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 132px;
  object-fit: cover;
}

.termin-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  flex: 1;
}

.termin-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.termin-card-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--brand-muted);
}

.termin-card-btn {
  margin-top: auto;
  width: 100%;
  white-space: normal;
  text-align: center;
}

@media (max-width: 1100px) {
  .termin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .termin-card-image {
    max-height: 160px;
  }
}

/* ══════════════════════════════════════
   Kontakt
   ══════════════════════════════════════ */

.section-kontakt .page-header-compact {
  margin-bottom: var(--space-5);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.kontakt-panel {
  padding: var(--space-5);
  display: grid;
  gap: var(--space-4);
  height: 100%;
}

.kontakt-panel-title {
  margin: 0;
}

.contact-list {
  margin: 0;
  display: grid;
  gap: var(--space-4);
}

.contact-item {
  display: grid;
  gap: var(--space-1);
}

.contact-item dt {
  margin: 0;
  font-size: var(--type-eyebrow-size);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.contact-item dd {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.hours-block + .hours-block {
  padding-top: var(--space-4);
  border-top: 1px solid var(--brand-border);
}

.hours-label {
  margin: 0 0 var(--space-2);
  font-size: 1rem;
  font-weight: 600;
}

.hours-text {
  margin: 0;
  line-height: 1.55;
  color: var(--brand-text);
}

.kontakt-cta {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.kontakt-form {
  margin-top: var(--space-5);
  padding-block: var(--space-5) 0;
  padding-inline: var(--space-5);
  display: grid;
  gap: var(--space-3);
}

.kontakt-form-intro {
  margin: 0;
  max-width: 40em;
  color: var(--brand-muted);
  line-height: 1.55;
}

.kontakt-form .contact-form-embed {
  margin-top: 0;
  margin-inline: calc(-1 * var(--space-5));
}

.contact-form-embed {
  margin-top: var(--space-2);
}

.contact-form-embed iframe {
  display: block;
  width: 100%;
  min-height: 28rem;
  border: 0;
}

.kontakt-specialties {
  margin: 0;
  padding: var(--space-4);
  background: var(--brand-surface);
  border-radius: var(--radius);
  line-height: 1.5;
  color: var(--brand-muted);
}

.kontakt-specialties strong {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--brand-text);
}

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

/* ══════════════════════════════════════
   Über uns
   ══════════════════════════════════════ */

.about-page {
  overflow-x: clip;
}

.about-hero {
  padding-block: var(--space-7) var(--space-6);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 120, 214, 0.06), transparent 70%),
    var(--brand-bg);
}

.about-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-6);
  align-items: center;
}

.about-hero-copy h1 {
  margin: 0 0 var(--space-3);
}

.about-hero-copy .lead {
  max-width: 38em;
}

.about-hero-media {
  position: relative;
}

.about-hero-badge {
  position: absolute;
  left: var(--space-4);
  bottom: calc(-1 * var(--space-3));
  margin: 0;
  padding: var(--space-2) var(--space-4);
  background: var(--brand-primary);
  color: #fff;
  font-weight: var(--font-weight-semibold);
  font-size: 1.0625rem;
  border-radius: var(--radius);
}

.about-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-figure-hero img {
  aspect-ratio: 5 / 4;
}

.about-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, var(--brand-surface) 0%, #eef2f6 100%);
  border: 1px dashed var(--brand-border);
  color: var(--brand-muted);
  font-weight: var(--font-weight-semibold);
}

.about-image-placeholder-hero {
  min-height: 340px;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--space-6);
  align-items: center;
}

.about-split-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.about-split-reverse .about-split-media {
  order: 2;
}

.about-split-reverse .about-split-copy {
  order: 1;
}

.about-prose {
  display: grid;
  gap: var(--space-3);
  line-height: 1.7;
  color: var(--brand-muted);
}

.about-prose p {
  margin: 0;
}

.about-brochure {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--brand-border);
}

.about-brochure-prompt {
  margin: 0 0 var(--space-3);
  font-weight: var(--font-weight-semibold);
}

.about-services {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
  background: var(--brand-bg);
}

.about-services::before {
  content: "";
  position: absolute;
  width: min(42rem, 90vw);
  height: min(42rem, 90vw);
  top: -12rem;
  right: -10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 120, 214, 0.09) 0%, transparent 68%);
  pointer-events: none;
}

.about-services-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.about-services-aside {
  display: grid;
  gap: var(--space-3);
}

.about-services-aside .text-eyebrow {
  margin: 0;
  color: var(--brand-primary-strong);
}

.about-services-title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--brand-text);
}

.about-services-lead {
  margin: 0;
  max-width: 30rem;
  font-size: var(--type-lead-size);
  line-height: 1.65;
  color: var(--brand-muted);
}

.about-services-visual {
  margin: var(--space-4) 0 0;
  max-width: 22rem;
}

.about-services-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.about-service-item {
  position: relative;
  padding: clamp(1rem, 2.5vw, 1.35rem) 0 clamp(1rem, 2.5vw, 1.35rem) 1.1rem;
  border-bottom: 1px solid rgba(232, 236, 240, 0.95);
}

.about-services-list .about-service-item:first-child {
  border-top: 1px solid rgba(232, 236, 240, 0.95);
}

.about-service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--brand-primary);
}

.about-service-text {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  line-height: 1.6;
  color: var(--brand-text);
}

.about-service-item:hover .about-service-text {
  color: var(--brand-primary-strong);
}

@media (min-width: 900px) {
  .about-services-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(2.5rem, 6vw, 4.5rem);
  }

  .about-services-aside {
    position: sticky;
    top: calc(80px + var(--space-4));
  }

  .about-services-list {
    column-count: 2;
    column-gap: clamp(1.75rem, 4vw, 2.75rem);
    display: block;
  }

  .about-service-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    padding-block: 1.1rem;
  }

  .about-service-item::before {
    top: 1.35rem;
  }
}

@media (max-width: 899px) {
  .about-services-visual img {
    aspect-ratio: 16 / 10;
    max-height: 20rem;
  }

  .about-services-visual {
    max-width: none;
  }
}

.about-amenity {
  padding-top: 0;
}

.about-amenity-panel {
  display: grid;
  gap: var(--space-5);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 120, 214, 0.06) 0%, rgba(255, 255, 255, 0) 55%), var(--brand-surface);
}

.about-amenity-copy .heading-2 {
  margin: 0 0 var(--space-2);
}

.about-amenity-text {
  margin: 0;
  max-width: 42em;
  line-height: 1.65;
  color: var(--brand-muted);
}

.about-amenity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 720px) {
  .about-amenity-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    align-items: center;
  }
}

.about-amenity-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  background: var(--brand-bg);
}

.about-amenity-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--brand-primary-strong);
  background: rgba(0, 120, 214, 0.1);
  line-height: 0;
}

.about-amenity-icon svg {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
}

.about-amenity-item-copy {
  display: grid;
  gap: 0.15rem;
}

.about-amenity-item-copy strong {
  font-weight: var(--type-nav-weight);
  color: var(--brand-text);
}

.about-amenity-item-copy span {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--brand-muted);
}

.about-sustainability-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: var(--brand-surface);
}

.about-sustainability-copy {
  flex: 1 1 16rem;
}

.about-sustainability-copy .heading-2 {
  margin: 0 0 var(--space-2);
}

.about-sustainability-text {
  margin: 0;
  max-width: 42em;
  line-height: 1.65;
  color: var(--brand-muted);
}

@media (max-width: 640px) {
  .about-sustainability-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Über uns: Themen-Teaser-Karten ── */
.about-spotlights {
  padding-top: 0;
}

.about-spotlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-spotlight-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--space-4);
  border: 1px solid #e3e8ee;
  border-radius: var(--radius-lg);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.about-spotlight-card:hover {
  transform: translateY(-2px);
  border-color: #cfd8e3;
  box-shadow: 0 8px 24px rgba(26, 31, 38, 0.06);
  color: inherit;
}

.about-spotlight-card-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-3);
  border: 1px solid #e3e8ee;
  border-radius: 50%;
  color: var(--brand-muted);
  background: #f8fafc;
  line-height: 0;
}

.about-spotlight-card-visual svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.about-spotlight-card-body {
  flex: 1 1 auto;
}

.about-spotlight-card-title {
  margin: 0 0 var(--space-2);
  font-size: 1.125rem;
  line-height: 1.25;
  color: var(--brand-text);
}

.about-spotlight-card-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--brand-muted);
}

.about-spotlight-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-4);
  font-size: 0.9375rem;
  font-weight: var(--type-nav-weight);
  color: var(--brand-text);
}

.about-spotlight-card-cta::after {
  content: "→";
  transition: transform 0.18s ease;
}

.about-spotlight-card:hover .about-spotlight-card-cta::after {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .about-spotlights-grid {
    grid-template-columns: 1fr;
  }

  .about-spotlight-card {
    min-height: 0;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .about-spotlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-spotlights-item:last-child {
    grid-column: 1 / -1;
  }

  .about-spotlights-item:last-child .about-spotlight-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: var(--space-4);
    align-items: center;
  }

  .about-spotlights-item:last-child .about-spotlight-card-visual {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .about-spotlights-item:last-child .about-spotlight-card-body {
    grid-column: 2;
  }

  .about-spotlights-item:last-child .about-spotlight-card-cta {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-top: 0;
    white-space: nowrap;
  }
}

.about-chronicle-section {
  padding: 0;
  margin-top: var(--space-6);
}

.chronicle-map {
  --paper-bg: #f3ead6;
  --paper-bg-deep: #e8dcc4;
  --paper-ink: #3d2f22;
  --paper-muted: #6b5744;
  --paper-accent: #8b6914;
  --paper-accent-deep: #6b4e2e;
  --paper-line: rgba(107, 87, 68, 0.32);
  --chronicle-path-width: 3px;
  --chronicle-marker-size: 1.125rem;

  position: relative;
  width: 100%;
  overflow-x: clip;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.42), transparent 38%),
    radial-gradient(circle at 86% 22%, rgba(120, 90, 40, 0.06), transparent 40%),
    radial-gradient(circle at 68% 88%, rgba(107, 87, 68, 0.08), transparent 44%),
    linear-gradient(168deg, var(--paper-bg) 0%, #efe4cf 48%, var(--paper-bg-deep) 100%);
  border-block: 1px solid #d4c4a8;
}

.chronicle-map::before,
.chronicle-map::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 87, 68, 0.11), transparent 70%);
}

.chronicle-map::before {
  width: 220px;
  height: 220px;
  top: 3%;
  right: 4%;
  opacity: 0.35;
}

.chronicle-map::after {
  width: 280px;
  height: 280px;
  bottom: 6%;
  left: 2%;
  opacity: 0.22;
}

.chronicle-map-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
}

.chronicle-timeline {
  position: relative;
  margin-top: var(--space-4);
}

.chronicle-map-photo {
  margin: 0 auto var(--space-6);
  max-width: 22rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform: rotate(-1.5deg);
}

.chronicle-map-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.paper-header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--paper-line);
  text-align: center;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

.paper-eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.paper-title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--paper-ink);
}

.paper-intro {
  margin: 0;
  font-style: italic;
  color: var(--paper-muted);
}

.chronicle-legs {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

.chronicle-legs::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(139, 105, 20, 0.15),
    rgba(139, 105, 20, 0.55) 12%,
    rgba(139, 105, 20, 0.55) 88%,
    rgba(139, 105, 20, 0.15)
  );
}

.chronicle-leg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.25rem minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: center;
  padding-block: clamp(0.65rem, 1.5vw, 0.9rem);
}

.chronicle-leg:nth-child(odd) .chronicle-note {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  text-align: right;
  transform: rotate(-0.25deg);
}

.chronicle-leg:nth-child(odd) .chronicle-dot {
  grid-column: 2;
  grid-row: 1;
}

.chronicle-leg:nth-child(even) .chronicle-dot {
  grid-column: 2;
  grid-row: 1;
}

.chronicle-leg:nth-child(even) .chronicle-note {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  text-align: left;
  transform: rotate(0.25deg);
}

.chronicle-dot {
  width: 0.85rem;
  height: 0.85rem;
  justify-self: center;
  border-radius: 50%;
  background: var(--paper-accent);
  border: 2px solid rgba(139, 105, 20, 0.35);
  z-index: 1;
}

.chronicle-note {
  max-width: min(22rem, 100%);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 251, 243, 0.94);
  border: 1px solid rgba(168, 132, 45, 0.38);
  border-radius: 2px;
}

.chronicle-note-year {
  margin: 0 0 var(--space-1);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--paper-accent-deep);
  font-variant-numeric: tabular-nums;
}

.chronicle-note-text {
  margin: 0;
  line-height: 1.55;
  color: var(--paper-ink);
}

@media (max-width: 960px) {
  .about-hero-inner,
  .about-split,
  .about-split-reverse {
    grid-template-columns: 1fr;
  }

  .about-split-reverse .about-split-media,
  .about-split-reverse .about-split-copy {
    order: initial;
  }

  .about-hero-badge {
    position: static;
    display: inline-block;
    margin-top: var(--space-3);
  }

  .chronicle-legs::before {
    left: 0.65rem;
    transform: none;
  }

  .chronicle-leg {
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: var(--space-3);
    padding-bottom: var(--space-4);
  }

  .chronicle-leg:nth-child(odd) .chronicle-note,
  .chronicle-leg:nth-child(even) .chronicle-note {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    max-width: none;
    transform: none;
    text-align: left;
  }

  .chronicle-leg:nth-child(odd) .chronicle-dot,
  .chronicle-leg:nth-child(even) .chronicle-dot {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin-top: 0.55rem;
  }

  .chronicle-map-photo {
    transform: none;
  }
}

@media (max-width: 560px) {
  .chronicle-note {
    padding: var(--space-2) var(--space-3);
  }

  .chronicle-note-year {
    font-size: 1rem;
  }
}

.section-new-vehicles .slider-shell {
  margin-bottom: var(--space-4);
}

/* castle divider spacing handled above in .section-new-vehicles padding-block */

/* ── Startseite: Marken-Karten ── */

.home-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.home-brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: var(--space-3);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.home-brand-card:hover {
  border-color: #c5d0db;
  background: var(--brand-surface);
  color: inherit;
}

.home-brand-card-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  height: 3.5rem;
}

.home-brand-card-logo {
  display: block;
  max-width: 7.5rem;
  max-height: 2.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

.home-brand-card:hover .home-brand-card-logo {
  filter: none;
  opacity: 1;
}

.home-brand-card-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 0.9375rem;
  font-weight: var(--type-nav-weight);
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
}

.home-brand-card-name {
  display: block;
  max-width: 12em;
  font-size: 0.75rem;
  font-weight: var(--type-nav-weight);
  line-height: 1.35;
  color: var(--brand-muted);
  text-align: center;
}

.home-brand-card:hover .home-brand-card-name {
  color: var(--brand-primary);
}

@media (min-width: 640px) {
  .home-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .home-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-brand-card {
    min-height: 6rem;
  }

  .home-brand-card-media {
    height: 3.75rem;
  }

  .home-brand-card-logo {
    max-width: 8.5rem;
    max-height: 2.75rem;
  }
}

/* ══════════════════════════════════════
   MARKEN
   ══════════════════════════════════════ */

.brand-subnav,
.vehicle-subnav {
  background: #fff;
  border-bottom: 1px solid var(--brand-border);
}

.brand-subnav .container,
.vehicle-subnav .container {
  max-width: var(--container-max-wide);
}

.brand-subnav-inner,
.vehicle-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 4.25rem;
  padding-block: var(--space-3);
}

.brand-subnav-brand,
.vehicle-subnav-label {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.vehicle-subnav-label a {
  display: block;
  padding: var(--space-2) 0.625rem;
  font-size: var(--type-nav-size);
  font-weight: var(--type-nav-weight);
  color: var(--brand-text);
  text-decoration: none;
}

.vehicle-subnav-label a:hover {
  color: var(--brand-primary);
}

.brand-subnav-logo {
  display: block;
  width: auto;
  max-width: min(240px, 46vw);
  max-height: 3rem;
  object-fit: contain;
  object-position: left center;
}

.brand-subnav-logo-placeholder {
  max-height: 2rem;
}

.brand-subnav-breadcrumb,
.vehicle-subnav-breadcrumb {
  flex: 0 0 auto;
  margin-left: auto;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
}

.brand-subnav-trail,
.vehicle-subnav-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--type-eyebrow-size);
  color: var(--brand-muted);
}

.brand-subnav-trail li,
.vehicle-subnav-trail li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.brand-subnav-trail li + li::before,
.vehicle-subnav-trail li + li::before {
  content: "/";
  color: var(--brand-muted);
  opacity: 0.65;
}

.brand-subnav-trail a,
.vehicle-subnav-trail a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: var(--type-nav-weight);
}

.brand-subnav-trail a:hover,
.vehicle-subnav-trail a:hover {
  text-decoration: underline;
}

.brand-subnav-trail [aria-current="page"],
.vehicle-subnav-trail [aria-current="page"] {
  color: var(--brand-text);
  font-weight: var(--type-nav-weight);
}

@media (max-width: 599px) {
  .brand-subnav-inner,
  .vehicle-subnav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding-block: var(--space-3);
  }

  .brand-subnav-breadcrumb,
  .vehicle-subnav-breadcrumb {
    width: 100%;
    margin-left: 0;
  }

  .brand-subnav-trail,
  .vehicle-subnav-trail {
    justify-content: flex-start;
  }
}

.brand-index-card {
  padding: 0;
  overflow: hidden;
  height: 100%;
}

.brand-index-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.brand-index-link:hover { color: inherit; }

.brand-index-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #141820;
}

.brand-index-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brand-index-link:hover .brand-index-bg {
  transform: scale(1.03);
}

.brand-index-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 24, 32, 0.72), rgba(20, 24, 32, 0.08));
}

.brand-index-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: var(--space-3) var(--space-4);
  background: var(--brand-surface, #fff);
  border-bottom: 1px solid var(--brand-border, rgba(20, 24, 32, 0.08));
}

.brand-index-logo-inline {
  max-width: min(220px, 85%);
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-index-fallback-inline {
  font-size: 1.125rem;
  font-weight: var(--type-nav-weight);
  color: var(--brand-primary-strong, #005a9e);
  text-align: center;
}

.brand-index-body {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
}

.brand-index-card-compact {
  height: 100%;
}

.brand-index-media-fallback {
  background-color: #141820;
}

.brand-index-bg-layer {
  width: 100%;
  height: 100%;
  background-image: var(--brand-index-bg);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.brand-index-link:hover .brand-index-bg-layer {
  transform: scale(1.03);
}

.brand-hero-fallback {
  background-color: #141820;
}

.brand-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 58vh, 620px);
  color: #fff;
  background-color: #141820;
  background-image: var(--brand-hero-image, none);
  background-size: cover;
  background-position: center;
}

.brand-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 24, 32, 0.9) 0%, rgba(20, 24, 32, 0.45) 55%, rgba(20, 24, 32, 0.2) 100%);
}

.brand-hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
}

.brand-hero h1 {
  color: #fff;
  max-width: 22ch;
}

.brand-page--iveco .brand-hero h1,
.brand-page--wide-hero .brand-hero h1 {
  max-width: none;
}

.brand-model-actions {
  margin-top: var(--space-2);
}

.brand-intro-cta {
  margin-top: var(--space-4);
  margin-bottom: 0;
}

.brand-model-stack {
  display: grid;
  gap: var(--space-6);
}

.brand-model-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: #fff;
}

.brand-model-media {
  margin: 0;
  min-height: 15rem;
  background: #eef2f6;
}

.brand-model-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.brand-model-body {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.brand-model-title {
  margin: 0;
  letter-spacing: 0.01em;
}

.brand-model-tagline {
  margin: 0;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: var(--type-nav-weight);
  line-height: 1.45;
  color: var(--brand-primary, #0078d6);
}

.brand-model-copy {
  display: grid;
  gap: var(--space-3);
}

.brand-model-copy p {
  margin: 0;
  line-height: 1.65;
  color: var(--brand-text);
}

@media (min-width: 900px) {
  .brand-model-card {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: 22rem;
  }

  .brand-model-card--flip {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .brand-model-card--flip .brand-model-media {
    order: 2;
  }

  .brand-model-media {
    min-height: 100%;
  }
}

.brand-hero-lead {
  max-width: 42em;
}

.brand-intro-grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.brand-intro-copy {
  display: grid;
  gap: var(--space-4);
}

.brand-intro-copy .brand-prose p {
  margin-bottom: var(--space-3);
}

.brand-intro-copy .brand-prose p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .brand-intro-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.brand-intro-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-border);
}

.brand-intro-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.brand-prose {
  line-height: 1.7;
  color: var(--brand-text);
}

.brand-prose p {
  margin: 0 0 var(--space-4);
}

.brand-prose-wide {
  max-width: 72ch;
}

.brand-highlight-card {
  height: 100%;
  border: 1px solid var(--brand-border);
}

.brand-highlight-card p:last-child {
  margin-bottom: 0;
  color: var(--brand-muted);
}

.brand-gallery-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--space-4);
}

@media (min-width: 820px) {
  .brand-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.brand-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--brand-border);
}

.brand-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.brand-vehicles-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: var(--brand-surface);
}

.brand-termin .termin-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ══════════════════════════════════════
   Nachhaltigkeit
   ══════════════════════════════════════ */

.sustainability-page {
  overflow-x: clip;
}

.sustainability-intro-copy {
  max-width: 72ch;
  line-height: 1.7;
  color: var(--brand-muted);
}

.sustainability-topic-grid {
  gap: var(--space-4);
}

.sustainability-topic-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.sustainability-topic-media {
  margin: 0;
  overflow: hidden;
  background: var(--brand-surface);
}

.sustainability-topic-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sustainability-topic-body {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
}

.sustainability-topic-text {
  line-height: 1.65;
  color: var(--brand-muted);
}

.sustainability-contact-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: var(--brand-surface);
}

.sustainability-contact-text {
  margin: 0;
  font-size: var(--type-lead-size);
  font-weight: var(--type-lead-weight);
  color: var(--brand-text);
}

@media (max-width: 640px) {
  .sustainability-contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

.classic-partner-body {
  line-height: 1.65;
  color: var(--brand-muted);
}

.classic-partner-body p {
  margin: 0 0 var(--space-3);
}

.classic-partner-contact-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: var(--brand-surface);
}

.classic-partner-contact-copy {
  flex: 1 1 16rem;
}

.classic-partner-contact-copy .heading-2 {
  margin: 0 0 var(--space-2);
}

.classic-partner-contact-text {
  margin: 0;
  max-width: 42em;
  line-height: 1.65;
  color: var(--brand-muted);
}

.classic-partner-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (max-width: 640px) {
  .classic-partner-contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

.mercedes-me-intro,
.mercedes-me-section-text {
  line-height: 1.65;
  color: var(--brand-muted);
}

.mercedes-me-features-lead {
  margin: var(--space-4) 0 var(--space-2);
  font-weight: var(--type-lead-weight);
  color: var(--brand-text);
}

.mercedes-me-features {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--brand-muted);
}

.mercedes-me-features li + li {
  margin-top: var(--space-2);
}

.mercedes-me-section-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .mercedes-me-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mercedes-me-section-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  padding: var(--space-5);
}

.mercedes-me-section-card .heading-3 {
  margin: 0;
}

.season-offer-subnav {
  background: #fff;
  border-bottom: 1px solid var(--brand-border);
}

.season-offer-subnav .container {
  max-width: var(--container-max-wide);
}

.season-offer-subnav-inner {
  display: flex;
  justify-content: flex-end;
  min-height: 3.25rem;
  padding-block: var(--space-2);
}

.season-offer-breadcrumb {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
}

.season-offer-body,
.season-offer-disclaimer,
.season-offer-check-text {
  line-height: 1.65;
  color: var(--brand-muted);
}

.season-offer-disclaimer {
  margin: var(--space-4) 0 0;
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid var(--brand-primary);
  background: var(--brand-surface);
}

.season-offer-item-card {
  height: 100%;
  padding: var(--space-5);
}

.season-offer-item-card .heading-3 {
  margin: 0 0 var(--space-2);
}

.season-offer-item-card p {
  margin: 0;
  line-height: 1.65;
  color: var(--brand-muted);
}

.season-offer-check-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: var(--brand-surface);
}

.season-offer-check-text {
  margin: 0;
  flex: 1 1 16rem;
}

.card-lead {
  font-weight: var(--type-lead-weight);
  color: var(--brand-text);
}

@media (max-width: 640px) {
  .season-offer-check-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

.service-brochure-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: 48rem;
  margin-inline: auto;
  padding: var(--space-5);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: var(--brand-surface);
}

.service-brochure-panel .about-brochure-prompt {
  margin: 0;
  flex: 1 1 16rem;
}

.service-cta-panel {
  max-width: none;
}

/* ── SEO Landing Pages ── */
.text-eyebrow-invert {
  color: rgba(255, 255, 255, 0.82);
}

.seo-landing-hero-fallback {
  background-color: #142033;
}

.seo-landing-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 62vh, 680px);
  color: #fff;
  background-color: #142033;
  background-image: var(--seo-hero-image, none);
  background-size: cover;
  background-position: center;
}

.seo-landing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 32, 51, 0.94) 0%,
    rgba(20, 32, 51, 0.55) 50%,
    rgba(20, 32, 51, 0.25) 100%
  );
}

.seo-landing-hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.75rem, 8vw, 5rem);
}

.seo-landing-hero h1 {
  color: #fff;
  max-width: 20ch;
}

.seo-landing-hero-lead {
  max-width: 52ch;
  margin-top: var(--space-3);
}

.seo-landing-hero-actions {
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.seo-landing-facts {
  background: var(--brand-primary);
  color: #fff;
}

.seo-landing-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: var(--space-4) 0;
  list-style: none;
}

.seo-landing-fact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid rgba(255, 255, 255, 0.35);
}

.seo-landing-fact-label {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.seo-landing-fact-text {
  font-size: 0.9375rem;
  opacity: 0.92;
}

.seo-landing-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(var(--space-4), 4vw, var(--space-6));
  align-items: center;
}

.seo-landing-section-grid--solo {
  grid-template-columns: minmax(0, 48rem);
}

.seo-landing-section-copy {
  min-width: 0;
}

.seo-landing-prose p {
  margin: 0 0 var(--space-3);
  color: var(--brand-text-muted);
}

.seo-landing-prose p:last-child {
  margin-bottom: 0;
}

.seo-landing-bullets {
  margin: var(--space-3) 0 0;
  padding-left: 1.25rem;
  color: var(--brand-text);
}

.seo-landing-bullets li + li {
  margin-top: 0.35rem;
}

.seo-landing-section-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 32, 51, 0.12);
}

.seo-landing-section-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.seo-landing-section--highlight {
  background: linear-gradient(135deg, rgba(0, 120, 214, 0.06) 0%, rgba(232, 93, 4, 0.05) 100%);
}

.seo-landing-section-actions {
  margin: var(--space-4) 0 0;
}

.seo-landing-vehicles {
  padding-block: var(--space-6);
}

.seo-landing-section-header {
  max-width: 42rem;
  margin-bottom: var(--space-5);
}

.seo-landing-vehicle-grid {
  margin-bottom: var(--space-4);
}

.seo-landing-vehicles-fallback img {
  display: block;
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
}

.seo-landing-cta-band {
  padding-block: var(--space-6);
  background: var(--brand-primary);
  color: #fff;
}

.seo-landing-cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.seo-landing-cta-band--media {
  background:
    linear-gradient(135deg, rgba(0, 120, 214, 0.96) 0%, rgba(0, 96, 176, 0.92) 100%);
}

.seo-landing-cta-band--media .seo-landing-cta-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(var(--space-4), 4vw, var(--space-6));
}

.seo-landing-cta-band-copy {
  min-width: 0;
}

.seo-landing-cta-band-btn {
  margin-top: var(--space-4);
}

.seo-landing-cta-band-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(20, 32, 51, 0.22);
}

.seo-landing-cta-band-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.seo-landing-cta-title {
  color: #fff;
  margin-bottom: var(--space-2);
}

.seo-landing-cta-text {
  margin: 0;
  max-width: 42rem;
  opacity: 0.92;
}

.seo-landing-contact-band {
  padding-block: clamp(var(--space-5), 6vw, var(--space-7));
  background: #141820;
  color: #fff;
}

.seo-landing-contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.seo-landing-contact-inner h2 {
  color: #fff;
  max-width: 22ch;
}

.seo-landing-contact-inner .lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 48ch;
  margin-top: var(--space-2);
}

@media (max-width: 900px) {
  .seo-landing-section-grid {
    grid-template-columns: 1fr;
  }

  .seo-landing-section-media {
    order: -1;
    max-width: 28rem;
  }

  .seo-landing-facts-grid {
    grid-template-columns: 1fr;
  }

  .seo-landing-fact {
    border-left: none;
    border-top: 3px solid rgba(255, 255, 255, 0.35);
    padding-top: var(--space-3);
  }

  .seo-landing-fact:first-child {
    border-top: none;
    padding-top: 0;
  }

  .seo-landing-cta-band--media .seo-landing-cta-band-inner {
    grid-template-columns: 1fr;
  }

  .seo-landing-cta-band-media {
    max-width: 28rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
