/* BERZAN Bau · Screenshot Match V8
   Target: the user-supplied berzanbau.de browser image (09 November 2026).
   This file is last in the cascade. Desktop homepage is deliberately faithful to
   the photograph placement, typography, copy, spacing, button system and header.
   Supporting pages keep V7's layout, but share the corrected visual foundation. */
:root{--v8-ink:#14252d;--v8-orange:#f36d2b;--v8-white:#fbfaf7;--v8-letter:#233640}
html:has(body.screen-v8){scroll-padding-top:90px}
html body.screen-v8{background:#f6f5f2!important;font-family:Inter,Arial,Helvetica,sans-serif}
html body.screen-v8 .wrap{width:calc(100% - 44px)!important;max-width:1410px!important;margin-left:auto;margin-right:auto}
/* BRAND BAR, equal to the reference's 90-px white strip */
html body.screen-v8 header.nav.nav{background:#fbfaf7!important;border-bottom:1px solid #e7e8e5!important;box-shadow:0 2px 8px rgba(13,31,40,.02)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body.screen-v8 header.nav.nav .nav-in{min-height:90px!important;height:90px!important;gap:28px!important}
html body.screen-v8 header.nav.nav .brand{gap:11px!important;flex:none;text-decoration:none}
html body.screen-v8 header.nav.nav .brand img{width:79px!important;height:51px!important;padding:0!important;margin:0!important;object-fit:contain;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important}
html body.screen-v8 header.nav.nav .brand-copy strong{font:700 25px/1.04 Inter,Arial,sans-serif!important;letter-spacing:-.053em!important;color:#253a42!important;white-space:nowrap}
html body.screen-v8 header.nav.nav .brand-copy strong b{font-weight:700!important;color:#a8471d!important}
html body.screen-v8 header.nav.nav .brand-copy small{font:700 8px/1.2 Inter,Arial,sans-serif!important;letter-spacing:.20em!important;color:#576872!important;margin-top:6px!important}
html body.screen-v8 header.nav.nav .nav-links{margin-left:auto!important;gap:clamp(16px,1.63vw,28px)!important;background:none!important;border:0!important;box-shadow:none!important;align-items:center!important}
html body.screen-v8 header.nav.nav .nav-links>a:not(.btn){font:700 14px/1.35 Inter,Arial,sans-serif!important;letter-spacing:0!important;color:#25343c!important;text-decoration:none!important;white-space:nowrap;padding:14px 0!important}
html body.screen-v8 header.nav.nav .nav-links>a:not(.btn):hover{color:#c85620!important}
html body.screen-v8 header.nav.nav .nav-links>a:not(.btn)::after{display:none!important}
html body.screen-v8 header.nav.nav .nav-links .nav-home{padding:10px!important}
html body.screen-v8 header.nav.nav .nav-links .nav-home svg{width:20px!important;height:20px!important;stroke:#1f333b!important}
html body.screen-v8 header.nav.nav .nav-links a.btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:144px!important;min-height:47px!important;padding:11px 17px!important;margin:0!important;background:#11232c!important;color:#fff!important;font:800 13px/1.3 Inter,Arial,sans-serif!important;border-radius:4px!important;border:1px solid #11232c!important;box-shadow:none!important;white-space:nowrap}
html body.screen-v8 header.nav.nav .nav-links a.btn:hover{background:#f36d2b!important;color:#13242c!important;border-color:#f36d2b!important}
html body.screen-v8 header.nav.nav .lang-switcher{margin:0!important;flex:none}
html body.screen-v8 header.nav.nav .lang-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:48px!important;height:48px!important;min-width:84px!important;padding:9px 11px!important;border-radius:6px!important;background:#f5f6f7!important;border:1px solid #d7dfe3!important;color:#243940!important;font:800 13px/1 Inter,Arial,sans-serif!important;box-shadow:none!important}
html body.screen-v8 header.nav.nav .lang-trigger svg{stroke:#627780!important;width:15px!important;height:15px!important}
html body.screen-v8 header.nav.nav .lang-trigger:hover{border-color:#9eacb2!important}
/* SCREENSHOT HERO: image belongs on the RIGHT, not stretched beneath the entire title. */
html body.screen-v8 .px-home .px-hero{height:auto!important;min-height:clamp(660px,42.1vw,760px)!important;background:var(--v8-ink)!important;color:#fff!important;isolation:isolate}
html body.screen-v8 .px-home .px-hero-photo{position:absolute!important;inset:0 0 0 44%!important;z-index:-3!important;overflow:hidden!important;background:#4b6265!important}
html body.screen-v8 .px-home .px-hero-photo picture,
html body.screen-v8 .px-home .px-hero-photo img{width:100%!important;height:100%!important;display:block!important}
html body.screen-v8 .px-home .px-hero-photo img{object-fit:cover!important;object-position:50% 50%!important;transform:none!important;animation:none!important;filter:none!important}
html body.screen-v8 .px-home .px-hero:before{content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:-2!important;background:linear-gradient(90deg,#14252d 0%,#14252d 37%,rgba(20,37,45,.99) 44%,rgba(20,37,45,.88) 48%,rgba(20,37,45,.43) 57%,rgba(20,37,45,0) 68%)!important}
html body.screen-v8 .px-home .px-hero:after{display:none!important}
html body.screen-v8 .px-home .px-hero-layout{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;min-height:inherit!important;padding-top:75px!important;padding-bottom:60px!important}
html body.screen-v8 .px-home .px-hero-main{max-width:630px!important;padding:0!important;margin:0!important;transform:none!important;animation:none!important;opacity:1!important}
html body.screen-v8 .px-home .px-hero-grid,
html body.screen-v8 .px-home .px-hero-side,
html body.screen-v8 .px-home .px-scroll-cue,
html body.screen-v8 .px-home .px-hero-photo-caption{display:none!important}
html body.screen-v8 .px-home .px-hero-kicker{display:flex!important;align-items:center!important;gap:15px!important;color:#f47835!important;font:800 14px/1.3 Inter,Arial,sans-serif!important;letter-spacing:.08em!important;margin:0 0 29px!important;text-transform:uppercase!important}
html body.screen-v8 .px-home .screen-v8-kicker-line{width:31px!important;min-width:31px!important;height:2px!important;background:#f47731!important;display:block!important}
html body.screen-v8 .px-home .px-hero h1{font:700 clamp(56px,4.31vw,72px)/1 Inter,Arial,sans-serif!important;color:#fff!important;letter-spacing:-.047em!important;text-wrap:initial!important;max-width:none!important;margin:0 0 28px!important}
html body.screen-v8 .px-home .px-hero h1 .screen-v8-title-line{display:block!important;white-space:nowrap!important;color:#fff!important}
html body.screen-v8 .px-home .px-hero-intro{font:400 clamp(17px,1.19vw,20px)/1.59 Inter,Arial,sans-serif!important;letter-spacing:-.012em!important;color:#f4f7f7!important;max-width:585px!important;margin:0 0 29px!important;text-wrap:initial!important}
html body.screen-v8 .px-home .px-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:31px!important}
html body.screen-v8 .px-home .px-button-primary{display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;min-width:232px!important;height:59px!important;min-height:59px!important;padding:0 27px!important;background:var(--v8-orange)!important;border:1px solid var(--v8-orange)!important;border-radius:7px!important;color:#15262d!important;font:700 17px/1 Inter,Arial,sans-serif!important;box-shadow:none!important;text-decoration:none!important}
html body.screen-v8 .px-home .px-button-primary span{font:500 23px/1 Inter,Arial,sans-serif!important;color:#15262d!important}
html body.screen-v8 .px-home .px-button-primary:hover{background:#ff8648!important;border-color:#ff8648!important;transform:translateY(-2px)!important}
html body.screen-v8 .px-home .px-link-light{font:700 17px/1.35 Inter,Arial,sans-serif!important;min-height:auto!important;padding:7px 0 3px!important;color:#fff!important;border-bottom:2px solid var(--v8-orange)!important;letter-spacing:-.02em!important;text-decoration:none!important}
html body.screen-v8 .px-home .px-link-light:hover{color:#ffaf83!important}
html body.screen-v8 .px-home .screen-hero-proofs{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:clamp(18px,1.65vw,27px)!important;margin-top:39px!important;padding:23px 0 0!important;border-top:1px solid rgba(248,248,248,.20)!important;max-width:650px!important;color:#f1f5f6!important;font:800 13px/1.35 Inter,Arial,sans-serif!important;letter-spacing:.02em!important}
html body.screen-v8 .px-home .screen-hero-proofs li{display:flex!important;align-items:center!important;gap:9px!important;white-space:nowrap!important}
html body.screen-v8 .px-home .screen-hero-proofs li::before{width:5px!important;height:5px!important;min-width:5px!important;border-radius:50%!important;background:#f36d2b!important}
/* Match the white-header palette across every remaining page, too. */
html body.screen-v8 .sv-hero-visual:after{background:linear-gradient(90deg,#14252d 0%,rgba(20,37,45,.99) 32%,rgba(20,37,45,.77) 48%,rgba(20,37,45,.12) 76%)!important}
html body.screen-v8 .ap-hero-shadow{background:linear-gradient(90deg,#14252d 0%,rgba(20,37,45,.96) 37%,rgba(20,37,45,.61) 54%,rgba(20,37,45,.1) 78%)!important}
html body.screen-v8 .sv-hero h1,html body.screen-v8 .ap-hero h1{font-family:Inter,Arial,sans-serif!important;letter-spacing:-.052em!important}
html body.screen-v8 .ref-hero-v44,html body.screen-v8 .v6-case-hero{background:#14252d!important}
html body.screen-v8 :where(a,button,input,textarea,select):focus-visible{outline:3px solid #f36d2b!important;outline-offset:3px!important}
@media(max-width:1440px) and (min-width:1151px){
 html body.screen-v8 header.nav.nav .nav-in{gap:18px!important}
 html body.screen-v8 header.nav.nav .nav-links{gap:15px!important}
 html body.screen-v8 header.nav.nav .nav-links>a:not(.btn){font-size:12px!important}
 html body.screen-v8 header.nav.nav .brand img{width:70px!important}
 html body.screen-v8 header.nav.nav .brand-copy strong{font-size:23px!important}
}
/* A compact mobile menu rather than shrinking the 8 navigation items to illegibility. */
@media(max-width:1150px){
 html body.screen-v8 header.nav.nav .nav-in{height:76px!important;min-height:76px!important;gap:12px!important}
 html body.screen-v8 header.nav.nav .brand img{width:64px!important;height:48px!important}
 html body.screen-v8 header.nav.nav .brand-copy strong{font-size:23px!important}
 html body.screen-v8 header.nav.nav .menu-btn{display:block!important;margin-left:auto!important;flex:none!important;border:1px solid #c7d0d1!important;border-radius:5px!important;background:transparent!important}
 html body.screen-v8 header.nav.nav .menu-btn span{background:#172c36!important}
 html body.screen-v8 header.nav.nav .nav-links{display:none!important;position:absolute!important;top:76px!important;left:0!important;right:0!important;width:100%!important;padding:16px 24px 24px!important;background:#fbfaf7!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;border-top:1px solid #e1e6e6!important;box-shadow:0 22px 40px rgba(14,33,43,.13)!important;max-height:calc(100dvh - 76px)!important;overflow:auto!important}
 html body.screen-v8 header.nav.nav .nav-links.open{display:flex!important}
 html body.screen-v8 header.nav.nav .nav-links>a:not(.btn){font-size:15px!important;min-height:46px!important;padding:13px 3px!important;border-bottom:1px solid #e5e8e8!important}
 html body.screen-v8 header.nav.nav .nav-links a.btn{margin-top:15px!important;max-width:100%!important;width:100%!important}
 html body.screen-v8 header.nav.nav .lang-switcher{margin-left:0!important}
 html body.screen-v8 .px-home .px-hero-photo{inset:0 0 0 35%!important}
 html body.screen-v8 .px-home .px-hero:before{background:linear-gradient(90deg,#14252d 0%,rgba(20,37,45,.97) 40%,rgba(20,37,45,.49) 72%,rgba(20,37,45,.09) 100%)!important}
 html body.screen-v8 .px-home .px-hero-main{max-width:76%!important}
 html body.screen-v8 .px-home .px-hero h1{font-size:clamp(48px,5.5vw,65px)!important}
 html body.screen-v8 .px-home .screen-hero-proofs{font-size:11px!important}
}
@media(max-width:760px){
 html body.screen-v8 .wrap{width:calc(100% - 40px)!important}
 html body.screen-v8 header.nav.nav .nav-in{height:72px!important;min-height:72px!important}
 html body.screen-v8 header.nav.nav .brand img{width:51px!important;height:39px!important}
 html body.screen-v8 header.nav.nav .brand-copy strong{font-size:20px!important}
 html body.screen-v8 header.nav.nav .brand-copy small{font-size:7px!important}
 html body.screen-v8 header.nav.nav .nav-links{top:72px!important;max-height:calc(100dvh - 72px)!important}
 html body.screen-v8 header.nav.nav .lang-trigger{min-width:65px!important;height:42px!important;min-height:42px!important;padding:7px!important;gap:5px!important}
 html body.screen-v8 .px-home .px-hero{min-height:780px!important}
 html body.screen-v8 .px-home .px-hero-photo{inset:0 0 40% 0!important}
 html body.screen-v8 .px-home .px-hero-photo img{object-position:58% 35%!important}
 html body.screen-v8 .px-home .px-hero:before{background:linear-gradient(0deg,#14252d 0%,#14252d 35%,rgba(20,37,45,.98) 47%,rgba(20,37,45,.54) 68%,rgba(20,37,45,.04) 100%)!important}
 html body.screen-v8 .px-home .px-hero-layout{justify-content:flex-end!important;padding-top:300px!important;padding-bottom:49px!important}
 html body.screen-v8 .px-home .px-hero-main{max-width:100%!important}
 html body.screen-v8 .px-home .px-hero-kicker{font-size:10px!important;gap:9px!important;margin-bottom:18px!important}
 html body.screen-v8 .px-home .screen-v8-kicker-line{width:23px!important;min-width:23px!important}
 html body.screen-v8 .px-home .px-hero h1{font-size:clamp(37px,10.3vw,53px)!important;line-height:1.03!important;letter-spacing:-.052em!important;margin:0 0 18px!important}
 html body.screen-v8 .px-home .px-hero h1 .screen-v8-title-line{white-space:normal!important}
 html body.screen-v8 .px-home .px-hero-intro{font-size:14.5px!important;line-height:1.58!important;max-width:43ch!important;margin-bottom:22px!important}
 html body.screen-v8 .px-home .px-actions{flex-direction:column!important;align-items:stretch!important;gap:12px!important}
 html body.screen-v8 .px-home .px-button-primary{height:54px!important;min-height:54px!important;width:100%!important;font-size:16px!important}
 html body.screen-v8 .px-home .px-link-light{align-self:flex-start!important;font-size:15px!important}
 html body.screen-v8 .px-home .screen-hero-proofs{margin-top:22px!important;padding-top:15px!important;gap:9px 16px!important;font-size:10px!important}
 html body.screen-v8 .px-home .screen-hero-proofs li{white-space:normal!important}
}
@media(max-width:390px){
 html body.screen-v8 header.nav.nav .brand img{width:46px!important}
 html body.screen-v8 header.nav.nav .brand-copy strong{font-size:18px!important}
 html body.screen-v8 .px-home .px-hero{min-height:790px!important}
 html body.screen-v8 .px-home .px-hero h1{font-size:39px!important}
 html body.screen-v8 .px-home .screen-hero-proofs{font-size:9px!important}
}
@media(prefers-reduced-motion:reduce){html body.screen-v8 .px-home .px-hero-photo img,html body.screen-v8 .px-home .px-hero-main{animation:none!important;transform:none!important}}

/* Avoid excessively long translated headline lines on non-German desktop views. */
html[lang]:not([lang="de"]) body.screen-v8 .px-home .px-hero h1 .screen-v8-title-line{white-space:normal!important}
