:root {
  --bhv-red: #6e1339;
  --bhv-yellow: #f07e11;
  --bhv-yellow-lighter: #ffa027;
  --bhv-lightgrey: #dedede;
  --bhv-darkgrey: #5e747f;
  --bhv-black: #1c2321;
}


/*--- HEADER ---*/
.logo-wrapper {
    padding: 5px 0;
}

.logo-wrapper svg {
    filter: drop-shadow(3px 0 0 #fff) /* Rechts */
        drop-shadow(-3px 0 0 #fff) /* Links */
        drop-shadow(0 3px 0 #fff) /* Unten */
        drop-shadow(0 -3px 0 #fff);
}

.astroid-section.top-bar,
.astroid-section.jollyany-bottom-section {
    background-color: #5e747f !important;
}

@media (min-width: 992px) {
    .astroid-header .megamenu-container {
        margin-top: -50px;
    }

    .astroid-header-sticky .megamenu-container {
        margin-top: 0 !important;
    }
}

.astroid-social-icons {
    font-size: 24px;
}
.header-actions .mod-list{flex-direction:row!important;align-items:center;gap:.75rem;margin:0;padding:0}
.header-actions .mod-list>li{margin:0!important}
.header-actions .mod-list>li>a:not(.btn){border:0!important;padding:0!important;background:none!important;display:inline-flex;align-items:center;color:#fff}
.header-actions .mod-list>li>a.btn{padding:.3rem .9rem!important;font-size:.85rem;line-height:1.2}
.header-actions .fa-user{font-size:1.1rem}
.header-actions a.btn{color:var(--bs-btn-color)!important; text-decoration:none;}
.header-actions a.btn:hover,.header-actions a.btn:focus{color:var(--bs-btn-hover-color)!important}

@media (max-width: 991.98px) {
  :root { --bhv-row: 60px; }

  /* Top Bar: Social links, Button rechts */
  .top-bar { position: relative; z-index: 20; }
  .top-bar .container { position: relative; }
  .top-bar .moduletable,
  .top-bar .moduletable > ul { display: contents; }
  .top-bar .astroid-module-position[id^="tb2"] {
    display: flex !important; flex-wrap: nowrap; align-items: center;
    justify-content: space-between; margin: 0 !important;
  }
  .top-bar .astroid-module-position[id^="tb2"] > * { padding-left: 0 !important; margin-left: 0 !important; }
  .top-bar .astroid-social-icons { flex-wrap: nowrap; margin: 0; width: auto; }
  .top-bar .astroid-social-icons .col { flex: 0 0 auto; width: auto; padding: 0 .4rem; }
  .top-bar .header-actions .item-402 .btn { font-size: 12.5px; padding: .2rem .55rem; white-space: nowrap; }

  /* Weiße Zeile: feste Höhe, unabhängig vom Logo */
  .astroid-header-section + .astroid-component-section { margin-top: var(--bhv-row) !important; }
  #astroid-header .astroid-logo svg { width: 105px; height: 105px; }

  :root { --bhv-logo-shift: 0px; }   /* Feintuning: positiv = weiter nach unten */
  /* Zeile: feste Höhe, Bezugsrahmen für Burger + Logo */
  #astroid-header .astroid-stacked-seperated-menu {
    position: relative;
    height: var(--bhv-row);
    min-height: var(--bhv-row);
  }

  /* Burger: vertikal mittig in der Zeile */
  #astroid-header .header-mobilemenu-trigger {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%); margin: 0;
  }

  /* Logo: Mitte der Zeile, Kreis ragt oben und unten gleich weit heraus */
  #astroid-header .logo-wrapper {
    position: absolute; left: 50%; top: 50%; margin: 0 !important;
    transform: translate(-50%, calc(-50% + var(--bhv-logo-shift)));
  }
  #astroid-header .logo-wrapper a,
  #astroid-header .logo-wrapper svg { margin: 0 !important; }

  :root { --bhv-top: 50px; }
  .top-bar { height: var(--bhv-top); box-sizing: border-box; }
  .astroid-header-section.header-absolute { top: var(--bhv-top) !important; }

  /* Suche + Login in der weißen Zeile rechts */
  .top-bar .search,
  .top-bar .header-actions .item-400 {
    position: absolute; top: calc(100% + 4px); height: var(--bhv-row); width: 44px;
    display: flex; align-items: center; justify-content: center; margin: 0;
  }
  .top-bar .header-actions .item-400 { right: 12px; }
  .top-bar .search { right: 56px; }
  .top-bar .search a,
  .top-bar .header-actions .item-400 a,
  .top-bar .header-actions .item-400 a span { color: var(--bhv-darkgrey, #5e747f) !important; }

  /* Sticky: schlank, Wortmarke zentriert, per Flex statt absolut */
  #astroid-sticky-header .astroid-header { min-height: 56px; padding: 0; align-items: center; }
  #astroid-sticky-header .header-left-section { flex: 1 1 auto; justify-content: center !important; }
  #astroid-sticky-header .min-w-30 { min-width: 48px; }
  #astroid-sticky-header .astroid-logo svg { display: none !important; }
  #astroid-sticky-header .astroid-logo a::before {
    content: ""; display: block; width: 78px; height: 42px;
    background: url(/images/tmpl/bhv-logo_text.svg) no-repeat center / contain;
  }
/*  
  #astroid-sticky-header>.container {
    padding-right: var(--bs-gutter-x);
  }
*/
  /* Layer: Offcanvas-Menü ganz oben (Header-Bereich der Vorlage liegt bei 1050) */
  .offcanvas-backdrop { z-index: 1055 !important; }
  #astroid-mobilemenu { z-index: 1060 !important; }
}

/*--- FOOTER ---*/
.astroid-footer-section {
  font-size:13px;
}
/*--- CONTEN ---*/
/* Equal-Height-Spalten und -Karten für SPPB-Sections mit Klasse .bhv-equal-cards */
.bhv-equal-cards .sppb-row > [class*="sppb-col-"],
.bhv-equal-cards .sppb-row > [class*="sppb-col-"] > .sppb-column,
.bhv-equal-cards .sppb-column-addons,
.bhv-equal-cards .sppb-addon-wrapper,
.bhv-equal-cards .sppb-addon-wrapper > div[id^="sppb-addon-"] {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
}
.bhv-equal-cards .sppb-addon-wrapper > div[id^="sppb-addon-"] > .uk-card {
  flex: 1 1 auto !important;
}


/*--- BUTTONS ---*/
/* ---------- PRIMARY ---------- */
.astroid-framework .sppb-btn-primary,
.astroid-framework .uk-button-primary,
.astroid-framework .btn-primary {
  background-color: var(--bhv-yellow);
  border: 1px solid var(--bhv-yellow);
  color: #fff;
  font-weight: 300;
  transition: color .1s ease-in-out, background-color .1s ease-in-out, border-color .1s ease-in-out;
}
.astroid-framework .sppb-btn-primary:hover,
.astroid-framework .sppb-btn-primary:focus,
.astroid-framework .sppb-btn-primary:active,
.astroid-framework .uk-button-primary:hover,
.astroid-framework .uk-button-primary:focus,
.astroid-framework .uk-button-primary:active,
.astroid-framework .btn-primary:hover,
.astroid-framework .btn-primary:focus,
.astroid-framework .btn-primary:active,
.astroid-framework .btn-primary.active {
  background-color: var(--bhv-yellow-lighter);
  border-color: var(--bhv-yellow-lighter);
  color: #fff;
  text-decoration: none;
}

/* ---------- SECONDARY ---------- */
.astroid-framework .sppb-btn-secondary,
.astroid-framework .uk-button-secondary,
.astroid-framework .btn-secondary {
  background-color: transparent;
  border: 1px solid var(--bhv-red);
  color: var(--bhv-red);
  transition: color .1s ease-in-out, background-color .1s ease-in-out, border-color .1s ease-in-out;
}
.astroid-framework .sppb-btn-secondary:hover,
.astroid-framework .sppb-btn-secondary:focus,
.astroid-framework .sppb-btn-secondary:active,
.astroid-framework .uk-button-secondary:hover,
.astroid-framework .uk-button-secondary:focus,
.astroid-framework .uk-button-secondary:active,
.astroid-framework .btn-secondary:hover,
.astroid-framework .btn-secondary:focus,
.astroid-framework .btn-secondary:active,
.astroid-framework .btn-secondary.active {
  background-color: var(--bhv-red);   /* Hover-Vorschlag, siehe unten */
  border-color: var(--bhv-red);
  color: #fff;
  text-decoration: none;
}

/* ---------- nur SPPB-Buttons an UK-Large angleichen ---------- */
.astroid-framework .sppb-btn-primary,
.astroid-framework .sppb-btn-secondary {
  border-radius: 5px;
  padding: 0 40px;
  line-height: 53px;
  font-size: .875rem;
  text-transform: uppercase;
  text-decoration: none;
  vertical-align: middle;
}


/*--- SEARCH ---*/
/* Lupe: weiß, dicker */
.search .uk-navbar-toggle {
    color: #fff;
    min-height: 0;
    padding: 0
}

.search .uk-navbar-toggle:hover {
    color: rgba(255, 255, 255, .75);
}

.search .uk-navbar-toggle svg {
    width: 22px;
    height: 22px;
}

.search .uk-navbar-toggle svg * {
    stroke-width: 2;
}

/* Vollbild-Suchmaske wie der-familienhund.de */
[id^="mod-search-searchword-modal"] {
    background: #fff;
}

[id^="mod-search-searchword-modal"] .js-finder-search-query {
    width: 500px;
    max-width: 90vw;
    height: 80px;
    padding: 0;
    font-size: 2.625rem;
    color: inherit;
    text-align: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

[id^="mod-search-searchword-modal"] .js-finder-search-query::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none;
}

body.com-finder .astroid-component-area {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
}