.science{
    background-image: url("");
}

.gridVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* oder contain, je nach Geschmack */
    background: #111;
}


.video-wrapper {
    position: relative;
    display: inline-block;
}

/* Falls später mal genutzt */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 24px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

/* Hover-Text direkt auf dem Video */
.video-wrapper::after {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.2rem;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 5;
}

.video-wrapper:hover::after {
    opacity: 1;
}

.casesDiv h1{
    font-size:5em;
    color: white;
    text-align: left;
    left:-0.7em;
    top:0;
    position:relative;
    font-family: "CoFo Kak";
}

.casesDiv h2{
    font-size: 4em;
    color: #3a3a3a;
    text-align: left;
    text-align: left;
    left:-0.7em;
    top:-0.5em;
    position:relative;
    font-family: "CoFo Kak";    
}. g r i d - c o n t a i n e r   {  
         g r i d - a u t o - r o w s :   u n s e t ;   / *   D i s a b l e   t h e   d e f a u l t   a u t o   r o w s   * /  
 }  
  
 . g r i d - i t e m   {  
         a s p e c t - r a t i o :   1 6   /   9 ;  
 }  
  
 . g r i d - i t e m . s o c i a l - m e d i a   {  
         a s p e c t - r a t i o :   9   /   1 6 ;  
 }  
 