/* //////////////////////////////////////////////////////////////////////////////////////////////// Footer Space */
.footer-spacer-hydraulik {
  height: 2vw;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// 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 {
  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: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);
}

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

.pagination a {
  color: #333;
  text-decoration: none;
  padding: 0.2em 0.8em;
  border-radius: 0.3em;
  transition: background-color 0.2s ease;
}

.pagination a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.pagination a.active {
  font-weight: bold;
  text-decoration: underline;
  color: #de800e;
}

/* Unterüberschrift */
.page-subheading-alt {
  font-size: 1.3em;
  margin-top: 3vw;
  margin-bottom: -2vw;
  margin-left: 16vw;
  text-align: left;
  color: #444;
  font-weight: normal;
}

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