@font-face {
    font-family: "univers";
    src: url("../fonts/Univers.otf");
  }

  @font-face {
    font-family: "univers-light";
    src: url("../fonts/Univers-Light.otf");
  }

  @font-face {
    font-family: "Univers-LT-Std-45-Light";
    src: url("../fonts/Univers-LT-Std-45-Light.otf");
  }

  @font-face {
    font-family: "univers-Bold";
    src: url("../fonts/Univers-Bold.otf");
  }
::root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    font-family: 'univers-light';
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body, p {
    font-size: 1.2rem;
    line-height: 1.438rem;
    color: #2c3235;
}
img {
    width: 100%;
    height: auto;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: red;
}

::-webkit-scrollbar-thumb:hover {
    background: red;
}


body {
    background-color: #F6F6F6;
    color: rgb(31, 31, 31);
}
main {
    margin-top: 80px;
}
.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;
}
body {
    font-family: "univers-light";
  }

  p,
  nav a {
    font-family: "Univers-LT-Std-45-Light";
  }

  h1,
  h2,
  h3 {
    font-family: "univers-Bold";
    font-family: "Univers-LT-Std-45-Light";
    font-weight: 400;
  }
main {
    transition: all .4s ease;
}
.secondary-bg {
    background-color: #F0F0F5;
}
main > .container > .component:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.component__slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.component_headline {
    margin-bottom: 30px;
    text-align: center;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items:center;
}
.component_headline hr {
    background-color: red;
    border: none;
    height: 3px;
    width: 40px;
}
.component__twoImagesTextBelow .images {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}
.component__twoImagesTextBelow .images .image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.component__twoImagesTextBelow .images .image-wrapper{
    max-width: 241px;
    border-bottom: 5px solid red;
    display: flex;
}
.component__twoImagesTextBelow .text p{
    font-size: 1.2rem;
    line-height: 33px;
}
.component__imageBetweenText .row-first {
    background-image: linear-gradient(red, red);
    background-size: 100% 50%;
    background-repeat: no-repeat;
}
.component__imageBetweenText .row-mid {
    padding-top: 50px;
    padding-bottom: 50px;
}
.component__imageBetweenText .row-mid > div:last-child {
    text-align: end;
}
.component__imageBetweenText .row-first {
    background: linear-gradient(180deg, transparent 50%, red 50%);
}
.component__imageBetweenText .row-last {
    background: linear-gradient(180deg, red 50%, transparent 50%);
}
.component__gallery > div{
    display: flex;
    flex-direction: row;
    gap: 32px;
}
.component__gallery > div > div{
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.component__gallery .gallery-item{
    display: flex;
}
.component__gallery .left-column {
    width: 170%;
}
.component__gallery .right-column {
    margin-top: 80px;
}
.image-wrapper{
    display: flex;
    border-bottom: 4px solid #e1001a;
    box-shadow: 20px 20px 20px #00000029;
}
#myHeader {
    background: white;
    border-bottom: 5px solid red;
}
.header-content {
    display: flex;
    justify-content: end;
    gap: 70px;
    align-items: center;
    padding: 8px 0;
    max-width: 1800px;
    margin: 0 auto;
    width: 95%;
    transition: padding .4s ease;
    position: relative;
}

.header-content #logo,
#logo {
    font-size: 0;
    position: absolute;
    left: 0;
    border-bottom: 5px solid red;
    width: 205px;
    height: 130px;
    padding:20px;
    background: white;
    font-size: 0;
    margin-right: auto;
    transition: transform 0.2s ease;
    transform: translateY(50px) rotate(-20deg);
}
#logo img {
    transform: rotate(-340deg) translateY(10px);
}
.sticky .header-content #logo, .sticky #logo {
    width: 150px;
    height: auto;
    border: none;
    transform: none;
    padding: 0;
    top: 50%;
    transform: translateY(-50%);
}
.sticky #logo img {
    transform: none;
    display: block;
}
#menu {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    z-index: 99;
}
#menu>a {
    padding: 8px 14px;
}
#menu a, #menu .divider {
    font-size: 1.069rem;
    line-height: 1.069rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .4s ease;
    color: black;
}
#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 {
    font-size: 60px;
}

h2 {
    font-size: 2.375rem;
    margin-bottom: 12px;
    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: #f4f4f4;
}
.bg-red {
    background-color: red;
    color:white;
}
.bg-red hr {
    background-color: white;
}
.bg-red p {
    color: white;
}
.bg-dark, .bg-dark p {
    background-color: #2b2b2e;
    color:white;
}
.bg-dark hr {
    background-color: white;
}
.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>* {
    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;
}
.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;
}
.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 {
    padding-top: 60px;
    padding-bottom: 60px;
    scroll-margin-top: 80px;
}
.component__image .image_wrapper {
    position: relative;
    border-top: 5px solid red;
    border-bottom: 5px solid red;
    display: inline-flex;
    width: 100%;
    max-height: 500px;
}
.component__image .image_wrapper img {
    object-fit: cover;
}
.component__image .caption {
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-wrap-mode: nowrap;
    position: absolute;
}
.component__image h2 {
    background: linear-gradient(0, red 60%, transparent 0);
    color: white;
    font-size: 3.563rem;
    line-height: 3.563rem;
}
.component__contentGrid > div {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.component__contentGrid .grid-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.content-text p{
    line-height: 33px;
}
.component__contentGrid .grid-item .image {
    order: 1;
}
.component__contentGrid .grid-item.reverse .image {
    order: 0;
}
.maxWidthLimit {
    max-width: 1140px;
    margin: auto;
}

.smallMaxWidthLimit {
    max-width: 900px;
    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;
}
.stellen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    user-select: none;
  }
  
  .stellen-item {
    min-height: 88px;
    cursor: pointer;
    border-bottom: 2px solid white;
    transition: 0.3s;
  }
  
  .stellen-item:hover {
    transform: scale(1.05);
  }
  
  .stellen-item p {
    font-weight: bold;
    line-height: 33px;
  }
  
  .stelle {
    max-width: 1140px;
    margin: 0 auto;
  }
  
  .stelle .title {
    position: relative;
  }
  
  .stelle .title-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  
  .stelle-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  
  .stelle-info p {
    line-height: 33px;
  }
  
  .stelle-info ul {
    margin-left: 20px;
  }
  
  .stelle-info ul li p {
    opacity: 0.8;
  }
  
  .stelle-info h3 {
    margin-bottom: 16px;
    line-height: 1;
  }
  
  .stelle-title {
    padding-bottom: 46px;
    border-bottom: 1px solid white;
    margin-bottom: 0;
    padding-top: 10px;
  }
  
  #stelle1,
  #stelle2 {
    display: none;
  }
  
  .job-button {
    border: 1px solid white;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    margin: 0 auto;
  }
  
  .close-stelle {
    position: absolute;
    top: 0;
    right: 0;
    filter: brightness(0) saturate(100%) invert(89%) sepia(99%) saturate(1%)
      hue-rotate(264deg) brightness(110%) contrast(97%);
    width: 36px;
    cursor: pointer;
  }
form.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
form.contact-form h3 {
    padding-bottom: 16px;
}
form.contact-form textarea, form.contact-form input {
    width: 100%;
    border-radius: 4px;
    padding: 10px 12px;
    border: 1px solid #2b2b2e;
}

form.contact-form button {
    font-size: 1.2rem;
    background-color: red;
    color: white;
    border:none;
    padding: 10px 14px;
    border-radius: 4px;
    cursor: pointer;
}
.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}
.row > * {
    flex: 1 1 0px;
}
footer .footer-top {
    background-color: #2b2b2e;
}
footer .footer-bottom  {
    background-color: white;
}
.footer-top .container {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-around;
    padding-top: 60px;
    padding-bottom: 60px;
}

footer * {
    font-size: 15px;
}
.footer-top .container > * {
    display: flex;
    flex-direction: column;
    flex: 1 1 0px;
    border-right: 1px solid grey;
    padding: 0 60px;
    justify-content: start;
    align-self: stretch;
} 

.footer-top .container > *:last-child { 
    border: none;
    padding-right: 0;
}

.footer-top .container > *:first-child { 
    padding-left: 0;
}
.footer-top h4 {
    font-size: 1.188rem;
    margin-bottom: 8px;
}
.footer-top h4, .footer-top a, .footer-top div {
    
    color: #fff !important;
}
.footer-bottom .container {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: space-between;
}
.footer-bottom .container > *{
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: start;
}
.footer-bottom img {
    height: 15px;
}
.footer-bottom a {
    color: black;
}
.footer-bottom #footer-logo {
    display: flex;
    align-items: center;
}
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;
}
.logo1 {
    width: 100%;
}
.logo2 {
    width: 105px;
}

#hamburgermenu,
#close {
    display: none;
    cursor: pointer;
    width: 40px;
}
#hamburgermenu,
#close img {
    height: 40px;
    width: 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: 80vh;
    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;
    border-bottom: 5px solid red;
}
.swiper-slide-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.swiper-slide-content h2 {
    background: linear-gradient(0, red 60%, transparent 0);
    color: white;
    font-size: 3.563rem;
    line-height: 3.563rem;
}
.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;
}
.image-wrapper {
    position: relative;
}
.copyright {
    position: absolute;
    right: 0;
    bottom: 0;
    background: white;
    font-size: 12px;
    line-height: 22px;
    text-decoration: none;
    opacity: 0.8;
    padding: 1px 15px;
    display: block;
}

.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;
}
.swiper-pagination-bullets.swiper-pagination-horizontal {
    display: inline-flex;
    justify-content: flex-end;
    padding-right: 30px;
    bottom: 30px;
    gap: 10px;
}
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    padding: 10px;
}
.subpage-mt {
    margin-top: 160px;
    margin-bottom: 100px;
}

.mt32 {
    margin-top: 32px;
}

.mt64 {
    margin-top: 64px;
}

.mt16 {
    margin-top: 16px;
}

.mb32 {
    margin-bottom: 32px;
}
.map-container {
    position: relative;
  }
  
.map-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 0;
    left: 60px;
    background-color: red;
    color: white;
    padding: 30px;
    z-index: 1;
}

#map {
    z-index: 0;
}
.leaflet-marker-icon.leaflet-div-icon.leaflet-zoom-animated.leaflet-interactive {
    background-color: transparent;
    border: none;
}
@media only screen and (max-width: 1200px) {
    .maxWidthLimit {
        padding-left: 32px;
        padding-right: 32px;
    }

    .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;
    }
    #myHeader .logo2 {
        display: none;
    }

    #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;
    }
}