.phl {
    --phl-gap: 0.8rem;
    --phl-pad-inline: 0;
    --phl-fade-size: 28px;
    position: relative;
  }
  
  .phl-list {
    display: flex;
    flex-wrap: wrap;                /* Desktop: nebeneinander + Wrap */
    gap: var(--phl-gap);
    padding: 0;
    margin: 0;
    list-style: none;
  }
 

  .phl-link {
    display: inline-block;
    text-decoration: none;
    /* h3-style kommt von dir; hier nur minimale Ergänzungen */
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    transition: transform 120ms ease, opacity 120ms ease;
    white-space: nowrap; /* verhindert unschöne Umbrüche in der Leiste */
  }
  
  .phl-link:hover,
  .phl-link:focus-visible {
    transform: translateY(-1px);
  }
  
  /* ===== Mobile: horizontales Scrolling, Snap, Fades ===== */
  @media (max-width: 63.9375em) {
    .phl {
      --phl-pad-inline: 0px;
    }
  
    .phl {
      padding-inline: var(--phl-pad-inline);
    }
  
    .phl-list {
      flex-wrap: nowrap;            /* keine Zeilenumbrüche */
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;        /* Firefox */
      justify-content: space-between;
    }
    .phl-list::-webkit-scrollbar {
      display: none;                /* WebKit */
    }
  
    .phl-item {
      scroll-snap-align: start;
      flex: 0 0 auto;
    }
  }
  a.h3-style.phl-link{
    margin-bottom: 0;
    color:#444444;
  }

  .night-mode a.h3-style.phl-link{
    margin-bottom: 0;
    color:#bbbbbb;
  }

  .h3-style.phl-link a{
    margin-bottom: 0;
  }
  