:root {
  --tic-gap: 20px;
  --tic-icon: 56px;
}

/* Wrapper */
.lmn-threeicons {
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lmn-threeicons__header { margin-bottom: 2rem; }
.lmn-threeicons__sub { max-width: 900px; margin: .5rem auto 0; 

    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  
}

/* Slider-Viewport + Track */
.lmn-threeicons__viewport { position: relative; overflow: hidden; }
.lmn-threeicons__track {
  display: flex;
  gap: var(--tic-gap);
  transition: transform .3s ease;
  will-change: transform;
}

/* Einzelnes Icon-Item */
.lmn-threeicons__item {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
}

/* Icon-Style */
.lmn-threeicons__icon svg,
.lmn-threeicons__icon {
  width: var(--tic-icon);
  height: var(--tic-icon);
  margin: 0 auto 1rem;
  display: block;
}

/* Nav-Buttons (mobil sichtbar) */
.lmn-threeicons__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #000;
  background: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.lmn-threeicons__btn.prev { left: .5rem; }
.lmn-threeicons__btn.next { right: .5rem; }

/* Desktop: ab 1200px → 3 nebeneinander, kein Slider */
@media (min-width: 1200px) {
  .lmn-threeicons__track { transform: none !important; }
  .lmn-threeicons__item {
    flex: 0 0 calc((100% - 2*var(--tic-gap)) / 3);
    max-width: calc((100% - 2*var(--tic-gap)) / 3);
  }
  /* Icons am Desktop etwas kleiner */
  .lmn-threeicons__icon,
  .lmn-threeicons__icon svg {
    --tic-icon: 70px;
  }
}

/* Tablet/Mobile: unter 1200px → Slider aktiv + Buttons an */
@media (max-width: 1199px) {
  .lmn-threeicons__btn { display: flex; }
}

/* Keine Navigation anzeigen (auch mobil) */
.lmn-threeicons__btn {
  display: none !important;
}
