/* ======================================================
   AUTO VERKAUFEN OBERHAUSEN – UI/UX FIXES v2
   Applied over main style.css
   ====================================================== */

/* =====================================================
   FIX 1: LOGO – No clipping, overflow visible
   ===================================================== */
.nav-logo {
  overflow: visible;
  max-width: 210px;
}
.logo-svg {
  height: 46px;
  width: auto;
  max-width: 100%;
  overflow: visible;
  display: block;
}
.footer-logo svg {
  overflow: visible;
}

/* Better logo car shape */
.logo-car-body { fill: url(#logoGrad); }

/* =====================================================
   FIX 2: NAVBAR – Sticky with smooth shadow
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
}
.header-top {
  background: var(--primary-dark);
  position: relative;
  z-index: 1001;
}
.navbar {
  position: relative;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(15,23,42,0.12);
}

/* =====================================================
   FIX 3: ICON SYSTEM – Consistent stroke-width 1.5
   ===================================================== */
.service-card-icon svg,
.process-icon svg,
.stat-icon svg,
.why-feature-icon svg,
.contact-info-icon svg,
.footer-contact-item svg,
.nav-dropdown-item svg {
  stroke-width: 1.5;
}

/* Icon colors */
.service-card-icon svg { color: var(--primary-light); }
.stat-icon svg { color: white; }

/* =====================================================
   FIX 4: SCROLL-TO-TOP – Right side, above WhatsApp
   ===================================================== */
.scroll-top {
  bottom: 5.5rem;
  right: 1.5rem;
  left: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(26,58,107,0.3);
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}

/* =====================================================
   FIX 5: PROCESS SECTION – Subway/Metro Timeline
   ===================================================== */
.process-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e8f0fe 100%);
}
.process-grid { display: none; } /* hide old grid */

.process-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  margin-bottom: 3rem;
}
.timeline-step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 2;
}
.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.timeline-circle {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 20px rgba(37,99,235,0.3);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-step:hover .timeline-circle {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37,99,235,0.45);
}
.timeline-vline {
  width: 3px;
  height: 56px;
  background: linear-gradient(180deg, var(--primary-light), rgba(37,99,235,0.15));
  border-radius: 2px;
  margin: 0 auto;
}
.timeline-step:last-child .timeline-vline { display: none; }

.timeline-content {
  padding-top: 0.75rem;
  flex: 1;
}
.timeline-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(37,99,235,0.1);
  border-radius: 20px;
  padding: 0.15rem 0.6rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.timeline-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}
.timeline-content p {
  font-size: 0.875rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.6;
}

/* Desktop: horizontal layout */
@media (min-width: 900px) {
  .process-timeline {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 100%;
    margin-bottom: 3rem;
  }
  .timeline-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: none;
    gap: 0;
  }
  .timeline-node {
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1.25rem;
  }
  .timeline-vline {
    display: none;
  }
  .timeline-hline {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), rgba(37,99,235,0.15));
    border-radius: 2px;
  }
  .timeline-step:first-child .timeline-hline-left { display: none; }
  .timeline-step:last-child .timeline-hline-right { display: none; }
  .timeline-hline-right {
    background: linear-gradient(90deg, var(--accent), rgba(37,99,235,0.15));
  }
  .timeline-content {
    padding-top: 0;
  }
  .timeline-badge {
    display: block;
    margin-bottom: 0.5rem;
  }
}

/* =====================================================
   FIX 6: FAHRZEUGBEWERTUNG – Premium Card Redesign
   ===================================================== */
.why-card {
  background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 20px 60px rgba(26,58,107,0.12);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 70%);
  border-radius: 50%;
}
.why-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(37,99,235,0.1);
}
.why-card-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.why-card-title-wrap { flex: 1; }
.why-card-title-wrap h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.15rem;
}
.why-card-title-wrap p {
  font-size: 0.78rem;
  color: var(--text-medium);
  margin: 0;
}
.why-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.why-card-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-dark);
}
.why-card-check {
  width: 20px;
  height: 20px;
  background: rgba(16,185,129,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--success);
}
.why-card-divider {
  border: none;
  border-top: 1px solid rgba(37,99,235,0.08);
  margin: 1.25rem 0;
}
.why-card-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.why-card-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 1px; }
.why-card-rating-text { font-size: 0.8rem; color: var(--text-medium); }

/* Legacy card compat */
.why-card-header { display: none; }
.why-rating { display: none; }
.why-card-stats { display: none; }

/* =====================================================
   FIX 7: KUNDENSTIMMEN – One card at a time slider
   ===================================================== */
.testimonials-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.testimonials-track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  min-width: 0; /* override browser default / old min-width */
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 1.5rem;
  font-size: 5rem;
  color: rgba(255,255,255,0.06);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testimonial-rating {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.testimonial-text {
  flex: 1; /* fill remaining height */
  color: rgba(255,255,255,0.88);
  font-size: 0.925rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto; /* push to bottom */
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  color: white;
  font-style: normal;
  display: block;
  font-size: 0.9rem;
}
.testimonial-location {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}
.testimonial-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-left: auto;
  white-space: nowrap;
}

/* =====================================================
   FIX 9: COOKIE CONSENT – Modern bottom bar
   ===================================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9500;
  background: white;
  border-top: 2px solid rgba(37,99,235,0.12);
  box-shadow: 0 -8px 40px rgba(15,23,42,0.12);
  padding: 1.25rem 1.5rem;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
}
.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cookie-consent-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  display: none; /* cleaner without icon */
}
.cookie-text {
  flex: 1;
  min-width: 200px;
}
.cookie-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}
.cookie-text p {
  font-size: 0.8rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.5;
}
.cookie-text a {
  color: var(--primary-light);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
  align-items: center;
}
.cookie-btn-reject {
  padding: 0.55rem 1.2rem;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cookie-btn-reject:hover {
  border-color: var(--danger);
  color: var(--danger);
}
.cookie-btn-accept {
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(37,99,235,0.3);
}
.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}

/* =====================================================
   FIX 11: CONTACT FORM – Upload field styling
   ===================================================== */
.form-control-file {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.upload-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.85rem 1.25rem;
  border: 2px dashed rgba(37,99,235,0.25);
  border-radius: var(--radius-lg);
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.25s;
  background: rgba(37,99,235,0.03);
  position: relative;
}
.upload-label:hover {
  border-color: var(--primary-light);
  background: rgba(37,99,235,0.06);
  transform: translateY(-1px);
}
.upload-label .upload-filename {
  font-size: 0.78rem;
  color: var(--text-medium);
  font-weight: 400;
  margin-left: auto;
}

/* =====================================================
   WHY-FEATURES – Replace emoji with proper SVG icons
   ===================================================== */
.why-feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(14,165,233,0.1));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
  transition: all var(--transition);
}
.why-feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}
.why-feature:hover .why-feature-icon {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: white;
}

/* =====================================================
   GENERAL IMPROVEMENTS
   ===================================================== */

/* Better hero mobile */
@media (max-width: 767px) {
  .hero { min-height: 80vh; }
  .hero-container { padding: 4rem 1.5rem 7rem; }
  .hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hero-cta { gap: 0.75rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* Improved service cards hover */
.service-card {
  cursor: pointer;
}
.service-card-icon {
  transition: all 0.3s ease;
}

/* Stats bar pulse on visible */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Smoother reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ focus visible */
.faq-question:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

/* Mobile nav overlay */
@media (max-width: 1023px) {
  .nav-menu {
    box-shadow: -8px 0 40px rgba(15,23,42,0.15);
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* Mobile testimonials – card already fills full width via flex: 0 0 100% */

/* District chips improved */
.district-chip {
  border-radius: var(--radius-lg);
  font-weight: 600;
}
.district-chip:hover {
  transform: translateY(-3px) scale(1.02);
}

/* Process timeline on very small screens */
@media (max-width: 479px) {
  .timeline-step {
    gap: 1rem;
  }
  .timeline-circle {
    width: 52px;
    height: 52px;
  }
}

/* =====================================================
   ENHANCEMENTS v3 – Service Page Expansions
   ===================================================== */

/* Red hero variant for unfallwagen */
.page-hero-red {
  background: linear-gradient(135deg, #0f0505 0%, #7f1d1d 50%, #991b1b 100%) !important;
}

/* Sticky sidebar */
@media (min-width: 768px) {
  .content-sidebar-sticky {
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }
}

/* =====================================================
   SO FUNKTIONIERT'S – Premium vertical process cards
   ===================================================== */
.how-it-works { margin: 2rem 0; }
.how-it-works-steps {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.how-step {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.how-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-light), var(--accent));
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: top;
}
.how-step:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.18);
  transform: translateX(5px);
}
.how-step:hover::before { transform: scaleY(1); }

/* Header row: number + icon + title */
.how-step-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.how-step-num {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.how-step-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(37,99,235,0.07);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
  transition: all var(--transition);
}
.how-step:hover .how-step-icon {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: white;
}

.how-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

/* Description row */
.how-step-desc {
  font-size: 0.875rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.65;
  padding-left: 0;
}

/* Vehicle Types Grid */
.vehicle-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
.vehicle-type-card {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  transition: all var(--transition);
}
.vehicle-type-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(37,99,235,0.2);
}
.vehicle-type-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(14,165,233,0.1));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin: 0 auto 0.75rem;
}
.vehicle-type-card h4 { font-size: 0.875rem; color: var(--primary-dark); margin-bottom: 0.2rem; }
.vehicle-type-card p { font-size: 0.78rem; color: var(--text-medium); margin: 0; }

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

/* Promise Cards (SVG icons) */
.promise-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 1.25rem 0;
}
.promise-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.promise-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.2);
  transform: translateY(-2px);
}
.promise-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.promise-card-text h4 { font-size: 0.9rem; color: var(--primary-dark); margin-bottom: 0.2rem; }
.promise-card-text p { font-size: 0.8rem; color: var(--text-medium); margin: 0; line-height: 1.5; }

@media (min-width: 768px) {
  .promise-card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Inline CTA Strip */
.inline-cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.inline-cta-strip-text h3 { color: white; font-size: 1.05rem; margin-bottom: 0.2rem; }
.inline-cta-strip-text p { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin: 0; }
.inline-cta-strip-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; flex-shrink: 0; }

/* District header image area */
.district-header-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e8f4fd, #dbeafe);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 1.75rem;
  position: relative;
  border: 2px dashed rgba(37,99,235,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.district-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}
.district-header-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.825rem;
  text-align: center;
  padding: 1rem;
}
.district-header-img-placeholder svg { color: rgba(37,99,235,0.25); }
.district-header-img-placeholder strong { color: var(--primary-light); font-size: 0.825rem; display: block; }

/* Map Embed Preview */
.map-embed-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.map-embed-preview {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #e8f4fd 0%, #c7d9f9 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}
.map-embed-preview:hover { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.map-embed-location { font-weight: 700; font-size: 1rem; color: var(--primary-dark); }
.map-embed-sub { font-size: 0.8rem; color: var(--text-medium); }
.map-embed-footer {
  padding: 0.75rem 1.25rem;
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.map-embed-footer p { font-size: 0.8rem; color: var(--text-medium); margin: 0; }

/* Map Modal */
.map-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.map-modal-overlay.open { opacity: 1; visibility: visible; }
.map-modal-box {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.map-modal-overlay.open .map-modal-box { transform: scale(1) translateY(0); }
.map-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}
.map-modal-header h3 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.map-modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--border-light);
  font-size: 1.2rem;
  line-height: 1;
}
.map-modal-close-btn:hover { background: var(--danger); color: white; border-color: var(--danger); }
.map-modal-iframe-wrap {
  position: relative;
  height: 520px;
  flex: 1 1 auto;
  min-height: 320px;
  background: var(--light-bg);
}
.map-modal-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.map-modal-footer {
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: var(--off-white);
}
.map-modal-footer p { font-size: 0.8rem; color: var(--text-medium); margin: 0; }

/* Mid-article CTA */
.mid-article-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}
.mid-article-cta h3 { color: white; margin-bottom: 0.5rem; font-size: 1.2rem; }
.mid-article-cta p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 1.25rem; }
.mid-article-cta-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Article FAQ */
.article-faq { margin: 2.5rem 0 1.5rem; }
.article-faq h2 { color: var(--primary); margin-bottom: 1.25rem; font-size: 1.4rem; }

/* Sticky article sidebar */
@media (min-width: 768px) {
  .article-sidebar-sticky {
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }
}

/* About – Mission Section */
.mission-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}
.mission-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}
.mission-content .section-tag {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
}
.mission-content h2 { color: white; margin-bottom: 1rem; }
.mission-content > p { color: rgba(255,255,255,0.8); }
.mission-points { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.mission-point { display: flex; gap: 0.75rem; align-items: flex-start; }
.mission-point-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.mission-point h4 { font-size: 0.95rem; color: white; margin-bottom: 0.15rem; }
.mission-point p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0; }
.mission-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-content: start;
}
.mission-stat-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  gap: 0.5rem;
  transition: transform var(--transition), background var(--transition);
}
.mission-stat-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}
.mission-stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
}
.mission-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
  max-width: 120px;
}

@media (min-width: 768px) {
  .mission-grid { grid-template-columns: 1fr 1fr; }
}

/* NRW Experience Section */
.nrw-section { background: var(--off-white); }
.nrw-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.nrw-content h2 { margin-bottom: 1rem; }
.nrw-content > p { color: var(--text-medium); }
.nrw-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.nrw-highlight {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.nrw-highlight:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.nrw-highlight-icon { color: var(--primary-light); margin-bottom: 0.5rem; }
.nrw-highlight h4 { font-size: 0.9rem; color: var(--primary-dark); margin-bottom: 0.2rem; }
.nrw-highlight p { font-size: 0.8rem; color: var(--text-medium); margin: 0; }
.nrw-visual {
  background: linear-gradient(135deg, var(--light-bg), #dbeafe);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 260px;
  border: 1px solid rgba(37,99,235,0.15);
  text-align: center;
}
.nrw-visual h3 { color: var(--primary); margin: 0; }
.nrw-visual p { color: var(--text-medium); font-size: 0.875rem; margin: 0; }
.nrw-districts-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.nrw-chip {
  background: white;
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--primary-light);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .nrw-grid { grid-template-columns: 1fr 1fr; }
}

/* About – Static Testimonials */
.about-testimonials-section { background: var(--off-white); }
.about-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.about-testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.about-testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.about-testimonial-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 1rem; }
.about-testimonial-text {
  font-style: italic;
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.about-testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.about-testimonial-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.about-testimonial-name { font-weight: 600; color: var(--primary-dark); display: block; font-size: 0.9rem; }
.about-testimonial-location { font-size: 0.8rem; color: var(--text-medium); }

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

/* Enhanced nav dropdown entrance */
.nav-dropdown { transform-origin: top center; }

/* Customer-focused section */
.customer-focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.customer-focus-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.customer-focus-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.customer-focus-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(14,165,233,0.1));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}
.customer-focus-item h4 { font-size: 0.95rem; color: var(--primary-dark); margin-bottom: 0.2rem; }
.customer-focus-item p { font-size: 0.85rem; color: var(--text-medium); margin: 0; }

@media (min-width: 640px) {
  .customer-focus-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   Info Card Icon – SVG-ready icon wrapper
   Replaces legacy emoji-based font-size approach
   ===================================================== */
.info-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(14,165,233,0.1));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin: 0 auto 0.9rem;
  font-size: 0;
  transition: all var(--transition);
}
.info-card-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}
.info-card {
  transition: all var(--transition);
  cursor: default;
}
.info-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(37,99,235,0.2);
}
.info-card:hover .info-card-icon {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: white;
}

/* =====================================================
   Nav Dropdown – Hover gap bridge + close delay
   Prevents accidental close when mousing into dropdown
   ===================================================== */
@media (min-width: 1024px) {
  .has-dropdown {
    /* Bridge element spans the 0.5rem gap below the button */
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
  }
  .nav-dropdown {
    top: 100%;
    transition: opacity 0.2s ease 0.08s, visibility 0.2s ease 0.08s, transform 0.2s ease 0.08s;
  }
  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    transition-delay: 0s;
  }
}

/* =====================================================
   Related Section – consistent spacing for service pages
   ===================================================== */
.related-section {
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
}

/* =====================================================
   BENEFIT ICONS – SVG wrapper for contact-form benefits
   ===================================================== */
.benefit-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  font-size: 0; /* suppress any stray text */
}
.benefit-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* =====================================================
   MOBILE RESPONSIVE IMPROVEMENTS
   ===================================================== */

/* ── Small screens (< 768px) ─────────────────────── */
@media (max-width: 767px) {
  /* Reduce section padding */
  .section-padding { padding: 2.75rem 0; }
  .contact-form-section { padding: 2.75rem 0; }
  .section-header { margin-bottom: 2rem; }

  /* Page hero padding and button layout */
  .page-hero { padding: 2.75rem 0; }
  .page-hero-blog { padding: 2rem 0; }
  .page-hero-subtitle { font-size: 0.95rem; }
  .page-hero-cta { flex-direction: column; gap: 0.75rem; }
  .page-hero-cta .btn { width: 100%; justify-content: center; }

  /* Stats bar – tighter items */
  .stat-item { padding: 1rem 0.9rem; gap: 0.65rem; }
  .stat-icon { width: 42px; height: 42px; flex-shrink: 0; }
  .stat-number { font-size: 1.35rem; }
  .stat-label { font-size: 0.75rem; }

  /* Why card full width */
  .why-card { max-width: 100%; }

  /* Inline CTA strip – stack on mobile */
  .inline-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
  .inline-cta-strip-actions {
    width: 100%;
    flex-direction: column;
  }
  .inline-cta-strip-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* FAQ accordion tighter touch targets */
  .faq-question { padding: 1rem 1.25rem; font-size: 0.9rem; }
  .faq-answer { padding: 0 1.25rem 1rem; }

  /* Process steps */
  .process-step { padding: 1.5rem 1rem; }

  /* Blog card image */
  .blog-card-img { height: 170px; }

  /* Error page */
  .error-code { font-size: 5rem; }

  /* Map modal iframe – never taller than viewport */
  .map-modal-iframe-wrap { height: min(55vh, 300px) !important; min-height: 200px; }
  .map-embed-preview { height: 140px; }

  /* District header image – shorter on mobile */
  .district-header-img { height: 160px; }

  /* Footer CTA bar */
  .footer-cta-bar { padding: 1.25rem 0; }

  /* XL button – slightly smaller on mobile */
  .btn-xl { padding: 0.9rem 1.75rem; font-size: 0.95rem; }

  /* Blog article mid-CTA */
  .mid-article-cta { padding: 1.5rem; }
  .mid-article-cta-actions { flex-direction: column; align-items: stretch; }
  .mid-article-cta-actions .btn { width: 100%; justify-content: center; }

  /* Blog article image */
  .article-image { height: 220px !important; }

  /* CTA section */
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 360px; justify-content: center; }

  /* Hero trust badges – wrap cleanly */
  .hero-trust { gap: 0.6rem; }
  .hero-trust-divider { display: none; }
}

/* ── Very small screens (< 380px) ────────────────── */
@media (max-width: 380px) {
  /* Stats bar: single column to prevent icon/text crush */
  .stats-grid { grid-template-columns: 1fr; gap: 0.75rem; }

  /* Promise cards: single column */
  .promise-card-grid { grid-template-columns: 1fr; }

  /* Vehicle type cards: single column */
  .vehicle-types-grid { grid-template-columns: 1fr; }

  /* NRW highlights: single column */
  .nrw-highlights { grid-template-columns: 1fr; }

  /* Testimonials: full width card */
  .testimonial-card { min-width: calc(100vw - 3rem); padding: 1.5rem 1.25rem; }

  /* Smaller button text */
  .hero-cta .btn, .page-hero-cta .btn { font-size: 0.85rem; padding: 0.75rem 1.25rem; }

  /* Footer legal links: stack vertically */
  .footer-legal-links { flex-direction: column; align-items: center; gap: 0.5rem; }

  /* Footer CTA buttons: stack */
  .footer-cta-btns { flex-direction: column; width: 100%; }
  .footer-cta-btns .btn { width: 100%; justify-content: center; }

  /* Reduce section gap even further */
  .section-padding { padding: 2.25rem 0; }
}

/* ── Tablet range (768–1023px): sidebar tweaks ────── */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Slightly reduced section padding */
  .section-padding { padding: 3.5rem 0; }

  /* Narrower sidebars – prevents squished content areas */
  .content-layout { grid-template-columns: 1fr 255px; }
  .article-layout { grid-template-columns: 1fr 255px; }
  .faq-layout { grid-template-columns: 255px 1fr; }
  .contact-form-wrapper { grid-template-columns: 280px 1fr; }

  /* Footer: force 2 columns on tablet */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Process grid: 2×2 on narrow tablets (768–899px) */
@media (min-width: 768px) and (max-width: 899px) {
  .process-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .process-connector { display: none !important; }
}

/* ── Navigation touch improvements (< 1024px) ─────── */
@media (max-width: 1023px) {
  .nav-link { padding: 0.75rem 1rem; min-height: 48px; }
  .nav-dropdown .nav-link { padding: 0.65rem 1rem; min-height: 44px; }
  .nav-cta .btn { min-height: 48px; justify-content: center; }
}

/* ── Map modal – bottom sheet on mobile ──────────── */
@media (max-width: 767px) {
  .map-modal-overlay { padding: 0; align-items: flex-end; }
  .map-modal-box {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 90dvh;
    max-height: 90vh;
  }
}

/* ── WhatsApp: icon-only bubble on mobile ─────────── */
@media (max-width: 767px) {
  .whatsapp-label {
    display: none;
  }
  .whatsapp-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
}

/* ── iOS safe area insets ─────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  /* WhatsApp lifts up by safe-area height */
  .whatsapp-float {
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
  /* Scroll-top stays above WhatsApp: 5.5rem base already clears it */
  .scroll-top {
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
  .cookie-consent {
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
}
@supports (padding-top: env(safe-area-inset-top)) {
  @media (max-width: 768px) {
    .admin-topbar {
      padding-top: env(safe-area-inset-top);
      height: calc(var(--admin-topbar-h) + env(safe-area-inset-top));
    }
    .admin-content {
      padding-top: calc(var(--admin-topbar-h) + env(safe-area-inset-top) + 1rem);
    }
  }
}

/* =====================================================
   MOBILE-FIRST v4 – Comprehensive Responsive Rebuild
   Fills gaps in the base responsive system above.
   Target: real-world phones 320px–767px, all orientations
   ===================================================== */

/* ── 0. Overflow prevention ──────────────────────────
   body already has overflow-x: hidden; reinforce html
   and ensure no wide child breaks the layout          */
html { overflow-x: hidden; }

/* ── 1. iOS input zoom prevention ───────────────────
   iOS Safari zooms in when input font-size < 16px.
   Force 16px on mobile, restore normal size on desktop */
@media (max-width: 767px) {
  .form-control,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 1rem; /* = 16px, prevents iOS auto-zoom */
  }
}

/* ── 2. Container: tighter padding on very small phones */
@media (max-width: 360px) {
  .container { padding-left: 0.875rem; padding-right: 0.875rem; }
}

/* ── 3. Logo SVG: scale on very small screens ────────── */
@media (max-width: 360px) {
  .logo-svg { height: 38px; }
}

/* ── 4. Hero: trim excess padding, reduce min-height ─── */
@media (max-width: 767px) {
  .hero { min-height: min(75vh, 580px); }
  .hero-container {
    padding: 2.5rem 1.5rem 4.5rem;
    gap: 1.25rem;
  }
  .hero-title {
    font-size: clamp(1.6rem, 7.5vw, 2.1rem) !important;
    line-height: 1.15;
    margin-bottom: 0.75rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  .hero-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.875rem;
  }
  .hero-cta {
    gap: 0.6rem;
    margin-bottom: 1.25rem;
  }
  .hero-trust { gap: 0.4rem; }
  .hero-trust-item { font-size: 0.78rem; }
}
@media (max-width: 380px) {
  .hero { min-height: auto; }
  .hero-container { padding: 2rem 1rem 4rem; }
}

/* ── 5. Stats bar ────────────────────────────────────── */
@media (max-width: 767px) {
  .stats-bar { padding: 1.5rem 0; }
}

/* ── 6. Service cards: reduce padding on mobile ──────── */
@media (max-width: 767px) {
  .service-card { padding: 1.5rem; }
  .service-card-icon { width: 54px; height: 54px; margin-bottom: 0.875rem; }
}

/* ── 7. CTA section: stack buttons ──────────────────── */
@media (max-width: 767px) {
  .cta-section { padding: 3rem 0; }
  .cta-title { font-size: clamp(1.3rem, 6.5vw, 1.75rem); }
  .cta-subtitle { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-actions .btn { justify-content: center; }
}

/* ── 8. Promise grid: base has 1fr 1fr, no mobile override */
@media (max-width: 480px) {
  .promise-grid { grid-template-columns: 1fr; }
}

/* ── 9. Contact form improvements ───────────────────── */
@media (max-width: 767px) {
  .vehicle-form { padding: 1.5rem 1.25rem; box-shadow: var(--shadow-md); }
  /* Force single column on all form rows */
  .form-row { grid-template-columns: 1fr !important; }
  /* Minimum 44px touch targets on form controls */
  .form-control { min-height: 46px; }
  select.form-control { min-height: 46px; }
  .contact-benefits { gap: 0.875rem; }
  .benefit-item strong { font-size: 0.875rem; }
}

/* ── 10. Page heroes (inner pages) ──────────────────── */
@media (max-width: 767px) {
  .page-hero { padding: 2rem 0 1.75rem; }
  .page-hero-blog { padding: 1.75rem 0 1.5rem; }
  .page-hero-legal { padding: 1.5rem 0; }
  .page-hero-title { font-size: clamp(1.4rem, 6.5vw, 1.85rem); }
  .blog-article-hero-title { font-size: clamp(1.2rem, 5.5vw, 1.6rem); }
  .page-hero-subtitle { font-size: 0.875rem; margin-bottom: 1.25rem; }
  .breadcrumb { margin-bottom: 0.75rem; font-size: 0.72rem; }
}

/* ── 11. Content layouts: explicit flex on mobile ────── */
@media (max-width: 767px) {
  .content-layout {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem;
  }
  .article-layout {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem;
  }
  .faq-layout {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem;
  }
  .content-main,
  .content-sidebar { min-width: 0; width: 100%; }
  .sidebar-card { padding: 1.25rem; }
  .sidebar-card h3 { font-size: 0.95rem; }
}

/* ── 12. Blog / article ──────────────────────────────── */
@media (max-width: 767px) {
  .blog-card-body { padding: 1.25rem; }
  .blog-card-title { font-size: 1rem; }
  .blog-card-excerpt { font-size: 0.825rem; }
  .article-body { font-size: 0.95rem; line-height: 1.75; }
  .article-body h2 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; }
  .article-body h3 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
  .article-cta-box { padding: 1.5rem; }
  .article-cta-buttons { flex-direction: column; gap: 0.5rem; }
  .article-cta-buttons .btn { width: 100%; justify-content: center; }
}

/* ── 13. About page ──────────────────────────────────── */
@media (max-width: 767px) {
  .about-stats-card { padding: 1.5rem; gap: 1rem; }
  .about-stat-num { font-size: 1.6rem; }
  .mission-section { padding: 3rem 0 !important; }
  .mission-stat-num { font-size: 1.75rem; }
  .mission-stat-card { min-height: 100px; padding: 1.25rem 1rem; }
}
@media (max-width: 380px) {
  .mission-stats { grid-template-columns: 1fr; }
}

/* ── 14. Testimonials ────────────────────────────────── */
@media (max-width: 767px) {
  .testimonial-card { padding: 1.5rem; }
  .testimonial-text { font-size: 0.875rem; line-height: 1.7; }
}

/* ── 15. Footer ──────────────────────────────────────── */
@media (max-width: 767px) {
  .footer-main { padding: 2.5rem 0 1.5rem; }
  .footer-grid { gap: 1.75rem; }
}

/* ── 16. Section headers ─────────────────────────────── */
@media (max-width: 767px) {
  .section-header { margin-bottom: 1.75rem; }
  .section-tag { font-size: 0.72rem; padding: 0.3rem 0.8rem; }
}

/* ── 17. Minimum 44px touch targets on buttons ───────── */
@media (max-width: 767px) {
  .btn:not(.btn-sm) { min-height: 44px; }
  .faq-question { min-height: 52px; }
  .nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .district-chip { min-height: 40px; }
}

/* ── 18. Cookie consent: better mobile layout ─────────── */
@media (max-width: 480px) {
  .cookie-consent { padding: 1rem; }
  .cookie-consent-inner { flex-direction: column; gap: 0.75rem; }
  .cookie-actions { flex-direction: row; width: 100%; }
  .cookie-btn-accept,
  .cookie-btn-reject { flex: 1; text-align: center; }
}

/* ── 19. FAQ category filter: horizontal scroll ──────── */
@media (max-width: 767px) {
  .faq-category-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem;
  }
  .faq-category-filter::-webkit-scrollbar { display: none; }
  .faq-cat-btn { white-space: nowrap; flex-shrink: 0; }
}

/* ── 20. Process timeline: fit narrow screens ─────────── */
@media (max-width: 767px) {
  .timeline-step { max-width: 100%; }
  .timeline-circle { width: 56px; height: 56px; }
  .timeline-content h3 { font-size: 0.95rem; }
  .timeline-content p { font-size: 0.825rem; }
  .how-step { padding: 1.25rem; }
  .how-step-title { font-size: 0.95rem; }
}

/* ── 21. NRW highlights: 1-col below 480px ───────────── */
@media (max-width: 480px) {
  .nrw-highlights { grid-template-columns: 1fr; }
}

/* ── 22. Contact info grid ───────────────────────────── */
@media (max-width: 767px) {
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
  .contact-info-card { padding: 1.5rem 1rem; }
  .contact-info-icon { width: 52px; height: 52px; }
}
@media (max-width: 400px) {
  .contact-info-grid { grid-template-columns: 1fr; }
}

/* ── 23. District chips: slightly smaller on phones ──── */
@media (max-width: 767px) {
  .district-chip { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
}

/* ── 24. Section-specific padding reductions ─────────── */
@media (max-width: 767px) {
  .nrw-section.section-padding { padding: 2.75rem 0; }
  .testimonials-section.section-padding { padding: 2.75rem 0; }
  .why-section.section-padding { padding: 2.75rem 0; }
  .related-section.section-padding { padding: 2.75rem 0; }
}

/* ── 25. Error page ──────────────────────────────────── */
@media (max-width: 767px) {
  .error-page { padding: 5rem 0; }
  .error-title { font-size: 1.5rem; }
  .error-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .error-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ── 26. Modal: full-width on phones ─────────────────── */
@media (max-width: 480px) {
  .modal { padding: 1.5rem; }
  .modal h3 { font-size: 1.1rem; }
}

/* ── 27. How-it-works (service pages) ───────────────── */
@media (max-width: 767px) {
  .how-step { padding: 1.25rem 1.1rem; }
  .how-step-title { font-size: 0.95rem; }
  .how-step-desc { font-size: 0.85rem; }
}

/* ── 28. Vehicle types & promise cards: 1-col at 380px  */
/* (already in earlier section for < 380px)
   Extend vehicle-types to a friendlier 2-col on phones  */
@media (max-width: 767px) {
  .vehicle-types-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .vehicle-type-card { padding: 1rem; }
}

/* ── 29. Inline CTA strip: better mobile stacking ───── */
@media (max-width: 767px) {
  .inline-cta-strip { padding: 1.25rem; border-radius: var(--radius-lg); }
  .inline-cta-strip-text h3 { font-size: 0.95rem; }
  .inline-cta-strip-text p { font-size: 0.8rem; }
}

/* ── 30. Mid-article CTA ─────────────────────────────── */
@media (max-width: 767px) {
  .mid-article-cta { padding: 1.5rem; }
  .mid-article-cta h3 { font-size: 1.05rem; }
  .mid-article-cta p { font-size: 0.85rem; }
}

/* ── 31. Alert boxes ─────────────────────────────────── */
@media (max-width: 767px) {
  .alert-box { padding: 0.875rem 1rem; font-size: 0.85rem; }
}

/* ── 32. Header top: single line on phones ───────────── */
@media (max-width: 767px) {
  .header-top { padding: 0.35rem 0; }
  .header-top-right {
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
  }
  .header-phone-top { font-size: 0.78rem; }
  .btn-callback-top { font-size: 0.7rem; padding: 0.2rem 0.6rem; }
}

/* ── 33. Pagination: compact on mobile ───────────────── */
@media (max-width: 480px) {
  .pagination { gap: 0.25rem; margin-top: 2rem; }
  .pagination-btn { padding: 0.5rem 0.875rem; font-size: 0.85rem; }
  .pagination-page { width: 34px; height: 34px; font-size: 0.85rem; }
}

/* ── 34. Customer focus grid: full width on mobile ───── */
@media (max-width: 767px) {
  .customer-focus-grid { grid-template-columns: 1fr; gap: 0.875rem; }
}

/* ── 35. NRW visual: reduce height on mobile ─────────── */
@media (max-width: 767px) {
  .nrw-visual { min-height: 200px; padding: 1.5rem; }
}

/* ── 36. About testimonials: spacing ─────────────────── */
@media (max-width: 767px) {
  .about-testimonial-card { padding: 1.5rem; }
  .about-testimonial-text { font-size: 0.875rem; }
}

/* ── 37. Sidebar sticky: disable on mobile ───────────── */
@media (max-width: 767px) {
  .content-sidebar-sticky,
  .article-sidebar-sticky {
    position: static !important;
    top: auto !important;
  }
}

/* ── 38. Buttons: min-height on very small phones ──────── */
@media (max-width: 380px) {
  .btn-xl { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
  .page-hero-cta .btn { font-size: 0.875rem; }
}

/* =====================================================
   KONTAKT PAGE – Targeted form + layout fixes
   ===================================================== */

/* ── Contact info cards (4-up) ───────────────────────── */
@media (max-width: 767px) {
  .contact-info-section.section-padding { padding: 1.75rem 0 0; }
  /* Override earlier 1fr 1fr entry: tighter sizing */
  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .contact-info-card {
    padding: 1.25rem 0.75rem;
    border-radius: var(--radius-lg);
  }
  .contact-info-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-lg);
    margin-bottom: 0.6rem;
  }
  .contact-info-icon svg { width: 22px; height: 22px; }
  .contact-info-card h3 { font-size: 0.85rem; margin-bottom: 0.25rem; }
  .contact-info-card p { font-size: 0.75rem; }
  .contact-info-action { font-size: 0.7rem; margin-top: 0.25rem; }
}
@media (max-width: 360px) {
  /* On truly tiny phones: single column */
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-info-card { padding: 1rem; flex-direction: row; text-align: left; gap: 0.75rem; }
  .contact-info-icon { margin-bottom: 0; flex-shrink: 0; }
}

/* ── Contact form wrapper: form first on mobile ──────── */
@media (max-width: 767px) {
  /* Reduce gap between form and sidebar */
  .contact-form-wrapper { gap: 1.5rem; }

  /* Put the actual form above the sidebar benefits */
  .contact-form-main { order: 1; }
  .contact-form-side  { order: 2; }

  /* Sidebar below form: compact layout */
  .contact-form-side .contact-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .benefit-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.875rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
  }
  .benefit-item strong { font-size: 0.8rem; }
  .benefit-item p { font-size: 0.72rem; line-height: 1.4; margin: 0; }
  .benefit-icon { width: 32px; height: 32px; }
  .benefit-icon svg { width: 16px; height: 16px; }
  .contact-direct { margin-top: 0.5rem; }
  .contact-direct-label { font-size: 0.8rem; margin-bottom: 0.5rem; }
}
@media (max-width: 380px) {
  /* On very small phones: benefits back to single column */
  .contact-form-side .contact-benefits { grid-template-columns: 1fr; }
  .benefit-item { flex-direction: row; align-items: flex-start; gap: 0.6rem; padding: 0.75rem; }
}

/* ── Vehicle form internals ──────────────────────────── */
@media (max-width: 767px) {
  /* Already set vehicle-form padding in section 9 above; reinforce */
  .vehicle-form { padding: 1.5rem 1.125rem; }
  .form-section-title { font-size: 0.72rem; padding-bottom: 0.5rem; margin-bottom: 1rem; margin-top: 1.25rem; }
  .form-group { gap: 0.3rem; }
  .form-group label { font-size: 0.8rem; }

  /* Upload button: wrap long text gracefully */
  .upload-label {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .form-hint { font-size: 0.72rem; }

  /* Privacy checkbox */
  .form-privacy { padding: 0.875rem 0; }
  .checkbox-label { font-size: 0.8rem; gap: 0.5rem; line-height: 1.5; }

  /* Submit button: prominent */
  #submitBtn { min-height: 54px; font-size: 1rem; letter-spacing: 0.01em; }
}

/* ── Map section ─────────────────────────────────────── */
@media (max-width: 767px) {
  .map-section.section-padding { padding: 2.5rem 0; }
  .map-placeholder { min-height: 200px; border-radius: var(--radius-xl); }
  .map-overlay { padding: 1.5rem 1.25rem; }
  .map-overlay h3 { font-size: 1rem; }
  .map-overlay p { font-size: 0.8rem; max-width: 100%; }
  .map-overlay .btn { font-size: 0.875rem; padding: 0.65rem 1.25rem; }
}

/* ── Success / error banners ─────────────────────────── */
@media (max-width: 767px) {
  .success-banner,
  .error-banner {
    margin: 0.75rem 0;
    padding: 1rem;
    gap: 0.75rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
  }
  .success-banner svg,
  .error-banner svg { width: 20px; height: 20px; flex-shrink: 0; }
  .success-banner p,
  .error-banner p { font-size: 0.825rem; }
}

