#slider {
  margin-top: 40px;
  max-width: 100vw;
  overflow: hidden;
}

.inner {
  padding: 0px 0px 0 0px;
  min-height: 580px;
  max-height: 600px;
  max-width: 100vw;
  overflow: hidden;
}

.inner .slider-item:first-child {
  padding: 0px 0px 0 0px;
  max-height: 580px;
  opacity: 1;
  position: relative;
}

section.slider {
  background: var(--color-four);
}

.slider-navigation {
  position: absolute;
  bottom: 10px;
  left: 0px;
  right: 0px;
}

div#slider a {
  min-width: 100%;
}

div#slider a:hover {
  color: black !important;
}

.slider-text {
  font-size: 2rem;
  line-height: 2.2rem;
  text-align: left;
  display: flex;
  align-items: center;

  font-family: "Gt-Standart", sans-serif;
  font-style: oblique;
  padding: 70px;
  hyphens: none;
}

.slider-item {
  max-width: 100% !important;
  min-width: 100% !important;
  opacity: 0;
}

.image-wrapper {
  overflow: hidden;
  position: relative;
  padding-bottom: 100%;
}

.image-wrapper img {
  object-fit: cover;
  object-position: center;
}

.slider-navigation {
  margin-top: 20px;
}

.bubble {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.bubble:hover {
  background-color: #999;
  transform: scale(1.2);
}

.bubble.active {
  background-color: #333; /* oder deine Primärfarbe */
  transform: scale(1.3);
}

@media screen and (min-width: 1000px) and (max-width: 1500px) {
  #slider {
    padding: 30px !important;
  }
}

@media screen and (min-width: 0px) and (max-width: 1000px) {
  .slider-item {
    max-width: 100% !important;
    min-width: 100% !important;
  }

  #slider {
    overflow: hidden;
  }

  .slider-text {
    display: none;
  }
}
