.image-s3-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 2.5rem;                             /* großzügiger Puffer für Luftigkeit */
  background-color: rgba(0, 0, 0, 0.3);        /* leicht transparenter Kontrast */
  border-radius: 2rem;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);   /* kräftiger für Display-Kontrast */
  overflow: hidden;

  max-width: 90vw;                             /* auf Hochformat abgestimmt */
  max-height: 60vh;                            /* begrenzt die Höhe (z. B. mittig) */
  margin: 3rem auto;                           /* ausreichend Abstand rundherum */
}

.image-s3-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;                         /* kein Zuschneiden – Anzeige vollständig */
  border-radius: 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);   /* satter Schatten für Tiefenwirkung */
}


.comment-text {
  position: absolute;
  bottom: 20%;                               /* etwas höher positioniert für Blickachse */
  left: 50%;
  transform: translateX(-50%);
  
  font-family: var(--font-family-main);
  font-size: clamp(2rem, 3.2vw, 4.5rem);     /* groß, klar sichtbar aus 3m Abstand */
  font-weight: 900;
  color: var(--text-color);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 4px 8px rgba(0, 0, 0, 0.5);            /* kräftiger Schatten für Kontrast */

  letter-spacing: 0.08em;
  word-spacing: 0.4em;
  margin: 0;
  padding: 1rem 2rem;
  text-align: center;
  white-space: nowrap;                      /* kein Umbruch: wichtig bei Key-Messages */
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.3);      /* dezente Lesefläche hinter Text */
  border-radius: 1rem;
}
