/* Compact laptop offer, retaining generous type and responsive mobile spacing. */
@media(min-width:1021px){
 :root body.patient-home main>section#behandlungen{padding-block:30px}
 :root body.patient-home #behandlungen .home-section-heading{margin-bottom:20px;max-width:none}
 :root body.patient-home #behandlungen .home-section-heading h2{margin-bottom:10px}
 :root body.patient-home #behandlungen .home-section-heading>p:last-child{margin-bottom:0}
 :root body.patient-home #behandlungen .home-care-grid{grid-auto-rows:auto;gap:16px}
 :root body.patient-home #behandlungen .home-care-card{padding:18px 20px}
 :root body.patient-home #behandlungen .home-care-card h3{min-height:0;margin-bottom:8px;font-size:1.125rem;line-height:1.35}
 :root body.patient-home #behandlungen .home-care-card h3>a{min-height:32px}
 :root body.patient-home #behandlungen .home-care-card>p{font-size:1.0625rem;line-height:1.5;margin-bottom:8px}
 :root body.patient-home #behandlungen .home-care-card .home-training-link{min-height:32px;line-height:1.4;padding-block:4px}
 :root body.patient-home #behandlungen .home-care-card .home-care-actions{min-height:44px;padding-top:0}
 :root body.patient-home #behandlungen .home-care-card .home-care-actions a.home-care-book{padding:8px 16px}
}
@media(max-width:760px){
 :root body.patient-home main #start .brand-service-line a{font-size:1.0625rem!important;line-height:1.45!important;min-height:36px;display:flex;align-items:center;padding:5px 0;margin:0;white-space:normal!important}
 :root body.patient-home main #start .brand-service-line li{white-space:normal!important;width:100%}
 :root body.patient-home main #start .brand-service-line{gap:5px!important}
}
/* Compact offer booking pills; equal-height cards across both rows. */
:root body.patient-home #main-content #behandlungen .home-care-grid{grid-auto-rows:1fr}
:root body.patient-home #main-content #behandlungen .home-care-card .home-care-actions{min-height:40px}
:root body.patient-home #main-content #behandlungen .home-care-card .home-care-actions a.home-care-book[href]{min-height:40px;padding:6px 16px;font-size:14px!important;line-height:1.4!important}
@media(pointer:coarse),(max-width:760px){
 :root body.patient-home #main-content #behandlungen .home-care-card .home-care-actions{min-height:44px}
 :root body.patient-home #main-content #behandlungen .home-care-card .home-care-actions a.home-care-book[href]{min-height:44px}
}
/* Fit the six offers into a compact laptop overview without reducing body type. */
@media(min-width:1021px){
 :root body.patient-home main#main-content>section#behandlungen{padding-block:16px}
 :root body.patient-home #main-content #behandlungen .home-section-heading{margin-bottom:14px}
 :root body.patient-home #main-content #behandlungen .home-care-grid{gap:16px}
 :root body.patient-home #main-content #behandlungen .home-care-card{padding:18px 22px}
 :root body.patient-home #main-content #behandlungen .home-care-card h3{margin-bottom:8px}
 :root body.patient-home #main-content #behandlungen .home-care-card[class][class]>p{font-size:16px!important;line-height:1.5!important;margin-bottom:10px}
 :root body.patient-home #main-content #behandlungen .home-care-card .home-care-actions{padding-top:4px}
}
/* MTT stays within the compact physiotherapy card, alongside its booking action. */
:root body.patient-home #main-content#main-content #behandlungen .home-care-actions:has(.home-training-link){gap:10px;flex-wrap:nowrap}
:root body.patient-home #main-content#main-content #behandlungen .home-care-actions a.home-training-link{flex:1 1 0;min-width:0;max-width:calc(100% - 98px);margin:0 auto 0 0!important;font-size:14px!important;line-height:1.35!important;white-space:normal;text-align:left}
:root body.patient-home #main-content#main-content #behandlungen .home-care-actions a.home-care-book{flex:none}

/* Preserve the single-screen overview on shorter laptop windows. */
@media(min-width:1021px) and (max-height:720px){
 :root body.patient-home #main-content #behandlungen .home-care-grid{gap:12px}
 :root body.patient-home #main-content #behandlungen .home-care-card{padding:14px 18px}
 :root body.patient-home #main-content #behandlungen .home-care-card h3{margin-bottom:6px}
 :root body.patient-home #main-content #behandlungen .home-care-card .home-care-actions{padding-top:0}
}
@media(min-width:1021px) and (min-height:721px) and (max-height:800px){
 :root body.patient-home #main-content #behandlungen .home-care-grid{gap:14px}
 :root body.patient-home #main-content #behandlungen .home-care-card{padding:16px 18px}
}
