body {
  background-color: #f8f9fa;
  font-family: "Segoe UI", sans-serif;
}

h1, h4 {
  color: #004080;
}

.card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card-header {
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  border-bottom: none;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  text-align: center;
}

.card-mathe { background-color: rgb(209,78,42); }
.card-info { background-color: rgb(252,240,96); }
.card-56 { background-color: rgb(145,38,124); }
.card-wp { background-color: rgb(28,63,139); }
.card-toolsif { background-color: rgb(81,127,187); }
.card-toolsm { background-color: rgb(175,211,174); }

.card-img-top {
  max-height: 160px;
  object-fit: contain;
  padding: 1rem;
}

.card-body ul {
  padding-left: 1.2rem;
}

.card-button {
  min-width: 180px;
  text-align: center;
  white-space: normal;
}

.btn-lg {
  background-color: #198754;
  border: none;
}

.btn-lg:hover {
  background-color: #145c32;
}

/* Lesbarkeit für Informatik SII auf gelbem Hintergrund */
.card-info {
  color: #333 !important;
} 