/* Webmaster: Mobile-Korrekturen (Überlauf, Schrift, Taps, Footer-Logos). */
img, video { max-width: 100%; height: auto; }

/* Dekoratives Icon sitzt per Transform außerhalb des Viewports und erzeugt Horizontal-Scroll. */
@media (max-width: 1279px) {
  .kupiq40a { display: none !important; }
}

@media (max-width: 767px) {
  img, video { max-width: 100% !important; height: auto !important; }

  /* Zu kleine Thrive-Schriften: :not(#tve) schlägt die Original-Regeln. */
  html body :not(#tve) [data-css="tve-u-17cf049a541"],
  html body :not(#tve) [data-css="tve-u-17cf06966a5"],
  html body :not(#tve) [data-css="tve-u-17cf063e9cb"],
  html body :not(#tve) [data-css="tve-u-17cf063e9fa"],
  html body :not(#tve) [data-css="tve-u-17cf063e9fd"],
  html body :not(#tve) [data-css="tve-u-17cf063ea00"] {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
  html body :not(#tve) .thrv_symbol_82 [data-css="tve-u-17cb76a9fc7"] {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .tcb-button-link {
    min-height: 44px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
  }
  #thrive-footer a,
  .thrv_footer a,
  footer a {
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
  }

  /* Footer-Logos: umbrechen, nicht zu groß, Abstand halten, in der Mobilansicht zentrieren.
     Die Bilder sind schmaler als ihre Thrive-Container; ohne Zentrierung sitzen sie links. */
  #thrive-footer img,
  .thrv_footer img,
  footer img {
    max-width: 140px !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
  #thrive-footer .tve_image_caption,
  .thrv_footer .tve_image_caption,
  #thrive-footer .tcb-logo,
  .thrv_footer .tcb-logo {
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #thrive-footer .tve_image_caption > a,
  .thrv_footer .tve_image_caption > a {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }
  #thrive-footer .tcb-flex-row,
  .thrv_footer .tcb-flex-row {
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 0.75rem 1rem;
  }
  #thrive-footer .tcb-flex-col,
  .thrv_footer .tcb-flex-col {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
