﻿<style>
*{
	padding: 0;
	box-sizing: border-box;
}

html{
    scroll-behavior:smooth;
}

body{
	background: transparent;
}

/* ====================================
   VIDEO HERO
==================================== */

.hero-video{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.hero-video video{
    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    object-fit:cover;
}

/* Lesbarkeit */

.hero-overlay{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,.25),
        rgba(0,0,0,.45)
    );
}

/* Inhalt */

.hero-content{
    position:relative;
    z-index:10;

    height:100%;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    color:#fff;
    text-align:center;
}

.hero-content h1{
    font-size:clamp(3rem,8vw,7rem);
    letter-spacing:8px;
    margin-bottom:15px;

    text-shadow:
    0 5px 25px rgba(0,0,0,.7);
}

.hero-content p{
    font-size:clamp(1rem,2vw,1.4rem);
}

/* ====================================
   GLASS NAVIGATION
==================================== */

.glass-nav{

    position:fixed;

    top:15px;
    left:50%;

    transform:translateX(-50%);

    width:min(1200px,95%);
    height:72px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 35px;

    background:rgba(0,0,0,.08);

    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);

    border:1px solid rgba(255,255,255,.12);

    border-radius:22px;

    transition:.4s;

    z-index:9999;
    
}
.glass-nav{
	position: fixed;
	top: 15px;
	left: 50%;
	transform: translateX(-50%);
	  width: min(1200px,95%);
	height: 72px;
	  display: flex;
	align-items: center;
	justify-content: space-between;
	  padding: 0 35px;
	  background: transparent;
	  border: 2px solid rgba(255,255,255,0.9);
	  border-radius: 24px;
	border-bottom-color: #FFFFFF;
	  box-shadow: 0 0 15px rgba(255,255,255,0.15);
	  z-index: 9999;
	  transition: .3s ease;
}


.glass-nav::before{
display:none;
}
.glass-nav.scrolled{

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(15px);

    box-shadow:
    0 10px 35px rgba(0,0,0,.3);
}

.logo{
    color:white;
    font-size:1.4rem;
    font-weight:700;
    letter-spacing:2px;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:35px;
}

.nav-links a{

    color:#fff;
    text-decoration:none;

    transition:.3s;

    position:relative;
}

.nav-links a:hover{
    color:#14b8a6;
}

.nav-links a::after{

    content:'';

    position:absolute;

    left:50%;
    bottom:-8px;

    width:0;
    height:2px;

    background:#14b8a6;

    transform:translateX(-50%);

    transition:.3s;
}

.nav-links a:hover::after{
    width:100%;
}

/* ====================================
   HAMBURGER
==================================== */
@media (min-width:769px){
    .hamburger{
        display:none;
    }
}
.hamburger{
    display:none;
    flex-direction:column;
    gap:6px;
    cursor:pointer;
}

.hamburger span{

    width:30px;
    height:3px;

    border-radius:99px;

    background:white;

    transition:.4s;
}

/* Hamburger Animation */

.hamburger.active span:nth-child(1){
    transform:
    rotate(45deg)
    translate(7px,7px);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:
    rotate(-45deg)
    translate(6px,-6px);
}

/* ====================================
   MOBILE
==================================== */

@media (max-width:768px){

    .glass-nav{
        top:10px;
        height:65px;
        padding:0 20px;
    }

   .hamburger{
    position:fixed;

    top:1px;
    right:20px;

    width:58px;
    height:58px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:6px;

    cursor:pointer;

    border-radius:50%;

    background:rgba(0,0,0,.35);

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.10);

    box-shadow:
        0 10px 30px rgba(0,0,0,.25);

    z-index:10000;

    transition:.3s ease;
}

.hamburger:hover{
    transform:scale(1.05);
}

.hamburger span{
    width:24px;
    height:2px;

    background:white;
    border-radius:20px;

    transition:.4s ease;
}

    .nav-links{

        position:absolute;

        top:80px;
        left:0;
        right:0;

        width:95%;

        margin:auto;

        flex-direction:column;

        text-align:center;

        background:rgba(0,0,0,.0);

        backdrop-filter:blur(15px);

        border-radius:20px;

        padding:25px;

        opacity:0;
        visibility:hidden;

        transform:translateY(-15px);

        transition:.4s;
    }

    .nav-links.active{

        opacity:1;
        visibility:visible;

        transform:translateY(0);
    }

    .nav-links li{
        opacity:0;
    }

    .nav-links.active li{

        animation:fadeIn .5s forwards;
    }

    .nav-links.active li:nth-child(1){
        animation-delay:.1s;
    }

    .nav-links.active li:nth-child(2){
        animation-delay:.2s;
    }

    .nav-links.active li:nth-child(3){
        animation-delay:.3s;
    }

    .nav-links.active li:nth-child(4){
        animation-delay:.4s;
    }

    /* Video-Optimierung */

    .hero-video video{

        object-position:center center;

        transform:scale(1.15);
    }

}

/* ====================================
   ANIMATION
==================================== */

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(-10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Demo Content */

.content{
    min-height:120vh;
    background:white;
    padding:80px;
}

</style>
