/* //////////////////////////////////////////////////////////////////////////////////////////////// Footer Space */


.footer-spacer-steuerungstechnik {
  height: 7vw;  /* Abstand in Höhe */
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Zubehör Divider Strich 2122 */

#popup-dividers1 {
  margin-top: -0.3vw;  /* Abstand nach oben */
  margin-bottom: 1.3vw; /* Abstand nach unten */
  border-top: 1px solid #ccc;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt relais */

.small-product-image-relais {
  width: 8vw;   /* feste Breite */
  height: auto;
  border-radius: 0.5em;   /* leichte Abrundung */
  margin-right: 14vw;
  margin-top: 0vw;
  margin-left: 6vw;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt motorschutzschalter2 */

.small-product-image-motorschutzschalter2 {
  width: 8vw;   /* feste Breite */
  height: auto;
  border-radius: 0.5em;   /* leichte Abrundung */
  margin-right: 14vw;
  margin-top: 0vw;
  margin-left: 6vw;
}


/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt 3pol */

.small-product-image-3pol {
  width: 8vw;   /* feste Breite */
  height: auto;
  border-radius: 0.5em;   /* leichte Abrundung */
  margin-right: 14vw;
  margin-top: 0vw;
  margin-left: 6vw;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt dahlanderschalter */

.small-product-image-dahlanderschalter {
  width: 8vw;   /* feste Breite */
  height: auto;
  border-radius: 0.5em;   /* leichte Abrundung */
  margin-right: 14vw;
  margin-top: 0vw;
  margin-left: 6vw;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt Stern-Dreieck-Schalter */

.small-product-image-dreieck-schalter-container {
  width: 8vw;             /* oder z. B. 10vw, je nach gewünschter Größe */
  height: auto;
  border-radius: 0.5em;
  margin-right: 14vw;
  margin-top: 0vw;
  margin-left: 6vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.small-product-image-dreieck-schalter-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.5em;
}


/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt schuetz */

.small-product-image-schuetz {
  width: 8vw;   /* feste Breite */
  height: auto;
  border-radius: 0.5em;   /* leichte Abrundung */
  margin-right: 14vw;
  margin-top: 0vw;
  margin-left: 6vw;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt motorschutzschalter */

.small-product-image-motorschutzschalter {
  width: 8vw;   /* feste Breite */
  height: auto;
  border-radius: 0.5em;   /* leichte Abrundung */
  margin-right: 14vw;
  margin-top: 0vw;
  margin-left: 6vw;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt induktivitaeten */

.small-product-image-induktivitaeten {
  width: 8vw;   /* feste Breite */
  height: auto;
  border-radius: 0.5em;   /* leichte Abrundung */
  margin-right: 14vw;
  margin-top: 0vw;
  margin-left: 6vw;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt kondensator */

.small-product-image-kondensator {
  width: 8vw;   /* feste Breite */
  height: auto;
  border-radius: 0.5em;   /* leichte Abrundung */
  margin-right: 14vw;
  margin-top: 0vw;
  margin-left: 6vw;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt kondensatorwiderstands */

.small-product-image-kondensatorwiderstands {
  width: 8vw;   /* feste Breite */
  height: auto;
  border-radius: 0.5em;   /* leichte Abrundung */
  margin-right: 14vw;
  margin-top: 0vw;
  margin-left: 6vw;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt kondensatorwiderstands */


/* //////////////////////////////////////////////////////////////////////////////////////////////// SeitenNavigation */

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3.5vw;
  font-size: 1em;
  font-family: Arial, sans-serif;
  padding: 0 2vw;
}

.page-numbers {
  display: flex;
  gap: 0.5em;
  margin: 0 auto;
}

.page-button {
  background: none;
  border: none;
  padding: 0.2em 0.8em;
  border-radius: 0.3em;
  font: inherit;
  color: #333;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.25s ease;
  transform-origin: center;
  text-decoration: none;
}

.page-button:hover {
  transform: scale(1.06);           /* Hover: größer */
  background-color: rgba(0,0,0,0.05);
}

.page-button:active {
  transform: scale(0.95);           /* Klick: kleiner */
}

.page-button.active {
  font-weight: bold;
  text-decoration: underline;
  color: #de800e;                   /* aktive Zahl orange */
}

@media (max-width: 600px) {

  /* -------------------------------------------------------------- */
  /* ALLE kleinen Produktbilder (vereint) */
  /* -------------------------------------------------------------- */

  .small-product-image-relais,
  .small-product-image-motorschutzschalter2,
  .small-product-image-3pol,
  .small-product-image-dahlanderschalter,
  .small-product-image-dreieck-schalter-container,
  .small-product-image-dreieck-schalter-container img,
  .small-product-image-schuetz,
  .small-product-image-motorschutzschalter,
  .small-product-image-induktivitaeten,
  .small-product-image-kondensator,
  .small-product-image-kondensatorwiderstands {
    width: 85vw !important;
    height: auto;
    margin: 0 0 4vw 0;
    border-radius: 1em;

    /* Animation wie bei Produktbildern */
    transform: scale(0.95);
    transition: transform 0.45s cubic-bezier(.22,.61,.36,1);
  }

  .small-product-image-relais:active,
  .small-product-image-motorschutzschalter2:active,
  .small-product-image-3pol:active,
  .small-product-image-dahlanderschalter:active,
  .small-product-image-dreieck-schalter-container:active,
  .small-product-image-dreieck-schalter-container img:active,
  .small-product-image-schuetz:active,
  .small-product-image-motorschutzschalter:active,
  .small-product-image-induktivitaeten:active,
  .small-product-image-kondensator:active,
  .small-product-image-kondensatorwiderstands:active {
    transform: scale(1.0);
  }

  /* --------------------------------------------------------------
     PAGINATION MOBILE
  -------------------------------------------------------------- */

  .pagination {
    flex-direction: column;
    gap: 3vw;
    margin-top: 9vw;
    text-align: center;
    padding: 0;
  }

  .page-numbers {
    gap: 0.6em;
  }

  .page-button {
    padding: 0.45em 0.7em;
    border-radius: 0.55em;
    font-size: 0.95em;
    background: rgba(0,0,0,0.05);
    transition: transform 0.22s ease, background-color 0.22s ease;
  }

  .page-button:hover {
    transform: scale(1.04);
    background-color: rgba(0,0,0,0.12);
  }

  .page-button.active {
    background: #de800e;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transform: scale(1.07);
  }

  /* Prev / Next Buttons im gleichen Stil */
  .pagination .prev,
  .pagination .next {
    padding: 0.55em 1.0em;
    background: #444;
    color: #fff;
    border-radius: 0.6em;
    font-size: 0.95em;
  }

  .pagination .prev:hover,
  .pagination .next:hover {
    background: #666;
  }

}
