@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Roboto:wght@100;300;400;500;700;900&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    line-height: 1.5;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: rgb(216, 0, 0);
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(214, 0, 0);
}


body {
    background-color: #F6F6F6;
    color: rgb(31, 31, 31);
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6);
}

header {
    z-index: 10;
    background-color: white;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
    transition: all 1.5s;
}

main {
    transition: all .4s ease;
}

.secondary-bg {
    background-color: #F0F0F5;
}

.sticky .header-content {
    padding-top: 20px;
    padding-bottom: 20px;
}

.component__slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.component_headline {
    margin-bottom: 40px;
    text-align: center;
}

.header-content {
    display: flex;
    flex-direction: column;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    gap: 20px;
    max-width: 1800px;
    margin: 0 auto;
    width: 95%;
    transition: padding .4s ease;
}

.header-content #logo,
#logo img {
    height: 50px;
    font-size: 0;
}

#menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    z-index: 99;
}

#menu a {
    color: white;
    text-decoration: none;
    font-size: 1.4em;
}

.sticky #menu a {
    color: black;
}

.banner {
    height: 100svh;
    min-height: 600px;
    background-image: url('../../assets/stefan-steinbauer-Is4oR1SLtr0-unsplash.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 1300px;
}

.banner-subpage {
    background-image: url('../../assets/michael-niessl-nuvaRAeaMdc-unsplash.jpg');
    height: 600px;
}

.banner-overlay {
    background-color: rgba(0, 0, 0, 0.432);
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.banner-content {
    color: white;
    max-width: 1800px;
    width: 95%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: start;
}

.banner-content h1 {
    line-height: 1;
}

.banner-subpage .banner-content {
    align-items: center;
}

.highlight-red {
    color: red;
    font-weight: bolder;
}

.banner-content p {
    font-size: 30px;
}

h1,
h2,
h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

h1 {
    font-size: 60px;
}

h2 {
    font-size: 45px;
    margin-bottom: 16px;
    line-height: 1;
}

h3 {
    font-size: 30px;
    padding-bottom: 20px;
}

p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.news {
    display: grid;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.news-item {
    aspect-ratio: 1 / 1;
    width: 33%;
    display: flex;
    gap: 10px;
    flex-direction: column;
    text-decoration: none;
    color: black;
    background-color: white;
    border: 1px solid #DDD;
}

.news-item:hover .news-thumbnail img {
    transform: scale(110%);
}

.news-thumbnail img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

.news-thumbnail {
    width: 100%;
    overflow: hidden;
}

.news-details {
    padding: 15px;
    padding-top: 5px;
}

.news-heading {
    font-size: 25px;
    font-weight: 500;
}

.news-teaser {
    font-size: 20px;
}

.news-thumbnail {
    width: 100%;
}

section {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: start;
}

section h2 {
    padding: 0;
}

.button {
    background-color: white;
    padding: 15px 25px;
    font-weight: 500;
    color: black;
    text-decoration: none;
    display: inline-block;
    font-size: 14pt;
}

.btn-red {
    background-color: rgb(214, 0, 0);
    color: white;
}

.services {
    margin: 0 auto;
}

.services h2 {
    margin: 50px auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 6fr 6fr;
    align-items: center;
}

.content-text {
    display: flex;
    justify-content: center;
    background-color: white;
    flex-direction: column;
    padding: 7%;
    height: 100%;
}

.content-text h3 {
    padding: 0;
}

.content-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.reverse .content-text {
    grid-row: 1;
}

.component {
    margin: 40px auto;
    padding-top: 40px;
    padding-bottom: 40px;
    scroll-margin-top: 80px;
}

.maxWidthLimit {
    max-width: 1200px;
    margin: auto;
}

.grid {
    display: grid;
    align-items: center;
}

.grid-5050 {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.grid-2080 {
    grid-template-columns: 1fr 4fr;
    gap: 16px;
}

.grid-8020 {
    grid-template-columns: 4fr 1fr;
    gap: 16px;
}

.grid-6040 {
    align-items: start;
    grid-template-columns: 6fr 4fr;
    gap: 16px;
}

.grid img {
    height: auto;
    width: 100%;
}

.team-container {
    margin: 20px auto;
}

.team-container h2 {
    margin: 40px auto;
}

.team-person {
    display: flex;
    align-items: center;
    gap: 40px;
}

.team-person img {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 185px;
    margin: 0 auto;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.team {
    display: flex;
    max-width: 100%;
    flex-direction: column;
    text-align: start;
    gap: 40px;
}

.projects img {
    margin-bottom: 20px;
}

footer {
    border-top: 1px solid #DDD;
    padding: 30px;
    background-color: white;
}

footer .container {
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    margin-top: 100px;
    margin-bottom: 20px;
}

.text-centered {
    text-align: center;
}

.contact {
    display: grid;
    grid-template-columns: 6fr 6fr;
    gap: 40px;
}

iframe {
    width: 100%;
    bottom: 0;
}

footer * {
    font-size: 15px;
    text-align: end;
    color: black;
}

footer img {
    height: 100%;
    object-fit: contain;
}

.logos {
    display: flex;
    gap: 25px;
    align-items: end;
    height: 100px;
}

.img-small {
    height: 40%;
    width: auto;
}

#hamburgermenu,
#close {
    display: none;
    cursor: pointer;
    height: 40px;
}

#close {
    position: absolute;
    top: 30px;
    right: 20px;
}

.image-text {
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.image-text img {
    width: 300px;
    margin-bottom: 0 !important;
    margin-right: 20px;
    height: auto;
}

.image-text p {
    padding: 0px;
    padding-top: 0;
}

.image-text h3 {
    padding-top: 0px;
    padding-bottom: 10px;
    line-height: 1;
}

.swiper {
    background-color: rgba(0, 0, 0, 0.432);
    width: 100%;
    height: 100%;
}

.swiper-container {
    width: 100%;
    height: 100svh;
    min-height: 600px;
    max-height: 1300px;
    background-image: url(../../assets/stefan-steinbauer-Is4oR1SLtr0-unsplash.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.swiper-slide {
    font-size: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 128px;
    gap: 20px;
}

.swiper-slide p {
    font-size: 18pt;
    color: #fff;
}

.swiper-slide h1 {
    line-height: 1;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.swiper-pagination-bullet {
    background-color: #fff;
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: red;
}

.swiper-pagination-bullet-active {
    background: red;
}

.subpage-mt {
    margin-top: 160px;
    margin-bottom: 100px;
}

.mt32 {
    margin-top: 32px;
}

.mt64 {
    margin-top: 64px;
}

.mt16 {
    margin-top: 16px;
}

.mb32 {
    margin-bottom: 32px;
}

@media only screen and (max-width: 1200px) {
    .maxWidthLimit {
        padding-left: 32px;
        padding-right: 32px;
    }

    #menu {
        gap: 30px;
    }

    #menu a {
        font-size: 1.4em;
    }

    .header-content #logo,
    #logo img {
        height: 40px;
    }

    .banner-content {
        width: 100%;
        padding: 20px;
    }
}

@media only screen and (max-width: 992px) {
    .news {
        flex-direction: column;
    }

    .news-item {
        width: 100%;
        aspect-ratio: unset;
        margin: 0;
        display: grid;
        grid-template-columns: 4fr 8fr;
        align-items: center;
    }

    .news-thumbnail {
        aspect-ratio: unset;
        width: 100%;
    }

    .news-details {
        padding: 10px;
    }

    .news-details h3 {
        padding: 0;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 35px;
    }

    h3 {
        font-size: 25px;
    }

    p,
    .news-teaser {
        font-size: 17px;
    }

    #hamburgermenu,
    #close {
        display: block;
    }

    #menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: white;
        gap: 10px;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        z-index: 99;
    }

    #menu a {
        font-size: 1.6em;
        color: #000;
    }

    .header-content,
    footer {
        padding: 30px 20px;
        width: auto;
    }

    .banner {
        min-height: 300px;
    }
}

@media only screen and (min-width: 993px) {
    #menu {
        display: flex !important;
    }
}

@media only screen and (max-width: 768px) {

    .banner {
        background-attachment: unset;
    }


    footer .container {
        flex-direction: column-reverse;
        gap: 50px;
        margin-top: 30px;
        width: 100%;
    }

    .logos {
        width: 100%;
        max-width: 400px;
        align-self: baseline;
    }

    .content-grid {
        display: flex;
        flex-direction: column;
    }

    .content-text {
        padding: 20px;
    }

    .services {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .services h2 {
        margin: 20px auto;
    }

    main {
        margin: 0;
    }

    .image-text img {
        margin-right: 10px;
    }

    .team-person {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        background-color: white;
    }

    .team-person img {
        max-width: 250px;
    }

    .team-container {
        margin: 0;
    }

    .banner {
        height: 400px;
    }

    .image-text {
        flex-direction: column;
        padding: 0;
    }

    .image-text p {
        padding: 20px;
        padding-top: 0;
    }

    .image-text h3 {
        padding: 20px;
        padding-bottom: 10px;
    }

    .image-text img {
        width: 100%;
        margin: 0;
        float: none;
    }
}

@media only screen and (max-width: 600px) {
    .news-item {
        display: flex;
        gap: 0;
    }

    .grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .swiper-slide {
        padding: 48px;
    }

    .grid img {
        max-height: 200px;
        width: auto;
    }

    .img-small {
        width: 20%;
    }

    footer img {
        width: 30%;
    }

    .logos {
        gap: 10px;
        justify-content: center;
    }

    .logos {
        display: grid;
        grid-template-columns: 4fr 3fr 3fr;
        gap: 20px;
        align-items: end;
        justify-items: center;
    }

    .logos img {
        width: 100% !important;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        padding: 10px 0;
        font-size: 30px;
    }

    .banner-content p {
        font-size: 20px;
    }
}