.seite-grid {
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0px auto 50px;
    height: 100%;
    text-align: center;
    gap: 8px;
}

.seite-grid-oben {

}

.seite-grid-mitte{

}

.seite-grid-unten{

}

.mitte-grid{
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 1fr;
    height: 100%;
    text-align: center;
}

.mitte-grid-galerie {
    display:grid;
    grid-template-columns: repeat(12,1fr);
    grid-gap:1em;
}

.featured figure {
    position: relative;
    padding: 0;
    margin: 0;
}

.featured figure:hover {
    opacity: 1;
}

.featured img {
    display: block;
    width: 100%;
    transform: translateZ(0);
    object-fit: cover;
    cursor: zoom-in;
}


.zoom { 
    transition: transform .2s;   
}
  
.zoom:hover {
    -ms-transform: scale(1.04); /* IE 9 */
    -webkit-transform: scale(1.04); /* Safari 3-8 */
    transform: scale(1.04); 
}


.verschoben { /* nicht genutzt vielleicht nützlich */
    transform: translate3d(0px, 80px, 0px);
}

@media screen and (max-width: 660px) {
    .featured figure {
        grid-column:1/span 12!important
    }
    .mitte-grid{
        grid-template-columns: 16px 1fr 16px;
    }
    .verschoben {
        transform: translate3d(0px, 0px, 0px);
    }  
}



/*
.seite-grid-modal {
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: 3% auto 0px;
    height: 100%;
    text-align: center;
    gap: 8px;
}



.mitte-grid-galerie-modal {
    display:grid;
    grid-template-columns: repeat(12,1fr);
    
    grid-gap:1em;
   
}

.item-overlay {
    background: rgba(0, 15, 15, 0.5); 
    width: auto;
    position: absolute;
    top: 65%;
    padding-right: 10%;
    transition: .5s ease;
    opacity:0;
    color: white;
    font-size: 1.5em;
    padding-left: 15px;
    text-align: left;
    border-top-right-radius: 20px 20px;
    border-bottom-right-radius: 20px 20px
}
*/

 /* grid für modal01 *//*
 .modal-grid {
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows:  auto;
    height: 100%;
    text-align: center;
   
}

.modal-mitte-grid{
    display: grid;
    grid-template-columns: 10px 1fr 10px;
   
}



.modal-grid-zentriert {
    display: flex; 
    justify-content: center; 
    align-items:center; 
    
 
}

.modal-grid-zentriert img {
    max-height:85%;
    max-width: 100%;
    width:auto;
    height:auto;
  
  }
  
  

  .modal-links {
    display: grid;
    grid-template-columns: 50%  50%;
    
}*/






/*
@media screen and (max-width: 575px ) {
    .gallery-lightbox-controls {
        display:none
    }
}

.gallery-lightbox-control[data-next] {
    justify-content: flex-end
}

.gallery-lightbox-control-btn {
    position: relative;
    width: 13px;
    height: 24px;
    box-sizing: border-box;
    pointer-events: auto;
    opacity: .75;
    transition: opacity 600ms cubic-bezier(.4,0,.2,1);
    border: none;
    margin: 0;
    background: transparent
}

.gallery-lightbox-control-btn:hover {
    opacity: 1
}

.gallery-lightbox-control-btn-icon {
    position: relative
}

.gallery-lightbox-control-btn-icon .caret-right-icon--small,.gallery-lightbox-control-btn-icon .caret-left-icon--small {
    width: 13px;
    height: 24px;
    position: relative;
    display: block;
    box-sizing: content-box;
    line-height: 1
}

.gallery-lightbox-control-btn-icon .caret-right-icon--small svg *,.gallery-lightbox-control-btn-icon .caret-left-icon--small svg * {
    stroke-width: 4px
}

.gallery-lightbox.video-slide .gallery-lightbox-control {
    flex-grow: 0;
    width: calc(3vw + 13px)
}

.gallery-lightbox-close-btn {
    border-radius: .15em;
    box-sizing: border-box;
    pointer-events: auto;
    opacity: .75;
    transition: opacity 600ms cubic-bezier(.4,0,.2,1);
    border: none;
    margin: 0;
    background: transparent
}

.gallery-lightbox-close-btn:hover {
    opacity: 1
}

.gallery-lightbox-close-btn-icon {
    width: 20px;
    height: 20px;
    position: relative
}

.gallery-lightbox-close-btn-icon svg {
    width: 20px;
    height: 20px;
    position: relative
}

.gallery-lightbox-close-btn-icon svg * {
    stroke-width: 4px
}

.gallery-lightbox-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0
}

.gallery-lightbox-item[data-video="true"] {
    pointer-events: all
}

.gallery-lightbox-item[data-video="true"] .gallery-lightbox-item-img {
    display: flex;
    align-items: center;
    justify-content: center
}

.gallery-lightbox-item[data-video="true"] .gallery-lightbox-item-img .sqs-video-wrapper {
    width: 100%
}

.gallery-lightbox-item[data-active="true"] {
    opacity: 1
}

.gallery-lightbox-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    flex-shrink: 1;
    width: 100%;
    height: 100%
}

.gallery-lightbox-item-src {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%
}

.gallery-lightbox-item-img {
    position: relative;
    opacity: 0;
    transition: opacity 600ms cubic-bezier(.4,0,.2,1);
    will-change: opacity;
    height: 100%
}

.gallery-lightbox-item-img[data-loaded] {
    opacity: 1
}

.gallery-lightbox-item img {
    position: relative
}

.gallery-lightbox-item[data-static='true'] .lightbox-item-src {
    transition: none !important
}

.gallery-lightbox-item[data-active='true'] {
    visibility: visible
}

.gallery-lightbox[data-open='true'] {
    display: flex;
    animation-name: lightbox-open;
    animation-duration: 400ms;
    animation-fill-mode: both;
    animation-iteration-count: 1
}

.gallery-lightbox .gallery-lightbox-item[data-active='true'] .gallery-lightbox-item-src {
    transition: opacity 400ms cubic-bezier(.2,.6,.3,1)
}

.gallery-lightbox .gallery-lightbox-item[data-next='true'] .gallery-lightbox-item-src {
    opacity: 0
}

.gallery-lightbox .gallery-lightbox-item[data-next='false'] .gallery-lightbox-item-src {
    opacity: 0
}

.gallery-lightbox .gallery-lightbox-item[data-active='true'][data-in='true'] .gallery-lightbox-item-src {
    opacity: 1
}
