/* //////////////////////////////////////////////////////////////////////////////////////////////// Footer Space */
.footer-spacer-hydrauliktransparent {
  height: 2vw; /* Abstand in Höhe */
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Erstes Bild und Text */
.product-layout-top {
  display: flex;
  align-items: flex-start;
  gap: 5vw;
  margin-top: 2vw;
}

.product-image-top img {
  width: 17vw;
  height: auto;
  border-radius: 0.5em;
  margin-top: 4vw;
  margin-left: 5vw;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-info-top {
  max-width: 50vw;
  font-size: 1vw;
  line-height: 1.5;
  margin-top: 4vw;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Zusätzlicher Text */
.product-description-extra-top {
  font-size: 0.95vw;
  line-height: 1.6;
  color: #444;
  margin-top: 2vw;
  padding: 1vw 1.5vw;
  background-color: #f9f9f9;
  border-left: 4px solid #555;
  border-radius: 4px;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Standardkombinationen */
.page-subheading2 {
  text-align: center;
  font-size: 1.8vw;
  margin: 2.5vw 0;
  color: #444;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Standardkombinationen + Quick Links Layout */
.standard-combo-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4vw;
  margin: 2vw auto;
  width: 80%;
  max-width: 1600px;
}

/* Kartenblock */
.standard-cards {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 1.5em;
  justify-content: start;
}

/* Kartenstil */
.standard-card {
  background: #f9f9f9;
  border: 0.1em solid #ddd;
  border-radius: 0.6em;
  padding: 0.8em 1.2em;
  text-align: center;
  width: 14em;
  box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(0);
  transition: none; /* Hover reagiert sofort */
}

/* Sobald Karte sichtbar ist, bekommt sie Animationsübergänge */
.standard-card.animate-in {
  transition:
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover-Effekt ohne Verzögerung */
.standard-card:hover {
  transform: translateY(-0.3em);
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

/* Karteninhalt */
.standard-card h4 {
  margin: 0;
  font-size: 1.1em;
  color: #de800e;
}

.standard-card p {
  margin: 0.3em 0 0.2em;
  font-weight: bold;
  font-size: 0.95em;
}

.standard-card small {
  color: #666;
  font-size: 0.8em;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Quick Links */
.quick-links {
  position: relative;
  flex: 0 0 24vw;
  background: #f9f9f9;
  border: 0.1em solid #ddd;
  border-radius: 0.8em;
  padding: 1.5em;
  box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.1);
  margin-top: 0;
  opacity: 0;
  transition: none;
}

.quick-links.animate-in {
  transition:
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-links h3 {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #333;
  line-height: 1.4;
}

.quick-links-title {
  display: block;
  font-weight: bold;
  margin-bottom: 0.8em;
  color: #de800e;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li {
  margin-bottom: 0.6em;
}

.quick-links a:not(:where([data-link])) {
  text-decoration: none;
  color: #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95em;
  padding: 0.3em 0.2em;
  border-radius: 0.3em;
  transition: background 0.2s ease, color 0.2s ease;
}

.quick-links a:not(:where([data-link])):hover {
  color: #de800e;
  background: rgba(230, 126, 34, 0.1);
}

.link-page {
  font-size: 0.85em;
  color: #999;
}

/* Scroll-Pfeil */
.quick-links .scroll-down {
  position: absolute;
  top: 1.4em;
  right: 1.2em;
  font-size: 1.3em;
  font-weight: normal;
  color: #666;
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.quick-links .scroll-down:hover {
  transform: translateY(2px);
}

.quick-links .scroll-down:active {
  transform: translateY(4px) scale(0.95);
}

/* =============================================== */
/* >>>> Größere Quick-Link Buttons (optimiert) <<< */
/* =============================================== */

.quick-link-button {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0.45em 0.35em;   /* etwas höher */
  border-radius: 0.35em;

  font-size: 1.08em;        /* größer als vorher */
  color: #444;
  text-align: left;

  transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

/* Hover – dezent größer */
.quick-link-button:hover {
  color: #de800e;
  background: rgba(230, 126, 34, 0.1);
  transform: scale(1.015);  /* ganz leicht */
}

/* Klick-Effekt */
.quick-link-button:active {
  transform: scale(0.98);
}

/* Seitenanzeige rechts */
.quick-link-button .link-page {
  font-size: 0.9em;
  color: #777;
}


/* //////////////////////////////////////////////////////////////////////////////////////////////// Kompositions Liste */
.composition-heading {
  margin-top: 5vw;
  text-align: left;
  font-size: 1.4vw;
  color: #333;
  font-weight: bold;
  margin-left: 5vw;
}

.stage-heading {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 2vw;
  margin-left: 5vw;
  color: #555;
}



/* //////////////////////////////////////////////////////////////////////////////////////////////// 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 */
}






/* //////////////////////////////////////////////////////////////////////////////////////////////// Produkt2352-3 */
.small-product-image-4-3-Verteilerventil {
  width: 8vw;
  height: auto;
  border-radius: 0.5em;
  margin-right: 14vw;
  margin-top: 0;
  margin-left: 6vw;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Responsive Verhalten */
@media (max-width: 1280px) {
  .standard-combo-wrapper {
    flex-direction: column;
    margin-left: 8vw;
  }

  .quick-links {
    width: 80%;
    margin: 2vw auto 0;
  }

  .product-layout-top {
    flex-direction: column;
    align-items: center;
  }

  .product-image-top img {
    width: 60vw;
    margin: 0 auto;
  }

  .product-info-top {
    max-width: 85vw;
    font-size: 3.3vw;
    margin-top: 2vw;
  }

  .composition-heading {
    margin-top: 4vw;
  }
}

/* ============================================================
   Sanftes Einfliegen der Karten + Quick Links (flüssig)
   ============================================================ */

/* Startzustände */
.standard-card:nth-child(1):not(.animate-in) { transform: translateX(-80px); }
.standard-card:nth-child(2):not(.animate-in) { transform: translateY(80px); }
.standard-card:nth-child(3):not(.animate-in) { transform: translateX(80px); }
.standard-card:nth-child(4):not(.animate-in) { transform: translateY(-80px); }
.standard-card:nth-child(5):not(.animate-in) { transform: translateX(-100px); }
.quick-links:not(.animate-in) { transform: translateX(120px); }

/* Wenn sichtbar */
.animate-in {
  opacity: 1;
  transform: translate(0, 0);
}

/* Staffelung */
.standard-card:nth-child(1) { transition-delay: 0.1s; }
.standard-card:nth-child(2) { transition-delay: 0.3s; }
.standard-card:nth-child(3) { transition-delay: 0.5s; }
.standard-card:nth-child(4) { transition-delay: 0.7s; }
.standard-card:nth-child(5) { transition-delay: 0.9s; }
.quick-links { transition-delay: 1.1s; }


/* =====================================
   Bild oberhalb des Textes – rechts ausgerichtet
   (standardmäßig leicht gedreht, wird beim Hover gerade)
===================================== */
.top-right-image {
  position: absolute;
  top: 12em;        /* leicht unter dem Header */
  right: 4vw;       /* etwas eingerückt */
  z-index: 10;
}

.top-right-image img {
  width: 10vw;
  height: auto;
  border-radius: 0.5em;
  box-shadow: 0 0.6em 1.2em rgba(0, 0, 0, 0.25);
  transform: rotate(0deg);       /* leichte Neigung */
  opacity: 0.95;
  transition: transform 0.4s ease, opacity 0.3s ease;
  cursor: pointer;
}

.top-right-image img:hover {
  transform: rotate(0deg) scale(1.05); /* wird gerade + leicht größer */
  opacity: 1;
}

@media (min-width: 1900px) {

.top-right-image {
  top: 15em;        /* leicht unter dem Header */
}


}



/* ============================================================
   HYDRAULIK TRANSPARENT – MOBILE VERSION
   ============================================================ */
@media (max-width: 600px) {

  /* ----------------------------------------------------------
     GLOBAL
  ---------------------------------------------------------- */
  html, body {
    overflow-x: hidden;
  }

  /* ----------------------------------------------------------
     FOOTER SPACE
  ---------------------------------------------------------- */
  .footer-spacer-hydrauliktransparent {
    height: 14vw;
  }

  /* ----------------------------------------------------------
     PRODUKT LAYOUT OBEN
  ---------------------------------------------------------- */
  .product-layout-top {
    flex-direction: column;
    align-items: center;
    gap: 6vw;
    margin-top: 10vw;
  }

  .product-image-top img {
    width: 85vw;
    margin: 0 auto;
    border-radius: 0.6em;
  }

  .product-info-top {
    max-width: 92vw;
    font-size: 1.05em;
    line-height: 1.55;
    margin-top: 3vw;
    text-align: center;
  }

  /* ----------------------------------------------------------
     ZUSATZTEXT
  ---------------------------------------------------------- */
  .product-description-extra-top {
    font-size: 0.95em;
    line-height: 1.55;
    margin: 6vw auto 0;
    padding: 4vw;
    width: 92%;
  }

  /* ----------------------------------------------------------
     STANDARDKOMBINATIONEN – ÜBERSCHRIFT
  ---------------------------------------------------------- */
  .page-subheading2 {
    font-size: 1.5em;
    margin: 10vw 0 6vw;
  }

  /* ----------------------------------------------------------
     STANDARDKOMBINATIONEN + QUICK LINKS
  ---------------------------------------------------------- */
  .standard-combo-wrapper {
    flex-direction: column;
    width: 92%;
    gap: 8vw;
    margin-left: auto;
    margin-right: auto;
  }

  /* Karten */
  .standard-cards {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .standard-card {
    width: 85%;
    max-width: 20em;
    margin: 0 auto;
    padding: 0.6em 0.8em;
  }

  .standard-card h4 {
    font-size: 0.95em;
  }

  .standard-card p {
    font-size: 0.9em;
  }

  .standard-card small {
    font-size: 0.72em;
  }

  /* ----------------------------------------------------------
     QUICK LINKS (kompakt)
  ---------------------------------------------------------- */
  .quick-links {
    width: 90%;
    max-width: 22em;
    margin: 0 auto;
    padding: 0.9em;
  }

  .quick-links h3 {
    font-size: 1em;
    margin-bottom: 0.8em;
  }

  .quick-link-button {
    font-size: 0.95em;
    padding: 0.45em 0.3em;
  }

  .quick-link-button .link-page {
    font-size: 0.8em;
  }

  .quick-links li {
    margin-bottom: 0.4em;
  }

  /* ----------------------------------------------------------
     KOMPOSITION / STAGES
  ---------------------------------------------------------- */
  .composition-heading {
    font-size: 1.2em;
    margin: 10vw auto 4vw;
    margin-left: 1.5em;
  }

  .stage-heading {
    font-size: 1.05em;
    margin: 6vw auto 0;
    margin-left: 2em;
  }

  /* ----------------------------------------------------------
     PAGINATION (mittig + mobilfreundlich)
  ---------------------------------------------------------- */
  .pagination {
    flex-direction: column;
    gap: 4vw;
    margin-top: 12vw;
    padding: 0;
  }

  .page-numbers {
    gap: 0.8em;
  }

  .page-button {
    font-size: 1em;
  }

  /* ----------------------------------------------------------
     DEKO-BILD RECHTS OBEN AUSBLENDEN
  ---------------------------------------------------------- */
  .top-right-image {
    display: none;
  }

}
