/*
Theme Name: Autohaus Modern
Description: Ein modernes, responsives WordPress-Theme für Autohäuser mit Custom Post Types für Fahrzeuge, Filteroptionen und professionellem Design.
Version: 1.0
Author: Autohaus Modern
Text Domain: autohaus-modern
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* CSS Custom Properties */
:root {
  --primary-color: #dc2626; /* Rot für Buttons & Highlights */
  --secondary-color: #374151; /* Dunkles Grau */
  --dark-color: #1f2937; /* Anthrazit */
  --light-gray: #f9fafb;
  --medium-gray: #6b7280;
  --white: #ffffff;
  --black: #111827;
  
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset und Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.container {
  max-width: 1280px; /* Optimale Breite für einheitliches Layout */
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem; /* entspricht sm:px-6 */
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem; /* entspricht lg:px-8 */
  }
}

.container-wide {
  max-width: 1600px; /* Für extra breite Layouts wenn benötigt */
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #b91c1c;
  border-color: #b91c1c;
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark-color);
  border-color: var(--dark-color);
}

.btn-secondary:hover {
  background-color: var(--dark-color);
  color: var(--white);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ========================================
   TOP BAR STYLES
======================================== */
.top-bar {
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .hero-section {
        min-height: 30vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   SOCIAL LINKS STYLES
======================================== */
.social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

/* Footer Social Links */
.footer .social-links {
    justify-content: flex-start;
    margin-top: 1rem;
}

.footer .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .social-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-social h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

/* Site Footer */

/* Header */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

/* Site Branding */
.site-branding {
  display: flex;
  align-items: center;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
  opacity: 0.8;
}

.site-logo img {
  height: 50px;
  width: auto;
}

/* Custom Logo Link */
.custom-logo-link {
  display: inline-block;
}

.custom-logo {
  height: auto;
  max-height: 45px;
  width: auto;
  transition: opacity 0.3s ease;
}

.custom-logo:hover {
  opacity: 0.8;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Navigation */
.main-navigation {
  display: none;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.main-navigation a {
  color: var(--secondary-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--dark-color);
  cursor: pointer;
  padding: 0.5rem;
  margin: -0.5rem;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  margin-bottom: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--secondary-color);
  text-decoration: none;
  border-bottom: 1px solid var(--light-gray);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Sections */
.section {
  padding: 4rem 0; /* py-16 entspricht */
}

@media (min-width: 1024px) {
  .section {
    padding: 6rem 0; /* lg:py-24 entspricht */
  }
}

.section-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
}

.section-hero .section-title {
  color: var(--white);
}

.section-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-radius: var(--border-radius); /* rounded-lg entspricht */
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Section CTA Button */
.section-cta {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-gray) !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-message {
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  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;
}

.form-message p {
  margin: 0;
}

.form-message p + p {
  margin-top: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
  font-size: 0.875rem;
  font-family: var(--font-primary);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition);
  background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Checkbox Styling */
.checkbox-group {
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.4;
  font-family: var(--font-primary);
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: relative;
  height: 1rem;
  width: 1rem;
  background-color: var(--white);
  border: 1px solid #d1d5db;
  border-radius: 3px;
  margin-right: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.checkbox-label:hover input ~ .checkmark {
  background-color: #f9fafb;
}

.checkbox-label input:checked ~ .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-label input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-label .checkmark:after {
  left: 0.25rem;
  top: 0.125rem;
  width: 0.25rem;
  height: 0.5rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  color: var(--secondary-color);
}

.checkbox-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

.contact-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-notice {
  font-size: 0.875rem;
  color: var(--medium-gray);
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-family: var(--font-primary);
}

/* Contact Info Wrapper */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Location Cards */
.location-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
}

.location-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.location-icon {
  color: var(--primary-color);
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.location-icon svg {
  width: 100%;
  height: 100%;
}

.location-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.location-detail {
  margin-bottom: 1rem;
}

.location-detail:last-child {
  margin-bottom: 0;
}

.location-detail h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.location-detail p {
  margin: 0;
  color: var(--medium-gray);
  line-height: 1.5;
}

.location-detail a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.location-detail a:hover {
  color: var(--secondary-color);
}

/* Spezielle Styling für Adress-Links */
.location-detail .address-link {
  color: var(--medium-gray);
  text-decoration: none;
  font-weight: normal;
  display: inline-block;
  position: relative;
  transition: all var(--transition);
}

.location-detail .address-link:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.location-detail .address-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width var(--transition);
}

.location-detail .address-link:hover::after {
  width: 100%;
}

/* Services Section mit Hintergrundbild */
.section-hero .section-header {
  position: relative;
  z-index: 2;
}

.services-background-image {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg); /* shadow-xl entspricht */
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
  width: 100%; /* Explizite Breite für den Container */
  max-width: none; /* Keine Begrenzung, nutzt volle Container-Breite */
}

.services-background-image img {
  width: 100% !important; /* Stellt sicher, dass das Bild immer die volle Breite nutzt */
  height: 12rem; /* h-48 entspricht */
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .services-background-image img {
    height: 16rem; /* sm:h-64 entspricht */
  }
}

@media (min-width: 768px) {
  .services-background-image img {
    height: 20rem; /* md:h-80 entspricht */
  }
}

@media (min-width: 1024px) {
  .services-background-image img {
    height: 24rem; /* lg:h-96 entspricht */
  }
}

.services-background-image .section-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
}

.services-background-image .section-header {
  text-align: center;
  margin-bottom: 0;
}

.services-background-image .section-title {
  font-size: 2rem; /* Kleinere Titel wie bei anderen Sections */
  font-weight: 700;
  margin-bottom: 1rem;
  /* Farbe wird über Customizer gesteuert */
}

@media (min-width: 640px) {
  .services-background-image .section-title {
    font-size: 2.5rem; /* sm: Konsistent mit anderen Sections */
  }
}

.services-background-image .section-subtitle {
  font-size: 1.125rem; /* Konsistent mit anderen Sections */
  /* Farbe wird über Customizer gesteuert */
}

/* Utility Classes für Tailwind-ähnliche Funktionalität */
.w-full { 
  width: 100% !important; 
}
.h-48 { height: 12rem; }
.sm\:h-64 { height: 16rem; }
.md\:h-80 { height: 20rem; }
.lg\:h-96 { height: 24rem; }
.object-cover { 
  object-fit: cover !important; 
}
.mt-8 { margin-top: 2rem; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Vehicle Grid */
.vehicles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.vehicle-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.vehicle-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
}

.vehicle-content {
  padding: 1.5rem;
}

.vehicle-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.vehicle-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--medium-gray);
}

.vehicle-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-gray);
  border-radius: 50%;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-card p {
  color: var(--medium-gray);
  line-height: 1.6;
}

/* Filter Section */
.filter-section {
  background-color: var(--light-gray);
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.filter-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--white);
  text-decoration: none;
}

/* Footer Logo */
.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 65px; /* Etwas kleiner für mobile Geräte */
  width: auto; /* Automatische Breite für natürliches Seitenverhältnis */
}

/* Footer spezifische custom-logo Überschreibung */
.footer-logo .custom-logo {
  height: 65px !important;
  width: auto !important;
  max-height: none !important;
  max-width: 180px !important; /* Maximale Breite begrenzen */
}

@media (min-width: 640px) {
  .footer-logo img {
    height: 80px; /* Etwas größer für Tablets */
    width: auto;
  }
  
  .footer-logo .custom-logo {
    height: 80px !important;
    width: auto !important;
    max-width: 220px !important;
  }
}

@media (min-width: 768px) {
  .footer-logo img {
    height: 95px; /* Optimale Größe für Desktop - etwas kleiner */
    width: auto;
  }
  
  .footer-logo .custom-logo {
    height: 95px !important;
    width: auto !important;
    max-width: 260px !important;
  }
}

.footer-logo-subtitle {
  margin-top: 0.5rem;
  margin-bottom: 0;
  color: var(--white); /* Weiß wie contact-details */
  font-size: 1rem; /* Gleiche Größe wie contact-details */
  line-height: 1.4;
}



/* Footer Kontakt mit Icons */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  margin-top: 0.125rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-details {
  flex: 1;
  line-height: 1.4;
}

.contact-details strong {
  color: var(--white);
  display: inline;
  margin-right: 0.5rem;
}

.contact-details a {
  color: var(--white);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Footer Rechtliche Links */
.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-links li {
  margin-bottom: 0.5rem;
}

.footer-legal-links a {
  color: var(--white); /* Weiß statt grau */
  text-decoration: none;
  font-size: 1rem; /* Gleiche Größe wie contact-details */
  line-height: 1.4;
}

.footer-legal-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--secondary-color);
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* Footer Bottom mit SVG Icons */
.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.footer-heart-icon {
  height: 1rem;
  width: 1rem;
  margin: 0 0.25rem;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.footer-pulse-icon {
  height: 1rem;
  width: 1.5rem;
  margin: 0 0.25rem;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

/* Responsive Design */
@media (min-width: 768px) {
  .main-navigation {
    display: block;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .filter-form {
    grid-template-columns: repeat(4, 1fr) auto;
  }
  
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .vehicles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .filter-form {
    grid-template-columns: repeat(5, 1fr) auto;
  }
}

/* WordPress Specific Styles */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--medium-gray);
  text-align: center;
  padding: 0.5rem;
}

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  word-wrap: normal !important;
}

/* Extra kleine Bildschirme */
@media (max-width: 480px) {
    .hero-section {
        min-height: 25vh;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ====================================
   ERSATZTEILSHOP SECTION
   ==================================== */

.ersatzteilshop-content {
    margin-top: 3rem;
}

.ersatzteilshop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.ersatzteilshop-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.ersatzteilshop-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ersatzteilshop-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    padding-left: 2rem;
}

.ersatzteilshop-features li:last-child {
    border-bottom: none;
}

.ersatzteilshop-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.ersatzteilshop-cta {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 0;
}

.cta-box {
    padding: 2rem;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--light-gray) 0%, #f3f4f6 100%);
    border: 1px solid #e5e7eb;
}

.cta-box h4 {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ersatzteilshop-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design für Ersatzteilshop */
@media (max-width: 768px) {
    .ersatzteilshop-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ersatzteilshop-buttons {
        flex-direction: column;
    }
    
    .ersatzteilshop-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ersatzteilshop-content {
        margin-top: 2rem;
    }
    
    .ersatzteilshop-info h3 {
        font-size: 1.25rem;
    }
    
    .cta-box h4 {
        font-size: 1.125rem;
    }
}
