/* Angebote + Prozess: mobile layout (<= 900px), measured 1:1 against the Wix mobile site at 390px.
   Loaded after pages-a.css on these pages only. */

.pz-mb { display: none; }
.pz-intro-text p.pz-gap2 { margin-top: 51.2px; }

@media (max-width: 900px) {
  /* ================= ANGEBOTE ================= */
  .ang-intro { padding: 100px 25px 80px 14px; }
  .ang-intro .pg-wrap { max-width: none; }
  .ang-intro h1 { font-size: 46px; line-height: 55px; letter-spacing: -1.38px; }
  .ang-intro .pg-sub { font-size: 27.11px; line-height: 32.53px; letter-spacing: -.81px; margin-top: 10px; max-width: 264px; }
  .ang-intro .pg-lead { font-size: 12.51px; line-height: 20.02px; letter-spacing: -.25px; margin-top: 11px; max-width: 351px; }

  .ang-item { position: relative; top: auto; height: auto; padding: 0 15px 16px 16px !important; }
  .ang-1 { padding-bottom: 15px !important; }
  .ang-card { display: flex; flex-direction: column; height: auto; border-radius: 40px; }
  .ang-card > .ang-text { order: -1; }
  .ang-item .ang-text { padding: 47px 40px 40px 28px; min-height: 474px; }
  .ang-1 .ang-text { padding: 47px 39px 40px 29px; min-height: 589px; }
  .ang-3 .ang-text { padding-top: 46px; min-height: 457px; }
  .ang-4 .ang-text { min-height: 417px; }
  .ang-text h2 { font-size: 28px; line-height: 33px; margin-bottom: 19px; }
  .ang-1 .ang-text h2 { max-width: 263px; margin-bottom: 18px; }
  .ang-4 .ang-text h2 { margin-bottom: 18px; }
  .ang-text p { font-size: 14px; line-height: 19.6px; letter-spacing: -.42px; max-width: none; }
  .ang-text p + p { margin-top: 19.6px; }
  .ang-1 .ang-text p { font-size: 16px; line-height: 22.4px; letter-spacing: -.48px; }
  .ang-1 .ang-text p + p { margin-top: 22.4px; }

  .ang-case { flex: none; height: 417px; }
  .ang-2 .ang-case { height: 395px; }
  .ang-3 .ang-case { height: 391px; }
  .ang-4 .ang-case { height: 402px; }
  .ang-case-body, .ang-3 .ang-case-body { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 43px 20px 36px 56px; }
  .ang-1 .ang-case-body { padding-left: 55px; }
  .ang-3 .ang-case-body { padding-top: 37px; padding-bottom: 62px; }
  .ang-4 .ang-case-body { padding-left: 44px; }
  .ang-kicker { font-size: 28px; line-height: 33px; }
  .ang-case-info, .ang-3 .ang-case-info { margin-top: auto; padding-top: 0; max-width: 247px; }
  .ang-1 .ang-case-info { margin-left: 1px; }
  .ang-3 .ang-case-info { margin-top: 35px; }
  .ang-case-info h3 { font-size: 28px; line-height: 33px; }
  .ang-case-info p { font-size: 14px; line-height: 16px; }
  .ang-case-info .btn { width: 200px; max-width: 100%; height: 35px; min-height: 0; padding: 0; margin-top: 12px; font-size: 12px; }
  .ang-4 .ang-case-info .btn { margin-top: 20px; }

  /* ================= PROZESS ================= */
  .pz-intro { padding: 0 0 40px; }
  .pz-intro-text { padding: 104px 31px 0 32px; max-width: none; }
  .pz-intro-text h1 { font-size: 30px; line-height: 36px; letter-spacing: normal; }
  .pz-intro-text p { font-size: 14px; line-height: 22.4px; letter-spacing: -.42px; max-width: none; }
  .pz-intro-text h1 + p { margin-top: 20px; }
  .pz-intro-text p + p { margin-top: 22.4px; }
  .pz-intro-text p.pz-gap2 { margin-top: 46px; }
  .pz-band { margin: 32px 31px 0; padding: 23px 27px 24px; border-radius: 20.86px; background: var(--grey-light); overflow: hidden; }
  .pz-steps { grid-template-columns: minmax(0, 1fr); gap: 7.33px; }
  .pz-step { min-height: 240px; padding: 22px 21px; border-radius: 30px; }
  .pz-step .num { font-size: 40px; line-height: 48px; }
  .pz-step h3 { font-size: 26px; line-height: 31px; margin-top: 5px; max-width: none; }
  .pz-step p:last-child { font-size: 14px; line-height: 19.6px; letter-spacing: -.42px; margin-top: 5px; max-width: 220px; }

  .pz-phase, .pz-kick, .pz-cta { position: relative; top: auto; height: auto; padding: 0; }

  /* phase heads: title, then the two pills (fixed widths as on the original) */
  .pz-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0; }
  .pz-head h2 { flex: 0 0 100%; order: -2; font-size: 31.28px; line-height: 37px; }
  .pz-pill { height: 23px; padding: 0; margin-top: 10px; border-radius: 5.21px; font-size: 12.51px; white-space: pre; }
  .pz-kick .pz-head h2 { flex: none; order: -2; }
  .pz-kick .pz-pill { margin-top: 9px; width: 102px; margin-left: 10px; }
  .pz-kick .pz-pill:last-child { order: -1; width: 103px; margin-left: 14px; }
  .pz-concept .pz-pill { width: 125px; border-radius: 3.04px; }
  .pz-concept .pz-pill:last-child { width: 104px; margin-left: 21px; }
  .pz-dev .pz-pill { width: 104px; }
  .pz-dev .pz-pill:last-child { order: -1; margin-right: 11px; }
  .pz-maint .pz-pill { width: 125px; margin-top: 9px; }
  .pz-maint .pz-pill:last-child { width: 83px; margin-left: 6px; }

  /* Auftakt */
  .pz-kick-box { height: auto; border-radius: 0; padding: 31px 20px 124px; }
  .pz-kick-box .pz-head { padding-left: 11px; }
  .pz-kick-grid { display: block; margin-top: 27px; }
  .pz-k { border-radius: 20.86px; text-align: center; margin: 0; }
  .pz-k h3 { font-size: 22.94px; line-height: 28px; overflow-wrap: normal; }
  .pz-k p { font-size: 14.6px; line-height: 18px; }
  .pz-k-call { display: flex; flex-direction: column; align-items: center; padding: 34px 33px 35px; }
  .pz-icon { width: 109px; height: 109px; flex: none; }
  .pz-k-call h3 { margin: 20px 0; }
  .pz-k-call p { padding: 0 7px; }
  .pz-k-call .btn { width: 277px; max-width: 100%; height: 49px; min-height: 0; margin-top: 21px; padding: 0; border-radius: 52.14px; font-size: 14.6px; }
  .pz-k-arrow { display: none; }
  .pz-k-est { display: flex; flex-direction: column; justify-content: center; min-height: 194px; margin-top: 19px; padding: 20px 13px; }
  .pz-k-est, .pz-k-ok { margin-right: -1px; }
  .pz-k-est h3, .pz-k-ok h3 { margin-bottom: 5px; }
  .pz-k-est .pz-dt { display: none; }
  .pz-k-est .pz-mb { display: block; padding: 0 9px; margin-top: 0; }
  .pz-k-ok { margin-top: 20px; padding: 34px 13px 13px; }
  .pz-k-ok p { font-size: 16.68px; line-height: 19px; padding: 0 3px; }
  .pz-chev--down { display: block; position: static; width: 35px; height: 47px; margin: 49px auto 0; transform: rotate(90deg); }

  /* phase cards: full-bleed bands */
  .pz-card { display: block; height: auto; border-radius: 0; padding: 0; overflow: visible; }
  .pz-text, .pz-dev .pz-text { max-width: none; padding: 31px 30px 0 32px; }
  .pz-desc { font-size: 14.6px; line-height: 18px; letter-spacing: -.438px; margin-top: 20px; max-width: none; }
  .pz-output, .pz-concept .pz-output, .pz-dev .pz-output, .pz-maint .pz-output { width: auto; min-height: 0; margin: 20px 0 0; padding: 26px 26px 46px 27px; border-radius: 12.19px; }
  .pz-output h3 { font-size: 31.28px; line-height: 37px; margin-bottom: 5px; }
  .pz-output p, .pz-maint .pz-output p { font-size: 14.6px; line-height: 18px; letter-spacing: -.438px; }
  .pz-output .slashes, .pz-concept .pz-output .slashes, .pz-dev .pz-output .slashes, .pz-maint .pz-output .slashes { top: 26px; right: 26px; font-size: 41.71px; line-height: 41.71px; }
  .pz-media, .pz-concept .pz-media, .pz-dev .pz-media, .pz-maint .pz-media { position: static; left: auto; top: auto; width: auto !important; margin: 0; }
  .pz-media img { max-height: none; }

  .pz-concept .pz-card { padding-bottom: 72px; }
  .pz-concept .pz-output { margin: 20px 3px 0 1px; }
  .pz-concept .pz-output p { max-width: 271px; }
  .pz-concept .pz-media { height: 389px !important; margin-top: 28px; }

  .pz-dev { background: var(--black); }
  .pz-dev .pz-card { border-radius: 20.86px 20.86px 0 0; padding-bottom: 79px; }
  .pz-dev .pz-text { padding: 32px 34px 0 28px; }
  .pz-dev .pz-desc { margin-top: 20px; }
  .pz-dev .pz-output { padding-left: 26px; }
  .pz-dev .pz-output p { max-width: 275px; }
  .pz-dev .pz-media { height: 235px !important; margin-top: 45px; }

  .pz-maint .pz-card { padding-bottom: 122px; }
  .pz-maint .pz-text { padding: 31px 32px 0 31px; }
  .pz-maint .pz-desc { margin-top: 20px; max-width: none; }
  .pz-maint .pz-output p { max-width: 274px; }
  .pz-maint .pz-media { height: 381px !important; margin-top: 20px; }

  .pz-cta-box { height: auto; border-radius: 0; padding: 157px 20px 185px; }
  .pz-cta-box h2 { font-size: 26.07px; line-height: 31px; max-width: 236px; }
  .pz-cta-box .btn { width: 279px; max-width: 100%; height: 42px; min-height: 0; margin-top: 21px; padding: 0; font-size: 14px; }

  /* EN: Wix keeps separate (absolute) positions per language */
  html[lang="en"] .pz-k-call { min-height: 400px; padding-top: 40px; }
  html[lang="en"] .pz-concept .pz-media { margin-top: 37px; }
  html[lang="en"] .pz-dev .pz-media { margin-top: 85px; }
  html[lang="en"] .pz-maint .pz-media { margin-top: 52px; }
}

/* Prozess, 901-1200px: keep the Auftakt grid inside the viewport */
@media (min-width: 901px) and (max-width: 1200px) {
  .pz-kick-grid { grid-template-columns: minmax(0, 432fr) minmax(0, 491fr) minmax(0, 403fr); grid-template-rows: 150px auto; }
  .pz-k h3 { font-size: 30px; overflow-wrap: anywhere; }
  .pz-k-est { padding: 50px 28px 30px; }
  .pz-k-ok { padding: 48px 24px 130px; }
}

/* Prozess desktop fine-tuning of the Auftakt cards (measured at 1440px) */
@media (min-width: 901px) {
  .pz-k-call .btn { font-family: "Madefor", var(--font-body); }
  .pz-k-est h3 { margin-bottom: 26px; }
  .pz-chev--down { bottom: 29px; }
  .pz-k-arrow .pz-chev { margin-left: 14px; }
  html[lang="en"] .pz-k-call { padding-top: 65px; padding-bottom: 66px; }
}
