/* ============================================================
   RIVAL 4x4 Landingpage - Overland Outfitters
   Namespace: .rvrp (RIVAL rebrand page)
   CI (gemäss RIVAL 4x4 Design Guide): Schwarz #000, Weiss #FFF,
   Grau #D5D5D5 / #A5A5A5, Blau #002C6E / #002256, Orange #FF6A00
   Fonts: Montserrat (Haupt) + Orbitron (technische Headlines)
   ============================================================ */

.rvrp {
  --rv-black: #000000;
  --rv-black-2: #0a0a0a;
  --rv-white: #FFFFFF;
  --rv-grey-light: #D5D5D5;
  --rv-grey: #A5A5A5;
  --rv-grey-dark: #1a1a1a;
  --rv-grey-mid: #2a2a2a;
  --rv-blue: #002C6E;
  --rv-blue-dark: #002256;
  --rv-orange: #FF6A00;
  --rv-orange-dark: #e55d00;
  --rv-radius: 6px;
  --rv-radius-lg: 10px;
  --rv-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --rv-font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --rv-font-tech: 'Orbitron', 'Montserrat', sans-serif;

  font-family: var(--rv-font);
  color: var(--rv-white);
  background: var(--rv-black);
  line-height: 1.6;
  overflow-x: hidden;
}

.rvrp *,
.rvrp *::before,
.rvrp *::after { box-sizing: border-box; }

/* ============================================================
   Headlines - Shop-CI-Override mit !important
   ============================================================ */

html body .rvrp h1,
html body .rvrp h2,
html body .rvrp h3,
html body .rvrp h4 {
  font-family: var(--rv-font) !important;
  color: var(--rv-white) !important;
  letter-spacing: 0.02em !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
}

html body .rvrp h1 {
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
}

html body .rvrp h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
  font-weight: 800 !important;
  text-align: center !important;
  margin-bottom: 20px !important;
}

html body .rvrp h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important;
  font-weight: 700 !important;
}

html body .rvrp h4 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
}

.rvrp p {
  margin: 0 0 14px 0;
  font-size: 1rem;
  color: var(--rv-grey-light);
}

.rvrp .rvrp-lead {
  font-size: 1.1rem;
  color: var(--rv-grey-light);
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px auto;
  line-height: 1.65;
}

.rvrp .rvrp-eyebrow {
  display: inline-block;
  font-family: var(--rv-font-tech);
  font-size: 0.78rem;
  color: var(--rv-orange);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}

/* ============================================================
   Hero
   ============================================================ */

.rvrp .rvrp-hero {
  position: relative;
  min-height: 72vh;
  padding: 80px 24px;
  background: var(--rv-black);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.rvrp .rvrp-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  filter: contrast(1.02) brightness(1.05);
}

.rvrp .rvrp-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.75) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.3) 100%);
}

.rvrp .rvrp-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.rvrp .rvrp-hero__logo {
  margin-bottom: 36px;
}

.rvrp .rvrp-hero__logo img {
  max-width: 240px;
  height: auto;
  display: block;
}

.rvrp .rvrp-hero__tagline {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  max-width: 620px;
  margin: 22px 0 32px;
  color: var(--rv-grey-light);
}

.rvrp .rvrp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.rvrp .rvrp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rv-white);
  backdrop-filter: blur(6px);
}

.rvrp .rvrp-hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--rv-orange);
  border-radius: 50%;
  display: inline-block;
}

/* ============================================================
   Sections
   ============================================================ */

.rvrp .rvrp-section {
  padding: 90px 24px;
  background: var(--rv-black);
}

.rvrp .rvrp-section--alt {
  background: var(--rv-grey-dark);
}

.rvrp .rvrp-section--blue {
  background: linear-gradient(135deg, var(--rv-blue-dark) 0%, var(--rv-blue) 100%);
}

.rvrp .rvrp-container {
  max-width: 1200px;
  margin: 0 auto;
}

.rvrp .rvrp-container--narrow {
  max-width: 880px;
}

.rvrp .rvrp-section__head {
  text-align: center;
  margin-bottom: 40px;
}

/* ============================================================
   Benefits (4er-Grid)
   ============================================================ */

.rvrp .rvrp-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.rvrp .rvrp-benefit {
  padding: 36px 28px;
  background: var(--rv-grey-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--rv-radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.rvrp .rvrp-benefit:hover {
  border-color: var(--rv-orange);
  transform: translateY(-4px);
}

.rvrp .rvrp-benefit__num {
  font-family: var(--rv-font-tech);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--rv-orange);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

html body .rvrp .rvrp-benefit h3 {
  margin: 0 0 12px 0 !important;
  font-size: 1.15rem !important;
  text-transform: uppercase !important;
}

.rvrp .rvrp-benefit p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--rv-grey-light);
  line-height: 1.55;
}

/* ============================================================
   Produktlinien-Grid
   ============================================================ */

.rvrp .rvrp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.rvrp .rvrp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--rv-grey-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--rv-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.rvrp .rvrp-card:hover {
  border-color: var(--rv-orange);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.rvrp .rvrp-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--rv-black);
  overflow: hidden;
}

.rvrp .rvrp-card__media::before {
  content: attr(data-num);
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--rv-font-tech);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rv-orange);
  z-index: 2;
  letter-spacing: 0.05em;
}

.rvrp .rvrp-card__media::after {
  content: attr(data-badge);
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 12px;
  background: var(--rv-black);
  color: var(--rv-white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.3);
}

.rvrp .rvrp-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.92) saturate(1.05);
}

.rvrp .rvrp-card:hover .rvrp-card__media img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1.1);
}

.rvrp .rvrp-card__media::before,
.rvrp .rvrp-card__media::after {
  z-index: 3;
}

.rvrp .rvrp-card__body {
  padding: 28px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

html body .rvrp .rvrp-card h3 {
  font-size: 1.35rem !important;
  margin: 0 0 12px 0 !important;
  text-transform: uppercase !important;
}

.rvrp .rvrp-card__desc {
  color: var(--rv-grey-light);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 20px;
}

.rvrp .rvrp-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rv-orange);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: auto;
}

.rvrp .rvrp-card__cta::after {
  content: "→";
  transition: transform 0.25s ease;
}

.rvrp .rvrp-card:hover .rvrp-card__cta::after {
  transform: translateX(4px);
}

/* ============================================================
   Vehicle-Grid (Fahrzeug-Fokus)
   ============================================================ */

.rvrp .rvrp-vehicles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.rvrp .rvrp-vehicle {
  padding: 28px 20px;
  background: var(--rv-black);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rv-radius);
  text-decoration: none;
  color: var(--rv-white);
  text-align: center;
  transition: all 0.25s ease;
}

.rvrp .rvrp-vehicle:hover {
  border-color: var(--rv-orange);
  background: var(--rv-grey-mid);
  color: var(--rv-white);
  text-decoration: none;
  transform: translateY(-3px);
}

html body .rvrp .rvrp-vehicle h4 {
  font-size: 0.95rem !important;
  margin: 0 0 6px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.rvrp .rvrp-vehicle__count {
  font-family: var(--rv-font-tech);
  font-size: 0.78rem;
  color: var(--rv-orange);
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* ============================================================
   Material-Vergleich
   ============================================================ */

.rvrp .rvrp-materials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.rvrp .rvrp-material {
  padding: 40px 32px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--rv-radius-lg);
}

html body .rvrp .rvrp-material h3 {
  text-transform: uppercase !important;
  margin: 0 0 18px 0 !important;
  font-size: 1.4rem !important;
  letter-spacing: 0.05em !important;
}

.rvrp .rvrp-material__specs {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.rvrp .rvrp-material__specs li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.rvrp .rvrp-material__specs li:last-child {
  border-bottom: none;
}

.rvrp .rvrp-material__specs strong {
  color: var(--rv-white);
  font-weight: 700;
}

/* ============================================================
   Buttons
   ============================================================ */

.rvrp .rvrp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--rv-orange);
  color: var(--rv-white);
  font-family: var(--rv-font);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--rv-orange);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 52px;
}

.rvrp .rvrp-btn:hover {
  background: var(--rv-orange-dark);
  border-color: var(--rv-orange-dark);
  color: var(--rv-white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.3);
}

.rvrp .rvrp-btn--outline {
  background: transparent;
  color: var(--rv-white);
  border-color: var(--rv-white);
}

.rvrp .rvrp-btn--outline:hover {
  background: var(--rv-white);
  color: var(--rv-black);
  border-color: var(--rv-white);
}

.rvrp .rvrp-btn--white {
  background: var(--rv-white);
  color: var(--rv-black);
  border-color: var(--rv-white);
}

.rvrp .rvrp-btn--white:hover {
  background: transparent;
  color: var(--rv-white);
  border-color: var(--rv-white);
}

/* ============================================================
   CTA-Section
   ============================================================ */

.rvrp .rvrp-cta {
  text-align: center;
  padding: 80px 24px;
  background: var(--rv-black);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.rvrp .rvrp-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ============================================================
   Galerie
   ============================================================ */

.rvrp .rvrp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 10px;
  margin-top: 40px;
}

.rvrp .rvrp-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--rv-radius);
  background: var(--rv-grey-mid);
  cursor: zoom-in;
}

.rvrp .rvrp-gallery__item--wide { grid-column: span 2; }
.rvrp .rvrp-gallery__item--tall { grid-row: span 2; }
.rvrp .rvrp-gallery__item--big { grid-column: span 2; grid-row: span 2; }

.rvrp .rvrp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.92);
}

.rvrp .rvrp-gallery__item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.rvrp .rvrp-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--rv-radius);
  transition: border-color 0.25s ease;
  pointer-events: none;
}

.rvrp .rvrp-gallery__item:hover::after {
  border-color: var(--rv-orange);
}

.rvrp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: zoom-out;
}

.rvrp-lightbox.is-open { display: flex; }

.rvrp-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.rvrp-lightbox__close {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #fff;
  font: 700 2.2rem/1 'Montserrat', sans-serif;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ============================================================
   FAQ
   ============================================================ */

.rvrp .rvrp-faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

.rvrp .rvrp-faq__item {
  background: var(--rv-grey-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--rv-radius);
  transition: border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.rvrp .rvrp-faq__item[open] {
  border-color: var(--rv-orange);
  background: rgba(255, 106, 0, 0.04);
}

.rvrp .rvrp-faq__q {
  position: relative;
  padding: 22px 56px 22px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--rv-font);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--rv-white);
  letter-spacing: 0.01em;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.rvrp .rvrp-faq__q::-webkit-details-marker {
  display: none;
}

.rvrp .rvrp-faq__q::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  font-family: var(--rv-font-tech);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rv-orange);
  line-height: 1;
  transition: transform 0.25s ease;
}

.rvrp .rvrp-faq__item[open] .rvrp-faq__q::after {
  content: "−";
}

.rvrp .rvrp-faq__item:not([open]):hover .rvrp-faq__q {
  color: var(--rv-orange);
}

.rvrp .rvrp-faq__a {
  padding: 0 26px 24px 26px;
}

.rvrp .rvrp-faq__a p {
  margin: 0;
  color: var(--rv-grey-light);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 820px) {
  .rvrp .rvrp-section { padding: 60px 20px; }
  .rvrp .rvrp-hero { min-height: 60vh; padding: 60px 20px; }
  .rvrp .rvrp-hero__logo img { max-width: 180px; }
  .rvrp .rvrp-cta__buttons { flex-direction: column; }
  .rvrp .rvrp-cta__buttons .rvrp-btn { width: 100%; }
  .rvrp .rvrp-faq__q { padding: 18px 48px 18px 20px; font-size: 0.95rem; }
  .rvrp .rvrp-faq__q::after { right: 18px; font-size: 1.4rem; }
  .rvrp .rvrp-faq__a { padding: 0 20px 20px 20px; }
}

@media (max-width: 820px) {
  .rvrp .rvrp-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .rvrp .rvrp-gallery__item--big { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 480px) {
  .rvrp .rvrp-grid { grid-template-columns: 1fr; }
  .rvrp .rvrp-benefits { grid-template-columns: 1fr; }
}
