/* V202c – Startseite / mobile Diashow.
   Ausschliesslich Darstellung bis 760px; unveraendert bleiben Desktop,
   JavaScript, Fotos, Beschriftungen, Links, Steuerungsfunktionen und Admin. */
@media (max-width: 760px) {
  /* Lesbarkeit im unteren Bildbereich ohne massiven Kartenhintergrund. */
  .home-v012 #referenz-bildbuehne::after {
    height: 65%;
    background: linear-gradient(to top,
      rgba(12, 21, 17, .73) 0%,
      rgba(12, 21, 17, .28) 36%,
      transparent 82%);
  }
  .home-v012 #referenz-bildbuehne .v088-gallery-footer {
    left: 16px;
    right: 16px;
    bottom: 10px;
    min-height: 0;
    max-width: none;
    padding: 0;
    margin: 0;
    gap: 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .home-v012 #referenz-bildbuehne .v088-gallery-current-caption {
    max-width: 100%;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.34;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .75);
  }
  .home-v012 #referenz-bildbuehne .v088-gallery-reference {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    max-width: 100%;
    padding: 7px 0 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .75);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .home-v012 #referenz-bildbuehne .v088-gallery-reference:hover,
  .home-v012 #referenz-bildbuehne .v088-gallery-reference:focus-visible {
    background: transparent;
    border-color: transparent;
    text-decoration-thickness: 2px;
  }
  /* Schlanke, halbtransparente Leiste; die Buttons bleiben gut tippbar. */
  .home-v012 #referenz-bildbuehne .v13-controls {
    top: 10px;
    right: 10px;
    bottom: auto;
    left: auto;
    min-height: 44px;
    padding: 0 3px 0 8px;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(19, 28, 25, .43);
    box-shadow: none;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
  }
  .home-v012 #referenz-bildbuehne .v13-position {
    display: inline-block;
    margin: 0 4px 0 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,.6);
  }
  .home-v012 #referenz-bildbuehne .v13-controls button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 42px;
    min-width: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    box-shadow: none;
    transition: background .2s ease;
  }
  .home-v012 #referenz-bildbuehne .v13-controls button:last-child {
    font-size: 15px;
  }
  .home-v012 #referenz-bildbuehne .v13-controls button:hover {
    background: rgba(255, 255, 255, .14);
    transform: none;
  }
  .home-v012 #referenz-bildbuehne .v13-controls button:focus-visible {
    background: rgba(255, 255, 255, .14);
    outline: 2px solid #fff;
    outline-offset: -3px;
    transform: none;
  }
}
@media (max-width: 360px) {
  .home-v012 #referenz-bildbuehne .v088-gallery-footer {
    left: 12px;
    right: 12px;
    bottom: 8px;
  }
  .home-v012 #referenz-bildbuehne .v088-gallery-current-caption {
    font-size: 14px;
  }
  .home-v012 #referenz-bildbuehne .v13-controls {
    top: 8px;
    right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-v012 #referenz-bildbuehne .v13-controls button { transition: none; }
}
