/*
Theme Name: Bieler+Lang
Author: evival Technologies GmbH
Author URI: www.evival.net
Version: 1.0.0
*/

/*
Bieler+Lang Überschriften: 
html  font-size 16px 
h1 : 2,5 rem, #009BD3  font-weight : 500 
h2 : 2 rem; #363636 font-weight : 500 
h3 : 2 rem #009BD3  font-weight : 500
h4 : 1,75 rem; #009bd3 font-weight 500 
h5 : 1,5 rem; #009bd3 font-weight 500 
h6 : 1,25 rem; #009bd3 font-weight 500
*/

/* =============================================
   Editor-Stile (Gutenberg)
============================================= */
/* .editor-styles-wrapper h1 {
  font-size: 2.5rem !important;
} */

/* .editor-styles-wrapper h2,
.editor-styles-wrapper h3 {
  font-size: 2rem !important;
} */

.editor-styles-wrapper h4 {
  /* font-size: 1.75rem !important; */
  margin: unset !important;
}

/* .editor-styles-wrapper h5 {
  font-size: 1.5rem !important;
}

.editor-styles-wrapper h6 {
  font-size: 1.25rem !important;
} */

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
  font-weight: 500 !important;
}

.editor-styles-wrapper h4 {
  color: #009bd3 !important;
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
  color: #009bd3 !important;
  margin: 0 !important;
}

html body .editor-styles-wrapper h2 {
  color: #363636 !important;
}

.editor-styles-wrapper h2.home-page-h2 {
  margin: 0 !important;
  margin-top: -0.45em !important;
  margin-left: 1.6em !important;
}

/* Headlines skalieren im Editor UND im Frontend (.content-Bereich) */
html body main .editor-styles-wrapper h1,
html body main .content h1,
html body h1 {
  font-size: calc(32px + (48 - 32) * ((100vw - 320px) / (1600 - 320)));
}

html body main .editor-styles-wrapper h2,
html body main .content h2,
html body h2 {
  font-size: calc(24px + (32 - 24) * ((100vw - 320px) / (1600 - 320)));
}

html body main .editor-styles-wrapper h3,
html body main .content h3,
html body h3 {
  font-size: calc(24px + (32 - 24) * ((100vw - 320px) / (1600 - 320)));
}

html body main .editor-styles-wrapper h4,
html body main .content h4,
html body h4 {
  font-size: calc(20px + (26 - 20) * ((100vw - 320px) / (1600 - 320)));
}

html body main .editor-styles-wrapper h5,
html body main .content h5,
html body h5 {
  font-size: calc(16px + (22 - 16) * ((100vw - 320px) / (1600 - 320)));
}

html body main .editor-styles-wrapper h6,
html body main .content h6,
html body h6 {
  font-size: calc(14px + (18 - 14) * ((100vw - 320px) / (1600 - 320)));
}

html body p,
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6 {
  font-family: "Rubik" !important;
}

/* =============================================
   Frontend-Stile
============================================= */
html body main {
  font-size: 16px;
}

/* html body h1 {
  font-size: calc(32px + (48 - 32) * ((100vw - 1025px) / (1920 - 1025)));
}
html body h5 {
  font-size: calc(18px + (24 - 18) * ((100vw - 1025px) / (1920 - 1025)));
}
html body h6 {
  font-size: calc(16px + (20 - 16) * ((100vw - 1025px) / (1920 - 1025)));
} */
/* .wp-block-bl-block-leistungs-portfolio .pl-column h4 {
  font-size: calc(20px + (26 - 20) * ((100vw - 1025px) / (1920 - 1025)));
} */

/* Headlines global-styles */
/* h1,
body .content h1 {
  font-size: 2.5rem;
} */

html body h2:not(.home-page-h2) {
  margin: 0;
}

html body h2 {
  /* font-size: 2rem !important; */
  color: #363636 !important;
}

/* html body h3 {
  font-size: 2rem !important;
} */

/* html body h4 {
  font-size: 1.75rem !important;
} */

/* html body h5 {
  font-size: 1.5rem !important;
}

html body h6 {
  font-size: 1.25rem !important;
} */

/* Weitere spezifische Regeln */
h3 strong {
  color: #009bd3 !important;
}

/* html body h4 {
  color: #009bd3 !important;
} */

html body h1,
html body h3,
html body h4,
html body h5,
html body h6 {
  color: #009bd3 !important;
  margin: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500 !important;
}

.wp-block-bl-block-page-headline h2 {
  /* font-size: 2rem !important; */
  color: #363636 !important;
}

.wp-block-bl-block-page-headline h3 {
  color: #009bd3 !important;
  /* font-size: 2rem !important; */
}

.has-large-font-size {
  font-size: 1.25rem !important;
}

/* html body main .content h1 {
  font-size: calc(32px + (64 - 32) * ((100vw - 1025px) / (1920 - 1025)));
} */

/* body.home h1.home-page-h1 {
  font-size: calc(
    38px + (86 - 38) * ((100vw - 769px) / (1920 - 769))
  ) !important;
} */

body.home h2.home-page-h2 {
  margin: 0;
  margin-top: -0.45em;
  margin-left: 1.6em;
  padding: unset;
  color: #363636;
}

html body .woocommerce-loop-product__title {
  /* text-align: center; */
  font-size: calc(
    18px + (32 - 24) * ((100vw - 1025px) / (1920 - 1025))
  ) !important;
  padding: 0.5em 0;
}

/* .html body main .content h4 {
  font-size: calc(
    10.5px + (21 - 10.5) * ((100vw - 1025px) / (1920 - 1025))
  ) !important;
} */

#n2-ss-2-arrow-previous {
  display: none;
}

.up-sells-headline {
  margin-top: 200px;
  margin-bottom: 50px !important;
}

.related-products {
  margin-top: 150px;
}

.related-products-headline {
  margin-top: 200px !important;
  margin-bottom: 50px !important;
}

.woocommerce div.product .woocommerce-product-gallery {
  float: right !important;
  margin-top: 120px !important;
  display: flex;
  flex-direction: column;
}

.second-product-image-container {
  order: 2;
}

.woocommerce div.product .single-product-content {
  float: left !important;
  margin-top: 50px !important;
}

.content ol {
  margin-right: calc(-13px / 2) !important;
  margin-left: calc(-13px / 2) !important;
}

.product-title {
  font-size: 48px !important;
  font-weight: 600 !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
  opacity: 1;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  padding-right: calc(13px / 2);
  padding-left: calc(13px / 2);
  padding-top: 13px;
  /* padding-bottom: 13px; */
}

.up-sells {
  margin-top: 150px;
}

.woocommerce-Tabs-panel h2 {
  margin-bottom: 20px !important;
}

.single-product-content .woocommerce-product-details__short-description {
  margin-bottom: 50px;
  padding-left: 5vw;
  padding-right: 5vw;
}

.single-product-content .product_meta {
  padding-left: 5vw;
  padding-right: 5vw;
}

.woocommerce ul.products li.product .button {
  margin-top: unset;
  height: 100%;
  padding: 8px;
  font-size: 12px;
}

.swiper-slide .swiper-slide-active {
  justify-content: center;
  display: flex;
}

.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

/* .wb_cptb_content {
  padding-left: 5vw;
  padding-right: 5vw;
} */

.woocommerce div.product .woocommerce-tabs .panel {
  /* padding-left: 2vw; */
  /* padding-right: 3vw; */
  padding-left: 28px;
  padding-right: 28px;
}

/* Style for the mega-menu */
#mega-menu-wrap-primary-menu {
  margin-top: 20px !important;
}

#mega-menu-wrap-primary-menu
  #mega-menu-primary-menu
  > li.mega-menu-item
  > a.mega-menu-link {
  color: black !important;
}

/* .navbar {
  top: 20px !important;
} */

.mega-menu-link {
  display: flex !important;
  align-items: center !important;
}

.navbar-items-right {
  margin-top: 3px;
}

.woosq-btn {
  cursor: pointer;
  background-color: #e9e6ed;
  border: none;
  padding: 7px;
  display: unset;
  border-radius: 3px;
}

.woosq-btn:hover {
  background-color: #dcd7e4;
}

.woosq-btn-text {
  display: none;
}

.up-sells-product-buttons {
  display: flex;
  align-items: center;
  column-gap: 10px;
  margin-top: 10px;
  /* justify-content: center; */
}

.swiper-slide .up-sells-product-buttons a:nth-child(2) {
  margin-top: unset;
  height: 100%;
  padding: 8px;
  font-size: 12px;
}

ul.products {
  height: 100%;
  display: flex;
}

li.product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.swiper-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  min-height: 380px;
}

.swiper-slide {
  display: flex;
  height: auto !important;
  flex-shrink: 0;
  box-sizing: border-box;
  margin-right: 10px;
}

.swiper-nav-buttons {
  position: relative;
  top: 100px;
}

.swiper-button-prev {
  left: -90px !important;
}

.swiper-button-next {
  right: -90px !important;
}

.single-product-content .product_title {
  margin-top: 7vw !important;
  padding-left: 5vw !important;
  padding-right: 5vw !important;
}

/* WP-Forms Style */
.wpforms-head-container {
  padding: unset !important;
}

.wpforms-title {
  font-size: 2 rem !important;
  font-weight: 500 !important;
  color: #009bd3 !important;
}

/* Hide loading spinner */
div.wpforms-container .wpforms-submit-spinner {
  display: none !important;
}

/* Dispaly loading spinner after form Submitting */
div.wpforms-container button[disabled] + .wpforms-submit-spinner {
  display: inline-block !important;
}

footer {
  margin-top: 50px;
}

.related,
.up-sells {
  padding-left: 2vw;
  padding-right: 3vw;
}

.wc-block-grid__product-title {
  text-align: left;
}

#navbar-searchbar::placeholder {
  font-size: 16px !important;
}

#navbar-searchbar {
  font-size: 16px !important;
}

.navbar-function-search #searchform .input-group #navbar-searchbar {
  padding: 6px 9px !important;
}

@media (max-width: 1024px) {
  .navbar {
    top: 0 !important;
    display: flex;
    align-items: center;
  }

  #mega-menu-wrap-primary-menu {
    margin-top: unset !important;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1570px) {
  navlogo {
    left: 7.5vw;
  }
}

/* Callback-Form button */
.callback-form-btn {
  margin-top: 50px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.popup-close {
  font-size: 25px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

/* Neue Styles ab dem 04.03.2025 */
.wp-block-buttons.is-style-kacheln {
  row-gap: 25px;
}

footer .ersteSpalte {
  gap: 0.5em;
}

.wp-block-bl-block-leistungs-portfolio .pl-column h4 {
  padding: 5% 10%;
}

.wp-block-bl-block-leistungs-portfolio .pl-column h4 {
  margin: unset;
}

body .is-style-kacheln {
  display: block;
}

.wp-block-buttons.is-style-kacheln .wp-block-button .wp-block-button__link {
  padding: unset;
}

.navbar-brand {
  margin-left: auto;
  align-items: center;
  margin-top: 5px;
}

.tabs {
  justify-content: unset;
}

.panel {
  box-shadow: unset;
}

.woocommerce .products ul,
.woocommerce ul.products {
  flex-wrap: wrap;
  justify-content: space-between;
}

.navbar-burger {
  display: none !important;
}

.wp-block-cover.is-style-abgeschnitten {
  margin-top: 76px !important;
}

.dropdown-close-icon .close {
  text-align: right;
}

#search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.is-hidden {
  display: none;
}

#search-container {
  max-width: 600px;
  width: 90%;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hidden {
  display: none !important;
}

.active-search {
  display: block;
}

.custom-inquiry-button {
  margin-top: 70px;
  margin-bottom: 54px;
  padding-left: 5vw;
}

#open-form {
  background: #009bd3 !important;
  color: #fff;
  width: 340px;
}

#form-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.form-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 5px;
  max-width: 600px;
  width: 90%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
}

.close-form {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: #333;
}

.form-content {
  margin-top: 20px;
}

.form-message {
  color: #fff !important;
}

.wpforms-confirmation-container-full {
  border: unset !important;
  background: #009bd3 !important;
}

.navbar-searchbar::placeholder {
  font-size: 1.25rem !important;
  color: #2d2d2d;
}

.navbar .navbar-function .input-group-append {
  width: 105px !important;
}

.navbar-function-search #searchform .input-group-append .btn {
  font-weight: bold;
  border-radius: 5px;
}

#sidebar-menu {
  margin-top: 2rem;
}

/* Order of product tabs */
ul.tabs.wc-tabs {
  display: flex;
  flex-direction: row;
}

li.description_tab {
  order: 1;
}

li.wb_cptb_1_tab {
  order: 2;
}

li.wb_cptb_3_tab {
  order: 3;
}

li.additional_information_tab {
  order: 4;
}
li.wb_cptb_2_tab {
  order: 5;
}

.swiper-pagination {
  margin-top: 3em;
  position: relative !important;
}

.woocommerce table.shop_attributes td {
  font-style: normal !important;
}

.content table td {
  border-top: 1px dotted rgba(0, 0, 0, 0.1) !important;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.1) !important;
}

.archive-spacer {
  margin-top: 7rem;
}

.woocommerce-result-count {
  margin-top: 35px !important;
}

.cross-sells {
  padding-left: 2vw;
  padding-right: 3vw;
}

.cross-sells-heading {
  margin-top: 150px !important;
  margin-bottom: 50px !important;
}

.cross-sells-heading + ul.products {
  justify-content: flex-start !important;
}

/* .term-description {
  margin-top: 100px;
  margin-bottom: 35px;
  font-weight: 500 !important;
  color: #009bd3 !important;
  font-size: calc(24px + (32 - 24) * ((100vw - 320px) / (1600 - 320)));
} */

/* .term-title {
  margin-top: 100px !important;
  margin-bottom: 35px !important;
} */

/* Responsive Style */
@media screen and (max-width: 1400px) {
  #mega-menu-wrap-primary-menu .mega-menu-toggle {
    display: flex;
  }
}

@media (min-width: 1381px) {
  .navbar-function-phone .phone-dropdown {
    display: none;
  }
  .navbar-function-phone.is-hoverable:hover .phone-dropdown {
    display: block;
  }
  .dropdown-close-icon {
    display: none;
  }
}

@media screen and (max-width: 1380px) {
  navlogo {
    top: 28px;
  }
  .zweiteSpalte > .wp-block-column:nth-child(2) {
    display: none;
  }

  .phone-dropdown {
    position: fixed;
    top: 35px;
    right: 0;
    background: white;
  }

  .navbar-function-phone .phone-dropdown {
    display: none;
  }
  .navbar-function-phone.is-active .phone-dropdown {
    display: block;
  }
  .navbar-function-phone.is-active .close {
    display: block;
    font-size: 1.8em;
    cursor: pointer;
  }

  /* #mega-menu-primary-menu  {
    top: 85px !important;
  }   */
}

/* Style for Header */
@media screen and (min-width: 1025px) {
  .navbar-burger {
    display: none;
  }

  .navbar,
  .navbar-menu,
  .navbar-start,
  .navbar-end {
    align-items: stretch;
    display: flex;
  }
  .navbar {
    min-height: 3.25rem;
  }
  .navbar.is-spaced {
    padding: 1rem 2rem;
  }
  .navbar.is-spaced .navbar-start,
  .navbar.is-spaced .navbar-end {
    align-items: center;
  }
  .navbar.is-spaced a.navbar-item,
  .navbar.is-spaced .navbar-link {
    border-radius: 4px;
  }
  .navbar.is-transparent a.navbar-item:focus,
  .navbar.is-transparent a.navbar-item:hover,
  .navbar.is-transparent a.navbar-item.is-active,
  .navbar.is-transparent .navbar-link:focus,
  .navbar.is-transparent .navbar-link:hover,
  .navbar.is-transparent .navbar-link.is-active {
    background-color: transparent !important;
  }
  .navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link,
  .navbar.is-transparent
    .navbar-item.has-dropdown.is-hoverable:focus
    .navbar-link,
  .navbar.is-transparent
    .navbar-item.has-dropdown.is-hoverable:focus-within
    .navbar-link,
  .navbar.is-transparent
    .navbar-item.has-dropdown.is-hoverable:hover
    .navbar-link {
    background-color: transparent !important;
  }
  .navbar.is-transparent .navbar-dropdown a.navbar-item:focus,
  .navbar.is-transparent .navbar-dropdown a.navbar-item:hover {
    background-color: #2d2d2d;
    color: #0a0a0a;
  }
  .navbar.is-transparent .navbar-dropdown a.navbar-item.is-active {
    background-color: #2d2d2d;
    color: #009bd3;
  }
  .navbar-burger {
    display: none;
  }
  .navbar-item,
  .navbar-link {
    align-items: center;
    display: flex;
  }
  .navbar-item.has-dropdown {
    align-items: stretch;
  }
  .navbar-item.has-dropdown-up .navbar-link::after {
    transform: rotate(135deg) translate(0.25em, -0.25em);
  }
  .navbar-item.has-dropdown-up .navbar-dropdown {
    border-bottom: 2px solid #959595;
    border-radius: 6px 6px 0 0;
    border-top: none;
    bottom: 100%;
    box-shadow: 0 -8px 8px rgba(10, 10, 10, 0.1);
    top: auto;
  }
  .navbar-item.is-active .navbar-dropdown,
  .navbar-item.is-hoverable:focus .navbar-dropdown,
  .navbar-item.is-hoverable:focus-within .navbar-dropdown,
  .navbar-item.is-hoverable:hover .navbar-dropdown {
    display: block;
  }
  .navbar.is-spaced .navbar-item.is-active .navbar-dropdown,
  .navbar-item.is-active .navbar-dropdown.is-boxed,
  .navbar.is-spaced .navbar-item.is-hoverable:focus .navbar-dropdown,
  .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed,
  .navbar.is-spaced .navbar-item.is-hoverable:focus-within .navbar-dropdown,
  .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed,
  .navbar.is-spaced .navbar-item.is-hoverable:hover .navbar-dropdown,
  .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .navbar-menu {
    flex-grow: 1;
    flex-shrink: 0;
  }
  .navbar-start {
    justify-content: flex-start;
    margin-right: auto;
  }
  .navbar-end {
    justify-content: flex-end;
    margin-left: auto;
  }
  .navbar-dropdown {
    background-color: #fff;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-top: 2px solid #959595;
    box-shadow: 0 8px 8px rgba(10, 10, 10, 0.1);
    display: none;
    font-size: 0.875rem;
    left: 0;
    min-width: 100%;
    position: absolute;
    top: 100%;
    z-index: 20;
  }
  .navbar-dropdown .navbar-item {
    padding: 0.375rem 1rem;
    white-space: nowrap;
  }
  .navbar-dropdown a.navbar-item {
    padding-right: 3rem;
  }
  .navbar-dropdown a.navbar-item:focus,
  .navbar-dropdown a.navbar-item:hover {
    background-color: #2d2d2d;
    color: #0a0a0a;
  }
  .navbar-dropdown a.navbar-item.is-active {
    background-color: #2d2d2d;
    color: #009bd3;
  }
  .navbar.is-spaced .navbar-dropdown,
  .navbar-dropdown.is-boxed {
    border-radius: 6px;
    border-top: none;
    box-shadow: 0 8px 8px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
    display: block;
    opacity: 0;
    pointer-events: none;
    top: calc(100% + (-4px));
    transform: translateY(-5px);
    transition-duration: 86ms;
    transition-property: opacity, transform;
  }
  .navbar-dropdown.is-right {
    left: auto;
    right: 0;
  }
  .navbar-divider {
    display: block;
  }
  .navbar > .container .navbar-brand,
  .container > .navbar .navbar-brand {
    margin-left: -0.75rem;
  }
  .navbar > .container .navbar-menu,
  .container > .navbar .navbar-menu {
    margin-right: -0.75rem;
  }
  .navbar.is-fixed-bottom-desktop,
  .navbar.is-fixed-top-desktop {
    left: 0;
    position: fixed;
    right: 0;
    z-index: 30;
  }
  .navbar.is-fixed-bottom-desktop {
    bottom: 0;
  }
  .navbar.is-fixed-bottom-desktop.has-shadow {
    box-shadow: 0 -2px 3px rgba(10, 10, 10, 0.1);
  }
  .navbar.is-fixed-top-desktop {
    top: 0;
  }
  html.has-navbar-fixed-top-desktop,
  body.has-navbar-fixed-top-desktop {
    padding-top: 3.25rem;
  }
  html.has-navbar-fixed-bottom-desktop,
  body.has-navbar-fixed-bottom-desktop {
    padding-bottom: 3.25rem;
  }
  html.has-spaced-navbar-fixed-top,
  body.has-spaced-navbar-fixed-top {
    padding-top: 5.25rem;
  }
  html.has-spaced-navbar-fixed-bottom,
  body.has-spaced-navbar-fixed-bottom {
    padding-bottom: 5.25rem;
  }
  a.navbar-item.is-active,
  .navbar-link.is-active {
    color: #0a0a0a;
  }
  a.navbar-item.is-active:not(:focus):not(:hover),
  .navbar-link.is-active:not(:focus):not(:hover) {
    background-color: rgba(0, 0, 0, 0);
  }
  .navbar-item.has-dropdown:focus .navbar-link,
  .navbar-item.has-dropdown:hover .navbar-link,
  .navbar-item.has-dropdown.is-active .navbar-link {
    background-color: #fafafa;
  }
}

@media screen and (max-width: 1024px) {
  .pl-column:last-child {
    margin-left: 2em !important;
    margin-bottom: 2em !important;
    margin-top: 0 !important;
  }

  .wp-block-bl-block-leistungs-portfolio
    .pl-column
    .wp-block-bl-block-bl-button
    a::before {
    bottom: 1.4em;
  }

  /* html body main .content h1 {
    font-size: calc(40px + (48 - 40) * ((100vw - 768px) / (1023 - 768)));
  }

  html body main .content h5 {
    font-size: calc(20px + (24 - 20) * ((100vw - 768px) / (1023 - 768)));
  }

  html body main .content h6 {
    font-size: calc(17px + (20 - 17) * ((100vw - 768px) / (1023 - 768)));
  } */

  .wp-block-bl-block-leistungs-portfolio .pl-column h4 {
    font-size: calc(22px + (26 - 22) * ((100vw - 768px) / (1023 - 768)));
  }

  /* WP-Editor Styles */
  /* html body h1 {
    font-size: calc(40px + (48 - 40) * ((100vw - 768px) / (1023 - 768)));
  }

  html body h5 {
    font-size: calc(20px + (24 - 20) * ((100vw - 768px) / (1023 - 768)));
  }

  html body h6 {
    font-size: calc(17px + (20 - 17) * ((100vw - 768px) / (1023 - 768)));
  } */

  html body .woocommerce-loop-product__title {
    font-size: calc(
      18px + (32 - 24) * ((100vw - 300px) / (768 - 300))
    ) !important;
  }

  .navbar > .container {
    display: block;
  }
  .navbar-brand .navbar-item,
  .navbar-tabs .navbar-item {
    align-items: center;
    display: flex;
  }
  .navbar-link::after {
    display: none;
  }
  .navbar-menu {
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
    padding: 0.5rem 0;
  }
  .navbar-menu.is-active {
    display: block;
  }
  .navbar.is-fixed-bottom-touch,
  .navbar.is-fixed-top-touch {
    left: 0;
    position: fixed;
    right: 0;
    z-index: 30;
  }
  .navbar.is-fixed-bottom-touch {
    bottom: 0;
  }
  .navbar.is-fixed-bottom-touch.has-shadow {
    box-shadow: 0 -2px 3px rgba(10, 10, 10, 0.1);
  }
  .navbar.is-fixed-top-touch {
    top: 0;
  }
  .navbar.is-fixed-top .navbar-menu,
  .navbar.is-fixed-top-touch .navbar-menu {
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - 3.25rem);
    overflow: auto;
  }
  html.has-navbar-fixed-top-touch,
  body.has-navbar-fixed-top-touch {
    padding-top: 3.25rem;
  }
  html.has-navbar-fixed-bottom-touch,
  body.has-navbar-fixed-bottom-touch {
    padding-bottom: 3.25rem;
  }

  .woocommerce-loop-product__title {
    /* max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
  }

  .swiper-container {
    padding-bottom: 30px;
  }

  .swiper-pagination {
    bottom: 0 !important;
  }
}

@media screen and (max-width: 768px) {
  .woocommerce div.product .woocommerce-tabs .panel {
    overflow-x: scroll;
  }
}

@media screen and (max-width: 768px) {
  .wp-block-bl-block-leistungs-portfolio
    .pl-column
    .wp-block-bl-block-bl-button
    a::before {
    bottom: 1.4em;
  }

  .pl-column:last-child {
    margin-left: unset !important;
  }

  /* html body main .content h1 {
    font-size: calc(32px + (48 - 32) * ((100vw - 300px) / (768 - 300)));
  }

  html body main .content h5 {
    font-size: calc(18px + (24 - 18) * ((100vw - 300px) / (768 - 300)));
  }

  html body main .content h6 {
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (768 - 300)));
  } */

  /* WP-Editor Styles */

  /* html body h1 {
    font-size: calc(32px + (48 - 32) * ((100vw - 300px) / (768 - 300)));
  }

  html body h5 {
    font-size: calc(18px + (24 - 18) * ((100vw - 300px) / (768 - 300)));
  }

  html body h6 {
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (768 - 300)));
  } */

  html body .woocommerce-loop-product__title {
    font-size: calc(
      18px + (32 - 24) * ((100vw - 300px) / (768 - 300))
    ) !important;
  }

  .wp-block-bl-block-leistungs-portfolio .pl-column h4 {
    font-size: calc(20px + (26 - 20) * ((100vw - 300px) / (768 - 300)));
  }

  .wc-block-grid__products {
    margin-left: 0 !important;
  }

  .tabs {
    overflow-x: scroll !important;
  }

  .woocommerce div.product {
    margin-top: 120px !important;
  }

  .woocommerce div.product .woocommerce-product-gallery {
    margin-top: 40px !important;
  }
}

@media screen and (max-width: 480px) {
  html body .up-sells-headline,
  .related-products-headline {
    margin-left: 25px !important;
  }

  .swiper-slide {
    display: flex !important;
    justify-content: center !important;
  }

  .cross-sells-heading {
    margin-left: 25px !important;
  }
}

@media (max-width: 320px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }
  h5 {
    font-size: 18px;
  }
  h6 {
    font-size: 16px;
  }
}

@media (min-width: 1600px) {
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 32px;
  }
  h4 {
    font-size: 26px;
  }
  h5 {
    font-size: 24px;
  }
  h6 {
    font-size: 20px;
  }
}
