/* Montserrat Font einbinden */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #deaa53; /* Gold Textfarbe */
  background-color: #111; /* Dunkler Hintergrund */
}

/* Global link styles - all links white with hover underline */
a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* ===================== MODAL & GALLERY ===================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
  font-family: "Montserrat", sans-serif;
}

.modal-content {
  background-color: #000;
  color: #deaa53;
  padding: 30px;
  border: 1px solid #deaa53;
  border-radius: 20px;
  max-width: 850px;
  width: 95%;
  max-height: 90vh;
  overflow: hidden; /* kein Scroll auf dem Rahmen */
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
  position: relative;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  color: #deaa53;
}

.modal-close {
  background: none;
  border: none;
  font-size: 30px;
  color: #deaa53;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
}

/* Inhalt vom Modal scrollt, nicht der Rahmen */
.modal-body {
  margin-top: 20px;
  max-height: calc(90vh - 80px); /* Platz für Header */
  overflow-y: auto;
  padding-right: 12px;           /* etwas Luft neben dem Scrollbar */
  box-sizing: border-box;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #deaa53 #111;
}

/* Chrome, Edge, Safari */
.modal-body::-webkit-scrollbar {
  width: 7px;
}

.modal-body::-webkit-scrollbar-track {
  background: #111;              /* dunkler Track */
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #deaa53;           /* goldener „Thumb“ */
  border-radius: 10px;
  border: 1px solid #111;        /* schmaler schwarzer Rand */
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #f5d76e;           /* etwas heller beim Hover */
}

/* Bildbereich im Fahrzeug-Modal */
.modal-image {
  position: relative;
  margin-top: 10px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bilder im Modal: immer vollständig anzeigen (keine abgeschnittenen Autos) */
.modal-image img {
  width: 100%;
  max-height: 60vh;        /* passt sich an Bildschirmhöhe an */
  object-fit: contain;     /* GANZES Bild anzeigen */
  border-radius: 10px;
  background: #000;
}

/* Modal: Platzhalter vollständig anzeigen (falls du das Logo nutzt) */
.modal-image img[src*="placeholder-car"] {
  object-fit: contain !important;
  background:#000;
  padding: 15px;
}

/* Pfeile für Bild-Navigation */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
  z-index: 3;
}

.modal-nav:hover {
  background: rgba(0,0,0,0.85);
  transform: translateY(-50%) scale(1.05);
}

.modal-nav-prev { left: 10px; }
.modal-nav-next { right: 10px; }

/* Thumbnails unter dem großen Bild */
.modal-thumbs {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.modal-thumb {
  padding: 0;
  border-radius: 6px;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
}

.modal-thumb img {
  width: 70px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.modal-thumb.active {
  border-color: #deaa53;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-top: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.detail-label {
  color: #aaa;
  font-weight: 500;
}

.detail-value {
  color: #fff;
  font-weight: 600;
}

.ausstattung-list {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ausstattung-item {
  background-color: #111;
  border: 1px solid #deaa53;
  color: #deaa53;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 14px;
}

.beschreibung {
  margin-top: 10px;
  color: #ddd;
  font-size: 15px;
}

.modal-price {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #deaa53;
}

.modal-buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.modal-buttons a {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #deaa53;
  color: #000;
}

.btn-primary:hover {
  background-color: #deaa53;
}

.btn-secondary {
  background-color: transparent;
  color: #deaa53;
  border: 2px solid #deaa53;
}

.btn-secondary:hover {
  background-color: #deaa53;
  color: #000;
}

/* ======= Modal: Mobile Optimierung ======= */
@media (max-width: 600px) {
  .modal-content {
    width: 96%;
    padding: 18px 16px;
    border-radius: 16px;
    max-height: 94vh;
  }

  .modal-image img {
    max-height: 50vh;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 12px 0;
  }

  .modal-header h2 {
    font-size: 20px;
  }

  .modal-close {
    font-size: 28px;
    top: 10px;
    right: 15px;
  }

  .modal-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .modal-buttons a {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 18px;
  }

  .ausstattung-list {
    gap: 6px;
  }

  .ausstattung-item {
    font-size: 13px;
    padding: 4px 8px;
  }
}

/* ===================== REST DEINES STYLES ===================== */

/* Logo Design - nur Farben angepasst */
.logo-design {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mm {
  background: #deaa53; /* Gold Gradient */
  color: #000; /* Schwarze Schrift auf Gold */
  font-weight: 900;
  font-size: 1.8rem;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  letter-spacing: -1px;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.logo-cars {
  color: #deaa53; /* Gold */
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.footer-logo .logo-mm {
  font-size: 1.5rem;
  padding: 0.2rem 0.5rem;
}

.footer-logo .logo-cars {
  font-size: 1rem;
}

/* Header Styles - nur Farben angepasst */
.header {
  background-color: #000; /* Schwarz */
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Gold Border */
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: #ffffff; /* Changed from gold to white */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ffffff; /* Changed from gold to white */
  text-decoration: underline; /* Added underline on hover */
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff; /* Changed from gold to white */
  font-size: 1.5rem;
  cursor: pointer;
}

/* Page Header - nur Farben angepasst */
.page-header {
  background: linear-gradient(135deg, #000 0%, #111 100%); /* Schwarz Gradient */
  color: #deaa53; /* Gold */
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #deaa53; /* Gold */
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  color: #deaa53; /* Gold */
}

/* ========================================= */
/* Hero Section – mit Logo als Schattierung */
/* ========================================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #deaa53; /* Gold */
  margin-top: 80px;
  overflow: hidden;
  background: #000; /* Grundfarbe (schwarz) */
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: url("../assets/img/nurlogo.png") no-repeat center center;
  background-size: contain;
  opacity: 0.4; /* Stärke der Schattierung */
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative; /* über dem Overlay */
  z-index: 2; /* Higher z-index to ensure text stays above logo */
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #deaa53; /* Gold */
  position: relative;
  z-index: 3; /* Ensure heading stays visible */
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  color: #deaa53; /* Gold */
  position: relative;
  z-index: 3; /* Ensure text stays visible */
}

.hero-subtitle {
  font-size: 1.2rem !important;
  color: #deaa53; /* Helleres Gold */
  font-weight: 600;
  margin-bottom: 2rem !important;
  position: relative;
  z-index: 3; /* Ensure subtitle stays visible */
}

.cta-button {
  display: inline-block;
  background: #deaa53; /* Gold Gradient */
  color: #000; /* Schwarz */
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
  position: relative;
  z-index: 3; /* Ensure button stays clickable and visible */
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Container - unverändert */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Title - nur Farben angepasst */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #deaa53; /* Gold */
}

/* Services Section - nur Farben angepasst */
.services {
  padding: 5rem 0;
  background-color: #000; /* Schwarz */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #111; /* Dunkelgrau */
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 4px solid #deaa53; /* Gold Border */
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: #deaa53; /* Gold Gradient */
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #000; /* Schwarz */
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.service-card h3 {
  color: #deaa53; /* Gold */
}

.service-card p {
  color: #ccc; /* Hellgrau */
}

/* Featured Cars Section - nur Farben angepasst */
.featured-cars,
.cars-section {
  padding: 5rem 0;
  background-color: #111; /* Dunkelgrau */
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.car-card {
  background: #1a1a1a; /* Etwas helleres Dunkelgrau */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.2); /* Gold Border */
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: rgba(212, 175, 55, 0.5); /* Hellerer Gold Border */
}

.car-image {
  width: 100%;
  height: 250px;        /* feste Höhe für alle Fahrzeugbilder */
  position: relative;
  overflow: hidden;     /* verhindert, dass Bilder überstehen */
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* NICHT abschneiden, komplett anzeigen */
  display: block;
  background-color: #000; /* optional: schwarzer Rand */
}

/* Ausnahme für dein Platzhalterbild */
.car-image img[src*="placeholder-car"] {
  object-fit: contain;   /* Zeigt das ganze Logo */
  background-color: #000; /* Schwarzer Rand statt Weiß */
  padding: 10px;         /* Optional: etwas Luft um das Bild */
}

.car-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #deaa53; /* Gold Gradient */
  color: #000; /* Schwarz */
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.car-info {
  padding: 1.5rem;
}

.car-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #deaa53; /* Gold */
}

.car-version {
  font-size: 1rem;
  color: #ccc; /* Hellgrau */
  margin-bottom: 1rem;
  font-weight: 500;
}

.car-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.detail-item {
  font-size: 0.9rem;
  color: #ccc; /* Hellgrau */
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.spec-item {
  font-size: 0.85rem;
  color: #ccc; /* Hellgrau */
  background: rgba(212, 175, 55, 0.1); /* Transparentes Gold */
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(212, 175, 55, 0.2); /* Gold Border */
}

.car-price-section {
  border-top: 1px solid rgba(212, 175, 55, 0.2); /* Gold Border */
  padding-top: 1rem;
}

.car-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #deaa53; /* Gold */
  margin-bottom: 1rem;
}

.car-buttons {
  display: flex;
  gap: 0.8rem;
}

.details-btn,
.mobile-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.details-btn {
  background: #222; /* Dunkelgrau */
  color: #deaa53; /* Gold */
  border: 1px solid #deaa53; /* Gold Border */
}

.details-btn:hover {
  background: #333; /* Etwas helleres Dunkelgrau */
  transform: translateY(-1px);
}

.mobile-btn {
  background: #deaa53; /* Gold Gradient */
  color: #000; /* Schwarz */
}

.mobile-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Filter Section - nur Farben angepasst */
.filter-section {
  padding: 2rem 0;
  background-color: #000; /* Schwarz */
  margin-top: 80px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Gold Border */
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: center;
}

.filter-grid select,
.filter-grid button {
  padding: 0.8rem;
  border: 1px solid #deaa53; /* Gold Border */
  border-radius: 8px;
  font-size: 1rem;
  background: #111; /* Dunkelgrau */
  color: #deaa53; /* Gold */
}

#filter-reset {
  background: #deaa53; /* Gold Gradient */
  color: #000; /* Schwarz */
  border: none;
  cursor: pointer;
}

#filter-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Customer Reviews Section */
.customer-reviews {
  padding: 5rem 0;
  background-color: #000;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: rgba(212, 175, 55, 0.5);
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.star {
  color: #deaa53;
  font-size: 1.2rem;
}

.review-text {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.review-author strong {
  color: #deaa53;
  font-weight: 600;
}

.review-author span {
  color: #999;
  font-size: 0.9rem;
}

/* Responsive for reviews */
@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 1.5rem;
  }
}

/* Added styles for Google reviews placeholder section */
.reviews-placeholder {
  margin-top: 3rem;
}

.google-reviews-widget {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.google-reviews-widget:hover {
  border-color: rgba(212, 175, 55, 0.5);
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #deaa53;
  font-weight: 600;
  font-size: 1.1rem;
}

.no-reviews-message p {
  color: #ccc;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.no-reviews-message strong {
  color: #deaa53;
}

.review-button {
  display: inline-block;
  background: #deaa53;
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.review-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
  background: #deaa53;
}

.testimonials-note {
  background: rgba(26, 26, 26, 0.8) !important;
  border: 1px solid rgba(212, 175, 55, 0.1);
  color: #999 !important;
}

.testimonials-note em {
  color: #999;
}

/* Added responsive styles for Google reviews section */
@media (max-width: 768px) {
  .google-reviews-widget {
    padding: 1.5rem;
  }

  .reviews-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .review-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* About Section - nur Farben angepasst */
.about {
  padding: 5rem 0;
  background-color: #000; /* Schwarz */
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #deaa53; /* Gold */
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #ccc; /* Hellgrau */
}

.about-image {
  width: 100%;
  height: 400px;
  background: url("/placeholder.svg?height=400&width=500") center / cover;
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.2); /* Gold Border */
}

/* Quick Contact - nur Farben angepasst */
.quick-contact {
  padding: 3rem 0;
  background: #deaa53; /* Gold Gradient */
  color: #000; /* Schwarz */
  text-align: center;
}

.quick-contact-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #000; /* Schwarz */
}

.quick-contact-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #000; /* Schwarz */
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-btn {
  background-color: #000; /* Schwarz */
  color: #deaa53; /* Gold */
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
}

/* Social Media Links - neu hinzugefügt */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #000; /* Schwarz */
  color: #ffffff; /* Changed from gold to white */
  text-decoration: none;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid #ffffff; /* Changed border from gold to white */
}

.social-link:hover {
  transform: translateY(-3px);
  background: #ffffff; /* Changed from gold to white */
  color: #000; /* Schwarz */
}

/* Forms - nur Farben angepasst */
.bewertung-form,
.contact-page {
  padding: 5rem 0;
  background-color: #111; /* Dunkelgrau */
}

.form-container,
.contact-grid {
  max-width: 800px;
  margin: 0 auto;
  background: #1a1a1a; /* Etwas helleres Dunkelgrau */
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2); /* Gold Border */
}

.contact-grid {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
}

.contact-info {
  background: none;
  padding: 0;
  box-shadow: none;
}

.contact-form-section {
  background: #1a1a1a; /* Etwas helleres Dunkelgrau */
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.2); /* Gold Border */
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #deaa53; /* Gold */
  cursor: pointer;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.3); /* Gold Border */
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: #111; /* Dunkelgrau */
  color: #deaa53; /* Gold */
  font-family: "Montserrat", sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #deaa53; /* Gold */
}

.form-group textarea {
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
  color: #ccc; /* Hellgrau */
}

.checkbox-group input:focus + label {
  outline: 2px solid #deaa53;
  outline-offset: 2px;
}

.checkbox-group a {
  color: #ffffff; /* Changed from gold to white */
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.submit-btn {
  background: #deaa53; /* Gold Gradient */
  color: #000; /* Schwarz */
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
  font-family: "Montserrat", sans-serif;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  animation: form-submit-pulse 1.5s infinite;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-loading .loading {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

/* Honeypot field - completely hidden */
input[name="website"] {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  tab-index: -1 !important;
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc3545;
  box-shadow: 0 0 5px rgba(220, 53, 69, 0.3);
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
  border-color: #28a745;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
}

.char-counter {
  font-size: 0.8rem;
  color: #ccc;
  text-align: right;
  margin-top: 0.25rem;
  display: block;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 500;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Contact Info - nur Farben angepasst */
.contact-item {
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: #deaa53; /* Gold */
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-item p {
  line-height: 1.6;
  color: #ccc; /* Hellgrau */
}

.contact-item a {
  color: #ffffff; /* Changed from gold to white */
  text-decoration: none;
}

.contact-item a:hover {
  color: #ffffff; /* Changed from gold to white */
  text-decoration: underline; /* Added underline on hover */
}

/* Footer - nur Farben angepasst */
.footer {
  background-color: #000; /* Schwarz */
  color: #deaa53; /* Gold */
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2); /* Gold Border */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #deaa53; /* Gold */
  margin-bottom: 1rem;
}

.footer-section p {
  line-height: 1.6;
  color: #ccc; /* Hellgrau */
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2); /* Gold Border */
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #ffffff; /* Changed from gold to white */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff; /* Changed from gold to white */
  text-decoration: underline; /* Added underline on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #000; /* Schwarz */
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2); /* Gold Border */
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .cars-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

  .logo-mm {
    font-size: 1.5rem;
    padding: 0.2rem 0.5rem;
  }

  .logo-cars {
    font-size: 1rem;
  }
  .logo-img {
    height: 45px;
  }
  .footer-logo-img {
    height: 35px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 0 1rem;
  }

  .form-container {
    padding: 2rem 1rem;
  }

  .contact-grid {
    padding: 1rem;
  }
}

/* Loading Animation - nur Farben angepasst */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(212, 175, 55, 0.3); /* Transparentes Gold */
  border-top: 3px solid #deaa53; /* Gold */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes form-submit-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

/* Animations - unverändert */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== Bild-Logo ===== */
.logo-img {
  display: block;
  height: 60px; /* Höhe anpassen, damit es in dein Header-Layout passt */
  width: auto;
}
/* Footer-Logo etwas kleiner */
.footer-logo-img {
  height: 45px;
}

/* WhatsApp floating button styles */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-button:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  text-decoration: none;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

/* Mobile responsiveness for WhatsApp button */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-button {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
}

/* VIN Status Styling */
.vin-status {
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
}

.vin-status span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Enhanced form input styling for VIN */
#vin {
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#vin:focus {
  border-color: #deaa53;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* VIN validation states */
.vin-valid {
  border-color: #28a745 !important;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.3) !important;
}

.vin-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.3) !important;
}

.vin-loading {
  border-color: #deaa53 !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3) !important;
  opacity: 0.7;
}

.cta-row {
  display: flex;
  flex-direction: column; /* Buttons untereinander */
  gap: 12px;              /* Abstand zwischen Buttons */
  max-width: 250px;       /* optional, sorgt für gleiche Breite */
}

/* ========================================================= */
/* =============== NEW: SCHÖNE UNTERZEILEN ================= */
.section-subtitle{
  text-align:center;
  font-size:1.15rem;
  color:#ccc;
  opacity:.95;
  margin:-.75rem auto 3rem;
  max-width:820px;
}
/* ========================================================= */

/* ========================================================= */
/* ============== NEW: ANKAUF – TIMELINE STYLES ============ */
.ankauf-process{ padding:4rem 0 2rem; background:#111; }

.process-timeline-vertical{
  position:relative;
  max-width:900px;
  margin:0 auto;
  padding-left:54px;               /* Platz für Linie + Nummern */
}

.process-timeline-vertical::before{
  content:"";
  position:absolute;
  left:27px;                       /* mittig zum Kreis (54/2) */
  top:0; bottom:0;
  width:2px;
  background:linear-gradient(#3a3a3a,#deaa53,#3a3a3a);
  opacity:.5;
}

.timeline-step{
  position:relative;
  display:flex;
  gap:18px;
  margin-bottom:28px;
}

.step-circle{
  position:absolute;
  left:-54px;                      /* steht links neben der Karte */
  top:18px;
  width:54px; height:54px;
  border-radius:50%;
  background: #deaa53;
  color:#000;
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  box-shadow:0 4px 16px rgba(212,175,55,.25);
}

.step-number{ font-size:1.15rem; line-height:1; }

.step-card{
  flex:1;
  background:#151515;
  border:1px solid rgba(212,175,55,.25);
  border-radius:14px;
  padding:20px 22px 18px;
  box-shadow:0 6px 24px rgba(0,0,0,.25);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.step-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.35);
  border-color:rgba(212,175,55,.45);
}

.step-icon{
  width:40px; height:40px; border-radius:10px;
  background:rgba(212,175,55,.1);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:10px;
  font-size:1.1rem;
  color:#deaa53;
}

.step-card h3{ margin:2px 0 6px; color:#deaa53; font-size:1.1rem; }
.step-card p{ margin:0; color:#c9c9c9; line-height:1.6; }

.timeline-connector{
  position:absolute;
  left:-27px; bottom:-14px;
  width:2px; height:28px;
  background:rgba(212,175,55,.35);
  border-radius:2px;
}
.timeline-step:last-child .timeline-connector{ display:none; }
/* ========================================================= */

/* ========================================================= */
/* ============== NEW: VORTEILE / BENEFITS GRID ============ */
.vorteile{ padding:4rem 0; background:#111; }

.vorteile-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:22px;
  max-width:1100px;
  margin:0 auto;
}

.vorteil-card{
  grid-column:span 6;              /* 2 Spalten Desktop */
  background:#151515;
  border:1px solid rgba(212,175,55,.22);
  border-radius:16px;
  padding:20px 22px;
  box-shadow:0 6px 24px rgba(0,0,0,.25);
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.vorteil-card:hover{
  transform:translateY(-3px);
  border-color:rgba(212,175,55,.5);
  box-shadow:0 12px 36px rgba(0,0,0,.35);
}

.vorteil-header{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }

.vorteil-icon{
  width:42px; height:42px; border-radius:10px;
  background:linear-gradient(135deg,rgba(212,175,55,.18),rgba(244,208,63,.18));
  display:flex; align-items:center; justify-content:center;
  color:#deaa53; font-size:1.1rem;
}

.vorteil-card h3{ margin:0; color:#deaa53; font-size:1.05rem; }
.vorteil-card p{ color:#cfcfcf; margin:.25rem 0 .75rem; line-height:1.6; }

.vorteil-features{ display:flex; flex-wrap:wrap; gap:8px; }

.vorteil-features .feature{
  font-size:.92rem; color:#e8e8e8;
  background:rgba(212,175,55,.08);
  border:1px solid rgba(212,175,55,.25);
  padding:6px 10px; border-radius:12px;
}

/* Responsive Ergänzungen */
@media (max-width: 900px){
  .process-timeline-vertical{ padding-left:46px; }
  .step-circle{ left:-46px; width:46px; height:46px; }
  .vorteil-card{ grid-column:span 12; }  /* 1 Spalte mobil */
}

@media (max-width: 600px){
  .section-subtitle{ font-size:1rem; margin-bottom:2rem; }
  .step-card{ padding:16px 16px 14px; }
  .vorteil-card{ padding:16px; }
}
/* ========================================================= */

.map-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  background: #0f1115; /* dunkler Hintergrund passt zu deinem Theme */
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* Aspect Ratio + responsive Höhe */
.map-card .map-embed iframe {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}

/* Platzhalter vor Consent */
.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 80% at 50% 30%, rgba(255,215,0,.06), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.12));
  backdrop-filter: blur(2px);
  padding: 16px;
  z-index: 2;
}

.map-placeholder__content {
  text-align: center;
  max-width: 560px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 18px;
}

.map-placeholder__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffd54a; /* gold-ähnlich wie dein Akzent */
}

.map-placeholder__text {
  opacity: .9;
  margin-bottom: 12px;
}

.map-placeholder__actions {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}

.btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #ffd54a;
  background: #ffd54a;
  color: #1a1a1a;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }
.btn--link {
  background: transparent;
  color: #ffd54a;
  border-color: rgba(255,213,74,.45);
}

/* ==== FOOTER: mobile fixes ==== */
@media (max-width: 900px){
  .footer-content{
    grid-template-columns: 1fr;   /* alles untereinander */
    gap: 1.25rem;
    text-align: center;
  }
  .footer-section{
    margin: 0 auto;
    max-width: 520px;             /* verhindert zu breite Blöcke */
  }
  .footer-section h3{
    margin-bottom: .5rem;
  }
  .footer-section address{
    font-style: normal;           /* besser lesbar mobil */
  }
}

@media (max-width: 768px){
  .footer{
    padding-bottom: max(1rem, env(safe-area-inset-bottom)); /* iOS safe-area */
  }

  .footer-bottom{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .5rem;
  }

  .footer-links{
    display: flex;
    flex-wrap: wrap;              /* Zeilenumbruch erlauben */
    justify-content: center;
    column-gap: 1rem;             /* kleineres Gap */
    row-gap: .5rem;
  }
  .footer-links a{
    line-height: 1.4;
    white-space: normal;          /* lange Worte umbrechen */
    word-break: break-word;
  }

  .footer-logo-img{ height: 32px; }  /* Logo eine Spur kleiner */
}

@media (max-width: 480px){
  .container{ padding: 0 1rem; }     /* du hast das schon – hier nochmal fürs Footer-Umfeld */
  .footer-links{ column-gap: .75rem; }
}

.reviews-inline {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.reviews-inline-card {
  width: 100%;
  max-width: 720px;
  padding: 1.8rem 2rem;
  border-radius: 18px;
  background: #141414;
  border: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  color: #e0e0e0;
}

.reviews-inline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

/* Google-Badge */
.reviews-inline-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.google-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 30%, #fff 0, #fff 35%, transparent 36%),
    conic-gradient(
      #ea4335 0 90deg,
      #fbbc05 90deg 180deg,
      #34a853 180deg 270deg,
      #4285f4 270deg 360deg
    );
}

.reviews-inline-brand span:last-child {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #f5d76e;
}

/* Gesamt-Rating-Zeile */
.reviews-inline-rating-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.reviews-inline-stars {
  display: flex;
  gap: 2px;
  font-size: 1rem;
  color: #f5d76e;
}

.reviews-inline-rating-text {
  font-size: 0.9rem;
  color: #cfcfcf;
}

.reviews-inline-rating-text strong {
  color: #f5f5f5;
}

/* Liste der Reviews */
.reviews-inline-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.reviews-inline-item {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.8rem;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 0.3rem;
}

.review-author {
  font-weight: 600;
  color: #eaeaea;
}

.review-date {
  opacity: 0.85;
}

.review-stars-small {
  color: #f5d76e;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.review-text {
  font-size: 0.9rem;
  color: #d0d0d0;
  line-height: 1.5;
}

/* Button */
.reviews-inline-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #d4af37, #f5d76e);
  color: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.reviews-inline-button i {
  font-size: 1.05rem;
}

.reviews-inline-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
  filter: brightness(1.05);
}

@media (max-width: 768px) {
  .reviews-inline {
    margin-top: 2.5rem;
  }

  .reviews-inline-card {
    padding: 1.5rem 1.4rem;
  }
}
/* etwas kompakterer Block für die Detailseite im Modal */
.modal-details {
  margin-top: 18px;
}

/* auf Desktop: Preis + Buttons näher an die Beschreibung rücken */
@media (min-width: 769px) {
  .modal-price {
    margin-top: 14px;
  }

  .modal-buttons {
    margin-top: 14px;
  }
}
