Links zu den Bildern:
#1 https://www.directupload.eu/file/d/9327/q9yki4qf_png.htm
#2 https://www.directupload.eu/file/d/9327/ekwp8shi_png.htm
#3 body.com_users.view-profile.layout-edit #sp-main-body {
  padding: 48px 0 64px;
}

body.com_users.view-profile.layout-edit #sp-main-body .com-users-profile__edit {
  max-width: 980px;
  margin: 0 auto;
}

body.com_users.view-profile.layout-edit #member-profile {
  background: rgba(255,255,255,.985);
  border: 1px solid #e1e4e8;
  border-top: 5px solid #e30613;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,.30);
  padding: 34px 38px 38px;
  color: #24292f;
}

body.com_users.view-profile.layout-edit #member-profile fieldset {
  min-width: 0;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

body.com_users.view-profile.layout-edit #member-profile legend {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0 0 13px;
  border-bottom: 1px solid #e5e7eb;
  color: #202428;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
}

body.com_users.view-profile.layout-edit #member-profile legend::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: #e30613;
}

body.com_users.view-profile.layout-edit #member-profile fieldset:not(.com-users-profile__multifactor) > .control-group {
  display: grid;
  grid-template-columns: 205px minmax(0,1fr);
  gap: 18px;
  align-items: start;
  margin: 0;
  padding: 11px 0;
}

body.com_users.view-profile.layout-edit #member-profile .control-label {
  padding-top: 10px;
  text-align: left;
}

body.com_users.view-profile.layout-edit #member-profile .control-label label,
body.com_users.view-profile.layout-edit #member-profile .control-label {
  color: #2a2f34 !important;
  font-size: 15px !important;
  line-height: 1.4;
  font-weight: 700;
}

body.com_users.view-profile.layout-edit #member-profile .controls {
  min-width: 0;
}

body.com_users.view-profile.layout-edit #member-profile .form-control,
body.com_users.view-profile.layout-edit #member-profile select,
body.com_users.view-profile.layout-edit #member-profile .choices,
body.com_users.view-profile.layout-edit #member-profile .choices__inner {
  width: 100%;
  max-width: none;
}

body.com_users.view-profile.layout-edit #member-profile .form-control,
body.com_users.view-profile.layout-edit #member-profile select,
body.com_users.view-profile.layout-edit #member-profile .choices__inner {
  min-height: 46px;
  border: 1px solid #cfd4da;
  border-radius: 7px;
  background: #fff;
  color: #202428;
  font-size: 15px;
  box-shadow: none;
}

body.com_users.view-profile.layout-edit #member-profile .form-control:focus,
body.com_users.view-profile.layout-edit #member-profile select:focus,
body.com_users.view-profile.layout-edit #member-profile .choices.is-focused .choices__inner {
  border-color: #e30613;
  box-shadow: 0 0 0 3px rgba(227,6,19,.12);
}

body.com_users.view-profile.layout-edit #member-profile input[readonly],
body.com_users.view-profile.layout-edit #member-profile input:disabled {
  background: #f2f4f6;
  color: #616971;
}

body.com_users.view-profile.layout-edit #member-profile .form-text,
body.com_users.view-profile.layout-edit #member-profile small,
body.com_users.view-profile.layout-edit #member-profile .text-muted {
  color: #687078 !important;
  font-size: 13px;
  line-height: 1.45;
}

body.com_users.view-profile.layout-edit #member-profile .input-password-toggle {
  min-width: 46px;
  border-color: #cfd4da;
  background: #262b30;
  color: #fff;
}

body.com_users.view-profile.layout-edit #member-profile meter,
body.com_users.view-profile.layout-edit #member-profile progress {
  width: 100%;
  height: 8px;
  margin-top: 8px;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-profile__multifactor {
  margin-top: 10px;
  padding: 22px;
  border-radius: 10px;
  background: #f5f6f7;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-profile__multifactor > legend {
  margin-bottom: 14px;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-profile__multifactor > div > div:first-child {
  border-color: #d9dde1 !important;
  background: #fff !important;
  color: #2a2f34;
  font-size: 15px;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-profile__multifactor > div > div:nth-child(2) {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  margin-top: 16px;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-methods-list-method {
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #dfe3e7 !important;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(25,31,36,.07);
}

body.com_users.view-profile.layout-edit #member-profile .com-users-methods-list-method-header {
  min-height: 76px;
  padding: 12px !important;
  background: #fff;
  border-bottom: 1px solid #edf0f2;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-methods-list-method-image {
  flex: 0 0 48px;
  padding: 7px !important;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-methods-list-method-image img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-methods-list-method-title h4 {
  color: #24292f;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-methods-list-method-records-container {
  padding: 14px;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-methods-list-method-addnew {
  border-color: #e30613;
  color: #e30613;
  font-weight: 700;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-methods-list-method-addnew:hover,
body.com_users.view-profile.layout-edit #member-profile .com-users-methods-list-method-addnew:focus {
  background: #e30613;
  color: #fff;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-profile__edit-submit {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 4px 0 0;
  padding-top: 22px;
  border-top: 1px solid #e5e7eb;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-profile__edit-submit .controls {
  display: flex;
  gap: 12px;
  margin: 0;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-profile__edit-submit .btn {
  min-width: 135px;
  padding: 12px 20px;
  border: 0;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-profile__edit-submit .btn-primary {
  background: #e30613;
  color: #fff;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-profile__edit-submit .btn-primary:hover,
body.com_users.view-profile.layout-edit #member-profile .com-users-profile__edit-submit .btn-primary:focus {
  background: #bd000c;
}

body.com_users.view-profile.layout-edit #member-profile .com-users-profile__edit-submit .btn-danger {
  background: #262b30;
  color: #fff;
}

@media (max-width: 767px) {
  body.com_users.view-profile.layout-edit #sp-main-body {
    padding: 24px 0 40px;
  }

  body.com_users.view-profile.layout-edit #member-profile {
    padding: 24px 18px 28px;
    border-radius: 10px;
  }

  body.com_users.view-profile.layout-edit #member-profile fieldset:not(.com-users-profile__multifactor) > .control-group {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 9px 0;
  }

  body.com_users.view-profile.layout-edit #member-profile .control-label {
    padding-top: 0;
  }

  body.com_users.view-profile.layout-edit #member-profile .com-users-profile__multifactor {
    padding: 16px;
  }

  body.com_users.view-profile.layout-edit #member-profile .com-users-profile__multifactor > div > div:nth-child(2) {
    grid-template-columns: 1fr;
  }

  body.com_users.view-profile.layout-edit #member-profile .com-users-profile__edit-submit,
  body.com_users.view-profile.layout-edit #member-profile .com-users-profile__edit-submit .controls {
    flex-direction: column;
    width: 100%;
  }

  body.com_users.view-profile.layout-edit #member-profile .com-users-profile__edit-submit .btn {
    width: 100%;
  }
}

body.com_users.view-profile.layout-edit #member-profile legend {
  float: none !important;
}

body.com_users.view-profile.layout-edit #member-profile fieldset:not(.com-users-profile__multifactor) > .control-group {
  width: 100%;
}

body.com_users.view-profile.layout-edit #member-profile .control-label {
  float: none !important;
  width: auto !important;
}

body.com_users.view-profile.layout-edit #member-profile .controls {
  width: auto !important;
  margin-left: 0 !important;
}

body.com_users.view-profile.layout-edit #member-profile .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

body.com_users.view-profile.layout-edit #member-profile .input-group > .form-control {
  width: 1% !important;
  min-width: 0;
  flex: 1 1 auto;
}

body.com_users.view-profile.layout-edit #member-profile .input-group > .input-password-toggle {
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* EDLO Profil: sichtbarer Zugang zur Kontoloeschung */
body.com_users.view-profile.layout-edit #member-profile .edlo-profile-danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 4px 0 24px;
  padding: 18px 20px;
  border: 1px solid #f0b8bd;
  border-left: 4px solid #e30613;
  border-radius: 9px;
  background: #fff6f7;
}

body.com_users.view-profile.layout-edit #member-profile .edlo-profile-danger-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

body.com_users.view-profile.layout-edit #member-profile .edlo-profile-danger-copy strong {
  color: #b5000b;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

body.com_users.view-profile.layout-edit #member-profile .edlo-profile-danger-copy span {
  color: #5e666d;
  font-size: 13px;
  line-height: 1.45;
}

body.com_users.view-profile.layout-edit #member-profile .edlo-profile-delete-button {
  flex: 0 0 auto;
  padding: 11px 17px;
  border: 1px solid #e30613;
  border-radius: 7px;
  background: #fff;
  color: #e30613;
  font-size: 14px;
  font-weight: 800;
}

body.com_users.view-profile.layout-edit #member-profile .edlo-profile-delete-button:hover,
body.com_users.view-profile.layout-edit #member-profile .edlo-profile-delete-button:focus {
  border-color: #bd000c;
  background: #e30613;
  color: #fff;
}

@media (max-width: 767px) {
  body.com_users.view-profile.layout-edit #member-profile .edlo-profile-danger-zone {
    align-items: stretch;
    flex-direction: column;
  }

  body.com_users.view-profile.layout-edit #member-profile .edlo-profile-delete-button {
    width: 100%;
    text-align: center;
  }
}


/* EDLO – Erfolgsmeldung nach Profiländerung */
body.com_users.view-profile.layout-edit #system-message-container {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 18px;
}
body.com_users.view-profile.layout-edit #system-message-container .alert,
body.com_users.view-profile.layout-edit .joomla-alert {
  border: 1px solid #b8dfc5;
  border-left: 5px solid #198754;
  border-radius: 10px;
  background: #f0faf4;
  color: #174d2b;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

/* EDLO – Seite zur Profillöschung */
.edlo-delete-page {
  width: min(820px, calc(100% - 32px));
  margin: 44px auto 64px;
  color: #25282c;
}
.edlo-delete-card {
  position: relative;
  overflow: hidden;
  padding: 38px 42px 42px;
  border: 1px solid #e1e4e8;
  border-top: 6px solid #e30613;
  border-radius: 14px;
  background: rgba(255,255,255,.985);
  box-shadow: 0 18px 45px rgba(0,0,0,.30);
}
.edlo-delete-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at top right, rgba(227,6,19,.11), transparent 70%);
  pointer-events: none;
}
.edlo-delete-kicker {
  margin: 0 0 7px;
  color: #e30613;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.edlo-delete-card h1 {
  margin: 0 0 13px;
  color: #202428;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.08;
}
.edlo-delete-card h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 17px;
  border-radius: 20px;
  background: #e30613;
}
.edlo-delete-lead {
  max-width: 680px;
  margin: 0 0 24px;
  color: #5c6269;
  font-size: 1.02rem;
  line-height: 1.65;
}
.edlo-delete-warning {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid #f0b9be;
  border-left: 5px solid #e30613;
  border-radius: 10px;
  background: #fff4f5;
  color: #562429;
  line-height: 1.55;
}
.edlo-delete-warning strong {
  color: #a4000a;
}
.edlo-delete-form {
  margin: 0;
}
.edlo-delete-confirm {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 0 26px;
  padding: 17px 18px;
  border: 1px solid #d9dde1;
  border-radius: 10px;
  background: #f6f7f8;
  color: #30343a;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}
.edlo-delete-confirm input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #e30613;
}
.edlo-delete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}
.edlo-delete-actions .btn {
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.edlo-delete-submit {
  background: #e30613 !important;
  color: #fff !important;
  box-shadow: 0 7px 17px rgba(227,6,19,.23);
}
.edlo-delete-submit:hover,
.edlo-delete-submit:focus {
  background: #bd0010 !important;
  transform: translateY(-1px);
}
.edlo-delete-cancel {
  background: #252a2f !important;
  color: #fff !important;
}
.edlo-delete-cancel:hover,
.edlo-delete-cancel:focus {
  background: #0e1114 !important;
  color: #fff !important;
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .edlo-delete-page {
    width: min(100% - 20px, 820px);
    margin: 22px auto 38px;
  }
  .edlo-delete-card {
    padding: 27px 21px 30px;
    border-radius: 11px;
  }
  .edlo-delete-actions {
    display: grid;
  }
  .edlo-delete-actions .btn {
    width: 100%;
    text-align: center;
  }
}


body.com_users.view-profile.layout-edit .edlo-profile-save-message {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 15px 18px;
  border: 1px solid #b8dfc5;
  border-left: 5px solid #198754;
  border-radius: 10px;
  background: #f0faf4;
  color: #174d2b;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}


/* EDLO – Premium-Partner auf der Startseite */
.edlo-home-partners {
  position: relative;
  padding: 42px 24px 52px;
  background: rgba(8,10,12,.94);
}
.edlo-home-partners__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}
.edlo-home-partners h2 {
  margin: 0 0 24px;
  color: #d7b34b;
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 900;
  line-height: 1.15;
}
.edlo-home-partners h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 4px;
  margin-top: 13px;
  border-radius: 999px;
  background: #d7b34b;
}
.edlo-home-partners__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.edlo-partner-logo-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(215,179,75,.34);
  border-radius: 14px;
  background: #fff;
  color: #202428;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.23);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.edlo-partner-logo-card:hover,
.edlo-partner-logo-card:focus {
  color: #202428;
  border-color: #d7b34b;
  box-shadow: 0 16px 34px rgba(0,0,0,.30);
  transform: translateY(-3px);
}
.edlo-partner-logo-placeholder {
  display: grid;
  width: min(190px, 82%);
  min-height: 70px;
  place-items: center;
  border: 2px dashed #d5d9dd;
  border-radius: 10px;
  color: #a4852d;
  background: #f6f7f8;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.edlo-partner-logo-note {
  color: #737980;
  font-size: .82rem;
  font-weight: 700;
}
/* Abstand Statistik zu News kompakter */
#sp-top1 {
  padding-bottom: 28px !important;
}
#sp-top2 {
  padding-top: 28px !important;
}
.edlo-stats {
  margin-bottom: 0 !important;
}
@media (max-width: 1024px) {
  .edlo-home-partners__grid {
    grid-template-columns: 1fr;
  }
  .edlo-partner-logo-card {
    width: min(620px, 100%);
    margin-inline: auto;
  }
}
@media (max-width: 640px) {
  .edlo-home-partners {
    padding: 34px 16px 40px;
  }
  .edlo-partner-logo-card {
    min-height: 130px;
    padding: 20px;
    border-radius: 12px;
  }
}


/* Partnersektion von der Statistik sauber trennen */
.edlo-home-partners {
  margin-bottom: 58px;
}

/* EDLO – Partnerübersicht */
.edlo-partners-page {
  width: min(1120px, calc(100% - 32px));
  margin: 46px auto 72px;
  color: #25282c;
}
.edlo-partners-page__header,
.edlo-partners-page__section {
  padding: 36px 40px 40px;
  border: 1px solid #e1e4e8;
  border-radius: 14px;
  background: rgba(255,255,255,.985);
  box-shadow: 0 16px 38px rgba(0,0,0,.26);
}
.edlo-partners-page__header {
  margin-bottom: 24px;
  border-top: 6px solid #e30613;
}
.edlo-partners-page__kicker {
  margin: 0 0 7px;
  color: #d0a737;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
}
.edlo-partners-page__header h1 {
  margin: 0 0 14px;
  color: #202428;
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.06;
}
.edlo-partners-page__header h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 17px;
  border-radius: 999px;
  background: #e30613;
}
.edlo-partners-page__header > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #60666d;
  font-size: 1.03rem;
  line-height: 1.65;
}
.edlo-partners-page__section {
  margin-bottom: 24px;
}
.edlo-partners-page__section h2 {
  margin: 0 0 9px;
  color: #c19a2e;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 900;
}
.edlo-partners-page__section--standard h2 {
  color: #e30613;
}
.edlo-partners-page__intro {
  margin: 0 0 24px;
  color: #656b72;
  line-height: 1.55;
}
.edlo-partners-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.edlo-partners-page__card {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 22px;
  border: 1px solid #dde1e5;
  border-radius: 14px;
  background: #f7f8f9;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  overflow: hidden;
}
.edlo-partners-page__grid--premium .edlo-partners-page__card {
  border-color: rgba(193,154,46,.45);
  background: #fffdf7;
}
.edlo-partners-page__placeholder {
  display: grid;
  width: min(190px, 88%);
  min-height: 78px;
  margin-bottom: 5px;
  place-items: center;
  border: 2px dashed #d2d6da;
  border-radius: 10px;
  background: #fff;
  color: #a38226;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.edlo-partners-page__card strong {
  color: #25282c;
  font-weight: 900;
}
.edlo-partners-page__card small {
  color: #7a8086;
  font-weight: 700;
}
@media (max-width: 850px) {
  .edlo-partners-page__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 620px) {
  .edlo-partners-page {
    width: min(100% - 20px,1120px);
    margin: 24px auto 44px;
  }
  .edlo-partners-page__header,
  .edlo-partners-page__section {
    padding: 27px 21px 30px;
    border-radius: 11px;
  }
  .edlo-partners-page__grid {
    grid-template-columns: 1fr;
  }
  .edlo-partners-page__card {
    min-height: 150px;
    border-radius: 12px;
  }
}


/* Startseite – finale Partner-, Galerie- und Abstandsanpassungen */
.edlo-home-partners h2 {
  text-align: center;
}
.edlo-home-partners h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* Große EDLO-Überschrift in allen Ansichten exakt zweizeilig */
.edlo-hero h1 {
  font-size: clamp(2.1rem, 3.55vw, 3.5rem) !important;
  line-height: 1.03 !important;
}
.edlo-hero h1 .edlo-hero__title-line {
  display: block;
  white-space: nowrap;
}
.edlo-hero h1 br {
  display: none;
}

/* Leeren Hauptbereich der Startseite verkleinern: Schnellzugriff näher am Footer */
body.edlo-home #sp-main-body {
  padding: 26px 20px 22px !important;
}

@media (max-width: 767px) {
  /* Gleicher Seitenabstand wie bei den News-Kacheln */
  .edlo-home-partners {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .edlo-home-partners__inner {
    width: 100% !important;
    max-width: none !important;
  }
  .edlo-home-partners__grid,
  .edlo-partner-logo-card {
    width: 100% !important;
    max-width: none !important;
  }

  /* Auf dem Handy nur das zweite Galeriebild anzeigen */
  .edlo-gallery__grid {
    grid-template-columns: 1fr !important;
  }
  .edlo-gallery__grid .edlo-gallery-card {
    display: none !important;
  }
  .edlo-gallery__grid .edlo-gallery-card:nth-child(2) {
    display: block !important;
    width: 100% !important;
  }

  .edlo-hero h1 {
    font-size: clamp(1.45rem, 7.3vw, 2.35rem) !important;
    letter-spacing: -.02em !important;
  }
}


/* Premium-Partner ohne schwarzen Hintergrundbalken */
.edlo-home-partners {
  background: transparent !important;
}

/* Leeren Startseiten-Inhaltsbereich stark verkleinern */
html body.site.edlo-home main#sp-main > section#sp-main-body#sp-main-body {
  min-height: 0 !important;
  padding-top: 24px !important;
  padding-right: 20px !important;
  padding-bottom: 20px !important;
  padding-left: 20px !important;
  margin: 0 !important;
}


/* Premium-Partner: Gesamtbreite wie News / Termine / Downloads */
.edlo-home-partners {
  padding-top: 24px !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}
.edlo-home-partners__inner {
  width: min(1100px, calc(100% - 30px)) !important;
}

/* Goldener Link zur vollständigen Partnerseite */
.edlo-home-partners__more {
  display: table;
  margin: 22px auto 0;
  color: #d7b34b !important;
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
  transition: color .16s ease, transform .16s ease;
}
.edlo-home-partners__more:hover,
.edlo-home-partners__more:focus {
  color: #f0cf69 !important;
  text-decoration: underline !important;
  transform: translateY(-1px);
}

/* Partnerseite: weiße Inhaltskacheln mittig statt linksbündig */
body.itemid-136 .article-details > [itemprop="articleBody"] {
  width: 100% !important;
  max-width: none !important;
}
body.itemid-136 .edlo-partners-page {
  width: calc(100% - 32px) !important;
  max-width: 860px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* Oberen Startseitenabstand kompakter */
@media (min-width: 1024px) {
  .edlo-hero {
    min-height: 680px !important;
  }
}

@media (max-width: 767px) {
  .edlo-home-partners {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
  .edlo-home-partners__inner {
    width: 100% !important;
  }
  .edlo-home-partners__more {
    font-size: .96rem;
  }
}


/* Partnerseite – vorhandene Inhaltsbreite mittig im Seitenraster */
html body.site.itemid-136 #sp-main-body #sp-component .article-details > [itemprop="articleBody"] {
  margin-right: auto !important;
  margin-left: auto !important;
}


/* Partnerseite – Social-Media-Leiste ausblenden */
body.itemid-136 .article-social-share {
  display: none !important;
}

/* Partnerbezeichnungen innerhalb der Logo-Kacheln */
body.itemid-136 .edlo-partners-page__grid--premium .edlo-partners-page__card strong {
  width: 100%;
  color: #c19a2e !important;
  text-align: center;
}
body.itemid-136 .edlo-partners-page__section--standard .edlo-partners-page__card strong {
  width: 100%;
  color: #e30613 !important;
  text-align: center;
}


/* Gesamte Website – ein einziges durchgehendes festes Hintergrundbild */
html {
  background: #050608;
}

body.site {
  background-color: #050608 !important;
  background-image:
    linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.78)),
    url("../../../images/hero/hero-startseite.png") !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

/* Das Bild bleibt hinter der Navigation sichtbar */
body.site #sp-header {
  background: rgba(6,8,10,.58) !important;
}

/* Inhaltsbereiche verwenden keine eigenen, neu beginnenden Hintergrundbilder */
body.site #sp-main,
body.site #sp-main-body,
body.site #sp-section-1,
body.site #sp-section-2,
body.site #sp-section-3,
body.site #sp-section-4 {
  background-color: transparent !important;
  background-image: none !important;
}

/* Startbereich: nur Lesbarkeitsverlauf, kein zweites Hintergrundbild */
body.site .edlo-hero {
  background-color: transparent !important;
  background-image: linear-gradient(
    90deg,
    rgba(0,0,0,.96) 0%,
    rgba(0,0,0,.82) 34%,
    rgba(0,0,0,.36) 68%,
    rgba(0,0,0,.08) 100%
  ) !important;
}


/* Navigation liegt auf demselben Hintergrundbild */
html body.site header#sp-header,
html body.site header#sp-header.header-sticky {
  background-color: rgba(6,8,10,.58) !important;
  background-image: none !important;
}


/* Startseite – obere Zusatzfläche entfernen */
body.site.edlo-home .edlo-hero {
  background-color: transparent !important;
  background-image: none !important;
}

/* Handy – Sponsor-Kacheln exakt so breit wie Aktuelle News */
@media (max-width: 767px) {
  body.site.edlo-home .edlo-home-partners__inner {
    width: calc(100% - 28px) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}


/* Desktop – Premium-Partner näher an die vier Schnellkacheln */
@media (min-width: 1024px) {
  body.site.edlo-home .edlo-hero {
    min-height: 614px !important;
  }
}


/* Desktop – Premium-Partner-Abstand exakt wie zwischen Statistik und News */
@media (min-width: 1024px) {
  body.site.edlo-home .edlo-home-partners {
    margin-top: -66px !important;
  }
}

/* Tablet und Handy – EDLO-Logo deutlich größer */
@media (max-width: 991px) {
  html body.site header#sp-header {
    height: 80px !important;
    min-height: 80px !important;
  }
  body.site #sp-header > .container,
  body.site #sp-header .container-inner,
  body.site #sp-header .container-inner > .row,
  body.site #sp-header #sp-logo,
  body.site #sp-header #sp-logo .sp-column {
    height: 80px !important;
    min-height: 80px !important;
  }
  body.site #sp-header .logo {
    height: 80px !important;
    padding: 4px 0 !important;
  }
  body.site #sp-header .logo > a {
    display: flex !important;
    height: 72px !important;
    align-items: center !important;
  }
  body.site #sp-header img.logo-image {
    width: auto !important;
    height: 68px !important;
    max-width: none !important;
    max-height: none !important;
  }
}


/* Feinabstimmung: Desktop-Abstand 53 px, Logo vollständig im Kopfbereich */
@media (min-width: 1024px) {
  body.site.edlo-home .edlo-home-partners {
    margin-top: -49px !important;
  }
}
@media (max-width: 991px) {
  body.site #sp-header img.logo-image {
    height: 66px !important;
  }
}


/* Endwert Desktop: gleicher Abstand wie zwischen Statistik und News */
@media (min-width: 1024px) {
  body.site.edlo-home .edlo-home-partners {
    margin-top: -66px !important;
  }
}


/* =========================================================
   EDLO-Audit-Korrekturen – 24.08.2026
   ========================================================= */

/* Leere Helix-Zeile auf Unterseiten vollständig entfernen */
body.site #sp-section-3:not(:has(.sp-module)) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Verwaltungscenter: korrektes Tablet-/Handy-Menü und kein Überlauf */
@media (max-width: 1199.98px) {
  body.site.edlo-admin-page {
    overflow-x: hidden !important;
  }

  body.site.edlo-admin-page #sp-header .sp-megamenu-wrapper,
  body.site.edlo-admin-page #sp-header .sp-megamenu-parent {
    display: none !important;
  }

  body.site.edlo-admin-page #sp-header .offcanvas-toggler {
    display: flex !important;
    flex: 0 0 auto !important;
  }

  body.site.edlo-admin-page #sp-header #sp-menu,
  body.site.edlo-admin-page #sp-header #sp-menu > .sp-column,
  body.site.edlo-admin-page #sp-header .menu-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.site.edlo-admin-page .edlo-admin-dashboard,
  body.site.edlo-admin-page .edlo-admin-dashboard__header {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.site.edlo-admin-page .edlo-admin-dashboard__header h1 {
    max-width: 100% !important;
    margin-right: 0 !important;
    font-size: clamp(1.65rem, 7.5vw, 2.5rem) !important;
    line-height: 1.08 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}

/* Sehr schmale Ansichten: sichere Innenabstände im Verwaltungscenter */
@media (max-width: 575.98px) {
  body.site.edlo-admin-page .edlo-admin-dashboard__header h1 {
    font-size: clamp(1.55rem, 7.2vw, 2rem) !important;
  }
}

/* Übergangsbreite Desktop: Menüknopf vollständig innerhalb des Fensters */
@media (min-width: 1200px) and (max-width: 1230px) {
  body.site #sp-header #sp-menu {
    padding-right: 16px !important;
  }

  body.site #sp-header .social-wrap {
    display: none !important;
  }
}


/* EDLO Header-Suche: zuverlässige, gut sichtbare Suchschaltfläche */
body.site #sp-header .edlo-finder-form {
  position: relative !important;
}

body.site #sp-header .edlo-finder-form .js-finder-search-query {
  padding-right: 38px !important;
}

body.site #sp-header .edlo-finder-submit {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  display: inline-flex !important;
  width: 38px !important;
  height: 100% !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 0 4px 4px 0 !important;
  cursor: pointer !important;
}

body.site #sp-header .edlo-finder-submit:hover,
body.site #sp-header .edlo-finder-submit:focus-visible {
  color: #e60019 !important;
  background: rgba(255,255,255,.08) !important;
  outline: 2px solid #e60019 !important;
  outline-offset: -2px !important;
}

body.site #sp-header .edlo-finder-submit svg {
  width: 17px !important;
  height: 17px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
}

/* EDLO – Banner Premium-Partner Stefan Enseleit */
.edlo-partner-logo-card--banner,
.edlo-partners-page__card--banner {
  padding: 14px;
}

.edlo-partner-banner {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  aspect-ratio: 2583 / 1292;
  object-fit: contain;
  border-radius: 9px;
}

.edlo-partners-page__card--banner strong {
  margin-top: 5px;
}

@media (max-width: 640px) {
  .edlo-partner-logo-card--banner,
  .edlo-partners-page__card--banner {
    min-height: 0;
    padding: 10px;
  }
}

/* =========================================================
   EDLO – Hintergrundbild Tablet & Smartphone
   Kein Hineinzoomen: Bild wird auf die Displaybreite skaliert.
   Desktop bleibt unverändert.
   ========================================================= */

@media (max-width: 991px) {
  body.site {
    background-color: #050608 !important;
    background-image:
      linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.62)),
      url("/images/hero/hero-startseite.png") !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: 100% auto !important;
    background-attachment: scroll !important;
  }

  html body.site header#sp-header,
  html body.site header#sp-header.header-sticky {
    background-color: rgba(6,8,10,.45) !important;
    background-image: none !important;
  }
}



/* EDLO: Hero-Hintergrund auf Tablet und Mobil direkt am Hero */
@media (max-width: 991px) {
  body.site.edlo-home {
    background-color: #050608 !important;
    background-image: none !important;
  }

  body.site.edlo-home .edlo-hero {
    background-color: #050608 !important;
    background-image:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.96) 0%,
        rgba(0, 0, 0, 0.82) 34%,
        rgba(0, 0, 0, 0.36) 68%,
        rgba(0, 0, 0, 0.08) 100%
      ),
      url("/images/hero/hero-startseite.png") !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: 72% center !important;
    background-attachment: scroll !important;
  }
}

@media (max-width: 575px) {
  body.site.edlo-home .edlo-hero {
    background-position: 74% center !important;
  }
}
