/* Fibrolux Produkte — Mobile Produktbereiche, gleichmäßige Icons v3 (smaller).
   Ergänzung zu home-q3-2026.css; nur Produkt-Kacheln unter 680px.
   Designed for centered 1000×500 PNG assets whose artwork is in the middle 500px.
   Mobile only. No changes to desktop navigation or product menus. */
@media (max-width: 680px) {
  .q3h-products[data-q3-home="products"] .q3h-product-tiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }
  .q3h-products[data-q3-home="products"] .q3h-product-tile {
    display: grid;
    grid-template-columns: minmax(118px, 40%) minmax(0, 60%);
    grid-template-rows: none;
    min-height: 182px;
    border: 1px solid #e3e7e9;
    background: #fff;
    align-items: stretch;
    transform: none;
  }
  .q3h-products[data-q3-home="products"] .q3h-product-tile__visual {
    display: flex;
    min-width: 0;
    min-height: 182px;
    padding: 10px 5px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
  }
  .q3h-products[data-q3-home="products"] .q3h-product-tile__visual img {
    display: block;
    flex: none;
    /* v3: 35–45% smaller than v2, centered inside the same card. */
    width: clamp(78px, 19.55vw, 92px);
	height: clamp(78px, 19.55vw, 92px);
	max-height: 92px;

    object-fit: cover;  /* centered 2:1 transparent PNG, square safe-area crop */
    object-position: center;
    transform: none;
  }
  .q3h-products[data-q3-home="products"] .q3h-product-tile__copy {
    min-width: 0;
    min-height: 0;
    padding: 17px 15px 17px 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .q3h-products[data-q3-home="products"] .q3h-product-tile__copy h3 {
    margin: 0 0 8px;
    font-size: clamp(18px, 4.6vw, 23px);
    line-height: 1.22;
    font-weight: 300;
  }
  .q3h-products[data-q3-home="products"] .q3h-product-tile__copy p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--q3-muted, #70808b);
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .q3h-products[data-q3-home="products"] .q3h-product-tile:hover .q3h-product-tile__visual img,
  .q3h-products[data-q3-home="products"] .q3h-product-tile:focus-visible .q3h-product-tile__visual img {
    transform: none;
  }
}
/* Very narrow phones: keep text readable and icons within their column. */
@media (max-width: 360px) {
  .q3h-products[data-q3-home="products"] .q3h-product-tile {
    grid-template-columns: minmax(106px, 38%) minmax(0, 62%);
    min-height: 166px;
  }
  .q3h-products[data-q3-home="products"] .q3h-product-tile__visual { min-height: 166px; }
  .q3h-products[data-q3-home="products"] .q3h-product-tile__copy { padding-right: 10px; }
  .q3h-products[data-q3-home="products"] .q3h-product-tile__copy h3 { font-size: 17px; }
  .q3h-products[data-q3-home="products"] .q3h-product-tile__copy p { font-size: 12px; }
}

/* v4: Nur das Bruecken-Piktogramm (Konstruktionen), nur auf Mobilgeraeten.
   Die Quelldatei bleibt unveraendert, Desktop-Menue bleibt unveraendert.
   Anders als beim quadratischen Cover-Crop bleiben beide Enden sichtbar. */
@media (max-width: 680px) {
  .q3h-products[data-q3-home="products"] .q3h-product-tile__visual img:is(
    [src*="konstruktion" i],
    [src*="bruecke" i],
    [src*="bridge" i],
    [alt*="konstruktion" i]
  ),
  .q3h-products[data-q3-home="products"] .q3h-product-tile[href*="konstruktion" i] .q3h-product-tile__visual img {
    width: clamp(115px, 37vw, 155px);
    height: clamp(70px, 22vw, 92px);
    max-width: calc(100% - 10px);
    max-height: 92px;
    object-fit: contain;
    object-position: center;
    transform: none;
  }
}
