/* YouTube video gallery */

.video-grid{

    display:grid;
    grid-template-columns:repeat(3,minmax(280px,1fr));

    gap:25px;
    margin-top:25px;
}

.youtube-card{

    border-radius:18px;

    overflow:hidden;

    background:white;

    box-shadow:
    0 6px 18px rgba(0,0,0,.08);

    transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.youtube-card:hover{

    transform:translateY(-5px);

    box-shadow:
    0 12px 28px rgba(0,0,0,.15);
}

.youtube-card iframe{

    width:100%;

    aspect-ratio:16/9;

    border:none;

    display:block;
}


/* Tablet */

@media(max-width:900px){

    .video-grid{
        grid-template-columns:repeat(2,1fr);
    }

}


/* Mobile */

@media(max-width:768px){

    .video-grid{
        grid-template-columns:1fr;
    }

}
/* Research Section */

.research-section{
    overflow:hidden;
}

.research-grid{
    display:grid;

    /* text left / video right */
    grid-template-columns:1.4fr 0.8fr;

    grid-template-areas:
        "text video";

    gap:50px;
    align-items:center;
}

.research-text{
    grid-area:text;
}

.research-video-wrapper{
    grid-area:video;

    display:flex;
    justify-content:center;
}


/* Tablet + Mobile */

@media (max-width:900px){

    .research-grid{

        /* switch back to vertical layout */
        grid-template-columns:1fr;

        grid-template-areas:
            "text"
            "video";
    }

}

.research-video-wrapper{
    display:flex;
    justify-content:center;
}

.research-video{

    width:100%;
    max-width:320px;

    aspect-ratio:9/16;

    border-radius:24px;
    overflow:hidden;

    background:black;

    box-shadow:
    0 12px 35px rgba(0,0,0,0.15);
}

.research-video iframe{
    width:100%;
    height:100%;
    border:none;
}


/* Tablet */

@media (max-width:900px){

    .research-grid{
        grid-template-columns:1fr;
    }

    .research-video{
        max-width:280px;
    }
}


/* Mobile */

@media (max-width:768px){

    .research-section{
        padding:50px 6%;
    }

    .research-video{
        width:75vw;
        max-width:320px;
        border-radius:18px;
    }
}

.icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Optional: make it look more like a modern app icon */
.whatsapp .icon-img {
  border-radius: 6px;
}

.btn-submit {
    background: linear-gradient(135deg, #00bcd4, #0077b6);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 119, 182, 0.3);
    letter-spacing: 0.5px;
}

/* Hover effect */
.btn-submit:hover {
    background: linear-gradient(135deg, #0096c7, #023e8a);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.4);
}

/* Click effect */
.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 119, 182, 0.3);
}

/* Optional: full width on mobile */
@media (max-width: 600px) {
    .btn-submit {
        width: 100%;
    }
}

nav {
    display: flex;
    align-items: center;

    position: relative;
    gap: 20px;
    z-index: 1000;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
   
}

.nav-links a,
.menu-toggle {
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    margin-left: auto;
}

/* Mobile Navigation */

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        color: white;
        position: relative;
        right: 20px; /* bewegt ihn 10px nach links */

        font-size: 2rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;

        background: #00b4d8; /* gleiche Farbe wie Header */
        box-shadow: 0 4px 15px rgba(0,0,0,.15);
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: white; /* weiße Schrift */
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255,255,255,.2);
    }

    .nav-links a:hover {
        background: rgba(255,255,255,.1);
    }
}

header.scrolled {
    background: #00b4d8;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
 padding: 15px 5%;
    background: transparent;
    transition: all 0.3s ease;
}






nav a{color:white;text-decoration:none;margin-right:18px}


socialmedia {
	z-index:1;
}

body{
    font-family:'Montserrat',sans-serif;
    margin:0;
    line-height:1.6;
    color:#005f73;
    background:#ffffff;
}
.hero video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;

    /* verbessert die Darstellung beim Laden */
    background:#005f73;
}

.hero-content{
    position:relative;
    z-index:3;
}
.hero{
    position:relative;
    min-height: 100vh;
    min-height: 100dvh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:20px;
    overflow:hidden;
    color:white;
}

/* Hintergrundvideo */
.hero video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}

/* Overlay für bessere Lesbarkeit */
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
    z-index:2;
}

/* Inhalt über dem Video */
.hero > div{
    position:relative;
    z-index:3;
}