@charset "UTF-8";
@font-face {
    font-family: "Proxima Nova Pflegemarke";
    src: url("../fonts/proximanova-light-pflegemarke.woff2") format("woff2");
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Niveau Grotesk";
    src: url("../fonts/NiveauGroteskLight.eot");
    src: local("../fonts/Niveau Grotesk Light"), local("NiveauGroteskLight"),
        url("../fonts/NiveauGroteskLight.eot?#iefix") format("embedded-opentype"),
        url("../fonts/NiveauGroteskLight.woff2") format("woff2"),
        url("../fonts/NiveauGroteskLight.woff") format("woff"),
        url("../fonts/NiveauGroteskLight.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Niveau Grotesk";
    src: url("../fonts/NiveauGroteskBold.eot");
    src: local("../fonts/Niveau Grotesk Bold"), local("NiveauGroteskBold"),
        url("../fonts/NiveauGroteskBold.eot?#iefix") format("embedded-opentype"),
        url("../fonts/NiveauGroteskBold.woff2") format("woff2"),
        url("../fonts/NiveauGroteskBold.woff") format("woff"),
        url("../fonts/NiveauGroteskBold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Niveau Grotesk";
    src: url("../fonts/NiveauGroteskMedium.eot");
    src: local("../fonts/Niveau Grotesk Medium"), local("NiveauGroteskMedium"),
        url("../fonts/NiveauGroteskMedium.eot?#iefix") format("embedded-opentype"),
        url("../fonts/NiveauGroteskMedium.woff2") format("woff2"),
        url("../fonts/NiveauGroteskMedium.woff") format("woff"),
        url("../fonts/NiveauGroteskMedium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Niveau Grotesk";
    src: url("../fonts/NiveauGroteskRegular.eot");
    src: local("font/Niveau Grotesk Regular"), local("NiveauGroteskRegular"),
        url("../fonts/NiveauGroteskRegular.eot?#iefix") format("embedded-opentype"),
        url("../fonts/NiveauGroteskRegular.woff2") format("woff2"),
        url("../fonts/NiveauGroteskRegular.woff") format("woff"),
        url("../fonts/NiveauGroteskRegular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Playfair Display";
    src: url("../fonts/PlayfairDisplay-Medium.woff2") format("woff2"),
        url("../fonts/PlayfairDisplay-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("../fonts/PlayfairDisplay-Bold.woff2") format("woff2"),
        url("../fonts/PlayfairDisplay-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Niveau Grotesk" !important;
    font-weight: normal;
    font-style: normal;
}

* {
    outline: none;
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1320px;
    }

}

@media (min-width: 0px) {
    .d-md-block {
        display: block !important;
    }
}

.dmi-nav-btn-content{
    display: none;
    text-align: left;
    padding-left: 25px;

}

header .dmi-header-inquiry {
    float: right !important;
}

.dmi-header-inquiry .dmi-btn {
    margin-left: 25px;
    width: 198px;
    height: 56px;
    padding: 0;
    font-weight: 700;
    letter-spacing: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dmi-consult-box .dmi-consult-phone {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: var(--dmi-accent) !important;
    margin: 11px 0 0;
    font-family: "Niveau Grotesk";
    line-height: 28px;
}

.dmi-consult-box .dmi-consult-phone a:hover {
    color: var(--dmi-blue);
    transition: 0.5s;
}

.dmi-consult-box .dmi-consult-phone a {
    text-decoration: none;
    color: var(--dmi-accent);
}

.dmi-consult-box p {
    font-size: 18px;
    line-height: normal;
}

.dmi-header-inquiry img {
    margin-right: 15px;
}

.dmi-header-bottom {
    background: var(--dmi-blue);
    margin: 0 0 0;
}

.dmi-header-bottom a {
    color: #fff !important;
    font-size: 19px;
    font-family: "Niveau Grotesk";
    font-weight: 500;
}

.dmi-header-bottom li:first-child {
    border: none;
    padding: 20px 25px;
}

.dmi-header-bottom li {
    padding: 20px 25px;
    border-left: 1px solid #1b66a1;
    display: flex;
    align-items: center;
    transition: 0.5s;
}

.dmi-header-bottom li a {
    padding: 0 0 0 0 !important;
    margin: 0px;
    line-height: 22px;
}

nav.navbar.navbar-expand-lg.navbar-light {
    padding: 0 !important;
}

.dmi-header-bottom li:last-child {
    padding: 20px 25px;
}

header .dmi-header-inquiry {

    padding-top: 0;
}

.dmi-header-top .row {
    align-items: center;
    min-height: 90px;
}

.dmi-header-top .navbar-brand {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 0;
}

.carousel-control-next-icon {
    background-image: url(../img/next.png) !important;
    width: 28px;
    height: 46px;
}

.carousel-control-prev-icon {
    background-image: url(../img/prev.png) !important;
    width: 28px;
    height: 46px;
}

.w-100 {
    height: min-content !important;
}

a.active {
    background: var(--dmi-accent) !important;
}

.dmi-kfw-slide {
    position: absolute;

    top: 42px;
    right: 44px;
}

.dmi-sticky-actions {
position: fixed!important;
right: 0;
bottom: 0;

z-index: 99999 !important;
top: 0;
margin: auto;
height: 210px;
}

.dmi-sticky-actions a.top{
    background: #002f6f;
}

.dmi-testimonials-heading h2 {
    font-size: 2.5rem;
    margin: 0px;
    line-height: 3.125rem;

    padding-left: 0;
}

.dmi-property-slide .dmi-testimonials-list p {
    display: flex;
    align-items: center;
    line-height: 35px;
    font-family: "Niveau Grotesk";
    font-size: 19px;
    color: #939393;
    margin: 0;
}

.dmi-property-slide .dmi-testimonials-list img {
    height: 12px !important;
    width: 8px !important;
    margin-right: 7px !important;
}

.dmi-property-slide .dmi-testimonials-outer .dmi-zitat-titel {
    padding-left: 30px;
    font-size: 26px;
}

.dmi-property-slide .dmi-testimonials-list {
    padding-left: 30px;
}

.dmi-property-slide .dmi-testimonials-outer {
    padding-top: 41px;
}

.dmi-property-slide .dmi-testimonials-list {
    margin-top: 21px;
}

.card_img_owl {
    padding: 10px;
}

.dmi-property-slide .dmi-testimonials-outer {
    padding-top: 23px;
}

.dmi-property-slide .alle {
    text-align: center;
    margin-top: 50px;
}

.dmi-property-slide .alle a {
    background: var(--dmi-accent);
    text-decoration: none;
    color: #fff;
    font-size: 17px;
    padding: 20px 30px;
    border-radius: 6px;
    font-family: "Niveau Grotesk";
    font-weight: 500;
    letter-spacing: 0.5px;
}

.owl-stage-outer {
    padding-bottom: 0px !important;
}

.dmi-testimonials-header {
    background: #f7f7f7;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.dmi-testimonials-header .dmi-testimonials-heading {
    margin-bottom: 80px;
}

.dmi-testimonials-first.card_img_owl img {
    width: auto;
    margin-bottom: -40px;
    z-index: 9;
    position: relative;
}

.dmi-testimonials-first .dmi-testimonials-outer {
    padding: 35px 20px;
}

.dmi-testimonials-first .dmi-testimonials-outer .dmi-zitat-titel {
    font-size: 1.6875rem;
    margin: 20px 0 25px;
}

.dmi-testimonials-first img.dmi-testimonial-icon {
    width: auto !important;
}

.dmi-testimonials-first.dmi-testimonials-outer {
    padding: 35px 20px;
}

.dmi-testimonials-header .card {
    border: none;
    box-shadow: 0px 0px 20px #e4eaef;
}

.dmi-testimonials-first .card_img_owl {
    padding: 0 20px !important;
    margin-bottom: -28px;
    position: relative;
    z-index: 9;
}

.dmi-testimonials-header .alle {
    width: 100%;
    margin: 40px 0 0;
}

.dmi-testimonials-header .alle a {

    background: var(--dmi-accent);
    text-decoration: none;
    color: #fff;
    font-size: 17px;
    padding: 20px 21px 20px 25px;
    border-radius: 6px;
    font-family: "Niveau Grotesk";
    text-align: center;
    margin: 0 auto;
    display: table;
    text-transform: uppercase !important;
    font-weight: bold;
}

.dmi-testimonials-widget span.prev::before {
    content: "";
    background: url(../img/owl2s_left.png);
    height: 45px;
    width: 65px;
    position: relative;
    display: block;
}

.dmi-testimonials-widget span.next::before {
    content: "";
    background: url(../img/owl2s_right.png);
    height: 45px;
    width: 65px;
    position: relative;
    display: block;
}

.dmi-testimonials-widget {
    overflow-x: clip;
}

.dmi-testimonials-widget .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
}

.dmi-testimonials-widget .owl-nav button.owl-prev {
    margin-left: -85px !important;
    float: left;
}

.dmi-testimonials-widget .owl-nav button.owl-next {
    float: right;
    margin-right: -85px !important;
}

.more-btn {
    margin-top: 30px;
}

.dmi-testimonials-header .dmi-testimonials-list p {
    font-family: "Niveau Grotesk";
    font-size: 17px;
    line-height: 28px;
    color: #516576;
}

.modal-content {
    background-color: transparent !important;
    border: 7px solid #FFF;
    width: 100% !important;
    max-width: 576px !important;
    height: 360px;
}

button.btn-close {
    display: block !important;
    position: absolute;
    right: -20px;
    background-color: #fff;
    width: 25px;
    height: 25px;
    font-size: 12px;
    border-radius: 50%;
    font-family: "Gotham";
    z-index: 1;
    top: -20px;
    opacity: 1;
    padding: 5px;
}

.modal-content .modal-body {
    padding: 0 !important;
}

.modal-content .modal-body iframe {
    width: 100%;
    height: 100%;
}

.erfahren {
    padding: 115px 0;
    background: #f6f7f9;
}

.denkmal {
    padding: 120px 0;
}

.denkmal .dmi-testimonials-heading {
    padding-bottom: 32px;
}

.aktuelles .owl-carousel .owl-item img {
    display: block;
    width: 100%;
    border-radius: 5px;
}

footer {
    background: #f6f7f9;
    padding-top: 108px;

    padding-bottom: 0;
}

.dmi-sidebar-cta { margin: 0 17px 17px; }

.dmi-footer-kompakt { display: none; }

.dmi-footer-bottom {
    background: #eceef1;
    padding: 12px 0;
    margin-top: 40px;
}
.dmi-footer-bottom p {
    margin: 0;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: #9aa1a9;
}

.dmi-footer-bg .dmi-footer-spalte-titel {
    font-size: 1.5rem;
    position: relative;
    margin: 0;
}

.dmi-footer-bg .dmi-footer-spalte-titel:before {
    content: " ";
    background: var(--dmi-blue);
    width: 40px;
    height: 3px;
    bottom: -28px;
    position: absolute;
}

.col-md-3.dmi-footer-offers { padding: 0 0 0 30px; }

.dmi-footer-offers ul {
    margin-top: 66px;
    margin-bottom: 45px;
}

.dmi-footer-offers li { font-size: 18px; line-height: normal; padding-bottom: 24px; }

.dmi-footer-offers li a {
    text-decoration: none;
    font-family: "Niveau Grotesk";
    color: #434343 !important;
    line-height: normal;
}

.form-check {
    display: flex;
}

input#gridCheck {
    margin-right: 10px;
}

.form-check input {
    padding: 0 8px !important;
    outline: none;
    border: none;
}

body .form-select {
    color: #7f7f7f;
    background-image: url(../img/down.png) !important;
    background-repeat: no-repeat !important;
    background-position: 93% 55% !important;
    background-size: 11px 7px !important;
    border: 1px solid #ced4da !important;
    cursor: pointer;
}

.dmi-footer-bg img.dmi-footer-logo {
    width: 100%;
}

.carousel-control-next,
.carousel-control-prev {
    opacity: 1 !important;
}

.alle button {
    display: none;
}

.dmi-testimonials-heading h3 {
    display: none;
}

.dmi-testimonials-widget .alle button {
    display: none;
}

.dmi-responsive-logo {
    display: none;
}
.dmi-mobile-header-top {
    display: none;
}

.dmi-property-slide .alle a:hover,
.dmi-testimonials-header .alle a:hover{
    background: var(--dmi-blue) !important;
    transition: 0.5s;
}

label.form-check-label {
    cursor: pointer !important;
}

ul.navbar-nav.me-auto.mb-2.mb-lg-0 li.nav-item a.nav-link.active {
    background: transparent !important;
}

img.d-block.w-100.responsive {
    display: none !important;
}

.dmi-header-bottom li:hover {
    background: var(--dmi-accent);
}

.dmi-footer-offers li a:hover {
    color: #20629b;
}

.dmi-hero {

    position: relative;
    padding: 54px 0 0;
}

.dmi-hero--slideshow {
    padding-top: 0;
}

.dmi-cta-box {
    background: url(../img/parkbg.png) no-repeat;
    width: 517px;
    height: 614px;
    padding: 57px 20px 0;
    z-index: 999;
    position: relative;
}

.hero-static-box {
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    z-index: 999;
}

.hero-static-box .dmi-cta-box {
    width: 420px;
    height: auto;
    background-size: 100% 100%;
    padding: 30px 24px 28px;
}

.hero-static-box .dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel) {
    font-size: 1.875rem;
    line-height: 2.25rem;
    padding-left: 36px;
}

.hero-static-box .dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel):before {
    top: 15px;
    width: 18px;
    height: 6px;
}

.hero-static-box .dmi-cta-box__text p {
    font-size: 16px;
    line-height: 23px;
    margin: 12px 0 0 0;
    padding-left: 36px;
}

.hero-static-box .dmi-cta-box__phone {
    font-size: 28px;
    line-height: 30px;
    margin-top: 12px;
}

.hero-static-box .dmi-cta-box__phone img {
    padding: 7px 13px 6px 9px;
    margin: 0 12px 0 1px;
}

.hero-static-box .dmi-cta-box__text > a {
    font-size: 15px;
    padding: 11px 28px;
    margin: 14px 0 0 36px;
}

.hero-carousel {
    position: relative;
    height: 614px;
    overflow: hidden;
}

.hero-carousel__item {
    position: absolute;
    inset: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 1200ms ease;
}

.hero-carousel__item.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-carousel__item .dmi-kfw-badge {
    position: absolute;

    top: 42px;
    right: 44px;
}

.dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel) {

    color: #434343;
    margin: 0;
    padding: 0 0 0 50px;
    position: relative;

    overflow-wrap: break-word;
    text-wrap: balance;
}

.dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel):before {
    content: "";
    width: 23px;
    height: 8px;
    background: var(--dmi-blue);
    display: block;
    position: absolute;
    top: 26px;
    left: 1px;
}

.dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel) span {
    color: var(--dmi-blue);

}

.dmi-cta-box__text .dmi-sold-badge {
    display: inline-block;
    background: var(--dmi-red);
    color: #fff;
    font-family: "Niveau Grotesk", 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 20px;
    border-radius: 3px;
    margin: 0 0 14px 50px;
    font-size: 18px;
    line-height: 1;
}

.dmi-cta-box__text p:where(:not(.dmi-titel)) {
    font-family: "Niveau Grotesk";
    font-size: 20px;
    line-height: 30px;
    color: #6c6e71;
    margin: 25px 0 0 0;
    padding: 0 0 0 50px;
}

.dmi-cta-box__text p a {
    font-weight: bold;
    color: var(--dmi-blue);
}

.dmi-cta-box__text p a {
    font-weight: bold;
    color: var(--dmi-blue);
    padding: 0;
    margin: 0;
    background: transparent !important;
    text-decoration: none;
    text-transform: capitalize;
}

.dmi-cta-box__phone {
    font-weight: bold;
    text-decoration: none;
    font-size: 44px;
    color: var(--dmi-blue);
    line-height: 40px;
    align-items: center;
    display: inline-block;
    margin: 27px 0 0 0;
}

.dmi-cta-box__phone img {
    background: var(--dmi-blue);
    padding: 12px 20px 10px 14px;
    border-radius: 0 100px 100px 0;
    margin: 0 20px 0 1px;
}

.dmi-cta-box__text a {
    font-family: "Niveau Grotesk";
    font-weight: bold;
    font-size: 17px;
    margin: 28px 0 0 50px;
    background: var(--dmi-accent);
    padding: 18px 50px;
    text-decoration: none;
    text-transform: uppercase;
    color: #fefefe;
    border-radius: 5px;
    display: inline-block;
}

.dmi-cta-box__text a:hover {
    background: var(--dmi-blue);
}

.dmi-cta-box__text img.dmi-kfw-badge {
    position: relative;
    left: -44px;
    top: -5px;
}

.dmi-hero-facts {
    background: url(../img/bgtext.png) no-repeat;

    background-size: 100% 100%;
    padding: 20px 0 25px 0;

    margin: 0;
}

.dmi-hero-facts .dmi-hero-facts-titel {
    font-size: 1.75rem;
    line-height: 2rem;
    color: #fff;
    margin: 0;

    padding: 0;
}

.dmi-hero-facts ul {
    margin: 20px 0 0 0;

    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-start;
}

.dmi-hero-facts ul li {
    font-weight: 500;
    font-size: 24px;
    padding: 0 20px 0;
    color: #fff;
    border-left: 2px solid #fff;
    line-height: 19px;
}

.dmi-hero-facts ul li:first-child {
    border: none;
    padding: 0 20px 0 0;
}

.dmi-hero-facts ul li:last-child {
    padding: 0 0 0 20px;
}

.dmi-hero-facts ul li span {
    padding: 0 0 0 20px;

    font-weight: 700;
}

.dmi-sticky-actions ul {
    margin: 0;
    padding: 0;
    list-style: none;

    display: flex;
    flex-direction: column;
    height: 100%;
}

.dmi-sticky-actions ul li {
    flex: 1;
    display: flex;
}

.dmi-sticky-actions ul li a {
    background: var(--dmi-blue);

    color: #fff;
    border: 3px solid #fff;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.dmi-sticky-actions ul li:nth-child(2) a {
    border-top: 0;
    border-bottom: 0;
}

.dmi-sticky-actions svg {
    display: block;
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dmi-sticky-actions li:first-child svg {
    fill: currentColor;
    stroke: none;
}

@media (max-width: 1200px) {
    .dmi-sticky-actions { height: 174px; }
    .dmi-sticky-actions ul { height: 174px; }
    .dmi-sticky-actions ul li a { padding: 0 15px; }
    .dmi-sticky-actions svg { width: 22px; height: 22px; }
}

.dmi-sticky-actions ul li a:hover {
    background: var(--dmi-accent);
}

.breadcrumb-item+.breadcrumb-item::before {

    content: "\203A";
    padding-right: 10px;
}

.breadcrumb a {
    color: var(--dmi-blue);
    font-size: 20px;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c6e71;
    font-size: 20px;
    padding-left: 10px;
}

ol.breadcrumb {
    margin: 60px 0 45px;
}

.dmi-sidebar-head {
    margin: 45px 0 60px 20px;
}

.dmi-sidebar-head:has(+ ul.more) {
    margin-bottom: 22px;
}

.dmi-sidebar-head .dmi-sidebar-titel {
    font-size: 1.5rem;
    line-height: 2.25rem;
    margin: 0;
    padding: 0;
    display: flex;
}

.dmi-sidebar-head .dmi-sidebar-titel::before { margin-right: 10px; }

.dmi-sidebar-head .dmi-sidebar-titel img {
    margin: 0 0 0 15px;

    align-self: flex-start;
}
.sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar ul li a {
    text-decoration: none;
    font-size: 22px;
    color: #4d4d4d;
    line-height: normal;
    display: flex;
    border-top: 1px solid #d5dae2;
    padding: 20px 17px;
    margin: 0 16px;
    position: relative;
    background: transparent !important;
}

.sidebar ul li:first-child a {
    border: none;
}

.sidebar {
    border: 2px solid var(--dmi-border-light);
    background: #f6f6f6;
    border-left: 1px solid var(--dmi-border);
    border-bottom: 1px solid var(--dmi-border);
    margin: 0 0 43px;
}

.dmi-subheader {
    position: relative;
    overflow: hidden;
    background: var(--dmi-blue) center / cover no-repeat;
    color: #fff;
    margin: 0 0 40px;
}
.dmi-subheader::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 40, 68, 0.82) 0%, rgba(12, 40, 68, 0.55) 55%, rgba(12, 40, 68, 0.32) 100%);
}
.dmi-subheader .container {
    position: relative;
    padding-top: 46px;
    padding-bottom: 42px;
}
.dmi-subheader .dmi-crumb {
    color: var(--dmi-line);
    font-family: "Niveau Grotesk";
    font-size: 13px;
    margin: 0 0 12px;
}
.dmi-subheader .dmi-crumb a { color: var(--dmi-line); text-decoration: none; }
.dmi-subheader .dmi-crumb a:hover { color: #fff; }
.dmi-subheader h1 {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    margin: 0;
    padding: 0;
}
.dmi-subheader .dmi-subheader-sub {
    color: #eaf2f9;
    font-family: "Niveau Grotesk";
    font-size: 18px;
    line-height: 1.4;
    margin: 12px 0 0;
    max-width: 760px;
}

.dmi-plain-box {
    background: #fff;
    border: 2px solid var(--dmi-border-light);
    border-radius: 5px;
    padding: 33px 40px 30px;
    margin: 0 0 43px;
}

.dmi-plain-box .dmi-plain-box__titel,
.dmi-plain-box .dmi-inhalt :is(h1, h2) {
    margin: 0 0 20px;
}
.dmi-plain-box .dmi-inhalt h3 {
    font-size: 1.75rem;
    margin: 0 0 14px;
}

ol.fields,
.fields {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fields li.lr,
.fields li.er {
    margin: 0 0 18px;
}

.fields li label {
    display: block;
    font-weight: bold;
    color: #4d4d4d;
    margin: 0 0 6px;
    font-family: "Niveau Grotesk";
}

.fields li .kontakt_input,
.fields li select,
.fields li textarea.kontakt_input {
    width: 100%;
    border: 1px solid var(--dmi-border);
    border-radius: 5px;
    padding: 10px 13px;
    font-family: "Niveau Grotesk";
    font-size: 16px;
    color: #4d4d4d;
    height: 46px;
    background: #fff;
}

.fields li textarea.kontakt_input {
    height: 140px;
}

.fields li.validation-failed label {
    color: var(--dmi-red);
}
.fields li.validation-failed .kontakt_input,
.fields li.validation-failed select,
.fields li.validation-failed textarea.kontakt_input {
    border-color: var(--dmi-red);
    background-color: #fdf4f3;

    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.35);
}

.fields li.hint label {
    display: inline;
    font-weight: normal;
}

.dmi-inquiry-form .fields li label {
    color: #fff;
}

.dmi-inquiry-form .fields li.validation-failed label {
    color: #ff8a80;
}

.dmi-zitat-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dmi-zitat {
    background: #fff;
    border: 2px solid var(--dmi-border-light);
    border-radius: 5px;
    padding: 22px 26px 24px;
    margin: 0 0 22px;
}

.dmi-zitat:last-child { margin-bottom: 0; }

.dmi-zitat__zeichen {
    width: 34px;
    height: 27px;
    margin-bottom: 10px;
}

.dmi-zitat__titel {
    font-size: 1.375rem;
    line-height: 1.25;
    margin: 0 0 14px;
}

.dmi-zitat__text p { margin: 0 0 10px; }
.dmi-zitat__text p:last-child { margin-bottom: 0; }

.dmi-zitat__person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--dmi-border-light);
}

.dmi-zitat__foto {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.dmi-zitat__name {
    font-weight: 600;
    color: var(--dmi-text);
}

.dmi-zitat__rolle {
    display: block;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--dmi-text-muted);
}

.sidebar ul li a:hover {
    color: var(--dmi-accent);
}

.sidebar ul li a:before,
.sidebar ul li a:hover:before,
.sidebar ul li a.active:before {
    content: "";
    width: 8px;
    background: transparent;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -16px;
    transition: background 0.5s;
}

.sidebar ul li a:after,
.sidebar ul li a:hover:after,
.sidebar ul li a.active:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 11px solid transparent;
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    transition: border-left 0.5s;
}

.sidebar ul li a:hover:before,
.sidebar ul li a.active:before {
    background: var(--dmi-accent);
}

.sidebar ul li a:hover:after,
.sidebar ul li a.active:after {
    border-left-color: var(--dmi-accent);
}

a,
button {
    transition: all 0.3s ease;
}

.sidebar ul li a.active {
    color: var(--dmi-accent);
}

.dmi-city {
    margin: -15px 0 0;
    padding: 0 27px;
}

.dmi-city p {
    font-weight: 300;
    font-size: 19px;
    line-height: normal;
    margin: 0 0 16px;
}

.dmi-city select {
    background-image: url(../img/arrowb.png) !important;
    color: var(--dmi-blue);
    font-size: 18px;
    border: 1px solid var(--dmi-border-light) !important;
    height: 50px;
    margin: 0 0 40px;
    padding: 0 15px 0 15px;
    background-position: right 15px center !important;
}

.sidebar.pflege ul li {
    text-decoration: none;
    font-size: 1.25rem;
    color: #4d4d4d;
    line-height: normal;
    border-top: 1px solid #d5dae2;

    padding-top: 20px;
    padding-right: 3px;
    padding-bottom: 20px;
    margin: 0 16px;
    position: relative;
}

.sidebar.pflege ul li:first-child {
    border: none;
}

.sidebar.pflege ul li img {
    margin: 0 10px 0 0;
}

.sidebar.pflege {
    background: #fff;
    border-top: 3px solid var(--dmi-green);
}

.dmi-btn.dmi-seitenknopf {
    width: 227px;
    max-width: 100%;
    height: 61px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.sidebar.pflege .dmi-seitenknopf {
    margin: 15px auto 36px;
}

.sidebar.pflege > .dmi-pflegemarke {
    margin: 40px auto 20px;
}

.sidebar.weitere {
    border-color: #a1bdd7;
    background: var(--dmi-blue);
    border-left: none;
}

.sidebar.weitere .dmi-sidebar-head {
    margin: 30px 0 35px 20px;
}

.sidebar.weitere .dmi-sidebar-head .dmi-sidebar-titel {
    color: #fff;
}

.sidebar.weitere .dmi-sidebar-head .dmi-sidebar-titel:before { background: #fff; }

.sidebar.weitere img {
    width: 100%;
    margin: 0 0 30px;
}

.sidebar.weitere .dmi-weitere-text {
    color: #fff;
    padding: 0 0 0 28px;
    line-height: 1.75rem;
    font-size: 1.375rem;
    font-weight: 500;

    margin: 0;
}

.dmi-estatelist-content {
    padding: 0 0 0 28px;
}

.dmi-estatelist-content p {
    color: #fff;
    font-size: 19px;
    margin: 0;
    line-height: 28px;
    padding: 40px 0 0;
}

.sidebar.weitere .dmi-btn.dmi-seitenknopf {

    margin: 28px auto 40px;
    max-width: calc(100% - 56px);
}

.dmi-estate-list h1 {
    font-size: 2.375rem;
    line-height: 2.5rem;
    margin: 0;
    padding: 0;
    display: flex;
}

.dmi-estate-list .dmi-estate-filter {
    background: #e7eef4;
    padding: 10px 20px;
    margin: 25px 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1100px) {
    .dmi-estate-list .dmi-estate-filter {
        flex-wrap: wrap;
        gap: 8px 18px;
    }
}

.dmi-estate-list .dmi-estate-filter p {
    font-size: 18px;
    color: var(--dmi-blue);
    font-weight: 500;
    margin: 0;
    line-height: normal;
}

.dmi-filter-select {
    display: flex;
    align-items: center;
}

.dmi-filter-select label {
    font-size: 18px;
    color: #3d4042;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 15px 0 0;
}

.dmi-filter-select select {
    background-image: url(../img/icon7.png) !important;
    color: #45484b;
    font-size: 17px;
    border: 1px solid var(--dmi-border-light) !important;
    height: 42px;
    margin: 0 0 0;
    padding: 0 15px 0 15px;
    background-position: right 15px center !important;
    width: 210px;
}

.form-select:focus {
    box-shadow: none;
}

.dmi-estate-card {
    border: solid 2px var(--dmi-border);
    border-radius: 5px;
    margin: 0 0 45px;

    position: relative;
}

.dmi-estate-card__img img {
    width: 100%;
}

.dmi-estate-card__img {
    position: relative;
    margin: 10px;
}

.dmi-estate-card__img .dmi-kfw-chip {

    left: 0;
    background-image: url(../img/icon9.png);
    background-repeat: no-repeat;
    font-size: 1.125rem;
    font-weight: bold;
    color: #fff;
    padding: 6px 0 0 18px;
    margin: 0;
    position: absolute;
    top: 10px;
    width: 84px;
    height: 34px;
}

.dmi-card-badge {
    position: absolute;
    top: 10px;
    right: 0;
    display: inline-block;
    color: #fff;
    font-family: "Niveau Grotesk", 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    font-size: 15px;
    line-height: 1;
    border-radius: 3px 0 0 3px;
    z-index: 2;
}
.dmi-card-badge--sold {
    background: var(--dmi-red);
}
.dmi-card-badge--progress {
    background: var(--dmi-blue);
}
.dmi-card-badge--exclusive {
    background: var(--dmi-accent);
}

.dmi-estate-card__title {
    padding: 0 0 0 32px;
}

.dmi-estate-card__title a {
    font-size: 18px;
    font-weight: 300;
    color: var(--dmi-blue-dark);
    text-decoration: none;
    border-bottom: 1px solid;
    margin: 10px 0 18px;
    display: inline-block;
    line-height: 20px;
}

.dmi-estate-card__title :is(h2, h3) {
    font-size: 1.75rem;

    line-height: 1.25;
    min-height: 2.5em;
    margin: 0 0 30px;
    padding: 0;
}

.dmi-estate-card__content {
    background: #f7f7f7;
}

.dmi-estate-card__content ul {
    margin: 0;
    padding: 0 0 14px;
    list-style: none;
}

.dmi-estate-card__content li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--dmi-border);
    padding: 10px 30px 13px 10px;
    margin: 0 16px 0 23px;
    color: #4d4d4d;
    font-weight: 500;
}

.dmi-estate-card__content li:first-child {
    border-top: none;
}

.dmi-estate-card__content li > span:not(.dmi-lbl) {
    font-weight: 500;
}

.dmi-estate-card__content li span.dmi-wert-offen,
.dmi-hero-facts ul li span.dmi-wert-offen {
    font-weight: 400;
}

.dmi-estate-card__btn a {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 15px 15px 25px 0;
    color: var(--dmi-blue);
    text-decoration: none;
    font-weight: 500;
}

.dmi-estate-card--pflege {
    border-color: #cdddb5;

}

.dmi-estate-card__pflege-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;

    border-bottom: 2px solid #cdddb5;
    border-radius: 3px 3px 0 0;
    padding: 8px 14px;
}

.dmi-estate-card__pflege-tag {
    background: var(--dmi-green);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 3px;
    white-space: nowrap;
}

.dmi-estate-card--pflege .dmi-estate-card__title a {
    color: var(--dmi-green);
}

.dmi-estate-card--pflege .dmi-estate-card__btn a {
    color: var(--dmi-green);
}

.dmi-estate-card--pflege .dmi-estate-card__btn a::before {
    content: "";
    order: 1;

    width: 2em;
    height: 1em;
    flex: none;

    margin-left: 0.75em;
    background-color: currentColor;
    -webkit-mask: var(--dmi-form-pfeil) center / contain no-repeat;
    mask: var(--dmi-form-pfeil) center / contain no-repeat;
}

.main_content {
    padding: 0 0 100px;
}

ul.pagination {
    margin: 25px 0 0;
    justify-content: center;
}

.dmi-pager-pfeil {
    display: block;
    width: 10px;
    height: 15px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 15'%3E%3Cpath d='M2 2l5 5.5-5 5.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 15'%3E%3Cpath d='M2 2l5 5.5-5 5.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dmi-pager-pfeil--zurueck { transform: rotate(180deg); }

.pagination li a.page-link,
.pagination li span.page-link {

    border-radius: 5px;
    padding: 17px 20px;
    border-color: #9e9e9e;
    margin: 0 15px 0 0;
    font-size: 19px;
    font-weight: bold;
    color: #9e9e9e;
    line-height: 12px;
    height: 50px;
    display: flex;
    align-items: center;
    width: 50px;
    justify-content: center;
    background: transparent !important;
}

.pagination li a.page-link:hover {
    color: #3f3f3f !important;
    background-color: transparent;
}

.pagination li.active .page-link {

    color: #fff;
    background: var(--dmi-navy) !important;
}

.dmi-mobile-filter-bar {
    display: none;
}

li.nav-item.active {
    background: var(--dmi-accent);
}

.dmi-property-details .dmi-hero {
    background: url(../img/bannerbg2.png) no-repeat;
    background-size: 100% 100%;
}

.dmi-property-details .dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel) {
    font-size: 3.125rem;
    line-height: 2.625rem;
}

.dmi-property-details .dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel):before {
    top: 17px;
}

.dmi-property-details .dmi-hero-fakten {
    background: #f4f6f8;
    margin: 0 3px;
}

.dmi-property-details .dmi-cta-box {
    background: url(../img/probg.png) no-repeat;
    background-size: 100% 100%;
    width: 607px;
    height: auto;
    padding: 57px 20px 72px;
    z-index: 999;
    position: relative;
}

.dmi-property-details .dmi-cta-box__text ul {
    padding: 0;
    margin: 30px 0 12px 50px;
    list-style: none;
}

.dmi-property-details .dmi-cta-box__text ul li {

    line-height: 1.35;
    padding-bottom: 15px;
    font-weight: 500;
    color: #4f5256;
}

.dmi-property-details .dmi-hero-fakten ul {
    margin: 0;
    padding: 0 0 0px;
    list-style: none;
}

.dmi-property-details .dmi-hero-fakten li {
    padding: 12px 20px 10px 35px;
    margin: 0 10px 0 10px;
    line-height: 18px;
}

.dmi-property-details .dmi-hero-fakten li:first-child {
    padding: 20px 20px 10px 35px;
}

.dmi-property-details .dmi-hero-fakten li span {
    text-align: left;
    width: 195px;
}

.dmi-inquiry-col {
    padding: 37px 35px 40px 40px;
    display: flex;

    align-items: flex-start;
}

.dmi-inquiry-content {
    padding: 0 0 0 22px;
}

.dmi-inquiry-content .dmi-inquiry-titel {
    font-size: 1.75rem;
    line-height: 2rem;
    margin: 0 0 0 13px;
    padding: 0;
}

.dmi-inquiry-content p:where(:not(.dmi-titel)) {
    font-size: 1.125rem;
    color: #5d5b5b;
    margin: 18px 0 13px 13px;
}

.dmi-contact-badge {
    display: flex;
}

.dmi-contact-badge p {
    margin: 0;
    color: #4a4a4a;
    line-height: 18px;
    padding: 5px 0 15px;
}

.dmi-contact-badge a {
    font-size: 31px;
    font-weight: bold;
    margin: 0;
    color: var(--dmi-accent);
    line-height: 20px;
    text-decoration: none;
}

.dmi-contact-badge a:hover {
    color: var(--dmi-blue);
}

nav.breadcrumbs {
    background: #f5f6f6;
}

nav.breadcrumbs ol.breadcrumb {
    margin: 0 0 30px;
}

nav.breadcrumbs li.breadcrumb-item {
    line-height: 17px;
    padding-top: 17px;
    padding-bottom: 17px;
}

nav.breadcrumbs .breadcrumb-item+.breadcrumb-item::before {
    color: var(--dmi-blue);
}

.dmi-property-content p,
.dmi-location p {
    font-size: 17px;
    color: #8a8a8a;
    margin: 10px 0 0 30px;
    font-family: "Niveau Grotesk", 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.dmi-property-content {
    border-bottom: solid 1px #b9cde0;
    padding: 27px 0 19px 0;
}

.row.dmi-highlights {
    padding: 27px 0 0 0 !important;
}

.row.dmi-highlights li::before {
    content: ""; display: inline-block; width: 17px; height: 17px; margin-right: 12px;
    vertical-align: text-bottom;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17"><circle cx="8.5" cy="8.5" r="8.5" fill="%23127aa8"/><path d="M4.8 8.8 l2.4 2.4 L12.3 5.9" fill="none" stroke="white" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
}

.row.dmi-highlights li {
    font-size: 20px;
    font-family: "Niveau Grotesk" !important;
}

.row.dmi-highlights li {
    padding: 10px 0;
    font-size: 20px;
    font-family: "Niveau Grotesk" !important;
    align-items: center;
    font-weight: 500;
    color: #5d5b5b;
     white-space: normal; } .dmi-property-center {
    margin: 16px 0 0;
}

.form-error-summary {
    background: var(--dmi-red);
    color: #fff;
    padding: 11px 15px;
    border-radius: 4px;
    margin: 0 0 16px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}
.dmi-inquiry-form .dmi-formular-titel {
    font-size: 2.5rem;
    line-height: 2.5rem;
}

.dmi-inquiry-form {
    background: #002f6f !important;
    padding: 33px 40px 30px;
    border-radius: 5px;

    margin: -477px 0 0 40px;
    z-index: 9999;
    position: relative;
    float: right;
    width: 38%;
}

.dmi-inquiry-form.dmi-inquiry-form--relocated {
    margin: 40px 0;
    width: 100%;
    float: none;
}

.dmi-inquiry-form.dmi-inquiry-form--relocated .fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

ol.fields li.er {
    margin: 10px 0 15px 5px;
}

.dmi-inquiry-form.dmi-inquiry-form--relocated .fields li.er,
.dmi-inquiry-form.dmi-inquiry-form--relocated .fields li.hint,
.dmi-inquiry-form.dmi-inquiry-form--relocated .fields li:has(textarea) {
    grid-column: 1 / -1;
}

.dmi-inquiry-form .fields > li:has(#contact_salutation) {
    grid-column: 1 / -1;
}

.dmi-inquiry-form .fields > li:has(#contact_salutation) select {
    max-width: 200px;
}

@media (min-width: 1271px) {
    .dmi-inquiry-form:not(.dmi-inquiry-form--relocated) .fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 14px;
    }
    .dmi-inquiry-form:not(.dmi-inquiry-form--relocated) .fields li.er,
    .dmi-inquiry-form:not(.dmi-inquiry-form--relocated) .fields li.hint,
    .dmi-inquiry-form:not(.dmi-inquiry-form--relocated) .fields li:has(textarea) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) {
    #contact-form .fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 24px;
    }
    #contact-form .fields li.er,
    #contact-form .fields li.hint,
    #contact-form .fields li:has(textarea) {
        grid-column: 1 / -1;
    }
}

.dmi-inquiry-form form select {

    padding: 10px 13px;
    background: #fff;
    font-family: "Niveau Grotesk" !important;
    font-size: 16px;
    color: #4d4d4d;
    height: 46px;
}

.dmi-inquiry-form form input {
    padding: 0 0px 0 13px;
    background: #fff;
    font-family: "Niveau Grotesk" !important;
    font-size: 17px;
}

.dmi-inquiry-form form input::placeholder {
    color: #7f7f7f;
}

.dmi-inquiry-form form textarea {
    color: #7f7f7f;
    min-width: 110px !important;
    background: #fff;
    font-family: "Niveau Grotesk" !important;
    font-size: 17px;
    height: 110px;
}

.dmi-inquiry-form input#gridCheck {
    height: 17px;
}

.dmi-inquiry-form .form-check {
    align-items: inherit;
}

.dmi-inquiry-form form .form-check label {
    color: #fff;
    font-size: 15px;
    line-height: 22px;
    font-family: "Niveau Grotesk" !important;
    font-weight: lighter;
    display: inline;
}

.dmi-inquiry-form form .form-check a {
    color: var(--dmi-accent);
    font-size: 15px !important;
    text-decoration: none;
    font-family: "Niveau Grotesk" !important;
    line-height: 22px;
    font-weight: bold;
}

.dmi-inquiry-form form button {
    background: var(--dmi-accent) !important;
    color: #fff !important;
    font-size: 17px;
    font-family: "Niveau Grotesk" !important;
    font-weight: bold;
    width: 100%;
    height: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dmi-inquiry-form form button:hover {
    background: var(--dmi-blue) !important;
}

.dmi-inquiry-form form {
    margin-top: 10px;
}

.dmi-property-center :is(p, ul, ol, li),
.dmi-property-intro :is(p, ul, ol, li),
.dmi-location-text :is(p, ul, ol, li) {
    font-family: "Niveau Grotesk";
    font-size: 19px;
    font-weight: 400;
    line-height: 32px;
    color: #5d5b5b;
}

.dmi-property-center :is(p, ul, ol),
.dmi-property-intro :is(p, ul, ol),
.dmi-location-text :is(p, ul, ol) {
    margin: 0 0 28px;
}

.dmi-property-center :is(ul, ol),
.dmi-property-intro :is(ul, ol),
.dmi-location-text :is(ul, ol) {
    padding-left: 24px;
}

.dmi-property-center li,
.dmi-property-intro li,
.dmi-location-text li {
    margin-bottom: 6px;
}

.dmi-property-center p:first-child {
    font-size: 22px !important;
    line-height: 27px !important;
    font-weight: 500;
    margin-bottom: 40px;
    color: #323030;
    font-family: "Niveau Grotesk" !important;
}

.dmi-property-center p:last-child {
    margin-bottom: 35px;
}

.dmi-energy {
    background: #f7f7f7;
    border: solid 1px var(--dmi-border-soft);
    border-radius: 5px;
    padding: 25px 35px;
}

.dmi-property-slide {
    width: 98%;
    margin: 0 auto;
}

.dmi-property-slide .col-lg-12.dmi-brochure-link {
    margin: 0 0 0 -13px;
}

.dmi-energy h2,
.dmi-energy h3 {
    font-size: 1.875rem;
    margin-bottom: 18px;
}

.dmi-energy p {
    font-size: 18px;
    font-weight: 400;
    color: var(--dmi-text);
    margin-bottom: 7px;
}

.dmi-property-slider .card_img_owl {
    padding: 0px !important;
}

.dmi-property-slider .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: none !important;
    border-radius: .25rem;
    margin-left: 1px;
    transition: 0.3s;
}

.dmi-property-slider .card:hover {
    box-shadow: none !important;
}

.dmi-property-slider .owl-nav {
    position: absolute;
    top: 34%;
    width: 100% !important;
}

.dmi-property-slider span.prev::before {
    content: "";
    background: url(../img/right_img.png);
    height: 55px;
    width: 65px;
    position: relative;
    display: block;
}

.dmi-property-slider span.next::before {
    content: "";
    background: url(../img/left_img.png);
    height: 55px;
    width: 65px;
    position: relative;
    display: block;
}

.dmi-property-slider button.owl-next {
    float: right;
}

.dmi-property-slider button.owl-next {
    margin-right: -39px;
}

.dmi-property-slider button.owl-prev {
    float: left;
}

.dmi-property-slider button.owl-prev {
    margin-left: -28px;
}

.dmi-property-slider {
    margin-top: 65px;
}

.dmi-brochure-link p {
    font-size: 18px;
    color: #262626;
    font-family: "Niveau Grotesk";
    font-weight: normal;
}

.dmi-brochure-link a {
    color: var(--dmi-blue);
    font-family: "Niveau Grotesk";
    text-decoration: none;
    position: relative;
    margin: 0 0 0 3px;
}

.dmi-brochure-link a:after {
    content: "";
    display: block;
    width: 98%;
    height: 1px;
    background: #99aec8;
    position: absolute;
    right: 0;
    bottom: -1px;
}

.dmi-property-slider .owl-dots {
    display: none !important;
}

.dmi-property-slider .owl-stage-outer {
    padding-bottom: 25px !important;
}

.dmi-property-content-section .col-12 {
    margin-top: 14px !important;
    padding: 0;
}

section.dmi-property-intro-section {
    padding: 49px 0 40px 0;
}

.dmi-units p {
    font-size: 30px;
    margin: 55px 0 0px 0;
    line-height: 26px;
}

.dmi-units {
    border-bottom: solid 1px #b9cde0;
    padding: 0 0 19px 0;
}

section.dmi-units-section {
    padding: 96px 0 0 0;
}

thead.dmi-units-thead {
    background: var(--dmi-blue);
}

.dmi-units-thead th {
    font-size: 22px;
    font-weight: 500;
    align-items: center;
    padding: 13px 8px;

    line-height: 1.25;
    color: #fff;
    border: none;
    text-align: center;
    white-space: nowrap;
}

#steuervorteil,

#dmi-inquiry-form {
    scroll-margin-top: 155px;
}

.dmi-units-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border: none;
}

table.table {
    margin: 0;
}

.dmi-units-thead th img {
    display: block;
    margin: 0 auto 4px;
}

.dmi-floorplan-image img {
    width: 100%;
}

.list-unstyled .accordion-button {
    position: relative;
    display: flex;
    width: 0% !imporatant;
    padding: 0rem 0rem !important;
    font-size: 1rem;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 0% !important;
    right: 21px !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url(../img/acc_icon.png) !important;
    transform: rotate(0deg) !important;
}

.accordion-button::after {
    background-image: url(../img/acc_icon.png) !important;
    transform: rotate(90deg) !important;
}

.dmi-gallery-inner {
    border-bottom: solid 1px #b9cde0;
    padding: 27px 0 19px 0;
}

.dmi-gallery {
    padding: 175px 0 119px 0;
}

.dmi-double-bg {
    background-image: url(../img/double_bg.png);
    background-size: 100% 100%;
}

.dmi-double-bg h2,
.dmi-double-bg .dmi-kachel-titel {

}

.dmi-pdf-link a {

    min-width: min(227px, 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.dmi-pdf-link a img {
    margin-left: 12px;
    height: 24px;
    width: auto;
}

.dmi-pdf-link {
    padding: 0 0 0 15px;
    display: flex;
    align-items: center;
}
.dmi-double-bg .row { align-items: center; }

.dmi-pdf-download {
    padding-left: 61px;
}

.dmi-double-bg {
    background-image: url(../img/double_bg.png);
    background-size: 100% 100%;
    padding: 62px 0 62px 0;
}

.dmi-double-bg.dmi-single-bg {
    background-image: none;
    background-color: #ECF5F8;
}

.dmi-location {
    border-bottom: solid 1px #b9cde0;
    padding: 27px 0 19px 0;
}

.dmi-property-center.dmi-inhalt :is(h1, h2, h3),
.dmi-property-intro.dmi-inhalt :is(h1, h2, h3),
.dmi-location-text.dmi-inhalt :is(h1, h2, h3) {
    margin: 44px 0 18px;
}

.dmi-location-text p:last-child {
    margin-bottom: 0;
}

.dmi-map-section .container-fluid {
    padding: 0px !imporatant;
}

.dmi-map-section .container-fluid {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

section.dmi-location-section {
    padding: 87px 0 25px 0;
}

.dmi-map-consent {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    background: #eef1f4 repeating-linear-gradient(45deg, rgba(0,47,111,0.03) 0 12px, transparent 12px 24px);
    border: 1px solid #d7dde3;
    color: #33475b;
}
.dmi-map-consent--loaded {
    display: block;
    min-height: 0;
    padding: 0;
    background: none;
    border: 0;
}
.dmi-map-consent__inner {
    max-width: 520px;
}
.dmi-map-consent__title {
    margin: 0 0 10px;
    font-size: 1.375rem;
    color: #002f6f;
}
.dmi-map-consent__text {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.5;
}
.dmi-map-consent__remember {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #667;
    cursor: pointer;
}
.dmi-map-consent__remember input {
    margin-right: 6px;
    vertical-align: middle;
}

.dmi-related-offers {
    padding: 121px 0 0 0;
}

.dmi-related-karten {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    #weitere-angebote .dmi-estate-card__content li {
        margin: 0 10px;
        padding: 10px 8px 13px 4px;
    }
    #weitere-angebote .dmi-estate-card__btn a {
        margin-right: 10px;
        font-size: 18px;
    }
}

.dmi-related-offers-inner {
    margin-bottom: 44px;
}

.dmi-gallery .dmi-gallery-inner {
    margin-bottom: 59px;
}

@media (max-width: 1460px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1280px;
    }

    .dmi-header-bottom a {
        font-size: 18px;
    }

    .dmi-hero-facts ul li:first-child {
        padding: 0 15px 0 0;
    }

    .dmi-hero-facts ul li {
        font-size: 23px;
        padding: 0 15px 0;
    }

    .sidebar.pflege ul li {
        font-size: 1.125rem;
    }
.dmi-inquiry-form .dmi-formular-titel {
        font-size: 2.3125rem;
    }
}

@media (max-width: 1424px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1200px;
    }

    .dmi-header-bottom a {
        font-size: 16px;
    }

    .dmi-footer-offers li { font-size: 15px; }

    .dmi-hero-facts ul li:first-child {
        padding: 0 10px 0 0;
    }

    .dmi-hero-facts ul li {
        font-size: 22px;
        padding: 0 10px 0;
    }

    .dmi-hero-facts ul li span {
        padding: 0 0 0 10px;
    }

    .dmi-sidebar-head .dmi-sidebar-titel {
        font-size: 1.25rem;
        line-height: 1.875rem;
    }
    .sidebar.pflege ul li {
        font-size: 1.0625rem;
    }

    .dmi-estate-card__title :is(h2, h3) {
        font-size: 1.5rem;
    }

    .sidebar.weitere .dmi-btn.dmi-seitenknopf {
        padding: 20px 20px;
    }
.dmi-inquiry-form .dmi-formular-titel {
        font-size: 2.125rem;
    }
}

@media (max-width: 1345px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1170px;
    }

    .dmi-header-bottom li:first-child {
        padding: 20px 20px 23px 0;
    }

    .dmi-hero-facts ul li {
        font-size: 21px;
    }

    .dmi-hero-facts ul li span {
        padding: 0 0 0 7px;
    }

    .sidebar.pflege > .dmi-pflegemarke { font-size: 14px; }

    .sidebar.pflege ul li img {
        width: auto;
    }

    .dmi-testimonials-widget .owl-nav {
        position: unset;
        margin: 25px 0 0;
    }

    .dmi-testimonials-widget .owl-nav button.owl-prev {
        margin-left: -25px;
    }

    .dmi-testimonials-widget .owl-nav button.owl-next {
        margin-right: -25px;
    }

    .dmi-estatelist-content p {
        font-size: 17px;
    }
}

@media (max-width: 1160px) {

    body .dmi-header-bottom li {
        padding: 0 20px 0 22px !important;
    }

}

@media (max-width: 1200px) {

    .dmi-testimonials-widget .owl-nav {
        position: unset !important;
        top: 0;
        text-align: center;
        margin: 0 auto;
        width: 150px !important;
        margin-top: 25px;
        display: flow-root;
    }

    .dmi-testimonials-widget .owl-nav button.owl-prev {
        margin-left: 0;
        float: left;
    }

    .dmi-testimonials-widget .owl-nav button.owl-next {
        float: right;
        margin-right: 0;
    }

    .dmi-property-slide .alle {
        margin-top: 70px;
    }

    .dmi-testimonials-first .dmi-testimonials-outer .dmi-zitat-titel {
        font-size: 1.4375rem !important;
    }

}

@media (max-width: 1024px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 100%;
    }

    }
@media (min-width: 768px) and (max-width: 1024px) {
    .sidebar ul {
        margin-top: -20px !important;
    }

    .dmi-sidebar-head .dmi-sidebar-titel img {
        margin-left: 14% !important;
    }

    body .dmi-header-bottom li {
        padding: 0 18px 0 10px !important;
    }

    .dmi-consult-box p {
        font-size: 14px;
    }

    .dmi-consult-box .dmi-consult-phone {
        font-size: 24px !important;
        margin: 6px 0 0;
    }

    header .dmi-header-inquiry {
        padding-top: 10px;
    }

    .dmi-header-inquiry button {
        width: 145px;
        font-size: 14px;
    }

    .dmi-header-bottom li:first-child {
        padding: 20px 10px 23px 0;
    }

    .dmi-header-bottom li:last-child {
        padding: 20px 10px 23px 10px;
    }

    .dmi-hero-facts ul {
        justify-content: center;
    }

    .dmi-hero-facts {

        margin: 0;
    }

    .dmi-estate-list h1 {
        font-size: 1.5rem;
    }

    .dmi-sidebar-head .dmi-sidebar-titel {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    .dmi-estate-list .dmi-estate-filter p {
        font-size: 16px;
    }

    .dmi-filter-select label {
        font-size: 16px;
    }

    .dmi-sidebar-head {
        margin: 20px 0 20px 20px;
    }

    .sidebar ul li a {
        font-size: 16px;
        padding: 14px 14px;
        margin: 0 10px;
    }

    .sidebar ul li a:hover:before,
    .sidebar ul li a.active:before {
        height: 47px;
        left: -10px;
    }

    .sidebar ul li a:hover:after,
    .sidebar ul li a.active:after {
        left: -4px;
        top: 14px;
    }

    .dmi-city {
        margin: 0px 0 0;
        padding: 0 20px;
    }

    .dmi-city p {
        font-size: 15px;
    }

    .sidebar.pflege > .dmi-pflegemarke { font-size: 11px; margin-top: 20px; }
    .dmi-estate-card--pflege .dmi-estate-card__btn a { font-size: 15px; }

    .sidebar.pflege ul li {
        font-size: 0.875rem;
        padding-top: 14px;
        padding-right: 3px;
        padding-bottom: 14px;
        margin: 0 10px;
    }

    .sidebar.pflege .dmi-btn.dmi-seitenknopf {
        padding: 13px 0;
        width: 90%;
        text-align: center;
        font-size: 14px;
    }

    .sidebar.weitere .dmi-sidebar-head {
        margin: 20px 0 20px 10px;
    }
    .sidebar {
        margin: 0 0 30px;
    }

    .sidebar.weitere .dmi-weitere-text {
        padding: 0 15px;
        line-height: 1.25rem;
        font-size: 1rem;
        margin: 0;
    }

    .dmi-estatelist-content {
        padding: 0 15px;
    }

    .dmi-estatelist-content p {
        font-size: 14px;
        line-height: 20px;
        padding: 20px 0 0;
    }

    .sidebar.weitere .dmi-btn.dmi-seitenknopf {
        padding: 20px 0px;
        margin: 20px auto 20px;
        width: 87%;
        font-size: 14px;
        text-align: center;
    }

    .dmi-estate-card__title :is(h2, h3) {
        font-size: 1rem;
    }

.dmi-inquiry-form .dmi-formular-titel {
        font-size: 28px;
        line-height: 33px;
    }
    .row.dmi-highlights li {
        font-size: 14px;
    }

    .col-md-6.dmi-pdf-download .col-md-7 {
        width: auto;
    }

    .col-md-6.dmi-pdf-download .col-md-5.dmi-pdf-link {
        width: auto;
    }

    .col-md-6.dmi-pdf-download-mobile .col-md-6 {
        width: auto;
    }

    .dmi-property-slider button.owl-prev {
        margin-left: -10px;
    }

    .dmi-property-slider button.owl-next {
        margin-right: -20px;
    }

    .dmi-property-slide .dmi-testimonials-list p {
        font-size: 14px;
    }

}

@media (max-width: 1000px) {

    .dmi-property-details .dmi-cta-box {
        width: 487px;
        height: auto;
        padding: 57px 15px 72px;
        background-size: 100% 100%;
    }

    .dmi-inquiry-form {
        margin: -357px 0 0;
        padding: 24px 15px 30px;
    }

    .dmi-property-details .dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel) {
        font-size: 1.875rem;

        line-height: 2.125rem;
        padding: 0 0 0 30px;
    }

    .dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel):before {
        width: 15px;
    }

    .dmi-property-details .dmi-cta-box__text ul {
        margin: 30px 0 12px 30px;
    }

    .dmi-property-details .dmi-hero-fakten li:first-child {
        padding: 15px 20px 10px 20px;
    }

    .dmi-property-details .dmi-hero-fakten li {
        padding: 12px 20px 10px 20px;
    }

    .dmi-inquiry-col {
        padding: 37px 35px 40px 30px;
    }

    .dmi-inquiry-content .dmi-inquiry-titel {
        font-size: 1.125rem;
        line-height: 1.5rem;
        margin: 0 0 0 0;
        padding: 0;
    }

    .dmi-inquiry-content p {
        font-size: 0.875rem;
        margin: 18px 0 13px 0;
    }

    .dmi-contact-badge {
        display: flex;
        align-items: center;
    }

    .dmi-contact-badge img {
        width: 60px;
        margin: 0 0 0 -12px;
    }

    .dmi-contact-badge p {
        margin: 0;
        padding: 0;
    }

    .dmi-contact-badge a {
        font-size: 22px;
    }

    .dmi-property-slider button.owl-next {
        margin-right: 0px;
    }

    .dmi-property-slider button.owl-prev {
        margin-left: 0;
    }

    .dmi-property-slider span.next::before {
        width: 55px;
    }

    .dmi-property-slide .col-lg-12.dmi-brochure-link {
        margin: 0 0 0 0;
    }

    .dmi-gallery {
        padding: 70px 0 70px 0;
    }

}

@media (max-width: 991px) {
    li.nav-item.dmi-nav-fragen a {

    text-align: left !important;
}
    .dmi-responsive-logo {
        display: block;
    }

    #stickymenu .dmi-responsive-logo {
        margin-left: 15px;
    }

    .dmi-header-top {
        display: none;
    }

    .dmi-header-bottom {
        background: #fff;
        margin: 0 0 0;
    }

    .dmi-mobile-header-top {
        background: var(--dmi-blue-dark);
        text-align: center;
        padding: 2px 0;
        display: block;
    }

    .dmi-mobile-header-top p {
        color: #fff;
        font-weight: 500;
        margin: 0;
    }

    .dmi-mobile-header-top span {
        color: #fff;
        font-weight: bold;
        margin: 0;
    }

    .dmi-mobile-header-top span a {
        text-decoration: none;
    }

    .navbar-light .navbar-toggler-icon {
        background-image: url(../img/menu-close.png);
       border: 2px solid #0e4d83;
       border-radius: 50%;
       padding: 19px 19px;

       background-size: 28px;

       line-height: 17px;
       font-weight: normal!important;

    }
    button.navbar-toggler.collapsed .navbar-toggler-icon{
        border:0!important;
    }

    .navbar-light .navbar-toggler.collapsed .navbar-toggler-icon {
        background-image: url(../img/menu.png);
    }

    .navbar-light .navbar-toggler {
        color: inherit;
        border: none;
        padding: 0;
    }

    .navbar-toggler:focus {
        box-shadow: none !important
    }

    .navbar ul {
        margin-bottom: 0px !important;
    }

    .navbar-collapse {
        top: 108px;
    }

    .navbar-light .navbar-nav .nav-link {
        color: #434343!important;
        border: none !important;
    }

    .dmi-header-bottom li {
        border: none;
        border-bottom: 1px solid rgba(68, 197, 248,0.4)!important;
    }

    .dmi-header-bottom li:first-child {
        border: none;
        border-bottom: 1px solid rgba(68, 197, 248,0.4)!important;
    }

    .dmi-header-bottom li:first-child {
        padding: 15px 10px 15px 10px;
    }

    nav.navbar.navbar-expand-lg.navbar-light {
        padding: 12px 0 6px 0 !important;
    }

    .carousel-item {
        height: 740px;
    }

    .carousel-item img.d-block.w-100 {
        width: auto !important;
    }

    .overlay-content .navbar-nav, .navbar-expand-lg.navbar-light .show ul, .navbar-expand-lg.navbar-light ul{
        background: var(--dmi-blue-dark)!important;
        padding-bottom: 154px;

    }

    .overlay-content .navbar-nav li, .navbar-expand-lg.navbar-light .show ul li, .navbar-expand-lg.navbar-light li.nav-item{
        padding: 10px 0 10px 20px!important;
        white-space: nowrap;
    }
    .overlay-content .navbar-nav li a.nav-link, .navbar-expand-lg.navbar-light .show ul li a, .navbar-expand-lg.navbar-light li.nav-item a{
        padding: 6px 0 6px 15px !important;
         color: #fff!important;
         border-left: 5px solid transparent!important;

    }

    .overlay-content .navbar-nav li:hover, .navbar-expand-lg.navbar-light .show ul li:hover, .navbar-expand-lg.navbar-light li.nav-item:hover{
       background: transparent!important;
   }
     .overlay-content .navbar-nav li.active, .navbar-expand-lg.navbar-light .show ul li.active, .navbar-expand-lg.navbar-light li.nav-item.active{
        background: var(--dmi-blue-dark)!important;
     }
    .overlay-content .navbar-nav li.active a.nav-link, .navbar-expand-lg.navbar-light .show ul li.active a, .navbar-expand-lg.navbar-light li.nav-item.active a{

        border-left: 5px solid var(--dmi-accent)!important;
        color: var(--dmi-accent)!important;
    }

	.dmi-phone-nav-tab {
		justify-content: space-between;
	}
   nav.navbar.navbar-expand-lg.navbar-light.sticky .dmi-phone-nav-tab {
    padding: 9px 0px 9px 15px!important;
    }

    .dmi-property-slide {
        width: 100%;
    }

    .dmi-testimonials-first {
        width: 100%;
    }

    .aktuelles {
        width: 100%;
    }

    .owl-dots {
        display: none;
    }

    .dmi-property-slide .alle {
        margin-top: 45px;
    }

    .dmi-testimonials-widget .owl-nav {
        margin-top: 40px !important;
    }

    .dmi-testimonials-widget .owl-nav {
        position: unset;
        top: 0;
        width: 100% !important;
        margin: 0;
        text-align: center;
    }

    .dmi-testimonials-widget .owl-nav button.owl-next {
        margin-right: 0;
        margin-left: 26px;
        float: none;
    }

    .dmi-testimonials-widget .owl-nav button.owl-prev {
        float: none;
        margin-left: 0;
    }

    .dmi-testimonials-heading h2 {
        font-size: 1.5rem;
        ;
        line-height: 1.5rem;
    }

    .dmi-testimonials-header .alle a {
        margin: 30px auto 0;
    }

    .dmi-testimonials-header .dmi-testimonials-heading {
        margin-bottom: 40px;
    }

    .erfahren {
        padding: 50px 0;
        background: #f6f7f9;
    }

    .denkmal {
        padding: 50px 0;
    }

    footer {
        padding-top: 40px;

        padding-bottom: 0;
    }

}

@media (max-width: 978px) {
    .dmi-sidebar-head .dmi-sidebar-titel br {
        display: none;
    }

    .dmi-sidebar-head {
        margin: 20px 0 5px 10px;
    }

    .dmi-estate-card__content li {
        text-align: end;
    }
}

@media (max-width: 835px) {

    .hero-static-box {
        display: none;
    }

    .dmi-hero-facts {
        margin: 0 0 0 0;
    }

    .dmi-hero-facts .dmi-hero-facts-titel {
        padding: 0 0 0 0;
        text-align: center;
    }

    ol.breadcrumb {
        margin: 30px 0 30px;
    }

    .dmi-estate-list h1 {
        font-size: 1.25rem;
    }

    .dmi-sidebar-head {
        width: 95%;
        margin: 10px auto 0;
    }

    .sidebar ul li a {
        font-size: 14px;
        padding: 14px 8px;
        margin: 0 10px;
    }

    .dmi-city {
        margin: 0px 0 0;
        padding: 0 5px;
    }

    .dmi-city p {
        font-size: 14px;
        margin: 15px 0;
    }

    .dmi-city select {
        font-size: 14px;
        margin: 0 0 20px;
    }

    .sidebar.weitere .dmi-weitere-text {
        font-size: 0.875rem;
    }

    .sidebar.weitere .dmi-weitere-text br {
        display: none;
    }

    .dmi-estatelist-content p br {
        display: none;
    }

    .sidebar.weitere .dmi-btn.dmi-seitenknopf {
        padding: 15px 10px;
    }

    .dmi-estate-card__title {
        padding: 0 0 0 10px;
    }

    .dmi-estate-card__content li {
        margin: 0 10px 0 10px;
    }

    .dmi-sidebar-head .dmi-sidebar-titel img {
        display: block;
        width: 55px;
    }

    .pagination li a.page-link,
    .pagination li span.page-link {
        padding: 14px 15px;
        font-size: 14px;
    }

    .dmi-property-details .dmi-cta-box {
        width: 457px;
    }

    .dmi-contact-badge a {
        font-size: 18px;
    }

}

@media (max-width: 990px) {
    .sticky .container {
        padding: 0;
    }

    .sticky.navbar.navbar-expand-lg.navbar-light {
        width: 100%;
        position: fixed;
        top: 0;
        z-index: 999999999;
        background: #ffff;
        box-shadow: 0 0 10px;
        left: 0;
    }

    .sticky.navbar-light .navbar-toggler {
        padding: 0 0px 0 0;
    }

    .navbar-toggler {
        margin-right: 15px;
    }

    header .container {
        padding: 0;
    }

}

@media (max-width: 767px) {

  .dmi-afa .dmi-afa-note,
  .dmi-afa .dmi-afa-reveal,
  .dmi-afa .dmi-afa-schedule { display: none; }
  .dmi-afa .dmi-afa-phasen   { display: flex; gap: 10px; margin: 0 0 1.75rem;
			  border-top: 1px solid rgba(255,255,255,.2); }
  .dmi-afa-claim { font-size: 1.3125rem; }

  .dmi-related-karten { display: block; }
}

@media (max-width: 767px) {

    ol.breadcrumb {
        display: none;
    }

    .dmi-hero-facts ul li:last-child {
        padding: 0 0 0 8px;
    }
    .main_content {
        padding: 0 0 0px;
    }

    .dmi-sidebar-head .dmi-sidebar-titel {
        font-size: 1.25rem;
    }

    .content_section .col-md-3 {
        order: 2;
    }

    .dmi-mobile-filter-bar {
        display: block;
        margin: 30px 0 0;
    }
    .content_section .sidebar:nth-child(1) {
        display: none;
    }

    .content_section .sidebar:nth-child(2) {
        display: none;
    }

    .dmi-mobile-filter-bar .sidebar {
        display: block !important;
    }

    .dmi-estatelist-content p {
        padding: 10px 0 0;
    }

    ul.pagination {
        display: flex;
        flex-wrap: wrap;
        row-gap: 10px;

        margin-bottom: 45px;
    }

    .pagination li a.page-link,
    .pagination li span.page-link {

        width: 44px;
        height: 44px;
        padding: 14px 16px;
        margin: 0 5px 0 0;
    }

    .dmi-hero-facts .dmi-hero-facts-titel {
        padding: 0 0 0 0;
        text-align: left;
        font-size: 1.125rem;
        line-height: 1rem;
    }

    .dmi-hero-facts ul {
        display: block;
    }

    .dmi-hero-facts ul li {
        font-size: 18px;
        display: inline-block;
    }

    .dmi-hero-facts ul {
        margin: 10px 0 0 0;
    }

    .dmi-hero-facts {
        margin: 0 0 0 0;
        background-size: 100% 100%;
        padding: 15px 0;
    }

    .dmi-inquiry-form {
        margin: 30px 0 0;
        padding: 24px 15px 30px;
    }
    .dmi-inquiry-col.dmi-inquiry-col--desktop {
        display: none;
    }

    .dmi-property-details .dmi-cta-box {
        height: auto;
    }

    .dmi-property-details .dmi-hero {

        padding: 120px 0 170px;
    }

    .dmi-inquiry-content .dmi-inquiry-titel {
        font-size: 1.75rem;
        line-height: 2rem;
    }

    .dmi-inquiry-content p {
        font-size: 1.125rem;
        margin: 10px 0 10px 0;
    }

    .dmi-contact-badge img {
        width: auto;
    }

    .dmi-contact-badge {
        align-items: end;
    }

    .dmi-property-content-section .col-12 {
        padding: 0;
    }

    .dmi-inquiry-form {
        margin: 10px 0 0;
        padding: 24px 40px 70px;
    }
.dmi-inquiry-form .dmi-formular-titel {
        padding: 10px 0 30px;
    }

    .dmi-inquiry-form form button {
        width: 100%;
    }

    .dmi-property-slider .dmi-property-slide {
        width: 75%;
        margin: 0 auto;
    }

    .dmi-property-slider button.owl-prev {
        margin-left: -60px;
    }

    .dmi-property-slider button.owl-next {
        margin-right: -60px;
    }

    .dmi-brochure-link p {
        text-align: center;
    }

    section.dmi-property-intro-section {
        padding: 20px 0 20px 0;
    }

    .list-unstyled {
        margin: 0;
    }

    .dmi-property-center p:first-child {
        margin-bottom: 20px;
    }

    .dmi-property-center p {
        margin-bottom: 20px;
    }

    .dmi-energy {
        padding: 20px 25px;
    }

    .dmi-property-slider {
        margin-top: 40px;
    }

    .dmi-property-intro p {
        margin-bottom: 20px;
    }

    .align-items-center {
        justify-content: center;
    }

    .col-md-7.dmi-floorplan-image {
        order: 2;
        padding: 0;
    }

    .dmi-double-bg {
        background-image: none;
        padding: 0px 0 0 0;
    }

    .col-md-6.dmi-pdf-download-mobile .col-md-6 {
        width: 50%;
    }

    .col-md-6.dmi-pdf-download .col-md-7 {
        width: 50%;
    }

    .col-md-6.dmi-pdf-download-mobile {
        background: #ecf5f8;
        padding: 20px 15px 30px;
    }

    .col-md-6.dmi-pdf-download {
        background: #ecf5f8;
        padding: 20px 15px 30px;
        margin: 3px 0 0;
    }

    .col-md-6.dmi-pdf-download .col-md-5.dmi-pdf-link {
        width: 50%;
    }

    .dmi-gallery {
        padding: 0 0 0 0;
    }

    .dmi-gallery .dmi-gallery-inner {
        margin-bottom: 0;
        padding: 30px 0 30px 0;
    }

    section.dmi-location-section {
        padding: 0 0 0px 0;
    }

    .dmi-property-center.dmi-inhalt :is(h1, h2, h3),
    .dmi-property-intro.dmi-inhalt :is(h1, h2, h3),
    .dmi-location-text.dmi-inhalt :is(h1, h2, h3) {
        margin: 26px 0 14px;
    }

    .dmi-units p {
        margin: 30px 0 -20px 0;
        font-size: 20px;
    }

    section.dmi-units-section {
        padding: 50px 0 0 0;
    }

    .dmi-property-content p {
        margin: 30px 0 0px 0;
    }

    .dmi-related-offers {
        padding: 50px 0 80px 0;
    }

    .dmi-property-details .dmi-kfw-slide img {
        width: 40%;
    }

    .dmi-gallery-inner h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .dmi-location h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .dmi-units {
        padding: 0 0 30px 0;
    }

    .dmi-location {
        padding: 30px 0 30px 0;
    }

    .dmi-property-content h2 {
        font-size: 1.625rem;
        line-height: 1.875rem;
    }

    .dmi-related-offers-inner h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .dmi-location p {
        font-size: 20px;
        margin: 30px 0 -20px 0;
    }

}

@media (max-width: 600px) {

    .hero-carousel,
    .hero-carousel__item {
        height: 520px;
    }

    .dmi-cta-box {
        width: 90%;
        background-size: 100% 100%;
        height: auto;
        padding-bottom: 40px;
        padding-left: 18px;
    }

    .dmi-property-details .dmi-cta-box {
        width: 90%;
        background-size: 100% 100%;
    }

    .dmi-estate-list h1 {
        line-height: 1.625rem;
    }
}

@media (max-width: 560px) {
    .dmi-property-details .dmi-cta-box {
        height: auto;
        padding-bottom: 40px;
        padding-left: 18px;
    }

    .dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel) {
        padding: 0 0 0 20px;
    }

    .dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel) br {
        display: none;
    }

    .dmi-estate-card {
        margin: 0 0 25px;
    }

    .dmi-cta-box__text :is(h1, h2, .dmi-cta-box__titel):before {
        top: 10px;
        left: -2px;
    }

    .dmi-cta-box__text p {
        padding: 0 10px 0 20px;
        margin: 10px 0 0;
    }

    .dmi-cta-box__text p br {
        display: none;
    }

    .dmi-cta-box__phone img {
        margin: 0 20px 0 -2px;
    }

    .dmi-cta-box__phone {
        font-size: 24px;
    }

    .dmi-cta-box__text a {
        display: block;
        margin: 20px auto 0;
        text-align: center;
        width: 86%;
        padding: 18px 0;
    }

    .dmi-cta-box__text p a {
        display: initial;
    }

    .dmi-cta-box__text img.dmi-kfw-badge {
        position: unset;
        left: 0;
        top: 0;
        text-align: right;
        display: block;
        margin: 20px 10px 0 auto;
    }

    .dmi-estate-list .dmi-estate-filter p {
        margin: 0 0 10px;
    }

    .dmi-filter-select select {
        width: 100%;
    }

    .dmi-sticky-actions ul li a {
        padding: 10px 10px;
    }

    .dmi-units h2 {
        font-size: 2.125rem;
    }

}

@media (max-width: 767px) {

    .dmi-inquiry-form .fields li.er {
        margin: 2px 0 0;
    }

    .dmi-inquiry-form .fields li.er .dmi-btn {
        display: block;
        width: 100%;
        padding: 15px 10px;

        text-align: center;
        font-size: 1rem;
    }

    .dmi-inquiry-form .fields li.hint input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 520px) {

    .dmi-inquiry-form {
        padding: 22px 18px 26px;
    }
}

@media (max-width: 480px) {

    .dmi-inquiry-form.dmi-inquiry-form--relocated .fields {
        grid-template-columns: 1fr 1fr;
        column-gap: 12px;
    }

    .dmi-inquiry-form.dmi-inquiry-form--relocated .fields > li {
        grid-column: 1 / -1;
        margin-bottom: 12px;
    }

    .dmi-inquiry-form.dmi-inquiry-form--relocated .fields > li.er {
        margin: 2px 0 0;
    }

    .dmi-inquiry-form.dmi-inquiry-form--relocated .fields > li:has(#contact_first_name),
    .dmi-inquiry-form.dmi-inquiry-form--relocated .fields > li:has(#contact_last_name),
    .dmi-inquiry-form.dmi-inquiry-form--relocated .fields > li:has(#contact_investment_type),
    .dmi-inquiry-form.dmi-inquiry-form--relocated .fields > li:has(#contact_reachability) {
        grid-column: span 1;
    }

    .dmi-inquiry-form .fields > li > label:not(.privacy) {
        margin-bottom: 5px;
        font-size: 0.875rem;
    }

    .dmi-inquiry-form form textarea {
        height: 96px;
    }

.overlay .dmi-btn, .navbar-expand-lg.navbar-light .show ul .dmi-btn, .navbar-expand-lg.navbar-light ul .dmi-btn {
    height: 45px!important;
    font-size: 15px;

    display: inline-flex!important;
    align-items: center!important;
    justify-content: center!important;
}
.overlay a, .overlay .dmi-consult-box p, .navbar-expand-lg.navbar-light .show ul .dmi-consult-box p, .navbar-expand-lg.navbar-light ul .dmi-consult-box p {
    font-size: 16px!important;
}
    .navbar-collapse {
        top: 0;
        margin-top: 20px !important;
    }
   .overlay .dmi-consult-box p a {

    display: block!important;
}

    .dmi-property-details .dmi-hero {

        padding: 110px 0 130px;
    }

    .dmi-inquiry-content p {
        font-size: 1rem;
    }

    .dmi-inquiry-content p {
        font-size: 0.875rem;
    }

    .dmi-property-details .dmi-hero-fakten {
        margin: 0 0px;
    }

    .dmi-property-details .dmi-hero-fakten li:first-child {
        padding: 15px 5px 10px 5px;
    }

    .dmi-property-details .dmi-hero-fakten li {
        padding: 12px 5px 10px 5px;
    }

    .dmi-energy h2,
.dmi-energy h3 {
        font-size: 1.4375rem;
    }

    .dmi-units h2 {
        font-size: 1.875rem;
    }

}

@media (max-width: 445px) {
    .dmi-cta-box {
        padding-left: 15px;
    }

    .dmi-property-details .dmi-hero-fakten li {
        font-size: 14px;
    }

    .dmi-inquiry-content .dmi-inquiry-titel {
        font-size: 1.3125rem;
        line-height: 1.5625rem;
    }

    .dmi-contact-badge img {
        width: 65px;
        margin: 7px 0 0 -12px;
    }

    .dmi-property-details .dmi-hero-fakten li span {
        text-align: left;
        width: 105px;
    }

    .col-md-6.dmi-pdf-download-mobile .col-md-6 {
        width: 47%;
    }

    .col-md-6.dmi-pdf-link {
        width: 53% !important;
    }

    .dmi-units h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .dmi-brochure-link p {
        font-size: 14px;
    }

    .dmi-energy h2,
.dmi-energy h3 {
        font-size: 1.25rem;
    }

}

@media (max-width: 420px) {
    .dmi-inquiry-content .dmi-inquiry-titel {
        font-size: 1.125rem;
    }

    .dmi-contact-badge img {
        width: 55px;
    }

    .dmi-inquiry-content p {
        margin: 5px 0 5px 0;
        font-size: 0.8125rem;
    }

    .dmi-inquiry-col img.user_img {
        width: 115px;
    }

    .dmi-inquiry-col {
        align-items: inherit;
    }

    .dmi-property-slider button.owl-prev {
        margin-left: -50px;
    }

    .dmi-property-slider button.owl-next {
        margin-right: -50px;
    }
}

@media (max-width: 480px) {

    header .container {
        padding: 0 !important;
    }

    .dmi-responsive-logo {
        padding-left: 0px !important;
    }

    .carousel-item {
        height: auto;
    }

    .dmi-testimonials-first .dmi-testimonials-outer {
        height: 465px;
    }

    img.d-block.w-100.desktop {
        display: none !important;
    }

    img.d-block.w-100.responsive {
        display: block !important;
    }

    .dmi-property-slide .alle a {
        padding: 15px !important;
    }

}

@media (max-width: 489px) {}

@media (min-width: 768px) and (max-width: 835px) {
    .sidebar.weitere .dmi-weitere-text {
        font-size: 1.0625rem !important;
        margin-bottom: 25px !important;
    }

    .dmi-estatelist-content p {
        font-size: 17px;
        margin-bottom: 25px !important;
    }
}

@media (min-width: 1001px) and (max-width: 1090px) {

    .dmi-inquiry-form {
        padding: 33px 18px 30px;
    }
}

@media (min-width: 768px) and (max-width: 790px) {
    .sidebar.pflege ul li {
        font-size: 0.84375rem;
    }

}

@media (min-width: 652px) and (max-width: 722px) {
}
@media (min-width: 736px) and (max-width: 766px) {
}

@media (min-width: 510px) and (max-width: 560px) {
    .dmi-cta-box__phone img {
        margin: 0 20px 0 0px;
    }
}

@media (min-width: 768px) and (max-width: 780px) {
    .dmi-estate-card__content li {
        padding: 10px 15px 13px 10px;
    }
}

@media (max-width: 348px) {
    .navbar-collapse {
        top: 65px;
    }

}

@media (max-width: 1165px) {
    .dmi-pdf-download {
        padding-left: 10px;
    }

    .dmi-pdf-link {
        padding: 12px 0 0 0px;
    }
}

@media (max-width: 1117px) {
    .dmi-double-bg h2,
.dmi-double-bg .dmi-kachel-titel {
        font-size: 1.625rem;
        line-height: 1.25;
    }

    .dmi-pdf-link a {
        font-size: 16px;
        width: 190px;
    }

    .dmi-sidebar-head .dmi-sidebar-titel img {
        margin: 0 0 0 0px;
        margin-left: 0%;
    }
}

@media (min-width: 836px) and (max-width: 870px) {
    .dmi-sidebar-head .dmi-sidebar-titel img {
        margin: 0 0 0 0px;
    }
}@media (min-width: 812px) and (max-width: 835px) {
}

@media (min-width: 1080px) and (max-width: 1207px) {
    .dmi-inquiry-form {
        padding: 33px 20px 30px;
    }

}

@media (max-width: 1270px) {
}

@media (min-width: 1024px) and (max-width: 1230px) {
    .dmi-pdf-download {
        padding-left: 20px;
    }
}

@media (min-width: 767px) and (max-width: 1024px) {
    .dmi-double-bg a {
        margin-left: 38px;
    }
}

@media (min-width: 834px) and (max-width: 910px) {
    .dmi-sidebar-head .dmi-sidebar-titel:before { margin: 0 4px 0 0; }
}

@media (max-width: 426px) {

}

@media screen and (min-width: 767px) {

    button.owl-prev {
        margin-left: -25px !important;

    }

    .dmi-property-slider span.prev::before {
        width: 43px;
    }

    .dmi-property-slider span.next::before {
        width: 50px;
    }

    button.owl-next {
        margin-right: -10px !important;
    }

}

.dmi-header-bottom li {
    padding: 0 22px 0 28px !important;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .55);
    padding: 20px 0 23px 0!important;
}

body #contact-enquiryform>div .custom_error {
    border: 1px solid red !important;
}

.g-recaptcha.has-error iframe {
    border: 1px solid red !important;
}

body #contact-enquiryform>div>.mage-error {
    color: red !important;
}

body #contact-enquiryform>div>div>.mage-error {
    color: red !important;
}

@media screen and (max-device-width: 991px) and (orientation: landscape) {
    div#navbarTogglerDemo01 {
        overflow: scroll !important;
        height: 265px !important;
    }
}

@media (min-device-width: 467px) and (max-device-width: 600px) {

    .navbar-collapse {
        top: 83px !important;
    }
}

@media (min-device-width: 601px) and (max-device-width: 727px) {

    .navbar-collapse {
        top: 100px !important;
    }
}

@media (min-device-width: 728px) and (max-device-width: 767px) {

    .navbar-collapse {
        top: 110px !important;
    }
}

body #contact-enquiryform>div .custom_error,
.dmi-property-content-section .col-12 .custom_error {
    border: 1px solid red !important;
}

.message #error,
.dmi-inquiry-form form .message .pderror {
    color: red !important;
    border: 1px solid red;
    padding: 0 5px;
    text-align: center !important;
}

.dmi-inquiry-form form .message .pderror,
.dmi-inquiry-form form .message .pdresult {
    margin-top: 20px;
}

.dmi-inquiry-form form .message {
    padding: 0;
    margin: 0;
}

form .form-check {
    display: block;
}

body #contact-enquiryform>div>.mage-error,
.dmi-property-content-section .col-12 .pdmage-error {
    color: red !important;
}

.dmi-inquiry-form form .col-12:nth-child(11) input:hover {
    background: var(--dmi-blue) !important;
    transition: 0.5s;
}

.btn-primary:focus {
    box-shadow: none !important;
    background: var(--dmi-accent) !important;
}

form input#gridCheck {
    margin-right: 0;
}

.message .result,
.dmi-inquiry-form form .message .pdresult {
    color: green;
    border: 1px solid green;
    text-align: center;
}

.dmi-inquiry-form form .col-12:nth-child(11) input {
    float: none;
    width: 100%;
    height: 60px;
    background: var(--dmi-accent);
}

.dmi-property-content-section .col-12:nth-child(10) .form-check {
    padding: 0;
    position: relative;
}

.dmi-property-content-section .col-12:nth-child(10) .pdmage-error {
    position: static;
}

.dmi-property-content-section .col-12:nth-child(10) .form-check input {
    height: 15px !important;
    width: 15px !important;
    max-width: 15px;
    margin: 0;
    line-height: 0;
    vertical-align: middle;
}

.dmi-property-content-section .col-12:nth-child(11) {
    position: relative;
}

.dmi-property-content-section .col-12:nth-child(11) div#pdajaxLoader {
    position: absolute;
    right: -25px;
    top: 18px;
}

.dmi-property-content-section .col-12:nth-child(11) div#pdajaxLoader img {
    width: 100%;
    height: 100%;
}

.dmi-property-content-section .col-12:nth-child(10) .form-check .check-div {
    display: inline-block;
    position: relative;
    width: 17px;
    height: 17px;
    line-height: 0;
    border-radius: 2px;
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {

    .dmi-property-content-section .col-12:nth-child(11) {
        text-align: center;
        width: auto;
        margin: 0 auto;
    }

    .dmi-inquiry-form form .col-12:nth-child(11) input {
        width: auto;
        padding: 0 50px;
    }

}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {

    .dmi-property-content-section .col-12:nth-child(11) {
        text-align: center;
        width: auto;
        margin: 0 auto;
    }

    .dmi-inquiry-form form .col-12:nth-child(11) input {
        width: auto;
        padding: 0 50px;
    }

}

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

    .modal-content {
        max-width: 340px !important;
        height: 300px;
        margin: 0 auto;
    }

    .dmi-property-content-section .col-12:nth-child(11) div#pdajaxLoader {
        right: -18px;
        width: 15px;
        height: auto;
    }

    .dmi-inquiry-form form .form-check label {
        font-size: 14px;
    }

    body #contact-enquiryform>div>.mage-error,
    .dmi-property-content-section .col-12 .pdmage-error {
        font-size: 14px;
    }

    .message #error,
    .dmi-inquiry-form form .message .pderror {
        font-size: 14px;
    }

    .dmi-property-content-section .col-12:nth-child(11) {
        width: auto;
        margin: 0 auto;
    }

    .dmi-inquiry-form form .col-12:nth-child(11) input {
        padding: 0 50px;
    }

}

@media only screen and (min-width: 480px) and (max-width: 767px) {

    .modal-content {
        max-width: 340px !important;
        height: 220px;
    }
}

.overlay {
  height: 100%;
  width: 0px;
  position: fixed;
  z-index: 999999999 !important;
  top: 0;
  right: 0;
  background-color: var(--dmi-blue-dark)!important;
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content, nav.navbar.navbar-expand-lg.navbar-light .navbar ul {
  position: relative;
  width: 100%;
  text-align: center;

}

.overlay a, .overlay .dmi-consult-box p  {

  text-decoration: none;
  font-size: 20px;
  color: #45B5AA;
  display: block;
  transition: 0.3s;
  font-weight: 500;
}

.dmi-close-btn-size{
    font-size: 36px !important;
}
.overlay a:hover, .overlay a:focus {
  color: #7EE1D6;
}

.overlay .dmi-close-btn{
  position: static;
  color: #0e4d83 !important;
  border: 2px solid  #0e4d83;
  border-radius: 50%;
  padding: 5px 5px;
  height: 35px;
  line-height: 17px;
  font-size: 40px !important;
  font-weight: normal!important;
}

.overlay .dmi-btn, .navbar-expand-lg.navbar-light .show ul .dmi-btn, .navbar-expand-lg.navbar-light ul .dmi-btn {
    height: 56px;
    font-size: 17px;
    margin-top: 20px;
    white-space: nowrap;
}

.overlay .dmi-consult-box, .navbar-expand-lg.navbar-light .show ul .dmi-consult-box, .navbar-expand-lg.navbar-light ul .dmi-consult-box {
    margin-top: 20px;
    padding-left: 0;
    position: relative;
    display: flex;
    flex-wrap: left;
}

.overlay .dmi-consult-box:before, .navbar-expand-lg.navbar-light .show ul .dmi-consult-box:before, .navbar-expand-lg.navbar-light ul .dmi-consult-box:before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: url(../img/phone-white.png) no-repeat;
width: 30px;
height: 30px;
}

.overlay .dmi-consult-box p, .navbar-expand-lg.navbar-light .show ul .dmi-consult-box p, .navbar-expand-lg.navbar-light ul .dmi-consult-box p{
text-align: left;
margin-top: 0!important;
display: inline-block;
color: #fff!important;
white-space: nowrap;
font-family: "Niveau Grotesk";
}

.overlay .dmi-consult-box p a, .navbar-expand-lg.navbar-light .show ul .dmi-consult-box p a, .navbar-expand-lg.navbar-light ul .dmi-consult-box p a{
 color: var(--dmi-accent) !important;
 display: inline-block;
}

.dmi-close-btn-wrap{
    margin-left: auto;
    display: flex;
    align-items: center;
    padding-right: 15px;
}
.overlay .dmi-phone-nav-tab {
    align-items: center;
}

 nav.navbar.navbar-expand-lg.navbar-light .dmi-phone-nav-tab{
    padding:21px 0  21px  15px;
    background: #fff;
        transition: 0.3s;
}
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .dmi-close-btn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

main {
  height: 100vh;
}

.dmi-nav-accent {
    background-color: transparent !important;
}

.navbar .fixed-action-btn.dmi-responsive-fixed-btn {
    display: none !important;
}

.dmi-header-bottom .dmi-responsive-fixed-btn{
    display: none !important;
}
@media screen and (max-width: 450px) {
.overlay .dmi-close-btn {
    font-size: 40px;

    color: #0e4d83 !important;
}
}
@media screen and (max-width: 991px) {
.navbar .fixed-action-btn.dmi-responsive-fixed-btn {
    display: block !important;
}
.dmi-header-bottom .dmi-responsive-fixed-btn{
    display: block !important;
}

.recaptcha-div iframe {
    width: 97%;
    border-radius: 6px;
}

.dmi-responsive-fixed-btn {
    display: none !important;
}

.dmi-nav-btn-content{
    display: block;
}

}

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

.service ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
}

.service ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dmi-accent);
}

.dmi-afa			{ background-image: url(../img/property_bg_sec.png); background-size: 100% 100%;
			  padding: 90px 0 74px 0; color: #fff; }
.dmi-afa-inner			{ max-width: 940px; margin: 0 auto; }

.dmi-afa-title			{ font-size: 2.5rem; line-height: 1.12; margin: 0 0 10px; }

.dmi-afa-sub			{ font-family: "Niveau Grotesk"; font-size: 17px; color: rgba(255,255,255,.72);
			  margin: 0 0 38px; padding-left: 28px; line-height: 1.5; }

.dmi-afa-schedule	{ margin: 0 0 2.125rem; }
.dmi-afa-bars		{ display: flex; align-items: flex-end; gap: 6px; height: 8.25rem; }
.dmi-afa-bar		{ flex: 1; background: var(--dmi-accent); border-top: 3px solid #45b9e8;
			  border-radius: 3px 3px 0 0; position: relative; }
.dmi-afa-bar.is-low	{ opacity: .72; }
.dmi-afa-bar b		{ position: absolute; left: 0; right: 0; bottom: -1.5rem; text-align: center;
			  font-size: 0.6875rem; font-weight: normal; color: rgba(255,255,255,.72); }

.dmi-afa-legend		{ display: flex; justify-content: space-between; gap: 1.25rem;
			  margin-top: 2.125rem; padding-top: 0.75rem;
			  border-top: 1px solid rgba(255,255,255,.18);
			  font-size: 0.8125rem; color: rgba(255,255,255,.72); }
.dmi-afa-legend b	{ color: #fff; font-weight: 600; }

.dmi-afa-phasen		{ display: none; }
.dmi-afa-phase		{ flex: 1; padding: 0.75rem 0 0.125rem; border-bottom: 3px solid var(--dmi-accent); }
.dmi-afa-phase--rest	{ border-bottom-color: rgba(18,122,168,.45); }
.dmi-afa-phase--summe	{ border-bottom-color: rgba(255,255,255,.35); }
.dmi-afa-phase span	{ display: block; font-size: 0.78rem; color: rgba(255,255,255,.72);
			  letter-spacing: .04em; text-transform: uppercase; }
.dmi-afa-phase b	{ display: block; font-family: var(--dmi-font-serif); font-size: 1.25rem;
			  color: #fff; margin: 0.1875rem 0 0.375rem; }
.dmi-afa-phase i	{ font-style: normal; font-size: 0.82rem; color: rgba(255,255,255,.72); }

.dmi-afa-claim			{ font-size: 28px; line-height: 1.35; margin: 0 0 10px; }
.dmi-afa-claim em		{ font-style: normal; color: var(--dmi-focus); }
.dmi-afa-note			{ font-size: 0.9375rem; line-height: 1.65; color: rgba(255,255,255,.72);
			  max-width: 66ch; margin: 0 0 1.75rem; }

.dmi-afa-actions		{ margin: 0 0 34px; }

.dmi-afa-assumptions		{ border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px;
			  font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.72); }
.dmi-afa-assumptions b		{ color: #fff; }
.dmi-afa-empty			{ background: rgba(255,255,255,.07); border: 1px dashed rgba(255,255,255,.3);
			  border-radius: 4px; padding: 26px 24px; }
.dmi-afa-empty p		{ font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 62ch; }

.dmi-afa-reveal			{ margin: 0 0 28px; }

.dmi-afa-reveal > summary	{ cursor: pointer; }

.dmi-afa-reveal > summary:after	{ display: inline-block; width: 1em; text-align: center; }
.dmi-afa-reveal > summary::-webkit-details-marker { display: none; }
.dmi-afa-reveal > summary:after	{ content: " +"; }
.dmi-afa-reveal[open] > summary:after { content: " –"; }
.dmi-afa-calc			{ margin-top: 22px; background: rgba(255,255,255,.07);
			  border: 1px solid rgba(255,255,255,.16); border-radius: 4px; padding: 22px 24px; }
.dmi-afa-fields			{ display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-end; }
.dmi-afa-field label,
.dmi-afa-fieldlabel		{ display: block; font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 7px; }
.dmi-afa-input,
.dmi-afa-preis			{ width: 170px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.35);
			  background: rgba(255,255,255,.96); color: #123; border-radius: 3px; font-size: 16px; }
.dmi-afa-input:focus,
.dmi-afa-preis:focus		{ outline: 3px solid var(--dmi-focus); outline-offset: 1px; }
.dmi-afa-seg			{ display: inline-flex; border: 1px solid rgba(255,255,255,.35);
			  border-radius: 3px; overflow: hidden; }
.dmi-afa-seg button		{ padding: 11px 18px; background: none; border: 0; color: #fff;
			  font-size: 14px; font-family: inherit; cursor: pointer; }
.dmi-afa-seg button[aria-pressed="true"] { background: #fff; color: var(--dmi-accent); font-weight: bold; }
.dmi-afa-seg button:focus	{ outline: 3px solid var(--dmi-focus); outline-offset: -3px; }
.dmi-afa-result			{ margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.dmi-afa-result .dmi-afa-claim	{ font-size: 24px; margin-bottom: 14px; }
.dmi-afa-breakdown		{ list-style: none; margin: 0 0 14px; padding: 0; max-width: 520px; }
.dmi-afa-breakdown li		{ display: flex; justify-content: space-between; gap: 16px;
			  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.dmi-afa-breakdown li:last-child { border-bottom: 0; }
.dmi-afa-breakdown span		{ color: rgba(255,255,255,.72); }
.dmi-afa-rechtsstand		{ font-size: 12.5px; color: rgba(255,255,255,.72); margin: 0; }
.dmi-afa-hint			{ margin: 16px 0 0; padding: 10px 14px; border-radius: 3px;
			  background: rgba(255,255,255,.14); font-size: 14px; line-height: 1.55; }

.dmi-afa-hinweis { display: block; margin-top: 4px; font-size: 13.5px; opacity: .85; }

.dmi-energy-gesetz {
    font-size: 16px;
    font-family: "Niveau Grotesk", sans-serif;
    font-weight: 500;
    color: #6d757c;
}
.dmi-energy-skala {
    position: relative;
    margin: 30px 0 26px;
}
.dmi-energy-wertmarke {
    position: relative;
    display: inline-block;
    transform: translateX(-50%);
    margin-bottom: 0;
    padding: 4px 12px;
    background: var(--dmi-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
}
.dmi-energy-band {
    position: relative;
    display: flex;
    height: 44px;
    border-radius: 5px;
    overflow: hidden;

    background: linear-gradient(90deg,
        #008d36 0%, #39a935 12%, #95c11f 25%, #d3d800 37%, #ffec00 50%,
        #fbb900 62%, #f39200 75%, #e63312 87%, #d1121b 100%);
}
.dmi-energy-klasse {
    flex: 1 1 0;
    text-align: center;
    line-height: 44px;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
    border-right: 2px solid rgba(255, 255, 255, .55);
}
.dmi-energy-klasse:last-child { border-right: none; }
.dmi-energy-klasse--ist {
    font-size: 24px;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.dmi-energy-zeiger {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    margin-left: -1.5px;
    background: var(--dmi-blue);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .8);
}

.dmi-energy-band-huelle { position: relative; padding-top: 7px; }
.dmi-energy-pfeil {
    position: absolute; top: 0; width: 0; height: 0; margin-left: -7px;
    border: 7px solid transparent; border-bottom: none; border-top: 7px solid var(--dmi-blue);
}
.dmi-energy-daten {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 18px;
    margin: 0;
}
.dmi-energy-daten dt {
    font-size: 18px;
    font-weight: 600;
    color: var(--dmi-text);
}
.dmi-energy-daten dd {
    font-size: 18px;
    font-weight: 400;
    color: var(--dmi-text);
    margin: 0;
}

.dmi-ratgeber { max-width: 880px; margin: 0 auto; padding: 10px 0 40px; }
.dmi-ratgeber section { margin-top: 44px; scroll-margin-top: 155px; }

.dmi-ratgeber h2 { margin-bottom: 16px; }
.dmi-ratgeber h3 { font-size: 1.25rem; color: var(--dmi-blue); margin: 22px 0 8px; }
.dmi-ratgeber p, .dmi-ratgeber li { font-size: 1.0625rem; line-height: 1.65; color: var(--dmi-text); }
.dmi-ratgeber p { margin-bottom: 14px; }
.dmi-ratgeber a { color: var(--dmi-blue); text-decoration: underline; text-underline-offset: 2px; }
.dmi-ratgeber-lead { font-size: 1.25rem; line-height: 1.6; color: var(--dmi-text); margin: 18px 0 6px; }

.dmi-ratgeber-klein { font-family: "Niveau Grotesk", sans-serif; font-size: 0.9375rem; font-weight: 500; color: #6d757c; margin-left: .3em; }

.dmi-ratgeber-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.dmi-ratgeber-toc a {
    display: inline-block; padding: 7px 14px; border: 1px solid var(--dmi-border-soft); border-radius: 999px;
    font-size: 0.875rem; font-weight: 600; color: var(--dmi-blue); text-decoration: none; background: var(--dmi-surface);
}
.dmi-ratgeber-toc a:hover { background: var(--dmi-blue); color: #fff; border-color: var(--dmi-blue); }

.dmi-ratgeber-triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 6px 0 10px; }
.dmi-ratgeber-vorteil { background: var(--dmi-surface); border: 1px solid var(--dmi-border-soft); border-radius: 8px; padding: 18px 20px; }
.dmi-ratgeber-vorteil h3 { margin-top: 0; }
.dmi-ratgeber-vorteil p { margin-bottom: 0; font-size: 0.96875rem; }

.dmi-ratgeber-ablauf { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: schritt; position: relative; }
.dmi-ratgeber-ablauf::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--dmi-border-soft); }
.dmi-ratgeber-ablauf li { position: relative; padding: 7px 0 22px 50px; counter-increment: schritt; }
.dmi-ratgeber-ablauf li:last-child { padding-bottom: 0; }

.dmi-ratgeber-ablauf li::before {
    content: counter(schritt); position: absolute; left: 0; top: 6px;
    width: 32px; height: 32px; border-radius: 50%; background: var(--dmi-blue); color: #fff;
    font-weight: 700; font-size: 1rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box; padding-bottom: 4px;
    box-shadow: 0 0 0 4px #fff;
}

.dmi-ratgeber-foto { display: block; position: relative; margin: 40px 0 4px; border-radius: 8px; overflow: hidden; }
.dmi-ratgeber-foto img { display: block; width: 100%; height: auto; }
.dmi-ratgeber-foto__cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 12px;
    background: linear-gradient(to top, rgba(11,30,54,.85), rgba(11,30,54,0));
    color: #fff; font-size: 0.9375rem; font-weight: 600;
}
.dmi-ratgeber-foto:hover .dmi-ratgeber-foto__cap { text-decoration: underline; }

.dmi-ratgeber-checks, .dmi-ratgeber-risiken { list-style: none; margin: 8px 0 0; padding: 0; }
.dmi-ratgeber-checks li, .dmi-ratgeber-risiken li { position: relative; padding: 7px 0 7px 34px; }
.dmi-ratgeber-checks li::before {
    content: "\2713"; position: absolute; left: 0; top: 11px; width: 22px; height: 22px;
    background: var(--dmi-accent); border-radius: 50%; color: #fff; font-size: 0.8125rem; text-align: center; line-height: 1.375rem;
}
.dmi-ratgeber-risiken li::before {
    content: "!"; position: absolute; left: 0; top: 11px; width: 22px; height: 22px;
    background: var(--dmi-red); border-radius: 50%; color: #fff; font-size: 0.875rem; font-weight: 700; text-align: center; line-height: 1.375rem;
}

.dmi-ratgeber-rechnung { background: var(--dmi-surface); border: 1px solid var(--dmi-border-soft); border-left: 5px solid var(--dmi-blue); border-radius: 8px; padding: 20px 24px; }
.dmi-ratgeber-rechnung__profil { font-size: 0.96875rem; color: #4a5560; }
.dmi-ratgeber-rechnung table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; }
.dmi-ratgeber-rechnung td { padding: 9px 0; border-bottom: 1px solid #e3e9f1; font-size: 1.03125rem; }
.dmi-ratgeber-rechnung td:last-child { text-align: right; white-space: nowrap; }
.dmi-ratgeber-rechnung__summe td { border-bottom: none; border-top: 2px solid var(--dmi-blue); font-size: 1.125rem; }
.dmi-ratgeber-disclaimer { font-size: 0.84375rem; color: #6d757c; margin-bottom: 0; }

.dmi-ratgeber-chart { margin: 18px 0 8px; }
.dmi-ratgeber-chart svg { width: 100%; height: auto; }
.dmi-ratgeber-chart figcaption { font-size: 0.875rem; color: #6d757c; text-align: center; margin-top: 4px; }

.dmi-ratgeber-gest { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.dmi-ratgeber-gest__land {
    display: flex; justify-content: space-between; gap: 8px; align-items: baseline;
    background: var(--dmi-surface); border: 1px solid var(--dmi-border-soft); border-radius: 6px; padding: 8px 12px; font-size: 0.875rem;
}
.dmi-ratgeber-gest__land strong { color: var(--dmi-blue); font-size: 0.9375rem; white-space: nowrap; }

.dmi-afa-mehr { margin: 10px 0 22px; font-size: 0.875rem; }
.dmi-afa-mehr a { color: #9fd1f5; text-decoration: underline; }
.dmi-afa-mehr a:hover { color: #fff; }

.dmi-wissen-band { margin-top: 34px; padding: 30px 0 8px; border-top: 1px solid #e5e5e5; }
.dmi-wissen-band h2 {
    font-size: 1.5rem; margin: 0 0 16px; text-align: left;
}
.dmi-wissen-band__karten {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.dmi-wissen-band__karten a {
    display: block; background: #fff; border: 1px solid var(--dmi-border-soft); border-radius: 8px;
    padding: 14px 16px; text-decoration: none; color: var(--dmi-text);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.dmi-wissen-band__karten a:hover { border-color: var(--dmi-blue); box-shadow: 0 2px 10px rgba(22,91,151,.10); }
.dmi-wissen-band__karten strong { display: block; color: var(--dmi-blue); font-size: 1rem; margin-bottom: 5px; }
.dmi-wissen-band__karten span { font-size: 0.84375rem; line-height: 1.5; color: #4a5560; }
@media (max-width: 991px) { .dmi-wissen-band__karten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .dmi-wissen-band__karten { grid-template-columns: 1fr; } }

.dmi-testimonials-alle { margin-top: 14px; font-weight: 600; }

.dmi-faq-alle { display: flex; justify-content: flex-end; margin: 4px 0 14px; }
.dmi-faq-alle button {
    background: #fff; color: var(--dmi-blue); border: 1px solid var(--dmi-blue); border-radius: 6px;
    padding: 8px 16px; font-size: 0.875rem; font-weight: 600; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.dmi-faq-alle button:hover { background: var(--dmi-blue); color: #fff; }

.dmi-faq-item {
    border: 1px solid var(--dmi-border-soft); border-radius: 8px; background: #fff;
    margin-bottom: 10px; overflow: hidden;
}
.dmi-faq-item[open] { border-color: var(--dmi-blue); box-shadow: 0 2px 10px rgba(22, 91, 151, .08); }
.dmi-faq-item summary {
    cursor: pointer; list-style: none; padding: 15px 46px 15px 18px; position: relative; font-size: 1.1875rem; line-height: 1.4;
    color: var(--dmi-blue);
}

.dmi-faq-item summary .dmi-faq-frage {
    font: inherit; color: inherit; margin: 0; padding: 0; display: inline;
}
.dmi-faq-item summary::-webkit-details-marker { display: none; }
.dmi-faq-item summary:hover { background: var(--dmi-surface); }
.dmi-faq-item summary:focus-visible { outline: 2px solid var(--dmi-blue); outline-offset: -2px; }

.dmi-faq-item summary::after {
    content: ''; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px;
    margin-top: -6px;
    background:
        linear-gradient(var(--dmi-blue), var(--dmi-blue)) center/12px 2px no-repeat,
        linear-gradient(var(--dmi-blue), var(--dmi-blue)) center/2px 12px no-repeat;
    transition: transform .15s ease;
}
.dmi-faq-item[open] summary::after { transform: rotate(45deg); }
.dmi-faq-antwort { padding: 0 18px 16px; }
.dmi-faq-antwort p { margin: 0; font-size: 1rem; line-height: 1.65; color: #4a5560; }
.dmi-faq-antwort a { color: var(--dmi-blue); font-weight: 600; }

.dmi-ratgeber-objekte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.dmi-ratgeber-mehr { margin-top: 18px; font-weight: 600; }

.dmi-ratgeber-karte {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--dmi-border-soft); border-radius: 8px; overflow: hidden;
    text-decoration: none !important; color: var(--dmi-text);
}
.dmi-ratgeber-karte__bild { display: block; aspect-ratio: 3 / 2; overflow: hidden; }

.dmi-ratgeber-karte__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmi-ratgeber-karte__kopf { display: block; padding: 14px 16px 10px; min-height: 86px; }
.dmi-ratgeber-karte__ort { display: block; font-size: 0.84375rem; color: #6d757c; }

.dmi-ratgeber-karte .dmi-ratgeber-karte__name {
    display: block; font-size: 1.25rem;
    line-height: 1.25; margin-top: 2px;
}
.dmi-ratgeber-karte__fakten { display: block; padding: 0 16px; }
.dmi-ratgeber-karte__zeile {
    display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
    padding: 7px 0; border-top: 1px solid #eef2f7; font-size: 0.90625rem;
}
.dmi-ratgeber-karte__zeile span { color: #6d757c; }
.dmi-ratgeber-karte__zeile strong { color: var(--dmi-text); white-space: nowrap; }

.dmi-ratgeber-karte__mehr {
    display: block; margin-top: auto; padding: 12px 16px 14px;
    font-size: 0.9375rem;
}
.dmi-ratgeber-karte:hover .dmi-ratgeber-karte__mehr { text-decoration: underline; }

.dmi-ratgeber-cta {
    margin-top: 34px; border-radius: 10px; padding: 30px 34px;
    background: linear-gradient(135deg, var(--dmi-blue-dark), var(--dmi-blue) 55%, var(--dmi-accent));
    color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}

.dmi-ratgeber .dmi-ratgeber-cta h2 { font-size: 1.625rem; color: #fff; margin: 0 0 6px; }
.dmi-ratgeber-cta p { color: #dbe9f5; margin: 0; font-size: 1rem; max-width: 480px; }
.dmi-ratgeber-cta__aktion { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.dmi-ratgeber-cta .dmi-ratgeber-cta__tel {
    display: inline-block;
    line-height: 1.5;    background: #fff; color: var(--dmi-blue) !important; text-decoration: none !important; font-size: 1.375rem; padding: 12px 26px;
    border-radius: 8px; text-align: center; white-space: nowrap;
}
.dmi-ratgeber-cta .dmi-ratgeber-cta__tel:hover { background: #eaf4fb; }
.dmi-ratgeber-cta__mail {
    display: inline-block; border: 2px solid rgba(255,255,255,.7); color: #fff !important;
    text-decoration: none !important; font-weight: 600; font-size: 0.9375rem; padding: 9px 18px;
    border-radius: 8px; text-align: center;
}
.dmi-ratgeber-cta__mail:hover { background: rgba(255,255,255,.12); }

@media (max-width: 900px) {
    .dmi-ratgeber-triple, .dmi-ratgeber-objekte { grid-template-columns: 1fr; }
    .dmi-ratgeber-gest { grid-template-columns: repeat(2, 1fr); }
    .dmi-ratgeber h2 { font-size: 1.5625rem; }
    .dmi-ratgeber-lead { font-size: 1.125rem; }
}

.dmi-ratgeber-autor {
    display: flex; gap: 18px; align-items: flex-start;
    margin-top: 34px; padding: 20px 24px;
    background: var(--dmi-surface); border: 1px solid var(--dmi-border-soft); border-radius: 10px;
}
.dmi-ratgeber-autor__foto { flex: 0 0 auto; border-radius: 8px; }
.dmi-ratgeber-autor__name { font-size: 1.1875rem; margin: 0; }
.dmi-ratgeber-autor__rolle { font-size: 0.84375rem; font-weight: 600; color: var(--dmi-blue); text-transform: uppercase; letter-spacing: .04em; margin: 2px 0 8px; }
.dmi-ratgeber-autor__vita { font-size: 0.9375rem; color: #4a5560; margin: 0; }

.dmi-ratgeber .dmi-afa-calc {
    background: var(--dmi-surface); border: 1px solid var(--dmi-border-soft); border-left: 5px solid var(--dmi-blue);
    border-radius: 8px; padding: 22px 24px; margin-top: 8px;
}
.dmi-ratgeber .dmi-afa-field label,
.dmi-ratgeber .dmi-afa-fieldlabel { color: #4a5560; font-weight: 600; }
.dmi-ratgeber .dmi-afa-input,
.dmi-ratgeber .dmi-afa-preis,
.dmi-ratgeber .dmi-afa-anteil {
    width: 170px; padding: 11px 12px; border: 1px solid #c3ced9; background: #fff;
    color: var(--dmi-text); border-radius: 4px; font-size: 1rem;
}
.dmi-ratgeber .dmi-afa-anteil { width: 110px; }
.dmi-ratgeber .dmi-afa-input:focus,
.dmi-ratgeber .dmi-afa-preis:focus,
.dmi-ratgeber .dmi-afa-anteil:focus { outline: 3px solid var(--dmi-focus); outline-offset: 1px; }
.dmi-ratgeber .dmi-afa-seg { border-color: #c3ced9; border-radius: 4px; }
.dmi-ratgeber .dmi-afa-seg button { color: var(--dmi-blue); }
.dmi-ratgeber .dmi-afa-seg button[aria-pressed="true"] { background: var(--dmi-blue); color: #fff; }
.dmi-ratgeber .dmi-afa-result { border-top: 1px solid var(--dmi-border-soft); }
.dmi-ratgeber .dmi-afa-result .dmi-afa-claim { font-size: 1.375rem; color: var(--dmi-text); }
.dmi-ratgeber .dmi-afa-result .dmi-afa-claim em,
.dmi-ratgeber .dmi-afa-result .dmi-afa-claim b { font-style: normal; color: var(--dmi-blue); font-weight: 700; }
.dmi-ratgeber .dmi-afa-breakdown li {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 8px 0; border-bottom: 1px solid #e3e9f1; font-size: 1rem; color: var(--dmi-text);
}
.dmi-ratgeber .dmi-afa-breakdown li:last-child { border-bottom: none; }

.dmi-ratgeber .dmi-afa-breakdown li span { color: #4a5560; }
.dmi-ratgeber .dmi-afa-breakdown li b,
.dmi-ratgeber .dmi-afa-breakdown li b span { color: var(--dmi-text); font-weight: 700; }
.dmi-ratgeber .dmi-afa-rechtsstand { font-size: 0.8125rem; color: #6d757c; margin: 10px 0 0; }
.dmi-ratgeber .dmi-afa-hint { color: var(--dmi-red); font-weight: 600; margin: 12px 0 0; }
@media (max-width: 767px) {

    .col-sm-6 {
        flex: 0 0 auto;
        width: 100%;
    }

    .uber-uns .col-sm-4 {
        width: 90%;
        margin: 0 auto 80px;
    }

    .dmi-testimonials-header .dmi-testimonials-heading h2 {
        margin: 0 0 50px !important;
    }

    .dmi-testimonials-header .dmi-testimonials-heading {
        margin-bottom: 0;
    }

    .erfahren .row-cols-5>* {
        width: 50%;
    }

    .erfahren .row-cols-5>*:last-child {
        margin: 0 auto;
    }

    .col-sm-7 {
        width: 100%;
    }

    .col-sm-5 {
        width: 100%;
    }

    form.row.g-3 {
        margin: 0 0;
    }

    footer {
        background: var(--dmi-blue);

        padding-top: 0;
        margin-top: 22px;
    }

    .dmi-footer-logo-col {
        display: block;
        width: 100%;
        padding: 22px 16px 0 !important;
    }

    .dmi-footer-brand { display: none; }

    .dmi-footer-kompakt {
        display: block;
        margin: 0;
        color: #fff;
        font-size: 12px;
        line-height: 1.7;
    }
    .dmi-footer-kompakt b {
        display: block;
        font-size: 13px;
    }

    .col-md-3.dmi-footer-offers,
    .col-md-4.dmi-footer-offers,
    .foo_service { display: none; }

    .col-md-2.dmi-footer-offers {
        width: 100%;
        padding: 2px 16px 0 !important;
    }
    .foo_kontakt .dmi-footer-spalte-titel { display: none; }

    .dmi-footer-offers .foo_kontakt ul {
        display: flex;
        flex-wrap: wrap;
        margin: 0;
    }

    .foo_kontakt .dmi-chevron-liste li {
        padding: 0;
        font-size: 12px;
        line-height: 1.7;
    }

    .foo_kontakt .dmi-chevron-liste li::before { display: none; }
    .foo_kontakt .dmi-chevron-liste li + li::before {
        display: inline;
        content: "\00b7";
        width: auto;
        height: auto;
        margin: 0 0.45em 0 0;
        background: none;
        -webkit-mask: none;
        mask: none;
        color: rgba(255, 255, 255, 0.75);
        vertical-align: baseline;
    }
    .foo_kontakt li + li { margin-left: 0.45em; }
    .dmi-footer-offers li a { color: #fff !important; }

    .dmi-footer-bottom {
        background: none;
        margin: 0;
        padding: 8px 16px 22px;
    }

    .dmi-footer-bottom .container { padding: 0; }
    .dmi-footer-bottom p {
        color: rgba(255, 255, 255, 0.75);
        text-align: left;
        font-size: 11px;
    }
    .dmi-responsive-logo {
        display: block;
        width: 70%;
       min-width: 230px;
    }

    .dmi-responsive-logo img {
        width: 100%;
    }

    .dmi-kfw-slide img {
        width: 50%;
    }

    .dmi-kfw-slide {
        position: absolute;
        top: 12px;
        right: 11px;
        text-align: right;
    }

    .dmi-testimonials-widget .dmi-testimonials-heading h2 {
        margin: 0 0 30px;
    }

    .dmi-property-slide .alle a {
        display: inline-block;
        margin: 0 0 40px;
    }

   .dmi-sticky-actions {
        height: 150px !important;
    }

    .dmi-testimonials-heading h2 {
        line-height: 2.1875rem !important;
    }

    .dmi-testimonials-widget .owl-nav {
        margin-top: 40px !important;
    }

    .dmi-testimonials-header .alle a {
        background: var(--dmi-accent) !important;
    }

    .alle a {
        text-transform: none !important;
    }

    .dmi-double-bg .col-md-6 {
        width: 100% !important;
    }

    .dmi-pdf-download .col-md-7 {
        width: 100% !important;
    }

    .dmi-pdf-download .col-md-5.dmi-pdf-link {
        width: 100% !important;
    }

    .dmi-double-bg .col-md-6 a {
        margin-left: 13px;
    }

    .dmi-estatelist-content p {
        font-size: 19px;
    }

    .navbar-collapse {
        width: 100%;
        left: 0px !important;
        overflow: hidden;
    }

    .navbar-collapse {
        width: 100% !important;
        left: -0px !important;
        overflow: hidden !important;
    }

    .dmi-property-details .dmi-hero {
        background: url(../img/details_pro.png) no-repeat;
        background-size: 100% 100%;
    }

    .dmi-sidebar-head .dmi-sidebar-titel img {
        display: block;
        margin-left: 20% !important;
    }

    .dmi-sidebar-head .dmi-sidebar-titel {
        align-items: center;
    }

  .dmi-afa			{ padding: 52px 0 46px 0; }
  .dmi-afa-title		{ font-size: 1.6875rem; }
  .dmi-afa-sub			{ font-size: 15px; }
  .dmi-afa-claim		{ font-size: 21px; }

  .dmi-units-thead th	{ font-size: 15px; padding: 10px 6px; }
  .dmi-units-thead th img { width: 20px; height: auto; }
  .dmi-afa-fields		{ gap: 16px; }

  .dmi-afa-input,
  .dmi-afa-preis { width: 100%; }
  .dmi-afa-field		{ width: 100%; }
  .dmi-afa-result .dmi-afa-claim { font-size: 19px; }

    .dmi-energy-band { height: 38px; }
    .dmi-energy-klasse { line-height: 38px; font-size: 15px; }
    .dmi-energy-klasse--ist { font-size: 19px; }
    .dmi-energy-wertmarke { font-size: 13px; padding: 3px 9px; }
    .dmi-energy-daten { grid-template-columns: 1fr; gap: 2px; }
    .dmi-energy-daten dd { margin-bottom: 8px; }

    .dmi-ratgeber .dmi-afa-input,
    .dmi-ratgeber .dmi-afa-preis,
    .dmi-ratgeber .dmi-afa-anteil { width: 100%; }
    .dmi-ratgeber .dmi-afa-field { width: 100%; }
}

img[width][height] { height: auto; }

@media (max-width: 767px) {

    .dmi-estate-list .dmi-estate-card {
        display: grid;
        grid-template-columns: 118px 1fr;
        grid-template-rows: auto auto 1fr;
        grid-template-areas: "bild titel" "bild inhalt" "bild knopf";
        column-gap: 11px;
        margin: 0 0 11px;
        border: 1px solid #e3e7ea;
        border-radius: 6px;
        overflow: hidden;
        background: #fff;
    }

    .dmi-estate-list .dmi-estate-card__img    { grid-area: bild;   margin: 0; }
    .dmi-estate-list .dmi-estate-card__title  { grid-area: titel;  padding: 9px 11px 0 0; }
    .dmi-estate-list .dmi-estate-card__content{ grid-area: inhalt; padding: 0 11px 0 0; }
    .dmi-estate-list .dmi-estate-card__btn    { grid-area: knopf;  padding: 0 11px 9px 0; align-self: end; }

    .dmi-estate-list .dmi-estate-card__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 0;
    }

    .dmi-estate-list .dmi-estate-card__img .dmi-kfw-chip {
        top: 6px;
        width: 52px;
        height: 20px;
        font-size: 0.625rem;
        line-height: 1.1875rem;
        padding: 0 0 0 11px;
        background-size: contain;
    }

    .dmi-estate-list .dmi-card-badge {
        top: 6px;
        font-size: 10px;
        letter-spacing: 1px;
        padding: 3px 7px;
    }

    .dmi-estate-list .dmi-estate-card__title {
        font-size: 0.71875rem;
        color: #6b737b;
        line-height: 1.3;
        min-width: 0;
    }
    .dmi-estate-list .dmi-estate-card__title :is(h2, h3) {
        margin: 1px 0 5px;
        font-size: 0.96875rem;
        line-height: 1.25;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dmi-estate-list .dmi-estate-card__content ul {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }
    .dmi-estate-list .dmi-estate-card__content li {
        display: block;
        border: 0;
        margin: 0;
        padding: 0;
        font-size: 12px;
        line-height: 1.35;
        color: #6b737b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .dmi-estate-list .dmi-estate-card__content li span {
        float: none;
        display: inline;
        font-size: inherit;
        color: inherit;
        font-weight: inherit;
    }

    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(2),
    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(3) {
        display: none;
    }
    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(5) { order: 1; }
    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(4) { order: 2; }
    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(1) { order: 3; }

    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__content li:nth-child(1) { display: none; }
    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__content li:nth-child(4) { order: 1; }
    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__content li:nth-child(2) { order: 2; }
    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__content li:nth-child(3) { order: 3; }

    .dmi-estate-list .dmi-estate-card__content li:first-child { border: 0; }

    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(5),
    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__content li:nth-child(4) {
        font-size: 15px;
        font-weight: 700;
        color: #20211c;
    }
    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(5) .dmi-lbl,
    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__content li:nth-child(4) .dmi-lbl,
    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(4) .dmi-lbl {
        display: none;
    }

    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(1),
    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__content li:nth-child(3) {
        color: #3d5c32;
        font-weight: 600;
    }
    .dmi-estate-list .dmi-estate-card__content li span.dmi-wert-offen { color: #a8b0b8; font-weight: 400; }

    .dmi-estate-list .dmi-estate-card__btn {
        background: none;
        border: 0;
        height: auto;
        line-height: 1;
    }
    .dmi-estate-list .dmi-estate-card__btn a {
        display: inline-block;
        background: none;
        border: 0;
        padding: 0;
        margin: 6px 0 0;
        height: auto;
        line-height: 1.2;
        font-size: 11.5px;
        font-weight: 600;
        text-align: left;
        color: var(--dmi-blue);
    }

    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__btn a::before { content: none; }

    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__btn a { color: var(--dmi-green); }

    .dmi-estate-list .dmi-estate-card--pflege {
        grid-template-areas: "bild titel" "bild inhalt" "bild knopf" "marke marke";
        grid-template-rows: auto auto 1fr auto;
        border-left: 3px solid var(--dmi-green);
    }
    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__pflege-brand {
        grid-area: marke;
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 4px 8px;
        margin: 0;
        border-top: 1px solid #eef1f3;
        background: #f6f9f3;
    }

    .dmi-estate-list .dmi-estate-card--pflege .dmi-pflegemarke {
        font-size: 6px;
    }
    .dmi-estate-list .dmi-estate-card--pflege .dmi-pflegemarke img {
        width: 13px;
    }
    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__pflege-tag {
        font-size: 10px;
        color: var(--dmi-green);
        padding: 0;
        background: none;
    }

    .dmi-estate-list .park_pro .row { margin-left: 0; margin-right: 0; }
    .dmi-estate-list .park_pro .col-sm-6 { padding-left: 0; padding-right: 0; }
}

.dmi-mehr-laden, .dmi-related-mehr { display: none; }
.dmi-mehr-laden__stand { display: none; }

@media (max-width: 767px) {

    .dmi-hat-nachladen .paginations { display: none; }

    .dmi-mehr-laden, .dmi-related-mehr a {
        display: block;
        width: 100%;
        margin: 4px 0 10px;
        padding: 13px 10px;
        border: 1px solid var(--dmi-blue);
        border-radius: 5px;
        background: #fff;
        color: var(--dmi-blue);
        font-family: "Niveau Grotesk", 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.2;
        cursor: pointer;
    }
    .dmi-mehr-laden:disabled { opacity: .6; cursor: default; }
    .dmi-related-mehr { display: block; margin: 4px 0 0; }
    .dmi-related-mehr a { text-align: center; text-decoration: none; }

    .dmi-mehr-laden__stand {
        display: block;
        margin: 0 0 18px;
        font-size: 12px;
        color: #6b737b;
        text-align: center;
    }
    .dmi-mehr-laden__stand:empty { display: none; margin: 0; }
}

@media (max-width: 767px) {

    .dmi-estate-list .dmi-mobile-filter-bar {
        display: flex;
        gap: 7px;
        align-items: center;
    }
    .dmi-estate-list .dmi-mobile-filter-bar .sidebar {
        flex: 1 1 0;
        min-width: 0;
        margin: 0;
        padding: 0;
        border: 0;
        background: none;
    }
    .dmi-estate-list .dmi-mobile-filter-bar .dmi-sidebar-head,
    .dmi-estate-list .dmi-mobile-filter-bar .dmi-city p { display: none; }
    .dmi-estate-list .dmi-mobile-filter-bar .dmi-city { margin: 0; padding: 0; }
    .dmi-estate-list .dmi-mobile-filter-bar select {
        width: 100%;
        max-width: none;
        font-size: 13px;
    }

    .dmi-estate-list .dmi-estate-filter {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .dmi-estate-list .dmi-estate-filter > p {
        flex: 1 1 100%;
        margin: 0;
        font-size: 12.5px;
        line-height: 1.3;
    }
    .dmi-estate-list .dmi-estate-filter .dmi-filter-select {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 5px;
        margin: 0;
        float: none;
    }
    .dmi-estate-list .dmi-estate-filter .dmi-filter-select label {
        flex: 0 0 auto;
        margin: 0;
        font-size: 12px;
        font-weight: 500;
    }
    .dmi-estate-list .dmi-estate-filter .dmi-filter-select select {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: none;
    }

    .dmi-estate-list > h1 {
        margin: 0 0 8px;
        font-size: 1.3125rem;
        line-height: 1.25;
    }
}

@media (max-width: 767px) {

    .dmi-estate-list .dmi-estate-card__content {
        background: none;
    }
    .dmi-estate-list .dmi-estate-card__content li {
        text-align: left;
    }

    .dmi-estate-list .dmi-estate-card__title,
    .dmi-estate-list .dmi-estate-card__content,
    .dmi-estate-list .dmi-estate-card__btn {
        padding-right: 11px;
    }

    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(5),
    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__content li:nth-child(4) {
        white-space: normal;
        line-height: 1.2;
    }
}

@media (max-width: 767px) {

    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(1) {
        color: #6b737b;
        font-weight: 400;
    }

    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li.dmi-karte-afa,
    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__content li:nth-child(3) {
        color: #3d5c32;
        font-weight: 600;
    }

    .dmi-estate-list .dmi-estate-card__content .dmi-lbl { margin-right: 4px; }
}

@media (max-width: 767px) {

    .dmi-estate-list {
        display: flex;
        flex-direction: column;
    }
    .dmi-estate-list > h1               { order: 1; }
    .dmi-estate-list .dmi-mobile-filter-bar { order: 2; }
    .dmi-estate-list .dmi-estate-filter { order: 3; }
    .dmi-estate-list .park_pro          { order: 4; }

    .dmi-estate-list .dmi-mobile-filter-bar {
        margin: 0;
        padding: 8px 11px 0;
        background: #f7f9fb;
        border: 1px solid #e3e7ea;
        border-bottom: 0;
        border-radius: 6px 6px 0 0;
    }
    .dmi-estate-list .dmi-mobile-filter-bar select {
        padding: 7px 24px 7px 8px;
        height: auto;

        margin-bottom: 0;
        border: 1px solid #c3ccd6;
        border-radius: 4px;
        background-color: #fff;
    }

    .dmi-estate-list .dmi-estate-filter {
        margin: 0 0 12px;
        padding: 7px 11px 8px;
        background: #f7f9fb;
        border: 1px solid #e3e7ea;
        border-top: 0;
        border-radius: 0 0 6px 6px;
        justify-content: space-between;
        gap: 7px;
    }

    .dmi-estate-list .dmi-estate-filter > p,
    .dmi-estate-list .dmi-estate-filter .dmi-filter-select label[for="filter"],
    .dmi-estate-list .dmi-estate-filter #filter {
        display: none;
    }

    .dmi-estate-list .dmi-estate-filter .dmi-filter-select {
        flex: 0 1 auto;
        margin-left: auto;
    }

    .dmi-estate-list .dmi-estate-filter .dmi-filter-select label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .dmi-estate-list .dmi-estate-filter .dmi-filter-select:has(#filter) {
        display: none;
    }
    .dmi-estate-list .dmi-estate-filter .dmi-filter-select select {
        padding: 5px 22px 5px 7px;
        height: auto;
        font-size: 12px;
        border: 1px solid #c3ccd6;
        border-radius: 4px;
        background-color: #fff;
    }

    .dmi-estate-list .dmi-typ-pille {
        display: inline-flex;
        flex: 0 0 auto;
        border: 1px solid #c3ccd6;
        border-radius: 20px;
        overflow: hidden;
        background: #fff;
    }
    .dmi-estate-list .dmi-typ-pille a {
        padding: 6px 14px;
        font-size: 13px;
        line-height: 1.2;
        color: #33526e;
        text-decoration: none;
    }
    .dmi-estate-list .dmi-typ-pille a.an {
        background: var(--dmi-blue);
        color: #fff;
        font-weight: 600;
    }

    .dmi-estate-list .dmi-typ-pille a.an[href*="pflege"] { background: var(--dmi-green); }

    .dmi-estate-list .dmi-treffer-kurz {

        display: inline;
        flex: 0 0 auto;
        font-size: 12px;
        color: #6b737b;
        white-space: nowrap;
    }
}

.dmi-typ-pille,
.dmi-treffer-kurz,
.dmi-ub-hin { display: none; }

@media (max-width: 767px) {

    .sidebar.pflege,
    .sidebar.weitere {

        margin: 0 -12px;

        padding: 14px 29px;
        background: #fff;
        border: 0;
        border-top: 1px solid #dfe3e8;
        border-radius: 0;
        text-align: left;
    }

    .sidebar.pflege > .dmi-pflegemarke,
    .sidebar.weitere > img { display: none; }

    .sidebar.pflege ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0 6px;
        padding: 0;
        list-style: none;
    }
    .sidebar.pflege ul li {
        margin: 0;
        padding: 0;
        border: 0;
        background: none;
        font-size: 0.78125rem;
        font-weight: 400;
        line-height: 1.45;
        color: #4a545e;
        text-transform: none;
        letter-spacing: normal;
    }

    .sidebar.pflege .dmi-ub-pflegetitel {
        display: block;
        margin: 0 0 4px;
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--dmi-green);
    }

    .sidebar.pflege ul li:not(:last-child):after { content: " ·"; color: #9aa4ae; }

    .sidebar.weitere .dmi-sidebar-head { margin: 0 0 4px; }
    .sidebar.weitere .dmi-sidebar-head .dmi-sidebar-titel {
        margin: 0;
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--dmi-navy);
        line-height: 1.3;
        text-transform: none;
        letter-spacing: normal;
    }

    .sidebar.weitere .dmi-sidebar-head .dmi-sidebar-titel:before { content: none; }

    .sidebar.weitere .dmi-weitere-text,
    .sidebar.weitere .dmi-estatelist-content { display: none; }
    .sidebar.weitere .dmi-ub-mobiltext {
        display: block;
        margin: 0;
        font-size: 12.5px;
        line-height: 1.45;
        color: #4a545e;
    }

    .sidebar.pflege .dmi-btn.dmi-seitenknopf,
    .sidebar.weitere .dmi-btn.dmi-seitenknopf {
        display: inline-block;
        width: auto;
        height: auto;
        margin: 9px 0 0;
        padding: 8px 14px;
        border: 0;
        border-radius: 4px;
        background: var(--dmi-navy);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: normal;
        text-align: center;
        text-decoration: none;
        text-transform: none;
    }
    .sidebar.pflege .dmi-btn.dmi-seitenknopf { background: var(--dmi-green); }

    .sidebar.pflege .dmi-seitenknopf:after  { content: " \2197"; }
    .sidebar.weitere .dmi-seitenknopf:after { content: " \2192"; }

    .sidebar .dmi-ub-hin {
        display: block;
        margin: 6px 0 0;
        font-size: 11px;
        line-height: 1.35;
        color: #6b737b;
    }
}

.dmi-ub-mobiltext,
.dmi-ub-pflegetitel { display: none; }

@media (max-width: 767px) {

    .dmi-hero--slideshow { display: none; }

    .dmi-sticky-actions { display: none; }

    .dmi-estate-list > h1 { margin-top: 14px; }

    .sidebar.pflege .dmi-chevron-liste li::before { content: none; }

    .sidebar.pflege ul { margin: 0; }

    .dmi-mehr-laden { margin-bottom: 16px; }

    .dmi-wissen-band {
        margin-top: 0;
        padding-top: 14px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {

    .dmi-estate-list .dmi-estate-card {
        grid-template-columns: 172px 1fr;
        column-gap: 14px;
    }
    .dmi-estate-list .dmi-estate-card__title { font-size: 0.8125rem; }
    .dmi-estate-list .dmi-estate-card__title :is(h2, h3) { font-size: 1.125rem; }
    .dmi-estate-list .dmi-estate-card__content li { font-size: 13.5px; }
    .dmi-estate-list .dmi-estate-card:not(.dmi-estate-card--pflege) .dmi-estate-card__content li:nth-child(5),
    .dmi-estate-list .dmi-estate-card--pflege .dmi-estate-card__content li:nth-child(4) {
        font-size: 17px;
    }
    .dmi-estate-list .dmi-estate-card__btn a { font-size: 13px; }

    .dmi-estate-list > h1 { font-size: 1.5rem; }
    .dmi-estate-list .dmi-mobile-filter-bar select { font-size: 14px; }
    .dmi-estate-list .dmi-typ-pille a { font-size: 14px; padding: 7px 18px; }
    .dmi-estate-list .dmi-treffer-kurz { font-size: 13px; }
    .dmi-estate-list .dmi-estate-filter .dmi-filter-select select { font-size: 13px; }

    .sidebar.pflege ul li,
    .sidebar.weitere .dmi-weitere-text,
    .sidebar.weitere .dmi-estatelist-content p { font-size: 0.875rem; }
    .sidebar.pflege ul li:first-child,
    .sidebar.weitere .dmi-sidebar-head .dmi-sidebar-titel { font-size: 1.03125rem; }
    .sidebar .dmi-ub-hin { font-size: 12px; }
    .dmi-mehr-laden { font-size: 16px; }
}

@media (min-width: 768px) {

    .dmi-pdf-download--allein .dmi-pdf-link a {
        margin-left: auto;
    }
}

.overlay .dmi-btn,
.navbar-expand-lg.navbar-light .show ul .dmi-btn,
.navbar-expand-lg.navbar-light ul .dmi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) and (max-width: 991px) {
    .dmi-footer-logo-col { display: none; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .dmi-footer-bg .row > .col-md-3.dmi-footer-offers { width: 33.333333%; }
    .dmi-footer-bg .row > .col-md-4.dmi-footer-offers { width: 41.666667%; }
    .dmi-footer-bg .row > .col-md-2.dmi-footer-offers { width: 25%; }
}

.dmi-o1-swiper, .dmi-o1-anzeige { display: none; }
.dmi-property-details .dmi-o1-cta { display: none; }

.dmi-units-section tbody tr.dmi-unit-zeile > td {
    padding: 20px 0 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    color: #262626;
}

.dmi-units-section td.floorplan img.thumbnail { width: 60px; height: 40px; object-fit: cover;
    background: #fff; border: 1px solid #e3e8ee; }

.dmi-units-section tbody tr.dmi-unit-zeile.o1-tippbar { cursor: pointer; }
.dmi-units-section tbody tr.dmi-unit-zeile.o1-tippbar:hover > td { background: #eef4f9; box-shadow: none; }

.dmi-units-section th.dmi-units-sortierbar { cursor: pointer; user-select: none; }
.dmi-units-section th.dmi-units-sortierbar:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }

.dmi-units-section th.dmi-units-sortierbar::after { content: "\2195"; opacity: .7;
    font-size: .9em; display: inline-block; width: 1.1em; margin-left: .25em;
    text-align: center; }
.dmi-units-section th.dmi-units-sortierbar:hover::after { opacity: 1; }
.dmi-units-section th.dmi-units-sortierbar.ist-auf::after { content: "\2191"; opacity: 1; }
.dmi-units-section th.dmi-units-sortierbar.ist-ab::after { content: "\2193"; opacity: 1; }
.dmi-units-section th.dmi-units-sortierbar.ist-auf,
.dmi-units-section th.dmi-units-sortierbar.ist-ab { text-decoration: underline;
    text-underline-offset: 5px; text-decoration-thickness: 1px; }
.dmi-units-section th.dmi-units-sortierbar:focus-visible { outline: 3px solid var(--dmi-focus); outline-offset: 2px; }

.dmi-cta-box h1 .dmi-h1-verbinder { color: inherit; }

@media (max-width: 767px) {

	.dmi-property-details .dmi-hero { display: block; background: none; padding: 0; position: relative; }
	.dmi-property-details .dmi-hero .container { width: auto; max-width: none; padding: 0; margin: 0; }

	.dmi-property-details .dmi-o1-swiper { display: flex; overflow-x: auto; overflow-y: hidden;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
		scrollbar-width: none; height: min(46vh, 340px); }
	.dmi-o1-swiper::-webkit-scrollbar { display: none; }

	.dmi-o1-bild { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }

	.dmi-o1-bild img[width][height] { width: 100%; height: min(46vh, 340px);
		object-fit: cover; object-position: 50% 62%; display: block; }

	.dmi-property-details .dmi-o1-anzeige { display: block; position: absolute;
		top: calc(min(46vh, 340px) - 100px); left: 0; right: 0; text-align: center;
		text-shadow: 0 1px 3px rgba(0,0,0,.65); pointer-events: none; z-index: 2; }
	.dmi-o1-punkte i { display: inline-block; width: 6px; height: 6px; border-radius: 50%;
		background: rgba(255,255,255,.55); margin: 0 2px; vertical-align: middle; }
	.dmi-o1-punkte i.aktiv { background: #fff; }
	.dmi-o1-zaehler { color: #fff; font-size: 11px; margin-left: 7px; vertical-align: middle; }

	.dmi-property-details .dmi-hero .dmi-cta-box { width: auto; height: auto;
		margin: -76px 14px 0; padding: 14px 16px 15px; background: #fff; border-radius: 10px;
		box-shadow: 0 4px 18px rgba(0,0,0,.18); position: relative; z-index: 3; }
	.dmi-property-details .dmi-hero .dmi-cta-box__text { padding: 0; }
	.dmi-property-details .dmi-hero .dmi-cta-box__text h1 { font-size: 1.5rem; line-height: 1.2;
		color: #434343; padding: 0 0 0 10px; margin: 0 0 10px;
		border-left: 4px solid var(--dmi-blue); }
	.dmi-property-details .dmi-hero .dmi-cta-box__text h1:before { display: none; }

	.dmi-cta-box h1 .dmi-h1-verbinder { display: none; }
	.dmi-cta-box h1 .dmi-h1-ort { display: block; }
	.dmi-cta-box h1 .dmi-h1-ort--bei { display: inline; white-space: nowrap; }

	.dmi-property-details .dmi-hero .dmi-cta-box__text ul { display: none; }
	.dmi-property-details .dmi-hero .dmi-sold-badge { position: static; display: inline-block;
		margin-bottom: 8px; }

	.dmi-property-details .dmi-hero .dmi-estate-card__content { padding: 0; margin: 0; background: none; }
	.dmi-property-details .dmi-hero .dmi-estate-card__content ul { padding: 0; margin: 0; }
	.dmi-property-details .dmi-hero .dmi-estate-card__content li,
	.dmi-property-details .dmi-hero .dmi-estate-card__content li:first-child {
		display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
		padding: 7px 0; margin: 0; border-top: 0; border-bottom: 1px solid #eef1f4;
		font-size: 15px; }
	.dmi-property-details .dmi-hero .dmi-estate-card__content li:last-child { border-bottom: 0; }

	.dmi-property-details .dmi-hero .dmi-estate-card__content li > span { width: auto;
		text-align: right; font-weight: 500; }

	.dmi-property-details .dmi-hero .dmi-estate-card__content li:nth-child(2),
	.dmi-property-details .dmi-hero .dmi-estate-card__content li:nth-child(3) { display: none; }

	.dmi-property-details #objekt-bilder { display: none; }

	.dmi-units-section .dmi-units-thead { display: none; }
	.dmi-units-section table,
	.dmi-units-section tbody { display: block; width: 100%; }
	.dmi-units-section .table-striped tbody tr { background: #fff; }
	.dmi-units-section tbody tr.dmi-unit-zeile {
		display: grid;

		grid-template-columns: 64px auto auto 1fr auto;
		grid-template-areas: "bild nr lage zimmer flaeche"
		                     "bild preis preis preis status";
		grid-auto-rows: min-content; align-content: center;
		gap: 5px 12px; align-items: center;
		margin: 0 0 8px; padding: 10px 12px;

		background: var(--dmi-bg-light);
		border: 1px solid #dde6ee; border-radius: 10px; }

	.dmi-units-section tbody tr.dmi-unit-zeile > td {
		display: block; border: 0; padding: 0; background: none; box-shadow: none;
		text-align: left; }
	.dmi-units-section tbody tr.dmi-unit-zeile > td.floorplan {
		grid-area: bild; }

	.dmi-units-section tbody tr.dmi-unit-zeile > td.floorplan img.thumbnail {
		width: 64px; height: auto; object-fit: fill; border-radius: 5px; display: block;
		background: #fff; border: 1px solid #e3e8ee; }
	.dmi-units-section tbody tr.dmi-unit-zeile > td.floorplan { align-self: center; }

	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(1) {
		grid-area: nr; font-size: 15px; font-weight: 700; color: var(--dmi-text);
		justify-self: start; white-space: nowrap; }
	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(1)::before {
		content: "WE "; font-weight: 500; color: var(--dmi-text-muted); }

	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(2) { grid-area: lage; }
	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(3) { grid-area: zimmer; }
	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(2),
	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(3) {
		font-size: 13px; font-weight: 500; color: var(--dmi-text-muted);
		align-self: center; justify-self: start; white-space: nowrap; }
	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(2):not(:empty)::before {
		content: "· "; }
	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(3):not(:empty)::before {
		content: "· "; }
	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(3):not(:empty)::after {
		content: " Zimmer"; }
	.dmi-units-section tbody tr.dmi-unit-zeile > td:empty { display: none; }

	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(4) {
		grid-area: flaeche; font-size: 13px; color: var(--dmi-text-muted); text-align: right;
		white-space: nowrap; }
	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(6) {
		grid-area: preis; font-size: 15px; }

	.dmi-units-section tbody tr.dmi-unit-zeile > td:nth-child(7) {
		grid-area: status; justify-self: end; align-self: center;
		font-size: 11.5px; line-height: 1; color: var(--dmi-text-muted);
		background: #fff; border: 1px solid #e3e8ee; border-radius: 20px; padding: 4px 9px;
		white-space: nowrap; }
	.dmi-units-section tbody tr.dmi-unit-zeile.available > td:nth-child(7) {
		background: #eaf4ec; border-color: #cfe3d4; color: #2f6b3d; }
	.dmi-units-section tbody tr.dmi-unit-zeile.sold > td:nth-child(7),
	.dmi-units-section tbody tr.dmi-unit-zeile.reserved > td:nth-child(7) {
		background: #fdeeee; color: var(--dmi-red); }
	.dmi-units-section tbody tr.dmi-unit-zeile.o1-tippbar:active { background: #eef4f9; }

	.dmi-units-section tbody tr.dmi-unit-zeile.o1-verborgen { display: none; }

	.dmi-units-mehr { margin: 2px 0 6px; }

	.dmi-property-details .dmi-property-slider { display: none; }

	.dmi-property-details .dmi-o1-cta { display: block; margin-top: 11px; }

	.dmi-property-details .dmi-inquiry-col.dmi-inquiry-col--desktop { display: flex; gap: 13px;
		align-items: stretch; margin: 20px 0 8px; padding: 11px 13px;
		border: 1px solid #e3e8ee; border-radius: 10px; background: #fff; }

	.dmi-property-details .dmi-inquiry-col--desktop img.user_img { width: 54px; height: auto;
		align-self: stretch; object-fit: cover; object-position: center top;
		border-radius: 8px; flex: none; }
	.dmi-property-details .dmi-inquiry-col--desktop .dmi-inquiry-content { padding: 0;
		width: auto; text-align: left; flex: 1 1 auto; min-width: 0;
		display: flex; flex-direction: column; justify-content: center; }
	.dmi-property-details .dmi-inquiry-col--desktop .dmi-inquiry-content .dmi-inquiry-titel { display: none; }
	.dmi-property-details .dmi-inquiry-col--desktop .dmi-inquiry-content > p { font-size: 0.75rem;
		color: var(--dmi-text-muted); margin: 0; padding: 0; line-height: 1.35; }
	.dmi-property-details .dmi-inquiry-col--desktop .dmi-contact-badge img { display: none; }

	.dmi-property-details .dmi-inquiry-col--desktop .dmi-contact-badge p { font-size: 15px;
		font-weight: 500; color: var(--dmi-text); line-height: 1.35; padding: 0;
		margin: 5px 0 7px 0; }
	.dmi-property-details .dmi-inquiry-col--desktop .dmi-contact-badge a { font-size: 17px;
		line-height: 1.25; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }

	.dmi-property-details .dmi-inquiry-col--desktop .dmi-contact-badge a::before { content: "";
		width: 19px; height: 19px; flex: none;
		background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23127aa8"><path d="M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z"/></svg>') center/contain no-repeat; }
}

.overlay .dmi-nav-btn-content .dmi-nav-consult {
    flex-direction: column;
    align-items: flex-start;

    padding-left: 0;
}

.overlay .dmi-nav-btn-content .dmi-nav-consult::before,
.overlay .dmi-nav-btn-content .dmi-nav-consult p::before,
.overlay .dmi-nav-btn-content .dmi-nav-consult img { display: none; content: none; }
.dmi-nav-btn-content .dmi-nav-tel-label {
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    margin: 18px 0 2px;
}
.dmi-nav-btn-content .dmi-nav-tel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    font-family: "Niveau Grotesk";
    text-decoration: none;
    white-space: nowrap;
}
.dmi-nav-btn-content .dmi-nav-tel:hover { color: #fff; text-decoration: underline; }
.dmi-nav-btn-content .dmi-nav-tel::before {
    content: "";
    width: 24px; height: 24px; flex: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z"/></svg>') center/contain no-repeat;
}
