/* ==========================================================================
   PEJANO – Startseite (index.html)
   index.css – Alle Sektionen der Startseite
   Max-Width: 1440px | Kein seitliches Padding
   ========================================================================== */

/* ==========================================================================
   01 · HERO – Cinematic Fullscreen (hero-home-a)
   ========================================================================== */

.hero-home-a {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--black);
  position: relative; padding: 0 0 80px; overflow: hidden;
}

.hero-home-a__bg {
  position: absolute; inset: 0;
  animation: scaleIn 8s ease-out forwards;
}

.hero-home-a__bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.4;
}

.hero-home-a__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0) 25%, rgba(10,10,10,0.4) 55%, rgba(10,10,10,0.97) 100%),
    linear-gradient(135deg, rgba(246,179,68,0.05) 0%, transparent 50%);
}

.hero-home-a__content {
  position: relative; z-index: 1;
  max-width: 1440px; margin: 0 auto; width: 100%;
  padding-inline: var(--container-padding);
}

.hero-home-a__headline {
  font-size: clamp(56px, 8vw, 100px); font-weight: 800;
  letter-spacing: -4px; line-height: 0.88;
  color: var(--white); margin-bottom: 48px;
}

.hero-home-a__headline .line { display: block; overflow: hidden; }
.hero-home-a__headline .line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-expo);
}
.hero-loaded .hero-home-a__headline .line-inner { transform: translateY(0); }
.hero-loaded .hero-home-a__headline .line:nth-child(2) .line-inner { transition-delay: 0.12s; }
.hero-loaded .hero-home-a__headline .line:nth-child(3) .line-inner { transition-delay: 0.24s; }

.hero-home-a__headline em { font-style: normal; color: var(--accent); }
.hero-home-a__headline .sub {
  display: block; font-weight: 600;
  color: rgba(255,255,255,0.45); letter-spacing: 5px;
  font-size: 9px; margin-top: 32px; text-transform: uppercase;
}

.hero-home-a__bottom {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 60px;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}
.hero-loaded .hero-home-a__bottom { opacity: 1; transform: translateY(0); }

.hero-home-a__desc {
  font-size: 15px; font-weight: 400; line-height: 1.9;
  color: rgba(255,255,255,0.65); max-width: 420px;
}

.hero-home-a__stats { display: flex; gap: 56px; }
.hero-home-a__stat { text-align: right; }
.hero-home-a__stat-num {
  font-size: 48px; font-weight: 800; color: var(--white);
  line-height: 1; letter-spacing: -2px; font-variant-numeric: tabular-nums;
}
.hero-home-a__stat-label {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-top: 8px; font-weight: 600;
}

.hero-home-a__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-home-a__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(246,179,68,0.5), transparent);
  animation: pulse 2s ease-in-out infinite;
}

/* ==========================================================================
   02 · KUNDENLOGOS
   ========================================================================== */

.logos-bar {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-100);
}

.logos-bar__inner {
  max-width: 1440px; margin: 0 auto;
  padding-inline: var(--container-padding);
}

.logos-bar__label {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gray-300); font-weight: 600;
  text-align: center; margin-bottom: 36px;
}

.logos-bar__track {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}

.logos-bar__item {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center;
  min-width: 100px; padding: 8px 16px;
}

.logos-bar__item img {
  width: 100px; height: 40px; object-fit: contain;
  filter: grayscale(100%); opacity: 0.35;
  transition: opacity 0.3s, filter 0.3s;
}
.logos-bar__item:hover img { opacity: 0.7; filter: grayscale(0%); }

/* ==========================================================================
   03 · MARQUEE (marquee-c)
   ========================================================================== */

.marquee-c {
  background: var(--white);
  padding: 32px 0; overflow: hidden;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.marquee-c__track {
  display: flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-c__item {
  display: flex; align-items: center; gap: 60px; padding: 0 60px;
  font-size: 42px; font-weight: 200; letter-spacing: -1px;
  color: var(--gray-200);
}
.marquee-c__item strong { font-weight: 700; color: var(--gray-400); }
.marquee-c__item .sep { color: var(--accent); font-weight: 300; }

/* ==========================================================================
   04 · ÜBER UNS – Visual + Text (about-a)
   ========================================================================== */

.about-a {
  padding: clamp(80px, 10vw, 140px) 0;
}

.about-a__inner {
  max-width: 1440px; margin: 0 auto;
  padding-inline: var(--container-padding);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.about-a__image { overflow: hidden; }
.about-a__image img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}

.about-a__title {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 24px;
}

.about-a__desc {
  font-size: 15px; font-weight: 400; line-height: 2;
  color: var(--gray-500); margin-bottom: 32px; max-width: 480px;
}

.about-a__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 40px;
}

.about-a__feature {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 400; color: var(--gray-600);
}

.about-a__feature-bar {
  width: 20px; height: 2px; background: var(--accent); flex-shrink: 0;
}

/* ==========================================================================
   05 · LEISTUNGEN – Horizontal Scroll (services-c)
   ========================================================================== */

.services-c {
  background: var(--white);
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}

.services-c__inner {
  max-width: 1440px; margin: 0 auto;
  padding-inline: var(--container-padding);
}

.services-c__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 56px;
}

.services-c__title {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -1px;
}

.services-c__scroll-hint {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gray-300); font-weight: 600;
}
.services-c__scroll-hint::after { content: ' →'; }

.services-c__track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 20px;
}
.services-c__track::-webkit-scrollbar { display: none; }

.services-c__card {
  flex: 0 0 340px; width: 340px;
  background: var(--white); padding: 0 0 36px;
  scroll-snap-align: start;
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s;
  cursor: pointer;
}
.services-c__card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

.services-c__card-img { height: 220px; overflow: hidden; margin-bottom: 24px; }
.services-c__card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-expo);
}
.services-c__card:hover .services-c__card-img img { transform: scale(1.06); }

.services-c__card-num {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gray-300); padding: 0 28px; margin-bottom: 10px; font-weight: 600;
}
.services-c__card-title { font-size: 20px; font-weight: 700; padding: 0 28px; margin-bottom: 12px; }
.services-c__card-desc { font-size: 15px; font-weight: 400; line-height: 1.85; color: var(--gray-500); padding: 0 28px; }

/* ==========================================================================
   06 · BILDSTRECKE – Cinematic Visual (imgbreak-a)
   ========================================================================== */

.imgbreak-a {
  position: relative; overflow: hidden;
  height: clamp(50vh, 60vw, 75vh);
  max-width: 1440px; margin: 0 auto;
}

.imgbreak-a__media { position: absolute; inset: 0; }
.imgbreak-a__media img { width: 100%; height: 100%; object-fit: cover; }

.imgbreak-a__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px;
}

.imgbreak-a__caption {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 8px;
}

.imgbreak-a__title {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  color: var(--white); letter-spacing: -0.5px;
}

/* ==========================================================================
   07 · REFERENZEN – Fullscreen Showcase
   ========================================================================== */

.proj-showcase {
  position: relative;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
  background: var(--black);
}

.proj-bg-wrap { position: absolute; inset: 0; z-index: 0; }
.proj-bg {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.proj-bg.is-active { opacity: 1; }
.proj-bg img { width: 100%; height: 100%; object-fit: cover; }

.proj-vignette {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to right,
    rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.78) 20%,
    rgba(10,10,10,0.45) 40%, rgba(10,10,10,0.0) 65%);
  pointer-events: none;
}

.proj-gradient {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.0) 25%,
    rgba(10,10,10,0.0) 55%, rgba(10,10,10,0.75) 80%, rgba(10,10,10,0.95) 100%);
  pointer-events: none;
}

.proj-header {
  position: absolute;
  top: clamp(3rem, 6vw, 5rem);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  padding-inline: var(--container-padding);
  z-index: 3;
}

.proj-content {
  position: absolute;
  bottom: clamp(5rem, 8vw, 7rem);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  padding-inline: var(--container-padding);
  padding-right: 45%;
  z-index: 4;
}

.proj-slide {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
}
.proj-slide.is-active {
  display: flex;
  animation: projSlideIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes projSlideIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.proj-tag {
  font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 4px;
  color: var(--accent);
}

.proj-name {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; color: var(--white);
  line-height: 1.05; letter-spacing: -1px;
}

.proj-desc {
  font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.55);
  max-width: 38ch; line-height: 1.7;
}

.proj-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 15px; font-weight: 600; color: var(--white);
  text-decoration: none; margin-top: 0.5rem;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  transition: color 0.3s, border-color 0.3s;
  width: fit-content;
}
.proj-link:hover { color: var(--accent); border-color: var(--accent); }

/* Next-Project Bar */
.proj-next-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  cursor: pointer;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.proj-next-bar:hover { background: rgba(10,10,10,0.75); }

.proj-next-bar__progress {
  position: absolute; top: 0; left: 0;
  height: 2px; width: 0;
  background: var(--accent);
  animation: projProg 3s linear forwards;
}

.proj-next-bar__inner {
  max-width: 1440px; margin: 0 auto;
  padding: 18px var(--container-padding);
  display: flex; align-items: center; gap: 16px;
}

.proj-next-bar__label {
  font-size: 9px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.proj-next-bar__name {
  font-size: 15px; font-weight: 600;
  color: var(--white);
  transition: color 0.3s;
}
.proj-next-bar:hover .proj-next-bar__name { color: var(--accent); }

.proj-next-bar__arrow {
  font-size: 15px; color: var(--accent);
  margin-left: auto;
  transition: transform 0.3s;
}
.proj-next-bar:hover .proj-next-bar__arrow { transform: translateX(4px); }

@keyframes projProg {
  from { width: 0%; }
  to { width: 100%; }
}

/* ==========================================================================
   08 · ZAHLEN (numbers-c)
   ========================================================================== */

.numbers-c {
  background: var(--cream);
  padding: clamp(80px, 10vw, 120px) 0;
}

.numbers-c__inner {
  max-width: 1440px; margin: 0 auto;
  padding-inline: var(--container-padding);
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center;
}

.numbers-c__title {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  color: var(--black); letter-spacing: -1px; margin-bottom: 12px;
}
.numbers-c__desc { font-size: 15px; font-weight: 400; color: rgba(0,0,0,0.5); line-height: 1.8; }
.numbers-c__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.numbers-c__item { text-align: center; }
.numbers-c__val { font-size: 48px; font-weight: 800; color: var(--black); letter-spacing: -2px; margin-bottom: 6px; }
.numbers-c__label { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: rgba(0,0,0,0.35); font-weight: 600; }

/* ==========================================================================
   09 · STATEMENT (statement-c)
   ========================================================================== */

.statement-c {
  background: var(--white);
  padding: clamp(80px, 10vw, 120px) 0;
}

.statement-c__inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; gap: 40px; align-items: flex-start;
}

.statement-c__accent { width: 3px; height: 100px; background: var(--accent); margin-top: 8px; flex-shrink: 0; }
.statement-c__text {
  font-size: clamp(22px, 3vw, 28px); font-weight: 300; line-height: 1.6;
  color: var(--gray-400); letter-spacing: -0.3px;
}
.statement-c__text strong { font-weight: 800; color: var(--black); }

/* ==========================================================================
   10 · CTA – Form Split (cta-c)
   ========================================================================== */

.cta-c {
  background: var(--white);
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--gray-100);
}

.cta-c__inner {
  max-width: 1440px; margin: 0 auto;
  padding-inline: var(--container-padding);
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px;
}

.cta-c__title {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  line-height: 1.08; letter-spacing: -1px; margin-bottom: 24px;
}
.cta-c__text { font-size: 15px; font-weight: 400; line-height: 2; color: var(--gray-500); margin-bottom: 40px; }

.cta-c__contact { display: flex; flex-direction: column; gap: 16px; }
.cta-c__contact-item { display: flex; flex-direction: column; gap: 4px; }
.cta-c__contact-label {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gray-300); font-weight: 600;
}
.cta-c__contact-item a { font-size: 16px; color: var(--gray-600); transition: color 0.3s; }
.cta-c__contact-item a:hover { color: var(--accent); }

.cta-c__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.cta-c__field {
  width: 100%; padding: 16px 20px;
  background: var(--white); border: 1px solid var(--gray-100);
  font-family: var(--font); font-size: 13px; color: var(--gray-600);
  outline: none; transition: border-color 0.3s;
}
.cta-c__field:focus { border-color: var(--accent); }
.cta-c__textarea {
  width: 100%; padding: 16px 20px; min-height: 140px; resize: vertical;
  background: var(--white); border: 1px solid var(--gray-100);
  font-family: var(--font); font-size: 13px; color: var(--gray-600);
  outline: none; margin-bottom: 16px; transition: border-color 0.3s;
}
.cta-c__textarea:focus { border-color: var(--accent); }

.cta-c__checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 24px; cursor: pointer;
  font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--gray-500);
}
.cta-c__checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; min-width: 18px;
  border: 1px solid var(--gray-200); background: var(--white);
  cursor: pointer; margin-top: 2px; position: relative;
  transition: all 0.3s;
}
.cta-c__checkbox input[type="checkbox"]:checked {
  background: var(--accent); border-color: var(--accent);
}
.cta-c__checkbox input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 5px; top: 1px;
  width: 6px; height: 10px;
  border: 2px solid var(--black); border-left: none; border-top: none;
  transform: rotate(45deg);
}
.cta-c__checkbox a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   RESPONSIVE – siehe responsive.css (zentral)
   ========================================================================== */
