/* =============================================
   Über uns (ueber-uns.html, Relaunch Nov. 2026)
   Einstieg aus subpage.css, Aufbau-Effekt aus works.css,
   Anfrage/FAQ/Footer aus closing.css. Logik: js/about.js.
   Rhythmus: hell (Einstieg, Video, Manifest, Kacheln) → dunkel
   (Warum AVIO) → hell (Team, Kundenstimmen) → dunkel (Abschluss).
============================================= */

.avideo,
.amani,
.afacts,
.awhy,
.ateam,
.avoice {
  --media-max-h: 82vh;
  --media-radius: var(--radius-lg);
}

@media (max-width: 760px) {
  .avideo,
  .awhy,
  .ateam {
    --media-radius: var(--radius-md);
  }
}

/* Gemeinsame Kopfzeilen der Abschnitte */
.awhy__title,
.ateam__title,
.avoice__title {
  margin: 0;
  font-size: var(--sh-size);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.awhy__lead,
.ateam__lead {
  max-width: 34em;
  margin: clamp(1.1rem, 2vw, 1.6rem) 0 0;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.6;
}

/* ---------------------------------------------
   01 Einstieg
--------------------------------------------- */
.ahero {
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

/* Breiter, damit der Einleitungstext auf großen Displays in drei Zeilen steht */
.ahero .phero__lead {
  max-width: 50em;
}

/* „Ü“: Maske nach oben öffnen, damit die Punkte nicht angeschnitten werden */
.ahero .phero__title {
  padding-top: 0.14em;
  margin-top: calc(clamp(1.75rem, 4.5vw, 4rem) - 0.14em);
}

/* ---------------------------------------------
   02 Unternehmensvideo
--------------------------------------------- */
.avideo {
  background: var(--c-off-white);
  color: var(--c-black);
  padding-bottom: clamp(4rem, 9vw, 8rem);
  overflow: hidden;
}

/* Gleiche Maße wie das Unternehmensvideo der Startseite (.intro-video) */
.avideo__media {
  width: var(--media-w);
  margin: 0 auto;
}

.avideo__frame {
  position: relative;
  overflow: hidden;
  height: min(var(--media-w) * 9 / 16, var(--media-max-h));
  border-radius: var(--media-radius);
  background: #151517;
}

@media (max-width: 760px) {
  .avideo__frame {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

.avideo__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.avideo__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  width: var(--media-w);
  margin: clamp(1.25rem, 2vw, 1.75rem) auto 0;
  padding-top: clamp(1rem, 1.6vw, 1.4rem);
  border-top: 1px solid rgba(10, 10, 11, 0.14);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 500;
}

.avideo__caption p {
  margin: 0;
}

.avideo__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--c-black);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease);
}

.avideo__link svg {
  transition: transform 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .avideo__link:hover {
    background-size: 100% 1px;
  }
  .avideo__link:hover svg {
    transform: translate3d(0, 2px, 0);
  }
}

/* ---------------------------------------------
   03 + 04 Manifest und Kacheln
   Desktop: Manifest steht (sticky), die Kacheln schieben sich darüber.
--------------------------------------------- */
.astage {
  position: relative;
  background: var(--c-off-white);
  color: var(--c-black);
}

.amani__inner,
.afacts__inner {
  width: var(--media-w);
  margin-inline: auto;
}

.amani {
  padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.amani__eyebrow {
  color: var(--c-gray-600);
}

/* Volle Breite wie ein Editorial-Statement; Wörter „lesen sich vor“
   (Word-Reveal aus main.js, gleiche Farblogik wie auf der Startseite) */
.amani__text {
  max-width: none;
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 7.6rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--c-black);
}

.amani .word-reveal {
  display: inline;
  color: rgba(10, 10, 11, 0.13);
  transition: color 0.38s ease;
}

.amani .word-reveal.is-lit {
  color: rgba(10, 10, 11, 0.62);
}

.amani .word-reveal--key.is-lit {
  color: var(--c-black);
}

.afacts {
  position: relative;
  z-index: 2;
  background: var(--c-off-white);
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.afacts__inner {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(10, 10, 11, 0.85);
}

.afacts__intro {
  max-width: 34em;
  margin: 0 0 clamp(2.25rem, 4vw, 3.5rem);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--c-gray-600);
}

/* Haltephase begrenzt: Das Manifest steht nur über die Strecke des
   Platzhalters (--hold) still; so weit schieben sich die Kacheln darüber,
   danach laufen beide gemeinsam weiter (Text bleibt nie halb allein stehen). */
.amani-hold__space {
  display: none;
}

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .astage {
    --hold: clamp(14rem, 34vh, 20rem);
  }

  .amani {
    position: sticky;
    top: clamp(6rem, 14vh, 9rem);
  }

  .amani-hold__space {
    display: block;
    height: var(--hold);
  }

  .afacts {
    margin-top: calc(var(--hold) * -1);
  }
}

.afacts__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
}

.afact {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 1.9rem);
  border-radius: var(--radius-md);
  background: rgba(10, 10, 11, 0.045);
}

.afact__title {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.afact__tags,
.atags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  padding: 0;
}

.afact__tags li,
.atags li {
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(10, 10, 11, 0.18);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
}

.afact__value {
  margin: clamp(2.5rem, 6vw, 5rem) 0 0;
  padding-top: clamp(1rem, 1.6vw, 1.4rem);
  border-top: 1px solid rgba(10, 10, 11, 0.16);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--c-black);
}

.afact__text {
  margin: clamp(1rem, 1.6vw, 1.4rem) 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c-gray-700);
}

@media (max-width: 899px) {
  .afacts__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .afact__value {
    margin-top: 2rem;
  }
}

/* ---------------------------------------------
   05 Warum AVIO (dunkel)
--------------------------------------------- */
.awhy {
  position: relative;
  background: var(--c-black);
  color: var(--c-white);
  padding: clamp(5.5rem, 11vw, 10rem) 0 calc(clamp(5rem, 10vw, 9rem) + clamp(24px, 3vw, 44px));
}

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

/* Kopf wie „Das ist AVIO.“ auf der Startseite: große Überschrift links,
   Text rechts, unten bündig */
.awhy__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-md) clamp(2rem, 6vw, 7rem);
  align-items: end;
}

.awhy__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--c-gray-500);
}

.awhy .awhy__title {
  font-size: var(--home-h2-size);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--c-white);
}

.awhy .awhy__lead {
  max-width: 36em;
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.4rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 900px) {
  .awhy__head {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .awhy .awhy__title {
    line-height: 1.04;
  }
}

.awhy__list {
  list-style: none;
  margin: clamp(3.5rem, 7vw, 6rem) 0 0;
  padding: 0;
}

/* Zeile: große Nummer | Aussage | zwei gleich große Belege (Pills).
   Alle Zeilen haben denselben Aufbau, dadurch gleiche Höhe. */
.awhy__row {
  --line-p: 0;
  position: relative;
  display: grid;
  grid-template-columns: clamp(7rem, 15vw, 15rem) minmax(0, 1.1fr) minmax(0, 0.9fr);
  column-gap: clamp(1.25rem, 3vw, 3.5rem);
  align-items: center;
  min-height: clamp(15rem, 22vw, 19rem);
  padding: clamp(2rem, 3.5vw, 3rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.awhy__row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.awhy__row::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--avio-green);
  transform: scaleX(var(--line-p));
  transform-origin: left center;
  pointer-events: none;
}

/* Große Nummer: gleitet beim Hereinscrollen von links ins Bild */
.awhy__num {
  font-size: clamp(4rem, 9vw, 9.5rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.16);
  transform: translate3d(-18%, 0, 0);
  opacity: 0;
  transition: transform 1s var(--ease), opacity 0.8s var(--ease), color 0.45s var(--ease);
}

.awhy__row.is-in .awhy__num {
  transform: none;
  opacity: 1;
}

.awhy__copy,
.awhy__pills {
  transition: transform 0.55s var(--ease);
}

.awhy__name {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.45s var(--ease);
}

.awhy__text {
  max-width: 32em;
  margin: clamp(0.9rem, 1.4vw, 1.2rem) 0 0;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}

/* Belege: immer zwei gleich hohe Pills */
.awhy__pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.apill {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 76px;
  padding: 0 1.25rem 0 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: var(--c-white);
  text-decoration: none;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}

.apill img,
.apill__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.apill img {
  object-fit: cover;
  object-position: 30% 25%;
}

.apill__icon {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.apill__icon svg {
  width: 22px;
  height: 22px;
}

.apill__txt {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  line-height: 1.25;
}

.apill__txt strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.02rem;
  font-weight: 600;
}

.apill__txt > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.apill__arrow {
  flex-shrink: 0;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

a.apill:focus-visible {
  outline: 2px solid var(--c-focus-ring);
  outline-offset: 3px;
}

/* Hover wie die FAQ, nur etwas deutlicher: Zeile hebt sich,
   Nummer und Überschrift werden hell */
@media (hover: hover) and (pointer: fine) {
  .awhy__row:hover .awhy__copy,
  .awhy__row:hover .awhy__pills {
    transform: translate3d(0, -10px, 0);
  }

  .awhy__row:hover .awhy__num {
    color: var(--c-white);
  }

  .awhy__row:hover .awhy__name {
    color: var(--c-white);
  }

  a.apill:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
  }

  a.apill:hover .apill__arrow {
    color: var(--c-white);
    transform: translate3d(2px, -2px, 0);
  }
}

@media (max-width: 1100px) {
  .awhy__row {
    grid-template-columns: clamp(5rem, 11vw, 8rem) minmax(0, 1fr);
    row-gap: 1.5rem;
  }

  .awhy__pills {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .awhy__row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.1rem;
    min-height: 0;
  }

  .awhy__num {
    font-size: 3.6rem;
  }

  .awhy__pills {
    grid-column: 1;
  }

  .apill {
    height: 68px;
  }

  .apill img,
  .apill__icon {
    width: 48px;
    height: 48px;
  }
}

/* ---------------------------------------------
   06 Team: helle Fläche mit runder Oberkante gleitet über den dunklen Bereich
--------------------------------------------- */
.ateam {
  position: relative;
  z-index: 2;
  margin-top: calc(clamp(24px, 3vw, 44px) * -1);
  border-top-left-radius: clamp(24px, 3vw, 44px);
  border-top-right-radius: clamp(24px, 3vw, 44px);
  background: var(--c-off-white);
  color: var(--c-black);
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}

.ateam__inner,
.avoice__inner {
  width: var(--media-w);
  margin-inline: auto;
}

.ateam__eyebrow,
.avoice__eyebrow {
  color: var(--c-gray-600);
}

.ateam__lead {
  color: var(--c-gray-600);
}

.ateam__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.amember {
  display: grid;
  align-content: start;
  min-width: 0;
}

.amember__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 88vh;
  border: 0;
  border-radius: var(--media-radius);
  background: #e6e6e4;
  cursor: pointer;
}

.amember__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1s var(--ease);
}

.amember__play {
  position: absolute;
  left: clamp(0.9rem, 1.6vw, 1.5rem);
  bottom: clamp(0.9rem, 1.6vw, 1.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem 0.7rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 11, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--c-white);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.35s var(--ease);
}

.amember__play svg {
  display: grid;
  width: 26px;
  height: 26px;
  padding: 7px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-black);
  box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
  .amember__media:hover img {
    transform: scale(1.03);
  }
  .amember__media:hover .amember__play {
    background: var(--avio-green);
  }
}

.amember__media:focus-visible {
  outline: 2px solid var(--c-black);
  outline-offset: 4px;
}

.amember__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-top: clamp(1rem, 1.6vw, 1.4rem);
}

.amember__name {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.amember__role {
  margin: 0;
  font-size: 0.95rem;
  color: var(--c-gray-600);
}

.amember__text {
  max-width: 36em;
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-gray-700);
}

.amember__link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-black);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .amember__link:hover {
    background-size: 100% 1px;
  }
}

@media (max-width: 640px) {
  .ateam__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }
}

/* ---------------------------------------------
   07 Kundenstimmen
--------------------------------------------- */
.avoice {
  background: var(--c-off-white);
  color: var(--c-black);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(5.5rem, 11vw, 10rem);
}

.avoice__inner {
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(10, 10, 11, 0.14);
}

.avoice__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.avoice__tab {
  min-height: 44px;
  padding: 0 1.2rem;
  border: 1px solid rgba(10, 10, 11, 0.18);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--c-black);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .avoice__tab:hover {
    border-color: var(--c-black);
  }
}

.avoice__tab[aria-pressed="true"] {
  background: var(--c-black);
  border-color: var(--c-black);
  color: var(--c-white);
}

.avoice__tab:focus-visible,
.avoice__link:focus-visible,
.amember__link:focus-visible {
  outline: 2px solid var(--c-focus-ring);
  outline-offset: 3px;
}

.avoice__stage {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.avoice__item {
  margin: 0;
}

.avoice__item[hidden] {
  display: none;
}

.avoice__item.is-active {
  animation: avoice-in 0.6s var(--ease);
}

@keyframes avoice-in {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: none; }
}

.avoice__item blockquote {
  margin: 0;
}

.avoice__item blockquote p {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 3.3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--c-black);
}

.avoice__item figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(10, 10, 11, 0.12);
}

.avoice__person {
  display: grid;
  gap: 0.2rem;
}

.avoice__person strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.avoice__person span {
  font-size: 0.92rem;
  color: var(--c-gray-600);
}

.avoice__stars {
  font-size: 0.9rem;
  color: var(--c-gray-600);
}

.avoice__stars > span:first-child {
  margin-right: 0.35rem;
  letter-spacing: 0.12em;
  color: var(--avio-green-text);
}

.avoice__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-black);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .avoice__link:hover {
    background-size: 100% 1px;
  }
}

@media (max-width: 560px) {
  .avoice__link {
    margin-left: 0;
  }
}

/* ---------------------------------------------
   Vorstellungsvideo (natives <dialog>)
--------------------------------------------- */
html.avdlg-open {
  overflow: hidden;
}

.avdlg {
  width: min(1200px, calc(100vw - 2.5rem));
  max-width: none;
  max-height: calc(100dvh - 2.5rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: #000;
  overflow: hidden;
}

.avdlg[open] {
  animation: avdlg-in 0.45s var(--ease);
}

.avdlg::backdrop {
  background: rgba(10, 10, 11, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@keyframes avdlg-in {
  from { opacity: 0; transform: translate3d(0, 20px, 0) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.avdlg__video {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 2.5rem);
  aspect-ratio: 16 / 9;
  background: #000;
}

.avdlg__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-black);
  cursor: pointer;
}

.avdlg__close:focus-visible {
  outline: 2px solid var(--c-focus-ring);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .avoice__item.is-active,
  .avdlg[open] {
    animation: none;
  }

  .awhy__row {
    --line-p: 1;
  }

  .awhy__num {
    transform: none;
    opacity: 1;
    transition: none;
  }

  .awhy__copy,
  .awhy__pills,
  .awhy__name {
    transition: none;
  }

  .amani .word-reveal {
    color: rgba(10, 10, 11, 0.62);
    transition: none;
  }

  .amani .word-reveal--key {
    color: var(--c-black);
  }

  .avideo__link,
  .avideo__link svg,
  .aproject__img img,
  .amember__media img,
  .amember__play,
  .avoice__tab {
    transition: none;
  }
}

.avideo__link:focus-visible {
  outline: 2px solid var(--c-focus-ring);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}


/* ---------------------------------------------
   Team- und Kundenstimmen-Kopf groß wie die übrigen Überschriften
--------------------------------------------- */
/* Überschrift über die volle Breite, Satz darunter rechts */
.ateam__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem) clamp(2rem, 6vw, 7rem);
}

.ateam .ateam__title {
  grid-column: 1 / -1;
}

.ateam .ateam__lead {
  grid-column: 2;
}

.ateam__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.ateam .ateam__title,
.avoice .avoice__title {
  font-size: var(--home-h2-size);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.ateam .ateam__lead {
  max-width: 36em;
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.4rem);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .ateam__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .ateam .ateam__lead {
    grid-column: 1;
  }
}

/* Kundenstimme: volle Breite, liest sich beim Scrollen vor */
.avoice .avoice__item blockquote p.avoice__quote {
  max-width: none;
  font-size: clamp(1.7rem, 4vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.avoice .word-reveal {
  display: inline;
  color: rgba(10, 10, 11, 0.13);
  transition: color 0.38s ease;
}

.avoice .word-reveal.is-lit {
  color: var(--c-black);
}

/* Name links, Google-Bewertung mittig, Projektlink rechts */
.avoice .avoice__item figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 2rem;
}

.avoice__stars {
  justify-self: center;
  text-align: center;
}

.avoice .avoice__link {
  justify-self: end;
  margin-left: 0;
}

@media (max-width: 700px) {
  .avoice .avoice__item figcaption {
    grid-template-columns: minmax(0, 1fr);
  }

  .avoice__stars,
  .avoice .avoice__link {
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .avoice .word-reveal {
    color: var(--c-black);
    transition: none;
  }
}


/* =============================================
   Ab „Warum AVIO.“ durchgehend dunkel: Team und Kundenstimmen
============================================= */
.awhy {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.ateam {
  margin-top: 0;
  border-radius: 0;
  background: var(--c-black);
  color: var(--c-white);
  padding-top: clamp(3rem, 6vw, 5rem);
}

/* Keine zweite Linie: die letzte Zeile von „Warum AVIO.“ trennt bereits */
.ateam__inner {
  padding-top: 0;
  border-top: 0;
}

.ateam .ateam__eyebrow,
.avoice .avoice__eyebrow {
  color: var(--c-gray-500);
}

.ateam .ateam__title,
.avoice .avoice__title,
.amember__name {
  color: var(--c-white);
}

.ateam .ateam__lead,
.amember__role {
  color: rgba(255, 255, 255, 0.6);
}

.amember__text {
  color: rgba(255, 255, 255, 0.62);
}

.amember__media {
  background: #1c1c1f;
}

.amember__media:focus-visible {
  outline-color: var(--c-white);
}

.amember__link {
  color: var(--c-white);
}

.avoice {
  background: var(--c-black);
  color: var(--c-white);
}

.avoice__inner {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.avoice__tab {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--c-white);
}

@media (hover: hover) and (pointer: fine) {
  .avoice__tab:hover {
    border-color: var(--c-white);
  }
}

.avoice__tab[aria-pressed="true"] {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-black);
}

.avoice .word-reveal {
  color: rgba(255, 255, 255, 0.12);
}

.avoice .word-reveal.is-lit {
  color: var(--c-white);
}

.avoice .avoice__item figcaption {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.avoice__person strong {
  color: var(--c-white);
}

.avoice__person span,
.avoice__stars {
  color: rgba(255, 255, 255, 0.6);
}

.avoice__stars > span:first-child {
  color: var(--avio-green);
}

.avoice .avoice__link {
  color: var(--c-white);
}

/* Übergang zur Projektanfrage (ebenfalls dunkel) mit feiner Linie */
.avoice + .ask {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .avoice .word-reveal {
    color: var(--c-white);
  }
}
