/* BerHaus services/home: the existing WordPress direction, without a CMS dependency. */
.bh-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.bh-service-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dce2d9;border-radius:30px;padding:9px;background:#fff;color:#23312b}
.bh-service-photo{position:relative;display:block}
.bh-service-photo img{display:block;width:100%;height:auto;aspect-ratio:1.7;object-fit:cover;border-radius:23px}
.bh-service-arrow{position:absolute;right:22px;bottom:-22px;display:grid;place-items:center;width:58px;height:58px;border:7px solid #fff;border-radius:50%;background:#e4ed64;color:#12372d}
.bh-service-arrow .icon{width:20px;height:20px}
.bh-service-body{padding:28px 24px 20px;display:flex;flex:1;flex-direction:column}
.bh-service-body :is(h2,h3){font-size:27px;line-height:1.3;letter-spacing:-.035em;font-weight:600;color:#111;margin:0 0 21px;min-height:70px;text-wrap:balance}
.bh-service-body p{font-size:16px;line-height:1.75;color:#667168;border-top:1px solid #dce2d9;padding-top:17px;margin:0;flex:1}
.bh-service-card:hover .bh-service-arrow,.bh-service-card:focus-visible .bh-service-arrow{background:#183f34;color:#fff}
.bh-service-card:focus-visible{outline:3px solid #28704e;outline-offset:4px}
.is-services .service-list-shell{padding-bottom:100px}
.is-brand-page .bh-section{padding-block:88px}
.bh-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:64px;margin-bottom:44px}
.is-brand-page .bh-section-heading h2{font-size:48px;line-height:1.14;letter-spacing:-.045em;font-weight:600;max-width:24ch;margin:0;text-wrap:balance}
.bh-section-heading>p{font-size:17px;line-height:1.75;max-width:47ch;margin:0;color:#667168}
.bh-section-heading .text-link{flex:none;font-size:16px}
.is-home .home-landing{position:relative;isolation:isolate;min-height:860px;color:white;background:#12372d;overflow:hidden}
.home-landing-photo{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 55%}
.home-landing:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,25,20,.86),rgba(10,25,20,.58) 43%,rgba(10,25,20,.08) 85%)}
.home-landing-content{padding-top:236px;padding-bottom:190px}
.is-home .home-landing h1{font-size:80px;line-height:1.08;letter-spacing:-.055em;font-weight:600;max-width:14ch;margin:0 0 30px;color:white;text-wrap:balance}
.is-home .home-landing p{font-size:19px;line-height:1.75;max-width:54ch;color:white;margin:0 0 32px}
.home-landing .actions{gap:18px}
.home-landing .btn{min-height:56px;padding:14px 26px;border-radius:30px;font-size:16px}
.home-landing .btn-ghost{background:transparent;border:1px solid #ffffff80;color:white}
.home-landing .btn-ghost:hover{background:#fff;color:#12372d}
.home-landing-foot{position:absolute;bottom:0;left:5%;width:90%;padding-block:30px;display:flex;align-items:center;justify-content:space-between;gap:40px;border-top:1px solid #ffffff66}
.is-home .home-landing-foot p{font-size:16px;line-height:1.5;margin:0;max-width:65ch}
.home-landing-foot>a{display:flex;align-items:center;gap:20px;font-size:16px;min-height:44px}
.home-landing-foot>a .icon{width:40px;height:40px;padding:11px;border:1px solid #ffffff80;border-radius:50%;transform:rotate(90deg)}
.home-about{background:#f2f5ef}
.home-about-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:100px}
.home-about-photo{width:100%;height:auto;aspect-ratio:1.45;object-fit:cover;border-radius:30px}
.is-home .home-about h2{font-size:48px;line-height:1.16;letter-spacing:-.045em;font-weight:600;margin:0 0 26px;max-width:23ch;text-wrap:balance}
.home-about p{font-size:18px;line-height:1.8;color:#667168;max-width:57ch;margin:0 0 25px}
.home-about .check-list{margin-block:26px 30px;font-size:16px}
.home-about .text-link{font-size:16px}
.home-workflow .process-grid{gap:55px}
.home-workflow .process-step{border-radius:0;border:0;border-top:1px solid #bfcbbd;background:none;padding:28px 0 0}
.home-workflow .process-number{font-size:48px;font-weight:500;background:none;color:#28704e;padding:0;margin-bottom:24px;width:auto;height:auto;display:block;line-height:1}
.is-home .home-workflow h3{font-size:25px;line-height:1.3;font-weight:600;margin:0 0 15px}
.home-workflow .process-step p{font-size:17px;line-height:1.8;color:#667168;max-width:48ch;margin:0}
.home-projects{background:#f2f5ef}
.is-home .project-card h3{font-size:29px;line-height:1.16;font-weight:600;letter-spacing:-.035em;color:white;margin:0 0 22px;text-wrap:balance}
.is-home .project-card__more{display:inline-flex;justify-content:center;gap:22px;background:#e4ed64;color:#12372d;border-radius:30px;min-height:48px;padding:11px 22px;font-size:15px;font-weight:600}
.is-home .project-card>a:hover .project-card__more{background:#183f34;color:#fff}
.is-home .news-related-grid .news-card h3{font-size:25px;line-height:1.35;letter-spacing:-.03em}
.is-home .news-related-grid .news-card p{font-size:16px;line-height:1.75}
.is-home .news-related-grid .news-card__image{aspect-ratio:16/9}
.is-home .news-related-grid .news-chip{background:#e4ed64}
.is-home .home-faq{background:#f2f5ef}
.is-home .home-faq .section{padding-block:88px}
.is-home .home-faq h2{font-size:43px;line-height:1.17;font-weight:600;letter-spacing:-.04em}
.is-legal .news-banner h1{max-width:22ch}
.is-brand-page .inner-content-shell{position:relative;z-index:1;background:#fff;border-radius:28px 28px 0 0;margin-top:-26px}
.is-legal .legal-content>*{max-width:80ch}
@media(max-width:1279px){
 .bh-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
 .home-about-layout{gap:45px}.is-home .home-landing h1{font-size:clamp(42px,6vw,72px)}
 .home-landing-content{padding-top:200px}.is-home .home-landing{min-height:800px}
 .bh-section-heading{gap:30px}.is-brand-page .bh-section-heading h2,.is-home .home-about h2{font-size:38px}
}
@media(max-width:699px){
 .bh-service-grid,.home-about-layout{grid-template-columns:minmax(0,1fr)}
 .bh-section-heading{align-items:flex-start;flex-direction:column;gap:20px}
 .is-brand-page .bh-section{padding-block:56px}.is-brand-page .bh-section-heading h2,.is-home .home-about h2{font-size:32px}
 .home-landing-content{padding-top:180px;padding-bottom:210px}.is-home .home-landing p{font-size:17px}
 .home-landing-foot{align-items:flex-start;flex-direction:column;gap:12px;padding-block:24px}
 .home-workflow .process-grid{gap:32px}.is-home .home-faq h2{font-size:32px}
 .bh-service-body :is(h2,h3){min-height:0;font-size:25px}
}
