/* Sichtbare Kennzeichnung fotorealistischer KI-Symbolbilder nach Art. 50 KI-VO. */
.ki-image-note {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(15, 34, 64, 0.88);
  box-shadow: 0 4px 18px rgba(15, 34, 64, 0.22);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: left;
}

.sh-hero-visual {
  margin: 0;
}

/* Bestehende Förder-Grids dürfen auf sehr schmalen Displays schrumpfen. */
.fx-wrap > * {
  min-width: 0;
}

.sy-grid > *,
.st-meister-g > *,
.st-nums-grid > * {
  min-width: 0;
}

/* Zugängliche Überschrift ohne den früheren 9.999-px-Seitenüberstand. */
#lg-h {
  position: absolute !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sh-hero-visual > .ki-image-note {
  top: 16px;
  left: 16px;
}

.hv-hero > .ki-image-note {
  right: 20px;
  bottom: 20px;
}

@media (max-width: 640px) {
  .fx-label {
    min-width: 0;
  }

  .fx-label-t,
  .fx-label-d {
    overflow-wrap: anywhere;
  }

  body .sy-card-top {
    flex-wrap: wrap;
  }

  body .sy-card-label {
    white-space: normal;
  }

  body .gw-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body .gw-grid .gw-item {
    min-width: 0;
    border-right: 0 !important;
  }

  body .gw-grid .gw-item + .gw-item {
    border-top: 1px solid rgba(21, 36, 62, 0.08);
  }

  .lb-grid > *,
  .st-meister-g > *,
  .st-nums-grid > * {
    min-width: 0;
  }

  .lb-card,
  .st-num-l {
    overflow-wrap: anywhere;
  }

  .st-mphoto {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  body .st-ref-grouph {
    flex-wrap: wrap;
  }

  body .st-ref-grouph span {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .st-f-legal {
    flex-wrap: wrap;
    gap: 0 14px;
  }

  .ki-image-note {
    max-width: calc(100% - 24px);
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 10.5px;
  }

  .sh-hero-visual > .ki-image-note,
  .hv-hero > .ki-image-note {
    right: 12px;
    bottom: 12px;
  }

  .sh-hero-visual > .ki-image-note {
    top: 12px;
    right: auto;
    bottom: auto;
    left: 12px;
  }
}
