/*
Theme Name: Taxboutique-Theme
Theme URI: https://www.stb-taxboutique.de
Author: FARN digital brand design
Author URI: https://www.farn.de
Version: 1.0.2
Text Domain: taxboutique-theme
*/

html {
    box-sizing:border-box;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: antialiased;
    text-rendering: optimizeLegibility;
    word-wrap: normal;
    font-variant-ligatures: common-ligatures;
    -webkit-font-feature-settings: "liga", "clig";
    -moz-font-feature-settings: "liga", "clig";
    font-feature-settings: "liga", "clig";
    -webkit-font-feature-settings: "liga", "lnum";
    -moz-font-feature-settings: "liga", "lnum";
    font-feature-settings: "liga", "lnum";
    position: relative;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    height: 100%;
    margin-top: 0 !important;
    overflow-x: hidden;
}
*,
*::before,
*::after {
    box-sizing: inherit;
}
body {
    margin: 0;
    padding: 0;
}
::-moz-selection { background: var(--wp--preset--color--rose); color: #fff; }
::selection { background: var(--wp--preset--color--rose); color: #fff; }

/* Headings */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color:inherit;
    text-decoration: none !important;
}

/* header */
header {
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.3s;
}
header.scrolled, header.active {
  background-color: rgba(252,240,240,0.7);
  backdrop-filter: blur(20px);
}
.logged-in header {
  top: var(--wp-admin--admin-bar--height);
}
.head-logo {
  height: 46px;
  overflow: hidden;
}
.head-logo a {
  display: inline-block;
}
.head-logo img {
  margin: 3px 10px 0px 5vw;
}

/* Top Menu */
.topmenu {
  margin-bottom: 12px;
  margin-right: 3px;
}
.topmenu > p {
  white-space: nowrap;
}
.topmenu a {
  text-decoration: none;
}
.topmenu a:hover {
  border-bottom: 1px solid;
}
body .wpml-language-switcher-block {
  width: auto !important;
}
body [data-wpml="language-item"]:first-of-type {
  margin-top: 0 !important;
}
.wpml-ls-flag {
  box-shadow: 0 3px 18px rgba(0,0,0,0.16);
}

/* menu */
.wp-block-navigation {
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
}
.wp-block-navigation ul:not(.wp-block-navigation__submenu-container) {
    gap:0;
    flex-direction: column;
}
.wp-block-navigation .wp-block-navigation-item {
  width: 100%;
}
.wp-block-navigation ul:not(.wp-block-navigation__submenu-container) > li.has-child {
    flex-wrap: wrap;
    justify-content: center;
}
.wp-block-navigation ul > li > a {
    padding: 1rem 5vw 1rem 5vw;
    width: 100%;
    border-top: 1px solid #ddd;
    font-weight: 600;
}
.wp-block-navigation ul:not(.wp-block-navigation__submenu-container) > li.has-child > a{
    padding:1rem 5vw 1rem 5vw;
}
.wp-block-navigation ul:not(.wp-block-navigation__submenu-container) > li.has-child > .wp-block-navigation__submenu-icon svg path{
    stroke-width:1.2;
}
.wp-block-navigation ul.wp-block-navigation__submenu-container {
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    border:none !important;
    padding:0;
    position: relative !important;
}
.wp-block-navigation ul.wp-block-navigation__submenu-container > li > a{
    padding:1rem 10vw;
    font-size: 0.9em;
}
.wp-block-navigation ul > li:last-child > a {
  border-bottom: 1px solid #ddd;
}
.wp-block-navigation ul.wp-block-navigation__submenu-container > li:last-child > a{
    border-bottom: none;
}

.wp-block-navigation .wp-block-navigation__submenu-icon {
  width: 29px;
  height: 58px;
  margin: 0;
  box-sizing: content-box;
  position: absolute;
  right: 0;
  padding: 0 5vw 0 20px;
  z-index: 100;
  align-self: start;
}
.wp-block-navigation .wp-block-navigation__submenu-icon svg {
  height: 16px;
  margin-top: 0;
}

.wp-block-navigation-item__content:hover{
    color: var(--wp--preset--color--navy-light)!important;
}
.wp-block-navigation .wp-block-buttons {
  margin-left: 5vw;
  margin-bottom: 25px;
}


    @media only screen and (max-width: 989px) {
      /* HOVER DISABLE */
      .wp-block-navigation-submenu__toggle.visible svg {
        transform: rotate(180deg);
      }
      .wp-block-navigation-item.wp-block-navigation-submenu:hover > ul {
        display: none;
      }
      .wp-block-navigation-submenu__toggle.visible + ul {
        display: block;
      }
    }




/* widths */
.alignfull {
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    margin-top: 3rem;
}
.alignwide {
   width:90%;
   margin-left:auto;
   margin-right:auto;
 }
.wp-block-cover.alignfull > .wp-block-cover__inner-container,
.wp-block-group.alignfull {
   width:100%;
 }
.entry-content > :not(.alignwide):not(.alignfull),
.wp-block-cover.alignfull > .wp-block-cover__inner-container > :not(.alignwide):not(.alignfull),
.wp-block-group.alignfull > :not(.alignwide):not(.alignfull) {
    width:90%;
    margin-left:auto;
    margin-right:auto;
}

/* paddings and margins for alignfull blocks */
.wp-block-group.alignfull.has-background,
.wp-block-cover.alignfull{
    padding:3rem 0;
}
.alignfull + * {
    margin-top: 3rem;
}
.alignfull + .alignfull,
.alignfull + footer {
    margin-top: 0 !important;
}
.entry-content > *:last-child:not(.alignfull) {
    margin-bottom:3rem;
}
.alignwide + .alignwide {
  margin-top: 3rem;
}

/* padding for background-color-boxes */
/*
.entry-content .wp-block-group.has-background:not(.alignfull), .wp-block-media-text.has-background .wp-block-media-text__content {
    padding:2em;
    box-sizing: border-box;
} */

/* cover-blocks */
.entry-content > .wp-block-cover:first-child .wp-block-cover__background {
  background: radial-gradient(circle at 35% 90%, transparent 40%, rgba(246, 209, 191, 0.5) 50%, #eed6cd 90%) !important;
  opacity: 1 !important;
}
.entry-content > .wp-block-cover.is-style-bildmitte-rechts:first-child .wp-block-cover__background {
  background: radial-gradient(circle at 58% 90%, transparent 40%, rgba(246, 209, 191, 0.5) 50%, #eed6cd 90%) !important;
}
.entry-content > .wp-block-cover:first-child .wp-block-cover::before {
  width: 100%;
  height: 280px;
  content: "";
  background: linear-gradient(rgb(255, 248, 245) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
  top: -150px;
  position: absolute;
  left: -80px;
  transform: rotate(-10deg);
}
:not(.wp-block-cover) + .entry-content:not(:has(.wp-block-cover:first-child)) {
  padding-top: 6rem;
}


/* Button Blocks */
.wp-block-button__link:hover {
  filter: brightness(1.06);
}



/* ICONS */
.selected-icon-wrapper {
  line-height: 1;
}

.zielgruppen-sonderkacheln-outer {
  position: relative;
}
.zielgruppen-sonderkacheln {
  margin-right: 0;
  margin-left: 0;
  width: 100%;
}
.zielgruppen-sonderkacheln [class*="open-funnel-"] {
  transition: 0.3s;
}
.zielgruppen-sonderkacheln [class*="open-funnel-"]:hover {
  background-color: #f8f3f3 !important;
  cursor: pointer;
  transform: translate(0,-8px);
}
.zielgruppen-sonderkacheln-klein [class*="open-funnel-"]:hover {
  transform: translate(0,-4px);
}









/* FORM */
input, 
select, 
textarea, 
body .acf-field input[type="text"], 
body .acf-field input[type="password"], 
body .acf-field input[type="date"], 
body .acf-field input[type="datetime"], 
body .acf-field input[type="datetime-local"], 
body .acf-field input[type="email"], 
body .acf-field input[type="month"], 
body .acf-field input[type="number"], 
body .acf-field input[type="search"], 
body .acf-field input[type="tel"], 
body .acf-field input[type="time"], 
body .acf-field input[type="url"], 
body .acf-field input[type="week"], 
body .acf-field textarea, 
body .acf-field select {
  border: 1px solid var(--wp--preset--color--navy);
  font-family: var(--wp--preset--font-family--open-sans);
  font-size: var(--wp--preset--font-size--medium);
  padding: 1rem 1.3rem 1.05rem;
  border-radius: 0;
  background-color: #fff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #000;
}
.acf-label {
  font-size: var(--wp--preset--font-size--small);
}
body ul.acf-radio-list,
body ul.acf-checkbox-list{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
body ul.acf-radio-list:before,
body ul.acf-checkbox-list:before{
  display: none;
}
body ul.acf-radio-list:focus-within, 
body ul.acf-checkbox-list:focus-within {
  border: 1px solid transparent;
}
body input[type="checkbox"], 
body input[type="radio"] {
  padding: 0;
  width: 30px;
  height: 30px;
  border-radius: 0;
  margin: 0!important;
  flex-shrink: 0;
}
body input[type="radio"] {
  border-radius: 50%;
}
body input[type="checkbox"]:checked::after {
  content: "";
  width: 8px;
  height: 16px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  display: block;
  transform: rotate(45deg);
  position: absolute;
  left: 11px;
  top: 5px;
}
body input[type="radio"]:checked::after {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  background-color: var(--wp--preset--color--dunkelblau);
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 50%;
}

body .boxselect:not(.boxselect-oneliner) .acf-radio-list,
body .boxselect:not(.boxselect-oneliner) .acf-checkbox-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0;
}
body .boxselect.boxselect-layout-3 .acf-radio-list {
  grid-template-columns: 1fr 1fr 1fr;
}
body .boxselect li {
  border: 1px solid var(--wp--preset--color--navy);
  border-radius: 0.7rem;
  align-content: center;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.3em;
  font-size: calc(var(--wp--preset--font-size--medium) * 0.95) !important;
}
body .boxselect li label {
  cursor: pointer;
  padding: 1rem 1.4rem 1.15rem;
  height: 100%;
  width: 100%;
}

body .boxselect li:not(:has(.selected)):hover {
  opacity: 0.66;
}
body .boxselect li:has(.selected) {
  background-color: var(--wp--preset--color--rose-light);
  border-color: var(--wp--preset--color--rose);
}
body .boxselect input {
  display: none;
}

.funnel .eics-icon-span {
  font-size: 2rem;
  height: 24px;
  margin-left: -5px;
}
.boxselect-subline {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
}


select {
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Ebene_2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17.423 10.1373'%3E%3Cg id='Ebene_1-2'%3E%3Cpolyline points='.7071 .7071 8.7231 8.7231 16.7159 .7303' fill='none' stroke='%23c7d4df' stroke-miterlimit='10' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px auto;
  background-position: top 24px right 21px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--wp--preset--color--rose) !important;
  outline: 0;
}
button:focus-visible {
  outline: 0;
}
button:not(.acf-tab-back):focus-visible {
  background-color: var(--wp--preset--color--rose) !important;
}

input[type="file"] {
  max-width: 100%;
}
input[type="number"] {
  -moz-appearance: textfield!important;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body .acf-fields {
  margin-right: -12px;
  margin-left: -12px;
  margin-bottom: 1rem;
}
body .acf-fields > .acf-field {
  border: 0;
}

body .acf-field[data-width] + .acf-field[data-width] {
  border-left: 0;
}

body ul.acf-radio-list li, 
body ul.acf-checkbox-list li {
  font-size: var(--wp--preset--font-size--medium);
}
body .acf-true-false > label,
body ul.acf-radio-list > li > label,
body ul.acf-checkbox-list > li > label {
  display: flex;
  gap: 1rem;
}
body .boxselect ul.acf-radio-list > li > label,
body .boxselect ul.acf-checkbox-list > li > label {
  min-height: 65px;
  align-content: end;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: var(--wp--preset--font-size--small);
}
.bracket_smaller {
  font-size: 0.8em;
}
body .acf-true-false > label > input {
  flex-shrink: 0;
}
body .acf-true-false > label > .message {
  padding-top: 4px;
  display: block !important;
}
body .acf-field.acf-field-message {
  padding-top: 0;
  padding-bottom: 0;
}
body .acf-input-prepend,
body .acf-input-append {
  background-color: transparent;
  border: 0;
  font-size: 1rem;
  line-height: 3.5rem;
  border-radius: 0;
  padding: 0 13px;
  height: 60px;
}
body .acf-input-wrap .acf-is-appended {
  border-radius: 0 !important;
}

/* Keine Tabs in Fullscreen Funnels */
.acf-tab-wrap {
  display: none;
}

body .acf-field.design-tab > .acf-input > .acf-radio-list {
  display: flex;
  background-color: #f6f6f6;
  border-radius: 0.6rem 0.6rem 0 0;
  padding: 0;
  margin: 0;
  border: 0;
  flex-direction: column;
  gap: 0.5rem;
}
body .acf-field.design-tab > .acf-input > .acf-radio-list.acf-hl {
  flex-direction: row;
  gap: 0;
}
body .acf-field.design-tab > .acf-input > .acf-radio-list.acf-hl > li {
  margin-right: 0;
}
body .acf-field.design-tab > .acf-input > .acf-radio-list > li {
  flex-grow: 1;
}
body .acf-field.design-tab > .acf-input > .acf-radio-list > li input {
  display: none;
}
body .acf-field.design-tab > .acf-input > .acf-radio-list > li > label {
  display: block;
  padding: 1rem 1.5rem;
  border: 1px solid var(--wp--preset--color--navy);
  border-radius: 0.6rem 0.6rem 0 0;
  border-bottom: 0;
  font-weight: 600;
}
body .acf-field.design-tab > .acf-input > .acf-radio-list > li > label.selected {
  background-color: #fff;
  padding-top: calc(1rem - 2px);
  padding-left: calc(1.5rem - 2px);
}
body .acf-field.design-tab > .acf-input > .acf-radio-list > li > label:not(.selected),
body .acf-field.design-tab > .acf-input > .acf-checkbox-list > li > label:not(.selected) {
  box-shadow: 0 1px var(--wp--preset--color--navy);
  border: 0;
  cursor: pointer;
  padding-bottom: calc(1rem - 2px);
}
body .acf-field-number {
  max-width: 200px;
}

button, .acf-button, .button {
  background-color: var(--wp--preset--color--rose);
  color: var(--wp--preset--color--navy);
  border: 0;
  font-weight: 700;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  cursor: pointer;
  appearance: none;
  font-family: var(--wp--preset--font-family--roboto);
  font-size: var(--wp--preset--font-size--small);
  font-style: normal;
  line-height: inherit;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  text-decoration: none;
  border-radius: 10px;
  display: inline-block;
}
*:not(.wp-block-accordion-heading) > button:not(.acf-tab-back):hover, 
*:not(.wp-block-accordion-heading) > .acf-button:not(.acf-tab-back):hover {
  background-color: var(--wp--preset--color--rose)!important;
  filter: brightness(1.06);
}
button.acf-tab-back:hover, .acf-button.acf-tab-back:hover {
  color: var(--wp--preset--color--rose);
}
.button:not(.acf-tab-back):hover {
  background-color: var(--wp--preset--color--rose);
}


/* Buttons in Funnel */
.acf-tab-next {
  background-color: var(--wp--preset--color--rose);
}
.acf-tab-back {
  display: none;
  background: transparent;
  color: #BEBEBE;
  padding-left: 5px;
}
form[data-current-tab="1"] .acf-tab-back,
form[data-current-tab="2"] .acf-tab-back,
form[data-current-tab="3"] .acf-tab-back,
form[data-current-tab="4"] .acf-tab-back,
form[data-current-tab="5"] .acf-tab-back,
form[data-current-tab="6"] .acf-tab-back,
form[data-current-tab="7"] .acf-tab-back,
form[data-current-tab="8"] .acf-tab-back,
form[data-current-tab="9"] .acf-tab-back,
form[data-current-tab="10"] .acf-tab-back {
  display: block;
}
.acf-tab-back::before,
.acf-tab-next::after {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  display: inline-block;
  transform: rotate(45deg);
  margin-right: 7px;
  top: -1px;
  position: relative;
}
.acf-tab-next::after {
  transform: rotate(-135deg);
  margin-right: 0;
  margin-left: 14px;
}

/* Bei Boxselect kein Weiterbutton */
/*
form:has(.acf-field:not(.acf-hidden).boxselect) .acf-tab-next{
  display: none;
}
*/

/* Wenn PLZ-Eingabe valide ist, weiter Button zeigen */
/*
form:has(.acf-field:not(.acf-hidden) .input-field-valid) .acf-tab-next,
form:has(.acf-field:not(.acf-hidden).funnel-show-always-next) .acf-tab-next {
  background-color: var(--wp--preset--color--rose);
  pointer-events: all;
}
*/
.funnel form[data-last-tab="true"] .acf-form-submit {
  display: block;
}
.funnel form[data-last-tab="true"] .acf-tab-next{
  display: none;
}



/* Mini Grid Systen */
.row {
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
}




/* FUNNELS */

/* OVERLAY */
.overlay-form-outer {
  background: rgba(0,0,0,0.4);
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  width: 100%;
  height: 100vh;            /* Basis für alte Browser */
  height: 100svh;           /* sichtbarer Bereich mit eingeblendeter UI */
  top: 0;
  left: 0;
  overflow: auto;
  padding: 0 5%;
  padding-bottom: env(safe-area-inset-bottom);
  padding-top: env(safe-area-inset-top);
}
@supports (height: 1dvh) {
  .overlay-form-outer {
    /* Deckt immer mindestens den sichtbaren Bereich ab,
       wächst dynamisch, überschreitet aber nie das maximale Layoutmaß. */
    block-size: min(max(100svh, 100dvh), 100lvh);
  }
}
/* iOS-Alt-Helferlein (optional, schadet aber nicht) */
@supports (-webkit-touch-callout: none) {
  .overlay-form-outer {
    /* Manche iOS-Builds reagieren darauf besser als auf 100vh */
    min-height: -webkit-fill-available;
  }
}
.overlay-fullscreen {
  background: #fff;
  padding-top: 40px;
}
.funnel-logo {
  width: 200px;
  height: 31px;
  background-repeat: no-repeat;
  position: fixed;
  top: 18px;
}
.overlay-form-inner {
  max-width: 800px;
  background-color: #fff;
  margin: 5rem auto;
  position: relative;
  border-radius: 1.5rem;
}
.overlay-fullscreen .overlay-form-inner {
  margin: 10vw auto 5rem;
}
.overlay-form-outer:not(.overlay-fullscreen) .overlay-form-inner {
  padding: 25px 33px 17px;
}
.overlay-popup .overlay-form-inner .acfe-form {
  padding: 2rem 6% 3rem;
}
.overlay-form-btn-close {
  position: absolute;
  padding: 24px 55px 18px 20px;
  min-height: 60px;
  top: 0;
  right: 0;
  cursor: pointer;
  font-weight: bold;
  color: var(--wp--preset--color--navy);
  font-size: 0.9rem;
}
.overlay-form-btn-close::before, .overlay-form-btn-close::after {
  content: "";
  width: 2px;
  height: 20px;
  background: var(--wp--preset--color--navy);
  display: block;
  transform: rotate(45deg);
  right: 35px;
  position: absolute;
  top: 24px;
}
.overlay-form-btn-close::after {
  transform: rotate(-45deg);
}
.overlay-fullscreen .overlay-form-btn-close {
  position: fixed;
}
.overlay-form-outer.overlay-fullscreen .funnel {
  min-height: calc(100vh - 252px);
}
.funnel-a, .funnel-b, .funnel-c, .funnel-d, .funnel-e, .funnel-f {
  display: none;
}
.funnel .acf-form-submit {
  display: none;
}

.funnel {
  font-size: var(--wp--preset--font-size--small);
}
.funnel h2 {
  margin-top: 3rem;
  margin-bottom: 0;
}
.funnel h3, .funnel p {
  margin: 0 0 8px;
}
.funnel-header-overline {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  padding-right: 110px;
}
.funnel-header-subline {
  font-style: italic;
  margin-bottom: 20px !important;
  display: block;
}
.overlay-form-outer:not(.overlay-fullscreen) .funnel h2 {
  margin-top: 30px;
}

/* Funnel dynamic content */
.funnel-dynamic-content-immoname {
  font-weight: 600;
}


.funnel_check_metargument {
  padding-right: 1rem;
}
@media only screen and (max-width: 750px) {
  .funnel_check_metargument {
    display: block;
    padding-bottom: 5px;
  }
}

@media only screen and (min-width: 1100px) {
  .overlay-fullscreen .overlay-form-inner {
    margin: 6vw auto 5rem;
  }
}


/* Autosuggest */
.plz-suggestions {
  position: absolute;
  background: rgb(255, 255, 255);
  border: 2px solid rgb(171, 184, 195);
  border-top: 0;
  width: 100%;
  z-index: 100;
  top: 100%;
}
.plz-item {
  padding: 0.5rem 1.3rem 0.55rem;
  cursor: pointer;
}
.plz-item:first-child {
  padding-top: 1rem;
}
.plz-item:last-child {
  padding-bottom: 1.05rem;
}
.plz-item:hover, .plz-item.highlight {
    background: #f4f6f8;
}


/* Skeleton loading */
.skeleton {
  padding-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.overlay-popup .skeleton {
  padding-top: 140px;
  margin-left: 6%;
  margin-right: 6%;
}
@keyframes loading {
    0% {background-position: 0% 50%}
    100% {background-position: -100% 50%}
}
.skeleton > div {
  background-color: #f1f2f4;
  height: 70px;
  margin-bottom: 20px;
  border-radius: 10px;
  background-image: repeating-linear-gradient(90deg,rgb(236, 237, 239) 0%, rgb(252, 252, 253) 25%, rgb(236, 237, 239) 50%);
  animation: loading linear 1s infinite;
  background-size: 200% 100%;
}

.no-hyphens {
  hyphens: none;
}



.info-tooltip {
  display: inline-block;
  font-size: 14px;
  background-color: #adb0c3;
  color: #fff;
  width: 17px;
  height: 17px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  font-family: courier;
  line-height: 18px;
  margin: 0 0 10px 7px;
  position: relative;
  top: -3px;
  cursor: default;
}
.info-tooltip:hover::after {
  content: "Die angegebene Zahl der passenden Interessenten ergibt sich aus einem Live-Abgleich Ihrer Eingaben mit unserer Datenbank.";
  color: #000;
  font-family: var(--wp--preset--font-family--open-sans);
  font-weight: normal;
  position: absolute;
  background: #fff;
  padding: 13px 21px 17px;
  left: -91px;
  top: 22px;
  width: 200px;
  text-align: left;
  z-index: 1;
  box-shadow: 0 4px 17px rgba(0,0,0,0.1);
  border-radius: 12px;
}


.funnelbottom {
  display: flex;
  gap: 30px;
  justify-content: center;
}
.funnelbottom img {
  height: 60px;
  width: auto;
}














/* Footer */
footer {
  margin-top: 0;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  margin-bottom: 7px;
}
footer a {
  text-decoration: none;
}


.logged-in {
  padding-top: var(--wp-admin--admin-bar--height);
}

/* media queries -------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (min-width: 600px) {
   
}

@media only screen and (min-width: 990px) {
    header {
      position: absolute;
    }
    .header-inner {
      margin: 0 auto;
    }
    .head-logo {
      height: auto;
      overflow: inherit;
    }
    .head-logo img {
      margin: 21px 10px 22px 30px;
      width: 230px !important;
    }
    /* main menu */
    .wp-block-navigation {
      flex-direction: row;
      width: auto;
    }
    .wp-block-navigation .wp-block-navigation-item{
        width: auto;
    }
    .wp-block-navigation ul > li > a{
        padding: 14px 15px;
        border: 0;
    }
    .wp-block-navigation ul:not(.wp-block-navigation__submenu-container) {
      flex-direction: row;
    }
    .wp-block-navigation ul:not(.wp-block-navigation__submenu-container) > li.has-child {
        flex-wrap: nowrap;
        justify-content: center;
        margin-right: 9px;
    }
    .wp-block-navigation ul:not(.wp-block-navigation__submenu-container) > li.has-child > a {
        padding: 11px 2px 11px 15px;
        border: 0;
    }
    .wp-block-navigation ul.wp-block-navigation__submenu-container {
        left: -6px !important;
        right: auto !important;
        width: auto !important;
        -webkit-box-shadow: 0px 10px 30px -10px rgba(0,0,0,0.1);
        -moz-box-shadow: 0px 10px 30px -10px rgba(0,0,0,0.1);
        box-shadow: 0px 10px 30px -10px rgba(0,0,0,0.1);
        padding:0;
        min-width: 260px !important;
        position: absolute !important;
    }
    .wp-block-navigation .wp-block-navigation__submenu-icon {
      position: relative;
      padding: 0;
    }
    .wp-block-navigation-submenu:hover > a {
      color: var(--wp--preset--color--navy-light)!important;
    }
    .wp-block-navigation-submenu__toggle[aria-expanded="true"] + .wp-block-navigation__submenu-icon > svg, .wp-block-navigation-submenu__toggle[aria-expanded="true"] > svg {
      transform: rotate(0deg);
    }
    .wp-block-navigation-submenu:hover > button > svg > path {
      color: red;
    }
    .wp-block-navigation ul.wp-block-navigation__submenu-container > li > a {
      padding: 17px 22px 18px;
      border-bottom: 1px solid #ddd;
    }
    .wp-block-navigation ul > li:last-child > a {
      border-bottom: none;
    }
    .wp-block-navigation ul:not(.wp-block-navigation__submenu-container) > li.has-child > .wp-block-navigation__submenu-icon svg path {
      stroke-width: 1;
    }
    .wp-block-navigation .wp-block-buttons {
      margin-left: 0;
      margin-bottom: 0;
    }

    /* cover-blocks */
    .wp-block-cover.alignfull.has-custom-content-position {
        padding:8rem !important;
    }
    :not(.wp-block-cover) + .entry-content:not(:has(.wp-block-cover:first-child)) {
      padding-top: 10rem;
    }

    /* paddings and margins for alignfull blocks */
    .alignfull {
        margin-top:6rem;
    }
    .wp-block-group.alignfull.has-background,
    .wp-block-cover.alignfull{
        padding:6rem 0;
    }
    .alignfull + * {
        margin-top: 6rem;
    }
    .entry-content > *:last-child:not(.alignfull) {
        margin-bottom:6rem;
    }
    .alignwide + .alignwide {
      margin-top: 6rem;
    }


    /* Overlay und Funnel */
    .funnel-logo {
      left: 26px;
      width: 300px;
      height: 46px;
    }
    .overlay-form-btn-close {
      padding: 28px 60px 28px 20px;
    }
    .overlay-form-btn-close::before, .overlay-form-btn-close::after {
      right: 40px;
      top: 30px;
    }
    .overlay-form-outer:not(.overlay-fullscreen) .funnel h2 {
      margin-top: 0;
    }
    .overlay-form-outer:not(.overlay-fullscreen) .overlay-form-inner {
      padding: 35px 46px 27px;
    }
    .overlay-form-outer:not(.overlay-fullscreen) .overlay-form-btn-close {
      padding: 34px 74px 28px 20px;
    }
    .overlay-form-outer:not(.overlay-fullscreen) .overlay-form-btn-close::before, 
    .overlay-form-outer:not(.overlay-fullscreen) .overlay-form-btn-close::after {
      right: 55px;
      top: 34px;
    }
}

/* special media query for content width plus 10vw */
@media only screen and (max-width: 1000px) {
  .entry-content > .wp-block-cover.alignfull:first-child  {
    min-height: auto !important;
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .entry-content > .wp-block-cover .wp-block-cover__image-background {
    position: relative !important;
    aspect-ratio: 4/3;
    object-position: 5% 50%;
  }
  .entry-content > .wp-block-cover.is-style-bildmitte-rechts .wp-block-cover__image-background {
    object-position: 98% 50%;
  }
  .entry-content > .wp-block-cover:first-child .wp-block-cover__background,
  .entry-content > .wp-block-cover.is-style-bildmitte-rechts:first-child .wp-block-cover__background {
    aspect-ratio: 4/3;
    background: radial-gradient(circle at 50% 65%, transparent 40%, rgba(246, 209, 191, 0.5) 70%, #eed6cd 100%) !important;
  }
  .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container {
    padding-top: 1.5rem;
  }
  .wp-block-column:empty {
    display: none;
  }
  .zielgruppen-sonderkacheln-outer {
    margin-top: 3rem !important;
  }
  .zielgruppen-sonderkacheln-outer > p {
    color: var(--wp--preset--color--navy) !important;
  }
}


@media only screen and (max-width: 800px) {
  body .acf-fields > .acf-field {
    width: 100% !important;
  }
  body .acf-fields > .acf-field:not([data-type="message"]) + .acf-field {
    padding-top: 0;
  }
}


@media only screen and (max-width: 781px) {
  .is-style-mobile_reverse {
    flex-direction: column-reverse;
  }
}


@media only screen and (max-width: 989px) {
  .burgerbutton-menu > .acf-innerblocks-container {
    display: flex;
    flex-direction: column-reverse;
  }
  .topmenu {
    flex-direction: column;
    align-items: start;
    gap: 10px;
    padding: 0 5vw 14px;
  }
  body .wpml-language-switcher-block {
    margin-top: 10px;
  }
}


@media only screen and (max-width: 990px) {
  body .boxselect .acf-radio-list,
  body .boxselect .acf-checkbox-list {
    grid-template-columns: 1fr!important;
  }
}