/* ===========================================
   Illustration Styles
   Zentrierte und responsive SVG-Illustrationen
   =========================================== */

/* Allgemeiner Container für Illustrationen */
.illustration-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Basis-Klasse für alle Illustrationen */
.illustration {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Verschiedene Größenvarianten */
.illustration-sm {
  max-width: 400px;
}

.illustration-md {
  max-width: 600px;
}

.illustration-lg {
  max-width: 800px;
}

.illustration-xl {
  max-width: 900px;
}

.illustration-full {
  max-width: 100%;
}

/* Spezielle Styles für verschiedene Seitentypen */

/* Leistungsseiten - Infografiken */
.illustration-infographic {
  max-width: 850px;
  margin: 2.5rem auto;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 1rem;
}

/* Karriere-Seite Benefits */
.illustration-benefits {
  max-width: 800px;
  margin: 2rem auto;
}

/* Zeitstrahl/Timeline */
.illustration-timeline {
  max-width: 800px;
  margin: 2rem auto;
}

/* Karten/Maps */
.illustration-map {
  max-width: 700px;
  margin: 2rem auto;
}

/* 404 Seite */
.illustration-error {
  max-width: 400px;
  margin: 0 auto 1rem;
}

/* Responsive Anpassungen */
@media (max-width: 1024px) {
  .illustration-infographic,
  .illustration-lg,
  .illustration-xl {
    max-width: 100%;
    padding: 0 0.5rem;
  }
}

@media (max-width: 768px) {
  .illustration-container {
    margin: 1.5rem auto;
    padding: 0 0.5rem;
  }

  .illustration-md,
  .illustration-benefits,
  .illustration-timeline,
  .illustration-map {
    max-width: 100%;
  }

  .illustration-infographic {
    padding: 0.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }

  .illustration-error {
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .illustration-container {
    margin: 1rem auto;
  }

  .illustration-error {
    max-width: 220px;
  }
}

/* Dark Mode Support (falls später benötigt) */
@media (prefers-color-scheme: dark) {
  .illustration-infographic {
    background: #2d2d2d;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
}
