html {
  scroll-behavior: smooth;
}

div {
  scroll-margin-top: 140px;
}
p:last-child {
  margin-bottom: 0;
}
form p,
form p:last-child {
  margin-bottom: 20px;
}

input {
  accent-color: var(--primary);
}
a {
  transition: 250ms;
}

a[href^="tel:"] {
  cursor: default;
}

.vc_row {
  margin-bottom: 80px;
}
.section--bg {
  background-color: var(--grey-200);
  padding-top: 60px;
  padding-bottom: 70px;
}
.section--bg .thumb-info-caption-text {
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 25px;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--primary);
}

.btn-transparent {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 36px;
  border-radius: 99px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-transparent:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn-transparentblue {
  background-color: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 36px;
  border-radius: 99px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-transparentblue:hover {
  background-color: var(--primary);
  color: #fff;
}
.video-player-for-wpbakery {
  padding-top: 0 !important;
}

ol,
ul {
  padding-left: 1rem;
}

/*
 *  MODULES
*/

.modul--wrapper h2 {
  text-transform: none;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
}
.immo-headline {
  display: inline-block;
  padding: 0 120px;
  overflow: hidden;
  position: relative;
  margin-bottom: 48px;
}
.immo-headline span {
  display: inline-block;
  padding: 0 20px;
  position: relative;
  vertical-align: baseline;
  letter-spacing: -0.05em;
}
.immo-headline span::before {
  height: 9px;
  margin-top: -4.5px;
  right: 100%;
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  width: 1160px;
  background-attachment: scroll;
  background-repeat: repeat-x;
  background-position: center center;
  background-image: url("/wp-content/themes/immo-buettner/assets/images/layout/dividerheadline.png") !important;
}
.immo-headline span::after {
  margin-top: -4.5px;
  height: 9px;
  left: 100%;
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  width: 1160px;
  background-attachment: scroll;
  background-repeat: repeat-x;
  background-position: center center;
  background-image: url("/wp-content/themes/immo-buettner/assets/images/layout/dividerheadline.png") !important;
}

.modul--wrapper h3 {
  font-size: 18px;
  line-height: 22px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  width: max-content;
  max-width: 100%;
  padding-left: 80px;
  margin-bottom: 6px;
}

.modul--wrapper h3::before {
  content: "";
  display: block;
  width: 74px;
  height: 22px;
  position: absolute;
  left: 0;
  top: 0;
  background-image: url("/wp-content/themes/immo-buettner/assets/images/layout/stroke-blue.png");
  background-size: cover;
  background-position: center center;
}

.modul--wrapper.fontcolor-light h3 {
  color: #d8dbdc;
}
.modul--wrapper.fontcolor-light h3::before {
  background-image: url("/wp-content/themes/immo-buettner/assets/images/layout/stroke-light.png");
}
.modul--wrapper.fontcolor-light h2 {
  color: #fff;
}

.modul--wrapper.text-center h3 {
  margin-left: auto;
  margin-right: auto;
}
.modul-dividerimage,
.modul-DividerCounter {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  margin: 0 !important;
  background-position: center center !important;
}
.modul-DividerCounter {
  box-shadow: 0 0 9999px 9999px rgba(0, 0, 0, 0.33) inset;
}
.modul-dividerimage .md--innercontent {
  color: #fff;
  display: flex;
  flex-flow: column;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 999;
  position: relative;
}
.modul-dividerimage .md--innercontent i {
  font-size: 72px;
  margin-bottom: 20px;
}
.modul-dividerimage .md--innercontent h2 {
  font-size: 20px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--grey-400);
  opacity: 0.85;
  font-weight: 600;
  margin-bottom: 0;
}
.modul-dividerimage .md--innercontent h3 {
  font-size: 56px;
  line-height: 1.4;
  text-transform: none;
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
}

.modul-DividerCounter .counter strong {
  margin: 16px 0 8px 0;
}
.modul-DividerCounter .counter label {
  font-weight: 500;
}

#prefooter--slider {
  margin-bottom: 100px;
}
.js-marquee-wrapper {
  display: flex;
}

.wpcf7-list-item {
  margin: 0 16px 0 0;
}

.wpcf7-list-item label {
  display: flex;
  gap: 10px;
  align-items: start;
}
.wpcf7-list-item label input {
  margin-top: 6px;
}
.form-control {
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
}
.wpcf7 textarea {
  max-height: 100px;
}

.wpcf7-radio.form-control {
  border: none;
  padding-left: 0;
  padding-right: 0;
}
.btn-modern {
  font-size: 16px;
  text-transform: none;
  border-radius: 100px;
}
.post-content .btn,
.school-selector .btn {
  border-radius: 100px;
}
#prefooter-fragen img {
  max-width: 70px;
}
#prefooter-fragen h3 {
  line-height: 2.2;
}
#prefooter-fragen .pftext {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--light-200);
  margin-bottom: 80px;
}
#prefooter-fragen .pftext .ficonwrap {
  color: var(--primary);
  border-radius: 6px;
  border: 2px solid var(--primary);
  font-size: 30px;
  margin-bottom: 0;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
}

.footerbreak {
  display: none;
}
.footerpipe {
  padding: 0 4px;
}
.footer-brand img {
  max-width: 360px;
}

.spotlight-cursor-text {
  position: relative;
  height: 400px;
  width: 100%;
  background: var(--primary);
  overflow: hidden;
}

.spotlight-cursor-text .shape {
  will-change: transform;
  position: absolute;
  top: -200px;
  left: -200px;
  border-radius: 50%;
}

.spotlight-cursor-text .shape.shape-1 {
  background: #1ea6ea;
  width: 650px;
  height: 650px;
  margin: -325px 0 0 -325px;
}

.spotlight-cursor-text .shape.shape-2 {
  background: #3cc4ff;
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
}

.spotlight-cursor-text .shape.shape-3 {
  background: #5ae2ff;
  width: 270px;
  height: 270px;
  margin: -135px 0 0 -135px;
}

.spotlight-cursor-text .content {
  top: 0;
  left: 0;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  width: 100%;
  background: var(--light);
  mix-blend-mode: screen;
}

.spotlight-cursor-text .title {
  font-size: 110px;
  line-height: 128px;
  font-weight: bolder;
  color: #000;
  margin: 0;
  text-align: center;
}

@media (max-width: 1200px) {
  .spotlight-cursor-text .title {
    font-size: 75px;
    line-height: 75px;
  }
}

@media (max-width: 767px) {
  .footerpipe {
    display: none;
  }
  .footerbreak {
    display: block;
  }
}

/* SECTION SEARCH PAGINATION
------------------------------------------------------------*/

.paginavigation {
  margin-top: 2rem;
}

.paginavigation ul {
  padding-left: 0;
}

.paginavigation li a,
.paginavigation li a:hover,
.paginavigation li.active a,
.paginavigation li.disabled {
  color: #fff;
  text-decoration: none;
}

.paginavigation li a.btn {
  font-size: 16px;
  line-height: 1;
}

.paginavigation li.btnseite {
  position: relative;
  top: -3px;
}

.paginavigation li.btnseite .btn {
  border: 0;
}

.paginavigation li {
  display: inline;
}

.paginavigation li a,
.paginavigation li a:hover,
.paginavigation li.active a,
.paginavigation li.disabled {
  background-color: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);

  border-radius: 3px;
  cursor: pointer;
  padding: 12px;
  padding: 0.75rem;
  transition: 300ms;
}

.paginavigation li a:hover,
.paginavigation li.active a {
  color: #fff;
  background-color: var(--primary);
}

.singlepost--meta {
  display: flex;
  align-items: center;
}
.blog-single-post .post-image img {
  max-width: 100%;
  max-height: 500px;
  display: block;
  margin: 0 auto;
}

.halfbackgrey .shape-divider.shape-divider-reverse-x svg path:nth-of-type(3) {
  fill: #f7f7f7;
}

.wpb_single_image.wpb_content_element {
  margin-bottom: 12px;
}

.single-post .main article .vc_row {
  margin-bottom: 10px;
}

.section--grey {
  background-color: #f7f7f7;
  padding: 60px 0;
}

#section--schooltype {
  background: var(--primary) url("/wp-content/themes/immo-buettner/assets/images/layout/bg-schooltype.png") no-repeat
    left center;
  padding-top: 80px;
  padding-bottom: 160px;
  margin-bottom: 0;
}

#section--schooltype p {
  color: #fff;
  font-size: 20px;
  line-height: 1.4;
}
#section--schooltype--flipcard {
  margin-top: -70px;
}
#section--schooltype--flipcard .wpb_wrapper {
  height: 100%;
  margin-bottom: 35px;
}
.flip-card-3d {
  overflow: hidden;
  height: 100%;
}
.flip-content {
  width: 100%;
}
.flip-front {
  height: 100%;
}

.video-player-for-wpbakery-container {
  width: 100%;
}
.video-player-for-wpbakery-container > video {
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.qs-image {
  padding: 10%;
  border: none;
  margin-bottom: 50px;
}

.qs-image::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 50px;
  background: white;
  clip-path: polygon(100% 0, 0 0, 50% 36%);
}

.qs-contentrow {
  display: flex;
  flex-flow: row;
  gap: 20px;
  margin-bottom: 28px;
}
.qs-content {
  line-height: 24px;
  color: #666;
}
.qs-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary);
  border-radius: 8px;
}
.qs-noborder {
  border: none;
}
.qs-icon i {
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  color: var(--primary);
}

.qs-content h3 {
  font-weight: 700;
  font-size: 26px;
  line-height: 32px;
  margin-bottom: 36px;
  position: relative;
}
.qs-content h3::before {
  content: "";
  display: block;
  width: 74px;
  height: 22px;
  position: absolute;
  left: 0;
  bottom: -20px;
  background-image: url("/wp-content/themes/immo-buettner/assets/images/layout/stroke-blue.png");
  background-size: cover;
  background-position: center center;
}

.accordion.accordion-modern-status.accordion-modern-status-borders > .card.accordion-lightversion .card-header a {
  background: var(--primary) !important;
  border: 1px solid #fff;
}
.accordion-lightversion .card-body {
  background: var(--primary) !important;
  color: #fff;
}
.misalignedpos {
  background-repeat: no-repeat;
  background-position-x: -4%;
  background-position-y: bottom;
}
#accordionimmo a {
  color: #fff;
}
#accordionimmo li a,
#accordionimmo .collapse a {
  text-decoration: underline;
}
#accordionimmo li a:hover,
#accordionimmo .collapse a:hover {
  text-decoration: underline;
  opacity: 0.8;
}
#accordionimmo a.btn-transparentblue {
  color: (--primary);
}
.layer--questions {
  position: relative;
  padding-top: 80px;
}
.layer--questions::before {
  background-image: url("/wp-content/themes/immo-buettner/assets/images/layout/welle.png");
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  display: block !important;
  width: 1340px;
  height: 157px;
  z-index: 222;
  left: -110px;
  top: 0;
}
.vcrfw {
  overflow: visible !important;
}
.custom-grid-1 {
  margin-top: -80px;
  position: relative;
  z-index: 99;
}
.custom-grid-1 .container {
  margin: 0 auto;
  max-width: 100% !important;
  padding: 0;
  box-shadow: 0 15px 30px -15px rgba(0, 0, 0, 0.45);
}
.custom-grid-1 .container .row {
  margin: 0;
}
.custom-grid-1 .container .row > * {
  padding: 0;
  background-color: var(--light);
  min-height: 220px;
  align-items: center;
  overflow: hidden;
}
.boxcon {
  font-size: 18px;
}
.featured-boxes.featured-boxes-flat {
  height: 100%;
  padding-bottom: 80px;
}
.featured-boxes-flat .featured-box,
.featured-boxes-flat .featured-box .box-content {
  height: 100%;
}
.featured-boxes .featured-box,
.featured-boxes-flat .featured-box .box-content {
  margin: 0;
}
@media (max-width: 991px) {
  .custom-grid-1 .container .row > * {
    border: 1px solid #e3f2fb;
  }
}
@media (min-width: 992px) {
  .custom-grid-1 .container .row > *:nth-child(1),
  .custom-grid-1 .container .row > *:nth-child(3),
  .custom-grid-1 .container .row > *:nth-child(6),
  .custom-grid-1 .container .row > *:nth-child(8) {
    background-color: #e3f2fb;
  }
}
.custom-grid-1 .custom-grid-1-item {
  position: relative;
}
.custom-grid-1 .custom-grid-1-item .custom-grid-1-img {
  transition: opacity 300ms;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.custom-grid-1 .custom-grid-1-item .custom-grid-1-img img {
  transition: transform 2s;
  will-change: transform;
  transform: scale(0.75);
}
.custom-grid-1 .custom-grid-1-item .custom-grid-1-img:after {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  opacity: 0.7;
  background-color: var(--quaternary);
}
.custom-grid-1 .custom-grid-1-item .custom-grid-1-text {
  position: relative;
  z-index: 1;
}
.custom-grid-1 .custom-grid-1-item:hover .custom-grid-1-img {
  opacity: 1;
}
.custom-grid-1 .custom-grid-1-item:hover .custom-grid-1-img img {
  transform: scale(1);
}
.custom-grid-1 .custom-grid-1-item:hover h3 {
  color: var(--light) !important;
}
.sliderschooltypes .carousel-half-full-width-wrapper > .owl-carousel .owl-stage-outer {
  padding-top: 40px;
  margin-bottom: 0;
}
.sliderschooltypes .carousel-half-full-width-wrapper > .owl-carousel .owl-nav {
  position: absolute;
  top: 0;
  margin: 0;
  padding: 0;
  width: auto;
  transform: none;
  text-align: left;
}
.sliderschooltypes .carousel-half-full-width-wrapper > .owl-carousel .owl-nav button.owl-prev,
.sliderschooltypes .carousel-half-full-width-wrapper > .owl-carousel .owl-nav button.owl-next {
  position: static;
  transform: none;
}
.sliderschooltypes .carousel-half-full-width-wrapper > .owl-carousel .owl-nav button.owl-prev {
  margin-right: 5px;
}
.sliderschooltypes .carousel-half-full-width-wrapper > .owl-carousel .owl-nav button.owl-next {
  margin-left: 5px;
}
iframe {
  max-width: 100%;
}
.question-schooltypes .qs-image img {
  max-width: 200px;
  margin: 0 auto;
}

.testimonial.testimonial-with-quotes blockquote::after {
  color: var(--dark) !important;
  display: block !important;
  right: 10px;
  bottom: -20px;
  content: "“" !important;
  font-size: 80px;
  font-style: normal;
  line-height: 1;
  position: absolute;
}
.immooverlay--section .section {
  box-shadow: 0 0 9999px 9999px rgba(0, 0, 0, 0.45) inset;
}
.floatingimage1 {
  width: 100%;
}

.floatingimage2 {
  top: 50%;
  left: -24px;
}
.floatingimageyt {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.searchwp-modal-form__footer {
  background-color: var(--light-200);
}
.searchwp-modal-form-default .searchwp-modal-form__footer {
  padding-top: 0.4rem !important;
  padding-bottom: 0;
}

#wrapcontact {
  margin-bottom: 0;
  padding-top: 0;
}

.teaserbox {
  border-radius: 10px;
  border: 2px solid var(--primary);
  overflow: hidden;
  background: #fff;
  height: 100%;
}
.teaserbox .teaserbox__content {
  padding: 15px 15px 25px 15px;
}
.teaserbox__content h3 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.textlayerbox {
  width: 100%;
  padding: 6% 4%;
  border: 2px solid var(--primary);
}

.textlayerbox.layerlight {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
}

.textlayerbox.layerdark {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.32);
}
.textlayerbox.parallaxtext {
  font-size: 20px;
}
.textlayerbox.layerdark .parallaxtext {
  color: #fff;
}

.video-container {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.section-bg {
  background-color: #f1f1f1;
  padding: 90px 0;
}
.section-fw {
  padding: 0;
}
.section-fwcontent {
  padding-top: min(60px, 5vw) !important;
  padding-bottom: min(60px, 5vw) !important;
  padding-left: min(180px, 8%) !important;
  padding-right: min(180px, 8%) !important;
}
.section-fwimage {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 0;
  min-height: 300px !important;
}

.btn-light {
  transition: 300ms;
}
.btn-light:hover {
  opacity: 0.7;
}

.feature-box-style-1 h4 {
  margin-top: 1rem !important;
}

.custom-card-info {
  background: transparent;
  max-width: 100%;
}

.custom-card-info.custom-card-info-shadow:before {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  content: "";
  box-shadow: 0 30px 110px #bbb;
  border-radius: 0.75rem;
  transition: opacity 0.2s ease-in-out;
}

.custom-card-info .custom-card-info-arrow {
  transition: all 0.2s ease-in-out;
  right: 0 !important;
}

.custom-card-info:hover.custom-card-info-shadow:before {
  opacity: 0.5;
}

.custom-card-info:hover .custom-card-info-arrow {
  right: -7px !important;
}

.custom-card-info .card-body {
  padding: 0;
  border-radius: 0.25rem;
  background: var(--light);
}

.custom-card-info .featured-tag {
  color: var(--light);
  text-transform: uppercase;
  padding: 15px 102px;
  position: absolute;
  right: -24%;
  top: 6%;
  transform: rotate(45deg);
  transition: none 0s ease 0s;
  text-align: inherit;
  line-height: 24px;
  border-width: 0px;
  margin: 0px;
  letter-spacing: -0.5px;
  font-weight: 600;
  font-size: 14px;
}

.custom-card-info .custom-card-info-header {
  border-bottom: 1px solid #e7e7e7;
  padding: 16px;
  padding: 1rem;
}

.custom-card-info .custom-card-info-content {
  padding: 16px;
  padding: 1rem;
}

.custom-card-info-slider {
  max-width: 390px;
}

.custom-card-info-slider .custom-card-info-header {
  padding: 32px;
  padding: 2rem;
}

.custom-card-info-slider .custom-card-info-content {
  padding: 32px;
  padding: 2rem;
}

.custom-card-info-locations img {
  transition: ease all 300ms;
  filter: grayscale(100%);
}

.custom-card-info-locations .card-body:before {
  transition: ease all 300ms;
}

.custom-card-info-locations:hover img {
  filter: none;
}

.custom-card-info-locations:hover .card-body:before {
  opacity: 0.4 !important;
}

.custom-card-info-locations .custom-card-info-desc {
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  display: block;
  z-index: 10;
}

.custom-card-info-special-offers .custom-card-info-desc {
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  display: block;
  z-index: 10;
}

.custom-view-more svg {
  transition: ease transform 300ms;
}

.custom-view-more:hover svg {
  transform: translate3d(7px, 0, 0);
}

.immocard {
  height: 100%;
}
.immocard .custom-card-info-img img {
  max-height: 420px;
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}
.immocard h5 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.immocard .fa-ul {
  margin-left: 2rem;
  margin-bottom: 2rem;
}
.immocard .fa-ul li {
  margin-bottom: 0.75rem;
  font-size: 18px;
  padding-left: 0.75rem;
}
.immocard a {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  height: 100%;
}
.immocard .btn {
  width: max-content;
}

.singleobj-images img {
  height: 400px;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}

.galbtn {
  position: absolute;
  bottom: 1rem;
  left: 1.6rem;
  z-index: 99;
}

.objdetail .fa-ul {
  margin-left: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.objdetail .fa-ul li {
  margin-bottom: 0.75rem;
  font-size: 18px;
  padding-left: 0.4rem;
  flex: 0 0 33.3333%; /* 3 Elemente pro Zeile */
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.objdetail .fa-ul li i {
  color: var(--primary);
}
