/*
Theme Name: BRO BAU 2026
Author: BRO Bau GmbH
Description: Individuelles BRO-Bau-Theme mit Projektgalerien, anpassbarer Startseite und Hell-/Dunkel-Umschalter.
Version: 2.0.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: bro-bau
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root{--blue:#00558d;--blue-deep:#003f6b;--ink:#15181b;--paper:#f5f6f7;--muted:#70767c;--line:rgba(20,24,27,.12);--max:1440px}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar{width:0;height:0;display:none}
body{font-family:Arial,Helvetica,sans-serif;background:var(--paper);color:var(--ink);line-height:1.5;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.container{width:min(calc(100% - 80px),var(--max));margin:0 auto}
.section{padding:120px 0}
.eyebrow{font-size:11px;letter-spacing:.22em;font-weight:700;text-transform:uppercase;color:var(--muted)}
.brand{display:inline-flex;flex-direction:column;align-items:center;gap:3px;width:118px}
.brand svg{width:118px;height:auto;display:block}
.brand-word{font-size:19px;line-height:1;font-weight:800;letter-spacing:-.055em;white-space:nowrap}
.brand-word .bau{color:var(--blue)}
.scroll-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:99999;pointer-events:none;background:rgba(255,255,255,.08)}.scroll-progress-bar{height:100%;width:0;background:linear-gradient(90deg,var(--blue),#31a9ef);box-shadow:0 0 14px rgba(49,169,239,.65);transition:width .08s linear}.site-header{position:fixed;inset:0 0 auto 0;height:92px;z-index:1000;color:#fff;border-bottom:1px solid rgba(255,255,255,.15);transition:.3s ease}
.site-header.scrolled{background:rgba(12,16,19,.94);backdrop-filter:blur(14px)}
.header-inner{height:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:30px}
.header-inner .brand{justify-self:start}
.nav{display:flex;gap:34px;font-size:13px;color:rgba(255,255,255,.82)}
.header-cta{justify-self:end;border:1px solid rgba(255,255,255,.35);padding:13px 18px;font-size:13px}
.hero{min-height:100vh;position:relative;display:flex;align-items:flex-end;overflow:hidden;background:#111;color:#fff}
.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,12,17,.79),rgba(6,12,17,.42) 55%,rgba(6,12,17,.22)),var(--hero-photo) center/cover no-repeat;transform:scale(1.035)}
.hero-content{width:100%;position:relative;z-index:2;padding:175px 0 125px}
.hero-text{padding-left:clamp(30px,4vw,72px)}
.hero .eyebrow{color:rgba(255,255,255,.62)}
body .hero h1{font-size:clamp(64px,9vw,148px);line-height:.86;letter-spacing:-.075em;font-weight:750;max-width:1220px;margin:24px 0 34px}
.hero h1 .soft{color:#d8dde1}.hero h1 .blue{color:#338fc7}
.hero-copy{max-width:620px;font-size:18px;color:rgba(255,255,255,.74)}
.button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:34px;padding:16px 20px;border:1px solid transparent;font-size:14px;cursor:pointer;transition:.2s}
.btn-primary{background:var(--blue);color:#fff}.btn-outline{border-color:rgba(255,255,255,.35);color:#fff}
.hero-location{position:absolute;z-index:5;left:50%;bottom:28px;transform:translateX(-50%);padding:12px 24px;background:rgba(12,18,22,.76);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(12px);color:#fff;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap}
.intro-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:9vw;margin-top:44px}
body .intro h2,body h2.section-title,body .about-copy h2,body .contact-copy h2{font-size:clamp(46px,6vw,94px);line-height:.98;letter-spacing:-.055em;font-weight:650}
.intro h2 span{color:#8d9499}.intro-copy{max-width:540px;color:#50565b;font-size:17px}.intro-copy p+p{margin-top:20px}
.text-link{display:inline-flex;gap:18px;margin-top:24px;padding-bottom:5px;border-bottom:1px solid currentColor;font-size:13px;font-weight:700}
.services{background:var(--ink);color:#fff}.services .eyebrow{color:#8f969a}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:62px}.section-head p{max-width:390px;color:#92999e}
.service-list{border-bottom:1px solid rgba(255,255,255,.13)}
.service-item{display:grid;grid-template-columns:70px 1fr;gap:28px;align-items:center;padding:34px 0;border-top:1px solid rgba(255,255,255,.13);transition:background .25s ease;cursor:pointer}
.service-item:hover{background:linear-gradient(90deg,rgba(0,85,141,.10),transparent)}
.service-no{font-size:clamp(24px,3vw,31px);line-height:1.25;font-weight:300;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:#b6bbc0}body .service-item h3{min-width:0;font-size:clamp(24px,3vw,31px);line-height:1.25;font-weight:500;hyphens:auto;overflow-wrap:break-word}
.blue-strip{background:var(--blue);color:#fff}.blue-strip .container{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.16)}
.strip-item{background:var(--blue);padding:34px}.strip-item strong{display:block;font-size:22px;margin-bottom:6px}.strip-item span{font-size:13px;color:rgba(255,255,255,.74)}
.projects-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:22px}.project-card{overflow:hidden;cursor:pointer}.project-card.large{grid-row:span 2}
.project-image{min-height:360px;background-size:cover;background-position:center;transition:.55s}.project-card.large .project-image{min-height:760px}.project-card:hover .project-image{transform:scale(1.025);filter:brightness(.83)}
.project-one{background-image:var(--photo)}
.project-two{background-image:var(--photo)}
.project-three{background-image:var(--photo)}
.project-meta{display:flex;justify-content:space-between;gap:20px;padding-top:16px;margin-bottom:20px}body .project-meta h3{font-size:18px;margin-bottom:4px}.project-meta p{font-size:12px;color:var(--muted)}.project-meta span{color:var(--blue)}
.about{display:grid;grid-template-columns:1.05fr .95fr;min-height:820px;background:#dfe3e6}
.about-image{min-height:820px;background:var(--photo) center/cover no-repeat}
.about-copy{padding:110px 8vw;display:flex;flex-direction:column;justify-content:center}.about-copy p{max-width:550px;margin:34px 0 48px;color:#51585d;font-size:18px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-top:28px;border-top:1px solid rgba(0,0,0,.15)}.stats strong{display:block;font-size:30px;color:var(--blue);margin-bottom:4px}.stats span{font-size:11px;color:#60686d}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:42px;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.why-card{position:relative;min-height:300px;padding:44px 34px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper);overflow:hidden;transition:transform .3s,box-shadow .3s,background .3s}
.why-card::before{content:'';position:absolute;left:0;top:0;width:100%;height:3px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .35s}
.why-card:hover{transform:translateY(-8px);background:#fff;box-shadow:0 22px 50px rgba(20,30,40,.08)}.why-card:hover::before{transform:scaleX(1)}
.why-card .number{font-size:11px;color:var(--blue);font-weight:700}body .why-card h3{font-size:25px;margin:34px 0 14px;transition:.25s}.why-card:hover h3{color:var(--blue);transform:translateY(-3px)}.why-card p{max-width:330px;color:#62696e;font-size:14px}
.contact{background:#0e1215;color:#fff}.contact .eyebrow{color:#7e878d}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:8vw}.contact-copy h2 span{color:#3d98cf}.contact-copy p{max-width:470px;margin-top:30px;color:#929ba0;font-size:17px}
.contact-form{display:flex;flex-direction:column;gap:26px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:22px}
label{display:flex;flex-direction:column;gap:8px;color:#9aa2a7;font-size:11px}input,textarea,select{width:100%;border:0;border-bottom:1px solid rgba(255,255,255,.18);background:transparent;color:#fff;padding:10px 0 14px;outline:none}select option{color:#111}
.site-footer{background:#080b0d;color:#fff;padding:72px 0 28px}.footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:50px}.footer-brand{align-items:center;width:118px}.footer-brand svg{width:118px;height:auto}.footer-brand .brand-word{font-size:19px}.footer-col{display:flex;flex-direction:column;gap:10px;color:#878f94;font-size:12px}.footer-col strong{color:#fff;margin-bottom:8px}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:48px;padding-top:22px;font-size:11px;color:#6d757a}
.project-modal{position:fixed;inset:0;z-index:5000;display:flex;align-items:center;justify-content:center;padding:30px;opacity:0;visibility:hidden;transition:.3s}.project-modal.active{opacity:1;visibility:visible}
.project-modal-backdrop{position:absolute;inset:0;background:rgba(5,8,10,.82);backdrop-filter:blur(8px)}
.project-modal-window{position:relative;z-index:2;display:grid;grid-template-columns:1.1fr .9fr;width:min(1150px,100%);max-height:88vh;background:#fff;overflow:hidden;box-shadow:0 30px 100px rgba(0,0,0,.45);transform:translateY(30px) scale(.98);transition:.4s}
.project-modal.active .project-modal-window{transform:none}.project-modal-image{min-height:620px;background:#ddd;overflow:hidden}.project-modal-image img{width:100%;height:100%;object-fit:cover}
.project-modal-content{padding:clamp(45px,6vw,85px);display:flex;flex-direction:column;justify-content:center}.project-modal-location{color:var(--blue);font-size:11px;font-weight:700;letter-spacing:.17em;text-transform:uppercase;margin-bottom:24px}body .project-modal-content h2{font-size:clamp(38px,4vw,64px);line-height:1;letter-spacing:-.055em;margin-bottom:28px}.project-modal-content p{color:#62696e;font-size:16px;line-height:1.75;margin-bottom:36px}
.project-modal-close{position:absolute;right:20px;top:17px;z-index:10;width:44px;height:44px;border:0;background:#111;color:#fff;font-size:28px;cursor:pointer}.project-modal-close:hover{background:var(--blue)}
body.modal-open{overflow:hidden}
.whatsapp-float{position:fixed;right:28px;bottom:28px;z-index:4000;width:58px;height:58px;display:flex;align-items:center;justify-content:center;background:#25D366;color:#fff;border-radius:50%;box-shadow:0 10px 26px rgba(0,0,0,.24);transition:transform .2s ease,box-shadow .2s ease;border:2px solid rgba(255,255,255,.18)}.whatsapp-float:hover{transform:translateY(-3px) scale(1.03);box-shadow:0 14px 32px rgba(0,0,0,.3)}.whatsapp-float svg{width:30px;height:30px;display:block}
.reveal{opacity:1;transform:none;transition:opacity .8s,transform .8s}.reveal.visible{opacity:1;transform:none}
@media(max-width:980px){.container{width:min(calc(100% - 40px),var(--max))}.header-inner{grid-template-columns:1fr auto}.nav{display:none}.intro-grid,.contact-grid,.about{grid-template-columns:1fr}.service-item{grid-template-columns:50px 1fr}.projects-grid{grid-template-columns:1fr}.project-card.large .project-image,.project-image{min-height:58vw}.about-image{min-height:560px}.blue-strip .container{grid-template-columns:1fr}.why-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.project-modal-window{grid-template-columns:1fr;overflow-y:auto}.project-modal-image{min-height:280px;height:36vh}.project-modal-content{padding:38px 28px}}
@media(max-width:640px){.site-header{height:78px}.brand{width:94px}.brand svg{width:94px;height:auto}.brand-word{font-size:16px}.header-cta{display:none}.section{padding:82px 0}.hero-content{padding-bottom:110px}.hero-text{padding-left:8px}body .hero h1{font-size:clamp(54px,17vw,86px)}.hero-location{bottom:18px;font-size:9px;padding:10px 15px;letter-spacing:.12em}.section-head{flex-direction:column;align-items:flex-start}.about-copy{padding:80px 20px}.stats{grid-template-columns:1fr 1fr}.field-row{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.project-modal{padding:15px}.whatsapp-float{width:54px;height:54px;right:18px;bottom:18px}}

/* FINAL SCROLLBAR OVERRIDES */
html, body {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}
@media (max-width: 980px) {
  html, body, .info-modal-window, .project-modal-window {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  .info-modal-window::-webkit-scrollbar,
  .project-modal-window::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
  }
}


/* Dezente, einheitliche Farbdarstellung der Originalaufnahmen. */
.hero-bg,.about-image,.project-image,#modalImage{filter:saturate(.82) contrast(1.04) brightness(1.06)}
.project-card:hover .project-image{filter:saturate(.82) contrast(1.04) brightness(.96)}
.project-modal-image{position:relative;background:#101416}
.project-modal-image #modalImage{object-fit:contain}
.gallery-controls{position:absolute;bottom:20px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#fff}
.gallery-controls button{width:44px;height:44px;border:1px solid #ffffff55;background:#101416d9;color:white;font-size:24px;cursor:pointer;border-radius:50%}
.gallery-controls button:hover{background:#00558d}.gallery-count{background:#101416d9;padding:8px 14px;border-radius:24px;font-size:12px;letter-spacing:.08em}
.project-open:focus-visible,.service-open:focus-visible{outline:2px solid #31a9ef;outline-offset:5px}

/* Einheitliche Bildflächen: 16:9, ohne Verzerrung. */
.projects-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.project-card.large{grid-row:auto}
.project-image,.project-card.large .project-image,.about-image,.project-modal-image{width:100%;aspect-ratio:16/9;min-height:0;height:auto;background-size:cover;background-position:center;align-self:center}
.project-modal-window{overflow-y:auto;align-items:center}
.project-modal-image #modalImage{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hero-bg{filter:none}
@media(max-width:980px){.projects-grid{grid-template-columns:1fr}.project-image,.project-card.large .project-image,.about-image,.project-modal-image{min-height:0;height:auto;aspect-ratio:16/9}}

/* Größere Formulartypografie und ruhige, klar abgegrenzte Felder. */
.contact-form{gap:24px;min-width:0}.contact-form .field-row{min-width:0}
.contact-form label{min-width:0;gap:11px;font-size:15px;font-weight:500;line-height:1.5;color:#c5cdd2}
.contact-form input,.contact-form textarea,.contact-form select{min-width:0;max-width:100%;font-size:17px;line-height:1.5;font-weight:400;padding:16px 18px;background:#191f24;border:1px solid #343e46;border-radius:10px;color:#f5f7f8;transition:border-color .2s,box-shadow .2s,background .2s}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:#929fa9;opacity:1}
.contact-form textarea{resize:vertical;min-height:160px}
.contact-form input:hover,.contact-form textarea:hover,.contact-form select:hover{border-color:#63717b}
.contact-form input:focus-visible,.contact-form textarea:focus-visible,.contact-form select:focus-visible{outline:2px solid #5eafe1;outline-offset:3px;border-color:#5eafe1;background:#1d252c;box-shadow:0 0 0 4px #338fc71a}
.contact-form .service-select{appearance:none;cursor:pointer;padding-right:48px;min-height:60px;color-scheme:dark;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%23b9c7d0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 18px center;background-repeat:no-repeat;text-overflow:ellipsis}
.contact-form select option{background:#1b2329;color:#f5f7f8;font-size:17px}
.contact-form .btn{font-size:17px;min-height:58px;border-radius:10px;padding:17px 22px;margin-top:4px}
.contact-copy p{font-size:18px;line-height:1.7}.footer-col{font-size:14px;line-height:1.65}.footer-bottom{font-size:13px}
@supports (appearance:base-select){
.contact-form .service-select,.contact-form .service-select::picker(select){appearance:base-select}
.contact-form .service-select{background-image:none;padding-right:18px;white-space:normal}
.contact-form .service-select::picker-icon{color:#b9c7d0;transition:rotate .2s}
.contact-form .service-select:open::picker-icon{rotate:180deg}
.contact-form .service-select::picker(select){margin-top:8px;padding:7px;background:#1b2329;border:1px solid #3b4852;border-radius:12px;box-shadow:0 18px 48px #0006;color:#f5f7f8}
.contact-form .service-select option{padding:13px 14px;border-radius:7px;white-space:normal;cursor:pointer;line-height:1.5}
.contact-form .service-select option:hover,.contact-form .service-select option:focus{background:#2a3b47;outline:none}
.contact-form .service-select option:checked{background:#174967;color:#fff}
.contact-form .service-select option:disabled{color:#91a0ab}
}
@media(max-width:640px){.contact-form input,.contact-form textarea,.contact-form select{font-size:16px}.contact-form label{font-size:15px}}

/* Ursprüngliche Bildaufteilung; Galerien behalten das einheitliche 16:9-Format. */
.projects-grid{grid-template-columns:1.35fr .65fr;align-items:stretch}
.project-card.large{grid-row:span 2}
.project-image{aspect-ratio:auto;min-height:360px;height:auto}
.project-card.large .project-image{aspect-ratio:auto;min-height:760px;height:auto}
.about-image{aspect-ratio:auto;min-height:820px;height:auto;align-self:stretch}
@media(max-width:980px){
.projects-grid{grid-template-columns:1fr}
.project-card.large{grid-row:auto}
.project-image,.project-card.large .project-image{aspect-ratio:auto;min-height:58vw;height:auto}
.about-image{aspect-ratio:auto;min-height:560px;height:auto}
}

/* Großes Projektbild füllt beide Rasterzeilen bis zur gemeinsamen Bildunterkante. */
@media(min-width:981px){
.projects-grid .project-card{display:flex;flex-direction:column;min-width:0}
.projects-grid .project-card .project-image{flex:1 0 360px;align-self:stretch}
.projects-grid .project-card.large .project-image{flex:1 0 760px;align-self:stretch}
.projects-grid .project-meta{flex-shrink:0}
}

/* Etwas großzügigeres Logo im Footer, passend zum Spaltenraster. */
.site-footer .footer-brand{width:160px;max-width:100%;justify-self:start;align-self:start}
.site-footer .footer-brand svg{display:block;width:100%;height:auto}
@media(max-width:640px){.site-footer .footer-brand{width:140px}}

/* Ortsbalken auf schmalen Displays vollständig und mittig anzeigen. */
@media(max-width:640px){
.hero-location{left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);white-space:normal;text-align:center;line-height:1.6;overflow-wrap:break-word;padding:10px 14px;box-sizing:border-box}
}

/* Ansicht umschalten: Original bleibt die Ausgangslage bei jedem Laden. */
.header-actions{justify-self:end;display:flex;align-items:center;gap:12px}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:46px;height:46px;border:1px solid #ffffff59;border-radius:50%;color:inherit;background:#10141655;cursor:pointer;transition:background .2s,transform .2s}
.theme-toggle:hover{background:#338fc744;transform:rotate(10deg)}
.theme-toggle:focus-visible{outline:2px solid #57ace1;outline-offset:4px}
.theme-toggle svg{width:21px;height:21px}.theme-toggle .theme-moon{display:none}
body.light-view .theme-sun{display:none}body.light-view .theme-moon{display:block}
body.light-view{--paper:#151b20;--ink:#eef2f5;--muted:#b1bbc3;--line:rgba(255,255,255,.16);background:var(--paper);color:var(--ink)}
body.light-view .site-header{color:#14222b;background:rgba(249,251,252,.92);border-color:#d1dbe2}
body.light-view .site-header.scrolled{background:rgba(249,251,252,.97)}
body.light-view .nav{color:#34434e}
body.light-view .header-cta{border-color:#7d8d98}
body.light-view .theme-toggle{background:#e5ecf1;border-color:#aebec9;color:#19384d}
body.light-view .hero{background:#f4f7f9;color:#14222b}
body.light-view .hero .eyebrow,body.light-view .hero-copy{color:#344652}
body.light-view .hero h1 .soft{color:#526572}body.light-view .hero h1 .blue{color:#00558d}
body.light-view .btn-outline{color:#173d56;border-color:#607f94}
body.light-view .hero-location{background:#f8fafbef;border-color:#aabcc9;color:#273d4d}
body.light-view .intro h2 span{color:#b7c2ca}
body.light-view .intro-copy,body.light-view .about-copy p,body.light-view .why-card p{color:#c1cbd2}
body.light-view .services,body.light-view .contact{background:#f5f7f9;color:#17242d}
body.light-view .services .eyebrow,body.light-view .contact .eyebrow,body.light-view .services .section-head p,body.light-view .contact-copy p{color:#536674}
body.light-view .service-no{color:#75838d}
body.light-view .service-item,body.light-view .service-list{border-color:#d5dfe6}
body.light-view .blue-strip,body.light-view .strip-item{background:#e4eff6;color:#163b55}
body.light-view .blue-strip .container{background:#bdcedb}
body.light-view .strip-item span{color:#3d5e75}
body.light-view .about{background:#202a32}
body.light-view .stats{border-color:#ffffff30}body.light-view .stats strong,body.light-view .project-meta span,body.light-view .why-card .number{color:#66b5e6}
body.light-view .stats span{color:#b7c3cc}
body.light-view .why-card:hover{background:#26343e}body.light-view .why-card:hover h3{color:#66b5e6}
body.light-view .contact-copy h2 span{color:#00558d}
body.light-view .contact-form label{color:#344b5b}
body.light-view .contact-form input,body.light-view .contact-form textarea,body.light-view .contact-form select{background-color:#fff;color:#1c303e;border-color:#b6c6d1;color-scheme:light}
body.light-view .contact-form input::placeholder,body.light-view .contact-form textarea::placeholder{color:#657988}
body.light-view .contact-form input:focus-visible,body.light-view .contact-form textarea:focus-visible,body.light-view .contact-form select:focus-visible{background-color:#fafdff;border-color:#00558d;outline-color:#00558d}
body.light-view .contact-form select option{background:#fff;color:#1c303e}
body.light-view .contact-form .service-select::picker(select){background:#fff;border-color:#b6c6d1;color:#1c303e}
body.light-view .contact-form .service-select::picker-icon{color:#34566e}
body.light-view .contact-form .service-select option:hover,body.light-view .contact-form .service-select option:focus{background:#e1edf5}
body.light-view .contact-form .service-select option:checked{background:#00558d;color:#fff}
body.light-view .contact-form .service-select option:disabled{color:#657988}
body.light-view .site-footer{background:#e8eef2;color:#172b39}
body.light-view .footer-col{color:#435d6e}body.light-view .footer-col strong{color:#172b39}
body.light-view .footer-bottom{border-color:#bdcdd8;color:#526b7c}
body.light-view .project-modal-window{background:#18232c;color:#f0f4f7}
body.light-view .project-modal-content p{color:#c1cbd2}body.light-view .project-modal-location{color:#66b5e6}
body.light-view .project-modal-close{background:#eef3f6;color:#172b39}
body.light-view .gallery-controls button,body.light-view .gallery-count{background:#f4f7faed;color:#19394f;border-color:#aebfcb}
body.light-view .gallery-controls button:hover{background:#d2e7f5}
@media(max-width:640px){.header-actions{gap:8px}.theme-toggle{width:44px;height:44px}}

body.light-view .hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(250,252,253,.94),rgba(250,252,253,.83) 55%,rgba(250,252,253,.65)),var(--hero-photo) center/cover no-repeat;transform:scale(1.035)}

/* WordPress integration */
:root{--hero-photo:url('assets/images/hero.jpg')}
html{scroll-padding-top:110px}
.admin-bar .site-header{top:32px}.admin-bar .scroll-progress{top:32px}
.skip-link{position:fixed;top:-100px;left:16px;z-index:999999;background:white;color:#14222b;padding:14px}.skip-link:focus{top:12px}
.inner-page .site-header{background:#10161b}.inner-page.light-view .site-header{background:#f5f7f9}
.wp-page{padding-top:160px;min-height:70vh}.wp-page .entry-content{max-width:900px;font-size:18px;line-height:1.8;margin:36px auto}
.entry-content p,.entry-content ul,.entry-content ol,body .entry-content h2,body .entry-content h3{margin-bottom:1.2em}.entry-content ul,.entry-content ol{padding-left:1.5em}.entry-content a{text-decoration:underline}.entry-content img{max-width:100%;height:auto}body .entry-content h2{font-size:36px;line-height:1.2}body .entry-content h3{font-size:26px}
body .wp-page h1{font-size:clamp(42px,6vw,80px);line-height:1.1;overflow-wrap:anywhere}
.form-notice{padding:16px;border:1px solid currentColor;border-radius:10px;font-size:16px}.form-notice.error{color:#ffbbad}.form-notice.success{color:#a1dfba}.light-view .form-notice.error{color:#902e1b}.light-view .form-notice.success{color:#1e6337}
.contact-form .privacy-note{font-size:14px;line-height:1.6;color:#b9c5ce}.contact-form .privacy-note a{text-decoration:underline}.light-view .contact-form .privacy-note{color:#435d6e}
.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.menu-toggle{display:none}.menu-toggle{border:1px solid currentColor;border-radius:8px;padding:10px;background:transparent;color:inherit;font-size:14px;cursor:pointer}
@media(max-width:980px){.menu-toggle{display:block}.site-header .nav.is-open{display:flex;position:absolute;left:20px;right:20px;top:100%;padding:24px;flex-direction:column;gap:22px;background:#121c24;border:1px solid #53636f;border-radius:10px;color:#fff}.light-view .site-header .nav.is-open{background:#f5f7f9;color:#172b39}}
@media(max-width:782px){.admin-bar .site-header{top:46px}.admin-bar .scroll-progress{top:46px}}
@media(max-width:640px){.header-inner{gap:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.brand .bro-custom-logo{width:100%;height:auto;object-fit:contain;max-height:76px}.site-footer .brand .bro-custom-logo{max-height:none}.contact-form button:disabled{opacity:.65;cursor:wait}

/* Keep the approved theme typography independent of Elementor global kits. */
body.home h1,body.home h2,body.home h3{font-family:Arial,Helvetica,sans-serif}

/* Center independently of reveal animation transforms, including while scrolling. */
body .hero-location,body .hero-location.reveal,body .hero-location.reveal.visible{left:16px;right:16px;width:fit-content;max-width:calc(100% - 32px);margin-inline:auto;transform:none;white-space:normal;text-align:center}

/* Content pages and progressive, responsive imagery. */
.hero-bg{background:#111}.hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,12,17,.79),rgba(6,12,17,.42) 55%,rgba(6,12,17,.22))}
.hero-bg>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.project-image,.about-image{position:relative;overflow:hidden;background:none}
.project-image>img,.about-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cookie-settings{background:none;border:0;color:inherit;text-align:left;cursor:pointer;padding:0;font:inherit;text-decoration:underline}
.wp-page .entry-content{margin:36px 0;overflow-wrap:anywhere}.entry-content h2{font-size:clamp(24px,3vw,34px);line-height:1.3;margin:2em 0 .65em}.entry-content h3{font-size:22px;margin:1.5em 0 .6em}.entry-content p,.entry-content ul,.entry-content ol{margin:0 0 1.1em}.entry-content ul,.entry-content ol{padding-left:1.4em}.entry-content a{text-decoration:underline;text-underline-offset:3px}.entry-content img{max-width:100%;height:auto}.breadcrumbs{font-size:14px;margin:0 0 28px;line-height:1.6}.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:10px}.breadcrumbs li+li:before{content:"/";margin-right:10px;opacity:.5}.breadcrumbs a{text-decoration:underline}.site-footer nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:20px;margin:24px 0}
:focus-visible{outline:3px solid #37a9eb;outline-offset:5px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.hero-bg{transform:none!important}}
@media(max-width:600px){.wp-page{padding-top:130px}.wp-page .entry-content{font-size:16px}.entry-content h2{font-size:25px}}
.wp-page h1,.wp-page h2,.wp-page h3{hyphens:auto;overflow-wrap:break-word}
@media(max-width:600px){body .wp-page h1{font-size:32px;line-height:1.16}body .wp-page .entry-content h2{font-size:25px}body .wp-page .entry-content h3{font-size:21px}}
