/* Mobiele beeldcorrecties – behoud alle foto’s op telefoon. */
@media (max-width:740px) {
  /* De foto naast het offerteformulier was op mobiel expliciet verborgen. */
  .ah-home-refresh .ah-home-offer-top .ah-home-contact-image {
    display:block;
    flex:0 0 auto;
    position:relative;
    width:100%;
    max-width:none;
    height:clamp(215px,57vw,305px);
    min-height:0;
    max-height:none;
    margin:21px 0 0;
    border-radius:14px;
    overflow:hidden;
    background:#e7f2f8;
  }
  .ah-home-refresh .ah-home-offer-top .ah-home-monteur-image {
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    min-height:100%;
    max-height:none;
    object-fit:cover;
    object-position:center 47%;
  }
  /* Bannerbeeld beter zichtbaar: alleen links een sterkere tekstschaduw. */
  .ah-home-refresh .ah-home-hero {
    background-image:
      linear-gradient(90deg,rgba(3,30,55,.86) 0%,rgba(3,30,55,.66) 43%,rgba(3,30,55,.25) 100%),
      url('/wp-content/uploads/2026/10/Aircohangen-hero-pets.webp');
    background-position:center,right 38% center;
    background-size:cover,cover;
    background-repeat:no-repeat;
  }
  .ah-home-refresh .ah-home-hero-inner{padding-top:46px;padding-bottom:46px}
  /* Meer van de echte installatiebeelden tonen op de binnenpagina’s. */
  .ah-inside-hero figure{width:100%;height:clamp(220px,63vw,320px);max-height:none;margin:22px 0 0;overflow:hidden;border-radius:14px}
  .ah-inside-hero figure img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}
  .ah-contact-v2-hero-photo{height:clamp(215px,58vw,310px)}
  .ah-contact-v2-hero-photo img{display:block;width:100%;height:100%;object-fit:cover}
  /* De klantprojecten en portfolio houden ook op kleine schermen beeld. */
  .ah-montage-featured-image{display:block;aspect-ratio:16/10;min-height:195px}
  .ah-montage-featured-image img{display:block;width:100%;height:100%;object-fit:cover}
  .ah-vdz-project-image{display:block;height:clamp(215px,61vw,290px)}
  .ah-vdz-project-image img{display:block;width:100%;height:100%;object-fit:cover}
  .ah-project-gallery-photo:first-child{aspect-ratio:4/3}
  /* Producten: houd de horizontale winkelbalk mét foto’s zichtbaar. */
  .ah-home-refresh .ah-home-shelf-image{display:flex;min-height:150px}
  .ah-home-refresh .ah-home-shelf-image img{display:block;width:100%;height:100%;object-fit:contain}
}
@media (max-width:850px) {
  /* Airco-informatie: originele volledige liggende foto behouden, zonder uitsnede. */
  .mode-section .mode-card {min-width:0}
  .mode-section .mode-card-body {min-width:0;width:100%}
  .mode-section .mode-photo {display:block;width:100%;max-width:100%;min-width:0;overflow:hidden}
  .mode-section .mode-photo img {
    display:block;width:100%;max-width:100%;
    height:auto!important;min-height:0;max-height:none;
    aspect-ratio:auto;object-fit:contain;object-position:center;
  }
  .mode-section .mode-photo figcaption {font-size:13px;line-height:1.5;padding:13px 14px}
}
@media (max-width:700px) {
  .mode-section .mode-card {padding:15px;gap:13px}
  .mode-section .mode-card-body {gap:11px}
  .mode-section .mode-photo {margin:8px 0 2px;border-radius:12px}
}
@media (max-width:390px) {
  .ah-home-refresh .ah-home-offer-top .ah-home-contact-image{height:205px}
  .ah-home-refresh .ah-home-hero{
    background-image:
      linear-gradient(90deg,rgba(3,30,55,.85),rgba(3,30,55,.63) 58%,rgba(3,30,55,.34)),
      url('/wp-content/uploads/2026/10/Aircohangen-hero-pets.webp');
    background-position:center,right 35% center
  }
}
