@charset "UTF-8";/* ============================================================
   Datei: nsa_infobar.css
   Projekt: Fossilienwelt Weinviertel
   Zweck: Sticky Info-Bar – Slide-Panels links vom Button
   Version: 1.0.0
   Datum: 09.11.2025
   Autor: studioN
   ============================================================ */

.info-bar {
  position: fixed;
  right: 0;
  top: 25%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3500;
}

/* BUTTONS */
.info-item {
  position: relative;
}

.info-btn {
  width: 45px;
 height: 45px;
  background: var(--brand-orange, #f39200);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: background 0.25s ease;
 
}

.info-btn:hover,
.info-btn:focus-visible {
  background: #e58400;
  outline: none;
}

/* ICONS */
.info-icon {
  width: 24px;
  height: 24px;
  background: no-repeat center / contain;
   color:#fff;
  filter: brightness(0) invert(1);
}

.info-icon--clock , .jchoptimize-responsive-images__loaded{ background-image: url(https://www.fossilienwelt.at/templates/fossilienwelt-v6/css/custom/images/icon-clock.svg);}
.info-icon--euro , .jchoptimize-responsive-images__loaded{ background-image: url(https://www.fossilienwelt.at/templates/fossilienwelt-v6/css/custom/images/icon-euro.svg);}
.info-icon--percent , .jchoptimize-responsive-images__loaded{ background-image: url(https://www.fossilienwelt.at/templates/fossilienwelt-v6/css/custom/images/icon-percent.svg);}
.info-icon--info , .jchoptimize-responsive-images__loaded{ background-image: url(https://www.fossilienwelt.at/templates/fossilienwelt-v6/css/custom/images/icon-info.svg);}
.info-icon--group   , .jchoptimize-responsive-images__loaded{ background-image: url(https://www.fossilienwelt.at/templates/fossilienwelt-v6/css/custom/images/icon-group.svg);}

.info-icon--group {
  width: 28px;
  height: 28px;
  opacity: 0.95;
}

/* PANEL */
.info-panel {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(110%) scale(0.98);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  width: 320px;
  max-width: 80vw;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.05);
  border-left: 6px solid var(--brand-orange, #f39200);
  transition:
    transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.35s ease;
  will-change: transform, opacity;
}

.info-panel.is-active {
  transform: translateY(-50%) translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  animation: panelDock 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes panelDock {
  0% {
    transform: translateY(-50%) translateX(10%) scale(0.96);
    opacity: 0;
  }
  70% {
    transform: translateY(-50%) translateX(-1%) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translateY(-50%) translateX(0) scale(1);
  }
}

/* INHALT */
.info-panel__inner {
  padding: 1.4rem 1.5rem;
}

/* Titel im Panel */
.info-panel h3.info-panel__title {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  color: #111;
  font-weight: 700;
  line-height: 1.3;
}

.info-panel h3::after {
  content: none !important;
}

.info-panel p {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  color: #111;
  line-height: 1.45;
}

/* MINI-BUTTON LINKS IM PANEL */
.info-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  transition: all 0.25s ease;
  margin: 6px 0;
}

.info-link::before , .jchoptimize-responsive-images__loaded{
  content: "";
  width: 22px;
  height: 22px;
  background: url(https://www.fossilienwelt.at/templates/fossilienwelt-v6/css/custom/images/icon-arrow-right-circle.svg) no-repeat center / contain;
  flex-shrink: 0;
  transition: transform 0.25s ease;}

.info-link:hover {
  color: #f39200;
  transform: translateX(4px);
}

.info-link:hover::before {
  transform: scale(1.07);
}

/* MOBILE */
@media (max-width: 768px) {
  .info-bar {
    bottom: 50%;
    top: auto;
  }
  .info-btn {
    width: 45px;
    height: 45px;
  }
  .info-panel {
    right: 0;
    width: 280px;
    transform: translateY(-50%) translateX(110%) scale(0.98);
  }
  .info-panel.is-active {
    transform: translateY(-50%) translateX(0) scale(1);
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .info-bar {
    bottom: 5%;
  }
}

/* SCREENREADER */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


