
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.carousel-btn {
  background:#2a4596 ;
  color: white;
  font-size: 2rem;
  border: none;
  border-radius: 0.5rem;
  width: 3.5rem;
  height: 3.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.3s ease;
  z-index: 10;
}

.carousel-btn.left {
  left: 0;
}

.carousel-btn.right {
  right: 0;
}

.carousel-btn:hover {
  background: #2c3e50;
}

.carousel-track {
  display: flex;
  width: 800px;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  transition: transform 1.4s ease-in-out;
}

.class-slide {
  flex: 0 0 240px;
  height: 300px;
  box-sizing: border-box;
  opacity: 0.5;
  transform: scale(0.85);
  transition: transform 1.4s ease-in-out, opacity 1.4s ease-in-out;
  text-align: center;
  pointer-events: none;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 8px;
  background: white;
}

.class-slide.center {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  border: 2px solid #bbb;
  padding: 15px;
}

.klassen-button {
  display: inline-block;
  margin-top: 10px;
  background-color: black;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.klassen-button:hover {
  opacity: 0.8;
}

.balken-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  height: 200px;
  margin-top: 1rem;
}
