/* ===================================================================
   Built by Noah – Coaching, komprimierte Fassung
   Ergänzungen zu styles.css. styles.css bleibt unangetastet,
   weil sie von index.html, kickstart.html & Co. mitbenutzt wird.
   =================================================================== */

/* ---------- Hero: zentriert, ohne Kasten, direkt über dem Studio-Foto ---------- */
.hero--video {
  min-height: min(88vh, 820px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px);
}

/* Foto bleibt sichtbar, die Mitte wird nur weich abgedunkelt – kein harter Rand */
.hero--video .hero__bg img { filter: contrast(1.06) saturate(0.94) brightness(0.7); }
.hero--video .hero__overlay {
  background:
    radial-gradient(78% 66% at 50% 46%, rgba(7, 14, 24, 0.9) 0%, rgba(7, 14, 24, 0.72) 38%, rgba(7, 14, 24, 0.32) 68%, transparent 100%),
    linear-gradient(180deg, rgba(7, 14, 24, 0.78) 0%, rgba(7, 14, 24, 0.1) 24%, rgba(7, 14, 24, 0.1) 60%, var(--bg) 100%),
    radial-gradient(closest-side at 50% 32%, rgba(94, 162, 255, 0.18), transparent 74%);
}

.hero--video .hero__inner { grid-template-columns: 1fr; justify-items: center; align-items: center; }

.hero--video .hero__copy {
  width: min(100%, 880px);
  padding: 0;
  text-align: center;
  align-self: center;
}

/* Etwas Tiefe, damit die Schrift auf dem Foto sicher steht */
.hero--video .hero__title { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6); }
.hero--video .hero__sub { text-shadow: 0 1px 18px rgba(0, 0, 0, 0.7); }

/* Inhalt mittig ausrichten */
.hero--video .hero__copy > .eyebrow { justify-content: center; }
.hero--video .hero__sub { margin-inline: auto; max-width: 44em; }
.hero--video .hero__actions { justify-content: center; }

@media (max-width: 640px) {
  /* Platz für den SCROLL-Hinweis darunter */
  .hero--video { padding-bottom: 116px; }
}

/* ---------- Trustbar als durchlaufendes Band ---------- */
.trustbar--marquee { --marquee-dauer: 46s; padding: 4px 0; }
.trustbar--marquee .marquee {
  display: flex; width: max-content;
  animation: marqueeRun var(--marquee-dauer) linear infinite;
}
.trustbar--marquee:hover .marquee { animation-play-state: paused; }
.trustbar--marquee .marquee__track { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }

.trustbar--marquee .trustbar__item {
  display: flex; align-items: baseline; gap: 9px;
  padding: 22px 26px; text-align: left; white-space: nowrap;
}
.trustbar--marquee .trustbar__item + .trustbar__item { border-left: 0; }
.trustbar--marquee .trustbar__item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  opacity: 0.5;
}
.trustbar--marquee .trustbar__item::after { display: none; }
.trustbar--marquee .trustbar__item strong {
  display: inline; font-size: 1.16rem; line-height: 1.2;
}
.trustbar--marquee .trustbar__item span { font-size: 0.92rem; }

/* Ränder weich ausblenden, damit die Punkte nicht abgehackt erscheinen */
.trustbar--marquee {
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

@keyframes marqueeRun {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trustbar--marquee .marquee { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; }
  .trustbar--marquee .marquee__track[aria-hidden="true"] { display: none; }
  .trustbar--marquee .marquee__track { flex-wrap: wrap; justify-content: center; }
}

/* ---------- Komprimierte Blöcke: engere Abstände als der Rest ---------- */
#coaching, #erfolge { padding: clamp(48px, 6vw, 78px) 0; }
#coaching .section__head,
#erfolge .section__head { margin-bottom: clamp(28px, 4vw, 44px); }

/* Vorher/Nachher: kompakter Riegel statt großem Block */
.myway { padding: clamp(20px, 3vw, 30px); margin-bottom: 36px; }
.myway__photos figure { width: clamp(96px, 11vw, 124px); }

/* Kundenergebnis: Bilder im Originalformat, damit die Pose nicht beschnitten wird */
.myway--klient .myway__photos figure { width: clamp(126px, 15vw, 178px); }
.myway--klient .myway__photos img {
  aspect-ratio: 4 / 5; transform: none; object-position: center 30%;
}
.myway--klient .myway__year { font-size: 0.95rem; }
/* Die Bilder sind unten hell – Beschriftung braucht mehr Grund */
.myway--klient .myway__photos figcaption {
  padding: 32px 8px 10px;
  background: linear-gradient(180deg, transparent, rgba(7, 14, 24, 0.55) 45%, rgba(7, 14, 24, 0.94));
}
.myway__text h3 { font-size: 1.2rem; margin-bottom: 6px; }
.myway__text p { font-size: 0.98rem; }
.testimonials__title { font-size: 1.2rem; margin-bottom: 22px; }

/* ---------- Coaching-Karten: sauberes 3x2-Raster statt 3+4 ---------- */
@media (min-width: 941px) {
  .cards--six { grid-template-columns: repeat(3, 1fr); }
  .cards--six .card:nth-child(-n+3),
  .cards--six .card:nth-child(n+4) { grid-column: auto; }
}

/* ---------- Testimonials: Kurzfassung sichtbar, Rest aufklappbar ---------- */
/* Karten wachsen einzeln, statt sich gegenseitig hochzuziehen */
.testimonials { align-items: start; }

.quote__more { margin-top: -4px; }

.quote__more > summary {
  display: inline-flex; align-items: center; gap: 7px;
  width: fit-content; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 0.84rem; font-weight: 600;
  color: var(--accent-2);
  transition: color .2s ease;
}
.quote__more > summary::-webkit-details-marker { display: none; }
.quote__more > summary::after {
  content: ""; width: 8px; height: 8px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s ease;
}
.quote__more[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.quote__more > summary:hover { color: #fff; }
.quote__more > summary:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.quote__more p {
  color: var(--muted); font-size: 0.95rem; line-height: 1.65;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: no-preference) {
  .quote__more[open] p { animation: quoteOpen .32s ease both; }
}
@keyframes quoteOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
