/* =========================================================
   FEIERSTUNDE – HOME-SEITE (alle Sections der Startseite)
   Neue Sections fuegen wir ueber der Zeile === ENDE HOME === ein.
   ========================================================= */

/* =========================================================
   HERO – Wortmarke (Logo-SVG) + Foto-Ticker
   ========================================================= */
.hero {
  padding-block: 30px 70px;
  text-align: center;
  overflow: hidden;
}

.hero__wordmark {
  line-height: 0;
}

.hero__wordmark img {
  width: 100%;
  height: auto;
  display: block;
}

/* Ticker: zwei Reihen, gegenlaeufig */
.hero__ticker {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__row {
  overflow: hidden;
}

.hero__track {
  display: flex;
  gap: 12px;
  width: max-content;
}

.hero__row--left .hero__track {
  animation: hero-ticker-left 55s linear infinite;
}

.hero__row--right .hero__track {
  animation: hero-ticker-right 55s linear infinite;
}

.hero__item {
  width: 210px;
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  background-color: var(--grey-500);
  border-radius: 14px;
  overflow: hidden;
}

/* Bogen oben */
.hero__item--arch {
  border-radius: 105px 105px 14px 14px;
}

.hero__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content ist per JS verdoppelt -> -50% ergibt eine nahtlose Schleife */
@keyframes hero-ticker-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

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

@media (max-width: 640px) {
  .hero__item {
    width: 140px;
  }
  .hero__item--arch {
    border-radius: 70px 70px 10px 10px;
  }
}

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

/* =========================================================
   ZITAT
   ========================================================= */
.quote {
  padding-block: 120px;
  text-align: center;
}

.quote__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
  font-size: 68px;
  max-width: 900px;
  margin-inline: auto;
}

.quote__author {
  margin-top: 28px;
  font-size: 13px;
  color: var(--grey-100);
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .quote {
    padding-block: 90px;
  }
  .quote__text {
    font-size: 54px;
  }
}

@media (max-width: 640px) {
  .quote {
    padding-block: 64px;
  }
  .quote__text {
    font-size: 34px;
  }
}
/* =========================================================
   PROJEKTE
   ========================================================= */
.projects {
  padding-block: 40px 100px;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 340px;
  gap: 16px;
}

.projects__item {
  display: block;
  background-color: var(--grey-500);
  border-radius: 16px;
  overflow: hidden;
}

.projects__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* asymmetrische Anordnung wie im Original */
.projects__item:nth-child(1) { grid-column: span 5; }
.projects__item:nth-child(2) { grid-column: span 7; }
.projects__item:nth-child(3) { grid-column: span 7; }
.projects__item:nth-child(4) { grid-column: span 5; }

.projects__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

/* Kundenlogos – durchlaufender Ticker */
.clients {
  margin-top: 56px;
  overflow: hidden;
}

.clients__track {
  display: flex;
  align-items: center;
  gap: 90px;
  width: max-content;
  animation: clients-ticker 45s linear infinite;
}

.clients__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 40px;
  color: var(--grey-100);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.clients__item img {
  max-height: 100%;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

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

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

/* =========================================================
   LEISTUNGEN
   ========================================================= */
.services {
  padding-block: 60px 100px;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.services__cell {
  background-color: var(--grey-500);
  border-radius: 12px;
  padding: 34px 40px;
}

.services__title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.services__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.25em;
}

.services__text {
  margin-top: 16px;
  color: var(--grey-100);
  font-size: 15px;
  line-height: 1.55;
  max-width: 44ch;
}

.services__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  .services__cell {
    padding: 28px 24px;
  }
}

/* =========================================================
   FAQ – Fragen & Antworten
   ========================================================= */
.faq {
  padding-block: 40px 100px;
}

.faq__list {
  max-width: 760px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--grey-op-30);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  text-align: left;
  font-size: 16px;
  color: var(--white);
}

.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background-color: var(--white);
}

.faq__icon::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq__icon::after {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq__item.is-open .faq__icon::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq__answer-inner {
  padding: 0 4px 24px;
  color: var(--grey-100);
  font-size: 15px;
  line-height: 1.6;
  max-width: 62ch;
}

.faq__item.is-open .faq__answer {
  max-height: 320px;
}

/* =========================================================
   TESTIMONIAL – rotes Band (volle Breite)
   ========================================================= */
.testimonial-band {
  background-color: var(--red);
  padding-block: 84px;
  text-align: center;
}

.testimonial-band__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.45;
  color: var(--white);
  max-width: 640px;
  margin-inline: auto;
}

.testimonial-band__name {
  margin-top: 30px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial-band__role {
  margin-top: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(248, 247, 246, 0.7);
}

@media (max-width: 640px) {
  .testimonial-band {
    padding-block: 60px;
  }
  .testimonial-band__quote {
    font-size: 21px;
  }
}

/* =========================================================
   TESTIMONIALS – Grid (zwei Stimmen)
   ========================================================= */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--grey-op-30);
  border-left: 1px solid var(--grey-op-30);
}

.testimonials__cell {
  border-right: 1px solid var(--grey-op-30);
  border-bottom: 1px solid var(--grey-op-30);
  padding: 70px 56px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.testimonials__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: var(--white);
  max-width: 34ch;
  margin-inline: auto;
}

.testimonials__name {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================================
   CTA – "Unser Name ist Programm!"
   ========================================================= */
.cta {
  padding-block: 70px 90px;
  text-align: center;
}

.cta__photo {
  width: 130px;
  height: 130px;
  margin-inline: auto;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--grey-500);
}

.cta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__title {
  margin-top: 32px;
  font-size: 30px;
  font-weight: 600;
}

.cta__text {
  margin-top: 14px;
  color: var(--grey-100);
  font-size: 15px;
  line-height: 1.5;
  max-width: 320px;
  margin-inline: auto;
}

.cta__btn {
  margin-top: 32px;
}

@media (max-width: 768px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  .testimonials__cell {
    padding: 50px 28px;
    min-height: 0;
  }
  .cta__title {
    font-size: 25px;
  }
}

/* === ENDE HOME === */