.jugendorchester_foto {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: clamp(10px, 5vw, 60px);
    padding-right: clamp(10px, 5vw, 60px);
    text-align: center;
    background-color: #e6c28d;
    max-height: 500px;

}

.jugendorchester_foto img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #e6c28d;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
}

.jugendorchester_wrapper {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.kontakt {
    margin-top: 10px;

    background-color: #f9f9f9;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.kontakt_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.info_block_zusatz {
    margin-top: 15px;
}

.kontakt_name {
    color: #961f1e;
    font-size: medium;
}

.kontakt_funktion {
    font-size: small;
}

.kontakt_info_m {
    font-size: small;
    color: grey;
}

.kontakt_info_m a {
    display: inline-block;
    transition: transform 0.3s ease;
}
.kontakt_info_m a:hover {
    transform: scale(1.05);
    font-size: small;
}

.kontakt_info_t {
    font-size: small;
    color: grey;
}

.kontakt_info_t a {
    display: inline-block;
    transition: transform 0.1s ease;
}

.kontakt_info_t a:hover {
    transform: scale(1.05);
    font-size: small;
}


.jugendorchester_gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 30px;
}

.jugendorchester_gallery img {
    max-width: 200px;
    cursor: pointer;
    object-fit: cover;
    transition: transform 0.2s ease;
    max-height: 200px;
}

.jugendorchester_gallery img:hover {
    transform: scale(1.05);
}

.jugendorchester_gallery li img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (max-width: 600px) {
  .jugendorchester_gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* exakt 2 Spalten */
    gap: 1rem;
    padding: 1rem 0;
  }

  .jugendorchester_gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* quadratisch */
    object-fit: cover;
  }
}