/* ==========================================================================
   /app-entwicklung/ · page-only components (prefix .app-)
   Apps pillar: lilac hero stage, violet accents. Tokens only; the few rgba() values are tinted
   shadows (same approach as the kit's phero shadows) and are commented where they appear.
   Sample app in all mockups: "Muster Velo" (fictional bike workshop), brand colour = --sm-sky-700.
   ========================================================================== */

/* ---- Shared: sample-app logo, drawn cursor, tap ripple ------------------------------------- */
.app-ui__logo {
  width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px;
  background: linear-gradient(135deg, var(--sm-sky-700), var(--sm-violet-600)); color: var(--sm-ink-0);
}
.app-ui__logo .icon { width: 15px; height: 15px; stroke-width: 2; }
.app-ui__logo--sm { width: 24px; height: 24px; border-radius: 7px; }
.app-ui__logo--sm .icon { width: 14px; height: 14px; }

/* touch feedback on a mock button (shows "someone taps this", so it never reads as a real control);
   it sits at the right end of the button so it never covers the label */
.app-tap {
  position: absolute; right: 9px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: rgba(255, 255, 255, .38); box-shadow: 0 0 0 5px rgba(255, 255, 255, .16);
}

/* named cursor (same idea as .bento__cursor on the home page) */
.app-cursor { position: absolute; left: 62%; top: 58%; z-index: 2; display: flex; align-items: flex-start; }
.app-cursor::before {
  content: ""; position: absolute; left: -8px; top: -8px; width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--color-brand) 28%, transparent);
}
.app-cursor svg {
  position: relative; width: 13px; height: 17px; flex: none;
  fill: var(--color-text); stroke: var(--sm-ink-0); stroke-width: 1.3; stroke-linejoin: round;
  filter: drop-shadow(0 1px 1.5px rgba(9, 12, 18, .28));
}
.app-cursor b {
  margin: 11px 0 0 -3px; padding: 3px 7px 4px; border-radius: 3px 9px 9px 9px;
  background: var(--color-brand); color: var(--color-on-brand);
  font-size: 10px; font-weight: 700; line-height: 1.15; white-space: nowrap; box-shadow: var(--shadow-xs);
}

/* ==== 01 · Hero ============================================================================= */
.app-hero__title { max-width: 17ch; }
.app-hero__title em { display: block; }   /* the promise gets its own line(s), so "aus" never dangles */
.app-hero__media { min-height: 620px; }

/* Two phones + floating cards, built at a fixed design size and scaled as one picture */
.app-duo {
  --duo-s: 1;
  position: absolute; left: 50%; top: 50%; width: 520px; height: 540px;
  transform: translate(-50%, -50%) scale(var(--duo-s));
  font-family: var(--font-sans); color: var(--color-text);
}

.app-phone {
  position: absolute; width: 236px; height: 486px; padding: 7px; border-radius: 44px;
  background: var(--sm-ink-900);
  /* violet-tinted drop shadow on the lilac stage (as the kit's phero shadows) */
  box-shadow: inset 0 0 0 1.5px var(--sm-ink-700), 0 40px 70px -34px rgba(66, 34, 160, .5), 0 14px 30px -16px rgba(9, 12, 18, .32);
}
.app-phone--ios { left: 16px; top: 0; }
.app-phone--android { right: 16px; top: 42px; border-radius: 36px; }
.app-phone__screen {
  position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 37px; background: var(--sm-ink-25);
}
.app-phone--android .app-phone__screen { border-radius: 29px; }
.app-phone__status {
  position: relative; flex: none; height: 40px; padding: 2px 22px 0 28px;
  display: flex; align-items: center; justify-content: space-between; font-size: 12px; line-height: 1;
}
.app-phone__status b { font-weight: 600; letter-spacing: .01em; }
.app-phone__sys { width: 38px; height: 11px; fill: currentColor; }
.app-phone__island { position: absolute; left: 50%; top: 10px; width: 78px; height: 23px; margin-left: -39px; border-radius: var(--radius-pill); background: var(--sm-ink-950); }
.app-phone--android .app-phone__status { height: 34px; padding: 0 18px 0 20px; font-size: 11.5px; }
.app-phone__punch { position: absolute; left: 50%; top: 11px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--sm-ink-950); }
.app-phone__bar { position: absolute; left: 50%; bottom: 7px; width: 96px; height: 4px; margin-left: -48px; border-radius: 4px; background: var(--sm-ink-900); }
.app-phone--android .app-phone__bar { width: 70px; height: 3.5px; margin-left: -35px; background: var(--sm-ink-400); }

/* iOS screen: home of the sample app */
.app-ui { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 9px; padding: 4px 13px 0; font-size: 11px; line-height: 1.3; }
.app-ui__top { display: flex; align-items: center; gap: 8px; }
.app-ui__top b { font-size: 12.5px; font-weight: 700; letter-spacing: -.01em; }
.app-ui__avatar {
  margin-left: auto; width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--sm-orange-100); color: var(--sm-orange-800); font-size: 11px; font-weight: 700;
}
.app-ui__hello { margin-top: 2px; }
.app-ui__hello small { display: block; font-size: 11px; color: var(--color-text-subtle); }
.app-ui__hello strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.app-ui__card { padding: 10px; border-radius: 16px; background: var(--sm-ink-0); border: 1px solid rgba(9, 12, 18, .06); box-shadow: var(--shadow-xs); }
.app-ui__appt { display: flex; align-items: center; gap: 9px; }
.app-ui__ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--sm-sky-100); color: var(--sm-sky-700); }
.app-ui__ico .icon { width: 15px; height: 15px; stroke-width: 2; }
.app-ui__appt-text small { display: block; font-size: 10px; color: var(--color-text-subtle); }
.app-ui__appt-text b { display: block; font-size: 11.5px; white-space: nowrap; }
.app-ui__ok { margin-left: auto; width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sm-mint-100); color: var(--sm-mint-700); }
.app-ui__ok .icon { width: 12px; height: 12px; stroke-width: 2.8; }
.app-ui__track-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.app-ui__track-head b { font-size: 11.5px; }
.app-ui__track-head span { font-size: 10px; font-weight: 600; color: var(--sm-sky-700); }
.app-ui__steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-ui__steps li { position: relative; display: grid; justify-items: center; gap: 5px; font-size: 9.5px; color: var(--color-text-subtle); text-align: center; }
.app-ui__steps li + li::before { content: ""; position: absolute; top: 5px; left: -50%; right: 50%; height: 2px; background: var(--sm-ink-100); }
.app-ui__steps i { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--sm-ink-0); border: 2px solid var(--sm-ink-200); }
.app-ui__steps .is-done i { background: var(--sm-sky-700); border-color: var(--sm-sky-700); }
.app-ui__steps .is-now i { border-color: var(--sm-sky-700); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sm-sky-700) 16%, transparent); }
.app-ui__steps .is-now::before { background: var(--sm-sky-700) !important; }
.app-ui__steps .is-now span { color: var(--color-text); font-weight: 600; }
.app-ui__quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.app-ui__quick span { display: grid; justify-items: center; gap: 5px; padding: 9px 4px 8px; border-radius: 14px; background: var(--sm-ink-0); border: 1px solid rgba(9, 12, 18, .06); font-size: 9.5px; font-weight: 600; color: var(--color-text-muted); }
.app-ui__quick i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--sm-ink-50); color: var(--color-text); }
.app-ui__quick .icon { width: 14px; height: 14px; stroke-width: 1.9; }
.app-ui__promo {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px;
  border-radius: 16px; background: var(--grad-peach); border: 1px solid var(--pastel-border);
}
.app-ui__promo small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-brand-text); }
.app-ui__promo b { font-size: 12px; }
.app-ui__promo em { font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; }
.app-ui__tabbar {
  flex: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px 6px 22px;
  background: var(--sm-ink-0); border-top: 1px solid var(--sm-ink-100);
}
.app-ui__tabbar span { display: grid; justify-items: center; gap: 3px; font-size: 9px; font-weight: 600; color: var(--color-text-subtle); }
.app-ui__tabbar .icon { width: 17px; height: 17px; stroke-width: 1.8; }
.app-ui__tabbar .is-active { color: var(--sm-sky-700); }

/* Android screen: pickup + payment */
.app-ui--android { gap: 10px; padding: 0 14px; }
.app-ui__appbar { display: flex; align-items: center; gap: 10px; height: 36px; flex: none; }
.app-ui__appbar .icon { width: 18px; height: 18px; stroke-width: 2; }
.app-ui__appbar b { font-size: 15px; font-weight: 600; }
.app-ui__ready { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: var(--sm-mint-100); }
.app-ui__ready-ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sm-mint-700); color: var(--sm-ink-0); }
.app-ui__ready-ico .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.app-ui__ready b { display: block; font-size: 12px; }
.app-ui__ready small { display: block; font-size: 10px; color: var(--color-text-muted); }
.app-ui__bill { padding: 4px 12px; border-radius: 18px; background: var(--sm-ink-0); border: 1px solid rgba(9, 12, 18, .06); }
.app-ui__bill p { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: 11px; border-bottom: 1px dashed var(--sm-ink-200); }
.app-ui__bill p:last-child { border-bottom: 0; }
.app-ui__bill span { color: var(--color-text-muted); }
.app-ui__bill b { font-weight: 600; font-variant-numeric: tabular-nums; }
.app-ui__bill .app-ui__total span, .app-ui__bill .app-ui__total b { color: var(--color-text); font-size: 12.5px; font-weight: 700; }
.app-ui__pay { display: grid; gap: 6px; }
.app-ui__pay p { display: flex; align-items: center; gap: 9px; height: 33px; padding: 0 12px; border-radius: 12px; background: var(--sm-ink-0); border: 1px solid var(--sm-ink-100); font-size: 11.5px; font-weight: 600; }
.app-ui__pay i { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid var(--sm-ink-300); }
.app-ui__pay .is-on { border-color: color-mix(in srgb, var(--sm-sky-700) 45%, transparent); background: color-mix(in srgb, var(--sm-sky-100) 55%, var(--sm-ink-0)); }
.app-ui__pay .is-on i { border: 4px solid var(--sm-sky-700); }
.app-ui__paybtn {
  position: relative; margin: auto 0 24px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--radius-pill);
  background: var(--sm-sky-700); color: var(--sm-ink-0); font-size: 12px; font-weight: 600;
}

/* floating push notification (heads-up) */
.app-push {
  position: absolute; z-index: 3; right: -14px; top: 74px; width: 226px;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px;
  background: var(--sm-ink-0); border: 1px solid rgba(9, 12, 18, .06); box-shadow: var(--shadow-md);
}
.app-push small { display: block; font-size: 10px; line-height: 1.3; color: var(--color-text-subtle); }
.app-push b { display: block; font-size: 12px; line-height: 1.3; }
/* one-shot entrance, armed by JS only when motion is allowed */
.app-duo.is-armed .app-push { opacity: 0; transform: translateY(-10px) scale(.97); }
.app-duo.is-armed.is-in .app-push {
  opacity: 1; transform: none;
  transition: opacity 420ms var(--ease) 650ms, transform 520ms var(--ease) 650ms;
}

/* "eine Codebasis → iOS · Android" bar */
.app-codebar {
  position: absolute; z-index: 3; left: 50%; bottom: -16px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: var(--radius-pill);
  background: var(--sm-ink-0); box-shadow: var(--shadow-md); white-space: nowrap; font-size: 12px; font-weight: 600;
}
.app-codebar > span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--sm-ink-50); }
.app-codebar img { width: 14px; height: 14px; }
.app-codebar > .app-codebar__main { background: var(--sm-violet-100); color: var(--sm-violet-700); }
.app-codebar__main img { width: 16px; height: 16px; }
.app-codebar > .app-codebar__arrow { padding: 0 2px; background: none; color: var(--color-text-subtle); }
.app-codebar__arrow .icon { width: 15px; height: 15px; stroke-width: 2; }

@media (max-width: 1199px) {
  .app-hero__media { min-height: 500px; }
  .app-duo { --duo-s: .86; }
}
@media (max-width: 980px) {
  .app-hero__media { min-height: 520px; }
  .app-duo { --duo-s: .9; }
}
@media (max-width: 560px) {
  .app-hero__media { min-height: 380px; }
  .app-duo { --duo-s: .62; }
  .app-push { right: 2px; }   /* keep clear of the stage edge on phones */
}

/* ==== 02 · Einsatz (intro + tiles) =========================================================== */
.app-uses__tiles { margin-top: clamp(40px, 5vw, 64px); }

/* ==== 03 · Etappen (journey rail + split cards) ============================================== */
.app-journey__list { list-style: none; margin: 0; padding: 0; }
.app-step {
  --rail: 64px; --num-h: 34px; --card-top: 30px;
  position: relative; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); column-gap: var(--space-6);
  padding-bottom: var(--space-6);
}
.app-step:last-child { padding-bottom: 0; }
.app-step__rail { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-start; padding-top: var(--card-top); }
.app-step__num {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  width: var(--rail); height: var(--num-h); border-radius: var(--radius-pill);
  background: var(--sm-ink-0); border: 1px solid var(--color-border-strong);
  font: 500 13px/1 var(--font-mono); letter-spacing: .08em; color: var(--color-brand-text);
}
.app-step__num::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-icon-brand); }
.app-step__num--end { width: 44px; height: 44px; border-radius: 50%; color: var(--color-icon-brand); }
.app-step__num--end::before { display: none; }
.app-step__num--end .icon { width: 19px; height: 19px; stroke-width: 1.9; }
/* dashed rail from this number down to the next one */
.app-step:not(:last-child)::before {
  content: ""; position: absolute; left: calc(var(--rail) / 2 - 1px); width: 2px;
  top: calc(var(--card-top) + var(--num-h)); bottom: calc(-1 * var(--card-top));
  background: repeating-linear-gradient(180deg, var(--color-border-strong) 0 6px, transparent 6px 12px);
}

.app-step__card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: 470px; padding: 8px;
  background: var(--sm-ink-0); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); box-shadow: var(--shadow-xs);
}
.app-step__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(24px, 3.2vw, 44px); }
.app-step__copy > .eyebrow { margin-bottom: 14px; }
.app-step__title { font-size: var(--fs-h3); line-height: 1.16; letter-spacing: -0.018em; max-width: 18ch; }
.app-step__text { margin-top: var(--space-4); color: var(--color-text-muted); max-width: 46ch; }
.app-step__copy .checks { margin-top: var(--space-5); }
.app-step__meta {
  align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--color-border);
}
.app-step__price { font-size: var(--fs-small); color: var(--color-text-muted); white-space: nowrap; }
.app-step__price b { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; color: var(--color-text); font-variant-numeric: tabular-nums; }
.app-step__result {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--color-surface-subtle); border: 1px solid var(--color-border);
  font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--color-text-muted);
}
.app-step__stage { display: grid; min-height: 400px; border-radius: var(--radius-xl); }
/* the picture stays in flow (not absolutely centred): on narrow cards the stage grows with it instead of clipping */
.app-step__stage > .stage__center { position: relative; inset: auto; }

/* End row: direct start + launch */
.app-step--end { --card-top: 18px; }
.app-step__end { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.app-step__end-item {
  display: flex; align-items: flex-start; gap: var(--space-4); padding: 22px 24px 18px;
  background: var(--color-surface-subtle); border: 1px solid var(--color-border); border-radius: var(--radius-xl);
}
.app-step__end-title { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: 0; }
.app-step__end-item p { margin-top: 4px; font-size: var(--fs-small); line-height: 1.55; color: var(--color-text-muted); }
.app-step__end-item .link-arrow { min-height: 44px; margin-bottom: -6px; }

/* Step 1 mock: feasibility document */
.app-doc { position: relative; width: 100%; max-width: 400px; }
.app-doc__sheet {
  padding: 14px 18px 16px; border-radius: 16px; background: var(--sm-ink-0);
  /* warm shadow on the peach stage */
  box-shadow: 0 1px 2px rgba(9, 12, 18, .06), 0 26px 50px -22px rgba(126, 50, 15, .38);
}
.app-doc__sheet { container-type: inline-size; }
.app-doc__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--sm-ink-100); }
.app-doc__ico { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--sm-orange-100); color: var(--sm-orange-700); }
.app-doc__ico .icon { width: 16px; height: 16px; }
.app-doc__head b { display: block; font-size: 13px; line-height: 1.3; }
.app-doc__head small { display: block; font-size: 11px; line-height: 1.3; color: var(--color-text-subtle); }
.app-doc__row { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--sm-ink-100); }
.app-doc__row > small, .app-doc__plan > small { font: 500 9.5px/1.25 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-subtle); }
.app-doc__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.app-doc__tags span { padding: 3px 8px; border-radius: var(--radius-pill); background: var(--sm-orange-50); border: 1px solid var(--sm-orange-200); font-size: 10.5px; font-weight: 600; color: var(--sm-orange-800); }
.app-doc__api { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.app-doc__api b { padding: 3px 8px; border-radius: 6px; background: var(--sm-ink-50); border: 1px solid var(--sm-ink-200); font-weight: 600; white-space: nowrap; }
.app-doc__api i { flex: 1; min-width: 14px; height: 2px; background: repeating-linear-gradient(90deg, var(--sm-ink-300) 0 4px, transparent 4px 7px); }
.app-doc__ok { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; font-weight: 600; color: var(--sm-mint-700); }
.app-doc__ok span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.app-doc__ok .icon { width: 12px; height: 12px; stroke-width: 2.8; }
.app-doc__plan { display: grid; gap: 6px; padding-top: 10px; }
.app-doc__plan p { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: center; gap: 8px; font-size: 10.5px; color: var(--color-text-muted); }
.app-doc__plan i { position: relative; height: 8px; border-radius: 4px; background: var(--sm-ink-50); }
.app-doc__plan i::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--s); width: var(--w); border-radius: 4px; background: var(--sm-orange-300); }
.app-doc__plan i.is-end::after { background: var(--color-brand); }
.app-doc__note {
  position: absolute; right: -24px; bottom: -26px; display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 9px; border-radius: 14px; background: var(--sm-ink-0); box-shadow: var(--shadow-md);
}
.app-doc__note-ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--sm-violet-100); color: var(--sm-violet-700); }
.app-doc__note-ico .icon { width: 16px; height: 16px; }
.app-doc__note b { display: block; font-size: 12px; line-height: 1.3; white-space: nowrap; }
.app-doc__note small { display: block; font-size: 10.5px; line-height: 1.3; color: var(--color-text-subtle); white-space: nowrap; }

/* narrow document: labels sit above their values */
@container (max-width: 299.98px) {
  .app-doc__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .app-doc__api b { padding: 3px 6px; }
}

/* Step 2 mock: prototype canvas (wireframe → wireframe → design) */
.app-proto { position: relative; width: 100%; max-width: 460px; padding: 40px 0 24px; container-type: inline-size; }
.app-proto__label {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px;
  border-radius: var(--radius-pill); background: color-mix(in srgb, var(--sm-ink-0) 85%, transparent);
  font-size: 11.5px; font-weight: 600; color: var(--sm-sky-700); box-shadow: var(--shadow-xs);
}
.app-proto__label .icon { width: 13px; height: 13px; }
.app-proto__flow { display: flex; align-items: center; justify-content: center; }
.app-mini {
  position: relative; flex: none; width: 118px; height: 226px; display: flex; flex-direction: column; gap: 7px;
  padding: 24px 10px 12px; border-radius: 20px; background: var(--sm-ink-0); border: 1px solid rgba(9, 12, 18, .08);
  box-shadow: 0 1px 2px rgba(9, 12, 18, .06), 0 20px 40px -20px rgba(18, 111, 173, .45); /* sky-tinted */
}
.app-mini::before { content: ""; position: absolute; top: 9px; left: 50%; width: 30px; height: 6px; margin-left: -15px; border-radius: 3px; background: var(--sm-ink-100); }
.app-mini--wire { background: color-mix(in srgb, var(--sm-ink-0) 70%, transparent); border: 1.5px dashed var(--sm-ink-300); box-shadow: none; }
.app-mini__h { height: 9px; width: 64%; border-radius: 4px; background: var(--sm-ink-300); }
.app-mini__l { height: 6px; width: 92%; border-radius: 3px; background: var(--sm-ink-200); }
.app-mini__l--s { width: 58%; }
.app-mini__box { height: 40px; border-radius: 8px; border: 1.5px dashed var(--sm-ink-300); }
.app-mini__cal {
  height: 72px; border-radius: 8px; border: 1.5px dashed var(--sm-ink-300);
  background-image: linear-gradient(var(--sm-ink-200) 1px, transparent 1px), linear-gradient(90deg, var(--sm-ink-200) 1px, transparent 1px);
  background-size: 14px 14px; background-position: 6px 6px;
}
.app-mini__btn { margin-top: auto; height: 20px; border-radius: var(--radius-pill); border: 1.5px dashed var(--sm-ink-400); }
.app-proto__arrow { position: relative; flex: none; width: 24px; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, var(--sm-sky-700) 0 4px, transparent 4px 7px); }
.app-proto__arrow::after { content: ""; position: absolute; right: -1px; top: -3px; width: 6px; height: 6px; border-top: 2px solid var(--sm-sky-700); border-right: 2px solid var(--sm-sky-700); transform: rotate(45deg); }
.app-mini__title { font-size: 11.5px; font-weight: 700; letter-spacing: -.01em; }
.app-mini__days { display: flex; gap: 4px; }
.app-mini__days i { flex: 1; padding: 5px 0; border-radius: 7px; background: var(--sm-ink-50); font-style: normal; font-size: 9.5px; font-weight: 600; text-align: center; color: var(--color-text-muted); }
.app-mini__days .is-on { background: var(--sm-sky-700); color: var(--sm-ink-0); }
.app-mini__slot { padding: 5px 8px; border-radius: 8px; border: 1px solid var(--sm-ink-200); font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.app-mini__slot.is-on { border-color: var(--sm-sky-700); background: var(--sm-sky-100); color: var(--sm-sky-700); }
.app-mini__cta {
  position: relative; margin-top: auto; height: 24px; display: grid; place-items: center; border-radius: var(--radius-pill);
  background: var(--sm-sky-700); color: var(--sm-ink-0); font-size: 10px; font-weight: 600;
}
.app-proto__comment {
  position: absolute; left: 4px; bottom: 0; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 6px; border-radius: 14px 14px 14px 4px; background: var(--sm-ink-0); box-shadow: var(--shadow-md);
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.app-proto__avatar { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--sm-violet-100); color: var(--sm-violet-700); font-size: 10px; font-weight: 700; }
@container (max-width: 429.98px) {
  .app-mini--mid, .app-proto__arrow--mid { display: none; }
}

/* Step 3 mock: beta test dashboard */
.app-beta { position: relative; width: 100%; max-width: 370px; }
.app-beta__card {
  padding: 4px 16px 14px; border-radius: 16px; background: var(--sm-ink-0); border: 1px solid rgba(9, 12, 18, .05);
  box-shadow: 0 1px 2px rgba(9, 12, 18, .06), 0 26px 50px -22px rgba(19, 123, 58, .38); /* mint-tinted */
}
.app-beta__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0 10px; border-bottom: 1px solid var(--sm-ink-100); font-size: 13px; }
.app-beta__head .mock-pill { padding: 4px 9px; font-size: 11px; }
.app-beta__row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--sm-ink-100); }
.app-beta__logo { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--sm-ink-50); border: 1px solid var(--sm-ink-100); }
.app-beta__logo img { width: 16px; height: 16px; }
.app-beta__row b { display: block; font-size: 12.5px; line-height: 1.3; }
.app-beta__row small { display: block; font-size: 11px; line-height: 1.3; color: var(--color-text-subtle); }
.app-beta__row .mock-pill { margin-left: auto; padding: 4px 9px; font-size: 11px; }
.app-beta__chart { padding-top: 12px; }
.app-beta__chart small { display: block; margin-bottom: 8px; font: 500 9.5px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-subtle); }
.app-beta__chart .mock-chart { height: 54px; gap: 5px; }
.app-beta__chart .mock-chart span:nth-child(n) { border-radius: 4px 4px 2px 2px; background: color-mix(in srgb, var(--sm-mint-700) 22%, var(--sm-mint-100)); }
.app-beta__chart .mock-chart span:nth-last-child(-n+3) { background: var(--sm-mint-700); }
.app-beta__toast {
  position: absolute; left: -26px; top: -26px; display: flex; align-items: center; gap: 9px;
  padding: 8px 14px 8px 8px; border-radius: 14px; background: var(--sm-ink-0); box-shadow: var(--shadow-md);
}
.app-beta__toast-ico { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--sm-violet-100); color: var(--sm-violet-700); }
.app-beta__toast-ico .icon { width: 15px; height: 15px; }
.app-beta__toast b { display: block; font-size: 12px; line-height: 1.25; }
.app-beta__toast small { display: block; font-size: 10.5px; line-height: 1.3; color: var(--color-text-subtle); }

@media (max-width: 1080px) {
  .app-step { --rail: 48px; column-gap: var(--space-4); }
  .app-step__num { gap: 0; font-size: 12px; letter-spacing: .04em; }
  .app-step__num::before { display: none; }
  .app-step__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .app-step__card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app-step__stage { min-height: 340px; }
  .app-step__end { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .app-step { --rail: 32px; --num-h: 32px; --card-top: 22px; column-gap: var(--space-3); padding-bottom: var(--space-4); }
  .app-step--end { --card-top: 14px; }
  .app-step__num { border-radius: 50%; font-size: 11px; }
  .app-step__num--end { width: 32px; height: 32px; }
  .app-step__num--end .icon { width: 16px; height: 16px; }
  .app-step__card { padding: 6px; }
  .app-step__copy { padding: 22px 16px 18px; }
  .app-step__stage { min-height: 310px; }
  .app-step__end-item { flex-direction: column; gap: var(--space-3); padding: 20px 18px 14px; }
  .app-doc__note { position: relative; right: auto; bottom: auto; width: max-content; max-width: 100%; margin: -14px -6px 0 auto; }
  .app-beta { margin-top: 16px; }
  .app-beta__toast { left: -8px; top: -24px; }
}

/* ==== 04 · Technologie (tabs) ================================================================ */
.app-tech .section-head { margin-bottom: var(--space-8); }
.app-tech__seg .seg__tab img { width: 16px; height: 16px; flex: none; }
/* stages grow with their picture (except the PWA phone, which is anchored to the bottom edge) */
.app-tech .tabshow__media { display: grid; }
.app-tech .tabshow__media > .stage__center { position: relative; inset: auto; }
.app-tech__note {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 20px !important; padding: 12px 14px;
  border-radius: var(--radius-lg); background: var(--color-surface-subtle); border: 1px solid var(--color-border);
  font-size: var(--fs-xs); line-height: 1.5;
}
.app-tech__note .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--color-text-subtle); }
.app-tech__note b { color: var(--color-text); }
.app-tech .tabshow__copy .checks + .link-arrow { min-height: 44px; margin-bottom: -10px; }
.app-tech .tabshow__copy > .link-arrow { min-height: 44px; }

/* Flutter: Dart editor + build results */
.app-code { position: relative; width: 100%; max-width: 440px; padding-bottom: 66px; container-type: inline-size; }
.app-code__win { border-radius: 14px; box-shadow: 0 1px 2px rgba(9, 12, 18, .06), 0 26px 50px -24px rgba(18, 111, 173, .5); /* sky-tinted */ }
.app-code__src { margin: 0; padding: 14px 18px 16px; overflow: hidden; white-space: pre; font: 500 12px/1.7 var(--font-mono); color: var(--color-text-muted); }
.app-code__src .t { color: var(--sm-sky-700); }
.app-code__src .f { color: var(--color-text); font-weight: 600; }
.app-code__src .k { color: var(--sm-violet-700); }
.app-code__src .s { color: var(--color-brand-text); }
.app-code__builds {
  position: absolute; right: -18px; bottom: 0; width: 262px; display: grid; padding: 4px 12px;
  border-radius: 14px; background: var(--sm-ink-0); border: 1px solid rgba(9, 12, 18, .05); box-shadow: var(--shadow-md);
}
.app-code__builds p { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px 0; }
.app-code__builds p + p { border-top: 1px solid var(--sm-ink-100); }
.app-code__os { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--sm-ink-50); }
.app-code__os img { width: 16px; height: 16px; }
.app-code__builds b { display: block; font-size: 12px; line-height: 1.25; }
.app-code__builds small { display: block; font: 500 10px/1.3 var(--font-mono); color: var(--color-text-subtle); white-space: nowrap; }
.app-code__builds span { min-width: 0; }
.app-code__builds em { margin-left: auto; width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sm-mint-100); color: var(--sm-mint-700); }
.app-code__builds em .icon { width: 12px; height: 12px; stroke-width: 2.8; }
.app-code__reload {
  position: absolute; right: -10px; top: 50px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 9px;
  border-radius: var(--radius-pill); background: var(--sm-violet-100); color: var(--sm-violet-700); font-size: 11.5px; font-weight: 600; box-shadow: var(--shadow-sm);
}
.app-code__reload .icon { width: 13px; height: 13px; stroke-width: 2; }
@container (max-width: 379.98px) {
  .app-code__src { font-size: 10px; padding: 12px 14px; }
  .app-code__builds { right: -6px; width: 228px; padding: 2px 10px; }
  .app-code__builds small { font-size: 9.5px; }
  .app-code__reload { display: none; }   /* decorative; on a narrow editor it would cover the code */
}

/* Firebase: console + push */
.app-fb { position: relative; width: 100%; max-width: 370px; padding-bottom: 44px; container-type: inline-size; }
@container (max-width: 299.98px) { .app-fb__push { left: 10px; right: -6px; } .app-fb__push b { font-size: 11px; } }
.app-fb__console {
  padding: 2px 16px 6px; border-radius: 16px; background: var(--sm-ink-0);
  box-shadow: 0 1px 2px rgba(9, 12, 18, .06), 0 26px 50px -22px rgba(141, 99, 16, .4); /* sun-tinted */
}
.app-fb__head { display: flex; align-items: center; gap: 8px; padding: 12px 0 10px; border-bottom: 1px solid var(--sm-ink-100); font-size: 13px; }
.app-fb__head img { width: 18px; height: 18px; }
.app-fb__head .mock-pill { margin-left: auto; padding: 4px 9px; font-size: 11px; }
.app-fb__list { list-style: none; margin: 0; padding: 0; }
.app-fb__list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--sm-ink-100); }
.app-fb__list li:last-child { border-bottom: 0; }
.app-fb__ico { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--sm-sun-100); color: var(--sm-sun-700); }
.app-fb__ico .icon { width: 15px; height: 15px; }
.app-fb__list b { display: block; font-size: 12.5px; line-height: 1.3; }
.app-fb__list small { display: block; font-size: 11px; line-height: 1.3; color: var(--color-text-subtle); }
.app-fb__list em { margin-left: auto; font-style: normal; flex: none; }
.app-fb__list .mock-pill { padding: 4px 9px; font-size: 11px; }
.app-fb__flag svg { display: block; border-radius: 5px; }
.app-fb__flag rect { fill: var(--sm-rose-700); }   /* Swiss flag from tokens */
.app-fb__flag path { fill: var(--sm-ink-0); }
.app-fb__push {
  position: absolute; left: 28px; right: -16px; bottom: 0; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 16px; background: var(--sm-ink-0); border: 1px solid rgba(9, 12, 18, .06); box-shadow: var(--shadow-md);
}
.app-fb__push small { display: block; font-size: 10px; line-height: 1.3; color: var(--color-text-subtle); }
.app-fb__push b { display: block; font-size: 12px; line-height: 1.3; white-space: nowrap; }

/* PWA: phone with the "Zum Home-Bildschirm" sheet, bleeding off the bottom edge */
.app-pwa { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-top: 40px; }
.app-pwa__phone {
  width: 292px; height: 100%; max-height: 480px; padding: 8px 8px 0; border-radius: 42px 42px 0 0; background: var(--sm-ink-900);
  box-shadow: inset 0 0 0 1.5px var(--sm-ink-700), 0 30px 60px -20px rgba(19, 123, 58, .45); /* mint-tinted */
}
.app-pwa__screen { position: relative; height: 100%; overflow: hidden; border-radius: 34px 34px 0 0; background: var(--sm-ink-0); }
.app-pwa__url {
  display: flex; align-items: center; justify-content: center; gap: 5px; height: 30px; margin: 34px 14px 0;
  border-radius: 10px; background: var(--sm-ink-50); font-size: 11px; color: var(--color-text-muted);
}
.app-pwa__url .icon { width: 11px; height: 11px; stroke-width: 2.2; }
.app-pwa__page { display: grid; gap: 8px; padding: 14px; }
.app-pwa__page .mock-line { display: block; }
.app-pwa__hero { display: block; height: 72px; border-radius: 12px; background: var(--grad-mint); border: 1px solid var(--pastel-border); }
.app-pwa__item { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--sm-ink-100); }
.app-pwa__item > i { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--sm-mint-100); }
.app-pwa__item > span { flex: 1; display: grid; gap: 6px; }
.app-pwa__item .mock-line { display: block; height: 6px; }
.app-pwa__sheet {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px 22px; border-radius: 22px 22px 0 0;
  background: var(--sm-ink-25); box-shadow: 0 -14px 30px -14px rgba(9, 12, 18, .28);
}
.app-pwa__sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-bottom: 12px; font-size: 10.5px; color: var(--sm-sky-700); white-space: nowrap; }
.app-pwa__sheet-head b { font-size: 11.5px; color: var(--color-text); }
.app-pwa__add { font-weight: 700; }
.app-pwa__appinfo { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--sm-ink-0); }
.app-pwa__icon {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px;
  background: linear-gradient(135deg, var(--sm-mint-700), var(--sm-sky-700)); color: var(--sm-ink-0); font-size: 17px; font-weight: 700;
}
.app-pwa__appinfo b { display: block; font-size: 12.5px; line-height: 1.3; }
.app-pwa__appinfo small { display: block; font-size: 10.5px; line-height: 1.3; color: var(--color-text-subtle); }
.app-pwa__toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 10px; border-radius: 12px; background: var(--sm-ink-0); font-size: 11.5px; font-weight: 600; }
.app-pwa__toggle i { position: relative; width: 34px; height: 20px; flex: none; border-radius: var(--radius-pill); background: var(--sm-mint-700); }
.app-pwa__toggle i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--sm-ink-0); box-shadow: var(--shadow-xs); }

/* Chrome extension: WordPress editor + AI Translator side panel */
.app-ext { width: 100%; max-width: 470px; container-type: inline-size; }
.app-ext__win { border-radius: 14px; box-shadow: 0 1px 2px rgba(9, 12, 18, .06), 0 26px 50px -22px rgba(103, 34, 233, .4); /* violet-tinted */ }
.app-ext__win .mock-window__url { min-width: 0; white-space: nowrap; overflow: hidden; }
.app-ext__win .mock-window__url .icon { width: 11px; height: 11px; stroke-width: 2.2; flex: none; }
.app-ext__pin { width: 24px; height: 24px; flex: none; margin-left: 8px; display: grid; place-items: center; border-radius: 7px; background: var(--sm-violet-100); color: var(--sm-violet-700); }
.app-ext__pin .icon { width: 13px; height: 13px; }
.app-ext__body { display: grid; grid-template-columns: minmax(0, 1fr) 176px; min-height: 248px; }
.app-ext__page { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.app-ext__page small { margin-top: 4px; font-size: 10.5px; font-weight: 600; color: var(--color-text-subtle); }
.app-ext__page small:first-child { margin-top: 0; }
.app-ext__field { display: flex; align-items: center; min-height: 30px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--sm-ink-200); font-size: 12px; white-space: nowrap; overflow: hidden; }
.app-ext__field--tall { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; }
.app-ext__field .mock-line { display: block; }
.app-ext__field.is-done { border-color: color-mix(in srgb, var(--sm-mint-700) 35%, transparent); }
.app-ext__field.is-active { border-color: var(--sm-violet-500); box-shadow: 0 0 0 3px var(--sm-violet-100); }
.app-ext__caret { display: inline-block; width: 1.5px; height: 13px; margin-left: 1px; background: var(--sm-violet-700); }
.app-ext__panel { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--sm-violet-50); border-left: 1px solid var(--sm-violet-100); }
.app-ext__head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.app-ext__logo { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--grad-panel); color: var(--sm-ink-0); }
.app-ext__logo .icon { width: 14px; height: 14px; stroke-width: 2; }
.app-ext__langs {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--sm-ink-0); border: 1px solid var(--sm-violet-200); font-size: 11px; font-weight: 700; color: var(--sm-violet-700);
}
.app-ext__langs .icon { width: 11px; height: 11px; stroke-width: 2.4; }
.app-ext__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.app-ext__rows li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--sm-ink-0); font-size: 11.5px; font-weight: 600; }
.app-ext__rows i { width: 12px; height: 12px; flex: none; border-radius: 50%; border: 2px solid var(--sm-ink-300); }
.app-ext__rows .is-done i { border-color: var(--sm-mint-700); background: var(--sm-mint-700); box-shadow: inset 0 0 0 2px var(--sm-ink-0); }
.app-ext__rows .is-active { box-shadow: inset 0 0 0 1px var(--sm-violet-200); }
.app-ext__rows .is-active i { border-color: var(--sm-violet-600); }
.app-ext__bar { display: block; height: 6px; margin-top: auto; border-radius: 3px; background: var(--sm-ink-0); overflow: hidden; }
.app-ext__bar i { display: block; width: 66%; height: 100%; border-radius: 3px; background: var(--sm-violet-500); }
.app-ext__meta { font-size: 10.5px; color: var(--color-text-subtle); }
@container (max-width: 399.98px) {
  .app-ext__body { grid-template-columns: minmax(0, 1fr) 150px; }
  .app-ext__panel { padding: 12px 10px; }
}
@container (max-width: 329.98px) {
  .app-ext__page { display: none; }
  .app-ext__body { grid-template-columns: minmax(0, 1fr); }
  .app-ext__panel { border-left: 0; }
}

@media (max-width: 900px) {
  .app-tech .tabshow__media { min-height: 400px; }
}
@media (max-width: 560px) {
  .app-tech__more { display: none; }
  .app-tech__seg .seg__tab { padding: 0 13px; gap: 6px; }
  .app-tech .tabshow__media { min-height: 380px; }
}
@media (max-width: 480px) {
  .app-tech__seg .seg__tab img { display: none; }
}

/* ==== 05 · Wegweiser (decision helper) ======================================================== */
.app-guide__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.app-guide__head > * + * { margin-top: var(--space-4); }
.app-guide__head h2 { max-width: 16ch; }
.app-guide__form { display: grid; gap: 10px; margin-top: var(--space-8); }
.app-q {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 20px;
  padding: 10px 10px 10px 20px; border-radius: var(--radius-lg); background: var(--sm-ink-0); border: 1px solid var(--color-border);
  transition: border-color var(--dur) var(--ease);
}
.app-q:has(input:checked) { border-color: var(--color-border-strong); }
.app-q__text { font-size: var(--fs-small); font-weight: 600; line-height: 1.4; }
.app-yn { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--color-surface-pressed); }
.app-yn label { position: relative; display: block; cursor: pointer; }
.app-yn input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.app-yn span {
  display: grid; place-items: center; min-width: 66px; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; color: var(--color-text-muted);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.app-yn label:hover span { color: var(--color-text); }
.app-yn input:checked + span { background: var(--sm-ink-0); color: var(--color-text); box-shadow: var(--shadow-xs); }
.app-yn input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.app-guide__result { position: sticky; top: calc(var(--header-h) + 24px); }
.app-guide__card { padding: 24px; border-radius: var(--radius-xl); background: var(--sm-ink-0); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.app-guide__state { display: flex; align-items: center; gap: 8px; font: 500 var(--fs-label)/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--color-brand-text); }
.app-guide__state::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--sm-ink-300); }
.app-guide__card.is-final .app-guide__state::before { background: var(--color-brand); box-shadow: 0 0 0 3px var(--sm-orange-100); }
.app-guide__options { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.app-guide__opt { display: grid; grid-template-columns: minmax(0, 10.4em) minmax(0, 1fr) 2.8em; align-items: center; gap: 12px; font-size: var(--fs-xs); font-weight: 600; color: var(--color-text-muted); }
.app-guide__meter { height: 8px; border-radius: 4px; background: var(--sm-ink-100); overflow: hidden; }
.app-guide__meter i { display: block; width: var(--pct, 0%); height: 100%; border-radius: 4px; background: var(--sm-ink-300); transition: width var(--dur-slow) var(--ease), background-color var(--dur) var(--ease); }
.app-guide__opt.is-top { color: var(--color-text); }
.app-guide__opt.is-top .app-guide__meter i { background: var(--color-brand); }
.app-guide__pct { text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; }
.app-guide__detail { display: grid; justify-items: start; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.app-guide__detail[hidden] { display: none; }
.app-guide__title { margin-top: 6px; font-size: var(--fs-h4); line-height: 1.3; letter-spacing: 0; }
.app-guide__text { font-size: var(--fs-small); line-height: 1.55; color: var(--color-text-muted); }
.app-guide__meta { font-size: 13.5px; color: var(--color-text-subtle); }
.app-guide__meta b { color: var(--color-text); }
.app-guide__detail .link-arrow { min-height: 44px; margin-bottom: -8px; }
.app-guide__also { margin-top: 14px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--color-surface-subtle); border: 1px solid var(--color-border); font-size: 13.5px; line-height: 1.45; color: var(--color-text-muted); }
.app-guide__also b { color: var(--color-text); }
.app-guide__also[hidden] { display: none; }
.app-guide__reset { min-height: 44px; margin: 12px 0 -8px -14px; color: var(--color-text-muted); }
.app-guide__reset[hidden] { display: none; }
.app-guide__reset .icon { width: 16px; height: 16px; }

@media (max-width: 960px) {
  .app-guide__grid { grid-template-columns: minmax(0, 1fr); }
  .app-guide__result { position: static; }
}
@media (max-width: 560px) {
  .app-guide__box { padding: 24px 16px; }
  .app-q { grid-template-columns: minmax(0, 1fr); padding: 14px 12px 12px 16px; gap: 10px; }
  .app-yn { justify-self: start; }
  .app-guide__card { padding: 20px 18px; }
  .app-guide__opt { grid-template-columns: minmax(0, 1fr) 2.8em; gap: 6px 10px; }
  .app-guide__opt-name { grid-column: 1; }
  .app-guide__pct { grid-column: 2; grid-row: 1; }
  .app-guide__meter { grid-column: 1 / -1; }
}

/* ==== 06 · Integrationen (accshow on violet) =================================================== */
.app-int__head-main > * + * { margin-top: var(--space-4); }
.app-int__head .section-head__lead { max-width: 52ch; }
.app-int .accshow__body .link-arrow { min-height: 44px; margin-bottom: -10px; }
/* every pane must fit without clipping (the payment sheet is the tallest) */
.app-int .accshow__media { min-height: clamp(430px, 36vw, 500px); }
@media (max-width: 900px) { .app-int .accshow__media { min-height: 430px; } }
@media (max-width: 560px) { .app-int .accshow__media { min-height: 400px; } }
.app-int__logos { justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.app-int__logos .chip img { opacity: .9; }

/* white surfaces on the violet stage share one shadow */
.app-sync__card, .app-paysheet, .app-iot__card, .app-aichat, .app-sync__end { box-shadow: 0 1px 2px rgba(9, 12, 18, .08), 0 28px 56px -24px rgba(20, 12, 70, .55); /* deep violet */ }

.app-sync { width: 100%; max-width: 350px; display: grid; gap: 16px; }
.app-sync__ends { display: flex; align-items: center; padding: 0 8px; }
.app-sync__end { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: var(--radius-pill); background: var(--sm-ink-0); font-size: 12.5px; font-weight: 700; }
.app-sync__end .app-ui__logo { width: 26px; height: 26px; }
.app-sync__erp { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--sm-orange-100); color: var(--sm-orange-700); }
.app-sync__erp .icon, .app-sync__end .icon { width: 14px; height: 14px; }
.app-sync__wire { position: relative; flex: 1; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .8) 0 5px, transparent 5px 9px); }
.app-sync__wire i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--sm-ink-0); box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.app-sync__card { padding: 2px 16px 6px; border-radius: 16px; background: var(--sm-ink-0); }
.app-sync__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 10px; border-bottom: 1px solid var(--sm-ink-100); font-size: 13px; }
.app-sync__head .mock-pill { padding: 4px 9px; font-size: 11px; }
.app-sync__card p { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--sm-ink-100); }
.app-sync__card p:last-child { border-bottom: 0; }
.app-sync__ok { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sm-mint-100); color: var(--sm-mint-700); }
.app-sync__ok .icon { width: 12px; height: 12px; stroke-width: 2.8; }
.app-sync__card b { display: block; font-size: 12.5px; line-height: 1.3; }
.app-sync__card small { display: block; font-size: 11px; line-height: 1.3; color: var(--color-text-subtle); }
.app-sync__card time { margin-left: auto; font-size: 11px; color: var(--color-text-subtle); font-variant-numeric: tabular-nums; }

.app-paysheet { width: 100%; max-width: 300px; padding: 10px 16px 18px; border-radius: 22px; background: var(--sm-ink-0); }
.app-paysheet__grab { width: 36px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: var(--sm-ink-200); }
.app-paysheet__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--sm-ink-100); }
.app-paysheet__head small { display: block; font-size: 11px; color: var(--color-text-subtle); }
.app-paysheet__head b { display: block; font-size: 15px; line-height: 1.25; }
.app-paysheet__head strong { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.app-paysheet p { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 5px 10px; border-radius: 12px; font-size: 12.5px; }
.app-paysheet p b { font-weight: 600; }
.app-paysheet p small { margin-left: auto; font-size: 10.5px; color: var(--sm-sky-700); white-space: nowrap; }
.app-paysheet p i { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid var(--sm-ink-300); }
.app-paysheet p img { width: 30px; height: 30px; margin: -6px -2px; }
.app-paysheet .is-on { background: color-mix(in srgb, var(--sm-sky-100) 60%, var(--sm-ink-0)); }
.app-paysheet .is-on i { border: 5px solid var(--sm-sky-700); }
.app-paysheet__btn {
  position: relative; display: grid; place-items: center; height: 42px; margin-top: 12px; border-radius: var(--radius-pill);
  background: var(--sm-sky-700); color: var(--sm-ink-0); font-size: 13px; font-weight: 600;
}

.app-iot { width: 100%; max-width: 320px; }
.app-iot__card { padding: 16px; border-radius: 18px; background: var(--sm-ink-0); }
.app-iot__head { display: flex; align-items: center; gap: 10px; }
.app-iot__ico { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--sm-sky-100); color: var(--sm-sky-700); }
.app-iot__ico .icon { width: 16px; height: 16px; }
.app-iot__head b { display: block; font-size: 13px; line-height: 1.3; }
.app-iot__head small { display: block; font-size: 11px; line-height: 1.3; color: var(--color-text-subtle); }
.app-iot__head .mock-pill { margin-left: auto; padding: 4px 9px; font-size: 11px; }
.app-iot__value { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; }
.app-iot__value strong { font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.app-iot__value span { font-size: 16px; font-weight: 600; color: var(--color-text-muted); }
.app-iot__value small { margin-left: auto; font-size: 11px; color: var(--color-text-subtle); }
.app-iot__chart { width: 100%; height: 64px; margin-top: 10px; overflow: visible; }
.app-iot__line { fill: none; stroke: var(--sm-sky-700); stroke-width: 2; vector-effect: non-scaling-stroke; }
.app-iot__area { fill: color-mix(in srgb, var(--sm-sky-100) 75%, transparent); }
.app-iot__limit { fill: none; stroke: var(--sm-rose-700); stroke-width: 1.2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; opacity: .7; }
.app-iot__rule { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--sm-ink-100); font-size: 11.5px; font-weight: 600; color: var(--color-text-muted); }
.app-iot__rule .icon { width: 14px; height: 14px; color: var(--sm-rose-700); }

.app-aichat { width: 100%; max-width: 320px; display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--sm-ink-0); font-size: 12.5px; line-height: 1.45; }
.app-aichat__head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--sm-ink-100); font-size: 13px; }
.app-aichat__ico { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--sm-violet-100); color: var(--sm-violet-700); }
.app-aichat__ico .icon { width: 14px; height: 14px; }
.app-aichat__photo { justify-self: end; display: flex; align-items: center; gap: 8px; max-width: 90%; padding: 6px 12px 6px 6px; border-radius: 16px 16px 4px 16px; background: var(--sm-ink-100); }
.app-aichat__img { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--grad-peach); color: var(--sm-orange-700); }
.app-aichat__img .icon { width: 18px; height: 18px; }
.app-aichat__bot { max-width: 94%; padding: 10px 12px; border-radius: 16px 16px 16px 4px; background: var(--sm-violet-50); border: 1px solid var(--sm-violet-100); color: var(--color-text-muted); }
.app-aichat__bot b { color: var(--color-text); }
.app-aichat__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.app-aichat__chips span { padding: 5px 10px; border-radius: var(--radius-pill); border: 1px solid var(--sm-ink-200); font-size: 11px; font-weight: 600; }

/* ==== 07 · Betrieb (#wartung) ================================================================ */
.app-ops { --bento-hair: rgba(9, 12, 18, .07); --bento-art-h: 230px; --bento-inset: 8px; }
.app-ops__grid {
  list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "store store upd" "crash road road";
}
.app-ops__card--store { grid-area: store; }
.app-ops__card--upd { grid-area: upd; }
.app-ops__card--crash { grid-area: crash; }
.app-ops__card--road { grid-area: road; }
.app-ops__card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--sm-ink-0); border: 1px solid var(--color-border); border-radius: var(--radius-xl); }
.app-ops__body { padding: 16px 22px 24px 24px; }
.app-ops__title { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.01em; }
.app-ops__text { margin-top: 6px; font-size: var(--fs-small); line-height: 1.55; color: var(--color-text-muted); max-width: 52ch; }
.app-ops__art--peach { --tint: var(--sm-orange-100); }

.app-rel { width: 100%; max-width: 360px; padding: 12px 14px 6px; }
.app-rel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--sm-ink-100); }
.app-rel__head b { display: block; font-size: 13px; line-height: 1.3; }
.app-rel__head small { display: block; font-size: 11px; line-height: 1.3; color: var(--color-text-subtle); }
.app-rel__plat { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.app-rel__plat .mock-pill { gap: 5px; padding: 4px 8px; font-size: 10.5px; }
.app-rel__plat img { width: 12px; height: 12px; }
.app-rel__list { list-style: none; margin: 0; padding: 4px 0 0; }
.app-rel__list li { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 12.5px; font-weight: 500; }
.app-rel__list i { width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sm-mint-100); color: var(--sm-mint-700); }
.app-rel__list i .icon { width: 11px; height: 11px; stroke-width: 2.8; }
.app-rel__list .is-now { font-weight: 600; }
.app-rel__list .is-now i { background: var(--sm-sun-100); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sm-sun-700) 45%, transparent); }
.app-rel__list .is-now i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sm-sun-700); }

.app-upd { width: 100%; max-width: 250px; padding: 12px 14px 8px; }
.app-upd__head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--sm-ink-100); font-size: 13px; }
.app-upd__head .mock-pill { margin-left: auto; padding: 4px 9px; font-size: 11px; }
.app-upd__ico { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 7px; background: var(--sm-mint-100); color: var(--sm-mint-700); }
.app-upd__list { list-style: none; margin: 0; padding: 4px 0 0; }
.app-upd__list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.app-upd__list i { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sm-mint-100); color: var(--sm-mint-700); }
.app-upd__list i .icon { width: 11px; height: 11px; stroke-width: 2.8; }
.app-upd__list b { display: block; font-size: 12.5px; line-height: 1.3; }
.app-upd__list small { display: block; font-size: 11px; line-height: 1.3; color: var(--color-text-subtle); }

.app-crash { width: 100%; max-width: 270px; display: grid; gap: 10px; padding: 12px 14px; }
.app-crash__head { display: flex; align-items: center; gap: 10px; }
.app-crash__ico { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--sm-rose-100); color: var(--sm-rose-700); }
.app-crash__head b { display: block; font-size: 12px; line-height: 1.3; }
.app-crash__head small { display: block; font-size: 11px; line-height: 1.3; color: var(--color-text-subtle); }
.app-crash__trace { display: block; padding: 7px 10px; border-radius: 8px; background: var(--sm-ink-25); border: 1px solid var(--sm-ink-100); font: 500 10.5px/1.4 var(--font-mono); color: var(--sm-rose-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-crash__foot .mock-pill { gap: 4px; padding: 4px 9px; font-size: 11px; }
.app-crash__foot .icon { width: 11px; height: 11px; stroke-width: 2.8; }

.app-board { width: 100%; max-width: 420px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.app-board__col { display: grid; gap: 6px; padding: 8px; border-radius: 12px; background: color-mix(in srgb, var(--sm-ink-0) 55%, transparent); border: 1px solid var(--bento-hair); }
.app-board__col small { padding: 2px 2px 4px; font: 500 9.5px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-subtle); }
.app-board__card { display: block; padding: 8px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.app-board__card.is-now { border-color: var(--sm-orange-300); }
.app-board__card.is-done { color: var(--color-text-muted); }
.app-board__card.is-done::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--sm-mint-700); }
.app-board__bar { display: block; height: 4px; margin-top: 8px; border-radius: 2px; background: var(--sm-orange-100); }
.app-board__bar i { display: block; width: 60%; height: 100%; border-radius: 2px; background: var(--color-brand); }

/* dated store facts */
.app-ops__status { margin-top: var(--space-8); padding: 22px 26px 24px; }
.app-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; margin-top: 10px; }
.app-facts__title { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: var(--fs-small); line-height: 1.3; letter-spacing: 0; }
.app-facts__title img { width: 16px; height: 16px; }
.app-facts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.app-facts__list li { position: relative; padding-left: 16px; font-size: var(--fs-small); line-height: 1.55; color: var(--color-text-muted); }
.app-facts__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--sm-orange-300); }
.app-facts__list b { font-weight: 600; color: var(--color-text); }

@media (min-width: 1081px) {
  .app-ops__card--wide { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .app-ops__card--wide .app-ops__body { order: -1; align-self: end; padding: 26px 16px 26px 26px; }
  .app-ops__card--wide .bento__art { height: auto; min-height: 250px; margin: var(--bento-inset) var(--bento-inset) var(--bento-inset) 0; }
}
@media (max-width: 1080px) {
  .app-ops__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "store store" "upd crash" "road road"; }
}
@media (min-width: 641px) and (max-width: 1080px) {
  .app-ops__card--road .app-board { max-width: 520px; gap: 12px; }
  .app-ops__card--road .app-board__col { padding: 10px; gap: 8px; }
  .app-ops__card--road .app-board__card { padding: 10px 12px; font-size: 12.5px; }
}
@media (max-width: 782px) {
  .app-facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .app-ops { --bento-inset: 6px; }
  .app-ops__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "store" "upd" "crash" "road"; gap: var(--space-3); }
  .app-ops__card .bento__art { height: auto; min-height: 200px; padding: 22px 14px; }
  .app-ops__body { padding: 14px 16px 20px 18px; }
  .app-ops__status { padding: 18px 18px 20px; }
  .app-board { gap: 6px; }
  .app-board__col { padding: 6px; }
  .app-board__card { padding: 7px 8px; font-size: 11px; }
}

/* ==== 08 · Preise =========================================================================== */
.app-price__foot { max-width: 760px; margin-inline: auto; line-height: 1.55; }
.app-price__foot b { color: var(--color-text); font-weight: 600; }
.app-price__calc { margin-top: var(--space-10); }
.app-price__calc-copy { display: flex; align-items: flex-start; gap: 18px; }
.app-price__calc-ico .icon { color: var(--sm-sun-700); }
@media (max-width: 560px) {
  .app-price__calc-copy { flex-direction: column; gap: 14px; }
  .app-price__calc .callout__actions .btn { width: 100%; }
}

/* ==== 09 · Team ============================================================================= */
.app-team__photo { padding-top: 32px; }
/* landscape cut-out: let it fill the stage width (cropping a little at the sides), anchored at the bottom */
.app-team__photo img { flex: none; width: min(118%, 640px); max-width: none; max-height: none; }
.app-team__people { display: grid; gap: 14px; margin-top: 22px !important; }
.app-team__people .expert__who span { line-height: 1.45; }
