body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  width: 100vw;
}

.julius-sans-one-regular {
  font-family: "Julius Sans One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.service-item img,
.swiper-slide img {
  width: 100%;
  height: 40vw;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.testimonial-item {
  background-color: #f3f4f6;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

#menu {
  background-color: #ffffff; /* Weißer Hintergrund für das ausgeklappte Menü */
}

#menu.hidden {
  background-color: transparent; /* Kein Hintergrund, wenn das Menü verborgen ist */
}

h1 {
  color:  red;
}

.calculator-section {
  clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
}

.wrap {
  box-sizing: border-box;
}
#content {
  box-sizing: border-box;
}
.swiper-wrapper {
  max-height: 100%;
  height: auto;
}

#home {
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Anpassung für den sanften Übergang */
#home .bg-gradient-to-b {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(204, 0, 0, 0));
  height: 100%;
  width: 100%;
}

#knowledge {
  background-color: #f3f4f6;
}

#knowledge .knowledge-container {
  background-color: #ffffff;
  border-radius: 8px;
  margin-right: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list-disc {
    list-style-type: disc;
}

#knowledge .knowledge-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

#knowledge .intro-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#knowledge .knowledge-full.hidden {
  display: none;
}

#knowledge .knowledge-full {
  display: block;
}

#knowledge button {
  transition: background-color 0.3s ease;
}

@media (max-width: 640px) {
  .calculator-section {
    clip-path: none;
  }
  #home {
    background-attachment: scroll; /* Verhindert Parallax auf Mobilgeräten */
  }
}