/* ÄNDERE DIESE ZEILE: */
/* .caption { */
#imageCaption {
  max-height: 300px;      /* Höhe begrenzen */
  overflow-y: auto;       /* vertikales Scrollen aktivieren */
  padding: 15px;
  background: rgba(9, 0, 0, 0.937);
  color: white;
  border-radius: 8px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

#imageCaption::-webkit-scrollbar {
  width: 6px;
}

#imageCaption::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.5);
  border-radius: 3px;
}


/* Der Rest bleibt gleich */
.caption-container {
  padding: 12px;
  background: linear-gradient(135deg, #667eea 0%, #2f97f2 100%);
  color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(224, 219, 219, 0.15);

  /* Abstand vom unteren Rand des Modals */
  position: absolute;      /* Container wird über dem Modal positioniert */
  bottom: 20px;            /* Abstand nach unten */
  left: 20px;              /* Abstand seitlich */
  right: 20px;             /* Abstand seitlich */

  /* Optional: scrollbar bei langen Inhalten */
  max-height: 300px;
  overflow-y: auto;
  box-sizing: border-box;
  padding-bottom: 20px;    /* Extra Innenabstand unten, damit letzter Text nicht klebt */
}


.bike-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}

.spec-label {
  font-weight: bold;
  color: #ffeaa7;
}

.spec-value {
  font-weight: normal;
}

.feature-badge {
  background: #00b894;
  padding: 5px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 8px;
  font-weight: bold;
}