html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans';
    font-size: 20px;
}

body.home {
    font-size: 22px;
}

a {
    color: #246A36;
}

.site-container {
    overflow-x: hidden;
}

.genesis-nav-menu a:focus,
.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .sub-menu .current-menu-item > a:focus,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover {
    color: #246A36;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans';
    font-weight: 900;
}

h1.entry-title {
    font-size: 50px;
    margin-bottom: 30px;
    hyphens: auto;
}

h2 {
    font-size: 40px;
    font-weight: 700;
}

h3 {
    font-size: 30px;

}

#headerbild {
    height: 550px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;

}

#headerbild .image {
    width: 100%;
    height: 100%;
}

#headerbild .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headerbild_bottom {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSI2MHB4IiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI2ZmZmZmZiI+PHBhdGggZD0iTTEyODAgMTQwVjBTOTkzLjQ2IDE0MCA2NDAgMTM5IDAgMCAwIDB2MTQweiIvPjwvZz48L3N2Zz4=);
    background-size: 100% 60px;
    bottom: 0;
    height: 60px;
    z-index: 1;
    transform: scale(1, 1);
    position: absolute;
    bottom: 0;
    width: 100%
}

.content {
    width: 1330px;
    padding: 0 30px;
    margin: 0 auto;
    max-width: 100%;
}

.home .entry-header {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 100;
    width: 630px;
    margin: -240px auto 50px;
    max-width: 100%;
}

.home .entry-title {
    font-size: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0, 0, 0, .5);
    font-weight: 900;

}

.entry-content ul#leistungen {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    position: relative;
    z-index: 100;
    margin: 0 0 3em;
}

#leistungen li {
    width: calc(17% - 20px);
    color: #fff;
    background: #F3D867;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
}

#leistungen li a {
    color: #fff;
    text-decoration: none;
}

#leistungen li:nth-child(2) {
    background: #F1C961;
}

#leistungen li:nth-child(3) {
    background: #F3C05E;
}

#leistungen li:nth-child(4) {
    background: #F7BF52;
}

#leistungen li:nth-child(5) {
    background: #FCBD44
}

#leistungen li:nth-child(6) {
    background: #F5B437
}

#leistungen li h3 {
    margin: 0;
    font-size: 22px;
}

#leistungen li .icon {
    min-height: 120px;
    display: flex;
    justify-content: center;
    margin-bottom: 5px;

}

#leistungen li .icon img {
    height: auto;
}

#leistungen ~ p {
    max-width: 880px;
    text-align: center;
    margin: 0 auto 28px;
}


#kontakt {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: url(img/kontakt-bg.png) center center no-repeat;
    background-size: auto;
    background-size: cover;
    padding: 4em 0;
}


#kontakt .wrap {
    width: 1270px;
    margin: 0 auto;
    max-width: 100%;
    background: #fff;
    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.2);
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

#kontakt .left,
#kontakt .right {
    width: 50%;
    padding: 60px;
}

#kontakt h3 {
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 30px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
}


#kontakt h3::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

#kontakt .left .icon {
    margin: 5px 20px 0 0;
    min-width: 23px;
}

#kontakt .left .box:last-child .icon {
    margin: 10px 20px 0 0;
}

#kontakt .left .box {
    flex-wrap: nowrap;
}

#kontakt .left a {
    color: #000;
    text-decoration: none;
}

#kontakt .right {
    background: #3E3E3E;
    color: #fff;
    position: relative;
}

#kontakt .right::before {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    left: -10px;
    top: 80px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #3E3E3E;
}

#kontakt input[type=text],
#kontakt input[type=email],
#kontakt textarea {
    background: transparent;
    color: #fff;
    border: none;
    border-bottom: 1px solid #fff;
    margin-bottom: 30px;
    padding: 15px 0;
    border-radius: 0;
}

#kontakt .wpcf7-form-control-wrap {
    width: calc(50% - 10px);
    float: left;
}

#kontakt span.wpcf7-form-control-wrap:nth-child(even) {
    float: right;
}

#kontakt span[data-name=datenschutz],
#kontakt span[data-name=your-message] {
    width: 100%;
}


#kontakt input::placeholder,
#kontakt textarea::placeholder {
    color: #fff;
    text-transform: uppercase;
}

#kontakt .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    font-size: 13px;
}

#kontakt input[type=submit] {
    background: transparent;
    border: 1px solid #fff;
    float: right;
    color: #fff;
    margin-top: 10px;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 12px;
    position: absolute;
    bottom: 0;
}

textarea + .wpcf7-not-valid-tip {
    bottom: 0;
    left: 0;
}

body:not(.home) .content {
    width: 1140px;
    margin: 3em auto;
    max-width: 100%;
}

.site-footer {
    padding: 20px;
}

.nav-secondary {
    margin-top: 0px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    font-size: 14px;
    margin: 3em 0 0;
}

.entry-content ul.listelements {
    display: flex;
    margin: 0;
    padding: 0;
}

.entry-content ul.listelements > li {
    list-style: none;
    margin: 0 5px;
    background: #1E1E2A;
    text-align: center;
    flex: 1;
    color: #fff;
    padding: 50px 15px 20px;
    position: relative;
    font-size: 16px;
}

.entry-content .dunkel ul.listelements > li {
    min-width: 50%
}

.entry-content ul.listelements > li:before {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    background: url(img/check.svg) no-repeat;
    left: 50%;
    top: 23px;
    transform: translateX(-50%);
    background-size: contain;
}

.entry-content .hell ul.listelements > li::before {
    background: url(img/check-white.svg) no-repeat;
    background-size: contain;
}

.entry-content ul.listelements > li p {
    margin: 0;
}

.liste {
    margin: 2em 0;
}

.liste h3 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 900;
}

.entry-content .dunkel ul.listelements {
    width: 50%;
    flex-wrap: wrap;
}

.entry-content .half ul.listelements {
    margin-bottom: -10px;
}

.entry-content .dunkel ul.listelements li {
    margin-bottom: 10px;
}

.hell {
    position: relative;
    padding: 2em 0 3em;
    margin: 4em 0;
}

.hell:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #F3C05E;
    margin: 0 -9999em;
    padding: 0 9999em;
    z-index: -1;
}

.entry-content .hell ul.listelements {
    margin: 0;
    width: 100%;
}

.entry-content .hell ul.listelements > li {
    background: transparent;
    border: 1px solid #fff;
    font-weight: bold;
}

.liste .hell h3 {
    color: #fff;
}

.half .flex {
    justify-content: space-between;
}

.half .flex .img {
    width: 48%;
    overflow: hidden;
    min-height: 100%;
}

.half .flex img {
    height: 100%;
    width: 100%;
    object-fit: cover
}

.page-template-page-details h1 {
    text-align: center;
}

.page-template-page-details .entry-content > p {
    width: 880px;
    text-align: center;
    margin: 0 auto 28px;
    max-width: 100%
}


#vita {
    position: fixed;
    top: 100px;
    width: 500px;
    max-width: 100%;
    padding: 30px;
    background: #fff;
    z-index: 999;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    right: -550px;
    font-size: 16px;
    transition: right 1s ease;
    overflow: scroll;
}

#vita.active {
    right: 0;
}

#vita h3 {
    position: relative;
    padding-top: 70px;
    margin-top: 20px;
}

#vita h3:before {
    position: absolute;
    content: '';
    width: 50px;
    height: 50px;
    background: url(img/ingo-lange.svg) no-repeat;
    background-size: contain;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

#vita strong {
    position: relative;
    color: #F3C05E;
    font-weight: 900;
}

#vita strong:before {
    position: absolute;
    content: '';
    width: 1px;
    height: 20px;
    border-left: 1px dotted #000;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
}

#vita h3 + p strong:before {
    display: none;
}

#vita .close {
    width: 15px;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;

}

#vita .close svg {
    width: 20px;
}

#vita .inside {
    overflow: auto;
    max-height: calc(100vh - 140px);
    padding: 0 20px;
}

#openDivLink {
    background: url(img/arrow-right.svg) right center no-repeat;
    padding-right: 40px;
}
