@layer utilities {
  .hidden {
    display: none;
  }
  .visually-hidden:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .nbsp {
    white-space: nowrap;
    width: 1.5rem;
    display: inline-block;
  }
  .br {
    border: none;
    border-bottom: 2px solid var(--wasser);
    margin-block: 2rem;
  }
  .bigheadline {
    font-size: 2.5rem;
    color: var(--green);
    line-height: 1.2;
    text-align: left;
    padding: 0.6em 1em;
    font-weight: 600;
  }

  .withsmartphone {
    position: relative;
    &::after {
      content: "";
      inset: 0;
      position: absolute;
      background: url(/assets/img/smartphone.webp) 0 0 no-repeat;
      background-size: contain;
    }
    img {
      position: absolute;
      left: 5%;
      width: 90% !important;
      margin-top: 4%;
    }
  }

  /* custom Leaflet zoom buttons, see snippets/zoomcontrols.php */
  .zoomcontrols {
    z-index: 400;
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  .zoom-button {
    background: #333;
    border-radius: 10px;
    box-shadow:
      inset 0 0 0 2px white,
      0 0 10px rgba(0, 0, 0, 0.3);
    width: 3.8rem;
    height: 3.8rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    svg {
      width: 1.6rem;
      height: 1.6rem;
      fill: white;
    }
    &:disabled {
      opacity: 0.4;
      cursor: default;
    }
  }
}
