/* ==========================================================================
   BASE & LAYOUT
   ========================================================================== */

    /* Additional Breakpoint */
    @media (min-width: 1500px) {
      .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1450px;
      }
    }


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

    /* Font Definitions */
    body {
      font-family: var(--brand-font-body);
    }
    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
      font-family: var(--brand-font-heading);
      font-weight: 600;
    }
    h2  > span.fw-light, h3  > span.fw-light, .display-2  > span.fw-light, .display-3  > span.fw-light {
      opacity:0.7;
    }
    .bg-body-tertiary {background-color:var(--footer-band-bg) !important;}

/* ==========================================================================
   TOPBAR
   ========================================================================== */

/* ==========================================================================
   HEADER
   ========================================================================== */

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */

/* ==========================================================================
   DESKTOP MEGA MENU
   ========================================================================== */

/* ==========================================================================
   SEARCH
   ========================================================================== */

/* ==========================================================================
   GLOBAL COMPONENTS
   ========================================================================== */

    /* Custom Breadcrumb size */
    .rank-math-breadcrumb > p {font-size:0.875em; font-weight:300;}

    /* Custom Offcanvas & Modal Backdrop */
    .modal-title {font-size:large; font-weight:600;}
    .offcanvas-backdrop.show, .modal-backdrop {
      opacity:1 !important;
      background:var(--brand-overlay-backdrop) !important;
      backdrop-filter: saturate(180%) blur(20px) !important;
      -webkit-backdrop-filter: blur(20px) !important;    
    }

/* ==========================================================================
   FOOTER
   ========================================================================== */

/* Footer Branding & Link Columns */

  /* Footer - Info */
  p.footer-info {font-size:12px; padding-bottom:0px; text-align:center; margin-bottom:0px; color:var(--bs-secondary-color) !important;}
  p.vat-info {background-color:var(--footer-band-bg);}  
  p.sale-info {background-color:var(--footer-band-bg); padding-bottom:25px;}

  /* Footer - Branding */
  .foo_branding {
    position: relative;
    flex-direction: column;
    background-image: var(--foo-branding-bg-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 300px;
    overflow: hidden;
    border-radius: 15px;
  }
  .foo_branding > .foo_branding_con,
  .foo_branding > .foo_branding_soc {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .foo_branding_con {
    padding: 3rem 1.5rem;
  }
  .foo_branding_trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 1.25rem;
  }
  .foo_branding_trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem;
    background-color: var(--brand-surface);
    border: 1px solid var(--brand-border-subtle);
    border-radius: 8px;
    box-shadow: var(--brand-shadow-md);
    font-size: 0.8125rem;
    line-height: 1.3;
    color: var(--bs-body-color);
  }
  .foo_branding_trust-item .bi {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
    color: var(--bs-emphasis-color);
  }
  .foo_branding_soc {position:relative; min-height:200px;}
  .foo_branding_soc a {display:inline-block; font-size:2rem; width:50px; height:auto; text-align:center; margin:10px; background-color:var(--brand-surface); border-radius:10px; box-shadow:var(--brand-shadow-sm);}
  #footer-menu {display:block; font-size:small; text-align:center;}
  #footer-menu > li, #footer-menu a {display:inline;}

  .site-footer__withdrawal {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.375rem;
  }

  .site-footer__withdrawal .eu-owb-order-withdraw-from-contract-button {
    margin: 0;
  }

  .site-footer__withdrawal a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--footer-withdrawal-color);
    background-color: var(--footer-withdrawal-bg);
    border: 1px solid var(--footer-withdrawal-border);
    border-radius: var(--bs-border-radius);
    text-decoration: none;
    box-shadow: none;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  }

  .site-footer__withdrawal a.button:hover {
    color: var(--footer-withdrawal-hover-color);
    background-color: var(--footer-withdrawal-hover-bg);
    border-color: var(--footer-withdrawal-border);
  }

  .site-footer__withdrawal a.button:focus-visible {
    outline: 2px solid var(--footer-withdrawal-focus-ring);
    outline-offset: 2px;
  }

  @media (max-width: 991.98px) {
    .site-footer__withdrawal a.button {
      min-height: 44px;
      max-width: 100%;
    }
  }
  @media (max-width: 991.98px) {
    .foo_branding {
      background-image: none;
      min-height: 0;
    }
    .foo_branding_soc {
      order: -1;
      background-image: var(--foo-branding-bg-image);
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      min-height: 200px;
    }
    .foo_branding_soc > .d-flex.h-100 {
      justify-content: center !important;
      align-items: flex-end;
      min-height: 200px;
      padding: 1rem 1rem 1.25rem;
    }
    .foo_branding__overlay {
      margin: 0;
      background: var(--brand-surface);
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      border-radius: 0;
    }
    .foo_branding_con {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left !important;
      padding: 3rem 1.5rem;
    }
    .foo_branding_con img {
      display: block;
      margin-left: 0;
      margin-right: auto;
    }
    .foo_branding_con .footer-about-text {
      max-width: none;
      text-align: left !important;
    }
    .foo_branding_trust {
      justify-content: flex-start;
      width: 100%;
      margin-top: 1.25rem;
    }
  }
  @media (min-width: 992px) {
    .foo_branding {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: 1fr;
      min-height: 420px;
    }
    .foo_branding__overlay.foo_branding_con {
      grid-column: 1;
      grid-row: 1;
      align-self: start;
      justify-self: start;
      width: 47%;
      max-width: 47%;
      z-index: 1;
      margin: 15px;
      background: rgba(255, 255, 255, 0.76);
      backdrop-filter: blur(7px);
      -webkit-backdrop-filter: blur(7px);
      border-radius: 15px;
    }
    .foo_branding_soc {
      grid-column: 1;
      grid-row: 1;
      z-index: 0;
      width: 100%;
      min-height: 0;
      background-image: none;
    }
    .foo_branding_con {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left !important;
      padding: 3.25rem 2rem 3.25rem 2.5rem;
    }
    .foo_branding_con img {
      display: block;
      margin-left: 0;
      margin-right: auto;
    }
    .foo_branding_con .footer-about-text {
      max-width: 32rem;
      text-align: left !important;
    }
    .foo_branding_trust {
      justify-content: flex-start;
      margin-top: 2.75rem;
    }
    .foo_branding_trust-item {
      padding: 0.75rem 1.125rem;
    }
    .foo_branding_trust-item .bi {
      font-size: 1.5rem;
    }
    .foo_branding_soc > .d-flex.h-100 {
      justify-content: flex-end !important;
      align-items: flex-end;
      padding: 1.25rem 1.5rem;
    }
  }

  /* Footer - Link columns (4 Spalten) */
  #footer > .bg-body-tertiary.pt-5.pb-4 .row > [class*="col-"] ul.list-unstyled > li {
    margin-bottom: 0.375rem !important;
  }
  #footer > .bg-body-tertiary.pt-5.pb-4 .row > [class*="col-"] ul.list-unstyled a,
  #footer > .bg-body-tertiary.pt-5.pb-4 .row > [class*="col-"] ul.list-unstyled a.link-underline,
  #footer > .bg-body-tertiary.pt-5.pb-4 .row > [class*="col-"] ul.list-unstyled a.link-underline-opacity-10 {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--bs-secondary-color) !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-underline-offset: 0 !important;
    --bs-link-underline-opacity: 0;
    transition: color 0.15s ease;
  }
  #footer > .bg-body-tertiary.pt-5.pb-4 .row > [class*="col-"] ul.list-unstyled a:hover,
  #footer > .bg-body-tertiary.pt-5.pb-4 .row > [class*="col-"] ul.list-unstyled a:focus-visible,
  #footer > .bg-body-tertiary.pt-5.pb-4 .row > [class*="col-"] ul.list-unstyled a.link-underline:hover,
  #footer > .bg-body-tertiary.pt-5.pb-4 .row > [class*="col-"] ul.list-unstyled a.link-underline:focus-visible {
    color: var(--bs-emphasis-color) !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
  }
  @media (min-width: 768px) {
    #footer > .bg-body-tertiary.pt-5.pb-4 .row > [class*="col-"] > p.h6 {
      font-weight: 500 !important;
      font-size: 0.875rem;
      color: var(--bs-emphasis-color);
      padding-bottom: 0.625rem;
      margin-bottom: 0.875rem;
      border-bottom: 1px solid var(--brand-border-divider);
    }
  }

/* Footer USPs, Consulting, Payment & Pulse */

  /* Footer - USPs */
  #footer .row.mb-5 > .col-lg:first-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  #footer .row.mb-5 > .col-lg:first-child > .h5 {
    grid-column: 1 / -1;
    margin-bottom: 0.375rem;
  }
  #footer .usps_iconlist {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 6rem;
    height: 100%;
    margin: 0 !important;
    padding: 0.75rem 0.5rem !important;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--brand-border-subtle);
    border-radius: 10px;
    box-shadow: var(--brand-shadow-md);
  }
  #footer .usps_iconlist p {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
    text-align: center;
    font-size: 0.8125rem;
    line-height: 1.3;
    color: var(--bs-body-color);
  }
  #footer .usps_iconlist p .bi {
    margin-right: 0 !important;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--bs-emphasis-color);
  }
  @media (min-width: 992px) {
    #footer .row.mb-5 > .col-lg:first-child {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 11px;
    }
    #footer .usps_iconlist {
      min-height: 6.5rem;
      padding: 0.875rem 0.625rem !important;
    }
  }

  /* Footer - Beratung */
  #footer .row.mb-5 > .col-lg:nth-child(2) > .h5 {
    margin-bottom: 0.375rem;
  }
  #footer .row.mb-5 > .col-lg:nth-child(2) .list-group-item {
    min-height: calc((6rem * 2 + 10px) / 3);
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    align-items: center;
  }
  #footer .row.mb-5 > .col-lg:nth-child(2) .list-group-item > span:first-child {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
  }
  #footer .row.mb-5 > .col-lg:nth-child(2) .list-group-item .bi {
    font-size: 1.25rem !important;
    line-height: 1;
    flex-shrink: 0;
  }
  #footer .row.mb-5 > .col-lg:nth-child(2) .list-group-item .badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
  }
  @media (min-width: 992px) {
    #footer .row.mb-5 > .col-lg:nth-child(2) {
      padding-left: 20px;
    }
    #footer .row.mb-5 > .col-lg:nth-child(2) .list-group-item {
      min-height: calc((6.5rem * 2 + 11px) / 3);
      padding-top: 0.75rem;
      padding-bottom: 0.75rem;
    }
  }

  .paym_iconlist {margin:5px 20px 5px 0px; width:15%; height:auto; border-radius:5px; box-shadow:var(--brand-shadow-sm);}

  .pulse_off {position:relative; display:inline-block; margin-right:5px; width:10px; height:10px; background-color:var(--brand-text-muted); border-radius:50%;}
  .pulse_on {position:relative; display:inline-block; margin-right:5px; width:10px; height:10px; background-color:var(--brand-status-online); border-radius:50%; animation:animate 3s linear infinite}
  .pulse_on i {position:relative;display:flex;justify-content: center;align-items: center;font-size: 30px;color:var(--brand-text-inverse); height:100%;cursor: pointer}
  @keyframes animate{
    0%{box-shadow: 0 0 0 0 rgba(var(--topix-pulse-rgb, var(--brand-status-online-rgb)), 0.7) , 0 0 0 0 rgba(var(--topix-pulse-rgb, var(--brand-status-online-rgb)), 0.7)}
    40%{box-shadow: 0 0 0 10px rgba(var(--topix-pulse-rgb, var(--brand-status-online-rgb)), 0) , 0 0 0 0 rgba(var(--topix-pulse-rgb, var(--brand-status-online-rgb)), 0.7)}
    80%{box-shadow: 0 0 0 10px rgba(var(--topix-pulse-rgb, var(--brand-status-online-rgb)), 0) , 0 0 0 6px rgba(var(--topix-pulse-rgb, var(--brand-status-online-rgb)), 0)}
    100%{box-shadow: 0 0 0 0 rgba(var(--topix-pulse-rgb, var(--brand-status-online-rgb)), 0) , 0 0 0 6px rgba(var(--topix-pulse-rgb, var(--brand-status-online-rgb)), 0)}
  }

/* ==========================================================================
   ACCOUNT OFFCANVAS — logged-in navigation (#offcanvas-user)
   ========================================================================== */

#offcanvas-user .woocommerce-MyAccount-navigation .list-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  --bs-list-group-border-width: 0;
  --bs-list-group-bg: transparent;
}

#offcanvas-user .woocommerce-MyAccount-navigation .list-group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 46px;
  padding: 0.625rem 0.875rem;
  border: 0 !important;
  margin-top: 0 !important;
  border-radius: var(--bs-border-radius);
  background-color: transparent;
  color: var(--brand-text-medium);
  font-size: inherit;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

#offcanvas-user .woocommerce-MyAccount-navigation .list-group-item:not([href*="customer-logout"])::after {
  content: "";
  flex: 0 0 auto;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-left: 0.25rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.45;
  transition: opacity 0.15s ease;
}

#offcanvas-user .woocommerce-MyAccount-navigation .list-group-item:hover {
  color: var(--brand-text-strong);
  background-color: var(--brand-surface-subtle);
}

#offcanvas-user .woocommerce-MyAccount-navigation .list-group-item:hover:not([href*="customer-logout"])::after {
  opacity: 0.75;
}

#offcanvas-user .woocommerce-MyAccount-navigation .list-group-item:focus {
  box-shadow: none;
}

#offcanvas-user .woocommerce-MyAccount-navigation .list-group-item:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

#offcanvas-user .woocommerce-MyAccount-navigation .list-group-item[aria-current="page"] {
  color: var(--brand-text-strong);
  background-color: var(--brand-surface-muted);
  font-weight: 600;
}

#offcanvas-user .woocommerce-MyAccount-navigation .list-group-item[aria-current="page"]:not([href*="customer-logout"])::after {
  opacity: 0.65;
}

#offcanvas-user .woocommerce-MyAccount-navigation .list-group-item[href*="customer-logout"] {
  margin-top: 0.75rem;
  color: var(--brand-text-soft);
}

#offcanvas-user .woocommerce-MyAccount-navigation .list-group-item[href*="customer-logout"]:hover {
  color: var(--brand-text-medium);
  background-color: var(--brand-surface-subtle);
}

@media (max-width: 991.98px) {
  #offcanvas-user .woocommerce-MyAccount-navigation .list-group-item {
    min-height: 48px;
  }
}

/* ==========================================================================
   THIRD-PARTY OVERRIDES
   ========================================================================== */
