/* "So kommen Sie zu Ihrem Haus." (#ablauf): four stops on one path, today's stop lit. Built from build/content*.mjs (26 Nov 2026). */
.steps{--st-pad:20px;--st-gap:24px;--st-fig:226px}
.steps-head{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:64px;align-items:end;margin-bottom:44px}
.steps-head h2{max-width:none;text-wrap:balance}
.steps-web{display:flex;align-items:center;gap:22px}
.steps-web p{font-size:19px;line-height:1.5;color:var(--ink-2);max-width:30ch}
.st-devices{flex:none;width:132px;height:auto;overflow:visible}
.st-dev rect,.st-dev path{fill:#fff;stroke:var(--graphite);stroke-width:1.6;stroke-linejoin:round}
.st-dev use{fill:none;stroke:var(--graphite);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* the path: one stage, four stops */
.path{list-style:none;margin:0;padding:24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--st-gap);border-radius:28px;
  background:radial-gradient(circle at 1px 1px,rgba(60,64,72,.13) 1px,transparent 1.4px) 0 0/18px 18px,linear-gradient(180deg,#eef0f4 0%,#f5f6f8 55%,#fafafc 100%);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.035)}
.stop{position:relative;display:flex;flex-direction:column;padding:var(--st-pad);border-radius:20px}
.stop.now{align-self:start;background:#fff;box-shadow:0 0 0 1px rgba(0,113,227,.16),0 1px 2px rgba(0,0,0,.05),0 26px 50px -28px rgba(0,80,170,.38)}
.stop-fig{position:relative;height:var(--st-fig);display:flex;align-items:flex-end;justify-content:center}
.figbox{position:relative;width:min(100%,calc(var(--st-fig) * var(--r)));aspect-ratio:var(--r)}
.steps .figbox .iso-svg{position:absolute;inset:0;width:100%;height:100%}

/* the when-row is the track: a dot per stop, a dashed run to the next one */
.when{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:22px;font-size:14px;font-weight:600;color:var(--ink)}
.dot{position:relative;z-index:1;flex:none;width:12px;height:12px;border-radius:50%;background:var(--ground);box-shadow:inset 0 0 0 2px rgba(58,58,60,.5)}
.now .dot{background:var(--blue);box-shadow:0 0 0 5px rgba(0,113,227,.14)}
.now .when{color:var(--blue)}
.stop:not(:last-child) .when::after{content:"";position:absolute;left:20px;top:5px;height:2px;width:calc(100% + 2 * var(--st-pad) + var(--st-gap) - 24px);
  background:repeating-linear-gradient(90deg,rgba(58,58,60,.3) 0 6px,transparent 6px 12px)}
.now .when::after{background:linear-gradient(90deg,var(--blue),rgba(0,113,227,0) 70%),repeating-linear-gradient(90deg,rgba(58,58,60,.3) 0 6px,transparent 6px 12px)}

.stop h3{margin-top:12px;font-size:21px;line-height:1.2;letter-spacing:-.02em}
.stop p{margin-top:8px;font-size:16px;line-height:1.5;color:var(--ink-2)}
.stop .quiet{margin-top:12px;font-size:16px;color:var(--blue);align-self:flex-start}
.stop .quiet::after{color:var(--blue)}

/* today: the waiting-list ticket */
.ticket{position:relative;width:232px;height:122px;margin-bottom:22px;transform:rotate(-4deg);
  filter:drop-shadow(0 0 .5px rgba(0,0,0,.18)) drop-shadow(0 16px 18px rgba(0,60,140,.18));transition:transform .5s var(--anatomy-ease)}
.tk-body{display:grid;grid-template-columns:1fr 62px;height:100%;-webkit-mask:radial-gradient(circle at calc(100% - 62px) 0,#0000 8px,#000 8.5px) top/100% 51% no-repeat,radial-gradient(circle at calc(100% - 62px) 100%,#0000 8px,#000 8.5px) bottom/100% 51% no-repeat;
  mask:radial-gradient(circle at calc(100% - 62px) 0,#0000 8px,#000 8.5px) top/100% 51% no-repeat,radial-gradient(circle at calc(100% - 62px) 100%,#0000 8px,#000 8.5px) bottom/100% 51% no-repeat}
.tk-body{background:#fff;border-radius:13px}
.tk-main{display:flex;flex-direction:column;padding:16px 16px 14px 18px;border-radius:13px 0 0 13px;background:#fff}
.tk-k{font-size:12px;font-weight:600;color:var(--blue)}
.tk-main b{margin-top:2px;font-size:20px;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.tk-mail{margin-top:auto;font-size:12.5px;color:var(--muted)}
.tk-stub{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:0 13px 13px 0;
  background:radial-gradient(circle at 0 50%,rgba(255,255,255,.55) 1.1px,transparent 1.5px) 0 2px/4px 7px repeat-y,var(--graphite)!important;color:#fff;font-size:11px;font-weight:600}
.tk-stub svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.stop.now:hover .ticket{transform:rotate(-1.5deg) translateY(-4px)}

.here{position:absolute;top:6px;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
  font-size:13px;font-weight:600;color:var(--blue);background:#fff;padding:5px 11px 5px 9px;border-radius:999px;
  box-shadow:0 0 0 1px rgba(0,113,227,.18),0 8px 18px -10px rgba(0,80,170,.45)}
.here::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 0 rgba(0,113,227,.45);animation:st-ping 2.4s var(--anatomy-ease) infinite}
@keyframes st-ping{0%{box-shadow:0 0 0 0 rgba(0,113,227,.45)}70%,100%{box-shadow:0 0 0 7px rgba(0,113,227,0)}}

/* at launch: sign-up and payment, drawn in the app's look */
.acct{display:flex;flex-direction:column;gap:8px;width:214px;margin-bottom:14px;padding:16px;border-radius:16px;background:#fff;
  box-shadow:0 0 0 1px rgba(0,0,0,.05),0 1px 2px rgba(0,0,0,.05),0 22px 40px -24px rgba(29,29,31,.35);transition:transform .5s var(--anatomy-ease)}
.acct b{font-size:15px;font-weight:600;color:var(--ink);margin-bottom:2px}
.fld{display:flex;align-items:center;gap:8px;height:32px;padding:0 11px;border-radius:9px;background:#f1f2f5;font-size:13px;color:var(--muted)}
.fld svg{width:18px;height:13px;fill:none;stroke:var(--graphite);stroke-width:1.4;stroke-linecap:round}
.acct-btn{display:flex;align-items:center;justify-content:center;height:32px;margin-top:2px;border-radius:999px;background:var(--graphite);color:#fff;font-size:13px;font-weight:500}
.stop:hover .acct{transform:translateY(-4px)}

/* then: your house, the key at its door */
.steps .fig .st-door{position:absolute;display:inline-flex;margin:0;font-size:13px;padding:4px 9px;white-space:nowrap;transform:translate(-50%,-160%);display:inline-flex;align-items:center;gap:6px;font-weight:600}
.st-door::before{display:none}
.st-key{width:15px;height:15px;fill:none;stroke:var(--blue);stroke-width:1.6;stroke-linecap:round}
.steps .hk-step{transition:transform .6s var(--anatomy-ease)}
.stop:hover .hk-step{transform:translateY(-4px)}

/* after that: what comes out of the papers */
.stop-fig.st-work{display:grid;grid-template-rows:auto auto;align-content:end;justify-items:center;gap:10px}
.st-work .figbox{width:min(100%,calc((var(--st-fig) - 78px) * var(--r)))}
.outs{list-style:none;margin:0 0 6px;padding:0;display:grid;grid-template-columns:auto auto;justify-content:center;gap:6px}
.outs li:nth-child(odd){justify-self:end}.outs li:nth-child(even){justify-self:start}
.outs li{font-size:12.5px;font-weight:600;color:var(--ink);background:rgba(255,255,255,.92);padding:3px 9px;border-radius:7px;white-space:nowrap;
  box-shadow:0 1px 2px rgba(0,0,0,.06),0 6px 14px -8px rgba(0,0,0,.2)}

/* the honest limit: a quiet line, not a box */
.steps-limit{margin-top:28px;font-size:16px;line-height:1.5;color:var(--ink-2);max-width:72ch}
.steps-limit b{color:var(--ink);font-weight:600}

@media (prefers-reduced-motion:reduce){
  .here::before{animation:none}
  .ticket,.acct,.steps .hk-step{transition:none}
}

/* tablet: two by two, the track runs inside each row */
@media (max-width:1100px){
  .steps-head{grid-template-columns:1fr;gap:20px}
  .path{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stop:nth-child(2n) .when::after{display:none}
}
/* phone: one column, the track turns into a dashed run down to the next stop */
@media (max-width:640px){
  .steps{--st-pad:18px;--st-gap:14px;--st-fig:176px}
  .steps-web{gap:16px}
  .steps-web p{font-size:17px}
  .st-devices{width:96px}
  .path{grid-template-columns:1fr;padding:12px;border-radius:24px}
  .stop .when::after{display:none}
  .when{flex-direction:row;align-items:center}
  .ticket{width:214px;height:114px}
  .stop h3{font-size:20px}
}
