@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, p {
    font-size: 1.8rem;
    line-height: 3rem;
    color: #69798d;
    font-weight: 300;
}
img {
    width: 100%;
    height: auto;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #43977C;
}

::-webkit-scrollbar-thumb:hover {
    background: #62B09C;
}


body {
    background-color: #F6F6F6;
    color: rgb(31, 31, 31);
}
main {
    margin-top: 128px;
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
}

header {
    z-index: 10;
    background-color: white;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
    transition: all .4s;
}
main {
    transition: all .4s ease;
}
.secondary-bg {
    background-color: #F0F0F5;
}

.headline {
    text-align: center;
}
.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;
}
.component__image>* {
    display: flex;
    justify-content: center;
}
.header-content {
    display: flex;
    flex-direction: column;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    gap: 20px;
    max-width: 1800px;
    margin: 0 auto;
    width: 95%;
    transition: padding .4s ease;
}

.header-content #logo,
#logo img {
    height: 70px;
    font-size: 0;
}
.header-content #logo,
#logo img {
    height: 60px;
    font-size: 0;
    transition: height .4s ease;
}
.sticky .header-content #logo, .sticky #logo img {
    height: 60px;
}

#menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 99;
}
#menu>a {
    padding: 16px 32px
}
#menu a, #menu .divider {
    font-weight: 700;
    font-size: 1.9rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .4s ease;
    color: #43977C;
}
#menu a:hover {
    color: #62B09C;
}
#menu .divider {
    padding: 4px;
}
.subpageHeader .menu-item, .subpageHeader .divider {
    color: black !important;
}
.sticky #menu a, .sticky #menu .divider {
    
}

.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 {
    margin-bottom: 8px;
}

.news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    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%;
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 10px 50px rgba(166, 209, 237, 0.2);
    border: 0;
    border-radius: 8px;
}
.card-heading, .card-heading a{
    font-size: 2.4rem;
    color:#000;
}
.card-heading {
    padding: 2rem 3rem 2.1rem;
    background: #fff;
    margin-bottom: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.card-media {
    height: 200px;
    overflow: hidden;
}
.card-media img{
    object-fit: cover;
}
section {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: start;
}

section h2 {
    padding: 0;
}
.bg-white {
    background-color: #fff;
}
.bg-grey {
    background-color: #fdfdfd;
}
.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;
}
.back-btn {
    font-size: 12pt;
    padding: 10px 15px 10px 0;
    color: rgb(214, 0, 0);
    text-decoration: none;
}

.services {
    margin: 0 auto;
}

.services h2 {
    margin: 50px auto;
}
.component__grid .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.component__grid .grid-item {
    padding: 5.6rem 3rem 2.2rem;
    box-shadow: 0 10px 50px rgba(166, 209, 237, 0.2);
    background-color: #fff;
    text-align: center;
    border-radius: 16px;
    height: 100%;
}
.component__grid .grid-item img {
    width: 135px;
}
.component__grid .grid-item .content-headline {
    font-size: 2.4rem;
    margin-bottom: 1.9rem;
    font-weight: 600;
    color: #172b43;
}
.text-center  {
    text-align: center;
}
.partner-grid .grid {
    gap: 0;
}
.partner-grid .content-headline {
    display:none;
}
.partner-grid .grid-item {
    box-shadow: none;
    border: 1px solid lightgrey;
    border-radius: 0;
}
.component__text h3 {
    font-size: 3.6rem;
    font-weight: 900;
}
.content-grid {
    display: grid;
    grid-template-columns: 6fr 6fr;
    align-items: center;
    text-decoration: none;
    color: #000;
}

.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;
}


footer {
    border-top: 1px solid #DDD;
    padding: 30px;
    background-color: white;
    background-color: #292e40;
}

footer .container {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-around;
    gap: 20px;
    margin-top: 100px;
    margin-bottom: 20px;
}

footer * {
    font-size: 15px;
}
footer .container > * {
    display: flex;
    flex-direction: column;
} 
footer h4, footer a {
    
    color: #fff !important;
}
footer .social-icons a {
    text-decoration: none;
    font-size: 1.6rem;
    line-height: 3rem;
    color: #172b43;
    width: 3rem;
    height: 3rem;
    display: block;
    background: #a6d1ed;
    text-align: center;
    border-radius: 5px;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
footer img {
    height: 100%;
    object-fit: contain;
}
footer .img-small {    
    width: 50px;
}
.text-centered {
    text-align: center;
}

.contact {
    display: grid;
    grid-template-columns: 6fr 6fr;
    gap: 40px;
}

iframe {
    width: 100%;
    bottom: 0;
}

.logos {
    display: flex;
    gap: 25px;
    align-items: end;
    height: 100px;
}

.img-small {
    height: 40%;
    width: auto;
}
.img-medium {
    max-width: 300px;
}
.img-big {
    max-width: 400px;
}
#hamburgermenu,
#close {
    display: none;
    cursor: pointer;
}
#hamburgermenu,
#close img {
    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;
    text-decoration: none;
    color: #000;
}

.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-content * {
    color: #fff !important;
}
.swiper-slide {
    font-size: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 128px;
    gap: 20px;
    background-size: cover;
}

.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, #menu .divider {
        font-size: 1.4em;
    }

    .header-content #logo,
    #logo img {
        height: 72px;
    }

    .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, #menu .divider {
        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;
    }

    .projects img {
        margin-bottom: 20px;
    }

    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;
    }
}