/* Smart Lynx – services path ("Leistungen"). Give each Divi TEXT module the CSS class
   lynx-step (alternate with: lynx-step lynx-b), the last one additionally lynx-last.
   The dot sits beside the heading, the thread runs the full height of the module.
   Selectors are deliberately specific so they win over Divi's per-module spacing settings. */
.et_pb_section .et_pb_module.lynx-step, .lynx-step { --lynx-bg: #F4F2F9; --lynx-ink: #45327E; position: relative; }
.et_pb_section .et_pb_module.lynx-step { padding-left: 136px !important; padding-bottom: 64px !important; margin-bottom: 0 !important; }
.et_pb_section .et_pb_module.lynx-step::before { content: ""; position: absolute; left: 56px; top: 8px; width: 24px; height: 24px; box-sizing: border-box;
  border: 7px solid var(--lynx-ink); border-radius: 50%; background: var(--lynx-bg); z-index: 1; }
.et_pb_section .et_pb_module.lynx-step::after { content: ""; position: absolute; left: 20px; top: 38px; bottom: 6px; width: 96px;
  background: url("rail_a.svg") center / 100% 100% no-repeat; }
.et_pb_section .et_pb_module.lynx-step.lynx-b::after { background-image: url("rail_b.svg"); }
.et_pb_section .et_pb_module.lynx-step.lynx-last { padding-bottom: 0 !important; }
.et_pb_section .et_pb_module.lynx-step.lynx-last::after { display: none; }
@media (max-width: 767px) {
  .et_pb_section .et_pb_module.lynx-step { padding-left: 64px !important; padding-bottom: 44px !important; }
  .et_pb_section .et_pb_module.lynx-step::before { left: 12px; width: 22px; height: 22px; border-width: 6px; }
  .et_pb_section .et_pb_module.lynx-step::after { left: 0; width: 46px; top: 34px; }
}

/* ---------------------------------------------------------------------------
   "Ein Backend, viele Frontends" – a bar, a spine on the left, cards hanging off it.
   Bar row:   class  lynx-hub-row   on the ROW, class  lynx-hub  on its text module
   Card rows: class  lynx-cards     on each ROW (the last one also  lynx-cards-last)
   Cards:     class  lynx-card      on each text module (one per column)
   In each card row: Row → Design → Sizing → "Equalize Column Heights" on.
   --------------------------------------------------------------------------- */
.et_pb_section .et_pb_row.lynx-hub-row { padding-bottom: 0 !important; }
.et_pb_section .et_pb_module.lynx-hub { background: #45327E; color: #FFFFFF; border-radius: 6px;
  padding: 20px 26px !important; margin-bottom: 0 !important; }
.et_pb_section .et_pb_module.lynx-hub * { color: #FFFFFF; }
/* card rows: a rail across the top, a spine down the left that links the rows */
.et_pb_section .et_pb_row.lynx-cards { position: relative; padding-top: 0 !important; padding-bottom: 24px !important; }
.et_pb_section .et_pb_row.lynx-cards::before { content: ""; position: absolute; left: -18px; right: 0; top: 0; height: 2px; background: #45327E; }
.et_pb_section .et_pb_row.lynx-cards::after { content: ""; position: absolute; left: -18px; top: 0; bottom: 0; width: 2px; background: #45327E; }
.et_pb_section .et_pb_row.lynx-cards-last::after { display: none; }
.et_pb_section .et_pb_row.lynx-cards + .et_pb_row.lynx-cards::before { top: 0; }
/* the first card row hangs straight from the bar, so the spine starts at the bar */
.et_pb_section .et_pb_row.lynx-hub-row + .et_pb_row.lynx-cards::before { left: -18px; }
.et_pb_section .et_pb_module.lynx-card { position: relative; background: #FFFFFF; border: 1px solid #DEDAEC; border-radius: 6px;
  padding: 24px 26px !important; margin-top: 28px !important; margin-bottom: 0 !important; height: calc(100% - 28px); box-sizing: border-box; }
.et_pb_section .et_pb_module.lynx-card::before { content: ""; position: absolute; left: 28px; top: -29px; width: 2px; height: 28px; background: #45327E; }
.et_pb_section .et_pb_module.lynx-card h3, .et_pb_section .et_pb_module.lynx-card h4 { color: #45327E; padding-bottom: 6px; }
.et_pb_section .et_pb_module.lynx-card a { color: #45327E; font-weight: 600; text-decoration: none; }
.et_pb_section .et_pb_module.lynx-card a:hover { color: #221A3E; text-decoration: underline; }
@media (max-width: 980px) {
  /* Divi stacks the columns: each card then hangs from the spine on its own */
  .et_pb_section .et_pb_row.lynx-cards::before { display: none; }
  .et_pb_section .et_pb_row.lynx-cards-last::after { display: block; bottom: auto; height: 100%; }
  .et_pb_section .et_pb_module.lynx-card::before { left: -18px; top: 26px; width: 18px; height: 2px; }
  .et_pb_section .et_pb_module.lynx-card { margin-top: 16px !important; height: auto; }
}