/* === FONTS === */

/* lato-regular - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('./src/fonts/lato-v23-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('./src/fonts/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('./src/fonts/lato-v23-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('./src/fonts/lato-v23-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('./src/fonts/lato-v23-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('./src/fonts/lato-v23-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
  }
  
  /* lato-italic - latin */
  @font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/lato-v23-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('./src/fonts/lato-v23-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('./src/fonts/lato-v23-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('./src/fonts/lato-v23-latin-italic.woff') format('woff'), /* Modern Browsers */
         url('./src/fonts/lato-v23-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('./src/fonts/lato-v23-latin-italic.svg#Lato') format('svg'); /* Legacy iOS */
  }
  
  /* lato-700 - latin */
  @font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('./src/fonts/lato-v23-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('./src/fonts/lato-v23-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('./src/fonts/lato-v23-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('./src/fonts/lato-v23-latin-700.woff') format('woff'), /* Modern Browsers */
         url('./src/fonts/lato-v23-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('./src/fonts/lato-v23-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
  }
  
  /* lato-700italic - latin */
  @font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 700;
    src: url('./src/fonts/lato-v23-latin-700italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('./src/fonts/lato-v23-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('./src/fonts/lato-v23-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('./src/fonts/lato-v23-latin-700italic.woff') format('woff'), /* Modern Browsers */
         url('./src/fonts/lato-v23-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('./src/fonts/lato-v23-latin-700italic.svg#Lato') format('svg'); /* Legacy iOS */
  }
  

/*  === GLOBAL === */

/* === FARBEN === */
/* 
Blau:       #1f4e8c
Dunkelgrau: #3D3F45
Hellgrau:   #f0f0f0
Rot:        #A62C21  
*/

:root {
    --dunkel-grau: #3d3f45;
    --blau: #1f4e8c;
    --hell-grau: #f0f0f0;
    --rot: #A62C21;
    --weiss: #fff;
    --primaere-schriftart: Lato;
    --sekundaere-schriftart: "Helvetica Neue";
    --tertiaere-schriftart:Arial ;
    --quartaere-schriftart: Railway;
    --fallback-schriftart: sans-serif;

}

html {
    font-size: 16px;
}

body {
    font-family: var(--primaere-schriftart, --sekundaere-schriftart, --tertiaere-schriftart, --quartaere-schriftart, --fallback-schriftart);
    font-size: 16px;
    position: relative;
    max-width: 1280px;
    margin: auto;
}

* {
    margin: 0;
    box-sizing: border-box;
}

section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (max-width: 1366px) {
    section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 1024px) {
    section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
}

:focus {
    outline: none;
    box-shadow: 0 0 2px 2px var(--hell-grau), 0 0 10px var(--hell-grau);
}

/*  === GENERELES === */

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.active {
    background-color: var(--rot) !important;
}

h1, h2, h3, h4, h5, h6, p, span, ul, button {
    margin-bottom: 1rem;
}

.ueberschrift, .ueberschrift-kontakt {
    color: #2f6cbc; 
    font-size: 2rem; 
    text-transform: uppercase;
    font-weight: bold;
    padding-top: 3rem;
}

.googlefont {
    font-family: 'Herr Von Muellerhoff', cursive;
    text-align: center;
    font-size: 3.5rem;
    margin-top: 2rem;
    margin-bottom: 6rem;
    color: #2e343b;
    color: #2f6cbc;
    font-weight: bolder;
       
}

@media (max-width:486px) {
    .ueberschrift-leistungen {
        font-size: 1.5rem;
        text-align: center;
    }
}

@media (max-width:768px) {
    
    .logobild-karriere {
        margin-left: 2.5rem;
        margin-bottom: 1.5rem;
    } 

    .logobild-unternehmen, .logobild-index, .logobild-leistungen, .logobild-kontakt {
        display: none;
    }

    .ueberschrift-karriere {
        margin-left: 2.5rem;
    }

    .ueberschrift-uns {
        margin-left: 1rem;
        margin-bottom: -3rem;
    }

    .ueberschrift-unternehmen {   
        font-size: 1.3rem;
        text-align: center;
        /* margin-right: 5rem; */
    }

    .ueberschrift-leistungen {
        margin-left: 0rem;
        margin-bottom: -2rem;
    }

    .googlefont  {
        font-size: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1026px) {
    .ueberschrift {
        margin-left: 0rem;    
    }

    .ueberschrift-unternehmen {   
        font-size: 1.3rem;
        text-align: center;
    }

    .ueberschrift-karriere {
        margin-left: 4rem;
    }
}

@media (min-width: 1027px) {
    .ueberschrift {
        margin-left: 6.3rem;
    }

    .ueberschrift-karriere {
        margin-left: 5rem;
    }

    .ueberschrift-uns {
        margin-left: 6rem;
    }

    .ueberschrift-leistungen {
        margin-left: 3rem;
    }

    .ueberschrift.logobild-unternehmen {
        margin-left: 8.5rem;
    }
}

@media (min-width: 1370px) {
   
    .ueberschrift-uns {
        margin-left: 3rem;
    }

    .ueberschrift-leistungen {
        margin-left: 4rem;
    }
}

.logobild {
    margin-top: 1.5rem;
    padding-left: 1rem;
}

.wichtiger-text {
    font-weight: bold;
}

.screenreader {
    display: none;
}

.intro-container {
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.intro-container > h1 {
    /* font-size: 1.8rem; */
    text-transform: uppercase;
}

@media (max-width: 468px) {
    .intro-container > h1 {
        font-size: 1.4rem;
    }
}

.intro-container > p {
    font-size: 1.3rem;
}




@media (max-width: 1366px) {
 
    .intro-container > p {
        margin-bottom: .5rem;
    }
}

@media (max-width: 1024px) {

    .intro-container > p {
        margin-bottom: 0;
    }
}

/* === BUTTONS === */

.btn-typ {
    border:2px solid grey;
    background-color: transparent;
    font-size: 1rem;
    color: var(--dunkel-grau);
    transition: border .5s ease-in-out;
}

.btn-typ:hover {
    border: 2px solid var(--rot);
    font-weight: normal;
}



/* === NAVIGATIONSLEISTE === */

/* .header-nav {
    width: 100%;
    height: 70px;
    background-color: #fff;
    position: relative;
    position: sticky;
    top: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.header-nav  a > img {  
    height: 50px;
    width: auto;
    float: left; 
    margin: -1rem;  
    margin-top: -1rem;
}

.header-nav  ul {
    padding: 0;
    margin: 0;
    height: 100%;
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    justify-items: center;
}

@media (max-width: 768px) {
    .header-nav ul {
        grid-template-columns: auto;
        justify-items: left;
        padding: 0;
    }
}

.header-nav  ul > li {
    display: inline-block;
    height: 100%;
    padding: 0 0.4rem 0 0.4rem;
   
}

.header-nav a {
    color: #2f6cbc;
    font-size: 1.5rem;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    margin-top: 1.5rem;
    margin-left: 90px;
    margin-right: 30px;
    transition: 0.6s ease-out;
    padding: 0.3rem;
    border-radius: 0.3rem;
}

.header-nav a:link { 
   text-decoration: none;
} 

.header-nav a:hover {
    text-decoration: underline;
    transform: scale(115%);
}

.header-nav .col-6 {
    padding-top: 0;
    padding-bottom: 0;
}

.header-nav .container, 
.header-nav .row,
.header-nav .col-6 {
    height: 100%;
}

.logo-link {
    display: inline-block;
}

@media (min-width: 765px) and (max-width: 940px) {
    .header-nav  ul > li > a {
        font-size: 1.3rem;
        margin-left: 5px;
        margin-right: 30px;
    }
}


@media  (min-width:940px) and (max-width: 1280px ) {
    .header-nav  ul > li > a {
         font-size: 1.4rem;
         margin-left: 70px;
         margin-right: 10px;
    }
} */

/*  === NAVIGATIONSLEISTE MOBIL === */

/* .mobile-nav-button {
    float: left;
    font-size: 2rem;
    width: 37px;
    height: 37px;
    position: relative;
    margin-top: .4rem;
    margin-bottom: .5rem;
}

.mobile-nav-button > span {
    position: absolute;
    bottom: -18px;
    left: 7px;   
}

.mobile-nav-content > ul > li {
    display: block;
    background-color:white;
    height: 50px;
    padding: 0 auto 10rem 0;
    padding-bottom: 5rem;
    width: 100%;
}

.mobile-nav-content > ul > .active {
    background-color: var(--rot);
}

.mobile-nav-dropdown {
    position: relative;
    display: inline-block;
    float: left;
}

.mobile-nav-content {
    position: absolute;
    right: 0;
    top: 50px;
    display: none;
}

.mobile-nav-dropdown:hover > .mobile-nav-content {
    display: block;
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {

    #desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }
} */

/* === HEADER-BANNER ===  */

.responsive {
    width: 100%;
    height: auto;
  }
  
.titelbild { 
    animation: titelbild 2s linear 1; 
  }

.titelbild-kontakt {
    width: 100%;
    height: 400px;
    
  }
  
  @keyframes titelbild {
    from {
      opacity: 0.1;
    }
  
    to {
        opacity: 1;
    }
  }

#header-banner-klein {
    background: url("../img/hintergrund-klein.jpg") no-repeat ;
    width: 100%;
    height: 0;
    padding-top: 15.625%;
    background-size: contain;
}

.leistungs-teaser-box {

    background-color: #91b9ed;
    color:black;
    padding: 1rem 3rem 2.5rem;
    width: 60%;   
    margin: 1.7rem auto ;
    border-radius: 1rem;
}

#unternehmen-bereich .row > .col-3:nth-of-type(even) > .leistungs-teaser-box {
    margin-left: 1rem;
    margin-right: auto;
}

#unternehmen-bereich .row > .col-3:nth-of-type(odd) > .leistungs-teaser-box {
    margin-right: 1rem;
    margin-left: auto;
}

.leistungs-teaser-box > h2 {
    font-size: 1.4rem;
}

@media (max-width:1366px) {

    .leistungs-teaser-box {
        width: 90%;
    }
}

@media (min-width:1366px) {

    .leistungs-teaser-box {
        width: 90%;
    }
}

@media (max-width:1024px) {

    .leistungs-teaser-box {
        width: 100%;
        margin-bottom: .5rem;
    }

    #unternehmen-bereich .row > .col-3:nth-of-type(even) > .leistungs-teaser-box {
        margin-left: .5rem;
    }
    
    #unternehmen-bereich .row > .col-3:nth-of-type(odd) > .leistungs-teaser-box {
        margin-right: .5rem;   
    }
}

@media (max-width:768px) {

    .leistungs-teaser-box {
        width: 100%;
        margin-bottom: .5rem;
    }

    #unternehmen-bereich .row > .col-3:nth-of-type(even) > .leistungs-teaser-box {
        margin-left: .0;
    }
    
    #unternehmen-bereich .row > .col-3:nth-of-type(odd) > .leistungs-teaser-box {
        margin-right: 0;   
    }
}

@media (max-width: 480px) {
    .leistungs-teaser-box {
        padding: 1rem 1.5rem 2.5rem;
    }
}

/* === GRID-SYSTEM === */

.container {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.row::after {
    content: "";
    clear: both;
    display: block;
}

[class*="col-"] {
    float: left;
    min-height: 1px;
    padding: .8rem;
   
}

.col-1 {
    width: 16.666%;
}

.col-2 {
    width: 33.333%;
}

.col-3 {
    width: 50%;
}

.col-4 {
    width: 66.666%;
}

.col-5 {
    width: 85%;
}

.col-6 {
    width: 100%;
}

@media (max-width: 1024px) {

    .col-1 {
        width: 33.333%;
    }
}

@media (max-width: 768px) {

    .col-1 {
        width: 50%;
    }
    
    .col-2 {
        width: 100%;
    }

    .col-3 {
        width: 100%;
    }

    .col-4 {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .col-1 {
        width: 100%;
    }

    .col-2 {
        width: 100%;
    }

    .col-3 {
        width: 100%;
    }

    .col-4 {
        width: 100%;
    }
}


/* ===ÜBER UNS BEREICH=== */


#über-uns-container {
    position: relative;
    /* width: 85%; */
    margin-right: auto;
    margin-left: auto;
} 

#über-uns-container > img {
    position: absolute;
    top: 0;
    right: 100px;
    height: 100%;
}

#über-uns-container > p {
    width: 85%;
    font-size: 1.2rem;
    margin-right: auto;
    margin-left: auto;
}



.uns-teaser-box {
    /* background-color: #b7b2b2; */
    /* text-align: center; */
    background-color: #91b9ed;
    color: black;
    padding: 2.5rem 1rem 3.5rem 2rem;
    width: 90%;    
    margin: 1.7rem auto ;
    height: 210px;
    border-radius: 1rem;
}

#uns-bereich .row > .col-3:nth-of-type(even) > .uns-teaser-box {
    margin-left: 1rem;
    margin-right: auto;
}

#uns-bereich .row > .col-3:nth-of-type(odd) > .uns-teaser-box {
    margin-right: 1rem;
    margin-left: auto;
}

.uns-teaser-box > h2 {
    font-size: 1.4rem;
}

@media (max-width:1366px) {

    .uns-teaser-box {
        width: 80%;
    }
}

@media (max-width:1024px) {

    .uns-teaser-box {
        width: 100%;
        margin-bottom: .5rem;
    }

    #uns-bereich .row > .col-3:nth-of-type(even) > .uns-teaser-box {
        margin-left: .5rem;
    }
    
    #uns-bereich .row > .col-3:nth-of-type(odd) > .uns-teaser-box {
        margin-right: .5rem;   
    }
}

@media (max-width:768px) {

    .uns-teaser-box {
        width: 100%;
        margin-bottom: .5rem;
    }

    #uns-bereich .row > .col-3:nth-of-type(even) > .uns-teaser-box {
        margin-left: .0;
    }
    
    #uns-bereich .row > .col-3:nth-of-type(odd) > .uns-teaser-box {
        margin-right: 0;   
    }
}

@media (max-width: 480px) {
    .uns-teaser-box {
        /* padding: 1rem 1.5rem 2.5rem; */
        padding-bottom: 15rem;
    }
}

/* === FOOTER === */

.footer {
    background-color:white;
    height: 2.8rem;
    color: black;
    margin-top: 1rem;
    /* margin-bottom: -3rem; */
}

/* .footer-nav {
    display: inline-block;
    r

} */

.footer-nav a {

    text-decoration: none;
    color: #1f4e8c;
    font-size: 1.5rem;
    font-weight: 500;
    /* margin-left: 120px; */
    margin-right: 100px;
    transition: 0.6s ease-out;
    padding: 0.3rem;
    border-radius: 0.3rem;
}

.footer-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-items: center;
    
}

.footer-nav ul > li {
    display: inline-block;
    
}

.footer-nav a:hover {
    text-decoration: underline;
    transform: scale(125%);
}


@media (max-width: 365px) {
    .footer-nav a {
        font-size: .9rem;
        margin-right: 5px;
        margin-left: 0px;
    }
}

@media (min-width: 365px) and (max-width: 515px) {
    .footer-nav a {
        font-size: 1rem;
        /* margin-right: 15px;
        margin-left: 0px; */
    }
    
}
@media (max-width: 565px) {
    #footer span {
        display: none;
    }
}

@media (min-width: 516px) and (max-width: 765px) {
    .footer-nav  ul > li > a {
        font-size: 1.1rem;
        /* margin-left: 15px;
        margin-right: 40px; */
    }


}
@media (min-width: 765px) and (max-width: 940px) {
    .footer-nav  ul > li > a {
        font-size: 1.3rem;
        /* margin-left:15px;
        margin-right: 80px; */
    }
}

@media  (min-width:940px) and (max-width: 1100px ) {
    .footer-nav  ul > li > a {
         font-size: 1.4rem;
         /* margin-left: 20px;
         margin-right: 90px; */
    }
}

/* ===LEISTUNGEN-SEITE */

.leistung {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.leistung:nth-of-type(even) {
    background-color: var(--hell-grau);
}

.flex-container {
    display: flex;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-around;
    align-items: center;
    /* min-height: 600px; */
}

.flex-container > .intro-container {
    width: 100%;
}

.leistungs-box {
    background-color: var(--dunkel-grau);
    flex-basis: 25%;
    color: var(--weiss);
    padding: 2rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.leistung-box-empfohlen {
    flex-basis: 27.5%;
    min-height: 750px;
    box-shadow: 0 0 20px 0 var(--dunkel-grau);
    font-size: 1.05rem;
}
.leistungs-box ul {
    padding: 0;
}

.leistungs-box ul > li {
    list-style-position: inside;
    margin-bottom: .5rem;
}

.leistungs-box h1 {
    margin-top: 1.5rem;
}
.leistung-auswählen-btn {
    width: 50%;
    height: 2.5rem;
    font-size: 1rem;
    margin-top: .5rem;
    margin-bottom: 1.5rem;
    min-width: 170px;
}

.leistung-auswählen-btn:hover {
    font-weight: normal;
}


@media (max-width: 1780px) {

    .leistungs-box {
      
        flex-basis: 27.5%;
    }
    
    .leistung-box-empfohlen {
        flex-basis: 30%;
    }
}

@media (max-width: 1620px) {

    .leistungs-box {
        flex-basis: 30%;
    }
    
    .leistung-box-empfohlen {
        flex-basis: 32.5%;
    }
}

@media (max-width: 1488px) {

    .leistungs-box {
        padding: 1rem 2rem;
    }

    .flex-container {
     align-items: stretch;
    }
}

@media (max-width: 1366px) {
    .flex-container {
        width: 90%;
    }
}

@media (max-width: 1024px) {
    .flex-container {
        width: 100%;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (max-width: 1088px) {

    .flex-container {
        width: 90%;
        flex-direction: column;
        padding: 0;
        
    }

    .leistungs-box {
        margin-bottom: 2rem;
        min-height: initial;
    }
}

@media (max-width: 768px) {

    .flex-container {
        width: 90%;
    }
}

@media (max-width: 510px) {

    .leistungs-box {
        padding: 1rem 2rem;
    }
}

@media (max-width: 440px) {

    .leistungs-box {
        padding: .5rem 1rem;
    }
}

@media (max-width: 398px) {

    .flex-container{
        width: 100%;
        padding: .5rem 1rem;
    }
}

@media (max-width: 375px) {

    .flex-container{
        width: 100%;
        padding: .5rem 1rem;
    }

}


/* ===KONTAKT-BEREICH=== */

#kontakt-formular {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
   
}

#kontakt-formular input,
#kontakt-formular textarea {
    width: 100%;
    border: 2px solid var(--dunkel-grau);
    padding: .5rem;
    font-size: 1rem;
    font-family: 'Raleway', 'Lato', 'Helvetica Neue', 'Arial', sans-serif;
    color: var(--dunkel-grau);
    transition: border .5s ease-in-out;
    border-radius: 0.5rem;
    background-color: #91b9ed;
}

#kontakt-formular textarea {
    height: 150px;
 
}

#kontakt-formular input:hover,
#kontakt-formular textarea:hover {
    border: 2px solid var(--rot);
}

#absendeButton {
    width: 150px;
    height: 39px;
    border-radius: 0.5rem;
    background-color: #91b9ed;
}

#anrede {
    width: 10%; 
    height: 35px; 
    background-color: #91b9ed; 
    border-radius:0.5rem; 
    color: grey; 
    border: #91b9ed
}

@media (max-width: 1366px) {
    #kontakt-formular {
        width: 90%;
    }
}

@media (max-width: 1024px) {
    #kontakt-formular {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #kontakt-formular button {
        width: 100%;
    }

    #anrede {
        width: 15%;
    }
}

@media (max-width: 540px) {
    #anrede {
        width: 23%;
    }
}






