/* =======================
   HEADER BASIS
======================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    z-index: 1000;
}

/* =======================
   CONTAINER
======================= */

.header-container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
	padding-left: 30px;
    padding-right: 30px;
}

/* =======================
   TOPBAR
======================= */

.topbar {
    background: #FFFFFF;
    overflow: hidden;
    max-height: 50px;
    opacity: 1;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    height: 50px;
    align-items: center;
}

.topbar-info {
    display: flex;
    gap: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #000;
}

.info-item a {
	color: #000000;
	text-decoration: none;
	transition: color 0.2s ease;
}

.info-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("../images/icons1.png");
    background-repeat: no-repeat;
    margin-right: 8px;
}

.icon-standort { background-position: 4px -4px; }
.icon-mail { background-position: 0px -72px; }
.icon-telefon { background-position: 0px -136px; }

/* =======================
   MAIN HEADER
======================= */

.main-header {
    border-top: 4px solid #000000;
    background-color: #FFFFFF;
}

.main-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 150px;
    padding: 18px 0px 18px 0px;
    transition: height 0.3s ease, padding 0.3s ease;
}


/* LOGO */

.logo {
    flex: 0 0 375px;
    width: 375px;
    max-width: 375px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
    padding-top: 0px;
    overflow: visible;
    transition: padding-top 0.55s ease, transform 0.55s ease;
}

.logo-img {
    display: block;
    width: 375px;
    max-width: none;
    height: auto;
    transform-origin: left top;
    transform: scale(1);
    transition: transform 0.55s ease;
}

/* NAV */

.nav-list {
    display: flex;
    gap: 60px;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.nav-link {
    font-size: 17px;
    color: #000000;
    font-weight: bold;
    line-height: 1.2;
}

/* =======================
   SCROLL EFFECT
======================= */

.site-header.is-scrolled .topbar {
    max-height: 0px;
    opacity: 0;
}

.site-header.is-scrolled .main-header-inner {
    height: 110px;
    padding: 12px 0px 12px 0px;
}

.site-header.is-scrolled .logo {
    padding-top: 0px;
}

.site-header.is-scrolled .logo-img {
    transform: scale(0.6667) translateY(22px);
}

/* =======================
   HERO
======================= */

.hero {
    margin-top: 204px;
    background-image: url("../pictures/bg1.webp");
    background-size: cover;
    background-position: center top;
    position: relative;
    min-height: 750px;
	z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-inner {
    position: relative;
    width: 1200px;
    max-width: 100%;
    margin: 0px auto;
    padding: 215px 0px 100px 0px;
}

.hero-title {
    color: #FFFFFF;
    font-size: 42px;
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    line-height: 1.3;
}

@media (max-width: 1279px) {

	.hero-inner {
		padding: 200px 25px 100px 25px;
	}

	.hero-title {
		max-width: 1000px;
		font-size: 36px;
		padding: 30px;
		line-height: 1.3;
	}	
	
}	



/* =======================
   Tablet
======================= */

@media only screen and (min-width: 1024px) and (max-width: 1199px) {

	.topbar-info {
		display: flex;
		gap: 40px;
	}

	.info-item {
		display: flex;
		align-items: center;
		font-size: 14px;
		color: #000;
	}
	
	.logo {
		flex: 0 0 320px;
		width: 320px;
		max-width: 320px;
	}

	.logo-img {
		width: 320px;
	}
	
	.nav-list {
		gap: 50px;
	}

	.nav-link {
		font-size: 15px;
		font-weight: bold;
	}

}



/* =======================
   MOBILE
======================= */

.menu-toggle {
    display: none;
}

@media (max-width: 1023px) {

	.header-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .topbar {
        display: none;
    }

    .main-header-inner {
        height: 86px;
        padding: 0px;
		align-items: center;
    }
	
	.main-header {
        border-top: 4px solid #000000;
    }

    .logo {
        flex: 0 0 230px;
        width: 230px;
        max-width: 230px;
        height: auto;
    }

    .logo-img {
        width: 230px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0px;
        width: 46px;
        height: 36px;
        padding: 0px;
        background: none;
        border: 0px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 40px;
        height: 4px;
        margin: 0px 0px 6px 0px;
        background: #000000;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .menu-toggle span:last-child {
        margin-bottom: 0px;
    }

    .site-header.is-open .menu-toggle span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .site-header.is-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-open .menu-toggle span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 90px;
        left: 0px;
        width: 100%;
        background: #f2f2f2;
    }

    .site-header.is-open .main-nav {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0px;
        text-align: center;
    }
	
	.nav-list li {
        display: block;
        border-top: 1px solid #000000;
        background-color: #DDDDDD;
    }

    .nav-list li:first-child {
        border-top: 0px;
    }

    .nav-link {
        display: block;
        padding: 15px 25px;
        font-size: 16px;
        line-height: 1.8;
        color: #000000;
		font-weight: normal;
    }

    .hero {
        margin-top: 90px;
        background-image: url("../pictures/bg1-mobil.webp");
        min-height: 260px;
    }

    .hero-inner {
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 28px;
		padding: 20px;
    }
}