@import url('./base.css');
@import url('./colors.css');
@import url('./fonts.css');

body {
    
    width: 100%;
    overflow-x: hidden;
    background-color: eee;
    color: var(--main-text-color);
    font-family: 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
    hyphens: auto;
}

#container {
    width: 100%;
    overflow-x: hidden;
    min-height: 80vh;
}



/*header {
    
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}*/


#masthead {
    background-color: white;
	position: fixed;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
    justify-content: space-between;
	width: 100%;
	transition: 0.4s;
	min-height: 10vh;
    border-bottom: 5px solid red; 
    
}

#masthead.sticky {
    background-color: white;
    min-height: 6vh;
    box-shadow: 0 0 3px 1px #f2f2f1;
    border-bottom: none;

}


.header__container {
	
	width: 80%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
    gap: 10rem;
}

.custom-logo {
    transition: 0.3s;
	width: 230px;
}

.custom-logo.sticky {

	width: 200px;
}

nav {
    display: grid;
    align-items: center;

}
nav ul{
    list-style-type: none;
    display: flex;
    gap: 3rem;
    align-content: center;
    justify-content: space-between;
}

h2, h3 {
    text-align: left;
    font-size: 2.0rem;
    color: var(--main-text-color);
    margin: 1rem 0;
    font-family: Exo, sans-serif;
}

h3 {
    font-size: 1.5rem;
}



#main-menu {
    position: relative;
    z-index: 1;
}

.mobile-menu {
    display: none;
}
.extras {
    
    flex: 1;
    justify-content: flex-end;
}

.logo-container, .nav-links, .extras {
    display: flex;
}

.nav-links {
    justify-content: space-between;
}

.nav-links li {
    transform: translateX(1000px);
    animation: slideIn 0.5s forwards;
}

.nav-links li:nth-child(1) {
    animation-delay: 0s;
}

.nav-links li:nth-child(2) {
    animation-delay: 0.3s;
}

.nav-links li:nth-child(3) {
    animation-delay: 0.6s;
}


.nav-link {

    font-size: 1.2rem;
    line-clamp: 1.3rem;
    padding: 3px 0px;
    color: var(--main-text-color);
    text-decoration: none;
    position: relative;

}

.nav-link::before,
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--main-accent-color);
    left: 0;
    
    transform: scaleX(0);
    transition: all 0.3s;

}

.nav-link::before {
    top: 0;
    transform-origin: left;
}

.nav-link::after {
    bottom: 0;
    transform-origin: right;
}


.nav-link:hover::before,
.nav-link:hover::after {
    transform: scaleX(1);
}

.burger {
    display: block;
}

.burger div {
    height: 3px;
    width: 20px;
    background-color: var(--main-accent-color);
    margin: 5px;
    transition: all 0.3s ease;
}

.nav-links li {
    list-style: none;
}


/*stuff*/

.hero {
    position: relative;
    margin-top: 10vh;
    width: 100vw;
    z-index: 0;
}

.hero img {
    width: 100%;
    object-fit: cover;
}

.hero__lead_section {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%);
}

.hero__lead_section h2, .hero__lead_section h3 {
    color: #eee;
}

.hero__lead_section h2 {
    text-transform: uppercase;
}

.hero__lead_section p {
    margin-top: 3rem;
    text-align: center;
}

.cta_btn {
    
    background-color: var(--main-accent-color);
    padding: 1rem 2rem;
    font-size: 1.25rem;
    color: #efefef;
    text-decoration: none;
    border-radius: 0.5rem;
}

.abstand {
    display: block;
    height: 2rem;
    background-color: white;
}

.intro {
    background-color: #fefefe;
}

.intro-content, .final_reasons-content, .content_selection {
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px;
}

#about, #leistungen, #jobs {
    scroll-margin-top: 6vh;
    padding: 3rem 0;
}

#quickcheck, #contacts { 
    scroll-margin-top: 6vh;
}

.intro p, .more_reasons p, .final_reasons-content p {
    margin: 1rem 0;
    line-height: 1.8rem;
    font-size: 1.1rem;
    text-align: left;
}

.more_reasons {
    
    padding: 10px;
    background-color: var(--lighter-color);
}

.more_reasons p {
    
    padding: 10px;
   
}

.reason__cards {
    max-width: 440px;
    margin: 0 auto;
    margin-top: 2rem;
    display: grid;
    align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    
    
}

.reason__cards_photos {
    max-width: 1140px;
    margin: 0 auto;
    margin-top: 2rem;
    display: grid;
    align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    
    
}

a {
    color: var(--main-accent-color);
}

.sub_hero img {
    max-width: 100%;
}

.line {
    border-bottom: 1px solid #aaa;
    max-width: 1120px;
    margin: 1rem auto;
}

.red__band {
    border-bottom: 8px solid red;
}


.cta__area {
    width: 100%;
    
    text-align: center !important;
}

.cta_sub {
    margin-top: 2rem;
    height: auto;
}

.cta__button {
    background-color: var(--main-accent-color);
    color:#eee;
    text-decoration: none;
    padding: 1rem 1rem;
}

.content_selection {
    margin: 0 auto;
    margin-top: 2rem;
    display: grid;
    align-items: start;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.cta_content {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.cta_btn_big {
    background-color: var(--main-accent-color);
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 5rem 2rem;
    font-size: 1.5rem;
    width: 100%;
    border-radius: 1rem;
}

.reason__card {
   
    margin: 0 auto;
    display: grid;
    align-items: start;
    width: 210px;
    /* margin-bottom: 2rem; */
}

.reason__card_photos {
   
    margin: 0 auto;
    display: grid;
    align-items: start;
    max-width: 370px;
    margin-bottom: 2rem;
}

.card__image {
    
    z-index: 1;
    /* background-color: var(--lighter-color); */
    margin: 0 auto;
    width: 100px;
    padding: 15px;
}

.card__image_photos {
    
    z-index: 1;
    /* background-color: var(--lighter-color); */
    margin: 0 auto;
    width: 300px;
    padding: 15px;
}

.card__image img, .card__image_photos img {
    max-width: 100%;
}



.card__text {
    width: 100%;
    display: grid;
    margin: 0 auto;
    /*align-items: center;
    justify-content: center;*/
    /* background-color: var(--lighter-color); */
    padding: 0;
    
}

.card__text p {
    
    color: var(--main-text-color);
    font-size: 1.1rem;
    text-align: center;
    padding-left: 0;
    
}

.card__text_photos p {
    
    color: var(--main-text-color);
    font-size: 1.1rem;
    text-align: left;
    padding-left: 0;
    
}

.card__text_photos a {
    color: var(--main-accent-color);
}



.card__text h4 {
    padding-top: 0.5rem;
    
    color: var(--main-accent-color);
}

.jobs {
    position: relative;
    background-color: var(--lighter-color);
}

.jobs-content, .jobs-cards, .imprint, .privacy {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 10px;
}


.imprint {
    margin-top: 10vh;
    min-height: 75vh;
}

.privacy {
    margin-top: 10vh;
}

.privacy h4 {
    margin: 0.7rem 0;
}

.imprint h3 {
    margin: 1rem 0;
}

.imprint p {
    margin: 1.5rem 0;
    line-height: 1.5;
}


.jobs-cards {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 200px), 1fr));
    place-items: center;
    gap: 1.5rem;
}

.job__card {
    max-width: 350px;
    border-radius: 0.6rem;
    padding: 1rem;
    display: grid;
    gap: 1rem;
    background-color: var(--main-light-color);
}

.job__card-btn {
    display: grid;
    align-items:center;
}

.btn {
    border-radius: 0.4rem;
    text-decoration: none;
    margin: auto;
    background-color: var(--main-accent-color);
    color: #eee;
    padding: 13px 10px;
}

.btn:hover {
    cursor: pointer;
    opacity: 0.8;
}

.job__card-text h3 {
    text-align: center;
}

.job__card-text ul {
    list-style-type: none;
    display: block;
    margin: auto;
    padding: 1rem 1rem;
}

.job__card-text ul li{
    padding: 0;
}

.job__card-text ul li::before {
    content: '\2022 ';
    font-size: 1.3rem;
    padding-left: 1rem;
    margin-right: 0.5rem;
}

.job__card-image img {
    width: 70%;
    padding: 1rem;
    display: block;
    margin: 0 auto;
}


.jobs-content p {
    
    margin: 1rem 0;
    line-height: 1.8rem;
    font-size: 1.2rem;
}

.headline-white {
    padding-top: 1.2rem;
    color: #eee;
}



footer {
    background-color: var(--main-dark-bgcolor);
    padding-top: 3rem;
}

.footer_icons > a {
    margin-right: 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
}

.footer-logo img {
    padding: 1rem;
    width: 240px;
}

.footer-logo p {
    color: var(--main-text-color);
    padding: 0 1rem;
}

.footer-contact {
    padding: 2rem 1rem 1rem 0;
}

.footer-contact p {
    color: var(--main-text-color);
    padding: 0 1rem;
}

.footer__nav {
    margin: 1.3rem 0;
    list-style-type: none;
    gap: 2rem;
    display: flex;
    padding: 0 1rem;
}

.bottom__footer p{
    color: var(--main-text-color);
    padding-bottom: 1rem;
}

.footer__nav li a { 
    color: var(--main-text-color);
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 600;
}

/* NAV TEST */

nav {
    position: absolute;
    top: 6vh;
    right: 0px;
    height: 94vh;
    background-color: rgba(255,255,255,0.95);
    z-index: 10;
    width: 25%;
    transform: translateX(100%);
    transition: transform 0.3s ease-in;

}

.nav-links li {
    opacity: 0;
}

.nav-link {
    font-size: 1rem;
    line-height: 2rem;
}

.nav-active {
    transform: translateX(0%);
}

.burger {
    display: block;
    cursor: pointer;
}

.nav-links, .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px,6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px,-6px);
}




@media(max-width: 1024px) {
    /* NAV */

    #masthead {
        width: 100vw;
    }

    .header__container {
        width: 100%;
    }

    .custom-logo {
        width: 200px;
    }

    
    h3 {
        font-size: 1.5rem;
    }

    nav {
        position: absolute;
        top: 6vh;
        right: 0px;
        height: 94vh;
        background-color: rgba(255,255,255,0.9);
        z-index: 10;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;

    }

    .nav-links li {
        opacity: 0;
    }

    .nav-link {
        font-size: 1rem;
        line-height: 2rem;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
        cursor: pointer;
    }

    .nav-links, .mobile-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px,6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px,-6px);
    }
}

@media(max-width: 768px) {
   

    .hero {
        height: 50vh;

    }

    .card__text p {
        font-size: 1.2rem;
    }

    .hero img {
        height: 100%;
        object-fit: cover;
        object-position: 80%;
    }

    .jobs-cards { 
        place-items: center;
    }

    .job__card {
        max-width: 350px;
    }

    .footer-content {
        display: grid;
        place-items: center;
    }

    

}


/*Animations*/

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes ZoomIn {
    0% {width: 0%;}
    100% {width: 100%;}
}

@keyframes animLeft{
    0% {top: 200px;}
    100% {top: 0px;}
}

@keyframes animRight{
    0% {right: -1000px;}
    100% {right: 0px;}
}

@keyframes animUp{
    0% {top: -100px;}
    100% {top: 03px;}
}

@keyframes FadeIn {
    0% { opacity: 0;}
    100% { opacity: 1;}
}

@keyframes FadeOut {
    0% { opacity: 1;}
    100% {opacity: 0;}
}

@keyframes moveUp {
    0% { 
        top: 300px;
        
    }
    100% { 
        top: 0px;
       
    }
}

@keyframes navlinkFade {
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}

