/* =====================================================
   Divi Header - Builder Custom Styles
   Target structure:
   - Section: .site-header
   - Row: .header-inner
   - Logo column: .header-logo
   - Nav column: .header-nav
   - Text module contains .nav-list
   ===================================================== */

.et_pb_section.site-header,
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: transparent !important;
}

.site-header .header-inner.et_pb_row {
  max-width: 1440px;
  width: 80%;
  margin: 0 auto;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  min-height: 56px;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  display: flex !important;
  align-items: center;
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: padding 0.25s ease, border-radius 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Visual nav shell so content stays aligned while shell can expand */
.site-header .header-inner.et_pb_row::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: none;
  transition: left 0.25s ease, right 0.25s ease, border-radius 0.25s ease, box-shadow 0.25s ease;
}

/* Figma scroll state: shell expands while logo/menu remain aligned */
.site-header.is-scrolled .header-inner.et_pb_row::before {
  left: -40px;
  right: -40px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(10, 44, 42, 0.12);
}

/* Override Divi float-based columns inside flex row */
.site-header .header-inner.et_pb_row > .et_pb_column {
  float: none !important;
  display: flex !important;
  align-items: center;
}

/* Force predictable two-column header layout: logo auto, nav fills remaining space */
.site-header .header-inner.et_pb_row > .header-logo {
  width: auto !important;
  flex: 0 0 auto;
  margin-right: 32px !important;
}

.site-header .header-inner.et_pb_row > .header-nav {
  width: auto !important;
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 0 !important;
}

.site-header .header-inner.et_pb_row::after {
  display: none !important;
}

.site-header .header-inner.is-mobile {
  display: none !important;
}

/* Logo column */
.site-header .header-logo {
  display: flex !important;
  align-items: center;
  width: auto !important;
  height: auto !important;
}

.site-header .header-logo .et_pb_image,
.site-header .header-logo .et_pb_image_wrap {
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.site-header .header-logo .et_pb_image_wrap img {
  height: 56px;
  width: auto;
  max-height: 56px;
}

/* Nav column */
.site-header .header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-header .header-nav .et_pb_text,
.site-header .header-nav .et_pb_text_inner {
  width: 100%;
  margin: 0;
}

/* Nav list */
.site-header .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

.site-header .nav-item {
  position: relative;
  margin: 0;
  padding: 0;
}

.site-header .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header .nav-link:hover {
  color: #0e615d;
}

.site-header .nav-item.is-mega-open > .nav-link,
.site-header .menu-item.is-mega-open > a {
  color: #0e615d;
}

.site-header .nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mobile-mega-menu,
.mobile-nav-overlay,
.mobile-nav-drawer {
  display: none;
}

.site-header .mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.site-header .mobile-nav-toggle-line {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 999px;
  background: #1f2a28;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.site-header .mobile-contact-btn {
  width: 56px;
  min-width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0 !important;
  border-radius: 12px;
  border-width: 0;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 10px 22px rgba(1, 221, 141, 0.22);
}

.site-header .mobile-contact-btn::before {
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translateX(-50%);
}

/* CTA button */
.site-header .nav-cta,
.site-header .contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  height: 48px;
  padding: 12px 20px 12px 48px;
  border-radius: 4px;
  border: 2px solid #01dd8d;
  background: #01dd8d;
  color: #0b1f16;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-header .nav-cta:hover,
.site-header .contact-btn:hover {
  background: #08998f;
  border-color: #08998f;
  color: #ffffff;
}

/* Contact button icon migrated from old landing header */
.header-landing-page .menu-icon-contact a,
.menu-icon-contact-tablet a,
.menu-icon-contact-mobile a {
  position: relative;
  height: 48px;
  padding: 14px 16px 14px 50px !important;
}

.header-landing-page .menu-icon-contact a::before,
.menu-icon-contact-tablet a::before,
.menu-icon-contact-mobile a::before,
.site-header .nav-cta::before,
.site-header .contact-btn::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 24px;
  height: 24px;
  background-image: url("/wp-content/uploads/2025/10/mail.png");
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: center;
  transition: filter 0.2s ease;
}

.header-landing-page .menu-icon-contact a:hover::before,
.menu-icon-contact-tablet a:hover::before,
.menu-icon-contact-mobile a:hover::before,
.site-header .nav-cta:hover::before,
.site-header .contact-btn:hover::before {
  filter: invert(1);
}

/* Fix accidental <br> injected in text module */
.site-header .et_pb_text_inner br {
  display: none;
}

/* Tablet/Desktop narrow */
@media (max-width: 1200px) {
  .site-header .header-inner.et_pb_row {
    max-width: 100%;
    width: calc(100% - 80px);
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .site-header .nav-list {
    gap: 24px;
  }

  .site-header .nav-cta,
  .site-header .contact-btn {
    font-size: 15px;
    padding: 12px 16px 12px 40px;
  }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .site-header .menu-icon-contact .contact-btn {
    font-size: 15px !important;
    color: #0b1f16 !important;
    padding-left: 46px !important;
    padding-right: 18px !important;
  }
}

@media (max-width: 768px) {
  .site-header .nav-cta,
  .site-header .contact-btn,
  .menu-icon-contact-mobile a {
    height: 36px;
    font-size: 14px;
    padding: 8px 14px 8px 36px;
  }
}

/* Mobile: keep clean while mega menu is handled in another section */
@media (max-width: 767px) {
  :root {
    --mobile-shell-gutter: clamp(28px, 7vw, 56px);
  }

  .site-header .header-inner.et_pb_row {
    max-width: 100%;
    min-height: 64px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    border-radius: 0;
  }

  .site-header.is-scrolled .header-inner.et_pb_row::before {
    left: 0;
    right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header .header-inner:not(.is-mobile) {
    display: none !important;
  }

  .site-header .header-inner.is-mobile {
    display: flex !important;
    width: 100%;
    max-width: none;
    min-height: 72px;
    margin: 0 auto;
    padding: 14px var(--mobile-shell-gutter) !important;
    justify-content: space-between;
  }

  .site-header .header-inner.is-mobile::before {
    left: 0 !important;
    right: 0 !important;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-header.is-scrolled .header-inner.is-mobile,
  body.mobile-mega-menu-open .site-header .header-inner.is-mobile {
    width: 100%;
    max-width: none;
    margin-top: 12px;
  }

  .site-header.is-scrolled .header-inner.is-mobile {
    padding: 14px var(--mobile-shell-gutter) !important;
  }

  body.mobile-mega-menu-open .site-header .header-inner.is-mobile {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 16px !important;
    padding: 14px 16px !important;
  }

  .site-header.is-scrolled .header-inner.is-mobile::before,
  body.mobile-mega-menu-open .site-header .header-inner.is-mobile::before {
    left: 16px !important;
    right: 16px !important;
    background: #ffffff;
    border-radius: 24px;
    box-shadow:
      0 10px 22px rgba(10, 44, 42, 0.08),
      0 22px 48px rgba(10, 44, 42, 0.12);
  }

  .site-header.is-scrolled .header-inner.is-mobile::before {
    left: 16px !important;
    right: 16px !important;
    border-radius: 24px;
  }

  body.mobile-mega-menu-open .site-header .header-inner.is-mobile::before {
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 24px 0 0;
    box-shadow:
      0 -8px 16px rgba(10, 44, 42, 0.05),
      0 -18px 36px rgba(10, 44, 42, 0.08);
  }

  body.mobile-mega-menu-open .site-header .header-inner.is-mobile .et_pb_column_4_tb_header {
    justify-content: flex-end;
    padding-right: 0 !important;
  }

  body.mobile-mega-menu-open .site-header .header-inner.is-mobile .mobile-contact-btn {
    margin-right: 0;
  }

  .site-header .header-inner.is-mobile > .et_pb_column {
    margin: 0 !important;
    display: flex !important;
    align-items: center;
  }

  .site-header .header-inner.is-mobile > .et_pb_column::after {
    display: none !important;
  }

  .site-header .header-inner.is-mobile > .et_pb_column:nth-child(1),
  .site-header .header-inner.is-mobile > .et_pb_column:nth-child(3) {
    flex: 0 0 52px;
    width: 52px !important;
  }

  .site-header .header-inner.is-mobile > .et_pb_column:nth-child(2) {
    flex: 1 1 auto;
    width: auto !important;
    justify-content: center;
    min-width: 0;
  }

  .site-header .header-inner.is-mobile .et_pb_module,
  .site-header .header-inner.is-mobile .et_pb_text,
  .site-header .header-inner.is-mobile .et_pb_text_inner,
  .site-header .header-inner.is-mobile .et_pb_image,
  .site-header .header-inner.is-mobile .et_pb_image_wrap {
    width: 100%;
    margin-bottom: 0 !important;
  }

  .site-header .header-inner.is-mobile .header-logo {
    width: 52px !important;
    justify-content: flex-start;
    margin-right: 0 !important;
  }

  .site-header .header-inner.is-mobile .header-nav {
    display: flex !important;
  }

  .site-header .header-inner.is-mobile .et_pb_text_inner {
    display: flex;
    align-items: center;
  }

  .site-header .header-inner.is-mobile .et_pb_column_3_tb_header .et_pb_image_wrap,
  .site-header .header-inner.is-mobile .et_pb_column_3_tb_header picture {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header .header-logo .et_pb_image_wrap img {
    height: 44px;
    max-height: 44px;
  }

  .site-header .header-inner.is-mobile .et_pb_column_3_tb_header .et_pb_image_wrap img {
    height: 48px;
    max-height: 48px;
    width: auto;
  }

  .site-header .header-inner.is-mobile .et_pb_column_4_tb_header {
    justify-content: flex-end;
  }

  .site-header .header-inner.is-mobile .mobile-contact-btn {
    margin-left: auto;
    position: relative;
    background: linear-gradient(180deg, #19e48d 0%, #01d67f 100%);
    box-shadow: 0 8px 18px rgba(1, 221, 141, 0.18);
  }

  .site-header .header-inner.is-mobile .mobile-contact-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23091614' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
  }

  body.mobile-mega-menu-open {
    overflow: hidden;
  }

  body.mobile-mega-menu-open .site-header,
  body.mobile-mega-menu-open .et_pb_section.site-header {
    background: #ffffff !important;
  }

  body.mobile-mega-menu-open .site-header .mobile-nav-toggle-line:nth-of-type(1),
  .site-header .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-line:nth-of-type(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.mobile-mega-menu-open .site-header .mobile-nav-toggle-line:nth-of-type(2),
  .site-header .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-line:nth-of-type(2) {
    opacity: 0;
  }

  body.mobile-mega-menu-open .site-header .mobile-nav-toggle-line:nth-of-type(3),
  .site-header .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-line:nth-of-type(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-mega-menu {
    --mobile-footer-height: 321px;
    display: block !important;
    position: fixed;
    top: var(--mobile-mega-top, 0px);
    left: 0px;
    right: 16px;
    bottom: 16px;
    z-index: 9998;
    background: #ffffff;
    border-radius: 0 0px 28px 0px;
    box-shadow:
      0 12px 28px rgba(10, 44, 42, 0.08),
      0 28px 64px rgba(10, 44, 42, 0.14);
    padding: 0 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transform: translateX(-32px);
    transform-origin: top left;
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease,
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.24s ease;
  }

  body.mobile-mega-menu-open .mobile-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    box-shadow:
      0 14px 30px rgba(10, 44, 42, 0.1),
      0 32px 72px rgba(10, 44, 42, 0.16);
  }

  .mobile-mega-menu::before,
  .mobile-mega-menu::after {
    display: none !important;
  }

  .mobile-mega-menu .et_pb_row {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 var(--mobile-shell-gutter) 32px !important;
    background: transparent;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.24s ease;
  }

  .mobile-mega-menu .mobile-menu-panel--main {
    bottom: var(--mobile-footer-height);
    transform: translateX(0);
  }

  .mobile-mega-menu .mobile-menu-panel--submenu {
    bottom: var(--mobile-footer-height);
    transform: translateX(100%);
  }

  .mobile-mega-menu.is-submenu-open .mobile-menu-panel--main {
    transform: translateX(-100%);
  }

  .mobile-mega-menu.is-submenu-open .mobile-menu-panel--submenu {
    transform: translateX(0);
  }

  .mobile-mega-menu .et_pb_column,
  .mobile-mega-menu .et_pb_module,
  .mobile-mega-menu .et_pb_text,
  .mobile-mega-menu .et_pb_text_inner {
    width: 100%;
    max-width: none;
    margin: 0 !important;
  }

  .mobile-mega-menu .et_pb_column {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .mobile-mega-menu .et_pb_text_inner br,
  .mobile-mega-menu .et_pb_text_inner p:empty {
    display: none;
  }

  .mobile-mega-menu .et_pb_text_inner p {
    margin: 0;
  }

  .mobile-mega-menu .mobile-menu-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    inset-block-start: auto;
    min-height: var(--mobile-footer-height);
    padding: 24px var(--mobile-shell-gutter) 24px !important;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0 0 24px 24px;
    z-index: 2;
    transform: none !important;
    overflow: visible;
    -webkit-overflow-scrolling: auto;
    transition: none;
  }

  .mobile-mega-menu .mobile-menu-footer .et_pb_column,
  .mobile-mega-menu .mobile-menu-footer .et_pb_module,
  .mobile-mega-menu .mobile-menu-footer .et_pb_text,
  .mobile-mega-menu .mobile-menu-footer .et_pb_text_inner {
    width: 100%;
    margin: 0 !important;
  }

  .mobile-mega-menu .mobile-menu-footer .et_pb_column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: calc(var(--mobile-footer-height) - 48px);
    justify-content: flex-start;
  }

  .mobile-menu-list,
  .mobile-submenu {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu-list {
    padding-top: 18px;
    gap: 12px;
  }

  .mobile-menu-link {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border: 0;
    background: transparent;
    color: #091614;
    text-decoration: none;
    text-align: left;
    font-family: "IBM-Plex-Sans", sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
  }

  .mobile-menu-link svg,
  .mobile-menu-back svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    justify-self: end;
  }

  .mobile-menu-panel__submenu {
    display: none;
  }

  .mobile-menu-panel__submenu.is-active {
    display: block;
  }

  .mobile-submenu {
    padding-top: 18px;
    gap: 30px;
  }

  .mobile-menu-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0d4f4b;
    font-family: "IBM-Plex-Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
  }

  .mobile-submenu-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-submenu-title {
    margin: 0;
    color: #767676;
    font-family: "IBM-Plex-Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .mobile-submenu .mega-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: flex-start;
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .mobile-submenu .mega-item:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
    background: transparent;
  }

  .mobile-submenu .mega-item-icon {
    width: 56px;
    min-width: 56px;
    height: 56px;
    margin: 0;
  }

  .mobile-submenu .mega-item-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
  }

  .mobile-submenu .mega-item-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .mobile-submenu .mega-item-desc {
    font-size: 15px;
    line-height: 1.45;
  }

  .mobile-submenu .mega-link {
    display: block;
    padding: 6px 0;
    font-size: 18px;
    line-height: 1.45;
  }

  .mobile-submenu .mega-contact-card {
    padding: 28px 24px;
    border-radius: 20px;
    background: #f3fbf8;
    border: 1px solid rgba(13, 79, 75, 0.08);
    box-shadow: none;
  }

  .mobile-submenu .mega-contact-visual {
    margin-bottom: 18px;
  }

  .mobile-submenu .mega-contact-photo {
    width: 180px;
    height: 180px;
  }

  .mobile-submenu .mega-contact-name {
    margin-bottom: 12px;
    font-size: 26px;
    line-height: 1.2;
  }

  .mobile-submenu .mega-contact-subtitle {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .mobile-submenu .mega-contact-text {
    margin-bottom: 20px;
  }

  .mobile-submenu .mega-contact-btn {
    box-shadow: 0 12px 26px rgba(1, 221, 141, 0.18);
  }

  .mobile-menu-footer__socials .et_pb_text_inner {
    display: block;
  }

  .mobile-menu-footer__socials .social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: wrap;
  }

  .mobile-menu-footer__socials .social-icons li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-menu-footer__socials .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    text-decoration: none;
  }

  .mobile-menu-footer__socials .social-icons picture,
  .mobile-menu-footer__socials .social-icons img {
    display: block;
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    object-fit: contain;
  }

  .mobile-menu-footer__legal .et_pb_text_inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(9, 22, 20, 0.12);
  }

  .mobile-menu-footer__copyright {
    color: #4b4f4e;
    font-family: "IBM-Plex-Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
  }

  .mobile-menu-footer__legal .et_pb_text_inner > p {
    margin: 0;
  }

  .mobile-menu-footer__legal .et_pb_text_inner > p:last-child {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .mobile-menu-footer__legal-link {
    display: block;
    color: #4b4f4e;
    text-decoration: none;
    font-family: "IBM-Plex-Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
  }
}

/* =====================================================
   Mega Menu
   ===================================================== */

/* Hide <br> and empty <p> injected by Divi Text module */
.mega-menu .et_pb_text_inner br {
  display: none;
}

.mega-menu .et_pb_text_inner p:empty,
.mega-menu .et_pb_text_inner p > a.mega-item:only-child:empty,
.mega-menu .et_pb_text_inner p > a.mega-item:only-child:empty + br {
  display: none;
}

.mega-menu .et_pb_text_inner p {
  margin: 0;
}

/* Section */
.et_pb_section.mega-menu {
  position: fixed;
  top: var(--mega-menu-top, 0px);
  left: var(--mega-left, 0px);
  right: var(--mega-right, 0px);
  z-index: 9998;
  background: #ffffff;
  border: 1px solid rgba(13, 51, 48, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(10, 44, 42, 0.12);
  overflow: hidden;
  padding: 0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.et_pb_section.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Row */
.mega-menu-leistungen.et_pb_row {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 !important;
  display: flex !important;
  align-items: stretch;
  gap: 0;
  min-height: 600px;
}

.mega-menu-leistungen.et_pb_row > .et_pb_column {
  float: none !important;
  margin: 0 !important;
  width: auto !important;
  padding: 44px 50px;
  box-sizing: border-box;
}

.mega-menu-leistungen.et_pb_row > .et_pb_column:nth-child(1) {
  flex: 0 0 34%;
}

.mega-menu-leistungen.et_pb_row > .et_pb_column:nth-child(2) {
  flex: 0 0 31%;
  border-left: 1px solid #edf1ef;
  border-right: 1px solid #edf1ef;
}

.mega-menu-leistungen.et_pb_row > .et_pb_column:nth-child(3) {
  flex: 1 1 35%;
  background: linear-gradient(180deg, #f7fffb 0%, #eef8f4 100%);
  padding: 44px 40px 36px;
}

.mega-menu-leistungen.et_pb_row::after {
  display: none !important;
}

.mega-col.et_pb_text {
  margin-bottom: 0 !important;
}

.mega-col-contact .et_pb_text_inner {
  height: 100%;
}

/* Column titles */
.mega-col-title {
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #767676;
  margin: 0 0 24px 0 !important;
  line-height: 1.2;
}

/* ---- Col 1: Hauptleistungen ---- */
.mega-col-main .et_pb_text_inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

a.mega-item {
  display: flex !important;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  margin-bottom: 0;
}

a.mega-item:hover {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfd 100%);
  border-color: #dfe3e1;
  box-shadow: 0 8px 20px rgba(15, 32, 28, 0.05);
}

.mega-item-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.mega-item-icon img {
  display: none;
}

.mega-item--analyse .mega-item-icon {
  background-image: url("../../images/prozesse-analyse-icon.png");
}

.mega-item--shop .mega-item-icon {
  background-image: url("../../images/shop-optimierung-icon.png");
}

.mega-item--automation .mega-item-icon {
  background-image: url("../../images/ki-automation-icon.png");
}

.mega-item--sellbase .mega-item-icon {
  background-image: url("../../images/sellbase-icon.png");
}

.mega-item-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}

.mega-item-title {
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #091614;
  line-height: 1.3;
}

.mega-item-desc {
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #172220;
  line-height: 1.5;
}

/* ---- Col 2: Weitere Leistungen ---- */
.mega-col-list .et_pb_text_inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

a.mega-link {
  display: block !important;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #091614;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: #ffffff;
  line-height: 1.35;
  position: relative;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

a.mega-link:hover {
  border-color: #e1e4e3;
  box-shadow: 0 6px 18px rgba(15, 32, 28, 0.04);
  color: #091614;
}

/* ---- Col 3: Contact card ---- */
.mega-contact-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.mega-contact-card p:empty {
  display: none;
}

.mega-contact-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

.mega-contact-photo {
  width: 210px !important;
  height: 210px !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  display: block;
  background: #01dd8d;
}

.mega-contact-name {
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #091614;
  line-height: 1.15;
  margin: 0 !important;
}

.mega-contact-subtitle {
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #091614;
  line-height: 1.45;
  margin: 0 !important;
}

.mega-contact-text {
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #172220;
  line-height: 1.5;
  margin: 0 !important;
}

a.mega-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  min-height: 56px;
  padding: 16px 22px;
  border-radius: 8px;
  background: #01dd8d;
  color: #0b1f16;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(1, 221, 141, 0.2);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

a.mega-contact-btn:hover {
  background: #08998f;
  color: #ffffff;
  transform: translateY(-1px);
}

.mega-contact-btn svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

@media (max-width: 1200px) {
  .mega-menu-leistungen.et_pb_row {
    width: 100%;
    min-height: 0;
  }

  .mega-menu-leistungen.et_pb_row > .et_pb_column {
    padding: 36px 32px;
  }

  .mega-contact-photo {
    width: 180px !important;
    height: 180px !important;
  }

  .mega-item-title {
    font-size: 17px;
  }

  .mega-item-desc,
  a.mega-link,
  .mega-contact-text {
    font-size: 16px;
  }
}

@media (max-width: 980px) {
  .et_pb_section.mega-menu {
    display: none !important;
  }
}

/* =====================================================
   Home Section - Unsere Leistungen
   Keeps Divi blurb markup but restyles to match Figma:
   desktop 3/2, tablet 2 cols, mobile 1 col
   ===================================================== */

/* =====================================================
   Case Studies image wrapper fix
   Neutralizes legacy width:max-content from style.css
   so the left image stays inside its column.
   ===================================================== */

.section-cases .row-study-cases-main .et_pb_image_2,
.section-cases .row-study-cases-main .et_pb_image_2 .et_pb_image_wrap {
  width: 100% !important;
  max-width: 100% !important;
}

.section-cases .row-study-cases-main .et_pb_image_2 img {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}

/* =====================================================
   Prozessanalyse Hero Typography
   Typography-only overrides based on Figma tokens
   ===================================================== */

.section-prozessanalyse-hero {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow-x: hidden;
  overflow-x: clip;
}

.section-prozessanalyse-hero .hero .et_pb_text,
.section-prozessanalyse-hero .hero .et_pb_text_inner,
.section-prozessanalyse-hero .hero .hero-content,
.section-prozessanalyse-hero .et_pb_row_0 .et_pb_text,
.section-prozessanalyse-hero .et_pb_row_0 .et_pb_text_inner,
.section-prozessanalyse-hero .et_pb_row_0 .hero-content {
  width: 100%;
}

.section-prozessanalyse-hero .hero .hero-content,
.section-prozessanalyse-hero .et_pb_row_0 .hero-content {
  max-width: 720px;
}

.section-prozessanalyse-hero .hero .hero-content h1,
.section-prozessanalyse-hero .et_pb_row_0 .hero-content h1 {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  color: #000000;
}

.section-prozessanalyse-hero .hero .hero-content .subtext,
.section-prozessanalyse-hero .et_pb_row_0 .hero-content .subtext {
  max-width: 332px;
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: #000000;
}

.section-prozessanalyse-hero .hero .hero-content .description,
.section-prozessanalyse-hero .et_pb_row_0 .hero-content .description {
  max-width: 390px;
  margin: 0 0 32px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: #3d3d3d;
}

.section-prozessanalyse-hero .hero .hero-content .hero-buttons,
.section-prozessanalyse-hero .et_pb_row_0 .hero-content .hero-buttons {
  gap: 0;
}

.section-prozessanalyse-hero .hero .hero-content .btn-primary,
.section-prozessanalyse-hero .et_pb_row_0 .hero-content .btn-primary {
  min-height: 56px;
  padding: 13px 24px !important;
  font-size: 18px;
  line-height: 1.6667;
  border-radius: 4px !important;
}

@media (max-width: 980px) {
  .section-prozessanalyse-hero .hero .hero-content,
  .section-prozessanalyse-hero .hero .hero-content h1,
  .section-prozessanalyse-hero .hero .hero-content .subtext,
  .section-prozessanalyse-hero .hero .hero-content .description,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content h1,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content .subtext,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content .description {
    max-width: none;
  }

  .section-prozessanalyse-hero .hero .hero-content h1,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content h1 {
    font-size: 40px;
  }

  .section-prozessanalyse-hero .hero .hero-content .subtext,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content .subtext {
    font-size: 22px;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .section-prozessanalyse-hero > .et_pb_row_0 {
    width: calc(100% - 64px) !important;
    max-width: none !important;
    padding-top: 12px !important;
    padding-bottom: 0 !important;
  }

  .section-prozessanalyse-hero > .et_pb_row_0 > .et_pb_column {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  .section-prozessanalyse-hero .hero .hero-content,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content {
    max-width: 640px;
  }

  .section-prozessanalyse-hero .hero .hero-content h1,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content h1 {
    max-width: 640px;
    margin-bottom: 20px;
    font-size: clamp(38px, 5.2vw, 44px);
    line-height: 1.18;
  }

  .section-prozessanalyse-hero .hero .hero-content .subtext,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content .subtext {
    max-width: 420px;
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1.35;
  }

  .section-prozessanalyse-hero .hero .hero-content .description,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content .description {
    max-width: 640px;
    margin-bottom: 28px;
  }

  .section-prozessanalyse-hero .hero .hero-content .btn-primary,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content .btn-primary {
    width: auto;
  }

  .section-prozessanalyse-hero .hero-image-prozessanalyse {
    width: calc(100% + 64px);
    margin-top: 24px !important;
    margin-left: -32px !important;
    margin-right: -32px !important;
  }

  .section-prozessanalyse-hero .hero-image-prozessanalyse .et_pb_image_wrap,
  .section-prozessanalyse-hero .hero-image-prozessanalyse img {
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 767px) {
  .section-prozessanalyse-hero > .et_pb_row_0 {
    width: calc(100% - 40px) !important;
    max-width: none !important;
    padding-top: 8px !important;
    padding-bottom: 0 !important;
  }

  .section-prozessanalyse-hero > .et_pb_row_0 > .et_pb_column {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  .section-prozessanalyse-hero .hero .hero-content,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content {
    max-width: none;
  }

  .section-prozessanalyse-hero .hero .hero-content h1,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content h1 {
    max-width: none;
    margin-bottom: 16px;
    font-size: 28px;
    line-height: 1.18;
  }

  .section-prozessanalyse-hero .hero .hero-content .subtext,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content .subtext {
    max-width: none;
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.35;
  }

  .section-prozessanalyse-hero .hero .hero-content .description,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content .description {
    max-width: none;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.55;
  }

  .section-prozessanalyse-hero .hero .hero-content .btn-primary,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content .btn-primary {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px !important;
    font-size: 16px;
    line-height: 1.3;
  }

  .section-prozessanalyse-hero .hero-image-prozessanalyse {
    width: calc(100% + 40px);
    margin-top: 24px !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
  }

  .section-prozessanalyse-hero .hero-image-prozessanalyse .et_pb_image_wrap,
  .section-prozessanalyse-hero .hero-image-prozessanalyse img {
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (min-width: 981px) {
  .section-prozessanalyse-hero > .et_pb_row_0 {
    display: flex !important;
    align-items: center;
    width: 80% !important;
    max-width: 1440px !important;
    padding-top: 20px !important;
    padding-bottom: 0 !important;
    overflow: visible;
  }

  .section-prozessanalyse-hero > .et_pb_row_0::after {
    display: none !important;
  }

  .section-prozessanalyse-hero > .et_pb_row_0 > .et_pb_column {
    float: none !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  .section-prozessanalyse-hero > .et_pb_row_0 > .et_pb_column_0 {
    flex: 0 0 44%;
    width: 44% !important;
    padding-right: 32px;
  }

  .section-prozessanalyse-hero > .et_pb_row_0 > .et-last-child {
    flex: 0 0 56%;
    width: 56% !important;
    transform: translateX(min(6vw, 140px));
    transition: transform 0.2s ease;
  }

  .section-prozessanalyse-hero .hero .hero-content,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content {
    max-width: 760px;
  }

  .section-prozessanalyse-hero .hero .hero-content h1,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content h1 {
    max-width: 680px;
    margin-bottom: 28px;
    line-height: 1.18;
  }

  .section-prozessanalyse-hero .hero .hero-content .subtext,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content .subtext {
    margin-bottom: 18px;
  }

  .section-prozessanalyse-hero .hero .hero-content .description,
  .section-prozessanalyse-hero .et_pb_row_0 .hero-content .description {
    max-width: 520px;
  }

  .section-prozessanalyse-hero .hero-image-prozessanalyse,
  .section-prozessanalyse-hero .hero-image-prozessanalyse .et_pb_image_wrap {
    display: block;
    width: 100%;
  }

  .section-prozessanalyse-hero .hero-image-prozessanalyse img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* =====================================================
   Prozessanalyse Hero - Carousel alignment fix
   Keep row full width, center modules, prevent slick distortion
   ===================================================== */
.section-prozessanalyse-hero > .row-carousel {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.section-prozessanalyse-hero > .row-carousel > .et_pb_column {
  width: 100% !important;
  margin: 0 !important;
}

.section-prozessanalyse-hero > .row-carousel .et_pb_text_1,
.section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 {
  margin: 0 auto !important;
  width: 100%;
}

.section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 {
  max-width: 844px;
}

/* override legacy global offset in style.css for this hero only */
.section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel .slick-track {
  margin-left: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center;
}

.section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel .slick-list {
  overflow: hidden;
}

.section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .slick-slide {
  height: auto !important;
}

.section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel-item {
  min-height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-figure {
  margin: 0;
  line-height: 0;
}

.section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-swapped-img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 104px;
  object-fit: contain;
  margin: 0 auto;
}

@media (min-width: 981px) {
  /* desktop: keep module 844px but allow natural logo widths (prevents T-Systems clipping) */
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-track {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide {
    width: auto !important;
    flex: 0 0 auto;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide > div,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .ba_image_carousel_child {
    width: auto !important;
  }

  /* override global #hero-section .slick-slide div { justify-content:center } */
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide > div {
    display: block !important;
  }
}

@media (max-width: 980px) {
  .section-prozessanalyse-hero,
  .section-prozessanalyse-hero > .row-carousel,
  .section-prozessanalyse-hero > .row-carousel > .et_pb_column,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .et_pb_module_inner,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider {
    overflow: visible !important;
  }

  .section-prozessanalyse-hero > .row-carousel {
    padding-top: 32px !important;
    padding-bottom: 40px !important;
  }

  .section-prozessanalyse-hero > .row-carousel .et_pb_text_1,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 {
    max-width: calc(100% - 64px);
  }

  .section-prozessanalyse-hero > .row-carousel .et_pb_text_1 h4 {
    text-align: center;
    font-size: 20px;
    line-height: 1.25;
    padding-bottom: 20px;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel-item {
    min-height: 116px;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-swapped-img {
    max-width: 170px;
    max-height: 72px;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-list {
    overflow: visible;
    padding: 0 48px !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-track {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide {
    width: 100% !important;
    height: auto !important;
    opacity: 0.42;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide.slick-center,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide.slick-current.slick-active {
    opacity: 1;
  }

  /* Center active logo, push previous/next logos toward the visible edges */
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide.slick-current > div,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide.slick-center > div {
    justify-content: center !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-current) > div,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-center) > div {
    justify-content: flex-end !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-current + .slick-slide > div,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-center + .slick-slide > div {
    justify-content: flex-start !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide > div,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .ba_image_carousel_child,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .ba_image_carousel_child .et_pb_module_inner {
    width: 100% !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide > div {
    display: flex !important;
    justify-content: center !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .ba_image_carousel_child,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .ba_image_carousel_child .et_pb_module_inner {
    display: flex !important;
    justify-content: center !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .dtq-carousel-item,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .dtq-figure {
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .ba_image_carousel_child {
    text-align: center;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
  }

  /* Must come after the generic center rules above so prev/next peeks can win */
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-current) > div,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-current) .ba_image_carousel_child,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-current) .et_pb_module_inner,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-current) .dtq-carousel-item,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-center) > div,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-center) .ba_image_carousel_child,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-center) .et_pb_module_inner,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-center) .dtq-carousel-item {
    justify-content: flex-end !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-current + .slick-slide > div,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-current + .slick-slide .ba_image_carousel_child,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-current + .slick-slide .et_pb_module_inner,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-current + .slick-slide .dtq-carousel-item,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-center + .slick-slide > div,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-center + .slick-slide .ba_image_carousel_child,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-center + .slick-slide .et_pb_module_inner,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-center + .slick-slide .dtq-carousel-item {
    justify-content: flex-start !important;
  }
}

@media (max-width: 767px) {
  .section-prozessanalyse-hero > .row-carousel {
    padding-top: 28px !important;
    padding-bottom: 32px !important;
  }

  .section-prozessanalyse-hero > .row-carousel .et_pb_text_1,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 {
    max-width: calc(100% - 40px);
  }

  .section-prozessanalyse-hero > .row-carousel .et_pb_text_1 h4 {
    font-size: 18px;
    padding-bottom: 16px;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-list {
    padding: 0 32px !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-current) > div,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-slide:has(+ .slick-center) > div {
    justify-content: flex-end !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-current + .slick-slide > div,
  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel.slick-slider .slick-center + .slick-slide > div {
    justify-content: flex-start !important;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-carousel-item {
    min-height: 104px;
    padding: 0 20px;
  }

  .section-prozessanalyse-hero > .row-carousel .ba_image_carousel_0 .dtq-swapped-img {
    max-width: 220px;
    max-height: 56px;
  }
}

#unsere-leistungen {
  padding: 88px 0 96px;
  background: transparent;
}

#unsere-leistungen .row-unsere-leistungen-title,
#unsere-leistungen .row-unsere-leistungen-main {
  width: 80%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

#unsere-leistungen .row-unsere-leistungen-title {
  margin-bottom: 40px;
}

#unsere-leistungen .row-unsere-leistungen-title .et_pb_text_inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

#unsere-leistungen .section-label:empty {
  display: none;
}

/* =====================================================
   Prozesse-Analyse - Problemstellung
   Page-specific override, not shared with landing/home
   ===================================================== */

#problemstellung .row-problem {
  width: 80% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 600px) minmax(0, 712px);
  justify-content: space-between;
  column-gap: 72px;
  row-gap: 32px;
}

#problemstellung .row-problem::after {
  display: none !important;
}

#problemstellung .row-problem > .et_pb_column {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

#problemstellung .problem-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
}

#problemstellung .problem-text .section-label {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #0b5a46;
}

#problemstellung .problem-text h2 {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  color: #000000;
}

#problemstellung .problem-content {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
}

#problemstellung .problem-content .header-line {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  color: #000000;
}

#problemstellung .problem-content p:last-child {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #3d3d3d;
}

#problemstellung .problem-content strong {
  font-weight: 700;
  color: #000000;
}

#problemstellung .problems-right {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

#problemstellung .problems-right .problem-card {
  min-height: 214px;
  margin: 0 !important;
  padding: 16px !important;
  border-radius: 16px;
  border: 1px solid #ebebeb;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#problemstellung .problems-right .problem-card > p:empty,
#problemstellung .problems-right .card-text > p:empty {
  display: none;
}

#problemstellung .problems-right .warn-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#problemstellung .problems-right .warn-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

#problemstellung .problems-right .card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#problemstellung .problems-right .card-text h3 {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #111111;
}

#problemstellung .problems-right .card-text p {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #4b4b4b;
}

@media (max-width: 1200px) {
  #problemstellung .row-problem {
    width: calc(100% - 64px) !important;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }

  #problemstellung .problem-text,
  #problemstellung .problem-content {
    max-width: none;
  }
}

@media (max-width: 980px) {
  #problemstellung .row-problem {
    width: calc(100% - 48px) !important;
    row-gap: 28px;
  }

  #problemstellung .problem-text {
    gap: 20px;
  }

  #problemstellung .problem-text h2 {
    font-size: 42px;
    line-height: 1.16;
  }

  #problemstellung .problem-content {
    gap: 20px;
  }

  #problemstellung .problem-content .header-line {
    font-size: 22px;
  }

  #problemstellung .problems-right {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  #problemstellung .problems-right .problem-card {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  #problemstellung .row-problem {
    width: calc(100% - 40px) !important;
    row-gap: 24px;
  }

  #problemstellung .problem-text {
    gap: 16px;
  }

  #problemstellung .problem-text .section-label {
    font-size: 14px;
  }

  #problemstellung .problem-text h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  #problemstellung .problem-content {
    gap: 16px;
  }

  #problemstellung .problem-content .header-line {
    font-size: 18px;
    line-height: 1.45;
  }

  #problemstellung .problem-content p:last-child {
    font-size: 15px;
    line-height: 1.6;
  }

  #problemstellung .problems-right {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #problemstellung .problems-right .problem-card {
    padding: 16px !important;
    border-radius: 14px;
    gap: 14px;
  }

  #problemstellung .problems-right .card-text h3 {
    font-size: 18px;
  }

#problemstellung .problems-right .card-text p {
    font-size: 15px;
    line-height: 1.55;
  }
}

/* =====================================================
   Prozesse-Analyse - Unsere Loesung / 3 Schritte
   Scoped to page 1892 to avoid affecting home/landing
   ===================================================== */

#main-content #problemstellung + .section-steps.et_pb_section_2 {
  padding: 72px 0 96px !important;
  background: #f4fbf8;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1,
#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 {
  width: 80% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1 {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding-top: 0 !important;
  padding-bottom: 64px !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1::after {
  display: none !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3::after {
  display: none !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1 .et_pb_column,
#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 .et_pb_column {
  margin-right: 0 !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1 .et_pb_column {
  float: none !important;
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1 .et_pb_text_inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1 .et_pb_text,
#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1 .et_pb_text_inner,
#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1 .et_pb_text_inner p,
#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1 .et_pb_text_inner h2 {
  text-align: center !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .section-label {
  margin: 0 0 16px !important;
  padding: 0 !important;
  width: 100%;
  display: block;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #0b5a46;
  text-align: center !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .section-title {
  margin: 0 auto 28px !important;
  padding: 0 !important;
  width: 100%;
  display: block;
  max-width: 760px;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.12;
  color: #000000;
  text-align: center !important;
  text-wrap: balance;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .section-desc {
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100%;
  display: block;
  max-width: 640px;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #4b4b4b;
  text-align: center !important;
  text-wrap: pretty;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 {
  display: flex !important;
  gap: 16px;
  align-items: stretch;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  max-width: 1248px !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 .et_pb_column {
  display: flex;
  flex: 1 1 0;
  width: auto !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 .et_pb_text,
#main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 .et_pb_text_inner {
  display: flex;
  width: 100%;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-card {
  width: 100%;
  min-height: 369px;
  padding: 24px !important;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex !important;
  flex-direction: column;
  gap: 16px;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step-card:hover,
#main-content #problemstellung + .section-steps.et_pb_section_2 .step-card.step--active {
  background: #ffffff !important;
  color: inherit !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step__num {
  margin: 0 !important;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.4;
  color: #0a8f79 !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step__title {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.35;
  color: #111111 !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step__text {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "IBM-Plex-Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #4b4b4b;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .step__subtitle,
#main-content #problemstellung + .section-steps.et_pb_section_2 .step-card > p:empty {
  display: none !important;
}

@media (max-width: 1200px) {
  #main-content #problemstellung + .section-steps.et_pb_section_2 {
    padding: 64px 0 88px !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1,
  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 {
    width: calc(100% - 64px) !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .section-title {
    font-size: 52px;
    max-width: 720px;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .section-desc {
    max-width: 620px;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 {
    gap: 16px;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-card {
    min-height: 340px;
    padding: 24px !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step__num {
    font-size: 44px;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step__title {
    font-size: 24px;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step__text {
    font-size: 15px;
  }
}

@media (max-width: 980px) {
  #main-content #problemstellung + .section-steps.et_pb_section_2 {
    padding: 56px 0 72px !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1,
  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 {
    width: calc(100% - 48px) !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1 {
    padding-bottom: 40px !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .section-title {
    font-size: 42px;
    margin-bottom: 20px !important;
    max-width: 640px;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .section-desc {
    font-size: 16px;
    max-width: 560px;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 {
    display: block !important;
    gap: 16px;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 .et_pb_column,
  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 .et_pb_column .et_pb_module,
  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 .et_pb_text,
  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 .et_pb_text_inner {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    flex: none !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 .et_pb_column {
    margin: 0 0 16px !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 .et_pb_column:last-child {
    margin-bottom: 0 !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-card {
    min-height: 0;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step__num {
    font-size: 44px;
  }
}

@media (max-width: 767px) {
  #main-content #problemstellung + .section-steps.et_pb_section_2 {
    padding: 48px 0 56px !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1,
  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-3 {
    width: calc(100% - 40px) !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-row-1 {
    padding-bottom: 32px !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .section-label {
    font-size: 14px;
    margin-bottom: 10px !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .section-title {
    font-size: 30px;
    line-height: 1.18;
    margin-bottom: 16px !important;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .section-desc {
    font-size: 16px;
    line-height: 1.5;
    max-width: 100%;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step-card {
    padding: 20px !important;
    border-radius: 16px;
    gap: 16px;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step__num {
    font-size: 40px;
    line-height: 1.3;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step__title {
    font-size: 22px;
    line-height: 1.35;
  }

  #main-content #problemstellung + .section-steps.et_pb_section_2 .step__text {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* hard lock intro centering for Prozessanalyse 3-step section */
#main-content #problemstellung + .section-steps.et_pb_section_2 .et_pb_text_4,
#main-content #problemstellung + .section-steps.et_pb_section_2 .et_pb_text_4 .et_pb_text_inner {
  text-align: center !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .et_pb_text_4 .et_pb_text_inner {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#main-content #problemstellung + .section-steps.et_pb_section_2 .et_pb_text_4 .section-label,
#main-content #problemstellung + .section-steps.et_pb_section_2 .et_pb_text_4 .section-title,
#main-content #problemstellung + .section-steps.et_pb_section_2 .et_pb_text_4 .section-desc {
  width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#unsere-leistungen .section-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 3.9vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 20px;
  padding: 0;
  text-align: center;
}

#unsere-leistungen .section-desc {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

#unsere-leistungen .row-unsere-leistungen-title .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

#unsere-leistungen .row-unsere-leistungen-main {
  margin-bottom: 0;
}

#unsere-leistungen .row-unsere-leistungen-main > .et_pb_column_8 {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card {
  grid-column: span 2;
  margin: 0 !important;
  border: 1px solid #e2e9e6;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(10, 44, 42, 0.04);
  min-height: 414px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(10, 44, 42, 0.08);
  border-color: #d8e1dd;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_content {
  max-width: none;
  width: 100%;
  min-height: 100%;
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_main_blurb_image {
  width: 64px;
  height: 64px;
  margin: 0 0 24px;
  flex: 0 0 64px;
  line-height: 0;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_main_blurb_image img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_container::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_description {
  max-width: none !important;
  padding-right: 0 !important;
  color: var(--color-text-muted);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.5;
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow: visible !important;
  height: auto !important;
  transition: none !important;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_description h3 {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: 0;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_description p {
  margin: 0;
  padding-bottom: 0;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_description br {
  display: inline;
}

#unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_description strong {
  display: block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.4;
}

@media (max-width: 1199px) {
  #unsere-leistungen {
    padding: 80px 0 88px;
  }

  #unsere-leistungen .row-unsere-leistungen-main > .et_pb_column_8 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  #unsere-leistungen .row-unsere-leistungen-main .home-service-card,
  #unsere-leistungen .row-unsere-leistungen-main .home-service-card:nth-child(4),
  #unsere-leistungen .row-unsere-leistungen-main .home-service-card:nth-child(5) {
    grid-column: auto;
  }

  #unsere-leistungen .row-unsere-leistungen-main .home-service-card {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  #unsere-leistungen {
    padding: 72px 0 80px;
  }

  #unsere-leistungen .row-unsere-leistungen-title,
  #unsere-leistungen .row-unsere-leistungen-main {
    width: calc(100% - 32px);
  }

  #unsere-leistungen .row-unsere-leistungen-title {
    margin-bottom: 32px;
  }

  #unsere-leistungen .section-title {
    font-size: 34px;
  }

  #unsere-leistungen .section-desc {
    font-size: 16px;
  }

  #unsere-leistungen .row-unsere-leistungen-main > .et_pb_column_8 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_content {
    padding: 22px 20px 24px;
  }

  #unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_main_blurb_image,
  #unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_main_blurb_image img {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }

  #unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_description h3 {
    margin-bottom: 18px;
    font-size: 22px;
  }

  #unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_description {
    font-size: 15px;
  }

  #unsere-leistungen .row-unsere-leistungen-main .home-service-card .et_pb_blurb_description strong {
    font-size: 17px;
  }
}
