@charset "UTF-8";
.carousel {
  width: 100%;
  height: 50vw;
  max-height: 808px;
  min-height: 394px;
  overflow: hidden;
  position: relative;
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
}
@media only screen and (min-width: 768px) {
  .carousel {
    min-height: 500px;
  }
}
.carousel:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
}
.carousel .text {
  position: absolute;
  z-index: 1;
  color: white;
  padding-top: 44%;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1366px;
  width: 100%;
}
@media only screen and (min-width: 450px) {
  .carousel .text {
    padding-top: 38%;
  }
}
@media only screen and (min-width: 600px) {
  .carousel .text {
    padding-top: 28%;
  }
}
@media only screen and (min-width: 768px) {
  .carousel .text {
    left: 50%;
    transform: translateX(-50%);
    padding-top: 18%;
  }
}
.carousel .text h1 {
  font-size: clamp(2rem, 1.4228rem + 2.4626vw, 3.75rem);
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 3rem);
  line-height: 1.31;
  max-width: 95%;
  margin-bottom: 20px;
}
@media only screen and (min-width: 768px) {
  .carousel .text h1 {
    line-height: 1.17;
    max-width: 65%;
  }
}
.carousel .text p {
  display: none;
  font-size: clamp(1.125rem, 0.9807rem + 0.6157vw, 1.5625rem);
  line-height: 1.56;
}
@media only screen and (min-width: 768px) {
  .carousel .text p {
    display: block;
    margin-bottom: 40px;
    max-width: 510px;
  }
}
.carousel .slides {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  width: 100%;
  transition: 1s ease-in-out all;
}
.carousel .slides .slide {
  min-width: 100%;
  min-height: 50vw;
  height: auto;
  min-height: 394px;
  object-fit: cover;
}
@media only screen and (min-width: 768px) {
  .carousel .slides .slide {
    min-height: 500px;
  }
}

.hero > p {
  font-size: clamp(1.125rem, 0.9807rem + 0.6157vw, 1.5625rem);
  line-height: 1.56;
  padding-top: 30px;
}
@media only screen and (min-width: 768px) {
  .hero > p {
    display: none;
  }
}

.benefits {
  padding-top: 50px;
  padding-bottom: 80px;
}
@media only screen and (min-width: 768px) {
  .benefits {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
.benefits .list {
  font-size: 16px;
  line-height: 1.5;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.benefits .list img {
  margin-bottom: 20px;
}
.benefits .list h2 {
  margin-bottom: 12px;
}
@media only screen and (min-width: 768px) {
  .benefits .list {
    flex-direction: row;
    justify-content: center;
    gap: 80px;
  }
  .benefits .list li {
    max-width: 300px;
  }
}

.image-w-text {
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  color: white;
  display: flex;
  flex-direction: column;
}
@media only screen and (min-width: 768px) {
  .image-w-text {
    flex-direction: row-reverse;
  }
  .image-w-text > * {
    flex: 1 0 50%;
  }
}
@media only screen and (min-width: 1566px) {
  .image-w-text {
    max-width: 1526px;
    margin: 0 auto;
  }
}
.image-w-text img {
  display: block;
  height: 100%;
  object-fit: cover;
}
@media only screen and (max-width: 768px) {
  .image-w-text img {
    display: none;
  }
}
.image-w-text .text {
  background-color: var(--primary);
  padding: 40px 20px;
}
@media only screen and (min-width: 768px) {
  .image-w-text .text {
    padding: 80px 6%;
    margin: 0 auto;
  }
}
.image-w-text .text p {
  margin-top: 20px;
  line-height: 1.69;
}
@media only screen and (min-width: 768px) {
  .image-w-text .text p {
    margin-top: 30px;
    line-height: 1.5;
  }
}

.messenger-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #1877f2; /* Messenger-blå */
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-weight: 500;
  z-index: 1000;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.messenger-float:hover {
  background-color: #145dbf;
  transform: translateY(-3px);
}

.messenger-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.messenger-text {
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .messenger-text {
    display: none; /* visa bara ikonen på mobil */
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(24, 119, 242, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 119, 242, 0);
  }
}
.messenger-float {
  animation: pulse 2.5s infinite;
}

.hide-bot-field {
  display: none;
}

/*# sourceMappingURL=local.css.map */
