/* Responsive-Ergaenzungen 28.10.2026 – bestehendes Design bleibt erhalten */
html,body{max-width:100%;}
img,video,iframe{max-width:100%;}
img{height:auto;}
.container,.wrap,.pw-wrap,.reform-wrap{min-width:0;}
.row > *,[class*="col-"]{min-width:0;}
.service-card,.team-card,.value-card,.detail-panel{min-width:0;}
.service-image img,.team-photo img,.intro-photo,.alltag-photo{max-width:100%;}
.service-image img,.team-photo img{height:100%;}
.herz-footer__brand,.site-brand,.brand,.footer-brand{overflow-wrap:anywhere;}
@media(max-width:991.98px){
 .navbar-collapse{max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain;}
 .navbar .dropdown-menu{max-width:100%;}
 .subpage-demo-window > .subpage-demo-hero h1{overflow-wrap:break-word;}
}
@media(max-width:767.98px){
 .subpage-demo-window{height:auto!important;min-height:340px;}
 .subpage-demo-window > .subpage-demo-hero{min-height:340px!important;height:auto!important;padding:42px 20px!important;}
 .subpage-demo-window > .team-hero{height:340px!important;min-height:340px!important;padding:0!important;}
 .subpage-demo-window > .subpage-demo-hero h1{font-size:clamp(1.9rem,8vw,3rem)!important;line-height:1.12;}
 .subpage-demo-window > .subpage-demo-hero p{font-size:.95rem;}
 .section{padding-top:55px;padding-bottom:55px;}
 .section-heading{margin-bottom:32px;}
 .intro-photo{min-height:0;max-height:none;aspect-ratio:4/3;object-fit:cover;}
 .service-image{height:230px;}
 .team-photo{height:280px;}
 .footer-bottom,.herz-footer__bottom{overflow-wrap:anywhere;}
 .btn-premium,.btn-outline-premium{max-width:100%;white-space:normal;text-align:center;}
}
@media(max-width:420px){
 .subpage-demo-window > .subpage-demo-hero{padding:34px 16px!important;}
 .subpage-demo-window > .subpage-demo-hero h1{font-size:clamp(1.75rem,8vw,2.35rem)!important;}
 .service-body,.team-card-body{padding:20px!important;}
 .service-image{height:205px;}
 .herz-footer{padding-left:15px;padding-right:15px;}
}
