/* =====================================================
   Automobilzentrum Remscheid – Design System
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

/* ── Custom Properties ────────────────────────────── */
:root {
  --black:        #0a0a0a;
  --anthracite:   #1a1a1a;
  --anthracite-2: #252525;
  --anthracite-3: #2e2e2e;
  --graphite:     #404040;
  --silver:       #8a8a8a;
  --light-gray:   #c8c8c8;
  --off-white:    #f0eeeb;
  --white:        #ffffff;
  --bordeaux:     #8b1a2e;
  --bordeaux-light: #a82238;
  --bordeaux-dark:  #6b1422;

  --font-sans:    'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --transition:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;

  --shadow-sm:    0 2px 8px rgba(0,0,0,0.25);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.35);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.45);

  --radius:       4px;
  --radius-lg:    8px;
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--black);
  color: var(--off-white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ───────────────────────────────────── */
.display-1 { font-family: var(--font-display); font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
.display-2 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
.display-3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.75rem); font-weight: 400; line-height: 1.2; }
.heading-1 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 500; letter-spacing: -0.01em; }
.heading-2 { font-size: clamp(1rem, 2vw, 1.375rem); font-weight: 500; }
.label-sm { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.label-md { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.body-lg { font-size: 1.0625rem; line-height: 1.75; }
.body-sm { font-size: 0.875rem; line-height: 1.65; }

/* ── Farben ───────────────────────────────────────── */
.text-silver  { color: var(--silver); }
.text-light   { color: var(--light-gray); }
.text-bordeaux{ color: var(--bordeaux-light); }
.bg-anthracite { background-color: var(--anthracite); }
.bg-anthracite-2 { background-color: var(--anthracite-2); }

/* ── Container ────────────────────────────────────── */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 4rem); }
.container-sm { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 4rem); }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius); transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--bordeaux); color: var(--white);
}
.btn-primary:hover { background: var(--bordeaux-light); transform: translateY(-1px); box-shadow: 0 8px 25px rgba(139,26,46,0.4); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.25); color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

.btn-ghost { color: var(--silver); }
.btn-ghost:hover { color: var(--white); }

.btn-sm { padding: 0.625rem 1.375rem; font-size: 0.75rem; }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 0.875rem; }

/* ── Navigation ───────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.5rem 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo {
  display: flex; flex-direction: column; line-height: 1.2;
}
.nav-logo-name { font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; }
.nav-logo-sub { font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a { font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--light-gray); transition: color var(--transition-fast); position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px;
  background: var(--bordeaux-light); transition: width var(--transition-fast);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* Mobil Navigation */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; background: none; border: none; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--white); transition: var(--transition); display: block; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav Overlay */
.nav-mobile {
  display: none;
  position: fixed; inset: 0;
  z-index: 1000;
}
.nav-mobile.open { display: block; }

/* Backdrop */
.nav-mobile-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav-mobile.open .nav-mobile-backdrop { opacity: 1; }

/* Slide-in Panel */
.nav-mobile-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(340px, 90vw);
  background: #0e0e0e;
  border-left: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.nav-mobile.open .nav-mobile-panel { transform: translateX(0); }

/* Panel Header */
.nav-mobile-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.nav-mobile-close {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.5); padding: 0.35rem;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s;
}
.nav-mobile-close:hover { color: #fff; }

/* Nav Links */
.nav-mobile-links {
  display: flex; flex-direction: column;
  padding: 1rem 0;
  flex: 1;
}
.nav-mobile-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  border: none; background: none; cursor: pointer; width: 100%;
  text-align: left;
  transition: color 0.2s, background 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-mobile-item:hover { color: #fff; background: rgba(255,255,255,0.03); }
.nav-mobile-item.active { color: var(--bordeaux-light, #c0394e); }
.nav-mobile-item svg { opacity: 0.3; flex-shrink: 0; transition: opacity 0.2s; }
.nav-mobile-item:hover svg { opacity: 0.6; }

/* Accordion */
.nav-mobile-accordion {}
.nav-mobile-accordion-trigger .nav-acc-chevron { transition: transform 0.25s ease; opacity: 0.4; }
.nav-mobile-accordion.open .nav-acc-chevron { transform: rotate(180deg); opacity: 0.7; }
.nav-mobile-sub {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-mobile-accordion.open .nav-mobile-sub { display: flex; }
.nav-mobile-sub-item {
  display: block;
  padding: 0.75rem 1.5rem 0.75rem 2.25rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.nav-mobile-sub-item:hover { color: rgba(255,255,255,0.9); }
.nav-mobile-sub-item.active { color: var(--bordeaux-light, #c0394e); }

/* Footer Buttons */
.nav-mobile-footer {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative; height: 100svh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
}
.hero-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #ff9ec8 0%, #ffb3d4 30%, #ff7ab5 60%, #ff4d9e 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(0,0,0,0.4); font-family: var(--font-sans);
}
.hero-placeholder::after { content: 'Hero Bild / Video – Adminpanel'; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.55) 70%, rgba(10,10,10,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 1.5rem; max-width: 900px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bordeaux-light); margin-bottom: 1.5rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 30px; height: 1px; background: var(--bordeaux-light);
}
.hero-title { margin-bottom: 1.25rem; }
.hero-subtitle { color: var(--light-gray); max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.0625rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--silver); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--silver), transparent); }

/* ── X-Ray Section ────────────────────────────────── */
.xray-section { position: relative; height: 300vh; }
.xray-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.xray-images { position: relative; width: 100%; height: 100%; }
.xray-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.xray-left { opacity: 1; }
.xray-right { opacity: 0; clip-path: inset(0 100% 0 0); }
.xray-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-family: var(--font-sans);
}
.xray-placeholder-left {
  background: linear-gradient(135deg, #ffb3d4 0%, #ff9ec8 50%, #ff7ab5 100%);
  color: rgba(0,0,0,0.35);
}
.xray-placeholder-left::after { content: 'X-Ray Bild – Adminpanel'; }
.xray-placeholder-right {
  background: linear-gradient(135deg, #ff69b0 0%, #ff4d9e 50%, #e91e8c 100%);
  color: rgba(0,0,0,0.35);
}
.xray-placeholder-right::after { content: 'Echtes Fahrzeug Bild – Adminpanel'; }
.xray-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.3); }
.xray-texts {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
}
.xray-text-item {
  position: absolute; text-align: center; opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}
.xray-text-item.visible { opacity: 1; transform: translateY(0); }
.xray-text-item .display-2 { color: var(--white); }
.xray-progress {
  position: absolute; bottom: 0; left: 0; height: 2px;
  background: var(--bordeaux); transition: width 0.1s linear;
  z-index: 10;
}

/* ── Service Cards ────────────────────────────────── */
.services-section { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--anthracite); }
.section-label { margin-bottom: 1rem; }
.section-title { margin-bottom: 1rem; }
.section-intro { color: var(--silver); max-width: 560px; margin-bottom: 4rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5px; background: rgba(255,255,255,0.06); }
.service-card {
  background: var(--anthracite); padding: 2.5rem;
  transition: background var(--transition);
  border: 1px solid transparent;
}
.service-card:hover { background: var(--anthracite-2); border-color: rgba(255,255,255,0.08); }
.service-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: rgba(139,26,46,0.12); border: 1px solid rgba(139,26,46,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.75rem; color: var(--bordeaux-light);
}
.service-card-title { font-weight: 500; margin-bottom: 0.75rem; font-size: 1.0625rem; }
.service-card-desc { color: var(--silver); font-size: 0.875rem; margin-bottom: 1.5rem; line-height: 1.65; }
.service-card-link {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bordeaux-light); display: inline-flex; align-items: center; gap: 0.5rem;
  transition: gap var(--transition-fast);
}
.service-card-link:hover { gap: 0.75rem; }

/* ── CTA Bereich ──────────────────────────────────── */
.cta-section { padding: clamp(4rem, 8vw, 7rem) 0; text-align: center; }
.cta-title { margin-bottom: 1.25rem; }
.cta-text { color: var(--silver); max-width: 500px; margin: 0 auto 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-divider { color: var(--graphite); font-size: 0.75rem; }

/* ── Fahrzeugkarten ───────────────────────────────── */
.vehicles-section { padding: clamp(5rem, 10vw, 9rem) 0; }
.vehicles-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.vehicles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5px; background: rgba(255,255,255,0.04); }
.vehicle-card { background: var(--black); overflow: hidden; position: relative; }
.vehicle-card-image { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.vehicle-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--transition); }
.vehicle-card:hover .vehicle-card-image img { transform: scale(1.04); }
.vehicle-placeholder {
  width: 100%; height: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg, #ffb3d4, #ff9ec8, #ff7ab5);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(0,0,0,0.35);
}
.vehicle-placeholder::after { content: 'Fahrzeugbild'; }
.vehicle-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--bordeaux); color: white;
  padding: 0.25rem 0.75rem; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vehicle-card-body { padding: 1.75rem; }
.vehicle-brand { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); margin-bottom: 0.35rem; }
.vehicle-name { font-size: 1.1875rem; font-weight: 500; margin-bottom: 1.25rem; }
.vehicle-stats { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.vehicle-stat { font-size: 0.8125rem; color: var(--silver); }
.vehicle-stat strong { color: var(--off-white); font-weight: 400; display: block; font-size: 0.875rem; }
.vehicle-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.07); }
.vehicle-price { font-size: 1.3125rem; font-weight: 500; }
.vehicle-price .vat { font-size: 0.6875rem; color: var(--silver); font-weight: 300; display: block; }

/* ── Bild/Text Bereiche ───────────────────────────── */
.image-text-section { padding: clamp(5rem, 10vw, 9rem) 0; }
.image-text-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.image-text-grid.reverse .image-text-image { order: 2; }
.image-text-grid.reverse .image-text-content { order: 1; }
.image-text-image { position: relative; }
.image-text-image .img-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #ff9ec8, #ffb3d4, #ff7ab5);
}
.image-text-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-text-eyebrow { margin-bottom: 1rem; }
.image-text-title { margin-bottom: 1.25rem; }
.image-text-desc { color: var(--silver); margin-bottom: 2rem; }

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--anthracite); border-top: 1px solid rgba(255,255,255,0.06);
  padding: clamp(3rem, 7vw, 6rem) 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { }
.footer-brand-name { font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.footer-brand-sub { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); margin-bottom: 1.25rem; }
.footer-brand-desc { color: var(--silver); font-size: 0.875rem; max-width: 280px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--silver); transition: var(--transition-fast);
}
.footer-social a:hover { border-color: var(--bordeaux-light); color: var(--bordeaux-light); }
.footer-col-title { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; color: var(--off-white); }
.footer-links li + li { margin-top: 0.625rem; }
.footer-links a { color: var(--silver); font-size: 0.875rem; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { display: flex; gap: 0.75rem; color: var(--silver); font-size: 0.875rem; margin-bottom: 0.75rem; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 3px; color: var(--bordeaux-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 1rem; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: var(--silver); font-size: 0.8125rem; }
.footer-legal a:hover { color: var(--white); }
.footer-copy { color: var(--graphite); font-size: 0.8125rem; }

/* ── Sticky Mobile CTA ────────────────────────────── */
.sticky-cta {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.sticky-cta-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  flex: none;
  font-size: 0; /* Text ausblenden */
  letter-spacing: 0;
  padding: 0;
}
.sticky-cta-btn svg { flex-shrink: 0; }
.sticky-cta-btn:active { transform: scale(0.92); }
.sticky-phone { background: #1e1e1e; color: var(--off-white); border: 1px solid rgba(255,255,255,0.15); }
.sticky-whatsapp { background: #25D366; color: white; border: none; }
.sticky-maps { background: #4285F4; color: white; border: none; }

/* ── Forms ────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); display: block; margin-bottom: 0.5rem; }
.form-control {
  width: 100%; padding: 0.875rem 1rem; background: var(--anthracite-2);
  border: 1px solid rgba(255,255,255,0.08); color: var(--off-white);
  font-size: 0.9375rem; transition: border-color var(--transition-fast);
  border-radius: var(--radius);
}
.form-control:focus { outline: none; border-color: var(--bordeaux); }
.form-control::placeholder { color: var(--graphite); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* ── Flash Messages ───────────────────────────────── */
.flash { padding: 1rem 1.25rem; border-left: 3px solid; margin-bottom: 1.5rem; font-size: 0.9rem; }
.flash-success { background: rgba(16,185,129,0.1); border-color: #10b981; color: #34d399; }
.flash-error { background: rgba(239,68,68,0.1); border-color: #ef4444; color: #f87171; }
.flash-info { background: rgba(59,130,246,0.1); border-color: #3b82f6; color: #93c5fd; }

/* ── Animationen ──────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.7s ease; }
.fade-in.visible { opacity: 1; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Divider ──────────────────────────────────────── */
.section-divider { width: 40px; height: 1px; background: var(--bordeaux); margin: 1.5rem 0; }

/* ── Fahrzeugdetail ───────────────────────────────── */
.vehicle-detail-hero { padding-top: 80px; }
.gallery-main { aspect-ratio: 16/9; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.5rem; overflow-x: auto; }
.gallery-thumb { width: 80px; height: 60px; object-fit: cover; cursor: pointer; opacity: 0.6; transition: opacity var(--transition-fast); flex-shrink: 0; }
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; }
.vehicle-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; margin-top: 3rem; }
.vehicle-spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1px; background: rgba(255,255,255,0.06); margin: 1.5rem 0; }
.vehicle-spec-item { background: var(--anthracite); padding: 1.25rem; }
.vehicle-spec-item .label-sm { color: var(--silver); margin-bottom: 0.4rem; }
.vehicle-spec-item .value { font-size: 1rem; font-weight: 400; }
.vehicle-contact-card { background: var(--anthracite); padding: 2rem; position: sticky; top: 100px; }
.equipment-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.equipment-tag { background: var(--anthracite-2); border: 1px solid rgba(255,255,255,0.08); padding: 0.375rem 0.875rem; font-size: 0.8125rem; color: var(--light-gray); }

/* ── Leistungsseite ───────────────────────────────── */
.service-hero { padding-top: 80px; background: var(--anthracite); }
.service-hero-inner { padding: clamp(4rem, 8vw, 7rem) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.faq-item { border-top: 1px solid rgba(255,255,255,0.07); }
.faq-toggle { width: 100%; text-align: left; padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.9375rem; color: var(--off-white); }
.faq-body { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.faq-body-inner { padding: 0 0 1.25rem; color: var(--silver); font-size: 0.9rem; }
.faq-item.open .faq-body { max-height: 400px; }
.faq-icon { flex-shrink: 0; transition: transform var(--transition-fast); }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Kontaktseite ─────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-info-item { display: flex; gap: 1.25rem; margin-bottom: 2rem; }
.contact-info-icon { width: 44px; height: 44px; background: rgba(139,26,46,0.12); border: 1px solid rgba(139,26,46,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--bordeaux-light); }

/* ── Seiten Padding ───────────────────────────────── */
.page-content { padding-top: 100px; padding-bottom: clamp(4rem, 8vw, 8rem); }
.page-hero { padding: clamp(5rem, 10vw, 9rem) 0 clamp(2rem, 4vw, 3rem); background: var(--anthracite); margin-bottom: clamp(3rem, 6vw, 5rem); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .image-text-grid { grid-template-columns: 1fr; }
  .image-text-grid.reverse .image-text-image { order: 0; }
  .image-text-grid.reverse .image-text-content { order: 0; }
  .vehicle-detail-grid { grid-template-columns: 1fr; }
  .service-hero-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .vehicles-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  .vehicle-detail-grid { grid-template-columns: 1fr; }
  .vehicles-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── Legal Content ────────────────────────────────── */
.legal-content { color: var(--silver); line-height: 1.85; }
.legal-content h1, .legal-content h2, .legal-content h3 { color: var(--off-white); margin-top: 2rem; margin-bottom: 0.75rem; font-family: var(--font-sans); font-weight: 500; }
.legal-content h2 { font-size: 1.0625rem; }
.legal-content h3 { font-size: 0.9375rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { margin: 0.75rem 0 1rem 1.5rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--bordeaux-light); text-decoration: underline; }
.legal-content strong { color: var(--off-white); font-weight: 500; }

/* ── Nav Dropdown ─────────────────────────────────── */
.nav-has-dropdown { position: relative; }

.nav-dropdown-trigger { display: flex; align-items: center; gap: 0.3rem; }

.nav-chevron {
  transition: transform 0.25s ease;
  opacity: 0.6;
  flex-shrink: 0;
}
.nav-has-dropdown:hover .nav-chevron,
.nav-has-dropdown:focus-within .nav-chevron { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  list-style: none;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}

/* Kleines Dreieck oben */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: #111111;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  rotate: 45deg;
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li { list-style: none; }

.nav-dropdown a {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.78rem !important;
  text-transform: none !important;
  letter-spacing: 0.03em !important;
  font-weight: 400 !important;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s !important;
  opacity: 1 !important;
}
.nav-dropdown a svg { opacity: 0.5; flex-shrink: 0; }
.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: #ffffff !important;
  background: rgba(255,255,255,0.05);
}
.nav-dropdown a:hover svg,
.nav-dropdown a.active svg { opacity: 1; }
.nav-dropdown a.active { color: var(--bordeaux-light) !important; }
.nav-dropdown a::after { display: none !important; }

/* ── Fahrzeuge Empty-State CTA ─────────────────────── */
.vehicles-empty-cta {
  position: relative;
  border: 1px solid rgba(255,255,255,0.07);
  background: var(--anthracite);
  overflow: hidden;
  text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  margin: 2rem 0 4rem;
}
.vehicles-empty-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--vehicles-empty-bg, var(--bordeaux));
  opacity: 0.04;
  pointer-events: none;
}
.vehicles-empty-cta-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.08;
}
.vehicles-empty-cta-content { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.vehicles-empty-cta .label-md { color: var(--vehicles-empty-accent, var(--bordeaux-light)); margin-bottom: 1rem; }
.vehicles-empty-cta .display-3 { color: var(--off-white); margin-bottom: 1rem; }
.vehicles-empty-cta .body-lg { color: var(--silver); margin-bottom: 2rem; }

/* ── Dual-Layer Scroll Hero ───────────────────────── */
.dh-section {
  height: 180vh;
  position: relative;
}
.dh-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.dh-images {
  position: absolute;
  inset: 0;
}
.dh-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.dh-img-overlay {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition: none;
}
.dh-img-tint {
  background: linear-gradient(135deg, rgba(139,26,46,0.25) 0%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
}
.dh-gradient-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  pointer-events: none;
}
.dh-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  z-index: 2;
}
.dh-label {
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: dhFadeUp 0.7s 0.2s forwards;
}
.dh-title {
  margin-bottom: 1rem;
  opacity: 0;
  animation: dhFadeUp 0.7s 0.35s forwards;
}
.dh-sub {
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 0;
  opacity: 0;
  animation: dhFadeUp 0.7s 0.5s forwards;
}
@keyframes dhFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dh-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 2rem;
  transition: opacity 0.4s;
  color: rgba(255,255,255,0.35);
}
.dh-scroll-hint span {
  display: block;
  width: 1.5px;
  height: 32px;
  background: rgba(255,255,255,0.25);
  animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 0.9; transform: scaleY(0.6); }
}
.dh-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--bordeaux-light, #c0394e);
  z-index: 3;
  transition: width 0.05s linear;
}

/* ── About Line Animation ─────────────────────────── */
.about-line-section {
  height: 250vh;
  position: relative;
  margin: 0 0 4rem;
}
.abl-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.abl-line {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--bordeaux-light, #c0394e);
  transition: none;
}
.abl-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  opacity: 0;
  transition: none;
}
.abl-inner {
  max-width: 640px;
  margin: 0 auto;
}
.abl-inner p + p { margin-top: 1rem; }

/* ── Dual-Hero Mobile ─────────────────────────────── */
@media (max-width: 768px) {
  .dh-section  { height: 120vh; }
  .dh-sticky   { height: 50vh; }
  .dh-content  { padding: 1.5rem 1.25rem 2rem; }
  .dh-title    { font-size: clamp(1.5rem, 7vw, 2.2rem) !important; }
  .dh-sub      { font-size: 0.9rem !important; max-width: 100%; }
}

/* ── Purchase Grid Mobile ─────────────────────────── */
@media (max-width: 768px) {
  .purchase-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}
