/* Shared brand shell, plus targeted rhythm and contrast corrections. */
.ti-common-header,.ti-common-footer{font-family:Roboto,Arial,sans-serif;color:#191b18;background:#fafbf7;box-sizing:border-box}
.ti-common-header *,.ti-common-footer *{box-sizing:border-box}
:root{--ti-header-height:80px}
html,body{overflow-x:clip!important;overflow-y:visible!important}
html{scroll-padding-top:calc(var(--ti-header-height) + 16px)}
.ti-common-header{height:var(--ti-header-height);padding:8px max(24px,calc((100% - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:32px;border-bottom:1px solid #ccd0c4;position:sticky;top:0;z-index:100;background:#fafbf7}
@supports ((backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px))){.ti-common-header{background:rgba(250,251,247,.78);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}}
.ti-common-logo{display:inline-flex;align-items:center;flex-shrink:0;text-decoration:none}
.ti-common-logo img{width:154px;height:60px;object-fit:contain;display:block}
.ti-common-nav{display:flex;align-items:center;gap:26px;white-space:nowrap}
.ti-common-nav a,.ti-common-menu a{font-size:14px;font-weight:500;color:#191b18;text-decoration:none;line-height:1.4}
.ti-common-nav a[aria-current],.ti-common-menu a[aria-current]{text-decoration:underline;text-decoration-color:#ca3125;text-underline-offset:6px;text-decoration-thickness:2px}
.ti-common-header .ti-common-contact{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;box-sizing:border-box;border:1px solid #bfc5b5;border-radius:6px;padding:12px 18px;white-space:nowrap}
.ti-common-header .ti-common-contact .ti-contact-icon{display:block;flex:0 0 20px;width:20px;height:20px;vertical-align:middle;transform:none;overflow:visible}
.ti-common-nav a:hover,.ti-common-menu a:hover,.ti-common-footer a:hover{color:#94241a}
.ti-common-header .ti-common-menu{display:none;padding:0;border:0;background:transparent}
.ti-common-header a:focus-visible,.ti-common-header summary:focus-visible,.ti-common-footer a:focus-visible{outline:2px solid #af271d;outline-offset:5px}
.ti-common-footer{border-top:1px solid #ccd0c4;padding:36px max(24px,calc((100% - 1180px)/2)) 28px;margin:0;width:100%;max-width:none}
.ti-common-footer-main{display:grid;grid-template-columns:180px 1fr 1fr;gap:32px;align-items:start}
.ti-common-footer p{font-size:12px;line-height:1.7;margin:0;color:#4c5146}
.ti-common-footer-main nav{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.ti-common-footer a{font-size:13px;color:#4c5146;text-underline-offset:3px}
.ti-common-footer-bottom{display:flex;flex-wrap:wrap;gap:12px 24px;border-top:1px solid #d9dcd2;padding-top:22px;margin-top:28px}
.method-icon,.scope-section .number{color:#b8291e!important}
.skip-link{position:absolute;left:16px;top:-100px;z-index:10000;padding:12px 18px;background:#fff;color:#191b18}
.skip-link:focus{top:8px}
.case-compact{display:block!important;padding-top:38px!important;padding-bottom:38px!important;min-height:0!important}
.case-compact .case-copy{max-width:850px}
.case-compact h2{font-size:clamp(30px,3.1vw,44px)!important;margin-bottom:16px!important}
.case-compact p{margin-bottom:20px!important}
.case-compact .case-preview-button{margin-top:0!important}
body:not(.homepage) .hero.wrap>div:first-child{align-self:center}
.hero.wrap .button[href="#kontakt"]{margin-top:24px}
.hero.wrap .sample-button{background:transparent!important;color:#191b18!important;border:1px solid #bfc5b5;box-shadow:none}
#leadForm>.form-heading:empty{display:none}
@media(max-width:1100px){
 :root{--ti-header-height:72px}
 .ti-common-header{height:72px;padding:6px 24px;gap:16px}
 .ti-common-header .ti-common-nav{display:none}
 .ti-common-header .ti-common-menu{display:block;position:static;margin:0}
 .ti-common-menu summary{display:block;cursor:pointer;font-size:14px;line-height:1.4;padding:12px 18px;background:#fafbf7;color:#191b18;border:1px solid #ccd0c4;border-radius:6px;list-style:none}
 .ti-common-menu summary::-webkit-details-marker{display:none}
 .ti-common-menu nav{display:flex;flex-direction:column;position:absolute;right:24px;top:calc(100% + 8px);width:min(310px,calc(100vw - 32px));max-height:calc(100dvh - var(--ti-header-height) - var(--ti-cookie-space,0px) - 16px);overflow-y:auto;padding:12px;background:#fafbf7;border:1px solid #ccd0c4;border-radius:6px;box-shadow:0 8px 24px #191b1814;gap:4px;z-index:60}
 .ti-common-menu:not([open]) nav{display:none}
 .ti-common-menu nav a{display:block;padding:12px;min-height:44px}
 .ti-common-footer-main{grid-template-columns:160px 1fr;gap:24px}
 .ti-common-footer-main nav{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;gap:16px 24px}
}
@media(max-width:600px){
 :root{--ti-header-height:68px}
 .ti-common-header{height:68px;padding:4px 20px}
 .ti-common-logo img{width:124px;height:52px}
 .ti-common-footer{padding:28px 20px 24px}
 .ti-common-footer-main{grid-template-columns:1fr;gap:24px}
 .ti-common-footer-main nav{gap:16px 20px}
 .ti-common-footer-bottom{gap:16px 20px;margin-top:24px}
 .hero.wrap .button[href="#kontakt"]{margin-top:20px}
 .case-compact{padding-top:28px!important;padding-bottom:28px!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Legacy energy page had broad mobile navigation rules; keep the shared shell. */
body.energy-landing .ti-common-menu nav a.ti-common-contact{background:transparent;color:#191b18;font-size:14px}
/* Scope beats legacy element-wide !important typography in the energy template. */
.ti-common-header,.ti-common-footer{font-size:14px!important;line-height:1.5!important}
.ti-common-nav a,.ti-common-menu nav a{font-size:14px!important;line-height:1.4!important;font-weight:500!important}
.ti-common-menu summary{font-size:14px!important;line-height:1.4!important;font-weight:500!important}
footer.ti-common-footer{padding:36px max(24px,calc((100% - 1180px)/2)) 28px!important}
.ti-common-footer p{font-size:12px!important;line-height:1.7!important;margin:0!important;font-weight:400!important}
.ti-common-footer a{font-size:13px!important;line-height:1.55!important;font-weight:400!important}
@media(max-width:600px){footer.ti-common-footer{padding:28px 20px 24px!important}}
/* Post-review: match the existing brand weight and button geometry on energy. */
body.energy-landing .energy-hero h1{font-weight:700!important}
body.energy-landing .button{border-radius:6px!important}
/* One consent bar for all four templates; all choices retain equal emphasis. */
body .cookie-bar{font-family:Roboto,Arial,sans-serif!important;--max:1180px;background:#252824!important}
body .cookie-bar .cookie-inner{box-sizing:border-box;width:min(1180px,calc(100% - 32px));margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:14px 0 calc(14px + env(safe-area-inset-bottom))!important}
body .cookie-bar .cookie-copy{margin:0!important;max-width:760px;color:#e3e5de!important;font-family:Roboto,Arial,sans-serif!important;font-size:13px!important;line-height:1.4!important;font-weight:400!important}
body .cookie-bar .cookie-copy b{font-weight:700!important;color:#fff!important}
body .cookie-bar .cookie-copy a{font-size:13px!important;line-height:1.4!important;font-weight:400!important;color:#fff!important;text-decoration:underline!important;text-underline-offset:3px}
body .cookie-bar .cookie-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body .cookie-bar .cookie-actions button{box-sizing:border-box;min-width:0;min-height:44px;margin:0!important;padding:8px 12px!important;border:1px solid #b2b6ac!important;border-radius:6px!important;background:transparent!important;color:#fff!important;font-family:Roboto,Arial,sans-serif!important;font-size:13px!important;line-height:1.2!important;font-weight:500!important;text-align:center;white-space:nowrap;box-shadow:none!important;cursor:pointer}
body .cookie-bar .cookie-actions button:hover{background:#ffffff14!important;border-color:#fff!important}
body .cookie-bar .cookie-actions button:focus-visible{outline:2px solid #fff!important;outline-offset:2px!important}
@media(max-width:1000px){body .cookie-bar .cookie-inner{grid-template-columns:1fr;gap:10px;padding:10px 0 calc(10px + env(safe-area-inset-bottom))!important}}
@media(max-width:600px){
 body .cookie-bar .cookie-inner{width:calc(100% - 24px);gap:8px;padding:8px 0 calc(8px + env(safe-area-inset-bottom))!important}
 body .cookie-bar .cookie-copy,body .cookie-bar .cookie-copy a{font-size:13px!important;line-height:1.35!important}
 body .cookie-bar .cookie-actions{gap:4px}
 body .cookie-bar .cookie-actions button{font-size:clamp(12px,3.33vw,13px)!important;padding:6px 3px!important}
}
html{scroll-padding-bottom:var(--ti-cookie-space,0px)}
@media(max-width:600px){body .cookie-bar .cookie-actions button{font-size:13px!important;white-space:normal;min-height:46px;padding:5px 4px!important}}
