  @media (hover: hover) {
    :is([data-fx="sheen"], [data-fx="btn"]):not(#_fx) { transition: background-color 280ms ease, border-color 280ms ease, box-shadow 320ms ease, filter 160ms ease, transform 260ms cubic-bezier(.23,1,.32,1), --glow 360ms ease, --edge 360ms ease !important; }
    [data-fx="btn"]:not(#_fx):hover { box-shadow: 0 0 0 3px rgba(91,148,232,0.18), 0 10px 22px -12px rgba(0,0,0,0.8) !important; }
    :is([data-fx="sheen"], [data-fx="btn"]):not(#_fx):hover { transform: translateY(-1px); }
    :is([data-fx="sheen"], [data-fx="btn"]):not(#_fx):not([data-rv-badge]) { transition: background-color 280ms ease, border-color 280ms ease, box-shadow 320ms ease, filter 160ms ease, transform 380ms cubic-bezier(.22,1,.36,1), --glow 360ms ease, --edge 360ms ease !important; will-change: transform; }
    :is([data-fx="sheen"], [data-fx="btn"]):not(#_fx):not([data-rv-badge]):hover { transform: translateY(-3px) scale(1.02); }
  }

  @media (prefers-reduced-motion: reduce) { :is([data-fx="sheen"], [data-fx="btn"]):not(#_fx):is(:hover, :active) { transform: none; } }

  @media (prefers-reduced-motion: reduce) { [data-fx][data-ripple]:not(#_fx)::after { animation: none; } }

  @media (max-width: 480px) { [data-rv-badge] { gap: 9px !important; padding-right: 14px !important; } [data-rv-front] { gap: 9px !important; } }

  @media (prefers-reduced-motion: reduce) { [data-rv-front], [data-rv-back] { transform: none !important; } }

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

  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      [data-hero-card] { view-timeline: --hero block; }
      [data-par] { animation: heroPar linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
      [data-par-content] { animation: heroOut linear both; animation-timeline: --hero; animation-range: exit 0% exit 80%; }
      [data-px] { animation: pxImg linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; will-change: transform; }
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    [data-reveal][data-rv] { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(4px); transition: opacity 800ms cubic-bezier(.16,1,.3,1), transform 800ms cubic-bezier(.16,1,.3,1), filter 800ms cubic-bezier(.16,1,.3,1); }
    [data-reveal][data-rv="in"] { opacity: 1; transform: none; filter: none; }
    [data-reveal="2"][data-rv] { transition-delay: 70ms; }
    [data-reveal="3"][data-rv] { transition-delay: 140ms; }
    [data-reveal="4"][data-rv] { transition-delay: 210ms; }
    [data-rv] [data-dim] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1100ms cubic-bezier(.23,1,.32,1) 300ms; }
    [data-rv="in"] [data-dim] { stroke-dashoffset: 0; }
  }

/* Breakpoints that replace the original's JS window-width tracking. */

.warum-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(12px,1.6vw,20px); margin-top: clamp(28px,3.5vw,40px); }
@media (min-width: 600px) { .warum-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1100px) { .warum-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }

@media (min-width: 1040px) {
  .main-nav { display: flex; }
  .header-actions { display: flex; }
  .header-call-mobile, .burger-btn { display: none; }
  .mobile-menu { display: none; }
}

@media (min-width: 1140px) {
  .header-cta { display: flex; }
}

@media (min-width: 940px) {
  .fahrzeug-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); }
  .fahrzeug-cta-wide { display: flex; }
  .fahrzeug-cta-narrow { display: none; }
}
@media (max-width: 939px) {
  .fahrzeug-cta-wide { display: none; }
  .fahrzeug-cta-narrow { display: flex; }
}

@media (min-width: 880px) {
  .road-horizontal { display: block; }
  .road-vertical { display: none; }
}
@media (max-width: 879px) {
  .road-horizontal { display: none; }
  .road-vertical { display: block; }
}

@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (min-width: 640px) {
  .gallery-phone-only { display: none; }
  .gallery-desktop-only { display: list-item; }
}
@media (max-width: 639px) {
  .gallery-phone-only { display: list-item; }
  .gallery-desktop-only { display: none; }
}

@media (min-width: 1080px) {
  .kontakt-grid { grid-template-columns: minmax(0,1fr) minmax(320px,380px); }
  .kontakt-aside { border-left: 1px solid var(--color-border); border-bottom: 0; order: 0; }
}
