/* ==========================================================================
   e-autosankauf.de - Responsive Breakpoints & Mobile Navigation
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-highlights {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-buttons {
    justify-content: center;
    margin-bottom: 10px;
  }

  .hero-cta-cluster {
    margin-top: 24px;
    padding-top: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 580px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-topbar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
  }

  .nav-links.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .header-actions .btn {
    display: none;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding-top: 36px;
  }

  .bottom-cta-title {
    font-size: 1.85rem;
  }

  .bottom-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .bottom-cta-actions .btn,
  .bottom-cta-actions .hotline-link {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .mobile-sticky-bar {
    display: block;
  }

  body {
    padding-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .valuation-card {
    padding: 20px 16px;
  }
}
