.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
}

body {
  background-color: #131313;
  color: #e5e2e1;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.site-logo img {
  width: 132px;
  height: auto;
  display: block;
}

.site-logo span {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-logo {
  width: 170px;
  height: auto;
  display: block;
}

.nav-link {
  color: rgba(255, 255, 255, 0.72);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffb4ac;
  border-color: #f2252a;
}

.editorial-container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  text-shadow: 0 0 40px rgba(242, 37, 42, 0.2);
  line-height: 0.9;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1200ms ease,
    transform 7000ms ease;
}

.hero-slide.is-active {
  opacity: 0.62;
  transform: scale(1);
}

.hero-slider-dot {
  width: 42px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  transition:
    background-color 220ms ease,
    transform 220ms ease;
}

.hero-slider-dot:hover,
.hero-slider-dot.is-active {
  background: rgb(242, 37, 42);
}

.hero-slider-dot.is-active {
  transform: scaleX(1.22);
}

.car-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #0b0b0b;
}

.car-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease;
}

.car-slide.is-active {
  opacity: 1;
}

.car-media-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-slider-dots {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
}

.car-slider-dot {
  width: 34px;
  height: 3px;
  background: rgba(255, 255, 255, 0.38);
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.car-slider-dot:hover,
.car-slider-dot.is-active {
  background: rgb(242, 37, 42);
}

.car-slider-dot.is-active {
  transform: scaleX(1.18);
}

.details__item {
  min-width: 0;
}

.details__item span:last-child {
  display: block;
  line-height: 1.2;
}

.variant-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(58px, 1fr));
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.variant-toggle__button {
  min-height: 38px;
  padding: 0 18px;
  color: rgb(229, 226, 225);
  font-family: var(--font-headline, inherit);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.variant-toggle__button:hover,
.variant-toggle__button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.variant-toggle__button:focus-visible {
  outline: 2px solid rgb(255, 180, 172);
  outline-offset: 2px;
}

.variant-toggle__button.is-active {
  background: rgb(242, 37, 42);
  color: white;
}

.video {
  position: relative;
  isolation: isolate;
  background: #000;
}

.video::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(19, 19, 19, 0.78), rgba(19, 19, 19, 0.36) 42%, rgba(19, 19, 19, 0.92)),
    linear-gradient(to right, rgba(19, 19, 19, 0.62), rgba(19, 19, 19, 0.14) 48%, rgba(19, 19, 19, 0.56));
}

.video__media {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.text-body-editorial {
  font-size: 18px;
  line-height: 1.8;
  color: #c5c6ca;
}

.heading-editorial {
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.subheading-editorial {
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffb4ac;
}

.contact-form {
  text-align: left;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__field label {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 14px 16px;
  outline: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form__field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form__status {
  min-height: 24px;
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form__status.is-success {
  color: #ffffff;
}

.contact-form__status.is-error {
  color: #ffd3cf;
}

.legal-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-accordion__summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-accordion__summary::-webkit-details-marker {
  display: none;
}

.legal-accordion__summary::after {
  content: '+';
  float: right;
  color: #ffb4ac;
  font-size: 1rem;
}

.legal-accordion[open] .legal-accordion__summary::after {
  content: '-';
}

.legal-accordion__content {
  padding: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #c5c6ca;
}

.legal-accordion__item + .legal-accordion__item {
  margin-top: 18px;
}

.legal-accordion__notes {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(197, 198, 202, 0.88);
}

.legal-accordion__notes p + p {
  margin-top: 10px;
}

.legal-accordion__label {
  margin-bottom: 6px;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  .video {
    aspect-ratio: 2.5 / 1;
  }

  .video__media {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 640px) {
  .site-logo {
    gap: 10px;
  }

  .site-logo img {
    width: 104px;
  }

  .site-logo span {
    display: none;
  }

  .subheading-editorial {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .legal-accordion__summary {
    font-size: 0.8rem;
    padding: 16px 0;
  }

  .legal-accordion__content {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .legal-accordion__notes {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .heading-editorial {
    font-size: 1.7rem;
    line-height: 1.15;
  }

  .text-body-editorial {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-slider-dot {
    width: 24px;
  }

  .hero-title {
    line-height: 0.95;
  }

  .car-slider {
    height: 260px;
  }

  .car-slider-dot {
    width: 24px;
  }

  .details {
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .details__item span:last-child {
    font-size: 1rem;
  }

  #marken .grid,
  #modelle .grid,
  #standorte .grid {
    gap: 20px;
  }

  #marken .mt-20 {
    margin-top: 2.5rem;
  }

  #marken .pt-12 {
    padding-top: 1.25rem;
  }

  #modelle .mb-24 {
    margin-bottom: 3rem;
  }

  #standorte .pt-8 {
    padding-top: 1.25rem;
  }

  #probefahrt .mt-8 {
    margin-top: 1.25rem;
  }

  #probefahrt .mb-12 {
    margin-bottom: 1.75rem;
  }

  footer .grid {
    gap: 28px;
  }

  footer .mt-20 {
    margin-top: 3rem;
  }

  footer .pt-8 {
    padding-top: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slider-dot,
  .car-slide,
  .car-slider-dot {
    transition: none;
  }
}
