/* ============================================
   M02 MOBILE WIDTH FIX - Emergency Override
   ============================================ */

/* Alle Sections dürfen nicht über den Viewport hinausragen */
.m02-hero,
.section-organization,
.section-mobility,
.section-research,
.section-communication,
.section-creativity,
.section-quiz,
.section-roadmap,
.section-final-cta {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Hero Background Images - volle Höhe beibehalten */
.m02-hero-bg,
.m02-hero-bg img,
#hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

/* Usecase Grid bei Mobile korrekt darstellen */
@media (max-width: 768px) {
  .usecase-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  
  .usecase-card {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Absolute positionierte Dekorationen verstecken bei Mobile */
  .section-organization::after,
  .section-mobility::after,
  .section-research::after {
    display: none;
  }
}

/* Info Box bei Mobile */
@media (max-width: 768px) {
  .info-box {
    margin: 30px 16px 0;
    padding: 24px;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
  }
}

/* Quiz Container */
@media (max-width: 768px) {
  .quiz-container {
    padding: 0 16px;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .quiz-card {
    max-width: 100%;
  }
}

/* Roadmap Grid */
@media (max-width: 768px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
}

/* Final CTA */
@media (max-width: 768px) {
  .final-cta-container {
    margin: 0 16px;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
  }
}

/* ALLE Container bei Mobile mit Padding */
@media (max-width: 768px) {
  .m02-hero-content,
  .section-header,
  .usecase-grid,
  .usecase-reveal,
  .quiz-container,
  .roadmap-grid,
  .final-cta-container {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }
}
