/*
Theme Name: Windorf
Theme URI: https://windorf.de
Description: https://windorf.de
Version: 0.1
*/

body {
  min-height: 80vh;
}

.cut-top-left {
  position: relative;
  overflow: hidden;
}

.cut-top-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px; /* Größe der weißen Ecke */
  height: 200px;
  background: white;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
  pointer-events: none;
}

.cut-corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  background: white;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 100;
  pointer-events: none;
}


/**** HEADER ****/
.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 3.25rem;
  padding: 0rem;
}

.wrapper {
  width: 87.5rem;
  display: block;
  position: relative;
  margin: 0 auto;
}

.header .wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  background: var(--ciblau);
  z-index: 50;
}

.header .opticalfix {
  width: 50vw;
  height: 100%;
  background: var(--ciblau);
  position: absolute;
  right: 0;
  top: 0;
}

.logobox {
  height: 18.75rem;
  width: 18.75rem;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--ciblau);
}

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

.logobox a img {
  height: 100%;
  width: auto;
}

.mainmenu {
  margin: 0 0 0 auto;
}

.mainmenu ul {
  display: flex;
  align-items: center;
}

.mainmenu li {
  margin: 0 1rem;
}

.mainmenu li:last-of-type {
  margin: 0 0 0 1rem;
}

.mainmenu a {
  display: inline-block;
  line-height: 1em;
  font-size: 1.125rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
}

.mainmenu a:hover,
.mainmenu .current-menu-item a{
  color: #fff;
  text-decoration: underline;

}

.mobilemenu {
  display: none;
}



/****** MOBILE MENU *****/
/* nav-icon-5 */
.nav-icon {
  width: 32px;
  height: 20px;
  margin: 10px 10px;
  position: fixed;
  cursor: pointer;
  display: inline-block;
  top: 0.4rem;
  right: 0.5rem;
  z-index: 9999;
}

.nav-icon span{
  background-color:#fff;
  position: absolute;
  border-radius: 0px;
  transition: .3s cubic-bezier(.8, .5, .2, 1.4);
  width:100%;
  height: 2px;
  transition-duration: 200ms
}/* Vector */


.nav-icon:hover span {
  background-color: #fff;
}

.nav-icon span:nth-child(1){
  top:0px;
  left: 0px;
}
.nav-icon span:nth-child(2){
  top:9px;
  left: 0px;
  opacity:1;
}
.nav-icon span:nth-child(3){
  bottom:0px;
  left: 0px;
}
/*
.nav-icon:not(.aktiv):hover span:nth-child(1){
  transform: rotate(-3deg) scaleY(1.1);
}
.nav-icon:not(.aktiv):hover span:nth-child(2){
  transform: rotate(3deg) scaleY(1.1);
}
.nav-icon:not(.aktiv):hover span:nth-child(3){
  transform: rotate(-4deg) scaleY(1.1);
}*/
.nav-icon.aktiv span:nth-child(1){
  transform: rotate(45deg);
  top: 9px;
}
.nav-icon.aktiv span:nth-child(2){
  opacity:0;
}
.nav-icon.aktiv span:nth-child(3){
  transform: rotate(-45deg);
  top: 9px;
}

.nav-icon.aktiv span {
  width: 80%;
}
/*** NAV ICON ENDE ***/

body.noscroll {
    overflow: hidden;
  }

.mobile {
  display: none;
}

.mobilemenu {
  position: fixed;
  left: 0;
  top: 0rem;
  width: 100%;
  height: 100vh;
  background: var(--ciblau);
  padding: 4rem 1.5rem 5rem;
  box-sizing: border-box;
  overflow-y: scroll;
  overflow-x: hidden;
  z-index: 1000;
}

.mobilemenu .menucontainer ul {
  display: block;
  margin-right: 0;
  width: calc(100% - 14rem);
  margin-left: auto;
}

.mobilemenu li  {
  font-size: 1.25rem;
  position: relative;
  float: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 1rem;
}

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

.mobilemenu li.current-menu-item a {
  
}

.mobilemenu li.rootitem a:first-of-type {
  padding: 1rem;
  border-bottom: 1px solid var(--grau);
  display: block;
}

.mobilemenu .menucontainer li ul.sub-menu {
  position: relative;
  box-shadow: unset;
  padding: 0;
  width: 100%;
  max-width: 100%;
  padding-left: 2rem;
  display: none;
}

.mobilemenu .menucontainer li .sub-menu li a {
  margin-bottom: 0;
}

.mobilemenu .sub-menu {
  display: none;
}

.mobilemenu .menudropdown {
  position: absolute;
  width: 4rem;
  height: 55px;
  top: 0;
  right: 0;
  background-color: var(--grau);
  background-image: url(images/icon_downarrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem;
}

.mobilemenu .menu-item-menu-item-has-children {
  background: transparent !important;
}

.toggledmenu .menudropdown,
.toggledmenu .sub-menu .toggledmenu .menudropdown {
  transform: rotate(180deg);
}

.toggledmenu .sub-menu .menudropdown {
  transform: none;
}

.menudropdown:hover {
  cursor: pointer;
}

.mobilemenu.aktiv {
  display: block;
}

.mobilemenu .menucontainer .menu-item-has-children::after {
  display: none;
}

/**** FOOTER ****/
.prefooter {
  display: block;
  width: 100%;
  border-top: 2px solid var(--ciblau);
}

.prefooter .wrapper div {
  display: flex;
  justify-content: space-between; /* verteilt Elemente gleichmäßig */
  align-items: center; /* vertikal zentriert */
  padding: 3rem 0;
  width: 87.5rem;
  margin:0 center;
}

.prefooter .wrapper img, .prefooter .wrapper a {
  width: 248px;
  height: auto;
  text-align: center;
  display: block;
}


.footer {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  padding: 4.375rem 1rem 1rem;
  background-color: var(--ciblau);
  background-image: url(images/bg_windorf_footer.png);
  background-position: 8vw 4.375rem;
  background-repeat: no-repeat;
}

.footer * {
  color: #fff;
}

.footer .wrapper {
  width: 87.5rem;
  margin: 0 auto 12rem;
  display: flex;
  flex-flow: row;
  align-items: flex-start;
}

.footer .wrapper .col {
  width: 25%;
}

.footer h3 {
  margin-bottom: 1em;
}

.footer .col .menu li {
  margin-bottom: 0.5rem;
}

.footermenu {
  max-width: 87.5rem;
  margin: 2rem auto 0;
  text-align: right;
}

.footer ul {
  display: inline-block;
}

.footer .footermenu ul li {
  display: inline-block;
}

.footer .footermenu ul li:after {
  display: inline-block;
  content: '|';
  margin:0 0.5rem;
}

.footer .footermenu ul li:last-of-type:after {
  display: none;
}

.footer ul a {
  text-decoration: none;
}

.footer ul a:hover {
  text-decoration: underline;
}



@media (max-width: 768px) {

}

/**** ALLG ****/
.light h1,
.light h2,
.light h3,
.light h4 {
  color: #fff;
}


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


/**** WIDGET STYLES****/
/**** ALLG ****/
.menubutton a, .lightbtn {
  border: 1px solid #000;
  text-transform: none;
  transition: all 0.2s;
  padding: 0.75rem 2.5rem;
}

.menubutton a:hover, .lightbtn_hover {
  background: #000;
  color: #fff;
  text-transform: none;

}



.bluebtn {
    background-color: rgb(0,159,227);
    border:1px solid rgb(0,159,227);
}

.bluebtn:hover {
    background-color: rgba(255,255,255,0.9);
    border:1px solid rgba(0,159,227,0.5);
    color:rgb(0,159,227);
}

.redbtn {
    background-color: rgb(217,35,42);
    border:1px solid rgb(217,35,42);
}

.redbtn:hover {
    background-color: rgba(255,255,255,0.9);
    border:1px solid rgba(217,35,42,0.5);
    color:rgb(217,35,42);
}

.greybtn {
    background-color: #fff;
    border:1px solid #757575;
    color: #757575;
}

.greybtn:hover {
    border:1px solid var(--dunkelgraublau);
    color:var(--dunkelgraublau);
}

.greybtn2 {
    background-color: #fff;
    border:0;
    color: #757575;
}

.greybtn2:after {
  content: ">";
  display: inline-block;
  margin-left: 0.5rem;
}

.greybtn2:hover {
    border:0;
    color:var(--dunkelgraublau);
}

.wrapper.flex {
    display: flex !important;
}




/**** DROPDOWN ****/
.selectize-input,
.selectize-input.input-active,
.selectize-input.focus {
  border: 0;
  padding: 0.5rem !important;
  display: inline-block;
  width: 100%;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  box-shadow: none;
  border-bottom: 1px solid #000;
  border-radius: 0;
}

.selectize-input.input-active {
  border-bottom: 1px solid var(--blau);
}

.selectize-dropdown {
  margin: 0px 0 0 0;
  box-shadow: none;
  border-radius: 1rem;
  overflow: hidden;
}

.selectize-dropdown [data-selectable].option {
   font-family: 'Wuerth-DemiBold';
   font-size: 1.1rem;
  font-weight: 400;
  padding: 0.5rem 1rem;
}

.selectize-input .item {
  font-family: 'Wuerth-DemiBold';
  font-size: 1.1rem;
  line-height: 1.5rem;
}

/**** FORMULARE ****/
.form-group  {
  position: relative;
  margin: 0 0 20px 0;
  width: 100%;
}

.flex.col2 .form-group.col {
  margin-bottom: 20px;
}


.form-group textarea  {
  height: 6.25rem;
}

.form-control {
  padding: 18px 12px 12px;
  width: 100%; /* Anpassung der Breite */
  box-sizing: border-box; /* Sorgt dafür, dass Padding und Border in der Breite enthalten sind */
  border: 0;
}

.form-label {
  position: absolute;
  left: 18px;
  top: 18px;
  transition: all 0.3s ease;
  pointer-events: none;
  color: grey;
}

.form-control:focus + .form-label,
.form-control:not(:empty) + .form-label {
  top: -10px;
  background-color: white;
  padding: 0 5px;
  font-size: 12px;
}



.simpleintrocontainer404 {
  position: relative;
  background:var(--ciblau);
  margin-top: 25rem;
  height: 36rem;
}

.simpleintrocontainer404 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
}

.simpleintrocontainer404 .content {
  position: absolute;
  width: 72rem;
  bottom: 20vh;
  color: #fff;
  left: 50%;
  margin-left: -36rem;
}

.simpleintrocontainer404 .content * {
  color: #fff;
  text-shadow: var(--shadow);
}

.simpleintrocontainer404 li {
  background: url(images/icon_liste_white.png) 0px 6px no-repeat;
}

/**** IMMOCARDS ****/
.nl-estatecards {
  margin-top: -13rem;
}

.nl-estatecards.nl-estatelist {
  margin-top: 0;
}

.nl-estatecards.card-container {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
  
}

.nl-estatecards .card {
  color: #fff;
  overflow: hidden;
  flex: 0 0 calc((100% - 2 * 100px) / 3); /* 3 Karten, 2 Gaps à 100px */
  display: flex;
  flex-direction: column;
  
}

.nl-estatecards .image-wrapper {
  height: 240px;
  clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%, 0 80px);
  overflow: hidden;
}


.nl-estatecards .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nl-estatecards .card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ciblau);
}

.nl-estatecards .card h3 {
  margin: 0 0 15px 0;
  font-size: 1.1rem;
  color: #fff;
  font-weight: bold;
}

.nl-estatecards ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.95rem;
}

.nl-estatecards ul li {
  margin-bottom: 8px;
  padding-left: 45px;
  background-repeat: no-repeat;
  background-size: 30px 30px;
  background-position: 0 2px;
  line-height: 34px;
}

.nl-estatecards .icon-house {
  background-image: url('images/icon_typ.png');
}

.nl-estatecards .icon-key {
  background-image: url('images/icon_vermarktung.png');
}

.nl-estatecards .icon-location {
  background-image: url('images/icon_ort.png');
}

.nl-estatecards .icon-size {
  background-image: url('images/icon_size.png');
}

.nl-estatecards .icon-price {
  background-image: url('images/icon_preis.png');
}

.nl-estatecards .icon-type {
  background-image: url('images/icon_typ.png');
}

.nl-estatecards .icon-rooms {
  background-image: url('images/icon_zimmer.png');
}






.nl-estatecards .button {
  background-color: #2196f3;
  color: white;
  padding: 10px 0;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  font-weight: bold;
  transition: background-color 0.2s ease;
  display: block;
}

.nl-estatecards .button:hover {
  background-color: #1976d2;
}

.nl-filter-dropdowns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0px 0 4rem;
  flex-wrap: wrap;
  margin-top: -12rem;
}

.nl-filter-dropdown {
  position: relative;
  flex: 1 1 22%;
  min-width: 180px;
}

.nl-filter-dropdown .dropdown-toggle {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid #223344;
  padding: 10px;
  text-align: left;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
}

.nl-filter-dropdown .arrow {
  float: right;
}

.nl-filter-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  width: 100%;
  padding: 10px;
  max-height: 220px;
  overflow-y: auto;
}

.nl-filter-dropdown.open .dropdown-menu {
  display: block;
}

.nl-filter-dropdown .dropdown-menu label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.nl-filter-dropdown .dropdown-menu input[type="checkbox"] {
  margin-right: 6px;
}

.nl-no-results {
  padding: 20px;
  background: #fdf4f4;
  border: 1px solid #ffdcdc;
  color: #aa0000;
  border-radius: 6px;
  font-weight: 500;
}



    .steplist ol {
      counter-reset: step;
      list-style: none;
      padding: 0;
      margin: 0;
      position: relative;
    }

    .steplist ol li {
      counter-increment: step;
      position: relative;
      padding-left: 70px;
      padding-bottom: 30px; /* Abstand zum nächsten Kreis */
      min-height: 60px; /* mindestens Kreisgröße + Puffer */
      font-size: 1.5rem;
    }

    .steplist ol li::before {
      content: counter(step);
      position: absolute;
      left: 0;
      top: 0;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: white;
      border: 2px solid #2c3e50;
      color: #2c3e50;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 1rem;
    }

.steplist ol li::after {
  content: '';
  position: absolute;
  left: 19px; /* Mitte des Kreises */
  top: 40px; /* direkt unter dem Kreis starten */
  width: 2px;
  height: 100%;
  background: #2c3e50;
  z-index: -1; /* hinter dem Kreis */
}

    .steplist ol li:last-child::after {
      display: none;
    }

#wptb-table-id-516 td:nth-child(1) {
  width: calc(100% - 39rem);
}
#wptb-table-id-516 td:nth-child(2),
#wptb-table-id-516 td:nth-child(3),
#wptb-table-id-516 td:nth-child(4) {
  width: 13rem;
  text-align: center;
}

#wptb-table-id-516 img {
  width: 30px  !important;
  height: 30px !important;
  margin: 0 auto;
}

#wptb-table-id-516 tr:first-of-type * {
  font-weight: bold;
}

/* Grundlayout */
.wpcf7-form {
  background: #f3f3f3;
  padding: 2rem 2rem 0;
}

.wpcf7-form .formrow {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.wpcf7-form .formrow.three-cols .col {
  flex: 1 1 calc(33.333% - 13.33px); /* 3 Spalten */
}

.wpcf7-form .formrow .col {
  display: flex;
  flex-direction: column;
}

.wpcf7-form label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #142540;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  padding: 12px;
  border: 0;
  border-radius: 0px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
}

/* Dropdown-Styling */
.wpcf7-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

/* Textarea */
.wpcf7-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Checkbox-Zeile */
.wpcf7-form .checkbox-row {
  font-size: 14px;
  display: flex;
  align-items: center;
}

.wpcf7-form .checkbox-row input[type="checkbox"] {
  margin-right: 10px;
}

/* Submit-Button */
.wpcf7-form .btn.btn-submit {
  background-color: #142540;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 2px;
  transition: background-color 0.3s ease;
  box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.5);
}

.wpcf7-form .btn.btn-submit:hover {
  background-color: #3CA5F8;
}

/* Breitensteuerung für spezielle Felder */
.wpcf7-form .col-2 {
flex: 0 0 calc(((100% - 40px) / 3) * 2 + 20px);
  max-width: calc(((100% - 40px) / 3) * 2 + 20px);
}

.wpcf7-form .col-12 {
  flex: 0 0 100%;
}

/* Damit textarea bei .col-12 nicht schrumpft */
.wpcf7-form .col-12 textarea {
  width: 100%;
}


/************ IMMO DETAIL *****/
.nl-immo-main {
  display: block;
  width: 100%;
  height: 100%;
}

.nl-immo-main img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.nl-immo-images {
  height: 50rem;
}

.nl-immo-thumbs {
  position: absolute;
  bottom: 0;
  width: 1400px;
  margin-left: 50%;
  left: -700px;
  padding-left: 320px;
display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: 12px;
    padding-bottom: 20px;
}


.nl-immo-thumbs picture {
    flex: 1 1 0;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0px 8px #000;
    border: 2px solid #fff;
}

.nl-immo-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.nl-immo-thumb-counter {
    width: 60px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #142540;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0px 8px #000;
}

        .immotitle {
            text-align: center;
            margin: 4.5rem 0 3rem;
            padding: 0 1rem;
        }

        .nl-immo-detail-wrapper {
            background:#e0e9ed;
            padding:3rem 1rem;
        }

        .nl-immo-detail-wrapper .wrapper {
            display: flex;
        }

        .nl-immo-detail-grid {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            line-height: 1.3em;
        }

        .nl-immo-detail-row {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
        }

        .nl-immo-detail-row .label {
            font-weight: bold;
            width: 50%;
        }

        .nl-immo-detail-row .value {
            width: 50%;
        }

        .nl-immo-detail-left,.nl-immo-detail-right {
            width: 50%;
        }

        .nl-immo-section {
            width: 60rem;
            margin: 0 auto;
        }

        .nl-immo-section h2 {
            display: block;
            text-align: center;
            margin-bottom:2rem;
        }

        .nl-immo-lage .flexwrapper {
            display: flex;
        }

        .nl-immo-lage .nl-immo-content, .nl-immo-lage #nl-immo-map {
            width: 50%;
            padding: 0 1rem;
        }

        .nl-immo-detail-right .wpcf7-form {
            padding: 0;
            background: transparent;
        }

        .nl-immo-detail-right .wpcf7-form textarea {
            font-family:"Montserrat" ;
        }

        .nl-immo-detail-wrapper h3 {
            margin-bottom: 1rem;
        }

.button {
  background-color: #142540;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 2px;
  transition: background-color 0.3s ease;
  box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.5);
}

.button:hover {
  background-color: #3CA5F8;
}

.nl-load-more {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .wpcf7-form .formrow {
    flex-direction: column;
    gap: 16px;
  }

  .wpcf7-form .formrow .col,
  .wpcf7-form .formrow .col-2,
  .wpcf7-form .formrow .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 1440px) {
  .wrapper {
    width: 100%;
  }

  .header .wrapper {
    padding: 0 1rem;
  }

  .header .opticalfix {
    display: none;
  }

  .footer {
    background-position: -15vw 4.375rem;
  }

  .footer .wrapper,
  .prefooter .wrapper div {
    width: 100%;
  }

  .prefooter .wrapper div {
    padding: 0 1rem;
  }

  .nl-estatecards.card-container {
    gap: 40px;
  }

  .nl-estatecards .card {
    flex: 0 0 calc((100% - 2 * 40px) / 3);
  }

  .nl-immo-thumbs {
    width: calc(100% - 2rem);
    left: -50%;
    transform: translateX(0%);
  }
}

@media only screen and (max-width: 83.5rem) {
  .mainmenu li {
    margin: 0 0.75rem;
  }

  .mainmenu a {
    font-size: 1rem;
  }

  .logobox {
    height: 14rem;
    width: 14rem;
  }

  .prefooter .wrapper img {
    width: 20%;
  }


}

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

}

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

}

@media only screen and (max-width: 30.5rem) {

}

@media only screen and (max-width: 1024px) {
  .header {
    position: fixed;
  }

   .logobox {
    height: 8rem;
    width: 8rem;
  }

  .mainmenu li {
    display: none;
  } 

  .mainmenu li.menubutton {
    display: block;
  } 

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

  .mobilemenu .menucontainer li.toggledmenu > ul.sub-menu,
  .mobilemenu .menucontainer li.toggledmenu ul.sub-menu .toggledmenu > .sub-menu,
  .mobilemenuonly {
    display: block;
  }

  .mobilemenu .toggledmenu .sub-menu .sub-menu {
    display: none;
  }

  .menucontainer li .sub-menu {
    background: #fff;
  }

  .menucontainer li .sub-menu > li {
    border-bottom: 0;
  }

  .mobilemenu .menubutton {
    display: none;
  }

  .footer {
    padding: 2.375rem 1rem 1rem;
    background-position: -15vw 170%;
  }

  .footer .wrapper .col {
    width: 50%;
    margin-bottom: 2rem;
  }

  .footer .wrapper {
    flex-wrap: wrap;
  }

  .nl-estatecards .card {
    flex: 0 0 calc((100% - 2 * 40px) / 2);
  }

  .nl-immo-section {
    width: 100%;
    padding: 0 1rem;
  }

  .nl-immo-lage .nl-immo-content {
    padding-left: 0;
  }

  .nl-immo-detail-wrapper .wrapper {
    flex-wrap: wrap;
  }

  .nl-immo-detail-left, .nl-immo-detail-right {
    width: 100%;
  }

  .nl-immo-detail-left {
    margin-bottom: 2rem;
  }

  .nl-immo-images {
    height: 50vw;
  }
}

@media only screen and (max-width: 767px) {
  .footer .wrapper .col {
    width: 100%;
  }

  .footer {
    background-position: -15vw 130%;
  }

  .prefooter .wrapper img, .prefooter .wrapper a {
    width: 33.3333%;
  }

  .prefooter .wrapper div {
    flex-wrap: wrap;
    justify-content: center;
  }

   .nl-estatecards .card {
    flex: 0 0 100%;
  }

  .nl-immo-lage .nl-immo-content, .nl-immo-lage #nl-immo-map {
    width: 100%;
    padding: 0;
  }

  .nl-immo-content {
    margin-bottom: 2rem;
  }

  .nl-immo-lage .flexwrapper {
    display: block;
  }

  .nl-immo-images {
    height: 40vh;
  }

  .thumbcontainer {
    display: none;
  }

  .countercontainer {
    display: block;
    margin-left: auto;
  }
}

@media only screen and (max-width: 600px) {
  .logobox {
    height: 8rem;
    width: 8rem;
  }

  .mobilemenu .menucontainer ul {
    width: calc(100% - 8rem);
  }
}

@media only screen and (max-width: 411px) {
  .nl-filter-dropdowns {
    margin-top: -16rem;
  }
}

