:root {
  --green: #56af31;
  --green-dark: #367d1b;
  --black: #171717;
  --muted: #666;
  --line: #d9ddd7;
  --soft: #f4f7f2;
  --white: #fff;
  --error: #a91f18;
  --shadow: 0 18px 50px rgb(23 23 23 / 9%);
  --font: "Myriad Pro", Arial, sans-serif;
  --hero-title-size: clamp(1.85rem, 3.7vw, 3.35rem);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  max-width: 930px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--black);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.noscript-notice {
  padding: 14px 24px;
  color: var(--white);
  background: var(--error);
  text-align: center;
  font-weight: 700;
}

.site-header {
  border-top: 6px solid var(--green);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.header-grid {
  min-height: 184px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.logo-link {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
}

.logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 3px 0 0;
  font-size: var(--hero-title-size);
  line-height: 1.06;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.language-picker {
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-picker select {
  min-width: 190px;
}

.section {
  padding: 53px 0;
}

.intro {
  text-align: center;
}

.intro h2,
.product h2 {
  margin: 8px 0 20px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.13;
}

.lead {
  margin: 0;
  color: #454545;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.image-strip,
.video-strip {
  padding-top: 0;
}

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

.image-grid figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1024 / 619;
  background: var(--soft);
}

.image-strip-video {
  min-width: 0;
  overflow: hidden;
  background: var(--black);
}

.image-strip-video video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.lightbox-trigger {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: zoom-in;
}

.image-grid img,
.lightbox-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-grid figure:hover img,
.lightbox-trigger:focus-visible img {
  transform: scale(1.025);
}

.lightbox-zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
  background: rgb(0 0 0 / 68%);
  font-size: 1.55rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-zoom svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-trigger:hover .lightbox-zoom,
.lightbox-trigger:focus-visible .lightbox-zoom {
  background: var(--green-dark);
  transform: scale(1.08);
}

.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  --lightbox-width: min(94vw, 1500px);
  --lightbox-height: min(92dvh, 1000px);

  position: fixed;
  inset: 0;
  width: var(--lightbox-width);
  max-width: none;
  height: var(--lightbox-height);
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--white);
  background: transparent;
}

.image-lightbox::backdrop {
  background: rgb(0 0 0 / 88%);
  backdrop-filter: blur(4px);
}

.lightbox-panel {
  position: relative;
  width: var(--lightbox-width);
  height: var(--lightbox-height);
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
}

.lightbox-panel figure {
  width: var(--lightbox-width);
  height: var(--lightbox-height);
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.lightbox-panel img {
  display: block;
  width: var(--lightbox-width);
  height: var(--lightbox-height);
  max-width: none;
  max-height: none;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

.lightbox-control {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  color: var(--white);
  background: rgb(0 0 0 / 68%);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-control:hover,
.lightbox-control:focus-visible {
  background: var(--green-dark);
}

.lightbox-close {
  top: 10px;
  right: 10px;
}

.lightbox-previous {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

[dir="rtl"] .lightbox-close {
  right: auto;
  left: 10px;
}

.product {
  background: var(--soft);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.product-lightbox-trigger {
  width: 100%;
  height: auto;
  max-height: 410px;
  aspect-ratio: 1230 / 1550;
  background: var(--white);
}

.product-lightbox-trigger img {
  width: 100%;
  height: 100%;
  max-height: 410px;
  object-fit: contain;
}

.product p:not(.section-kicker) {
  color: #454545;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.configurator {
  padding: 62px 0 77px;
  background: var(--white);
  scroll-margin-top: 20px;
}

.wizard-shell {
  min-height: 650px;
  padding: clamp(28px, 5vw, 68px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  box-shadow: var(--shadow);
}

.wizard-heading {
  margin-bottom: 46px;
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 0.86rem;
  font-weight: 700;
}

.progress {
  height: 7px;
  margin-top: 9px;
  overflow: hidden;
  background: #e7eae5;
}

.progress span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--green);
  transition: width 0.35s ease;
}

.wizard-step {
  margin: 0;
  padding: 0;
  border: 0;
  animation: step-in 0.34s ease;
}

.wizard-step[hidden] {
  display: none;
}

.wizard-step legend {
  padding: 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.step-hint {
  margin: 8px 0 30px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 24px;
}

.vehicle-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.94rem;
  font-weight: 700;
}

.field label span {
  color: var(--green-dark);
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #aeb4aa;
  border-radius: 0;
  outline: none;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

select {
  min-height: 54px;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(86 175 49 / 16%);
}

select:disabled {
  cursor: not-allowed;
  color: #777;
  background: #f1f2f0;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #b3261e;
}

.field-error {
  min-height: 1.15em;
  color: var(--error);
  font-size: 0.82rem;
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
}

.actions.end {
  justify-content: flex-end;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 24px;
  border: 2px solid var(--black);
  border-radius: 0;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button.primary {
  border-color: var(--green);
  color: #102109;
  background: var(--green);
}

.button.primary:hover {
  border-color: var(--green-dark);
  color: var(--white);
  background: var(--green-dark);
}

.button.secondary {
  background: var(--white);
}

.button.secondary:hover {
  color: var(--white);
  background: var(--black);
}

:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}

.form-alert {
  margin: 0 0 28px;
  padding: 14px 17px;
  border-left: 4px solid #b3261e;
  color: #851810;
  background: #fff1f0;
}

.captcha-notice {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.success-panel {
  min-height: 440px;
  display: grid;
  place-content: center;
  text-align: center;
}

.success-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  background: var(--green);
  font-size: 2.3rem;
  font-weight: 700;
}

.success-panel h2 {
  margin: 0;
  font-size: 2.2rem;
}

.success-panel p {
  max-width: 600px;
  color: var(--muted);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

footer {
  min-height: 58px;
  border-top: 1px solid #4b4b4b;
  color: var(--white);
  background: #1f1f1f;
  font-size: 0.88rem;
}

.footer-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 25px;
}

.footer-inner a {
  text-decoration: none;
}

.footer-link {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.footer-inner a:hover,
.footer-inner a:focus,
.footer-link:hover,
.footer-link:focus {
  color: var(--green);
}

[dir="rtl"] .form-alert {
  border-right: 4px solid #b3261e;
  border-left: 0;
}

.legal-page {
  background: var(--soft);
}

.legal-header .hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.legal-main {
  min-height: calc(100vh - 300px);
  padding: 48px 0 80px;
}

.legal-container {
  max-width: 980px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.legal-back:hover,
.legal-back:focus {
  text-decoration: underline;
}

.legal-card {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card > :first-child {
  margin-top: 0;
}

.legal-card h2 {
  margin: 2.25em 0 0.55em;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.25;
}

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

.legal-details {
  margin: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-details > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.legal-details dt {
  color: var(--muted);
  font-weight: 700;
}

.legal-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-policy .lead {
  margin-bottom: 42px;
}

.legal-policy section {
  scroll-margin-top: 24px;
}

.legal-policy p {
  max-width: 82ch;
}

.legal-updated {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

[dir="rtl"] .legal-back {
  direction: rtl;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 800px) {
  .container {
    width: min(calc(100% - 30px), 1180px);
  }

  .header-grid {
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 20px;
    padding: 24px 0;
  }

  .logo-link {
    width: 75px;
    height: 75px;
  }

  .language-picker {
    grid-column: 1 / -1;
  }

  .language-picker select {
    min-width: 0;
  }

  .section {
    padding: 39px 0;
  }

  .image-grid,
  .product-grid,
  .vehicle-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-lightbox-trigger {
    max-width: 430px;
    margin: auto;
  }

  .field.full {
    grid-column: auto;
  }

  .wizard-shell {
    min-height: 0;
    padding: 28px 20px;
  }

  .footer-inner {
    flex-direction: column;
    padding: 18px 0;
    text-align: center;
  }

  .footer-inner nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .legal-details > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 1.75rem;
  }

  .image-lightbox {
    --lightbox-width: 100vw;
    --lightbox-height: 100dvh;
  }

  .lightbox-control {
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }

  .lightbox-close,
  .lightbox-next {
    right: 6px;
  }

  .lightbox-previous {
    left: 6px;
  }

  .actions {
    flex-direction: column-reverse;
  }

  .actions.end {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Branding bleibt über den sichtbaren reCAPTCHA-Hinweis im Formular erhalten. */
.grecaptcha-badge { visibility: hidden; }

/* Lokale Helvetica-Varianten können Umlaute im Cookiebot-Widget falsch darstellen.
   Nur dessen Schriftfamilie überschreiben; Größen, Gewichte und SVG-Icons bleiben. */
#CookiebotWidget,
#CookiebotWidget * {
  font-family: Arial, sans-serif !important;
}

