/* Reviewed main-section spacing. Plugin controls, navigation, input borders and focus outlines stay intact. */
#ahp-site .ah14 .hero.ah47-hero .ah47-hero-person{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;max-width:360px!important;justify-self:center}
#ahp-site .ah14 .hero.ah47-hero .ah47-hero-person::before,#ahp-site .ah14 .hero.ah47-hero .ah47-hero-person::after{content:none!important;display:none!important}
#ahp-site .ah14 .hero.ah47-hero .ah47-hero-person img{border:0!important;border-radius:16px!important;box-shadow:0 6px 20px #122c2220!important;display:block;width:100%;height:100%}
#ahp-site .ah14 .hero.ah47-hero .hero-container.ah47-hero-grid{padding-top:72px!important;padding-bottom:96px!important;min-height:0!important}
#ahp-site .ah14 .hero.ah47-hero{min-height:0!important;height:auto!important;padding:0!important}
#ahp-site .ah14 .sticky-bridge.wrap{position:relative!important;top:auto!important;transform:none!important;margin-top:0!important}
#ahp-site .ah14 .hero-actions{margin-bottom:0!important}
#ahp-site .ah14 .hero.ah47-hero h1{font-size:clamp(40px,3.3vw,49px)!important}
/* Full-mode frames follow the photograph. Reset only real image containers, never linked content cards. */
#ahp-site .ah14 .ahp-fit-full-frame,#ahp-site .ahp-media .ahp-fit-full-frame{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
#ahp-site img[data-ahp-frame-fit="full"]{display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;border-radius:16px!important}
#ahp-site .ahp-media[data-ahp-fit="full"]{aspect-ratio:auto!important;height:auto!important;min-height:0!important;background:transparent!important}
#ahp-site .ah14 img[data-ahp-frame-fit="crop"]{object-fit:cover!important;object-position:var(--ah14-desktop-x,50%) var(--ah14-desktop-y,20%)!important}
#ahp-site .ahp-media img[data-ahp-frame-fit="crop"]{object-fit:cover!important;object-position:var(--amh-img-x,50%) var(--amh-img-y,50%)!important}
#ahp-site .ah14 .page > section.section,#ahp-site .ahp-interior > section.ahp-section,#ahp-site .ahp-reference > section.ahp-section{padding-top:112px!important;padding-bottom:112px!important;border-top:0!important;border-bottom:0!important}
#ahp-site .ah14 :is(.beratung-wert,.beratung-wrap,.ah42-benefits,.process-header,.section-heading,.booking-title,.more-paths-head,.ah53-additional-topics),#ahp-site :is(.ahp-design-section,.ahp-reference-section,.ahp-section > .ahp-wrap){border-top:0!important;border-bottom:0!important}
#ahp-site .ah14 :is(.beratung-wert,.ah42-benefits){margin-top:64px!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important}
#ahp-site .ah14 .beratung-wert{gap:40px!important}
#ahp-site .ah14 :is(.section,.beratung-wert,.ah42-benefits)::before,#ahp-site .ah14 :is(.section,.beratung-wert,.ah42-benefits)::after,#ahp-site .ahp-section::before,#ahp-site .ahp-section::after{border-top:0!important;border-bottom:0!important}
#ahp-site .ahp-section > hr,#ahp-site .ahp-reading > hr,#ahp-site .ah14 .page > hr{display:none!important}
#ahp-site :is(a.ahp-text-link,a.text-button,.ahp-inline-link){text-underline-offset:4px!important;margin-bottom:24px}
#ahp-site .ah14 a.text-button{border-bottom:0!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:4px!important;padding-bottom:4px!important}
/* Native details: one grid row expands, no fixed answer height. */
#ahp-site .ah14 .faq-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:20px!important;columns:auto!important;column-count:auto!important}
#ahp-site .ah14 .faq-list > details.faq-answer{display:block!important;align-self:stretch!important;margin:0!important;padding:0!important;border:0!important;border-radius:14px!important;min-height:0!important;background:#f0eee8!important;overflow:visible!important;transform:none!important}
#ahp-site .ah14 details.faq-answer > summary{box-sizing:border-box;position:relative;display:flex!important;align-items:center!important;min-height:92px!important;height:auto!important;padding:22px 60px 22px 24px!important;margin:0!important;border:0!important;list-style:none!important;font-size:18px;line-height:1.5;cursor:pointer}
#ahp-site .ah14 details.faq-answer > summary::before{display:none!important;content:none!important}
#ahp-site .ah14 details.faq-answer > summary::after{content:'+'!important;position:absolute!important;right:24px!important;top:50%!important;transform:translateY(-50%)!important;font-size:24px;line-height:1;width:20px;text-align:center;color:#31594b!important}
#ahp-site .ah14 details.faq-answer[open] > summary::after{content:'−'!important}
#ahp-site .ah14 details.faq-answer > summary::-webkit-details-marker{display:none}
#ahp-site .ah14 details.faq-answer > div{height:auto!important;max-height:none!important;padding:0 24px 24px!important;margin:0!important;border:0!important}
#ahp-site .ah14 details.faq-answer > summary:focus-visible{outline:3px solid #31594b;outline-offset:3px;border-radius:12px}
/* Technical legal layout, scoped away from the legal text and its embedded forms. */
#ahp-site .ahp-native-page .ahPrivacy26 .ahp-hero,#ahp-site .ahp-native-page .ahLegal .ahLegalHero{background:#173c35!important;background-image:none!important;color:#fff!important}
#ahp-site .ahp-native-page .ahPrivacy26 .ahp-hero :is(h1,h2,p,a,span),#ahp-site .ahp-native-page .ahLegal .ahLegalHero :is(h1,h2,p,a,span){color:#fff!important}
#ahp-site .ahp-native-page .ahPrivacy26 .ahp-hero .ahp-badge,#ahp-site .ahp-native-page .ahLegal .ahLegalHero .ahLegalBadge{background:#245044!important;color:#fff!important;border-color:#ffffff50!important}
#ahp-site :is(.ahp-kicker,.ahp-small,.ahp-section-nav,.ahp-design-nav,.ahp-reference-nav,.overline,.ah14-region-hint,.ah47-reassurance,.ahp-media-note){font-size:13px!important;line-height:1.55}
#ahp-site .ah14 :is(.person-facts span,.person-facts strong,.person-facts small,.tax,.hero-person-caption),.ahp-footer-navigation :is(small,.ahp-footer-legal-trust),.amh-site-footer :is(small,.amh-site-footer__role,.amh-site-footer__bottom){font-size:13px!important;line-height:1.55}
#ahp-site a[href^="tel:"],.amh-site-footer a[href^="tel:"]{white-space:nowrap}
.amh-site-footer a[href*="/impressum"],.amh-site-footer a[href*="/datenschutz"]{display:inline-flex;align-items:center;min-height:24px}
@media(max-width:1100px){
 #ahp-site .ah14 .page > section.section,#ahp-site .ahp-interior > section.ahp-section,#ahp-site .ahp-reference > section.ahp-section{padding-top:88px!important;padding-bottom:88px!important}
 #ahp-site .ah14 img[data-ahp-frame-fit="crop"]{object-position:var(--ah14-tablet-x,50%) var(--ah14-tablet-y,20%)!important}
 #ahp-site .ahp-media img[data-ahp-frame-fit="crop"]{object-position:var(--amh-img-x-tablet,50%) var(--amh-img-y-tablet,50%)!important}
}
@media(max-width:740px){
 #ahp-site .ah14 .hero.ah47-hero .hero-container.ah47-hero-grid{padding-top:40px!important;padding-bottom:56px!important}
 #ahp-site .ah14 .hero.ah47-hero h1{font-size:clamp(32px,7.6vw,42px)!important}
 #ahp-site .ah14 .page > section.section,#ahp-site .ahp-interior > section.ahp-section,#ahp-site .ahp-reference > section.ahp-section{padding-top:64px!important;padding-bottom:64px!important}
 #ahp-site .ah14 .faq-list{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 #ahp-site .ah14 details.faq-answer > summary{padding:20px 52px 20px 20px!important;min-height:82px!important}
 #ahp-site .ah14 details.faq-answer > summary::after{right:20px!important}
 #ahp-site .ah14 img[data-ahp-frame-fit="crop"]{object-position:var(--ah14-mobile-x,50%) var(--ah14-mobile-y,20%)!important}
 #ahp-site .ahp-media img[data-ahp-frame-fit="crop"]{object-position:var(--amh-img-x-mobile,50%) var(--amh-img-y-mobile,50%)!important}
}

#ahp-site small,#ahp-site .ah14 .bridge-title small,#ahp-site .ah47-reassurance span,.amh-site-footer .ahp-footer-legal-trust{font-size:13px!important;line-height:1.55}

#ahp-site .ah14 .hero-underlay[data-amh-image-slot]{transform:scale(var(--amh-img-flip-x,1),var(--amh-img-flip-y,1))!important}

#ahp-site .ahp-native-page :is(.ahPrivacy26,.ahLegal) :is(h1,h2,h3,h4,dd,dt,a){overflow-wrap:anywhere!important;min-width:0}
