body{
    background-color: #fff;
    font-family: Calibri, Arial, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
    border-top: 2px solid #ffbd30;
    text-align: center;
    transition: all 0.5s;
}

.wrapper{
    max-width: 1450px; 
    width: 100%;
    margin: auto;
    xbackground-color: red;
    transition: all 0.5s;
}

.wrapperhalf{
    width: 665px;
    transition: all 0.5s;
}

a[href]:link, a[href]:visited, a[href]:hover{
    color: #08288b;
    text-decoration: none;
}

h1{
    color: #08288b;
    font-size: 200%;
    line-height: 125%;
    font-weight: normal;
    margin-top: 0px;
}

h2{
    color: #08288b;
    font-size: 120%;
    font-weight: bold;
}

h3{
    color: #08288b;
    font-size: 110%;
    font-weight: weight;
}

p{
    line-height: 150%;
}

.CMSImage{
    max-width: 100%;
    height: auto;
}

hr {
    height: 2px;
    border-width: 0;
    background-color: #08288b;
}

ul{
    margin-top: 0;
    margin-bottom: 15px;
    margin-right: 20%;
}

ul li{
    list-style-type: disc;
    display: list-item;
    line-height: 150%;
}

#top{
    background-color: #e7eaf4;
    text-align: left;
    transition: all 0.5s;
}

#topnav{
    padding: 2px 0 2px 0;
    transition: all 0.5s;
}

#topnav li{
    display: inline-block;
    list-style-type: none;
    padding: 5px 12px 5px 12px;
}

#topnav li:nth-child(1){
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

#topnav li:nth-child(2){
    border-right: 1px solid #fff;
}

#topnav li:nth-child(4){    
    border-right: 1px solid #fff;
    float: right;
}

#topnav li:nth-child(5){
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    float: right;
}

#topnav li a[href]:link, #topnav li a[href]:visited, #topnav li a[href]:hover{
    text-decoration: none;
    color: #08288b;
}

#topnav li a[href] .icon{
    color: #ffbd30;
}

#topnav li a[href] .company{
    color: #999999;
    font-weight: normal;
}

#header{
    height: 82px;
    text-align: right;
    margin: 20px auto 20px auto;
}

#logo{
    height: auto;
    width: auto;
    transition: all 0.5s;
}

#mainnav{
    padding: 0;
    margin: 0;
    transition: all 0.5s;
}

#mainnav li{
    display: inline-block;
    list-style-type: none;
    text-transform: uppercase;
    font-size: 120%;
    padding: 30px 0 0 0;
    margin: 0 50px 0 0;
}

#mainnav li:first-child{
    float: left;
    padding: 0;
    margin: 0;
}

#mainnav li:nth-last-child(2){
    margin: 0;
}

#mainnav li:last-child{
    display: none;
    margin: 0;
    position: relative;
}

#mainnav li a[href]:link, #mainnav li a[href]:visited{
    color: #08288b;
    text-decoration: none;
}

#mainnav li a[href]:hover{
    color: #08288b;
    text-decoration: none;
}

#mainnav li a[href].active{
    color: #08288b;
    text-decoration: none;
}

#burgernav{
    display: block;
    position: absolute;
    top: 35px;
    right: 10px;
    z-index: 100;
    -webkit-user-select: none;
    user-select: none;
}

#burgernav input{
    display: block;
    margin-right:30px;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0; 
    z-index: 200; 
    -webkit-touch-callout: none;
}

#burgernav span{
    display: block;
    margin-right:10px;
    width: 33px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: #08288b;
    border-radius: 3px;
    z-index: 100;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease;
}

#burgernav span:first-child{
    transform-origin: 0% 0%;
}

#burgernav span:nth-last-child(2){
    transform-origin: 0% 100%;
}

#burgernav input:checked ~ span{
    opacity: 1;
    transform: rotate(45deg) translate(-2px, 0);
    background: #08288b;
}

#burgernav input:checked ~ span:nth-last-child(3){
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#burgernav input:checked ~ span:nth-last-child(2){
    opacity: 1;
    transform: rotate(-45deg) translate(-2px, 2px);
}

#menu{
    position: absolute;
    width: 0px;
    overflow: hidden;
    margin: 0 0 0 0;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    right: -10px;  
    background: #fff;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;  
    transition: all 0.5s;
}

#menu li{
    padding: 10px 0;
    margin-left: 0 !important;
    font-size: 18px;
    line-height: 40px;
    text-decoration: none;
}

#menu a{
    text-decoration: none;
    white-space:nowrap;
    color: #b9b9b9;    
}

#burgernav input:checked ~ ul{
    transform: scale(1.0, 1.0);
    opacity: 1;
}
#burgernav input:checked ~ #menu{
    width: 140px;
    padding: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all 0.5s;
}

.intro{
    width: auto;
    position: relative;
    height: 510px;
    padding: 0;
    margin: 0;
    z-index: 1;
    white-space: nowrap;
    transition: all 0.5s;
}

.intro .picture{
    background-color: #e6e9f3;
    position: absolute;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 0.5s;
}

.intro .picture.active {
    opacity: 1;
    transition: all 0.5s;
}

.intro .pictureback{
    position: absolute;
    left: 30px;
    font-size: 500%;
    color: #fff;
    text-shadow: 2px 2px 3px rgba(150, 150, 150, 1);
    text-align: left;
    display: inline-block;    
    top: 0;
    bottom: 0;
    width: 45%;
    cursor: pointer;
    user-select: None; 
    transition: all 0.5s;
}

.intro .pictureforward{
    position: absolute;
    right: 30px;
    font-size: 500%;
    color: #fff;
    text-shadow: 2px 2px 3px rgba(150, 150, 150, 1);
    text-align: right;
    display: inline-block;    
    top: 0;
    bottom: 0;
    width: 45%;
    cursor: pointer;
    user-select: None;
    transition: all 0.5s;
}

.intro .botton{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    user-select: None;
    transition: all 0.5s;
}

.welcome{
    margin: 110px auto 110px auto;
    padding: 0;
    max-width: 800px;
    text-align: center;
    transition: all 0.5s;
}

.welcome h1{
    text-transform: uppercase;
    color: #08288b;
    font-size: 200%;
}

.welcome p{
    font-size: 140%;
    color: #444;
}

.introtile{
    padding: 0;
    margin: 0 0 150px 0;
    text-align: center;
    transition: all 0.5s;
}

.introtile li{
    list-style-type: none;
    display: inline-block;
    width: calc(33% - 20px);
    position: relative;
    margin: 0 30px 0 30px;
}

.introtile li:first-child, .introtile li:last-child{
    margin: 0;
}

.introtile li a{
    width: 100%;
    padding-top: 65%;
    display: inline-block;
    background-color: #e6e9f3;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    color: #08288b;
    font-size: 120%;
    font-weight: normal;
}

.introtile li a span{
    background-color: #ffbd30;
    display: block;
    padding-top: 8px;
    height: 30px;
    text-transform: uppercase
}

.start{
    background-color: #e7eaf4;
    margin-bottom: 150px;
    transition: all 0.5s;
}

.start .startcontent{
    padding: 30px 0 30px 0;
    margin: 0;
    text-align: center;
}

.start .startcontent li{
    list-style-type: none;
    display: inline-block;
    width: 44%;
    margin: 0 calc(12% - 12px) 0 0;
    vertical-align: middle;
    color: #444;
    xposition: relative;
    text-align: left;
}

.start .startcontent li:last-child{
    margin: 0;
}

.start .startcontent li .startcontent_pic{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    padding-top: 60%;
}

.start .startcontent h1{
    color: #08288b;
}

.video{
    border: 1px solid black;
    height: 450px;
    width: 900px;
    display: flex;    
    margin: auto;
    margin-bottom: 150px;
    transition: all 0.5s;
}

.imgtile{
    padding: 0;
    margin: 0 0 150px 0;
    display: table;
    width: 100%;
    xheight: 400px;
    transition: all 0.5s;
}

.imgtile li{
    list-style-type: none;
    display: table-cell;
    margin: 0;
    vertical-align: middle;
}

.imgtile li a{
    width: 100%;
    padding-top: 35%;
    padding-bottom: 35%;
    display: inline-block;
    background-color: #e6e9f3;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    color: #08288b;
    font-size: 120%;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    position: relative;
}

.imgtile li a .imgtile_img{
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.imgtile li a:hover .imgtile_img{
    opacity: 0.4;
}

.imgtile li a .imgtile_txt{
    position: absolute;
    top: calc(50% - 23px);
    right: 0;
    left: 0;
    opacity: 0;
}

.imgtile li a:hover .imgtile_txt{
    opacity: 1;
}

.imgtile li a .imgtile_txt span{
    padding: 10px 15px;
    border-top: 1px solid #08288b;
    border-bottom: 1px solid #08288b;
}

.txttile{
    padding: 0;
    margin: 0 0 150px 0;
    text-align: center;
    transition: all 0.5s;
}

.txttile li{
    list-style-type: none;
    display: inline-block;
    width: calc(33% - 40px);
    position: relative;
    margin: 0 60px 0 60px;
    padding-bottom: 20px;
    border-bottom: 2px solid #08288b;
}

.txttile li:first-child, .txttile li:last-child{
    margin: 0;
}

.txttile li h2{
    color: #08288b;
    font-weight: normal;
    font-size: 160%;
}

.txttile li p{
    xtext-align: justify;
    color: #444;
}

.content_container{
    margin-bottom: 150px;
    transition: all 0.5s;
}

.content_container h1{
    text-transform: uppercase;
    color: #08288b;
    text-align: center;
    font-weight: normal;
    margin-bottom: 60px;
}

.content{
    padding: 0;
    margin: 0 auto 0 auto;
    display: inline-table;
    min-height: 500px;
    width: 60%;
    color: #444;
    xmargin-bottom: 200px;
    transition: all 0.5s;
}

.content:last-of-type{
    padding-bottom: 150px;
}

.content>li{
    display: table-cell;
    width: 50%;
    height: 500px;
    vertical-align: middle;
    list-style-type: none;
}

.content>li li{
    list-style-type: disc;
}

.content .content_txt_left span{
    xwidth: 665px;
    padding-right: 60px;
    float: right;
    display: inline-block;
    xtext-align: justify;
    text-align: left;
}

.content .content_txt_right span{
    xwidth: 665px;
    padding-left: 60px;
    float: left;
    display: inline-block;
    xtext-align: justify;
    text-align: left;
}

.content .content_txt_left span h2, .content .content_txt_right span h2{
    color: #08288b;
    text-align: left;
    font-weight: normal;
}
.content .content_txt_left span p, .content .content_txt_right span p{
    text-align: justify;
    color: #444;
}

.content .content_pic_left{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.content .content_pic_right{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.slogan{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    margin-bottom: 100px;
    transition: all 0.5s;
    min-height: 300px;
}

.slogan .slogan_container{
    background-color: rgba(255,255,255,0.8);
    padding: 30px;
    margin: 90px auto 90px auto;
    display: inline-block;
}

.slogan .slogan_container .slogan_1{
    color: #08288b;
    font-size: 200%;
    font-style: italic;
    font-weight: normal;
    text-align: center;
}

.slogan .slogan_container .slogan_2{
    color: #08288b;
    font-size: 120%;
    font-weight: normal;
    text-align: center;
}

.contentbig{
    background-color: #e6e9f3;
    padding: 30px 0 30px 0;
    margin-bottom: 150px;
    transition: all 0.5s;
}

.contentbig .contentbiginner_small{
    width: auto;
    max-width: 400px;
    margin: auto;
}

.contentbig h2{
    color: #08288b;
    text-align: left;
    font-weight: normal;
}

.contentbig p{
    xtext-align: justify;
    color: #444;
}

.contentbig2{
    padding: 30px 0px 30px 0px;
    width: 800px;
    margin: auto auto 100px auto;
}

.contentbig2 h2{
    color: #08288b;
    text-align: left;
    font-weight: normal;
}

.contentbig2 p{
    xtext-align: justify;
    color: #444;
}

.appointment{
    margin-top: 90px;
    background-color: #ffbd30;
    text-align: center;
    transition: all 0.5s;
}

.appointment a[href]:link, .appointment a[href]:visited, .appointment a[href]:hover{
    display: inline-block;
    color: #08288b;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 200%;
    padding: 20px 30px;
    border-top: 2px solid #08288b;
    border-bottom: 2px solid #08288b;
    margin: 95px auto 95px auto;    
}

.logolist{
    padding: 0;
    margin: 55px 0 55px 0;
    text-align: center;
    transition: all 0.5s;
}

.logolist li{
    list-style-type: none;
    display: inline-block;
    margin-right: 55px;
}

.logolist li:last-child{
    margin-right: 0;
}

.logolist li img{
    width: auto;
    height: 55px;
}

#anfrage{
    max-width: 400px;
    position: relative;
    transition: all 0.5s;
}

#anfrage button {
    padding: 8px 40px;
    background-color: #08288b;
    display: block;
    border: none;
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;   
    color: #fff;
    cursor: pointer;
    transition: all 0.5s;
}

#anfrage label{
    margin-top: 5px;
    margin-bottom: 3px;
    display: block;
    font-size: 100%;
    color: #08288b;
    transition: all 0.5s;
    text-align: left;
}

#anfrage #plzort{
   white-space: nowrap; 
}

#anfrage a[href]:link,#anfrage a[href]:visited{
    text-decoration: none;
    color: #08288b;
    transition: all 0.5s;
}

#anfrage a[href]:hover{
    text-decoration: underline;
    transition: all 0.5s;
}

#anfrage input, #anfrage textarea {
    width: 100%;
    border: none;
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;   
    padding: 5px;
    margin-bottom: 10px;
    transition: all 0.5s;
}

#anfrage textarea{
    font-family: arial, verdana, sans-serif;
    font-size: 95%;
    resize: none;
    height: 140px;
    transition: all 0.5s;
}

#anfrage input[name=plz]{
    width: 55px;
}
#anfrage input[name=ort]{
    width: calc(100% - 78px);
}

#anfrage input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin-top: -5px;
    margin-left: -0px;
    border: 4px solid white;
    display: inline-block;
    float:left;
    background-color: #fff;
    margin-bottom: 10px;
    transition: all 0.5s;
}

#anfrage input[type=checkbox]:checked{
    background-color: #08288b;
}

#anfrage input::placeholder{
    color: #bbb8d3;
    transition: all 0.5s;
}

#anfrage textarea::placeholder{
    color: #bbb8d3;
    font-family: arial, verdana, sans-serif;
    transition: all 0.5s;
}

#anfrage #simplecaptcha{
    height: 35px;
    width: auto;
    max-width: 300px;
    margin: 0 auto 5px 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    clear:left;
}

#anfrage .errormessage{
    color: #b30000;
    margin: 12px 0 12px 0;
    font-weight: bold;
    transition: all 0.5s;
}

#footer{
    background-color: #08288b;
    border-top: 30px solid #e6e9f3;
    transition: all 0.5s;
}

#footercontent{
    padding: 35px 0 50px 0;
}

#footercontent li{
    display: inline-block;
    list-style-type: none;
    color: #fff;
    text-align: left;
    vertical-align: top;
}

#footercontent li:nth-child(2){
    margin-left: 800px;
}

#footercontent li a[href]:link, #footercontent li a[href]:visited, #footercontent li a[href]:hover{
    text-decoration: none;
    color: #fff;
}

#credits{
    padding: 15px 0 15px 0;
    text-align: right;
    transition: all 0.5s;
}

#credits li{
    display: inline-block;
    list-style-type: none;
    color: #fff;
    font-size: 70%;
    margin-left: 15px;
}

#credits li a[href]:link, #credits li a[href]:visited, #credits li a[href]:hover{
    text-decoration: none;
    color: #fff;
}

#overlay{
    background-color: rgba(8,40,139,0.85);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 4900;
}

#overlay #announcement{
    background-color: #fff;
    text-align: left;
    max-width: 500px;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translate(0, -50%);    
    padding: 40px;
    border-radius: 5px;
    transition: all 0.5s;
}

#overlay #announcement #close{
    cursor: pointer;
    color: #08288b;
    font-size: 200%;
    display: inline-block;
    border: 2px solid #08288b;
    padding: 0 10px 5px 10px;
    line-height: 100%;
    border-radius: 5px;
    position: absolute;
    right: 20px;
    top: 20px;
    user-select: none;
    transition: all 0.5s;
    z-index: 4950;
}

#overlay #announcement #close:hover{
    background-color: #ffbd30
}


#cookiemessage{
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: 0px;
    padding: 0px;
    font-size: 13px;
    width: 100%;
    max-width: 100%;
    z-index: 9999;
    display: none;
    border-top: 2px solid #08288b;
}
#cookiemessage .content{
    min-height: unset;
    box-sizing: border-box;
    margin: 0px auto;
    background-color: #e6e9f3;
    padding: 10px;
    text-align: center;
}
#cookiemessage p{            
    display: inline;
    padding: 10px 15px;
    vertical-align: middle; 
    width: 100%;    
    color: #08288b;
}
#cookiemessage button{
    padding: 5px 30px;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    color: white;
    background-color: #08288b;
}
#cookiemessage a{
    text-decoration: none;
    color: #08288b;
}

#cookiemessage a:hover{
    text-decoration: underline;	
    color: #08288b;
}

#cookieMoreInfoText{
    padding: 10px;
    color: #08288b;
    text-align: justify;
}

@media only screen and (max-width: 2500px) {
    .content{ width: 100%; margin: 0 auto 0 auto; }
}

@media only screen and (max-width: 1500px) {
    .wrapper{ max-width: 1250px; }
    .wrapperhalf{ width: 555px; } 
    #mainnav li{ font-size: 115%; margin: 0 50px 0 0; }
    .intro{ height: 460px; }
    .welcome{ max-width: 750px; }
    .welcome h1{ font-size: 180%; }
    .welcome p{ font-size: 130%; }
    .slogan .slogan_container .slogan_1{ font-size: 180%; }
    .slogan .slogan_container .slogan_2{ font-size: 115%; }
    .appointment a[href]:link, .appointment a[href]:visited, .appointment a[href]:hover{ font-size: 180%; margin: 90px auto 90px auto; }
    #footercontent li:nth-child(2){ margin-left: 650px; }
}

@media only screen and (max-width: 1300px) {
    .wrapper{ max-width: 1000px; }
    .wrapperhalf{ width: 430px; } 
    #mainnav li{ font-size: 110%; margin: 0 45px 0 0; }
    .intro{ height: 420px; }
    .welcome{ max-width: 85%; }
    .welcome h1{ font-size: 170%; }
    .welcome p{ font-size: 125%; }
    .slogan .slogan_container .slogan_1{ font-size: 170%; }
    .slogan .slogan_container .slogan_2{ font-size: 110%; }
    .appointment a[href]:link, .appointment a[href]:visited, .appointment a[href]:hover{ font-size: 170%; margin: 80px auto 80px auto; }
    #footercontent li:nth-child(2){ margin-left: 450px; }
}

@media only screen and (max-width: 1100px) {
    .wrapper{ max-width: 950px; }
    .wrapperhalf{ width: 405px; } 
    #mainnav li{ font-size: 105%; margin: 0 40px 0 0; }
    .intro{ height: 380px; }
    .welcome h1{ font-size: 150%; }
    .welcome p{ font-size: 110%; }
    .start .startcontent{ text-align: center; }
    .start .startcontent li{ display: block; width: 80%; margin: auto; }
    .start .startcontent li:last-child{ margin: 30px auto 0 auto; }
    .video{ width: 600px; height: 300px; }
    .slogan .slogan_container .slogan_1{ font-size: 150%; }
    .slogan .slogan_container .slogan_2{ font-size: 110%; }
    .appointment a[href]:link, .appointment a[href]:visited, .appointment a[href]:hover{ font-size: 150%; margin: 75px auto 75px auto; }
    #footercontent li:nth-child(2){ margin-left: 300px; }
}

@media only screen and (max-width: 950px) {    
    .wrapper{ max-width: 100%; }
    .wrapperhalf{ width: 80%; }
    #mainnav li:nth-child(n+2):nth-child(-n+5){ display: none; }
    #mainnav li:first-child{ margin-left: 20px; }
    #mainnav li:last-child{ display: inline-block; }
    .welcome{ margin: 60px auto 60px auto; }
    .slogan{ margin-bottom: 50px }
    .intro{ height: 350px; }
    .start .startcontent li{ width: auto; margin: auto 20px auto 20px; }
    .video{ width: 80%; height: 250px; }
    .content{ min-height: unset; }
    .content > li{ display: block; width: auto; height: unset; }
    .content { display: flex; flex-flow: column; }
    .content:last-of-type{ padding-bottom: 30px; }
    .content .content_txt_left span{ float: none; margin: 10px; padding: 30px 0 30px 0; }
    .content .content_txt_right span{ float: none; margin: 10px; padding: 30px 0 30px 0; }
    .content .content_pic_left{ height: 400px; order: 2;}
    .content .content_pic_right{ height: 400px; }  
    .contentbiginner{ margin: 0 20px 0 20px; }
    .contentbig2{ width: auto; margin: 50px 20px 50px 20px; }
    .logolist li{ margin-right: 40px; }
    .logolist li img{ height: 35px; }
    #footercontent li:nth-child(2){ margin-left: 250px; }
    #credits li:last-child{ margin-right: 10px; }
}

@media only screen and (max-width: 800px) {
    .wrapper{ max-width: 100%; }
    .wrapperhalf{ width: 90%; }
    #top{ display: none; }
    .intro{ height: 310px; }
    .introtile li{ display: block; width: 60%; margin: auto; }
    .introtile li:first-child{ margin: 0 auto 30px auto; }
    .introtile li:last-child{ margin: 30px auto 0 auto; }
    #footercontent li{ display: block; margin: auto; text-align: center; }
    #footercontent li:last-child{ margin: 50px auto 0 auto; }
    #credits{ text-align: center; }
    #credits li:first-child{ margin-left: 0; }
    #credits li:last-child{ margin-right: 0; }
}