/*
Theme Name: Auto Zentrum Hannover
Description: Professional automotive dealership theme for Auto Zentrum Hannover - Complete 1:1 conversion from Next.js
Version: 2.0
Author: Auto Zentrum Hannover
Text Domain: autowerk-hannover
*/

/* Complete CSS rewrite to match exact Next.js styling with gradients and responsive design */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Image softening filters for all images across the website */
img {
  filter: blur(0.3px) brightness(1.05) contrast(0.92) saturate(0.85);
  transition: filter 0.3s ease;
}

/* Hover state to restore some sharpness on interaction */
img:hover {
  filter: blur(0.1px) brightness(1.02) contrast(0.95) saturate(0.9);
}

/* Special handling for logo images to maintain clarity */
.logo img,
img[alt*="Logo"],
img[alt*="logo"],
img[src*="logo"] {
  filter: blur(0.2px) brightness(1.02) contrast(0.95) saturate(0.9);
}

/* Partner logo images need slightly different treatment */
.partner-logos img {
  filter: blur(0.25px) brightness(1.03) contrast(0.93) saturate(0.88);
}

/* Hero background images get subtle softening */
.hero::before {
  filter: blur(0.4px) brightness(1.08) contrast(0.9) saturate(0.82);
}

/* Updated body with Apple's refined color system and typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  line-height: 1.6;
  color: #1d1d1f;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  min-height: 100vh;
  letter-spacing: -0.022em;
  font-weight: 400;
}

/* Typography matching Next.js design */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.022em;
  color: #1d1d1f;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #1d1d1f 0%, #424245 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.016em;
  color: #1d1d1f;
}

/* Layout Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Updated header with Apple's sophisticated backdrop blur and refined colors */
.site-header {
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.8) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(241, 245, 249, 0.8) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #1d1d1f;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Enhanced logo with Apple's signature gradient */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
}

.logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Navigation - Mobile First */
.main-nav {
  display: none;
}

.main-nav.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  /* Updated mobile nav background with Apple-inspired styling */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(20px);
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Refined navigation with Apple's subtle hover effects */
.main-nav a {
  color: #424245;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  letter-spacing: -0.016em;
}

.main-nav a:hover {
  color: #007aff;
  background: rgba(0, 122, 255, 0.08);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  /* Updated mobile toggle color to match Apple styling */
  color: #007aff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
  color: #5856d6;
}

/* Hero Section - Exact Next.js match */
/* Updated hero section with Apple's sophisticated gradient overlay */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(29, 29, 31, 0.4) 0%, rgba(66, 66, 69, 0.3) 50%, rgba(29, 29, 31, 0.4) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Updated to use WordPress attachment URL dynamically */
  background-image: var(
    --hero-bg-image,
    url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/ChatGPT%20Image%2022.%20Aug.%202025%2C%2004_17_55-sJMlG5igJJ5LBkeOnu504NJjRTg9Ia.png")
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

/* Updated hero content with Apple's refined typography */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  color: #1d1d1f;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.05;
  background: linear-gradient(135deg, #1d1d1f 0%, #424245 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  max-width: 768px;
  margin: 0 auto 3rem;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.6;
  color: #424245;
  font-weight: 400;
}

.hero-promise {
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Buttons - Exact Next.js styling */
/* Enhanced buttons with Apple's refined styling and interactions */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  letter-spacing: -0.016em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0056cc 0%, #4c46a6 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.btn-secondary {
  background: rgba(29, 29, 31, 0.08);
  color: #1d1d1f;
  border: 1px solid rgba(29, 29, 31, 0.2);
}

.btn-secondary:hover {
  background: rgba(29, 29, 31, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Sections */
/* Updated section styling with Apple's refined backgrounds */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: #424245;
  max-width: 768px;
  margin: 0 auto 4rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Why Auto Zentrum Section */
.why-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Enhanced feature cards with Apple's sophisticated styling */
.feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: white;
}

.feature-icon.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.feature-icon.purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.feature-icon.pink {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1d1d1f;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Process Timeline */
.process-section {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.03) 0%,
    rgba(124, 58, 237, 0.03) 50%,
    rgba(236, 72, 153, 0.03) 100%
  );
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.process-step {
  text-align: center;
  padding: 1rem;
}

.process-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.process-number.step-1 {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.process-number.step-2 {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.process-number.step-3 {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}
.process-number.step-4 {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}
.process-number.step-5 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.process-step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1d1d1f;
}

.process-step p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

/* Promise Section */
.promise-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.promise-content {
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
}

.promise-text {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.promise-text p {
  margin-bottom: 1rem;
}

.promise-quote {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid #3b82f6;
  margin: 1.5rem 0;
}

.promise-quote p {
  font-weight: 600;
  color: #1d1d1f;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.promise-quote small {
  font-size: 0.875rem;
  color: #6b7280;
}

.promise-features {
  max-width: 512px;
  margin: 2rem auto;
}

.promise-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.promise-feature svg {
  color: #3b82f6;
  flex-shrink: 0;
}

/* Partner Section */
.partner-section {
  background: linear-gradient(135deg, rgba(156, 163, 175, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.partner-logos a {
  transition: transform 0.3s ease;
}

.partner-logos a:hover {
  transform: scale(1.05);
}

.partner-logos img {
  height: 8rem;
  width: auto;
  object-fit: contain;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  background: white;
  padding: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, rgba(124, 58, 237, 0.03) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.star-rating {
  display: flex;
  gap: 0.125rem;
}

.star {
  color: #fbbf24;
  font-size: 1rem;
}

.quote-icon {
  color: #8b5cf6;
  opacity: 0.6;
}

.testimonial-text {
  color: #4b5563;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.testimonial-footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.testimonial-name {
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.25rem;
}

.testimonial-date {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Footer */
/* Updated footer with Apple's sophisticated gradient overlay */
.site-footer {
  background: linear-gradient(135deg, rgba(29, 29, 31, 0.95) 0%, rgba(66, 66, 69, 0.95) 100%);
  color: white;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: white;
  font-size: 1.125rem;
}

.footer-section p,
.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #4b5563;
  padding-top: 1rem;
  text-align: center;
  color: #9ca3af;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
    position: static;
    background: none;
    padding: 0;
    box-shadow: none;
    border-top: none;
  }

  .main-nav ul {
    flex-direction: row;
    gap: 2rem;
  }

  .main-nav a {
    padding: 0.5rem 0;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .partner-logos {
    gap: 4rem;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}

/* WordPress Specific */
.wp-block-group {
  margin-bottom: 2rem;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

/* Page Builder Compatibility */
.elementor-section {
  position: relative;
}

.elementor-widget {
  margin-bottom: 1rem;
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .mobile-menu-toggle {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    background: none;
    color: black;
  }
}
