:root{--er-ink:#182c49;--er-sea:#29466d;--er-warm:#f4f0e8;--er-light:#eaf0f6;--nv-primary-accent:#233f67;--nv-secondary-accent:#853e25}
.er-trap{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);pointer-events:none}
.er-home{color:var(--er-ink);font-family:system-ui,sans-serif;line-height:1.65}
.er-home h1,.er-home h2,.er-home h3,.er-cases h2{color:inherit;letter-spacing:-.035em;line-height:1.13;text-transform:none}
.er-home h1{font:500 clamp(2.4rem,5vw,5.2rem)/1.04 Georgia,serif;max-width:16ch;margin:.3em 0}
.er-home h2,.er-cases h2{font:500 clamp(1.65rem,3vw,2.85rem)/1.13 Georgia,serif;margin:0 0 .65em}
.er-home h3{font-size:1.14rem;margin:0 0 .55em}.er-home p{margin:0 0 1em}
.er-section,.er-hero{padding:clamp(2rem,5vw,5rem) max(5%,calc((100% - 1200px)/2));box-sizing:border-box}
.er-hero{background:#182c49;color:white;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:3rem}.er-hero figure{margin:0}.er-hero img{width:100%;height:clamp(250px,28vw,415px);object-fit:cover;border-radius:3px}
.er-hero p{max-width:60ch}.er-intro{background:#f4f0e8}.er-intro p{max-width:87ch}.er-section:nth-of-type(even){background-color:#f4f0e8}
.er-grid,.er-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.er-card{position:relative;padding:1.4rem;background:white;border:1px solid #cad1dc;border-radius:4px}.er-card p{font-size:.97rem;margin:0}.er-card a,.er-person a{color:#233f67;text-decoration:none}.er-card a:after{content:"";position:absolute;inset:0}.er-card:hover,.er-card:focus-within{background:#eaf0f6;border-color:#566c89}.er-people{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}.er-person img{aspect-ratio:4/5;object-fit:cover;object-position:center 22%;width:100%}.er-person{margin:0}.er-person figcaption{padding:.6em 0}
.er-cases{margin:2.5rem auto;padding:clamp(1.4rem,3vw,2.6rem);background:#eaf0f6;color:#182c49;max-width:1150px}.er-cases p{max-width:86ch}.er-form{background:#eaf0f6!important}.er-form form{max-width:760px}.er-form input,.er-form textarea{max-width:100%}
body.page:not(.home) main h1,body.single-post main h1{font-family:Georgia,serif;letter-spacing:-.03em;color:#1a304e}body.page:not(.home) main h2,body.single-post main h2{color:#263e60}
@media(max-width:780px){.er-hero{grid-template-columns:1fr;gap:1rem}.er-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.er-hero img{height:230px}}
@media(max-width:540px){.er-grid{grid-template-columns:1fr}.er-people{grid-template-columns:repeat(2,minmax(0,1fr))}}
.er-grid>.wp-block-group__inner-container,.er-hero>.wp-block-group__inner-container,.er-people>.wp-block-group__inner-container{display:contents}
header .header-top,header .header-bottom{display:none!important}
header .site-logo img.neve-site-logo{width:52px!important;height:52px!important;max-width:52px!important;object-fit:cover}
header .site-logo .brand{display:flex;align-items:center;gap:.75rem}
header .site-logo .brand:after{content:"Energierechtler";font:500 clamp(1.2rem,2vw,1.65rem) Georgia,serif;color:#182c49}
header .header-main-inner{padding:10px 0;background:#fff}
.er-legal{background:#182c49;color:white;display:flex;flex-wrap:wrap;justify-content:center;gap:1.25rem;padding:1.25rem}
.er-legal a{color:white;text-decoration:underline}
.er-form label{display:block;margin:.7rem 0}.er-form input:not([type=submit]),.er-form textarea{width:100%}
.er-brief{padding:clamp(1.3rem,3vw,2.3rem);background:#eaf0f6;border-radius:5px;margin:1rem auto 2rem;color:#223752}.er-brief p{margin:0 0 .5rem}.er-directory{padding:2rem;background:#f4f0e8}.er-directory>.wp-block-group__inner-container{columns:3 15em;column-gap:2rem}.er-directory h2{column-span:all}.er-directory p{break-inside:avoid;font-size:.95rem}.er-home .er-section:nth-of-type(odd){background-color:#f8f9fb}.er-home .er-section.er-intro{background:#f4f0e8}.er-home .er-hero img{display:block}

body,body[data-neve-theme],body .site-header,body .site-footer{--nv-primary-accent:#243f66;--nv-secondary-accent:#835534;--nv-c-1:#345170;--nv-c-2:#a17650;--primarybtnbg:#243f66;--primarybtnhoverbg:#182c49;--secondarybtncolor:#243f66;--secondarybtnhovercolor:#835534}
.er-inquiry{margin:2rem auto;max-width:1120px}.er-inquiry a,.wpcf7 input[type=submit],.wp-block-button__link:not(.has-background){display:inline-block;background-color:#243f66!important;color:#fff!important;border-radius:4px;padding:.65em 1.1em}.er-inquiry a:hover,.wpcf7 input[type=submit]:hover{background-color:#182c49!important}
.er-legal a:focus-visible,.er-inquiry a:focus-visible,header a:focus-visible{outline:3px solid #bb8659;outline-offset:3px}
.er-navhub{max-width:1050px;margin:0 auto}.er-navhub h2{margin-top:2em;color:#182c49}.er-navhub h3{margin-top:1.5em;color:#263e60}.er-navhub [id],#kontaktformular{scroll-margin-top:5rem}
@media(min-width:960px){header .sub-menu:not(:has(.sub-menu)){max-height:72vh;overflow:auto;overscroll-behavior:contain}header .sub-menu{min-width:17rem}}
.er-footer{color:#fff;background:#192e4a;padding:clamp(2rem,5vw,4.5rem) 5%}.er-footer-inner{max-width:1200px;margin:auto;display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:2rem}.er-footer strong{display:block;color:white;margin-bottom:.7em}.er-footer p,.er-footer ul{margin:0;padding:0}.er-footer li{margin:.35em 0;list-style:none}.er-footer a{color:#f1f4f9;text-decoration:underline;text-underline-offset:.17em}.er-footer a:hover,.er-footer a:focus-visible{color:#f5d2ab}.er-news .wp-block-post-template{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:0;list-style:none}.er-news .wp-block-post{padding:1.3rem;background:#fff;border:1px solid #d6dee8;border-radius:4px}.er-news .wp-block-post-date{font-size:.85rem;color:#465368;margin:.4rem 0}.er-news p{margin-bottom:0}
@media(max-width:760px){.er-news .wp-block-post-template{grid-template-columns:1fr}.er-footer-inner{grid-template-columns:1fr 1fr}}
@media(max-width:450px){.er-footer-inner{grid-template-columns:1fr}}
