/* Approved homepage hero, 2 November 2026. */
.home-page.hero-personal .hero {min-height:850px; height:auto;}
.hero-personal .hero h1 {max-width:860px;text-wrap:balance;}
.home-page.hero-personal .hero .hero-lead,
.home-page.hero-personal .hero .hero-support {font-family:var(--sans);font-size:17px;font-weight:400;line-height:1.7;max-width:660px;}
.home-page.hero-personal .hero .hero-lead {margin:24px 0 30px;}
.hero-personal .hero-copy {max-width:660px;}
.home-page.hero-personal .hero .hero-support {margin:0 0 18px;}
.hero-personal .hero .actions {margin-top:28px;}
@media(max-width:650px){
.home-page.hero-personal .hero {min-height:0;padding-bottom:32px;}
.home-page.hero-personal .hero .hero-lead,
.home-page.hero-personal .hero .hero-support {font-size:16px;line-height:1.65;}
.home-page.hero-personal .hero .hero-lead {margin:22px 0 26px;}
.hero-personal .hero .actions {margin-top:24px;}
}

/* Requested trial: existing intermediate heading scale in the hero. */
.home-page.hero-personal .hero .hero-lead {
  font-family:var(--serif);
  font-size:var(--subheading-size);
  font-weight:400;
  line-height:1.3;
  max-width:660px;
  text-wrap:pretty;
  margin:26px 0 30px;
}

/* Sofa photograph trial, with a light reading area on the left. */
.home-page.hero-personal .hero::before {background-position:center center;}
.home-page.hero-personal .hero::after {
 background:linear-gradient(90deg,rgba(247,246,242,.97) 0%,rgba(247,246,242,.94) 30%,rgba(247,246,242,.85) 44%,rgba(247,246,242,.38) 56%,rgba(247,246,242,0) 67%);
}
.home-page.hero-personal .hero h1 {max-width:60%;}
.home-page.hero-personal .hero .hero-lead,
.home-page.hero-personal .hero-copy {max-width:51%;}
@media(max-width:900px){
 .home-page.hero-personal .hero {padding-top:390px;min-height:0;}
 .home-page.hero-personal .hero::before {height:390px;background-position:right 28%;}
 .home-page.hero-personal .hero::after {height:390px;background:linear-gradient(0deg,var(--paper),rgba(247,246,242,0) 25%);}
 .home-page.hero-personal .hero-inner {padding-top:24px;margin-bottom:36px;}
 .home-page.hero-personal .hero h1,
 .home-page.hero-personal .hero .hero-lead,
 .home-page.hero-personal .hero-copy {max-width:100%;}
}
@media(max-width:500px){
 .home-page.hero-personal .hero {padding-top:310px;}
 .home-page.hero-personal .hero::before,
 .home-page.hero-personal .hero::after {height:310px;}
}

/* Approved armchair portrait: subject on the far right, soft reading area. */
@media(min-width:901px){
 .home-page.hero-personal .hero::before {left:auto;right:0;width:auto;height:100%;aspect-ratio:2.066;background-size:auto 102%;background-position:left bottom;}
}
@media(max-width:900px){
 .home-page.hero-personal .hero::before {left:auto;right:0;width:auto;aspect-ratio:2.066;background-size:auto 102%;background-position:left bottom;}
}

/* Home: Angebotsfragen gemäss Vorlage . */
.home-page .offerings #offerings-title { max-width: 850px; }
.home-page .offerings .service-card .service-category { font-family:var(--sans); font-size:1rem; font-weight:700; letter-spacing:.18em; line-height:1.5; margin:0 0 1.25rem; }
.home-page .offerings .service-card h3 { font-family:var(--serif); font-size:clamp(1.65rem,2.3vw,2.25rem); line-height:1.2; min-height:0; display:block; margin:0 0 1.5rem; }

/* Align offer copy to the tallest heading in each desktop row. */
@media (min-width: 901px) {
 .home-page .offerings .service-grid { row-gap: 0; }
 .home-page .offerings .service-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
 .home-page .offerings .service-card-body { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
}

/* Crop the Harmony photo to the adjacent text height. */
.home-page .colour-feature[aria-labelledby="home-harmony-title"] .colour-figure img {
 aspect-ratio:4/5;
 height:auto;
 object-fit:cover;
 object-position:center 40%;
}
@media(min-width:901px) {
 .home-page .colour-feature[aria-labelledby="home-harmony-title"] .image-text { align-items:stretch; }
 .home-page .colour-feature[aria-labelledby="home-harmony-title"] .colour-figure { position:relative; min-height:0; }
 .home-page .colour-feature[aria-labelledby="home-harmony-title"] .colour-figure a { position:absolute; inset:0; overflow:hidden; }
 .home-page .colour-feature[aria-labelledby="home-harmony-title"] .colour-figure img { height:100%; aspect-ratio:auto; }
}

/* Keep the biography portrait within the height set by its copy. */
.home-page .home-bio .portrait-figure { max-width:480px; }
.home-page .home-bio .portrait-figure img { object-fit:cover; object-position:center 35%; }
@media(min-width:901px) {
 .home-page .home-bio { align-items:stretch; }
 .home-page .home-bio .portrait-figure { position:relative; min-height:0; overflow:hidden; }
 .home-page .home-bio .portrait-figure img { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; }
}
@media(max-width:900px) {
 .home-page .home-bio .portrait-figure { max-width:380px; }
 .home-page .home-bio .portrait-figure img { height:auto; aspect-ratio:4/5; }
}

/* Explicit card frame prevents intrinsic image dimensions changing row height. */
.home-page .offerings .service-image { position:relative; width:100%; aspect-ratio:4/3; }
.home-page .offerings .service-image img { display:block; position:absolute; inset:0; width:100%; height:100%; min-height:0; object-fit:cover; }
.home-page .offerings a[href="/service/raumenergetik/"] .service-image img { object-position:65% center; }
