.camera_caption {
  position: absolute;
  top: 65%;
  left: 0;
  right: 0;
  bottom: auto; /* Bottom wird hier nicht genutzt */
  transform: translateY(-50%);
  text-align: center; /* Zentriert den Text horizontal */
}

/* Größere Schrift im Desktopmodus */
.camera_caption .camera-text {
  font-family: "Open Sans";
  font-size: 42px; /* Angepasste Schriftgröße für Desktop */
  line-height: 1.2;
}

/*========================================================
                        Camera
=========================================================*/
.camera_container {
    position: relative;
    padding-bottom: 38%;
    padding-top: 20px;
    margin-bottom: 0px;
    margin-top: 10px;
    padding-left: 0;
    color: #FFF;
}

/* Für Geräte bis ca. 767px Breite etwas mehr Platz einplanen */
@media (max-width: 767px) {
  .camera_container {
    padding-bottom: 400px;  /* Erhöhter Platz für Inhalt */
  }
}

.camera_wrap {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin-bottom: 0 !important;
    background: #FAFAFA;
    z-index: 0;
    color: #FFF;
    text-shadow: 4px 2px 4px black;
}
.camera_wrap img {
  max-width: none !important;
}
.camera_fakehover {
    height: 100%;
    min-height: 60px;
    position: relative;
    width: 100%;
    color: #FFF;
}
.camera_src {
  display: none;
}

.cameraContents {
    height: 40%;
    position: relative;
    width: 100%;
    z-index: 1;
    color: #FFF;
}
.cameraSlide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.cameraContent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: none;
  color: white;
  text-shadow: 2px 2px 4px #000000;
}
.camera_target {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  text-align: left;
  z-index: 0;
}
.camera_overlayer {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}
.camera_target_content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 2;
    color: #FFF;
}
.camera_loader {
  background: transparent url("../images/camera-loader.gif") no-repeat center;
  border: 1px solid #FFF;
  border-radius: 18px;
  height: 36px;
  left: 50%;
  overflow: hidden;
  position: absolute;
  margin: -18px 0 0 -18px;
  top: 50%;
  width: 36px;
  z-index: 3;
}
.camera_nav_cont {
  height: 65px;
  overflow: hidden;
  position: absolute;
  right: 9px;
  top: 15px;
  width: 120px;
  z-index: 4;
}
.camerarelative {
  overflow: hidden;
  position: relative;
}
.imgFake {
  cursor: pointer;
}
.camera_command_wrap .hideNav {
  display: none;
}
.camera_command_wrap {
  left: 0;
  position: relative;
  right: 0;
  z-index: 4;
}
.showIt {
  display: none;
}
.camera_clear {
  clear: both;
  display: block;
  height: 1px;
  margin: -1px 0 25px;
  position: relative;
}

/* ======================== Grundlegende Anpassung der Caption ======================== */
.camera_caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  display: block;
  text-align: center;  /* Grundsätzlich zentrierter Text */
}

/* Die Caption wird nur angezeigt, wenn sie in .cameraContent steckt */
.cameraContent .camera_caption {
  display: block;
}

/* Für etwas größere Tablets/Desktops bis 979px können wir ggf. anpassen */
@media (max-width: 979px) {
  .camera_caption {
    width: 100%;
  }
}

/* ======================== Mobile Einstellungen für Geräte bis 479px ======================== */
@media (max-width: 479px) {
  .camera_caption {
    position: relative;
    left: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100%;
    padding: 10px; /* Gleichmäßiger Innenabstand */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Inhalt am unteren Rand */
    align-items: center;
  }
  .camera_caption .camera-text {
    width: 100%;
    padding: 10px;
    font-size: 18px; /* Unveränderte mobile Schriftgröße */
    line-height: 1.2;
    text-align: center;
    background: transparent;
    margin: 0;
    transform: translateX(-20px); /* Text um 10px nach links verschieben */
  }
  .camera_caption .camera-text span {
    text-transform: uppercase;
    font-weight: bold;
    font-size: x-large;
  }
}

/* ======================== Restliche Styles unverändert ======================== */
.camera_caption > div {
  height: 100%;
}
.camera_pag {
  position: absolute;
  bottom: 25px;
  width: 100%;
}
.camera_pag_ul {
  text-align: center;
}
.camera_pag_ul li {
  display: inline-block;
  width: 14px;
  height: 14px;
  cursor: pointer;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background: #fff;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.camera_pag_ul li.cameracurrent,
.camera_pag_ul li:hover {
  background: #61162d;
}
.camera_pag_ul li + li {
  margin-left: 7px;
}
.camera_pag_ul li > span {
  display: none;
}