/*!
Theme Name: AF Immobilien
Author: onOffice
Author URI: https://onoffice.com/
Version: 1.0.1
*/

/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap'); */

@font-face {
    font-family: 'Montserrat';
    src: url(/wp-content/themes/af/fonts/montserrat/Montserrat-Light.ttf);
    src: url(/wp-content/themes/af//fonts/montserrat/Montserrat-Regular.ttf);
    src: url(/wp-content/themes/af//fonts/montserrat/Montserrat-Medium.ttf);
    src: url(/wp-content/themes/af//fonts/montserrat/Montserrat-SemiBold.ttf);
}

/* Default Settings */

* {
    outline: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    padding: 0;
    margin: 0;
    color: #2A2A2A;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

body p {
    line-height: 1.5rem;
}

section p a {
    color: #DC1900;
}

h1 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    /* hyphens: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto; */
}

h2 {
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    /*hyphens: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;*/
}

section h2:not(:nth-child(1)) {
    margin-top: 4rem;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2rem;
    /* hyphens: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto; */
}

h4 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    /* hyphens: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto; */
}

.container {
    max-width: 1690px;
}

section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

section ul li::before {
    content: '';
    background-color: #FFD042;
    height: 2px;
    width: 15px;
    top: 0.75rem;
    left: 0;
    margin-top: -1px;
    position: absolute;
}

section ul li {
    line-height: 30px;
    position: relative;
    padding-left: 30px;
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

a {
    color: #949494;
}

a:hover,
a:focus {
    color: #949494;
}

img.aligncenter {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
}

/* Header */

header {
    padding: 15px;
    box-shadow: 0px 5px 5px 0px rgba(220, 25, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 999;
    min-height: 80px;
}

header .row {
    justify-content: space-between;
    align-items: center;
}

header .logo {
    width: 231px;
    align-self: flex-start;
    position: relative;
    margin: -15px 0 -15px 15px;

}

header .logo img {
    width: 100%;
}

.logo .mobile_logo {
    display: none;
}

header .logo a {
    display: block;
}

/* Soll laut QA raus
header .logo a::before {
	top: 0;
	right: 100%;
	position: absolute;
	content: '';
	background-color: #FFD042;
	height: 100%;
	width: 999px;
} 
*/

header nav ul {
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 0px;
    text-transform: uppercase;
}

header nav ul a {
    font-size: 15px;
    color: #707070;
    font-weight: 700;
    transition: all 0.3s;
}

header ul li.current_page_item>a,
header ul li.current_page_parent>a {
    color: #DC1900;
}

header nav ul#primary-menu>li {
    display: inline-block;
    position: relative;
}

header nav ul#primary-menu>li::after {
    position: absolute;
    right: 0;
    top: 50%;
    height: 20px;
    margin-top: -10px;
    content: '';
    width: 2px;
    background-color: #FFD042;
}

header nav ul#primary-menu>li:last-child::after {
    display: none;
}

header nav ul#primary-menu>li>a {
    padding: 10px;
    display: block;
}

header nav ul>li>a:hover {
    color: #DC1900;
    text-decoration: none;
}

header nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    text-align: left;
    background-color: #ffffff;
    padding-bottom: 5px;
}

header ul li {
    list-style: none;
}

header nav ul ul li a {
    padding: 5px 10px;
    display: block;
    white-space: nowrap;
    font-weight: 400;
}

header nav ul li:hover ul {
    display: block;
}

header .contact {
    margin-right: 15px;
}

header .contact a {
    color: #000000;
    font-weight: 600;
    transition: all 0.3s;
    padding-left: 25px;
}

header .contact a i {
    color: #FFD042;
}

#textresizer {
    padding-left: 25px;
}


header .contact a:hover {
    color: #DC1900;
    text-decoration: none;
}

.mobilenav-trigger {
    display: none;
}

.mobile-nav-closer {
    padding: 30px;
    display: none;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.25);
}

.mobile-nav-closer img {
    float: right;
}

.mobile-nav-closer span {
    font-weight: 400;
    text-transform: uppercase;
}

.mobile-logo {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding-top: 10px;
    display: none;
}

.mobile-logo .row {
    align-items: inherit;
}

.mobile-logo img {
    max-width: 100%;
    height: 77px;
    border-right: 5px solid #ffffff;
    float: left;
}

.mobile-logo a {
    display: block;
    height: 38px;
    line-height: 40px;
    padding-left: 15px;
    color: #2a2a2a;
    float: left;
    width: calc(100% - 185px);
    background-color: #FFD042;
    text-transform: uppercase;
}

.mobile-logo a:last-child {
    background-color: #efefef;
}

/* Startseite */

.banner video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
}

.slide {
    height: calc(100vh - 80px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
    position: relative;
}

.slide .container {
    z-index: 8;
}

.slide .textoverlay {
    width: 800px;
    max-width: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 50px;
    z-index: 8;
}

/* Soll laut QA raus
.slide .textoverlay strong:first-child {
	font-size: 40px;
	line-height: 43px;
	letter-spacing: 1px;
}
*/

.slide .textoverlay a {
    display: block;
    background-color: #FFD042;
    color: #2A2A2A;
    float: left;
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.3s;
    margin-right: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.slide .textoverlay a svg {
    margin-left: 10px;
}

.slide .textoverlay a:hover {
    background-color: #ffe38e;
}

.text_1 {
    padding: 100px 0;
}

.text_1 .bildelement {
    padding-right: 50px;
    position: relative;
}

/* Soll laut QA raus
.text_1 .bildelement h2::after {
	content: '';
	width: 125px;
	top: 35px;
	right: 0;
	height: 2px;
	background-color: #FFD042;
	position: absolute;
}
*/
.text_1 .bildelement img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.text_1 .textelement {
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
}

.text_1 .textelement h2 {
    position: relative;
}

.text_1 .textelement h2::before {
    content: '';
    width: 150px;
    top: 50%;
    left: -175px;
    height: 2px;
    background-color: #FFD042;
    position: absolute;
}

.textbutton_hell {
    display: inline-block;
    padding: 10px 20px;
    background: #efefef;
    color: #2A2A2A;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s;
}

.textbutton_hell svg {
    margin-left: 10px;
}

.textbutton_hell:hover {
    text-decoration: none;
    color: #2A2A2A;
    background: #ffe38e;
}

.leistungen {
    padding-bottom: 100px;
}

.leistungen .centertext {
    margin: auto;
    text-align: center;
}

.leistungen .centertext h2 {
    position: relative;
    padding-bottom: 15px;
}

.leistungen .centertext h2:after {
    position: absolute;
    content: '';
    width: 70px;
    bottom: 0;
    left: 50%;
    margin-left: -35px;
    background-color: #FFD042;
    height: 2px;
}

.leistungen .teaser {
    margin-top: 25px;
    transition: all 0.3s;
    overflow: hidden;
}

.leistungen .teaser:hover {
    text-decoration: none;
}

.leistungen .teaser img {
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.leistungen .teaser .teaser_inner {
    padding: 15px;
    background-color: #efefef;
    text-align: center;
    color: #2A2A2A;
    text-decoration: none;
    height: 100%;
}

.leistungen .teaser:hover .teaser_inner {
    background: #ffe38e;
}

.leistungen .teaser .teaser_inner h3 {
    font-size: 18px;
    display: block;
    position: relative;
    padding-bottom: 15px;
    margin: 15px 0;
    hyphens: auto;
}

.leistungen .teaser .teaser_inner h3::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50px;
    margin-left: -25px;
    content: '';
    height: 2px;
    background-color: #FFD042;
}

.statistik {
    padding: 75px 0;
    border-top: 2px solid #FFD042;
    border-bottom: 2px solid #FFD042;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    text-align: center;
    position: relative;
}

.statistik h2 {
    position: relative;
    z-index: 999;
    margin-bottom: 50px;
}

/* Soll laut QA raus
.statistik_wert {
	margin-bottom: 25px;
}
*/
.statistik strong {
    font-size: 35px;
    display: block;
    padding-bottom: 20px;
    position: relative;
    z-index: 888;
}

.statistik strong::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    content: '▶';
    color: #FFD042;
    transform: rotate(90deg);
    font-size: 20px;
}

.statistik span {
    font-size: 20px;
    display: block;
    font-weight: 400;
    position: relative;
    z-index: 888;
}

.coloroverlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
}

.text_2 {
    padding: 100px 0;
    margin-bottom: 50px;
    position: relative;
}

.text_2::after {
    content: '';
    width: 90%;
    background-color: #efefef;
    height: calc(100% - 200px);
    position: absolute;
    right: 0;
    top: 150px;
}

.text_2 .container {
    position: relative;
    z-index: 8;
}

.text_2 .bildelement {
    padding-right: 50px;
    position: relative;
}

/* Soll laut QA raus
.text_2 .bildelement::after {
	content: '';
	width: 125px;
	top: 110px;
	right: 0;
	height: 2px;
	background-color: #DC1900;
	position: absolute;
}
*/

.text_2 .bildelement img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.text_2 .textelement {
    padding-left: 50px;
    padding-top: 75px;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
}

.text_2 .textelement h2 {
    position: relative;
}

.text_2 .textelement h2::before {
    content: '';
    width: 150px;
    top: 50%;
    left: -175px;
    height: 2px;
    background-color: #DC1900;
    position: absolute;
}

.textbutton_dunkel {
    display: inline-block;
    padding: 10px 20px;
    background: #FFD042;
    color: #2A2A2A;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s;
}

.textbutton_dunkel svg {
    margin-left: 10px;
}

.textbutton_dunkel:hover {
    text-decoration: none;
    color: #2A2A2A;
    background: #ffe38e;
}

.freitext_1,
.freitext_2 {
    padding-bottom: 100px;
}

section.news {
    margin-bottom: 100px;
}

section.news .centertext {
    text-align: center;
}

section.news .centertext h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

section.news .centertext h2:after {
    position: absolute;
    content: '';
    width: 70px;
    bottom: 0;
    left: 50%;
    margin-left: -35px;
    background-color: #FFD042;
    height: 2px;
}

.newsitem {
    margin-bottom: 25px;
}

.homenews-image {
    height: 300px;
    margin-bottom: 25px;
}

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

.homenews-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.homenews-teaser {
    margin-bottom: 25px;
}

.homenewslink {
    display: block;
    text-align: right;
    color: #2A2A2A;
    text-transform: uppercase;
    transition: all 0.3s;
    font-weight: 600;
}

.homenewslink svg {
    margin-left: 10px;
}

.homenewslink:hover {
    text-decoration: none;
    opacity: 0.5;
    color: #2A2A2A;
}

.bildslideelement {
    position: relative;
}

.bildslideelement span {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px;
    color: #000;
    background-color: #FFD042;
}

/* Content */

section:first-of-type {
    margin-top: 80px;
}

.small_banner {
    height: 400px;
    margin-bottom: 50px;
}

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

section.shortcode {
    padding: 100px 0;
    margin: 50px 0 100px;
}

section.textbild_element {
    padding-bottom: 100px;
    margin-bottom: 50px;
    position: relative;
}

section.textbild_element .container {
    z-index: 8;
    position: relative;
}

section.textbild_element::after {
    content: '';
    width: 90%;
    background-color: #efefef;
    height: calc(100% - 100px);
    position: absolute;
    right: 0;
    top: 50px;
}

section.textbild_element .bildelement {
    padding-right: 50px;
    position: relative;
}

/* Soll laut QA raus
section.textbild_element .bildelement::after {
	content: '';
	width: 125px;
	top: 110px;
	right: 0;
	height: 2px;
	background-color: #DC1900;
	position: absolute;
}
*/
section.textbild_element .bildelement img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    background: #ccc;
}

section.textbild_element .textelement {
    padding-top: 100px;
    padding-left: 50px;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
}

section.textbild_element .textelement h2 {
    position: relative;
}

section.textbild_element .textelement h2::before {
    content: '';
    width: 150px;
    top: 50%;
    left: -175px;
    height: 2px;
    background-color: #DC1900;
    position: absolute;
}

.big_banner_wrap {
    margin-bottom: 50px;
    position: relative;
}

.big_banner {
    height: 80vh;
}

.big_banner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 45%;
}

.big_banner_wrap .container {
    margin-top: -150px;
    margin-bottom: 0;
    position: relative;

}

.big_banner_wrap .container .bannertext {
    padding-bottom: 100px;
    background: #fff;
    padding: 50px;
    width: calc(100% - 30px);
    margin: 0 auto;
}

.freitext {
    padding-bottom: 100px;
}

.freitext .textwrap {
    margin: auto;
}

.freitext .textwrap h1 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.textwrap img.aligncenter {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.freitext h1::after,
.small_banner_wrap h1::after,
.big_banner_wrap h1::after {
    width: 200px;
    height: 2px;
    content: '';
    background-color: #FFD042;
    bottom: 0;
    left: 0;
    position: absolute;
}

h1[style="text-align: center;"]::after {
    left: calc(50% - 100px);
}

section.freitext h1 {
    margin-top: 50px;
}

.freitext .titelwrap h1,
.small_banner_wrap h1 {
    margin-bottom: calc(50px + 1.5rem);
}

.freitext .titelwrap h1::after,
.small_banner_wrap h1::after {
    bottom: -20px;
}

.big_banner_wrap h1 {
    margin-bottom: calc(50px + 1.5rem);
    position: relative;
}

.big_banner_wrap h1::after {
    bottom: -1.5rem;
}

.small_banner+.container {
    padding-bottom: 0;
    margin-bottom: 50px;
}

.immobilien_buttons {
    margin-bottom: 50px;
}

.small_banner_wrap+.immobilien_buttons {
    margin-bottom: -70px;
}

.immobilien_buttons a {
    background: #fff;
    border: 2px solid #FFD042;
}

.immobilien_buttons a:first-of-type {
    margin-right: -2px;
}

.immobilien_buttons a:last-of-type {
    margin-left: -2px;
}

.immobilien_buttons a.current {
    background: #FFD042;
}

.marketngSwitch {
    text-align: center;
    margin-bottom: 15px;
}

.marketngSwitch a {
    display: inline-block;
    background: #fff;
    border: 2px solid #DC1900;
    padding: 5px;
    color: #2a2a2a;
    transition: all 0.3s;
}

.marketngSwitch a:hover,
.marketngSwitch a.active {
    text-decoration: none;
    background-color: #DC1900;
    color: #ffffff;
}

.marketngSwitch a:last-of-type {
    margin-left: -2px;
}

.team {
    padding-bottom: 100px;
}

.teammember {
    margin-bottom: 50px;
    text-align: center;
    padding: 0 50px;
}

.teammember_imagewrap {
    position: relative;
    height: 500px;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.teammember img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
    box-shadow: 0px 5px 5px 0px rgba(220, 25, 0, 0.05);
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    top: 0;
    left: 0;
}

.teammember h2 {
    display: block;
    position: relative;
    font-size: 25px;
    padding-bottom: 15px;
    margin: 2rem 0 15px 0;
}

.teammember h2:not(:nth-child(1)) {
    margin: 2rem 0 15px 0;
}

.teammember h2::after {
    width: 75px;
    position: absolute;
    content: '';
    left: 50%;
    margin-left: -35px;
    bottom: 0;
    background-color: #FFD042;
    height: 2px;
}

.teammember span {
    display: block;
    font-size: 15px;
}

.teammember .quote {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 208, 66, 0.8);
    padding: 50px;
    display: flex;
    align-items: center;
    color: #DC1900;
    transition: all 0.3s;
    font-size: 20px;
    font-weight: 600;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    transform: rotateY(180deg);
}

.teammember .quote span {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.teammember .quote::before {
    height: 50px;
    width: 50px;
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    background-repeat: no-repeat;
    background-image: url('/wp-content/themes/af/img/quote.svg');
    background-size: contain;
}

.teammember .quote::after {
    height: 50px;
    width: 50px;
    content: '';
    transform: rotate(180deg);
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-repeat: no-repeat;
    background-image: url('/wp-content/themes/af/img/quote.svg');
    background-size: contain;
}

.teammember:hover .teammember_imagewrap {
    transform: rotateY(180deg);
}

.teaserboxen {
    padding-bottom: 100px;
}

.teaserboxen .teaser {
    margin-top: 25px;
    transition: all 0.3s;
    overflow: hidden;
}

.teaserboxen .teaser:hover {
    text-decoration: none;
}

.teaserboxen .teaser img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    background-color: #ffffff;
}

.teaserboxen .teaser .teaser_inner {
    padding: 15px;
    background-color: #efefef;
    text-align: center;
    color: #2A2A2A;
    text-decoration: none;
    height: 100%;
}

.teaserboxen .teaser:hover .teaser_inner {
    background-color: #ffe38e;
}

.teaserboxen .teaser .teaser_inner h3 {
    font-size: 18px;
    display: block;
    position: relative;
    padding-bottom: 15px;
    margin: 15px 0;
}

.teaserboxen .teaser .teaser_inner h3::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50px;
    margin-left: -25px;
    content: '';
    height: 2px;
    background-color: #FFD042;
}

.textbanner {
    position: relative;
    margin-bottom: 100px;
    height: 750px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.bannertext {
    margin: auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.bannertext .col-lg-6 {
    padding-right: 50px;
    position: relative;
}

.textbanner::after {
    content: '';
    width: 100px;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    right: calc(50% - 50px);
    transform: skewX(-5deg);
}

.textbanner img {
    width: 50%;
    top: 0;
    right: 0;
    height: 100%;
    object-fit: cover;
    position: absolute;
    background-color: #efefef;
}

.freitext_zweispaltig {
    margin-bottom: 100px;
}

.freitext_zweispaltig_wrap {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.freitext_zweispaltig_wrap div {
    width: 50%;
}

.freitext_zweispaltig_wrap div:first-child {
    width: 50%;
    padding-right: 50px;
}

.freitext_zweispaltig_wrap div:last-child {
    width: 50%;
    padding-left: 50px;
}

.freitext_zweispaltig_wrap::after {
    content: '';
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    background-color: #FFD042;
    position: absolute;
}

.doppel_shortcode_banner {

    margin-bottom: 100px;
}

.left_shortcode,
.right_shortcode {}

.left_shortcode {
    padding: 50px 50px 0;
    background-color: #efefef;
}

.right_shortcode {
    padding: 0;
}

.right_shortcode #map {
    height: 100%;
    width: 100%;
}

.shortcode_banner {
    margin-bottom: 100px;
}

.shortcode_banner .freetext {
    margin-bottom: 30px;
}

.shortcode_banner h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.shortcode_banner h2::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 2px;
    width: 200px;
    left: calc(50% - 100px);
    background-color: #FFD042;
    content: '';
}

section.bulletpoints {
    padding-bottom: 100px;
}

section.bulletpoints h2 {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;
}

section.bulletpoints h2::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 2px;
    width: 50px;
    margin-left: -25px;
    background-color: #FFD042;
    content: '';
}

section.bulletpoints .bulletpointlistwrap {
    background-color: #efefef;
    padding: 50px;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.bulletpointlist {
    margin-bottom: 25px;
}

section.bulletpoints .bulletpointlistwrap .listtoggler {
    content: 'Mehr anzeigen +';
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 150px 0 15px 0;
    background: transparent linear-gradient(180deg, #F4F4F400 0%, #efefef 100%) 0% 0% no-repeat padding-box;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
}

.bulletpointvalue {
    font-weight: 400;
    font-size: 18px;
    padding: 10px 15px 10px 25px;
    position: relative;
}

.bulletpointvalue::before {
    content: '';
    height: 18px;
    width: 18px;
    background-image: url('/wp-content/themes/af/img/checkmark.svg');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 15px;
    left: 0;
}

.container.page404 {
    padding-top: 150px;
    padding-bottom: 150px;
    text-align: center;
}

.bildlauf_slide {
    margin: 0 -25px;
}

.bildlauf {
    overflow: hidden;
    padding: 50px 0;
}

.bildslideelement {
    margin: 0 25px;
}

.bildlauf_slide img {
    object-fit: cover;
    width: 100%;
    height: 250px;
}

/* Immobilien */

.estate-sort {
    margin-bottom: 25px;
}

.estate-sort select {
    -webkit-appearance: none;
    border: none;
    height: 48px;
    padding: 10px 40px 10px 15px;
    background-image: url('/wp-content/themes/af/img/chevron.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: calc(100% - 15px) center;
    cursor: pointer;
}

.listobejct {
    margin-bottom: 50px;
    border-bottom: 2px solid #FFD042;
}

.listimage {
    position: relative;
    background-color: #ffffff;
}

.listimage a {
    display: block;
    height: 100%;
}

.list-image {
    display: none;
}

.list-image:first-child {
    display: block;
}

.list-image img {
    width: auto;
    height: 350px;
    object-fit: contain;
    object-position: top;
    display: block;
    margin: auto;
}

.listinfo {
    padding: 25px 50px;
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    flex-grow: 4;
}

.listtitle {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.listinfotable {
    display: flex;
    flex-wrap: wrap;
    padding: 25px 0;
    font-size: 15px;
    font-weight: 400;
}

.listcell {
    width: 50%;
    padding-left: 30px;
    position: relative;
    margin-bottom: 0.5rem;
    padding-right: 10px;
}

.listcell::before {
    content: '';
    background-color: #FFD042;
    height: 2px;
    width: 15px;
    top: 0.75rem;
    left: 0;
    margin-top: -1px;
    position: absolute;
}

.listlabel,
.listvalue {
    display: inline-block;
    line-height: 1.5rem;
}

.listrow {
    width: 100%;
}

.pricecell {
    float: right;
    padding: 25px 0 0 0;
    color: #2a2a2a;
    text-transform: uppercase;
    font-size: 24px;
}

.pricecell::before {
    display: none;
}

.pricecell .listvalue {
    font-weight: 700;
}

.listinfobottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-top: auto;
}

.listinfobottom .ort {
    width: 50%;
    font-size: 15px;
}

.listinfobottom .ort i {
    color: #DC1900;
}

.listinfobottom .detailslink {
    width: 50%;
}

.listinfobottom .detailslink a {
    display: block;
    color: #2A2A2A;
    background-color: #FFD042;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s;
}

.listinfobottom .detailslink a svg {
    float: right;
    margin-top: 7px;
}

.listinfobottom .detailslink a:hover {
    background-color: #ffe38e;
    text-decoration: none;
}

.post-nav-links,
.page-numbers_wrap {
    text-align: center;
}

.post-nav-links>a,
.page-numbers {
    padding: 10px;
    font-weight: 400;
    color: #2A2A2A;
    transition: all 0.3s;
}

.post-nav-links>span,
.page-numbers.current {
    font-weight: 700;
    padding: 10px;
    background-color: #FFD042;
}

.post-nav-links>a:hover,
.page-numbers:hover {
    text-decoration: none;
    background-color: #FFD042;
    color: #2a2a2a;
}

.detailview {
    margin-top: 65px;
}

.details-title {
    padding: 50px 0 15px 0;
}

.details-title h1 {
    font-size: 32px;
}

.details-gallery {
    margin-bottom: 75px;
}

.details-gallery .slick-arrow::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #DC1900;
    background: #fff;
    height: 50px;
    width: 50px;
    display: block;
    line-height: 50px;
    text-align: center;
}

.details-gallery .slick-next::before {
    content: '\f054';
    margin-left: -15px;
}

.details-gallery .slick-prev::before {
    content: '\f053';
    margin-left: -25px;
}

/* .details-picture {
	height: 600px;
} */

.details-picture {
    padding: 0 40px;
}

.details-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.details-gallery .slick-prev {
    left: 0;
    z-index: 8;
    background: rgba(0, 0, 0, 0.6);
    height: 100%;
    padding: 0 100px;
}

.details-gallery .slick-next {
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    height: 100%;
    padding: 0 100px;
}

.details-table strong,
.details-table span {
    display: block;
    border-bottom: 2px solid #FFD042;
    padding: 5px 10px 5px 0;
    height: 100%;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
}

.details-table .col-md-3:nth-child(4n+1) {
    padding-right: 0;
    text-transform: uppercase;
}

.details-table .col-md-3:nth-child(4n+2) {
    padding-left: 0;
    padding-right: 50px;
    text-align: right;
}

.details-table .col-md-3:nth-child(4n+2) {
    text-align: left;
}

.details-table .col-md-3:nth-child(4n+3) {
    padding-left: 50px;
    padding-right: 0;
    text-transform: uppercase;
}

.details-table .col-md-3:nth-child(4n+4) {
    padding-left: 0;
    text-align: right;
}

.details-table .col-md-3:nth-child(4n+4) {
    text-align: left;
}

.details-freetext {
    padding: 75px 0;
}

.freetext-wrap {
    position: relative;
    column-count: 2;
    column-gap: 100px;
}

.freetext-wrap::after {
    content: '';
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    background-color: #FFD042;
    position: absolute;
}

.details-inquiry {
    margin-bottom: 75px;
    overflow: hidden;
    display: none;
}

.details-asp {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 35%;
    background-image: url('/wp-content/themes/af/img/asp_background.jpg');
    padding-top: 75px;
    overflow: hidden;
    margin-bottom: 150px;
}

.details-asp .row {
    align-items: flex-end;
    flex-direction: column;
}

.color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFD042;
    opacity: 0.6;
}

.asp-wrap {
    position: relative;
    padding: 25px;
    background-color: #ffffff;
    width: 700px;
    max-width: 100%;
}

.asp-wrap .row {
    align-items: inherit;
    flex-direction: row;
}

.asp-wrap::after {
    position: absolute;
    top: 0;
    left: 100%;
    height: 100%;
    width: 9999px;
    background-color: #ffffff;
    content: '';
}

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

.asp_info span,
.asp_info strong,
.asp_info a {
    display: block;
    text-transform: uppercase;
}

.asp_info strong {
    font-size: 18px;
    font-weight: 400;
    position: relative;
}

.asp_info strong::before {
    content: '';
    height: 2px;
    width: 45px;
    position: absolute;
    top: 50%;
    margin-top: -1px;
    left: -50px;
    background-color: #FFD042;
}

.asp_info span.asp_name {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
}

.asp_info a {
    padding: 10px 15px;
    background-color: #efefef;
    margin-bottom: 15px;
    color: #2A2A2A;
    transition: all 0.3s;
}

.asp_info a svg,
.asp_info a i {
    margin-right: 10px;
}

.asp_info a.asp_mail {
    background-color: #FFD042;
}

.asp_info a:hover {
    text-decoration: none;
    background-color: #ffe38e;
}

.openigtimes {
    margin-top: 15px;
    display: block;
}

.openigtimes i {
    color: #FFD042;
}

.similar-estates {
    padding: 50px 0;
}

.similar-estates .centertext {
    margin: auto;
    text-align: center;
    padding-bottom: 15px;
}

.similar-estates .centertext h2 {
    position: relative;
    padding-bottom: 15px;
}

.similar-estates .centertext h2:after {
    position: absolute;
    content: '';
    width: 70px;
    bottom: 0;
    left: 50%;
    margin-left: -35px;
    background-color: #FFD042;
    height: 2px;
}

.similar-frame {
    margin-bottom: 75px;
}

.similar-object {
    padding: 0 15px;
    display: block;
    color: #2A2A2A;
}

.similar-object-wrap {
    display: block;
    color: #2A2A2A;
    border-bottom: 2px solid #FFD042;
    transition: all 0.3s;
}

.estate-details .similar-object-wrap {
    box-shadow: 0px 5px 5px 0px rgba(220, 25, 0, 0.05);
}

.similar-image {
    background-color: #ccc;
}

.similar-image {
    width: 100%;
    position: relative;
    display: none;
}

.similar-image span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 10px;
    color: #000000;
    background-color: #FFD042;
    font-weight: 700;
}

.similar-image img {
    width: 100%;
    display: none;
}

.similar-image:first-child {
    display: block;
}

.similar-image img:first-child {
    width: 100%;
    display: block;
}

.similar-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 15px;
    background-color: #ffffff;
}

.similar-ort {
    padding: 0 15px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    background-color: #ffffff;
}

.similar-ort i {
    color: #DC1900;
}

.similar-price {
    padding: 15px;
    background-color: #ffffff;
}

.similar-price span {
    display: block;
    color: #DC1900;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    background-color: #efefef;
}

.similar-object-wrap:hover {
    opacity: 0.8;
    text-decoration: none;
    color: #2A2A2A;
}

.reference-object {
    margin: 15px 0;
}

.reference-object .similar-price span {
    background-color: #FFD042;
    color: #2a2a2a;
    padding: 10px 15px;
    text-align: left;
}

.reference-object .similar-price span svg {
    float: right;
    margin: 7px 0 0 0;
}

.similar-estates .slick-arrow::before {
    font-family: "Font Awesome 5 Free";
    color: #000000;
    background: #fff;
    height: 50px;
    width: 50px;
    display: block;
    line-height: 50px;
    text-align: center;
    border: 2px solid #FFD042;
    background-image: url('/wp-content/themes/af/img/arrow.svg');
    content: '';
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
}

.similar-estates .slick-next::before {
    margin-left: -15px;
}

.similar-estates .slick-arrow {
    z-index: 8;
}

.similar-estates .slick-next {
    right: -50px;
}

.similar-estates .slick-prev {
    left: -50px;
}

.similar-estates .slick-prev::before {
    margin-left: -25px;
    transform: rotate(180deg);
}

/* Formulare */

.onoffice-form {
    width: 1060px;
    max-width: 100%;
    display: block;
    margin: auto;
}

.onoffice-form .schmuckelement {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.onoffice-form .schmuckelement::after {
    position: absolute;
    height: 100%;
    right: 0;
    top: 0;
    content: '';
    background-image: url('/wp-content/themes/af/img/form.svg');
    width: 999999px;
    background-repeat: no-repeat;
    background-position-x: right;
    background-size: contain;
}

.onoffice-form .schmuckelement .schmucktext {
    position: relative;
    display: block;
    width: 100%;
    z-index: 8;
    text-align: center;
    padding: 50px;
}

.onoffice-form .schmuckelement .schmucktext * {
    display: block;
}

.onoffice-form .schmuckelement .schmucktext h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.onoffice-form .schmuckelement .schmucktext h3::after {
    content: '';
    width: 50px;
    left: 50%;
    margin-left: -25px;
    height: 2px;
    background-color: #efefef;
    bottom: 0;
    position: absolute;
}

.formfield label {
    display: block;
    color: transparent;
    font-size: 0px;
}

.formfield input {
    width: 100%;
    margin-bottom: 10px;
    background-color: #F8F8F8;
    border: none;
    /* text-transform: uppercase; */
    padding: 10px 15px;
    font-size: 16px;
}

.formfield input::placeholder {
    color: #2A2A2A;
    opacity: 1;
}

.formfield textarea {
    width: 100%;
    margin-bottom: 10px;
    background-color: #F8F8F8;
    border: none;
    padding: 10px 15px;
    height: 135px;
    font-size: 16px;
}

.textarea textarea,
.textarea .formfield {
    height: 100%;
}



.datacheck {
    margin-bottom: 10px;
}

.datacheck label {
    display: inline;
}

.datacheck a {
    color: #FFD042;
}

.datacheck input {
    -webkit-appearance: none;
    border: 2px solid #FFD042;
    background-color: #efefef;
    padding: 5px;
}

.datacheck input:checked {
    -webkit-appearance: none;
    border: 2px solid #FFD042;
    background-color: #2a2a2a;
    padding: 5px;
}

.newslettercheckbox {
    margin-top: 15px;
}

.newslettercheckbox input {
    -webkit-appearance: none;
    border: 2px solid #FFD042;
    background-color: #efefef;
    padding: 5px;
    width: auto;
    height: auto;
    margin-bottom: 0;
    margin-right: 5px;
}

.newslettercheckbox input:checked {
    -webkit-appearance: none;
    border: 2px solid #FFD042;
    background-color: #2a2a2a;
    padding: 5px;
}

.newslettercheckbox label.boxtext {
    display: inline;
    font-size: 16px;
    color: #2a2a2a;
}

.newsletterform input {
    border: 2px solid #FFD042;
}

.submitwrap {
    position: relative;
    transition: all 0.3s;
}

.submitwrap::after {
    position: absolute;
    content: '';
    background-image: url('/wp-content/themes/af/img/arrow.svg');
    right: 5px;
    top: 5px;
    height: 32.5px;
    width: 40px;
    background-position: center;
    background-repeat: no-repeat;
}

.submitwrap input,
.submitwrap button {
    color: #2A2A2A;
    background-color: #FFD042;
    border: none;
    padding: 5px;
    font-weight: 400;
    width: 250px;
    text-align: left;
    float: right;
    max-width: 100%;
    cursor: pointer;
    padding: 10px 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.submitwrap:hover {
    opacity: 0.5;
}

/* News */

.news-details {
    padding: 150px 0;
    text-align: center;
}

.news-details-image {
    margin-bottom: 75px;
}

.news-details-image img {
    width: 700px;
    max-width: 100%;
    margin: auto;
    display: block;
    height: auto;
}

/* Footer */

.gm-style-iw {
    width: 250px !important;
}

.gm-style-iw img {
    width: 100% !important;
    margin-bottom: 15px;
}

.gm-style-iw button {
    top: -8px !important;
    right: 0 !important;
}

.footer-top {
    background-color: #efefef;
    padding-bottom: 50px;
    position: relative;
}

.footer-top img {
    max-width: 100%;
    width: 300px;
}

h3.footer-headline {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    position: relative;
    padding-bottom: 15px;
    margin: 30px 0 30px 0;
}

h3.footer-headline::after {
    content: '';
    width: 125px;
    height: 2px;
    background-color: #FFD042;
    left: 0;
    bottom: 0;
    position: absolute;
}

.footer-standort {
    font-size: 15px;
    font-weight: 400;
}

.footer-standort img {
    height: 200px;
    object-fit: cover;
}

.footer-standort h4 {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

#map_footer {
    position: absolute;
    height: 100%;
    right: 0;
    top: 0;
    width: 41.5%;
}

.footer-bottom {
    padding: 15px 0;
}

.footer-nav a {
    display: flex;
    align-items: center;
}

.footer-nav a {
    font-size: 15px;
    color: #949494;
    margin-right: 15px;
}

.footer-nav ul {
    text-align: left;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    display: inline-block;
    text-decoration: none;
}

.footer-onoffice {
    color: #000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.footer-onoffice svg {
    width: 130px;
    height: auto;
}
.footer-onoffice a {
    color: #000;
}

/* Test QA
.offset-lg-1 {margin-left: 0;}
*/

/* Cleverreach Form */

form.cr_form .cr_body {
    background: none !important;
    box-shadow: none !important;
}

form.cr_form br {
    display: none !important;
}

form.cr_form .cr_ipe_item input {
    border-radius: 0 !important;
    border: none !important;
    background-color: #F8F8F8 !important;
    width: 100% !important;
    margin-bottom: 10px !important;
    padding: 10px 15px !important;
    font-size: 16px !important;
}

form.cr_form .cr_ipe_item input[type="checkbox"] {
    width: auto !important;
    float: left !important;
    margin: 10px 10px 0 0 !important;
}

form.cr_form .cr_button {
    color: #2A2A2A !important;
    background-color: #FFD042 !important;
    border: none !important;
    padding: 5px !important;
    font-weight: 400 !important;
    width: 250px !important;
    text-align: left !important;
    float: right !important;
    max-width: 100% !important;
    cursor: pointer !important;
    padding: 10px 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    height: auto !important;
}

form.cr_form .submit_container {
    position: relative !important;
}

form.cr_form .submit_container::after {
    position: absolute !important;
    content: '' !important;
    background-image: url('/wp-content/themes/af/img/arrow.svg') !important;
    right: 15px !important;
    top: 0px !important;
    height: 62.5px !important;
    width: 70px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Responsive */
@media only screen and (max-width: 1690px) {
    .similar-estates .slick-next {
        right: 50px;
    }

    .similar-estates .slick-prev {
        left: 50px;
        z-index: 888;
    }
}

@media only screen and (max-width: 1690px) {
    header .contact {
        margin-right: 0;
    }

    header .logo {
        margin-left: 0;
    }

    .left_shortcode {
        padding: 50px 0 0;
    }
}

@media only screen and (max-width: 1700px) {
    .contact a span {
        display: none;
    }
}

@media only screen and (max-width: 1280px) {
    header .row {
        justify-content: inherit;
    }

    header .contact {
        margin-right: 25px;
        float: right;
        margin-left: auto;
    }

}

@media only screen and (max-width: 1200px) {
    .logo .mobile_logo {
        display: block;
        height: 100%;
        width: 187px;
    }

    .logo .desktop_logo {
        display: none;
    }

    header .row {
        justify-content: space-between;
    }

    .navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background: #ffffff;
        overflow: scroll;
    }

    header nav ul ul {
        display: block;
        position: inherit;
        padding-bottom: 0;
    }

    header nav ul#primary-menu>li {
        display: block;
    }

    header ul li {
        text-align: center;
    }

    header nav ul#primary-menu>li>a {
        color: #DC1900;
        padding: 25px 15px 0 15px
    }

    header nav ul ul li a {
        padding: 5px 15px 0 15px;
    }

    header nav ul#primary-menu>li::after {
        display: none;
    }

    .mobilenav-trigger {
        display: block;
    }

    .mobile-nav-closer {
        display: block;
    }

    header .row {
        min-height: 40px;
    }

    /* Soll laut QA raus
	header .logo {
		width: 300px;
	}
	*/
    header nav {
        padding: 25px 0 115px 0;
    }

    .mobile-logo {
        display: block;
    }

    .onoffice-form {
        width: 100%;
    }
}

@media only screen and (max-width: 991px) {
    .text_1 .bildelement {
        padding-right: 15px;
        margin-bottom: 40px;
    }

    .text_1 .bildelement::after {
        content: '';
        width: 2px;
        bottom: -30px;
        right: 50%;
        height: 100px;
        background-color: #FFD042;
        position: absolute;
        top: inherit;
    }

    .text_1 .textelement {
        padding-left: 15px;
    }

    .text_1 .textelement h2::before,
    .text_2 .textelement h2::before {
        content: none;
    }

    .text_2 .bildelement,
    section.textbild_element .bildelement {
        padding-right: 15px;
        margin-bottom: 40px;
    }

    .text_2 .bildelement::after,
    section.textbild_element .bildelement::after {
        content: '';
        width: 2px;
        bottom: -30px;
        right: 50%;
        height: 100px;
        background-color: #DC1900;
        position: absolute;
        top: inherit;
    }

    .text_2 .textelement,
    section.textbild_element .textelement {
        padding-top: 0px;
        padding-left: 15px;
    }

    .text_2::after {
        width: 100%;
        top: 115px;
        height: calc(100% - 150px);
    }

    section.textbild_element::after {
        width: 100%;
        top: 65px;
        height: calc(100% - 100px);
    }

    #map_footer {
        position: inherit;
        height: 250px;
        width: 100%;
        margin-top: 75px;
    }

    .footer-top {
        padding-bottom: 0;
    }

    .footer-top img {
        max-width: 250px;
    }

    .small_banner {
        height: 300px;
    }

    .textbanner {
        flex-direction: column-reverse;
        align-items: inherit;
        height: auto;
        padding-top: 50px;
    }

    .textbanner img {
        position: inherit;
        width: 100%;
        margin-top: 25px;
    }

    .statistik_wert {
        margin-bottom: 30px;
    }

    .bulletpointlist {
        margin-bottom: 50px;
    }

    .big_banner+.freitext .textwrap {
        padding: 0 15px;
        background-color: none;
    }

    .big_banner+.freitext {
        margin: 0;
        padding-bottom: 150px;
    }

    .big_banner_wrap {
        margin-bottom: 75px;
    }

    .big_banner_wrap .container {
        margin-top: 50px;
        margin-bottom: 0;
    }

    .big_banner_wrap .container .bannertext {
        padding: 0;
        width: 100%;
    }

    /* .details-picture {
		height: 500px;
	} */
    .onoffice-form .schmuckelement .schmucktext {
        padding-bottom: 75px;
    }

    .onoffice-form .schmuckelement::after {
        display: none;
    }

    .shortcode_banner .onoffice-form .schmuckelement .schmucktext {
        display: none;
    }

    .shortcode_banner .freetext {
        margin-bottom: 40px;
    }

    .onoffice-form .formfieldwrap {
        padding: 0 15px;
        margin-top: -25px;
        position: relative;
        z-index: 8;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .textbanner::after {
        content: none;
    }

    .bannertext .col-lg-6 {
        padding-right: 15px;
    }

    .text_1,
    .text_2,
    section.shortcode {
        padding: 75px 0;
    }

    .freitext_1,
    .freitext_2,
    .leistungen,
    section.textbild_element,
    .freitext,
    .big_banner+.freitext,
    section.bulletpoints {
        padding-bottom: 75px;
    }

    .textbanner,
    .freitext_zweispaltig {
        margin-bottom: 75px;
    }

    .doppel_shortcode_banner,
    .left_shortcode,
    .right_shortcode {
        height: auto;
    }

    .right_shortcode #map {
        height: 500px
    }

    .left_shortcode {
        padding: 30px 0 0;
    }

    .footer-nav ul,
    .footer-onoffice {
        text-align: center;
        justify-content: center;
    }

    .footer-nav a {
        margin: 5px 7px;
    }

    .shortcode .container .container,
    .shortcode_banner .container .container {
        padding: 0;
    }

    .details-table .col-md-3:nth-child(4n+2) {
        padding-right: 15px;
    }

    .details-table .col-md-3:nth-child(4n+3) {
        padding-left: 15px;
    }

    .details-inquiry .onoffice-form .schmuckelement .schmucktext {
        padding: 0 0 50px;
    }
}

@media only screen and (max-width: 767px) {
    .footer-top img {
        display: none;
    }

    .freitext_zweispaltig_wrap,
    .freetext-wrap {
        column-count: 1;
    }

    .freitext_zweispaltig_wrap::after,
    .freetext-wrap::after {
        display: none;
    }

    .freitext_zweispaltig_wrap div {
        width: 50%;
    }

    .freitext_zweispaltig_wrap div:first-child {
        width: 100%;
        padding-right: 0;
    }

    .freitext_zweispaltig_wrap div:last-child {
        width: 100%;
        padding-left: 0;
        margin-top: 50px;
    }

    .footer-left .row:nth-child(2) {
        padding: 0 15px;
    }

    .footer-standort {
        padding: 0;
        border: 2px solid #FFD042;
        display: flex;
        flex-direction: column;
    }

    .footer-standort h4 {
        background-color: #FFD042;
        padding: 10px 15px;
        margin: 0;
        position: relative;
        cursor: pointer;
        order: -1;
    }

    .footer-standort h4::after {
        content: "\f078";
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 10px;
        top: 5px;
        font-size: 15px;
    }

    .footer-standort h4.standort-chosen::after {
        content: "\f077";
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
    }

    .footer-standort img {
        padding: 15px 15px 5px 15px;
    }

    .footer-standort p {
        padding: 10px 15px 5px 15px;
        display: none;
    }

    .footer-standort:first-child p,
    .footer-standort:first-child img {
        display: block;
    }

    .asp-wrap {
        padding: 15px;
        width: 100%;
    }

    .details-asp {
        padding-top: 200px;
        background-size: cover;
        background-position: top center;
    }
}

@media only screen and (max-width: 675px) {

    /* Soll laut QA raus
	header .logo {
		width: 50%;
	}
	*/
    .slide .textoverlay {
        width: 100%;
        max-width: 100%;
    }

    .details-title h1 {
        font-size: 27px;
    }

    .listimage {
        width: 100%;
        max-width: 100%;
        flex: 100%;
    }

    .list-image img {
        max-width: 100%;
        height: auto;
    }
}

@media only screen and (max-width: 600px) {
    .slide .textoverlay {
        padding: 25px;
    }

    .asp_image {
        margin-bottom: 15px;
    }

    .details-title h1 {
        font-size: 22px;
    }

    .slide .textoverlay a {
        width: 100%;
        margin: 0 0 15px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .slide .textoverlay a:last-child {
        margin-bottom: 0;
    }

    .textbutton_hell,
    .textbutton_dunkel,
    .submitwrap input {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .listinfo {
        padding: 15px;
    }

    .listcell {
        width: 100%;
    }

    .small_banner {
        height: 200px;
    }

    /* .details-picture {
		height: 350px;
	} */
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 21px;
    }

    section.textbild_element::after {
        top: 90px;
        height: calc(100% - 100px);
    }

    section.textbild_element::after {
        top: 40px;
        height: calc(100% - 60px);
    }

    .text_1,
    .text_2,
    section.shortcode {
        padding: 50px 0;
    }

    .freitext_1,
    .freitext_2,
    .leistungen,
    section.textbild_element,
    .freitext,
    .big_banner+.freitext,
    .teaserboxen {
        padding-bottom: 50px;
    }

    section.bulletpoints {
        padding-bottom: 0;
    }

    section.textbild_element {
        margin-bottom: 25px;
    }

    .textbanner,
    .freitext_zweispaltig,
    .shortcode_banner {
        margin-bottom: 50px;
    }

    .left_shortcode {
        padding: 15px 0 0;
    }

    .immobilien_buttons .details-gallery,
    .details-inquiry,
    .details-asp {
        margin-bottom: 50px;
    }

    .details-freetext {
        padding: 50px 0;
    }

    .similar-estates {
        padding-top: 0;
    }

    .similar-frame {
        margin-bottom: 0;
    }

    .footer-top {
        padding-bottom: 0;
    }

    #map_footer {
        margin-top: 50px;
    }

    .immobilien_buttons a,
    .immobilien_buttons a:last-of-type,
    .immobilien_buttons a:first-of-type {
        margin: 0 0 -2px 0;
    }

    .small_banner_wrap h1 {
        margin-bottom: 1.5rem;
    }

    .small_banner_wrap h1::after {
        bottom: 0;
    }

    header .logo {
        width: auto;
    }

    header,
    .logo .mobile_logo {
        height: 64px;
    }

    .logo .mobile_logo {
        width: auto;
    }

    section:first-of-type {
        margin-top: 60px;
    }
}

@media only screen and (max-width: 400px) {

    .listinfobottom .detailslink,
    .listinfobottom .ort {
        width: 100%;
    }

    .listinfobottom .ort {
        margin-bottom: 15px;
    }

    .details-table strong,
    .details-table span {
        height: 100%;
    }
}

.slick-dots li::before {
    display: none;
}

.bildlauf .slick-prev {
    left: 50px;
    z-index: 999;
}

.bildlauf .slick-next {
    right: 50px;
    z-index: 999;
}

#textresizer {
    display: inline;
}

.textresize1 {
    font-size: 15px;
    cursor: pointer;
    margin: 2px;
}

.textresize2 {
    font-size: 20px;
    cursor: pointer;
    margin: 2px;
    font-weight: 600;
}

.textresize3 {
    font-size: 25px;
    cursor: pointer;
    margin: 2px;
    font-weight: 600;
}
