:root {
    --mainColor: #000000;
    --secondaryColor: #62a1ff;
    --primary: #1d1d1d;
    --classicWhite: #ffffff;
    --classicBlack: #000000;
    --font: #ffffff;
    --primFont: black;
    /*--backgroundColor: #222831;*/
   /* --backgroundColor: #0e2755; */
}

html, body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-display: swap;
}
body.nav-open {
    overflow: hidden;
}

header {
    flex: 0 0 auto;
    z-index: 8;
    position: absolute;
    width: 100%;
    transition: all 0.3s ease;
    font-family: "Roboto", sans-serif;
    font-weight: 200;
    background: linear-gradient(to bottom, rgb(29, 29, 29) 0%, rgba(34, 40, 49, 0) 100%);

}

.header li {
    list-style: none;
}

.header a {
    color: var(--classicWhite);
    text-decoration: none;
}

.header img {
    width: 150px;
    height: auto;
}

.navbar {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
}

.navmenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.navlogo {
    font-size: 40px;
    z-index: 10;
}

.navlink {
    position: relative;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 17px;
    letter-spacing: 0.2px;
    padding: 0 8px;
    font-weight: 400;
}

.navlink::before {
    transition: 0.3s ease;
    content: "";
    position: absolute;
    background: rgb(255, 255, 255);
    height: 1px;
    width: 0;
    left: 50%;
    right: 50%;
    bottom: -2px;
    background: var(--secondaryColor);
}

.navlink:hover::before {
    width: 100%;
    background: var(--secondaryColor);
    left: 0;
    right: 0;
    opacity: 1;
}

.lines {
    z-index: 10;
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
    background: rgb(255, 255, 255);
    font-family: "Roboto", sans-serif;
}

.mainsite-cta small {
    margin-top: 40px;
    display: flex;
    font-size: 13px;
    color: rgb(177, 177, 177);
}


.button{
    margin-top: 20px;
    z-index: 1000;

}
.button button{
    height: 50px;
    width: 180px;
    font-size: 16px;
    background: none;
    border: 1px solid var(--secondaryColor);
    color: var(--classicWhite);
    border-radius: 4px;
    cursor: pointer;
    transition: ease-out 0.3s;
    position: relative;
    z-index: 1;
}

.button button:hover{
    color: var(--classicWhite);
    cursor: pointer;
}

.button button:before{
    transition: 0.3s all ease;
    content: "";
    position: absolute;
    background: var(--classicWhite);
    left: 50%;
    right: 50%;
    top: 0;
    bottom: 0;
    opacity: 0;
    background: var(--secondaryColor);
}

.button button:hover:before{
    opacity: 1;
    background: var(--secondaryColor);
    left: 0;
    right: 0;
    z-index: -1;
}


@media(max-width: 850px) {
    .menu-open .lines .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-open .lines .bar:nth-child(2) {
        transform: translateY(-8px) rotate(-45deg);
        margin-top: 13px;
    }

    .navlink {
        font-size: 30px;
        padding: 0 8px;
    }

    .navlink::before {
        bottom: -2px;
        height: 1px;
    }

    .navmenu {
        position: fixed;
        height: 100vh;
        left: 100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background: var(--secondaryColor);
        width: 100%;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
    }

    .navitem {
        margin: 80px;
        font-size: 30px;
        font-family: "Roboto", sans-serif;
    }

    .menu-open .navmenu {
        left: 0%;
        width: 100%;
        margin: 0;
        height: 100%;
        overflow: hidden;
    }
}

@media(max-height: 770px) {
    .navitem {
        margin: 60px;
        font-size: 25px;
    }
}

.lines {
    display: none;
    cursor: pointer;
}

.bar {
    border-radius: 5px;
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--classicWhite);
    background: var(--classicWhite);
}

@media(max-width: 850px) {
    .lines {
        display: block;
    }

    .menu-open .lines .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-open .lines .bar:nth-child(2) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navlink {
        font-size: 30px;
        padding: 0 8px;

    }

    .navlink::before {
        bottom: -2px;
        height: 1px;
    }

    .menu-open .navmenu {
        position: fixed;
        left: 100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background: var(--primary);
        width: 100%;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        height: 100vh;
        margin: 0;
    }

    .navitem {
        margin: 80px;
        font-size: 30px;
    }

    .menu-open .navmenu {
        left: 0%;
        width: 100%;
    }
}

@media(max-height: 770px) {
    .navitem {
        margin: 60px;
        font-size: 25px;
    }
}

#mainsite {
    position: relative;
    background: url(images/1.webp) no-repeat center center/cover;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

#mainsite::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgb(29, 29, 29) 10vh, rgba(34, 40, 49, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.mainsite {
    margin: 0px auto;
    box-sizing: border-box;
    max-width: 1000px;
    color: var(--font);
}

.mainsite-title {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
}

.mainsite-name img {
    width: 450px;
    height: auto;
}

.mainsite-make h3 {
    color: var(--font);
    font-family: 'Roboto', sans-serif;
    font-size: 45px;
    margin-top: 10px;
    font-weight: 400;
}

.mainsite-hi h4 {
    color: var(--secondaryColor);
    font-size: 16px;
}

.mainsite-about p {
    max-width: 700px;
    color: var(--font);
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    margin-top: 20px;
}


@media (max-width: 1080px) {
    .mainsite {
        padding: 0px 100px;
    }

    .mainsite h3 {
        font-size: 45px;
    }

    .mainsite h2 {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .mainsite {
        padding: 0px 50px;
    }

    .mainsite-name img {
        width: 350px;
    }
}

@media (max-width: 480px) {
    .mainsite {
        padding: 0px 25px;
    }

    .mainsite-name img {
        width: 300px;
    }

    .mainsite-fonts h3 {
        font-size: 35px;
    }

    .mainsite-fonts p {
        font-size: 13px;
        color: var(--font);
    }
}

#services {
    padding: 80px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--font);
}

.services {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.services-title {
    margin-bottom: 20px;
}

.services-title h2 {
    font-size: 3rem;
    font-family: 'Roboto', sans-serif;
    color: var(--primFont);
    margin: 10px 0;
    text-align: center;
}

.services-title p {
    font-size: 1rem;
    color: #39537cc9;
    text-align: center;
    padding: 13px 0;
}

.service-box-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    justify-items: center;
    padding: 15px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
    max-width: 300px;
    border-radius: 6px;
    background: var(--primary);
    /*#23313f*/
    box-shadow: 0 10px 40px 10px rgba(34, 40, 49, 0.8);
    padding: 20px;
}

.service-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 10px;
    margin-bottom: 20px;
}

.service-card-header img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.service-card-header h2 {
    font-size: 18px;
    color: var(--font);
    margin: 0;
    text-align: center;
}


.service-card-description {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-card-description p {
    font-size: 15px;
    color: var(--classicWhite);
    line-height: 1.4;
    margin: 0;
}

.service-animation {
    position: relative;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
    box-shadow: 
        0 0 20px rgb(255, 255, 255), /* Starker innerer weißer Schatten */
        0 0 40px rgba(255, 255, 255, 0.315), /* Mittlerer Übergang */
        0 0 60px rgba(255, 255, 255, 0.123); /* Leichter äußerer Schatten */
}

.service-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: hsl(218, 100%, 95%);
    /*background: #b0c4e4;*/
    filter: blur(20px);
    z-index: -1;
}

.service-animation video {
    width: 80px;
    border-radius: 50%;
}

@media (max-width: 950px) {
    .services{
        padding: 60px 50px;
    }
    .service-box-container {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

@media (max-width: 667px) {
    .service-box-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .services-title h2 {
        font-size: 2.5rem;
    }
}

.about-container {
    width: 100%;
    padding: 80px 10px;
    margin: 0 auto;
    min-height: 80vh;
}

.about-main-container{
    padding: 36px 0 0 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--font);
    max-width: 800px;
    margin: 0 auto;
}



@media (max-width: 968px) {
    .about-container {
        padding: 80px 50px;
    }

    .about-main-container{
        flex-direction: column;
    }
    .about-text p{
        text-align: center;
    }
    .about-button{
        display: flex;
        justify-content: center;
    }
}
@media (max-width: 512px) {
    .about-container {
        padding: 80px 25px;
    }
}

.about-title h2 {
    font-size: 3rem;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
}

hr {
    border-color: var(--secondaryColor);
    width: 450px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1rem;
    color: var(--primFont);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.8;

}


.about-image img{
    width: 350px;
    height: auto;
}

@media (max-width: 480px) {
    .about-image img {
        width: 240px;
        height: auto;
    }
}

.about-button button{
    color: var(--classicBlack);
    
}
.about-button button:hover{
    color: var(--classicWhite);
}

.contact {
    margin: 0 auto;
    box-sizing: border-box;
    color: var(--font);
    display: flex;
    justify-content: center;
    text-align: center;
}

.contact-container {
    padding: 80px 0;
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--classicWhite);
    margin-bottom: 100px;
}



.contact-main-container{
    /*background: #23313f;*/
    background: var(--primary);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 10px 40px 10px rgba(34, 40, 49, 0.8);
    width: 80%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    margin: 0 auto;
}

.contact-title h2 {
    font-size: 1.6rem;
    padding: 20px 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.contact-title hr {
    border-color: var(--secondaryColor);
    width: 450px;
    margin: 0 auto;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    hr {
        width: 300px;
    }
}

.contact-title p {
    padding-top: 100px;
    font-size: 1rem;
    color: var(--font);
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;    
}

.contact-data-item{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.contact-text {
    padding: 0 50px;
}

.contact-text p {
    line-height: 1.8;
    margin-top: 16px;
}

.contact-data {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-weight: bold;
    padding: 20px;
}

.contact-data a {
    color: var(--secondaryColor);
    text-decoration: none;
}

.contact-data a:hover {
    color: var(--classicWhite);
    text-decoration: underline;
}

.contact-title hr {
    border-color: var(--secondaryColor);
    width: 100%; 
    max-width: 450px;
    margin: 0 auto;
    margin-bottom: 20px;
}

svg {
    margin-bottom: -1px;
    margin-top: -1px;
}


footer {
    padding: 50px 0px 15px 0px;
    text-align: center;
    position: relative;
    background: var(--primary);
    flex: 0 0 auto;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(14, 39, 85, 1) 0%, rgba(14, 39, 85, 0.5) 10%, rgba(14, 39, 85, 0) 100%);
    z-index: -1;
}

.footer-logo img {
    width: 200px;
    height: auto;
}

.social-media p {
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center;
    color: var(--classicWhite);
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
}

.social-media a {
    color: var(--secondaryColor);
    text-decoration: none;
}

.social-media a:hover {
    text-decoration: underline;
}

.legal-information {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.legal-information a {
    margin-bottom: 5px;
    text-align: center;
    color: var(--secondaryColor);
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

.legal-information a:hover {
    text-decoration: underline;
}

.copyright-credits {
    margin-top: 20px;
    text-align: center;
    color: #5f77a1;
    font-size: 12px;
    line-height: 1.5;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondaryColor);
    border-radius: 10px;
}

::selection {
    color: var(--classicWhite);
    background: var(--secondaryColor);
}

@media (max-width: 552px) {
    .contact-text {
        display: flex;
        text-align: center;
    }
    .contact-data{
        flex-direction: column;
    }

    .services{
        padding-top: 70px;
    }
}
