/* Startseite – values measured on the former Wix page (1440px desktop, 390px mobile) */
.hero { position: relative; height: 834px; max-height: 100vh; min-height: 560px; }
.hero-bg { position: absolute; top: -18px; left: 0; right: 0; bottom: 30px; border-radius: 0 0 50px 50px; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: absolute; left: 143px; bottom: 181px; width: 536px; max-width: calc(100% - 40px); }
.hero h1 { color: var(--white); font-size: 57.0972px; line-height: 1; margin-bottom: 21px; }
.hero .btn { width: 361px; max-width: 100%; padding: 0 10px; font-size: 18px; }

.offers { padding: 126px 0 58px; }
.offers-head { display: flex; align-items: center; gap: 34px; position: relative; padding: 24px 0; margin-bottom: 0; }
.offers-head h2 { font-size: 50px; }
.offers-head .btn, .process-head .btn { width: 182px; padding: 0; }
.offers-head .mountain { position: absolute; right: 99px; top: 2px; width: 205px; height: 105px; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 13px; margin: 0 80px 0 51px; }
.offer { position: relative; min-height: 320px; border-radius: 40px; padding: 59px 66px 40px 37px; overflow: hidden; }
.offer:nth-child(odd) { background: var(--grey-light); }
.offer:nth-child(even) { background: var(--blue-light); border-radius: 45.6px; }
.offer h3 { font-size: 36px; line-height: 1.2; margin-bottom: 5px; }
.offer p { font-size: 16px; line-height: 1.6; max-width: 358px; }
.offer .slashes { position: absolute; right: 59px; bottom: 31px; font-size: 100px; color: var(--grey-mid); }
.offer:nth-child(even) .slashes { color: var(--blue-pale); }

.clients { padding: 150px 0 151px; }
.clients h2 { position: relative; font-size: 50.9406px; line-height: 56.0346px; max-width: 1015px; padding-right: 56px; }
.clients h2 .flag { position: absolute; left: 965px; top: 1px; width: 50px; height: 50px; }
.logos { margin-top: 17px; padding: 1px; background: var(--white); }
.logos-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logos-grid figure { margin: 0; height: 114px; display: flex; align-items: center; justify-content: center; }
.logos-grid img { width: 212px; height: 76px; object-fit: cover; }

.web-dev { padding: 57px 0 150px; }
.web-card { min-height: 562px; background: var(--dark); border-radius: 18.2px; overflow: hidden; text-align: center; color: var(--white); }
.web-card img { width: 100%; height: 319px; object-fit: contain; }
.web-card .body { padding: 0 20px 95px; margin-top: -50px; position: relative; }
.web-card h2 { font-size: 36px; line-height: 1.1; margin-bottom: 7px; }
.web-card p { max-width: 628px; margin: 0 auto 23px; color: var(--grey-light); font-size: 14px; line-height: 1.4; }
.web-card .btn { min-height: 50px; width: 205px; font-size: 18px; }

/* Stacked project cards (sticky); the process section sits inside .projects so
   the last card stays pinned while it slides over it, like on the Wix page */
.projects { background: var(--blue-dark); }
.stack-item { position: sticky; top: 0; height: 900px; max-height: 100vh; min-height: 640px; padding: 58px; background: var(--blue-dark); display: flex; align-items: stretch; }
.stack-item + .stack-item { background: transparent; }
.p-card { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: var(--container); margin: 0 auto; border-radius: 40px; overflow: hidden; }
.p-card > div { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.p-card .media img { width: 100%; height: 100%; object-fit: cover; }
.p-card .info { padding: 40px; }
.p-card .info .logo-img { margin-bottom: 0; }
.p-card h2 { font-size: 41px; line-height: 1.2; margin-bottom: 22px; }
.p-card .info p { font-size: 11.7px; max-width: 421px; line-height: 1.2; }
.p-card .info p + p { margin-top: 14px; }
.p-card .btn { margin-top: 39px; width: 188px; }
.p-intro .info { background: var(--black); color: var(--white); justify-content: flex-start; padding-top: 172px; }
.p-intro .info .slashes { font-size: 62.1px; font-weight: 400; line-height: 1.2; margin-bottom: 0; }
.p-intro h2 { font-size: 40px; letter-spacing: -1.2px; max-width: 238px; line-height: 1.2; margin-bottom: 0; }
.p-intro .media { background: var(--grey); }
.p-intro .chevron { width: 100px; height: 200px; fill: var(--blue-dark); margin-top: -1px; }
.p-efcs .media { background: var(--blue-pale); }
.p-efcs .media img { width: 85.65%; height: auto; aspect-ratio: 567 / 463; }
.p-efcs .info, .p-bitamino .info { background: var(--white); }
.p-efcs .info p, .p-bitamino .info p { color: var(--grey); }
.p-efcs .info p { max-width: 409px; }
.p-efcs .logo-img { width: 116px; height: 63px; object-fit: cover; object-position: 50% 0; }
.p-efcs h2 { margin-top: 11px; }
.p-efcs .btn { margin-top: 41px; }
.p-beatme .media, .p-beatme .info { background: var(--black); color: var(--white); }
.p-beatme .media img { width: 98.35%; height: auto; aspect-ratio: 651 / 508; }
.p-beatme .info p { color: var(--grey-light); }
.p-beatme .logo-img { width: 100px; height: 106px; object-fit: cover; }
.p-bitamino .media { background: var(--orange); }
.p-bitamino .media img { width: 70.1%; height: auto; aspect-ratio: 464 / 435; object-fit: contain; }
.p-bitamino .logo-img { width: 91px; height: 101px; object-fit: contain; }
.p-bitamino h2 { margin-top: 12px; }

/* Process */
.process { position: relative; z-index: 2; }
.process-inner { margin-top: 54px; background: var(--grey); border-radius: 50px 50px 0 0; padding: 0 0 146px; color: var(--white); overflow: hidden; }
.process-head { position: relative; padding: 57px var(--gutter) 40px; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; }
.process-head .row { display: flex; align-items: flex-start; gap: 34px; }
.process-head h2 { font-size: 46.7459px; line-height: 1.2; }
.process-head .btn { margin-top: 7px; }
.process-head .sub { font-family: var(--font-head); font-size: 26.3415px; letter-spacing: -.79px; line-height: 36.878px; text-transform: uppercase; margin-top: 7px; }
.process-head .mountain { position: absolute; right: 87px; top: 33px; width: 217px; height: 163px; }
.process-track { display: grid; grid-template-columns: repeat(4, 322px); gap: 12px; justify-content: center; padding: 46px var(--gutter) 0; }
.step { background: var(--black); border-radius: 40px; padding: 32px; min-height: 383px; }
.step .num { font-family: var(--font-head); font-size: 71px; line-height: 1.2; }
.step h3 { font-size: 34px; margin: 8px 0; }
.step p { font-size: 14px; line-height: 1.4; letter-spacing: -.42px; }
.process-track .step.reveal { transform: translateX(-120px); }
.process-track .step.reveal.is-in { transform: none; }
.process-track .step:nth-child(2) { transition-delay: .15s; }
.process-track .step:nth-child(3) { transition-delay: .3s; }
.process-track .step:nth-child(4) { transition-delay: .45s; }

@media (max-width: 1400px) {
  .process-track { grid-template-columns: repeat(2, minmax(0, 322px)); }
}
@media (max-width: 1100px) {
  .offers-head .mountain { display: none; }
  .logos-grid img { width: 80%; height: auto; aspect-ratio: 212 / 76; }
  .clients h2 .flag { left: auto; right: 0; }
}

/* ---------- Mobile (Wix mobile layout, measured at 390px) ---------- */
@media (max-width: 900px) {
  .hero { height: 476px; min-height: 0; max-height: none; overflow: hidden; }
  .hero-bg { top: -14px; left: -6px; right: -5px; bottom: 0; border-radius: 0 0 31.37px 31.37px; }
  .hero-content { left: 31px; bottom: 45px; width: 292px; max-width: calc(100% - 62px); }
  .hero h1 { font-size: 29.2761px; line-height: 29.2761px; margin-bottom: 20px; }
  .hero .btn { width: 247px; min-height: 46px; padding: 0 8px; font-size: 12px; }

  .offers { padding: 34px 0 56px; }
  .offers .container { padding: 0; }
  .offers-head { display: block; padding: 0 0 0 39px; }
  .offers-head h2 { font-size: 28px; line-height: 33px; }
  .offers-head .btn { margin-top: 9px; }
  .offers-head .mountain { display: none; }
  .offer-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 37px 37px 0 30px; }
  .offer, .offer:nth-child(even) { min-height: 287px; border-radius: 20.86px; padding: 32px 37px 20px 20px; }
  .offer h3 { font-size: 28px; line-height: 33px; margin-bottom: 10px; }
  .offer p { max-width: none; }
  .offer .slashes { right: 33px; bottom: 17px; font-size: 50px; line-height: 60px; }
  .offer:nth-child(even) .slashes { line-height: 50px; }

  .clients { padding: 31px 0 280px; }
  .clients .container { padding: 0 31px; }
  .clients h2 { font-size: 30px; line-height: 33px; max-width: none; padding: 46px 0 0; margin: 0 27px 0 26px; }
  .clients h2 .flag { left: 0; right: auto; top: 0; width: 41px; height: 41px; }
  .logos { margin-top: 20px; padding: 1px 2px; }
  .logos-grid { grid-template-columns: repeat(2, 162px); gap: 1.5px 1px; }
  .logos-grid figure { height: 89px; }
  .logos-grid img { width: 136px; height: 64px; aspect-ratio: auto; }

  .web-dev { padding: 16px 0 150px; }
  .web-dev .container { padding: 0 15px 0 16px; }
  .web-card { min-height: 546px; border-radius: 10.43px; }
  .web-card img { height: 253px; }
  .web-card .body { margin-top: -20px; padding: 0 26px 62px 24px; }
  .web-card h2 { font-size: 35px; line-height: 38.5px; margin-bottom: 6px; }
  .web-card p { max-width: 285px; margin: 0 0 12px 8px; }
  .web-card .btn { width: 105px; min-height: 37px; padding: 0; font-size: 12px; position: relative; left: 7px; }

  .stack-item { position: relative; height: auto; max-height: none; min-height: 0; padding: 15px 15px 25px 16px; display: block; }
  .stack-item:first-child { padding-top: 58px; padding-bottom: 0; }
  .stack-item:nth-child(2) { padding-top: 16px; padding-bottom: 39px; }
  .p-card { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
  .p-card > div { justify-content: flex-start; }
  .p-card .media { height: 431px; }
  .p-card .info { height: 548px; padding: 66px 37px 0 36px; }
  .p-card h2 { font-size: 35px; line-height: 42px; margin-bottom: 13px; }
  .p-card .info p { font-size: 12px; line-height: 14px; max-width: none; }
  .p-card .btn { margin-top: 21px; }
  .p-intro .info { height: 348px; padding: 69px 0 0; }
  .p-intro .info .slashes { font-size: 40px; line-height: 48px; }
  .p-intro h2 { font-size: 28px; line-height: 33px; letter-spacing: -.84px; max-width: 174px; margin-bottom: 0; }
  .p-intro .chevron { width: 50px; height: 100px; margin-top: 11px; }
  .p-intro .media { height: 446px; }
  .p-efcs .media { height: 455px; display: block; }
  .p-efcs .media img { width: 307px; max-width: calc(100% - 46px); height: auto; margin: 57px 0 0 calc(50% - 156.5px); }
  .p-efcs .info { padding: 66px 50px 0 49px; }
  .p-efcs .logo-img { width: 66px; height: 36px; }
  .p-efcs h2 { margin: 6px 0 12px; }
  .p-efcs .btn { margin-top: 23px; }
  .p-beatme .media { display: block; }
  .p-beatme .media img { width: 334px; max-width: calc(100% - 25px); height: 256px; aspect-ratio: auto; object-fit: cover; margin: 88px 0 0 calc(50% - 167.5px); }
  .p-beatme .info { padding: 102px 64px 0 62px; }
  .p-beatme .logo-img { width: 56px; height: 59px; }
  .p-beatme h2 { margin-top: -1px; }
  .p-bitamino .media { justify-content: center; }
  .p-bitamino .media img { width: 251px; height: 236px; aspect-ratio: auto; }
  .p-bitamino .logo-img { width: 49px; height: 55px; }
  .p-bitamino h2 { margin-top: 6px; }
  .p-bitamino .btn { background: var(--orange); }

  .process-inner { margin-top: 14px; padding-bottom: 30px; border-radius: 30px 30px 0 0; }
  .process-head { padding: 30px 23px 0; }
  .process-head .row { display: block; }
  .process-head h2 { font-size: 30px; line-height: 36px; }
  .process-head .btn { margin-top: 10px; }
  .process-head .sub, .process-head .mountain { display: none; }
  .process-track { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 39px 15px 0 16px; }
  .step { min-height: 280px; border-radius: 20px; padding: 49px 52px 28px; }
  .step .num { font-size: 40px; line-height: 48px; }
  .step h3 { font-size: 25px; line-height: 30px; margin: 0 0 9px; }
  .step p { max-width: 240px; }
}
