/* Секции: клиенты, обо мне, бегущая строка, проблема, что я делаю, процесс */
/* vertical sections base */
.vs { padding: 140px 52px; border-bottom: 1px solid var(--line); }

/* ─ Clients section ─ */
.clients-sec { background: var(--bg); }
.clients-h { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(4rem, 8vw, 10rem); text-transform: uppercase; letter-spacing: -.02em; line-height: .88; color: var(--ink); margin-bottom: 60px; }
.clients-h em { color: var(--red); font-style: normal; }
.names-inline-v { display: flex; flex-direction: column; position: relative; }
.ni-v {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 6rem); line-height: .92; letter-spacing: -.01em;
  color: rgba(16,15,12,.1); border-bottom: 1px solid var(--line); padding: 14px 0;
  transition: color .22s, padding-left .3s; cursor: pointer;
  text-decoration: none; position: relative;
}
.ni-v:first-child { border-top: 1px solid var(--line); }
.ni-v:hover { color: var(--ink); padding-left: 16px; }
/* строка-подпись: отрасль и объём, стрелка появляется при наведении */
.ni-meta {
  flex-shrink: 0; display: flex; align-items: center; gap: 12px;
  font-family: 'Barlow', sans-serif; font-weight: 600; font-size: .66rem; line-height: 1;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  opacity: .55; transition: opacity .25s;
}
.ni-arr { display: inline-block; rotate: -45deg; font-style: normal; color: var(--red); font-size: 1rem; opacity: 0; transform: translate(-6px, 6px); transition: opacity .25s, transform .3s; }
.ni-v:hover .ni-meta { opacity: 1; }
.ni-v:hover .ni-arr { opacity: 1; transform: none; }
/* превью сайта: едет за курсором с инерцией и лёгким наклоном, раскрывается шторкой */
.client-img-hover {
  position: fixed; left: 0; top: 0; width: 380px; aspect-ratio: 16 / 10; height: auto;
  pointer-events: none; z-index: 500;
  object-fit: cover; object-position: top;
  clip-path: inset(0 0 100% 0); opacity: 0;
  transition: clip-path .45s cubic-bezier(.7,0,.2,1), opacity .2s;
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
  border: 1px solid rgba(16,15,12,.08); background: var(--bg2);
  will-change: transform;
}
.client-img-hover.show { clip-path: inset(0 0 0 0); opacity: 1; }
@media (hover: none) { .client-img-hover { display: none; } }

/* ─ About ─ */
.about-sec { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; margin-top: 8px; }
.about-img { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); display: block; }
.about-h { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.8rem); text-transform: uppercase; letter-spacing: -.02em; line-height: .96; margin-bottom: 32px; color: var(--ink); }
.about-h em { color: var(--red); font-style: normal; }
.about-p { font-size: 1rem; color: var(--muted); line-height: 1.85; max-width: 560px; margin-bottom: 20px; }
.about-facts { display: flex; gap: 52px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.af-n { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.6rem; color: var(--red); line-height: 1; margin-bottom: 8px; }
.af-l { font-size: .65rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ─ Marquee ─ */
.mq { background: var(--ink); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.mqt { display: inline-flex; animation: mq 14s linear infinite; }
.mqi { display: inline-flex; align-items: center; gap: 22px; padding: 0 26px; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.08rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.md { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─ Problem section ─ */
.prh { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(11vw,14vw,15vw); text-transform: uppercase; letter-spacing: -.03em; line-height: .85; margin-bottom: 80px; }
.pr { color: var(--red); } .pi { color: var(--ink); } .pg-c { color: rgba(16,15,12,.12); }

.what-sec { padding: 140px 52px; border-bottom: 1px solid var(--line); }
.what-h { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(4rem, 7vw, 8rem); text-transform: uppercase; letter-spacing: -.02em; line-height: .88; }
.what-h em { color: var(--red); font-style: normal; }

/* Buttons (z. B. Kontakt) */
.btnd { display: inline-flex; align-items: center; gap: 13px; background: var(--ink); color: var(--bg); padding: 16px 38px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: all .3s; width: fit-content; }
.btnd:hover { background: var(--red); }
.arr { display: inline-block; transition: transform .3s; }
.btnd:hover .arr { transform: translateX(6px); }

/* ─ Process ─ */
.proc-sec { background: var(--bg2); }
.proc-h { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(2.5rem, 5vw, 5rem); text-transform: uppercase; letter-spacing: -.02em; line-height: .9; margin-bottom: 60px; }
.proc-h em { color: var(--red); font-style: normal; }
.proc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); }
.proc-step { background: var(--bg2); padding: 32px 24px; transition: background .3s; }
.proc-step:hover { background: var(--bg); }
.proc-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.6rem; color: var(--red); opacity: .16; line-height: 1; margin-bottom: 16px; }
.proc-step h3 { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.proc-step p { font-size: .82rem; color: var(--muted); line-height: 1.65; }

/* ─ About: freigestelltes Foto auf Markenfläche ─ */
.about-img--cut { position: relative; background: var(--bg2); }
.about-img--cut { container-type: inline-size; }
.about-img__word {
  position: absolute; left: 0; right: 0; top: 3%; text-align: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 31cqw; line-height: .9;
  text-transform: uppercase; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(16,15,12,.18);
  white-space: nowrap; pointer-events: none;
}
.about-img__block { position: absolute; left: 14%; right: 14%; bottom: 0; height: 58%; background: var(--red); transition: height .6s cubic-bezier(.2,.8,.2,1); }
.about-img--cut img {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: auto; height: 94%; max-width: none;
  object-fit: contain; filter: grayscale(100%) contrast(1.08); transition: filter .5s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.about-img--cut:hover img { filter: grayscale(0%) contrast(1.02); transform: translateX(-50%) scale(1.02); }
.about-img--cut:hover .about-img__block { height: 64%; }
@media (hover: none) { .about-img--cut img { filter: grayscale(30%) contrast(1.05); } }

/* ─ 07 Problem → Lösung (js/sections.js) ─ */
.prob-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.prob-head { position: sticky; top: 110px; }
.prob-head .prh { font-size: clamp(3.6rem, 7.5vw, 8.5rem); margin-bottom: 28px; }
.prob-hint { font-size: .85rem; color: var(--muted); max-width: 320px; line-height: 1.6; }
.prob-row { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 30px 0; border-top: 1px solid var(--line); cursor: default; }
.prob-row:last-child { border-bottom: 1px solid var(--line); }
.prob-n { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--red); opacity: .25; transition: opacity .3s; }
.prob-row h3 {
  position: relative; display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem); text-transform: uppercase; letter-spacing: -.01em; line-height: 1; color: var(--ink); margin-bottom: 10px;
  transition: color .35s;
}
.prob-row h3::after { content: ''; position: absolute; left: -2%; top: 52%; height: 4px; width: 0; background: var(--red); transition: width .45s cubic-bezier(.7,0,.2,1); }
.prob-p { font-size: .92rem; color: var(--muted); line-height: 1.7; max-width: 520px; }
.prob-s { max-height: 0; opacity: 0; transition: max-height .45s ease, opacity .35s ease, margin .45s ease; margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink); max-width: 520px; overflow: hidden; }
.prob-s b { display: block; font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.prob-row.is-on .prob-n { opacity: 1; }
.prob-row.is-on h3 { color: rgba(16,15,12,.35); }
.prob-row.is-on h3::after { width: 104%; }
.prob-row.is-on .prob-s { max-height: 160px; opacity: 1; margin-top: 14px; }

/* ─ 08 Leistungen: Liste + Bild (js/sections.js) ─ */
.svc { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; margin-top: 60px; align-items: start; }
.svc-row { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); cursor: default; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-n { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.6rem; line-height: 1.2; color: var(--red); opacity: .25; transition: opacity .3s; }
.svc-row h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(1.6rem, 2.8vw, 2.8rem); text-transform: uppercase; letter-spacing: -.01em; line-height: 1; color: rgba(16,15,12,.28); transition: color .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.svc-row p { max-height: 0; opacity: 0; overflow: hidden; font-size: .95rem; line-height: 1.65; color: var(--muted); max-width: 520px; transition: max-height .45s ease, opacity .35s ease, margin .45s ease; }
.svc-row.is-on .svc-n { opacity: 1; }
.svc-row.is-on h3 { color: var(--ink); transform: translateX(8px); }
.svc-row.is-on p { max-height: 120px; opacity: 1; margin-top: 10px; }
.svc-view { position: sticky; top: 110px; aspect-ratio: 36 / 25; border-radius: 14px; background: var(--bg2); display: grid; place-items: center; padding: 28px; }
.svc-view img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 30px 70px rgba(16,15,12,.25); transform: rotate(-2deg); transition: opacity .22s ease, transform .5s cubic-bezier(.2,1.3,.4,1); }
.svc-view img.swap { opacity: 0; transform: rotate(2deg) scale(.94); }
