/*
Theme Name: ImmoService01
Theme URI: http://immoservice01.de
Description: http://immoservice01.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: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 7.5rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.header .wrapper {
  max-width: 71.25rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.header .logobox img {
  height: 3.75rem;
  width: auto;
}

.header .right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Quickcontact Bereich */
.header .quickcontact {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  margin-bottom: 1.875rem;
}

.header .quickcontact .tel,
.header .quickcontact .email {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  color: #000;
  display: inline-block;
  line-height: 1.25rem;
  margin-left: 2rem;
}

.header .quickcontact .email a,
.header .quickcontact .tel a  {
  text-decoration: none;
  color: #000;
}

.header .quickcontact .email a:hover {

}

/* Icons per before */
.header .quickcontact .tel::before,
.header .quickcontact .email::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-size: contain;
  background-repeat: no-repeat;
}

.header .quickcontact .tel::before {
  background-image: url('images/icon_phone.svg');
}

.header .quickcontact .email::before {
  background-image: url('images/icon_email.svg');
}

/* Menü */
.header .mainmenu {
  margin-right: -5px;
}

.header .mainmenu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 0;
  margin: 0;
}

.header .mainmenu ul li {
  position: relative;
}

.header .mainmenu ul li a {
  text-decoration: none;
  color: #000;
  font-size: 1.125rem;
  padding: 10px 5px;
  transition: color 0.2s ease;
}

.header .mainmenu ul li a:hover,
.header .mainmenu ul li.current-menu-item > a,
.header .mainmenu ul li.current-menu-parent > a {
  color: var(--blau);
}

/* Submenüs */
.header .mainmenu ul li ul {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 999;
  min-width: 160px;
}

.header .mainmenu ul li:hover > ul {
  display: block;
}

.header .mainmenu ul li ul li a {
  padding: 10px 15px;
  display: block;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

.header .mainmenu ul li ul li a:hover {
  background-color: #f5f5f5;
  color: #4a64db;
}

/* Platzhalter unter dem Header */
body::before {
  content: "";
  display: block;
  height: 7.5rem; /* gleiche Höhe wie Header */
}


.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: 2.5rem;
  right: 0.5rem;
  z-index: 9999;
}

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


.nav-icon:hover span {
  background-color: var(--blau);
}

.nav-icon span:nth-child(1){
  top:0px;
  left: 0px;
}
.nav-icon span:nth-child(2){
  top:8px;
  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(--blau);
  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: 100%;
  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: 0.5rem;
  display: none;
  margin-top: 1rem;
}

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

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

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

.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 ****/
.footer {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  padding: 4.375rem 1rem 4.375rem;
  background-color: var(--dunkelgrau);
}

.footer * {
  color: #fff;
}

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

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

.footer .wrapper .col:last-of-type .custom-html-widget {
  display: flex;
  justify-content: space-between;

}

.footer h3 {
  margin-bottom: 1em;
  font-size: 1.5rem;
  font-weight: normal;
}

.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;
}


/**** FORMULAR ****/
/* Container für jede Zeile */
.formrow {
  display: grid;
  /* so viele 1fr-Spalten, wie .col-Children da sind */
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 20px;              /* Abstand zwischen den Spalten */
  margin-bottom: 20px;    /* Abstand zwischen den Zeilen */
}

/* Spalte im Grid */
.col {
  display: flex;
  flex-direction: column;
}

/* Label über dem Feld */
.col label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

/* Gemeinsame Styles für Input & Textarea */
.wpcf7-form-control {
  width: 100%;            /* füllt immer die volle Breite der Spalte */
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.4;
  background: #f5f5f5;
  border: 1px solid #dfdfdf;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-top: 0.4rem;
}

/* Hover- & Focus-Effekte */
.wpcf7-form-control:hover {
  border-color: #333;
}
.wpcf7-form-control:focus {
  outline: none;
  border-color: var(-blau);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}


/* Button nur bis 500 px breit und zentriert */
.wpcf7-form-control.wpcf7-submit {
  display: block;         /* damit margin auto wirkt */
  width: 100%;            /* füllt bis zum max-width */
  max-width: 500px;       /* maximal 500 px breit */
  margin: 0 auto;         /* horizontal zentrieren */
  box-sizing: border-box; /* Padding und Border mitrechnen */
}

input[type="submit"].wpcf7-form-control {
  background:var(--blau);
  border-radius: 8px;
  color: #fff;
  border: 0;
  transition: all 0.2s;
}

input[type="submit"].wpcf7-form-control:hover {
  background:var(--dunkelgrau);
  border:0;
  cursor: pointer !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;
}





.simpleintrocontainer404 {
  position: relative;
  background: #000;
}

.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;
}



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

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

  .footer .wrapper {
    width: 100%;
  }
}

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

}

@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 .right {
    margin-right: 4rem;
  }

  .header .quickcontact {
    flex-direction: column;
    margin-bottom: 0;
    gap: 14px;
  }

  .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 > li {
    border-bottom: 0;
  }

  .mobilemenu .menubutton {
    display: none;
  }




  .footer {
    padding: 2.375rem 1rem 1rem;
  }

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

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

}

@media only screen and (max-width: 767px) {
  .header .right {
    display: none;
  }

  .header,body::before {
    height: 3.5rem;
  }

  .header .logobox img {
    height: 2.5rem;
  }

  .nav-icon {
    top: 0.5rem;
  }

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

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

  .formrow {
    grid-template-columns: 1fr;
  }
}

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

}