/* =========================================================
   TRAIN MOBIL – V100 Structural Layout Fix 1.2.1
   Behebt Grid-Zeilen-Streckung in Projektabschnitten
   ========================================================= */

.tm-pv100-page .tm-pv100-section{
  padding-top:36px;
  padding-bottom:36px;
}

.tm-pv100-page .tm-pv100-section__copy{
  display:grid;
  grid-template-columns:minmax(280px,.72fr) minmax(480px,1.28fr);
  gap:58px;
  align-items:start;
  margin-bottom:28px;
}

.tm-pv100-page .tm-pv100-section__heading,
.tm-pv100-page .tm-pv100-section__text{
  min-width:0;
}

.tm-pv100-page .tm-pv100-section__heading small{
  display:block;
  margin:0 0 12px;
}

.tm-pv100-page .tm-pv100-section__heading h2{
  margin:0;
}

.tm-pv100-page .tm-pv100-section__text p{
  margin:0;
}

/* Wichtig: keine Grid-Zeilen-Zwangsbelegung mehr. */
.tm-pv100-page .tm-pv100-section__copy > small,
.tm-pv100-page .tm-pv100-section__copy > h2,
.tm-pv100-page .tm-pv100-section__copy > p,
.tm-pv100-page .tm-pv100-section__copy > .tm-pv100-note{
  grid-column:auto !important;
  grid-row:auto !important;
}

.tm-pv100-page .tm-pv100-note{
  margin-top:18px;
}

.tm-pv100-page .tm-pv100-section--finish .tm-pv100-section__copy{
  margin-bottom:28px;
}

/* Galerie sitzt direkt nach dem zugehörigen Abschnitt. */
.tm-pv100-page .tm-pv100-gallery,
.tm-pv100-page .tm-pv100-finish-gallery{
  margin-top:0;
}

@media(max-width:1000px){
  .tm-pv100-page .tm-pv100-section__copy{
    grid-template-columns:1fr;
    gap:18px;
  }

  .tm-pv100-page .tm-pv100-section{
    padding-top:30px;
    padding-bottom:30px;
  }
}

@media(max-width:760px){
  .tm-pv100-page .tm-pv100-section{
    padding-top:24px;
    padding-bottom:24px;
  }
}
