/*
orange #f60
blau #0066b3
hell #e5eff7
 */

* {
    font-family: 'Segoe UI',Arial,sans-serif;
}
body {
    color: #333;
    font-size: .8em;
}

img {
    max-width: 100%; height: auto;
}
#wrapper {
    width: 960px;
    margin: 75px auto 0 auto;
}

h1 {
    font-size: 2.3em;
    font-weight: 400;
    color: #f60;
    margin-bottom: 10px;
}

h3 {
    color: #5a5a5a;
    font-size: 1.4em;
    font-weight: 400;
    margin-bottom: 30px;
    padding: 0;
}

h4 {margin: 10px 0;}

#overtop h3 {
    margin-top: 10px;
    font-size: 1.4em;
    color: #5a5a5a;
    font-weight: 600;
}

nav {
    position: absolute;
    width: 100%;
    max-width: 960px;
}

nav.mobile {
    display: none;
    position: static;
}
nav.mobile ul {
    display: block;
}
nav.mobile ul li {
    width: 95%;
    margin-bottom: 10px;
}

nav.mobile ul li a {
    text-align: left;
    padding-left: 15px;
}

nav.mobile ul li a:before {
    content: '';
    background: url("img/down.svg") no-repeat center center;
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

nav.mobile ul li a.active {
    background: #0066b3;
}

nav.mobile ul li a.active:after {
    display: none;
}

nav.sticky {
    position: fixed;
    top: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    width: 100%;
    max-width: 960px;
    z-index: 999;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav li {
    width: calc((100% - 2px) / 3);
    border-right: 1px solid #fff;
}

nav li a {
    background: #0066b3;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    display: block;
}
nav li.last {border-right: none;}
nav li a {color: #fff; text-decoration: none; font-size: 1.2em;}
nav li a:hover {text-decoration: underline;}

nav li a.active {
    background: #f60;
}
nav li a.active:after {
    content: '';
    position: absolute;
    border-top: 20px solid #f60;
    border-right: 20px solid transparent;
    border-bottom: 0;
    border-left: 20px solid transparent;
    left: 50%;
    bottom: -20px;
    margin-left: -20px;
}

nav.mobile h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

h4 {
    font-size: 1em;
    font-weight: bold;
}

#partner {margin-top: 100px;}
#partner .image_container {
    float: left;
    min-width: 123px;
    margin-right: 110px;
}

#partner .content {display: flex;}

#zitat {
    background: #e5eff7;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 30px 0;
}
#zitat p {
    font-weight: bold;
    font-style: italic;
    text-align: center;
}
#zitat span {
    position: absolute;
    right: 15px;
    bottom: 20px;
    font-style: normal;
    font-weight: 400;
}

#leistungen .image_container {
    float: right;
    width: 220px;
    margin: 40px 25px 0 15px;
    position: relative;
}
#leistungen .image_container:after {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    border-top: 20px solid transparent;
    border-right: 0;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #f3f3f3;
    margin-top: -20px;
}

#leistungen .content {
    display: inline-block;
    width: calc(100% - 300px);
}

#leistungen .content ul {
    padding: 10px 25px 10px 40px;
    background: #f3f3f3;
    line-height: 1.5;
    list-style-type: none;
}

#leistungen .content li:before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background: #ccc;
    display: inline-block;
    margin-right: 8px;
}



#regional h3 {margin-bottom: 10px;}
#boxen {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}
.partner {
    width: calc(50% - 15px);
    overflow: hidden;
    margin: 15px 0;
}

.partner h2 {
    width: 100%;
    color: #f60;
    background: #e5eff7;
    padding: 10px 15px 20px;
    margin-bottom: 20px;
    margin-top: 10px;
}
.partner .text {
    height: 80px;
}
.partner .text p {
    background: #f3f3f3;
    padding: 10px 10px 10px 15px;
}

.partner.right .kontakt .content .text {padding-left: 0;}

.kontakt {
    margin-top: 50px;
    height: 150px;
}
.kontakt img {float: left; margin-right: 5px; width: 110px;}
.kontakt .content {display: flex;}
.kontakt .content .text {padding: 10px 25px 10px 15px; min-width: 55%;}
.kontakt .content .text p {line-height: 2;margin: 0;}
.kontakt .content .bild {margin-top: 10px;}
.partner.right .kontakt .content {justify-content: space-between;}
.partner.right .kontakt img {margin-right: 0;}

.partner .kontakt .bild {position: relative;}
.partner:not(.right) .kontakt .bild:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    border-top: 15px solid transparent;
    border-right: 15px solid #f3f3f3;
    border-bottom: 15px solid transparent;
    border-left: 0;
    margin-top: -15px;
}

.partner.right .kontakt .bild:after {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    border-top: 15px solid transparent;
    border-right: 0;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #f3f3f3;
    margin-top: -15px;
}

.kontakt p {line-height: 1.5;}
.kontakt a {
    color: #0066b3;
    text-decoration: none;
}
.kontakt a:hover {text-decoration: underline;}

.more {width: 100%;}
.more p {font-weight: bold; padding-left: 0;}
.more .button {

    float: right;
}
.more .button a {
    color: #fff;
    text-decoration: none;
    padding: 5px 5px 5px 10px;
    background: #f60;
    display: inline-block;
    font-size: 1.3em;
}
.more .button a:after {
    content: '';
    background: url('img/next.svg') no-repeat;
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-left: 10px;
    margin-bottom: -4px;
}

footer {
    border-top: 1px solid #ccc;
}

footer .inside {
    max-width: 960px;
    margin: 0 auto;
    padding: 15px 0;
}

footer a {
    color: #0066b3;
    margin-right: 20px;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 970px) {
    #wrapper {
        width: 100%; max-width: 960px;
    }
    .partner {
        width: 100%;
        margin: 15px;
    }
    .kontakt img {
        width: 160px;
    }
    .partner.right .kontakt img {margin-right: 40px;}
}

@media only screen and (max-width: 768px) {
    .partner .text {height: auto;}
    #partner .content {flex-direction: column;}
    nav.desktop {display: none;}
    nav.mobile {display: block;}
    #partner {margin-top: 25px;}
    .kontakt {height: auto;}
}

@media only screen and (max-width: 580px) {
    #leistungen .image_container {width: 150px;}
    #leistungen .content {width: calc(100% - 190px);}
}

@media only screen and (max-width: 480px) {
    #leistungen .image_container {display: none;}
    #leistungen .content {width: 100%;}
}

@media only screen and (max-width: 360px) {
    #zitat {height: 150px;}
}