/* The native footer modules stay in document order and remain editable in Divi. */
body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer {
  --footer-ink: #34434b;
  --footer-heading: #21343f;
  --footer-rule: #c4ccce;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_section_0_tb_footer {
  display: grid;
  grid-template-columns: minmax(0,1.13fr) minmax(0,1fr) minmax(0,.92fr) minmax(0,1.06fr);
  column-gap: clamp(18px,4vw,68px);
  align-items: start;
  box-sizing: border-box;
  padding: clamp(44px,5vw,76px) max(clamp(20px,5.4vw,88px),calc((100% - 1240px)/2)) 22px !important;
  background: #f0f1f0 !important;
  color: var(--footer-ink);
  border: 0;
  box-shadow: none;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_section_0_tb_footer::before {
  content: "";
  display: block;
  position: static;
  inset: auto;
  grid-column: 1 / -1;
  width: 112px;
  aspect-ratio: 1;
  margin-bottom: clamp(26px,3.1vw,48px);
  /* Use the same local 360 × 360 artwork as the Buchholz header. */
  background: url("/wp-content/uploads/2026/03/Logo-Gebaeudereinigung-Buchholz-Reinigungsfirma.jpeg") left center / contain no-repeat;
  mix-blend-mode: multiply;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_row {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_row_1_tb_footer {
  display: contents;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_column,
body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_module {
  display: block;
  min-width: 0;
  max-width: 100%;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer :is(.et_pb_text_inner, p, a, span, strong) {
  color: var(--footer-ink) !important;
  text-align: left !important;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_text_inner p {
  font-size: .94rem;
  line-height: 1.65;
  margin: 0;
  padding: 0;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_text_4_tb_footer p + p {
  margin-top: .6em;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_text_inner strong {
  display: block;
  max-width: none;
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 650;
  color: var(--footer-heading) !important;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer :is(.et_pb_text_1_tb_footer,.et_pb_text_3_tb_footer,.et_pb_text_5_tb_footer) p {
  border-bottom: 1px solid var(--footer-rule);
  margin: 0 0 16px;
  padding-bottom: 12px;
}

/* Present the two existing underscore strings as continuous divider rules. */
body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_text_0_tb_footer .et_pb_text_inner p:nth-child(2),
body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_text_7_tb_footer p {
  height: 1px;
  margin: 12px 0 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  background-color: var(--footer-rule);
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_text_0_tb_footer .et_pb_text_inner p:last-child {
  margin: 0;
  padding: 0;
  line-height: 0;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_row_2_tb_footer,
body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_row_3_tb_footer {
  grid-column: 1 / -1;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_text_7_tb_footer p {
  margin-top: 36px;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_row_3_tb_footer .et_pb_text_inner p {
  padding-top: 17px;
  text-align: center !important;
  font-size: .78rem;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_text_inner a {
  color: var(--footer-ink) !important;
  text-decoration: none;
  text-underline-offset: .23em;
  overflow-wrap: anywhere;
}

body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_text_inner a:is(:hover,:focus-visible) {
  text-decoration: underline;
}

@media (max-width: 950px) {
  body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_section_0_tb_footer {
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 44px;
  }

  body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer :is(.et_pb_column_2_tb_footer,.et_pb_column_3_tb_footer) {
    padding-top: 32px !important;
  }
}

@media (max-width: 570px) {
  body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_section_0_tb_footer {
    grid-template-columns: minmax(0,1fr);
    padding: 36px 20px 22px !important;
  }

  body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_section_0_tb_footer::before {
    width: 96px;
    margin-bottom: 22px;
  }

  body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_row_1_tb_footer > .et_pb_column {
    padding-top: 26px !important;
  }

  body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer :is(.et_pb_text_1_tb_footer,.et_pb_text_3_tb_footer,.et_pb_text_5_tb_footer) p {
    margin-bottom: 10px;
  }

  body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_text_7_tb_footer p {
    margin-top: 26px;
  }

  body.home.page-id-133:not(.et-fb) #page-container footer.et-l--footer .et_pb_text_inner a {
    display: inline-block;
    max-width: 100%;
    padding-block: 4px;
  }
}
