/* A real moment of care becomes a single, scroll-led product story. */
.how-page{--how-ease:cubic-bezier(.22,1,.36,1)}
.how-page .how-hero{padding:calc(var(--kopf) + 48px) 0 62px;background:#fbfcfe;overflow:hidden}
.how-hero__grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:56px;align-items:center}
.how-hero__copy{padding:22px 0;position:relative;z-index:2}
.how-page .how-hero h1{font-size:clamp(44px,4.8vw,70px);line-height:1.03;letter-spacing:-.045em}
.how-page .how-hero .lead{font-size:18px;line-height:1.65;margin:26px 0 28px;max-width:450px;color:#566177}
.how-hero h1 .wort,.how-hero h1[data-reveal]{opacity:1;transform:none;transition:none}
.how-title__line,.how-hero h1>.wort{display:block}
.how-hero .strich::after{transform:scaleX(1);height:.08em;transition:none}
.how-hero__demo{display:inline-flex;gap:12px;align-items:center;font-size:14px;font-weight:700;color:var(--navy);padding:14px 0;margin-left:20px}
.how-hero__demo:hover{text-decoration:underline;text-underline-offset:4px}
.how-hero__caption{font-size:12px;color:#5e697e;margin-top:25px}
.how-hero__scene{position:relative;height:580px;min-width:0}
.how-hero__photo{position:absolute;inset:0 -7vw 20px 60px;overflow:hidden;border-radius:28px 0 0 28px;background:#e6e5df}
.how-hero__photo img{width:100%;height:calc(100% + 52px);max-width:none;object-fit:cover;object-position:100% 50%;transform:translateY(calc(-26px + var(--hero-drift,0px)))}
.how-hero__app{position:absolute;left:-16px;bottom:-16px;width:190px;margin:0;padding:7px;background:#17223b;border:1px solid #344259;border-radius:28px;box-shadow:0 24px 46px #04055035;transform:translateY(var(--hero-device-drift,0px)) rotate(-5deg)}
.how-hero__app img{border-radius:21px;width:100%}
.how-hero__app figcaption{font-size:10px;color:#dbe4ef;text-align:center;padding:10px 0 4px}

.how-story{--story-height:calc(100svh - var(--kopf));--step-progress:0;--scene-y:0px;--scene-angle:0deg;background:var(--midnight);color:#fff;position:relative;scroll-margin-top:var(--kopf)}
.how-story__sticky{overflow:clip}
.how-story__inner{padding:36px 0 30px}
.how-story__heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:23px}
.how-story__heading h2{font-size:30px;color:#fff;line-height:1.15;letter-spacing:-.025em}
.how-story__heading p{font-size:12px;line-height:1.4;color:#bdc8dc}
.how-story__nav{display:flex;gap:8px;max-width:100%}
.how-story__nav a{display:flex;gap:10px;align-items:center;justify-content:center;width:25%;padding:14px 12px;border-radius:12px 12px 0 0;background:#ffffff05;color:#b5c2d8;font-weight:700;font-size:15px;line-height:1.25;min-height:48px;transition:background 180ms ease,color 180ms ease}
.how-story__nav a span{font:11px var(--mono);opacity:.7}
.how-story__nav a:hover,.how-story__nav a[aria-current="step"]{color:#fff;background:#ffffff10}
.how-story__nav a[aria-current="step"] span{color:var(--gold-1);opacity:1}
.how-story__progress{height:2px;background:#ffffff20;overflow:hidden}
.how-story__progress span{display:block;width:100%;height:100%;background:var(--gold-1);transform:scaleX(var(--step-progress));transform-origin:left}
.how-step{display:grid;grid-template-columns:1fr 1.1fr;gap:50px;align-items:center;padding:45px 0;scroll-margin-top:calc(var(--kopf) + 24px)}
.how-step+.how-step{border-top:1px solid #ffffff20}
.how-step__copy{max-width:480px;min-width:0}
.how-step__label{font:500 12px/1.5 var(--mono);display:flex;gap:12px;align-items:center;color:#b7c9e0;margin-bottom:16px}
.how-step__label span{color:var(--gold-1)}
.how-step h3{font-size:clamp(32px,3.25vw,48px);line-height:1.08;color:#fff;letter-spacing:-.035em;max-width:15ch}
.how-step__intro{font-size:16px;color:#ced7e7;line-height:1.6;margin-top:20px;max-width:43ch}
.how-step__points{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:12px;color:#e2e7f1;font-size:14px;line-height:1.55}
.how-step__points li{position:relative;padding-left:23px}
.how-step__points li::before{content:'✓';position:absolute;left:0;top:0;color:#f6cc6d;font-size:13px}
.how-step .link-pfeil{font-size:13px;color:#fff;margin-top:20px}
.how-stage{min-width:0;position:relative;display:grid;place-items:center;min-height:510px;isolation:isolate}
.how-stage__orbit{position:absolute;inset:2% -2%;z-index:-1;border:1px solid #91acc41a;border-radius:50%;background:radial-gradient(ellipse,#2f517966,transparent 66%);transform:translateY(calc(var(--scene-y)*-.5)) rotate(var(--scene-angle))}
.how-stage__orbit::before{content:'';position:absolute;inset:12% -6%;border:1px solid #e4ebf912;border-radius:50%;transform:rotate(-24deg)}
.how-device{width:222px;max-height:100%;margin:0 0 0 90px;background:#131e34;padding:7px;border:1px solid #6b809c;border-radius:30px;box-shadow:0 28px 48px #0005,0 1px 0 #c9d4e660 inset;transform:perspective(1200px) translateY(var(--scene-y)) rotateY(var(--scene-angle))}
.how-device img{width:100%;height:auto;border-radius:23px;background:#fff}
.how-note{position:absolute;left:0;display:flex;align-items:flex-start;gap:10px;max-width:170px;padding:15px 13px;background:linear-gradient(145deg,#ffffff12,#ffffff05);border:1px solid #ffffff25;border-radius:15px;box-shadow:0 15px 30px #0001;transform:translateY(calc(var(--scene-y)*-1.2));font-size:13px;font-weight:700;line-height:1.35;color:#f2f5fc}
.how-note--0{top:17%}.how-note--1{bottom:17%}
.how-note svg{width:20px;height:20px;flex:none;color:#e9bf64}
.how-note small{display:block;font-size:11px;font-weight:400;line-height:1.5;color:#b9cbe2;margin-top:5px}
.how-step--report .how-stage__orbit{background:radial-gradient(ellipse,#236a7b70,transparent 66%)}
.how-step--recognise .how-stage__orbit{background:radial-gradient(ellipse,#967c393b,transparent 66%)}
.how-story__controls{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #ffffff20;padding-top:17px;font-size:11px;color:#b6c4d9}
.how-story__controls[hidden]{display:none}
.how-story__controls>div{display:flex;align-items:center;gap:16px}
.how-story__controls button{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff30;background:#ffffff0b;border-radius:50%;color:#fff;font:20px var(--font);cursor:pointer;transition:background 180ms ease,transform 150ms var(--how-ease)}
.how-story__controls button:hover{background:#ffffff18}.how-story__controls button:active{transform:scale(.95)}
.how-story__controls button:disabled{opacity:.25;cursor:default}
.how-story :focus-visible{outline:2px solid var(--gold-1);outline-offset:4px}
.how-story.is-scroll{height:calc(var(--story-height)*3.6)}
.how-story.is-scroll .how-story__sticky{position:sticky;top:var(--kopf);height:var(--story-height)}
.how-story.is-scroll .how-story__inner{height:100%;display:flex;flex-direction:column}
.how-story.is-scroll .how-story__viewport{position:relative;flex:1;min-height:0}
.how-story.is-scroll .how-step{position:absolute;inset:0;margin:0;padding:22px 0;border:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 230ms var(--how-ease)}
.how-story.is-scroll .how-step.is-active{opacity:1;visibility:visible;pointer-events:auto}
.how-story.is-scroll .how-stage{height:100%;min-height:0}
.how-story.is-scroll .how-device{width:clamp(174px,calc((var(--story-height) - 270px)*.47),230px)}
.how-story.is-stepper .how-step{display:none;border:0}
.how-story.is-stepper .how-step.is-active{display:grid}
.how-story.is-stepper .how-story__progress span{transition:transform 220ms var(--how-ease)}
.how-values{overflow:hidden;background:#f4f6fb;padding:26px 0;border-bottom:1px solid #e5e9f2}
.how-values>div{display:flex;align-items:center;justify-content:center;gap:38px;white-space:nowrap;transform:translateX(var(--values-drift,0px));width:max-content;min-width:100%}
.how-values span{font-size:clamp(18px,2.2vw,30px);font-weight:700;color:#676f88;letter-spacing:-.02em}
.how-values i{font-size:20px;font-style:normal;color:#ba8d2d}
.how-toolkit{padding:85px 0 80px;background:#fff}
.how-toolkit+.abschnitt{background:var(--cloud)} /* FAQ als eigene Flaeche: weiss, cloud, weiss */
.how-toolkit__heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:40px}
.how-toolkit__heading h2{font-size:clamp(34px,3.6vw,52px);line-height:1.08;letter-spacing:-.035em}
.how-toolkit__heading p{font-size:16px;color:#5c687b;max-width:30ch;line-height:1.6}
.how-toolkit__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.how-toolkit__group{background:#fff;border:1px solid var(--card-line);box-shadow:var(--card-lift);border-radius:22px;padding:24px 22px 12px;align-self:start}
.how-toolkit__group h3{font-size:18px;line-height:1.3;margin-bottom:18px;letter-spacing:-.02em}
.how-feature{border-top:1px solid #dfe5ee}
.how-feature summary{list-style:none;display:flex;align-items:center;gap:11px;min-height:73px;cursor:pointer;color:var(--navy);font-size:14px;font-weight:700;line-height:1.4}
.how-feature summary::-webkit-details-marker{display:none}
.how-feature summary svg{width:20px;height:20px;flex:none;color:var(--teal)}
.how-feature summary>span{flex:1}
.how-feature summary>b{font-size:22px;font-weight:400;color:#63758b;transition:transform 180ms var(--how-ease)}
.how-feature[open] summary>b{transform:rotate(45deg)}
.how-feature p{font-size:14px;line-height:1.65;color:#536077;margin:0 2px 22px 31px}
.how-toolkit__footnote{font-size:12px;color:#637087;margin:24px 0 28px}
.how-toolkit__footnote a{text-decoration:underline;text-underline-offset:3px;color:var(--navy)}
@media (max-width:1150px){
 .how-hero__grid{gap:32px}.how-hero__scene{height:520px}.how-hero__app{width:160px;left:-10px}
 .how-page .how-hero h1{font-size:clamp(43px,5.2vw,60px)}
 .how-page .how-hero .lead{font-size:16px}
 .how-hero__demo{display:flex;margin:12px 0 0}.how-hero__caption{margin-top:10px}
 .how-step{gap:24px}.how-note{max-width:140px;padding:12px 10px;font-size:12px;gap:8px}.how-note svg{width:17px;height:17px}
 .how-step h3{font-size:36px}.how-step__points{font-size:13px;gap:10px}.how-step__intro{font-size:15px}
 .how-toolkit__grid{gap:16px}.how-toolkit__group{padding:22px 16px 10px}
}
@media (max-height:800px) and (min-width:960px){
 .how-story__inner{padding-block:24px 20px}.how-story__heading{margin-bottom:15px}.how-story__heading h2{font-size:26px}
 .how-step h3{font-size:36px}.how-step__intro{font-size:14px;margin-top:15px}.how-step__points{font-size:13px;gap:8px;margin-top:16px}
 .how-step__label{margin-bottom:12px}.how-story__controls{padding-top:12px}
}
@media (max-width:820px){
 .how-page .how-hero{padding:calc(var(--kopf) + 30px) 0 40px}
 .how-hero__grid{grid-template-columns:1fr;gap:30px}
 .how-hero__copy{padding:0}.how-page .how-hero h1{font-size:clamp(43px,7.5vw,62px)}
 .how-page .how-hero .lead{max-width:580px;font-size:17px;margin:22px 0}
 .how-hero__demo{display:inline-flex;margin:0 0 0 20px}.how-hero__caption{margin-top:18px}
 /* Das Handy steht kleiner und tiefer am unteren Rand: das Gesicht des Mannes (bei 64 % der Bildbreite) und der Pflegekraft (89 %) bleiben frei (22.10.2026) */
 .how-hero__scene{height:390px;margin-bottom:52px}
 .how-hero__photo{inset:0 -5vw 0 50px;border-radius:24px 0 0 24px}
 .how-hero__app{width:118px;left:4px;bottom:-48px}
 .how-story__inner{padding:30px 0 24px}.how-story__heading{display:block;margin-bottom:20px}.how-story__heading h2{font-size:27px}.how-story__heading p{margin-top:9px;font-size:12px}
 .how-story__nav{gap:4px}.how-story__nav a{padding:12px 5px;font-size:12px;gap:5px}.how-story__nav a span{font-size:9px}
 .how-step{grid-template-columns:1fr;gap:24px;padding:26px 0}
 .how-stage{order:-1;min-height:350px;max-width:500px;width:100%;margin-inline:auto}
 .how-device{width:162px;margin-left:90px;border-radius:24px;padding:5px}.how-device img{border-radius:19px}
 .how-note{max-width:142px;left:5px;font-size:12px}.how-note--0{top:16%}.how-note--1{bottom:16%}
 .how-step__copy{max-width:620px}.how-step h3{font-size:33px;max-width:18ch}.how-step__label{margin-bottom:12px}
 .how-step__intro{font-size:16px;margin-top:16px}.how-step__points{font-size:14px;margin-top:20px;gap:10px}
 .how-story__controls{gap:16px}.how-story__controls>div{gap:12px}.how-story__screen-note{max-width:20ch;font-size:10px}
 .how-values{padding:20px 0}.how-values>div{gap:25px}.how-values span{font-size:22px}
 .how-toolkit{padding:48px 0}.how-toolkit__heading{display:block;margin-bottom:28px}.how-toolkit__heading p{margin-top:18px;font-size:15px;max-width:none}
 .how-toolkit__grid{grid-template-columns:1fr;gap:16px}.how-toolkit__group{padding:22px 22px 8px}.how-feature summary{min-height:64px}
}
@media (max-width:400px){
 .how-page .how-hero h1{font-size:41px}.how-hero__demo{margin:12px 0 0;display:flex}
 .how-hero__scene{height:330px}.how-hero__app{width:104px}
 .how-note{max-width:120px;padding:12px 9px;gap:7px;font-size:11px}.how-note small{font-size:10px}.how-note svg{width:15px;height:15px}
 .how-story__nav a{font-size:11px}.how-story__nav a span{display:none}
}
@media (prefers-reduced-motion:reduce){
 .how-page *, .how-page *::before, .how-page *::after{scroll-behavior:auto!important}
 .how-hero__photo img{transform:translateY(-26px)}.how-hero__app{transform:none}
 .how-story *, .how-toolkit *, .how-values>div{transition:none!important;animation:none!important}
 .how-device,.how-note,.how-stage__orbit,.how-values>div{transform:none}
}
@media print{
 .how-hero__scene,.how-values,.how-story__nav,.how-story__controls{display:none!important}
 .how-page .how-hero{padding:20px 0}.how-hero__grid{display:block}
 .how-story{height:auto!important;background:#fff!important;color:#000!important}
 .how-story__sticky{position:static!important;height:auto!important}
 .how-story__inner,.how-story__viewport{display:block!important}
 .how-story .how-step{display:grid!important;position:static!important;opacity:1!important;visibility:visible!important;grid-template-columns:1fr 1fr;break-inside:avoid}
 .how-story :is(h2,h3,p,li){color:#111!important}.how-note{display:none}.how-device{transform:none!important;width:140px}
 .how-toolkit__grid{grid-template-columns:1fr}.how-feature p{display:block!important}
}
