@media (max-width: 480px) {
 ._text_sm {
max-width: 100%;
font-size: 1.0em;
line-height: 1.0;
  }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
  grid-gap: .2rem;
  justify-items: center;
  margin: 0;
  padding: 0;
}
}

@media (min-width: 481px) and (max-width: 768px) {
   ._text_sm {
max-width: 100%;
font-size: 1.1em;
line-height: 1.2;
  }
    .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
  grid-gap: .2rem;
  justify-items: center;
  margin: 0;
  padding: 0;
}
}

@media (min-width: 769px) and (max-width: 1024px) {
  ._text_sm {
max-width: 100%;
font-size: 1.3em;
line-height: 1.2;
  }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 2 Spalten */
  grid-gap: .2rem;
  justify-items: center;
  margin: 0;
  padding: 0;
}
}

@media (min-width: 1025px) and (max-width: 1224px) {
 ._text_sm {
max-width: 100%;
font-size: 1.5em;
line-height: 1.2;
  }
    .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 2 Spalten */
  grid-gap: .2rem;
  justify-items: center;
  margin: 0;
  padding: 0;
}
}

@media (min-width: 1225px) {
  ._text_sm {
max-width: 100%;
font-size: 1.7em;
line-height: 1.2;
  }
 .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 2 Spalten */
  grid-gap: .2rem;
  justify-items: center;
  margin: 0;
  padding: 0;
}
}