/* Teilen-Button
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Dezentes Icon: drei verbundene Punkte (Font Awesome "share-nodes", Code f1e0,
   in der kostenlosen Version enthalten). LinkStack liefert den Button mit dem
   Icon "fa-share" aus – wir tauschen nur das Zeichen aus. */
.share-icon {
  padding: 0 7px 0 0;
  vertical-align: middle;
  width: auto;
  height: auto;
  font-size: 13px;
  color: #0e3749 !important; /* LinkStack setzt inline color: black */
}
.share-icon::before {
  content: "\f1e0" !important;
}

/* Der Button schwebt oben rechts und schiebt den Inhalt nicht nach unten */
.sharediv {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  padding: 0;
}

.toastdiv {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.toastbox {
  width: 280px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 4px;
  position: fixed;
  top: 105%;
  -webkit-transition: transform 0.3s linear;
  transition: transform 0.3s linear;
  z-index: 2;
  text-align: center;
}
.toastbox.toast-tox--active {
  -webkit-transform: translateY(-150px);
  transform: translateY(-150px);
}

/* Handy: runder Button nur mit Icon */
.sharebutton,
sharebutton {
  display: inline-block;
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: 0.1px;
  white-space: nowrap;
  cursor: pointer;
  color: #0e3749;
  background-color: rgba(249, 243, 220, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(14, 55, 73, 0.3);
  border-radius: 50%;
}

/* Desktop: Pille mit Icon und Text "Share" */
@media screen and (min-width: 600px) {
  .sharebutton,
  sharebutton {
    width: auto;
    padding: 0 16px;
    border-radius: 19px;
  }
}

sharebutton:hover,
.sharebutton:hover,
.sharebutton:focus-visible {
  color: #0e3749;
  background-color: rgba(249, 243, 220, 0.9);
  border-color: #0e3749;
  outline: 0;
}
.sharebutton:focus-visible {
  outline: 3px solid #e18b23;
  outline-offset: 2px;
}

@media screen and (max-width: 600px) {
  .sharebutton-mb {
    display: none;
  }
  /* ohne Text: Icon exakt mittig */
  .share-icon {
    padding: 0;
  }
  .sharebutton-img {
    position: static;
    margin: 0;
  }
}
