:root {
  --bg: #08090c;
  --surface: #10131a;
  --surface-soft: #151924;
  --text: #f3f4f7;
  --muted: #b5bcc9;
  --accent-red: #dc1025;
  --accent-gold: #e8a54a;
  --accent-gold-soft: rgba(232, 165, 74, 0.14);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

@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;
  }

  .gallery-item:hover img {
    transform: none;
  }

  .condition-card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
  outline: none;
}

.skip-link:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.28s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-wrap {
  position: relative;
  z-index: 2;
  min-height: calc(var(--header-h) - 2px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
}

.logo-link {
  width: clamp(380px, 46vw, 560px);
  height: clamp(62px, 8.2vw, 80px);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  margin-left: 0.25rem;
  transition: none;
}

.logo {
  width: 100%;
  height: 100%;
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
  transform: scale(1.28);
  transform-origin: left center;
}

.site-header.header-scrolled .logo-link {
  transform: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.05rem, 2.2vw, 1.55rem);
  justify-self: center;
  margin-left: clamp(1rem, 2.4vw, 2.4rem);
}

.main-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.btn {
  border-radius: 12px;
  padding: 0.78rem 1.22rem;
  font-weight: 550;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  letter-spacing: 0.01em;
}

.desktop-cta {
  padding: 0.48rem 0.9rem;
  font-size: 0.82rem;
  border-radius: 9px;
  border-width: 1px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(125deg, #da0f24, #ab0012);
  color: #fff;
  box-shadow: 0 8px 22px rgba(220, 16, 37, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 10px 26px rgba(220, 16, 37, 0.34);
}

.btn-outline {
  border-color: rgba(232, 165, 74, 0.62);
  color: var(--accent-gold);
  background: rgba(232, 165, 74, 0.04);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100svh - var(--header-h));
  position: relative;
  background-color: #050608;
  background-image: url("images/hero-background.png");
  background-size: cover;
  background-position: 63% center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.14) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(4.2rem, 11vh, 6.4rem) 0 clamp(3rem, 8vh, 4.1rem);
  max-width: min(43rem, 100%);
  margin-left: clamp(0.1rem, 1.3vw, 1.2rem);
}

.hero-subline {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  opacity: 0.92;
}

h1 {
  font-size: clamp(1.8rem, 4.8vw, 3.35rem);
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.055em;
  font-weight: 760;
  text-transform: none;
}

.hero-line {
  display: block;
}

.hero-line-primary {
  color: #fff;
  font-size: clamp(2.1rem, 5.7vw, 4rem);
  line-height: 1.04;
  text-transform: uppercase;
}

.hero-line-accent {
  color: var(--accent-gold);
  font-size: clamp(1.45rem, 3.85vw, 2.6rem);
  letter-spacing: 0.075em;
  line-height: 1.12;
  text-transform: uppercase;
  margin: 0.18em 0;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-weight: 500;
  font-size: 0.84rem;
  color: #d4dae5;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: rgba(10, 12, 18, 0.3);
  backdrop-filter: blur(2px);
}

.hero-features li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-gold), #c77d1a);
  box-shadow: 0 0 0 2px var(--accent-gold-soft);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn {
  padding: 0.72rem 1.18rem;
  font-size: 0.9rem;
}

.section {
  padding: clamp(3.8rem, 8vw, 7rem) 0;
}

.fahrzeug {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.fahrzeug,
.galerie {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, transparent 45%), var(--bg);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-gold);
  margin-bottom: 0.9rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 1.3rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.3rem, 4vw, 3rem);
  align-items: center;
}

.image-frame {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  max-height: min(70vh, 560px);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-block p {
  color: var(--muted);
}

.data-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.data-card {
  background: var(--surface-soft);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.data-card:hover {
  border-color: rgba(232, 165, 74, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.data-card h3,
.condition-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: #fff;
}

.data-card p,
.condition-card p {
  margin: 0;
  color: #d4d9e2;
  font-weight: 500;
}

.bedingungen {
  background: radial-gradient(circle at center, rgba(255, 179, 71, 0.08), transparent 55%), var(--bg);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-block {
  margin-top: 2rem;
}

.pricing-grid .condition-card p {
  font-size: 1.08rem;
}

.condition-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.condition-card:hover {
  border-color: rgba(232, 165, 74, 0.2);
  transform: translateY(-2px);
}

.gallery-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  background: #0a0c12;
  -webkit-tap-highlight-color: transparent;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img {
    transform: scale(1.035);
  }
}

.request-box {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.request-box p {
  color: var(--muted);
}

.contact-form {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: #d9dee7;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(11, 14, 20, 0.88);
  color: #fff;
  padding: 0.72rem 0.85rem;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ea6b7;
}

.form-feedback {
  margin: 0;
  font-size: 0.9rem;
  color: #a9e19f;
  min-height: 1.3em;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.45rem 0;
  background: #06070a;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
}

.footer-brand p {
  margin: 0.16rem 0;
  color: #c9cfda;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  color: #c8cfdb;
}

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

.powered-by {
  color: #22b8e0;
  justify-self: end;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.powered-by:hover {
  opacity: 0.88;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 4vw, 1.5rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 60;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 90vh;
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: 88vh;
  height: auto;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(12, 14, 20, 0.85);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(24, 28, 38, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 960px) {
  body.nav-open {
    overflow: hidden;
  }

  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(250px, 100%);
    border-radius: 16px;
    background: rgba(11, 13, 18, 0.97);
    border: 1px solid var(--border);
    padding: 0.65rem 0.85rem;
    display: grid;
    gap: 0.15rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 50;
  }

  .logo-link {
    width: min(360px, 58vw);
    height: 62px;
    margin-left: 0;
  }

  .logo {
    max-height: 62px;
  }

  .site-header.header-scrolled .logo-link {
    transform: none;
  }

  .main-nav a {
    padding: 0.6rem 0.4rem;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-wrap {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .powered-by {
    justify-self: end;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
    background-position: 67% center;
  }

  .hero-content {
    max-width: min(32rem, 100%);
    padding-top: 3.4rem;
    padding-bottom: 2.2rem;
    margin-left: 0;
  }

  .hero-subline {
    font-size: 0.66rem;
    letter-spacing: 0.095em;
    margin-bottom: 0.58rem;
  }

  .hero-line-primary {
    font-size: clamp(1.52rem, 6.9vw, 2rem);
    line-height: 1.06;
  }

  .hero-line-accent {
    font-size: clamp(0.98rem, 4.7vw, 1.34rem);
    letter-spacing: 0.05em;
    margin: 0.17em 0 0.18em;
  }

  .hero-features {
    gap: 0.36rem 0.5rem;
    margin: 0.78rem 0 0.95rem;
  }

  .hero-features li {
    font-size: 0.68rem;
    padding: 0.16rem 0.42rem;
    border-color: rgba(255, 255, 255, 0.1);
  }

  .hero-actions {
    gap: 0.58rem;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 0.8rem;
    padding: 0.62rem 0.95rem;
    border-radius: 10px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .header-wrap {
    min-height: var(--header-h);
  }

  .logo-link {
    width: min(300px, 72vw);
    height: 50px;
  }

  .logo {
    max-height: 50px;
    transform: scale(1.16);
  }

  .site-header.header-scrolled .logo-link {
    transform: none;
  }

  .hero {
    min-height: calc(100svh - var(--header-h));
    background-position: 70% center;
  }

  .hero-content {
    max-width: min(31rem, 100%);
    padding-top: 3.6rem;
    padding-bottom: 2.35rem;
    margin-left: 0;
  }

  .hero-subline {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.62rem;
  }

  .hero-line-primary {
    font-size: clamp(1.58rem, 8.7vw, 2.05rem);
    line-height: 1.06;
  }

  .hero-line-accent {
    font-size: clamp(1.02rem, 5.9vw, 1.38rem);
    margin: 0.18em 0 0.2em;
    letter-spacing: 0.06em;
  }

  .hero-features {
    gap: 0.42rem 0.55rem;
    margin: 0.86rem 0 1.1rem;
  }

  .hero-features li {
    font-size: 0.7rem;
    padding: 0.18rem 0.45rem;
    white-space: nowrap;
    border-color: rgba(255, 255, 255, 0.12);
  }

  .hero-actions {
    gap: 0.7rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 0.66rem 1rem;
    border-radius: 11px;
  }

  .data-grid,
  .form-grid,
  .conditions-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    aspect-ratio: 4 / 3;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .powered-by {
    justify-self: center;
  }
}
