:root{
  --ba-header-h: 118px;

  --ba-topbar-h: 44px;

  --ba-green: #3f6b4b;
  --ba-green-dark: #2f5239;
  --ba-bg: #f4f5f3;
  --ba-text: #1e1f1e;
  --ba-muted: #6b6f6b;
  --ba-radius: 18px;
  --ba-shadow: 0 16px 40px rgba(0,0,0,.12);
  --ba-shadow-soft: 0 10px 26px rgba(0,0,0,.10);
  --ba-border: rgba(0,0,0,.10);
}

*{ box-sizing: border-box; }
html, body{
  padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ba-topbar-h) + var(--ba-header-h) + env(safe-area-inset-top));
height: 100%; }
body{
  padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ba-topbar-h) + var(--ba-header-h) + env(safe-area-inset-top));
margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--ba-text);
  background: var(--ba-bg);
}

a{ color: inherit; }
img{ max-width: 100%; height: auto; }
.ba-sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.ba-skip-link{
  position:absolute;
  left:-999px; top:8px;
  background:#fff;
  color:#000;
  padding:10px 14px;
  border-radius:999px;
  z-index: 99999;
}
.ba-skip-link:focus{ left: 8px; }

.ba-site{ min-height: 100%; }
.ba-container{
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.ba-content{ min-height: 60vh; }
.ba-content--fullwidth{ padding: 0; }

/* Basic typography fallback (Elementor überschreibt i.d.R.) */
.ba-entry-title{
  font-size: clamp(28px, 4vw, 48px);
  margin: 40px 0 16px;
}
.ba-entry-content{ line-height: 1.7; }

/* Offcanvas: toggle button */
.ba-menu-toggle{
  position: fixed;
  top: calc(22px + var(--ba-topbar-h));
  right: 22px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.22);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease, background .15s ease;
}
.ba-menu-toggle:hover{ background: rgba(0,0,0,.32); transform: translateY(-1px); }
.ba-menu-toggle:active{ transform: translateY(0); }
.ba-menu-toggle:focus-visible{ outline: 3px solid rgba(255,255,255,.55); outline-offset: 3px; }

.ba-burger{
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}
.ba-burger span{
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  display: block;
  opacity: .95;
}

/* Offcanvas shell */
.ba-offcanvas{
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
}
.ba-offcanvas.is-open{ display: block; }
.ba-offcanvas__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.ba-offcanvas__panel{
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50vw;              /* wie gewünscht: linke Hälfte */
  max-width: 720px;         /* verhindert "zu breit" auf sehr großen Screens */
  min-width: 320px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--ba-shadow);
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  transform: translateX(-105%);
  transition: transform .22s ease;
  overflow: auto;
  padding: 26px 22px;
}
.ba-offcanvas.is-open .ba-offcanvas__panel{ transform: translateX(0); }

@media (max-width: 820px){
  .ba-offcanvas__panel{ width: 100vw; max-width: none; border-radius: 0; }
}

.ba-offcanvas__header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.ba-offcanvas__brand{
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 18px;
  line-height: 1.2;
}
.ba-offcanvas__brand img{ max-height: 42px; width: auto; }

.ba-offcanvas__close{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--ba-border);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  transition: transform .15s ease;
}
.ba-offcanvas__close:hover{ transform: translateY(-1px); }
.ba-offcanvas__close:active{ transform: translateY(0); }

.ba-offcanvas__menu{
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.ba-offcanvas__menu a{
  display: block;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.7);
  color: var(--ba-text);
  transition: background .15s ease, transform .15s ease;
}
.ba-offcanvas__menu a:hover{
  background: rgba(63,107,75,.10);
  transform: translateY(-1px);
}
.ba-offcanvas__menu .current-menu-item > a,
.ba-offcanvas__menu .current_page_item > a{
  background: rgba(63,107,75,.16);
  border-color: rgba(63,107,75,.22);
}

.ba-offcanvas__footer{
  margin-top: calc(22px + var(--ba-topbar-h));
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.ba-offcanvas__hint{
  font-size: 13px;
  color: var(--ba-muted);
  line-height: 1.5;
}

/* Prevent background scrolling when menu is open */
body.ba-no-scroll{ overflow: hidden; }


/* Utility: Blur Background (Glas/Blur) */
.ba-blur-bg{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Topbar */
.ba-topbar{
  height: var(--ba-topbar-h);
  display: flex;
  align-items: center;
  z-index: 9997;
  background: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.35);
  color: rgba(0,0,0,.72);
}
.ba-topbar__inner{
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ba-topbar__text{
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .2px;
}
@media (max-width: 520px){
  :root{
  --ba-header-h: 118px;
 --ba-topbar-h: 54px; }
  .ba-topbar__text{ font-size: 12.5px; }
}

/* Footer */
.ba-site-footer{
  margin-top: 48px;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.12);
}
.ba-site-footer__inner{
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
  padding: 50px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.ba-site-footer__headline{
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .2px;
  margin-bottom: 6px;
}
.ba-site-footer__meta{
  font-size: 14px;
  opacity: .95;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.ba-site-footer__meta a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.ba-site-footer__meta a:hover{
  border-bottom-color: rgba(255,255,255,.6);
}
.ba-dot{ opacity: .7; }

.ba-site-footer__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 35px;
  background: #9F507A;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0,0,0,.22);
  transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.ba-site-footer__cta:active{ transform: translateY(0); }

.ba-site-footer__bottom{
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  padding: 12px 0 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 12.5px;
  opacity: .85;
}

/* Safe-area support (iOS Notch) */
.ba-topbar{
  padding-top: env(safe-area-inset-top);
  height: calc(var(--ba-topbar-h) + env(safe-area-inset-top));
}
body{
  padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ba-topbar-h) + var(--ba-header-h) + env(safe-area-inset-top));
}
.ba-menu-toggle{
  right: calc(22px + env(safe-area-inset-right));
  top: calc(22px + var(--ba-topbar-h) + env(safe-area-inset-top));
}

@media (max-width: 820px){
  .ba-offcanvas__panel{ min-width: 0; }
}

/* Footer (global) */
.ba-site-footer{
  margin-top: 48px;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.12);
}
.ba-site-footer__inner{
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
  padding: 50px 0 25px;
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 22px;
  align-items: start;
}
.ba-site-footer__title{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: 10px;
}
.ba-site-footer__text{
  font-size: 14px;
  line-height: 1.65;
  opacity: .95;
}
.ba-site-footer__text a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.ba-site-footer__text a:hover{
  border-bottom-color: rgba(255,255,255,.6);
}
.ba-site-footer__links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.ba-site-footer__links a{
  display: inline-flex;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.ba-site-footer__links a:hover{
  background: rgba(255,255,255,.10);
}
.ba-site-footer__muted{
  font-size: 13px;
  opacity: .75;
  line-height: 1.5;
}

.ba-site-footer__social{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.ba-social{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.ba-social:hover{
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}
.ba-social svg{
  width: 22px;
  height: 22px;
  fill: currentColor;
  opacity: .95;
}

.ba-site-footer__cta-wrap{
  margin-top: 16px;
}
.ba-site-footer__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
border-radius: 35px; background: #9F507A;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0,0,0,.22);
  transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.ba-site-footer__cta:hover{ background: var(--ba-green-dark); transform: translateY(-1px); }
.ba-site-footer__cta:active{ transform: translateY(0); }

.ba-site-footer__bottom{
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
  padding: 12px 0 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 12.5px;
  opacity: .85;
}

/* Responsive footer */
@media (max-width: 980px){
  .ba-site-footer__inner{
    grid-template-columns: 1fr 1fr;
  }
  .ba-site-footer__col--social{
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px){
  .ba-site-footer__inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ba-site-footer__social{
    justify-content: center;
  }
  .ba-site-footer__links a{
    justify-content: center;
  }
}

/* Main nav row */
.ba-header__row--nav{
  padding-top: 10px;
}
.ba-header__nav{ display: block; }
.ba-header__menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.ba-header__menu > li > a{
  text-decoration: none;
  color: #2a2a2a;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .35px;
  padding: 10px 6px;
  display: inline-flex;
  border-bottom: 2px solid transparent;
}
.ba-header__menu > li > a:hover{
  border-bottom-color: rgba(60,81,51,.35);
}
.ba-header__menu .current-menu-item > a,
.ba-header__menu .current_page_item > a{
  border-bottom-color: rgba(60,81,51,.55);
}

/* Mobile behavior: show hamburger, hide desktop nav row & reduce tools */
.ba-header__hamburger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.75);
  cursor: pointer;
}

@media (max-width: 980px){
  .ba-header__row--nav{ display: none; }
  .ba-header__hamburger{ display: inline-grid; place-items: center; }
  .ba-header__search{ display: none; }
  .ba-header__chip{ display: none; }
  .ba-header__langs{ display: none; }
  .ba-header__brand img{ max-height: 58px; }
  .ba-header__inner{ padding: 10px 0; }
  .ba-header__btn{ padding: 10px 14px; font-size: 14px; }
}

@media (max-width: 520px){
  .ba-header__btn{ display: none; } /* auf sehr klein: nur hamburger */
  .ba-header__brand img{ max-height: 52px; }
}

/* Hide floating menu button by default (Header hat eigenen Hamburger) */
.ba-menu-toggle--floating{ display: none !important; }

/* Header Navigation (unter Topbar) – modern & atmosphärisch */
.ba-header{
  position: relative;
  z-index: 9996;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  max-height: 123px;
}
.ba-header__inner{
  width: min(1600px, calc(100% - 40px));
  margin-inline: auto;
  padding: 14px 0 10px;
}
.ba-header__grid{
  display: grid;
  grid-template-columns: 331px 1fr;
  gap: 18px;
  align-items: start;
	font-family: 'Roboto';
}
.ba-header__left{
  display: flex;
  align-items: flex-start;
}
.ba-header__brand-link{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transform: translateY(16px); /* leicht versetzt nach unten */
}
.ba-header__brand-link img{
  max-height: 86px;
  width: auto;
  height: auto;
  display:block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.10));
}
.ba-header__brand-text{
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 18px;
  line-height: 1.15;
}

.ba-header__right{
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
}

.ba-header__toprow{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.ba-header__actions{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Pills / Buttons */
.ba-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
	text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.ba-pill--ghost{
  background: rgba(255,255,255,.70);
  border: 2px solid #9F507A;
  color: #2a2a2a;
}
.ba-pill--primary{
  background: #9F507A;
  color: #fff;
  border: 2px solid rgba(0,0,0,0);
 
}

.ba-header__hamburger{
  display: none; /* desktop aus */
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.75);
  cursor: pointer;
}

/* Main nav */
.ba-nav{ display: block; }
.ba-nav__menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}
.ba-nav__menu > li{
  position: relative;
}
.ba-nav__menu > li > a{
  text-decoration: none;
  color: #2a2a2a;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .35px;
  padding: 10px 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, transform .15s ease;
}
.ba-nav__menu > li > a:hover{
  border-bottom-color: rgba(60,81,51,.40);
  transform: translateY(-1px);
}
.ba-nav__menu .menu-item-has-children > a::after{
  content: "▾";
  font-size: 12px;
  opacity: .65;
  transform: translateY(-1px);
}

/* Dropdown (click-to-open) */
.ba-nav__menu .sub-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  margin: 0;
  list-style: none;
  border-radius: 16px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.ba-nav__menu .sub-menu li a{
  display: flex;
  text-decoration: none;
  color: #1f1f1f;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s ease, transform .15s ease;
}
.ba-nav__menu .sub-menu li a:hover{
  background: rgba(60,81,51,.10);
  transform: translateX(2px);
}
.ba-nav__menu > li.is-open > .sub-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Current item accent */
.ba-nav__menu .current-menu-item > a,
.ba-nav__menu .current_page_item > a{
  border-bottom-color: rgba(60,81,51,.55);
}

/* Responsive */
@media (max-width: 980px){
  .ba-header__grid{ grid-template-columns: 1fr; }
  .ba-header__brand-link{ transform: translateY(0); }
  .ba-header__brand-link img{ max-height: 64px; }
  .ba-header__navrow{ display: none; }
  .ba-header__hamburger{ display: inline-grid; place-items: center; }
  .ba-header__toprow{ justify-content: space-between; }
}

@media (max-width: 560px){
  .ba-header__actions .ba-pill--ghost{ display: none; }
}

/* Hide floating menu button (Header nutzt eigenes Menü) */
.ba-menu-toggle--floating{ display: none !important; }

/* Offcanvas submenu styling */
.ba-offcanvas__menu .sub-menu{
  list-style: none;
  padding: 6px 0 0 14px;
  margin: 0;
  display: grid;
  gap: 8px;
}
.ba-offcanvas__menu .sub-menu a{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.55);
  font-size: 14px;
}

/* Dropdown per Hover (Desktop) + Keyboard */
@media (hover: hover) and (pointer: fine){
  .ba-nav__menu > li.menu-item-has-children:hover > .sub-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}
.ba-nav__menu > li.menu-item-has-children:focus-within > .sub-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine){
  /* optional: Gap etwas kleiner */
  .ba-nav__menu .sub-menu{
    top: calc(100% + 6px) !important;
  }

  /* unsichtbare Hover-Brücke oberhalb des Dropdowns */
  .ba-nav__menu .sub-menu::before{
    content:"";
    position:absolute;
    left:0; right:0;
    top:-12px;          /* muss >= Gap sein */
    height:12px;
  }
}