/* =============================================
   Gemeinsame Unterseiten-Bausteine (Nov. 2026)
   Typografischer Einstieg .phero („Projekte.“, „Über uns.“) und .sr-only.
   Genutzt von projekte.html und ueber-uns.html.
============================================= */

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

/* ---------------------------------------------
   Einstieg
--------------------------------------------- */
.phero {
  background: var(--c-off-white);
  color: var(--c-black);
  padding: clamp(8rem, 13vw, 11.5rem) 0 clamp(0.5rem, 1.5vw, 1.5rem);
}

.phero__inner {
  width: var(--media-w);
  margin-inline: auto;
}

.phero__top {
  padding-bottom: clamp(1rem, 1.6vw, 1.4rem);
  border-bottom: 1px solid rgba(10, 10, 11, 0.14);
}

.phero__eyebrow {
  margin: 0;
  color: var(--c-gray-600);
}

/* Großes Wort: gleitet aus seiner Maske nach oben (wie der Startseiten-Claim) */
.phero__title {
  margin: clamp(1.75rem, 4.5vw, 4rem) 0 -0.1em;
  /* Platz für Unterlängen (j, g), sonst schneidet die Maske sie ab */
  padding-bottom: 0.22em;
  overflow: hidden;
  font-size: clamp(3rem, 14.5vw, 15.5rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: var(--c-black);
}

.phero__word {
  display: inline-block;
  animation: phero-rise 1.15s var(--ease) 0.45s both;
}

@keyframes phero-rise {
  from { transform: translate3d(0, 108%, 0); }
  to { transform: none; }
}

.phero__lead {
  max-width: 38em;
  margin: clamp(1.25rem, 2.4vw, 2.25rem) 0 0;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.6;
  color: var(--c-gray-600);
}

.phero {
}

@media (max-width: 760px) {
  .phero__title {
    font-size: 17vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phero__word {
    animation: none;
  }
}
