/* ==============================
   FOOTER ZEILE 2 – Linie | Logo | Linie
   global-footer => footer-zeile2 => footer-divider-links | footer-logo | footer-divider-rechts
   ============================== */

/* Row als Grid */
.global-footer .footer-zeile2 {
  --line-color: #d7b86a;
  --line-height: 1px;
  --gap: clamp(12px, 3vw, 32px);

  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: var(--gap);
  margin: 0 auto;
}

/* Spalten-Resets */
.global-footer .footer-zeile2 .et_pb_column {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
}

/* Divider Linien */
.global-footer .footer-divider-links .et_pb_divider,
.global-footer .footer-divider-rechts .et_pb_divider {
  height: var(--line-height);
  border: 0;
  background: transparent;
  padding: 0;
}
.global-footer .footer-divider-links .et_pb_divider .et_pb_divider_internal,
.global-footer .footer-divider-rechts .et_pb_divider .et_pb_divider_internal {
  height: var(--line-height);
  background: var(--line-color);
  opacity: 0.95;
}

/* Logo skaliert fließend mit der Viewportbreite */
.global-footer .footer-logo img {
  display: block;
  width: clamp(100px, calc(-11.46px + 25.41vw), 315px) !important;
  height: auto;
  max-width: none !important;  /* Divi-Default überschreiben */
}

/* Auf sehr kleinen Screens Spaltenbreiten schützen */
@media (max-width: 980px) {
  .global-footer .footer-zeile2 {
    grid-template-columns: 1fr minmax(120px, auto) 1fr;
  }
}

/* Logo-Container links ausrichten */
.global-footer .footer-zeile2 .footer-logo {
  justify-self: start !important;   /* innerhalb des Grid-Cells links */
  text-align: left !important;
  margin-left: 0 !important;
  display: flex !important;         /* überschreibt Divis "center" Alignment */
  justify-content: flex-start !important;  /* Bild links ausrichten */
  align-items: center;              /* vertikal mittig */
}

/* Logo-Bild selbst */
.global-footer .footer-logo img {
  display: block;
  margin: 0 !important;             /* alle Auto-Margen deaktivieren */
}

