/* FinKontur shared visual system for all inner pages.
   Brand reference: approved legacy guide, renamed FinKontur.
   Homepage uses home-premium.css; this stylesheet leaves it untouched. */
body:not(.home){
 --navy:#27374D;--ink:#27374D;--sky:#8FAFCC;
 --pale:#F5FBFF;--muted:#304B68;--line:rgba(39,55,77,.13);
 font-family:"Onest",Arial,sans-serif;
 font-weight:400;font-synthesis:none;font-optical-sizing:auto;
 color:var(--ink);
}
body:not(.home) button,
body:not(.home) input,
body:not(.home) select,
body:not(.home) textarea{font-family:inherit}
body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3{font-family:"Onest",Arial,sans-serif;font-weight:700}
body:not(.home) .wrap{max-width:1180px}

/* Identical branding and typography in the shared header. */
body:not(.home) .sitehead{
 background:rgba(255,255,255,.96);
 box-shadow:0 4px 24px rgba(39,55,77,.035);
 border-bottom:1px solid rgba(39,55,77,.085);
}
@media(min-width:901px){
 body:not(.home) .sitehead .nav{min-height:78px}
}
body:not(.home) .sitehead .brandname{
 font-weight:700;letter-spacing:-.035em;color:#27374D;
}
body:not(.home) .sitehead .links{
 font-family:"Onest",Arial,sans-serif;
 font-weight:500;letter-spacing:-.01em;
}
body:not(.home) .sitehead .links a{
 color:#27374D;transition:color .2s ease
}
body:not(.home) .sitehead .links a:hover{color:#304B68}
body:not(.home) .sitehead .headerConsult{
 color:#27374D;
 transition:background .2s ease,box-shadow .2s ease;
}
body:not(.home) .sitehead .headerConsult:hover{
 box-shadow:0 5px 16px rgba(39,55,77,.10);
}
body:not(.home) .sitehead .headerSocial a{
 transition:transform .25s cubic-bezier(.22,1,.36,1),filter .25s ease;
}
body:not(.home) .sitehead .headerSocial a:hover{
 transform:translateY(-2px);filter:saturate(1.12)
}

/* Consistent editorial page headings, preserving existing approved photos. */
body:not(.home) .pagehero{
 background-color:#F5FBFF;
 color:#27374D;
}
body:not(.home) .pagehero-photo::before{
 background:linear-gradient(90deg,rgba(245,251,255,.93) 0%,rgba(233,246,255,.80) 44%,rgba(233,246,255,.20) 100%)
}
body:not(.home) .pagehero h1{
 max-width:820px;
 margin:0 0 16px;
 font-size:clamp(42px,5vw,68px);
 line-height:1.045;
 letter-spacing:-.045em;
 font-weight:700;
 text-wrap:balance;
 color:#27374D;
}
body:not(.home) .pagehero .lead{
 max-width:700px;
 margin:0;
 color:#304B68;
 font-size:clamp(16px,1.45vw,19px);
 line-height:1.55;
}
body:not(.home) .pagehero .eyebrow{
 color:#304B68;font-weight:700;
}
body:not(.home) .section{padding-top:70px;padding-bottom:70px}
body:not(.home) .head h2{
 color:#27374D;
 font-size:clamp(34px,3.9vw,52px);
 letter-spacing:-.045em;
 line-height:1.1;
}
body:not(.home) .head p{color:#304B68}

/* Brand surface shapes and accessible, measured density. */
body:not(.home) .tile,
body:not(.home) .case,
body:not(.home) .contactMethod{
 border:1px solid rgba(39,55,77,.13);
 border-radius:18px;
}
body:not(.home) .tile h3,
body:not(.home) .case h3,
body:not(.home) .contactMethod h3{
 color:#27374D;
 font-size:clamp(19px,1.7vw,23px);
 font-weight:700;
 letter-spacing:-.025em;
 line-height:1.2;
}
body:not(.home) .tile p,
body:not(.home) .case p,
body:not(.home) .contactMethod p{color:#304B68;line-height:1.55}
body:not(.home) .tile .arrow{color:#304B68;font-weight:700}
body:not(.home) .tile[href]:hover{
 border-color:rgba(143,175,204,.7);
 box-shadow:0 10px 26px rgba(39,55,77,.07)
}
body:not(.home) .brand-section::before{display:none!important;content:none!important}
body:not(.home) .contactbar{background:#E9F6FF;border-radius:18px}
body:not(.home) .btn,
body:not(.home) .cta{
 background:#27374D;border-color:#27374D;color:#fff;
 border-radius:999px;font-weight:700;letter-spacing:-.01em;
}
body:not(.home) .btn.ghost{
 background:rgba(255,255,255,.72);
 border-color:#27374D;color:#27374D;
}
body:not(.home) .btn:hover,
body:not(.home) .cta:hover{filter:brightness(1.09)}
body:not(.home) .field{border-color:rgba(39,55,77,.18);background:#F5FBFF}
body:not(.home) .modalbox{border-radius:20px}
body:not(.home) .float{background:#27374D}
body:not(.home) .footer{background:#27374D;color:#fff}
body:not(.home) .footerLinks a{color:#E9F6FF;font-weight:500}
body:not(.home) .consentCheck input{accent-color:#27374D}
body:not(.home) a:focus-visible,
body:not(.home) button:focus-visible,
body:not(.home) input:focus-visible,
body:not(.home) textarea:focus-visible{
 outline:3px solid #8FAFCC;outline-offset:3px;
}
@media(max-width:900px){
 body:not(.home) .pagehero-photo::before{
  background:linear-gradient(180deg,rgba(245,251,255,.92) 0%,rgba(233,246,255,.76) 58%,rgba(233,246,255,.30) 100%)
 }
 body:not(.home) .pagehero h1{font-size:clamp(40px,7.2vw,60px)}
 body:not(.home) .section{padding-top:57px;padding-bottom:57px}
}
@media(max-width:620px){
 body:not(.home) .pagehero h1{font-size:clamp(36px,10vw,48px)}
 body:not(.home) .pagehero .lead{font-size:16px}
 body:not(.home) .section{padding-top:46px;padding-bottom:46px}
 body:not(.home) .sitehead .brandname{font-size:clamp(12px,3.5vw,15px)}
 body:not(.home) .contentgrid{gap:12px}
 body:not(.home) .tile{border-radius:18px}
 body:not(.home) .contactMethod{border-radius:18px}
}
@media(prefers-reduced-motion:reduce){
 body:not(.home) .sitehead .headerSocial a{transition:none}
}

/* Unified compact footer, matching the approved homepage. */
body:not(.home) .footer{
  padding:23px 0;
  background:#27374D;
  border-top:0;
}
body:not(.home) .footer .wrap.foot{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:nowrap;
  gap:0;
}
body:not(.home) .footerLinks{
  display:flex;justify-content:flex-end;align-items:center;
  gap:26px;flex-wrap:wrap;margin:0;
  font-size:13px;font-weight:500;
}
body:not(.home) .footerLinks a{color:#E9F6FF;white-space:nowrap}
@media(max-width:620px){
  body:not(.home) .footer{padding:24px 0}
  body:not(.home) .footer .wrap.foot{justify-content:flex-end}
  body:not(.home) .footerLinks{gap:12px 20px;margin:0}
}
