/* Modenschau Optimierung
   Separater Zusatz zur bestehenden layout-white-clean.css
*/

.section-divider {
  height: 90px;
  background: linear-gradient(90deg, #f7f7f7, #e9e9e9, #f7f7f7);
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  clear: both;
}

.modenschau-intro {
  margin-bottom: 35px;
  color: #555;
}

.modenschau-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  clear: both;
}

.modenschau-item {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #f4f4f4;
}

.modenschau-item picture,
.modenschau-item img {
  display: block;
  width: 100%;
}

.modenschau-item img {
  height: auto;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .modenschau-item img:hover {
    transform: scale(1.02);
  }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
  .modenschau-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .section-divider {
    height: 55px;
  }

  #modenschau h1 {
    font-size: 42px;
    line-height: 1;
  }

  #modenschau h1 span {
    font-size: 42px;
  }

  .modenschau-intro {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 25px;
  }

  .modenschau-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media only screen and (max-width: 479px) {
  #modenschau h1,
  #modenschau h1 span {
    font-size: 36px;
  }
}
