@media (max-width: 768px) {
    .hero {
        background: url(/Resourcen/mobile.png) no-repeat center top/cover; /* POAH machen wa noch*/
    }

  .hero-content .cta-button {
    display: block;
    width: 100%;
    max-width: none;
    margin: 20px 0 0;
    padding: 16px 0;
    font-size: 1.1rem;
    box-sizing: border-box;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1001;
  }

  .contactbutton {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 0;               /* top/right/bottom/left: 0 */
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    visibility: hidden;
    transform: translateX(100%);  /* hide to the right */
    transition: transform 0.3s ease;
  }

  .nav-links.active {
    visibility: visible;
    transform: translateX(0);
  }

  .burger.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
  }
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  .burger.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .nav-links li a {
    font-size: 1.25rem;
    color: #111;
    text-decoration: none;
  }
  
  .about-grid {
    margin-top: 0.5rem;
    flex-direction: column;
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

    .impressum-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .service-frame,
  .service-card,
  .service-desc {
    /* höchstens 1rem vertikal und 1.5rem horizontal hab 1rem gemacht aber das hier hat verbesserungs bedarf für mini handies */
    padding: 0.8rem 1rem;
  }
}
