/* cm-semantic-heading-selectors-v1 */
/* CreAid-Media – zentraler globaler Header und Footer. Alle Selektoren namespaced. */
.cm-header,.cm-footer{--cm-pink:#fa225b;--cm-berry:#b3284f;--cm-night:#121315;--cm-ink:#f9f7f5;--cm-line:rgba(255,255,255,.16);font-family:"Ubuntu",Arial,sans-serif;box-sizing:border-box}
.cm-header *, .cm-header *::before,.cm-header *::after,.cm-footer *,.cm-footer *::before,.cm-footer *::after{box-sizing:border-box}
.cm-header{position:sticky;top:0;z-index:9998;background:rgba(18,19,21,.98);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid var(--cm-line);color:var(--cm-ink);isolation:isolate}
.cm-header__inner{width:min(1380px,calc(100% - 76px));margin:auto;min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.cm-header__brand{display:block;flex:0 1 244px;min-width:178px;max-width:244px;line-height:0}
.cm-header__brand img,.cm-footer__logo img{display:block;width:100%;height:auto;aspect-ratio:9066/1000;object-fit:contain;max-width:100%}
.cm-header__nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(15px,1.7vw,31px);font-size:13px;line-height:1.5;font-weight:600}
.cm-header__nav a,.cm-header__nav summary{color:var(--cm-ink);text-decoration:none;white-space:nowrap}
.cm-header__link{padding:12px 0;display:inline-flex;align-items:center;gap:7px;opacity:.83;transition:color .2s,opacity .2s;cursor:pointer}
.cm-header__link:hover,.cm-header__link:focus-visible,.cm-header__link[aria-current=page],.cm-header__services[open]>.cm-header__link{opacity:1;color:#ff5b86}
.cm-header__services{position:relative}
.cm-header__services>summary{list-style:none}
.cm-header__services>summary::-webkit-details-marker{display:none}
.cm-header__services>summary svg{transition:transform .2s}
.cm-header__services[open]>summary svg{transform:rotate(180deg)}
.cm-header__dropdown{position:absolute;right:-32px;top:calc(100% + 14px);background:#202025;border:1px solid rgba(255,255,255,.18);border-top:3px solid var(--cm-pink);box-shadow:0 25px 70px rgba(0,0,0,.38);width:min(360px,90vw);padding:24px 25px 19px;display:flex;flex-direction:column;gap:2px}
.cm-header__dropdown::before{content:"";position:absolute;top:-17px;height:17px;left:0;right:0}
.cm-header__dropdown-kicker{font-size:10px;letter-spacing:.17em;color:#ff8aa8;text-transform:uppercase;margin-bottom:8px}
.cm-header__dropdown a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.09);font-size:13px;white-space:normal;transition:color .2s}
.cm-header__dropdown a:hover{color:#ff7698}
.cm-header__dropdown a span{color:#fa225b}
.cm-header__dropdown .cm-header__dropdown-all{font-weight:700;padding-top:18px;border:0}
.cm-header__cta{display:inline-flex;gap:25px;align-items:center;justify-content:space-between;padding:14px 20px;background:var(--cm-pink);color:white!important;border-radius:3px;font-weight:700;text-decoration:none;transition:background .2s,transform .2s}
.cm-header__cta:hover{background:#d7194d;transform:translateY(-2px)}
.cm-header__cta span{font-size:18px}
.cm-header__toggle{display:none}
.cm-header :focus-visible,.cm-footer :focus-visible{outline:2px solid #ff83a1;outline-offset:4px}
.cm-footer{background:#111113;color:var(--cm-ink);border-top:1px solid rgba(255,255,255,.16);position:relative;isolation:isolate}
.cm-footer__inner{width:min(1380px,calc(100% - 76px));margin:auto}
.cm-footer__lead{padding:94px 0 93px;display:flex;align-items:flex-end;justify-content:space-between;gap:36px;border-bottom:1px solid rgba(255,255,255,.15)}
.cm-footer__eyebrow{display:inline-flex;gap:10px;align-items:center;font-weight:700;text-transform:uppercase;letter-spacing:.16em;font-size:11px;color:#d5cbd0}
.cm-footer__eyebrow span{color:var(--cm-pink);font-size:20px}
.cm-footer__lead :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){margin:23px 0 15px;font-size:clamp(58px,7.7vw,119px);line-height:.92;letter-spacing:-.075em;font-weight:700;color:#fff}
.cm-footer__lead :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)) em{font-family:Georgia,serif;font-weight:400;color:#fa225b;letter-spacing:-.07em}
.cm-footer__lead p{max-width:580px;margin:0;color:#b3b1b4;font-size:15px;line-height:1.7}
.cm-footer__lead-cta{display:flex;gap:30px;align-items:center;justify-content:space-between;white-space:nowrap;background:#fa225b;color:#fff!important;padding:20px 25px;border:1px solid #fa225b;min-width:233px;text-decoration:none;font-size:13px;font-weight:700;transition:background .2s,transform .2s}
.cm-footer__lead-cta:hover{background:#c90f45;transform:translateY(-3px)}
.cm-footer__lead-cta span{font-size:21px}
.cm-footer__grid{display:grid;grid-template-columns:1.2fr 1.15fr 1.1fr .75fr;gap:clamp(30px,3.6vw,64px);padding:70px 0 88px;border-bottom:1px solid rgba(255,255,255,.15)}
.cm-footer__logo{display:block;width:min(250px,100%);line-height:0}
.cm-footer__company p{font-size:14px;line-height:1.7;color:#aaa6ab;margin:26px 0}
.cm-footer__social{display:flex;flex-direction:column;align-items:flex-start;gap:12px;font-size:12px}
.cm-footer__social>a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.3);padding-bottom:5px}
.cm-footer__social>a:hover{color:#ff6b95}
.cm-footer__social>span{color:#817e83;border-bottom:1px dashed #6b6266;padding-bottom:5px;cursor:default}
.cm-footer__grid :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:13px;line-height:1.3;color:#fff;font-weight:700;letter-spacing:.02em;margin:0 0 26px}
.cm-footer__services.audit-related{padding:0;background:transparent;color:inherit;scroll-margin-top:0}
.cm-footer__services .audit-inner{width:100%;margin:0}
.cm-footer__services.audit-related :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:13px;letter-spacing:.02em;line-height:1.3;margin:0 0 26px;color:#fff}
.cm-footer__services .audit-links{padding:0;margin:0;list-style:none}
.cm-footer__services .audit-links li{margin:0 0 13px}
.cm-footer__services .audit-links a{font-size:13px;line-height:1.6;font-weight:400;color:#bbb7bc;text-decoration:none;display:flex;align-items:baseline;justify-content:space-between;gap:8px;transition:color .2s}
.cm-footer__services .audit-links a span{color:#fa225b}
.cm-footer__services .audit-links a:hover,.cm-footer__contact a:hover,.cm-footer__legal a:hover{color:#ff6b95}
.cm-footer__contact,.cm-footer__legal{display:flex;flex-direction:column;align-items:flex-start}
.cm-footer__contact>a,.cm-footer__legal>a{color:#bbb7bc;text-decoration:none;font-size:13px;line-height:1.65;margin:0 0 13px;overflow-wrap:anywhere}
.cm-footer__contact address{font-size:13px;line-height:1.8;color:#aaa6ab;font-style:normal;margin-top:8px}
.cm-footer__bottom{padding:26px 0 32px;display:flex;gap:20px;justify-content:space-between;align-items:center;flex-wrap:wrap;color:#858188;font-size:11px;line-height:1.6}
.cm-footer__bottom a{color:#ddd;text-decoration:none}
.cm-footer__bottom a:hover{color:#fa225b}
@media(max-width:1120px){
 .cm-header__inner,.cm-footer__inner{width:min(100% - 44px,1380px)}
 .cm-header__nav{gap:13px;font-size:12px}
 .cm-header__brand{flex-basis:200px}
 .cm-header__cta{padding:13px 14px;gap:12px}
 .cm-footer__grid{grid-template-columns:1fr 1fr;row-gap:48px}
}
@media(max-width:860px){
 .cm-header__inner{min-height:76px;flex-wrap:wrap;position:relative;gap:8px 12px}
 .cm-header__brand{flex-basis:205px}
 .cm-header__toggle{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:transparent;color:#fff;border:1px solid rgba(255,255,255,.25);padding:12px 14px;margin-left:auto;border-radius:3px;cursor:pointer;min-height:44px}
 .cm-header__toggle-label{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
 .cm-header__toggle-icon{display:flex;flex-direction:column;gap:4px}
 .cm-header__toggle-icon i{display:block;height:2px;width:18px;background:#fa225b}
 .cm-header__nav{display:none;flex-basis:100%;width:100%;background:#1a1a1e;flex-direction:column;align-items:stretch;gap:0;padding:12px 20px 22px;margin:0 -22px;width:calc(100% + 44px);max-height:calc(100dvh - 76px);overflow-y:auto}
 .cm-header__nav.is-open{display:flex}
 .cm-header__nav>.cm-header__link,.cm-header__services>summary{display:flex;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.1);width:100%;font-size:14px;opacity:1}
 .cm-header__services{width:100%}
 .cm-header__services>summary{justify-content:space-between}
 .cm-header__dropdown{position:static;width:100%;box-shadow:none;border:0;border-left:2px solid #fa225b;background:#25252a;padding:12px 17px 14px;margin:8px 0}
 .cm-header__dropdown::before{display:none}
 .cm-header__cta{margin-top:18px;justify-content:space-between}
 .cm-footer__lead{padding:70px 0;align-items:flex-start;flex-direction:column;gap:25px}
 .cm-footer__lead :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(56px,12vw,88px)}
}
@media(max-width:570px){
 .cm-header__inner,.cm-footer__inner{width:calc(100% - 34px)}
 .cm-header__brand{flex-basis:188px;min-width:0}
 .cm-header__nav{margin:0 -17px;width:calc(100% + 34px);padding:8px 17px 24px}
 .cm-footer__grid{grid-template-columns:1fr;gap:38px;padding:48px 0 56px}
 .cm-footer__lead{padding:59px 0 60px}
 .cm-footer__lead p{font-size:14px}
 .cm-footer__lead-cta{width:100%}
 .cm-footer__bottom{align-items:flex-start;flex-direction:column;gap:7px;padding:25px 0}
}
@media(prefers-reduced-motion:reduce){
 .cm-header *, .cm-footer *{transition:none!important;scroll-behavior:auto!important}
}

/* Compact global footer – approved preview, retaining the existing semantic links. */
.cm-footer__lead{padding:38px 0 34px;align-items:center;gap:24px}
.cm-footer__eyebrow{font-size:10px;letter-spacing:.15em}
.cm-footer__lead :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(36px,5vw,58px);line-height:1.02;margin:12px 0 10px;letter-spacing:-.067em}
.cm-footer__lead p{font-size:13px;line-height:1.45;max-width:520px}
.cm-footer__lead-cta{padding:15px 19px;min-width:200px;gap:22px;font-size:12px}
.cm-footer__grid{grid-template-columns:1.12fr 1.35fr 1.2fr .9fr;gap:clamp(18px,2.4vw,34px);padding:29px 0 33px}
.cm-footer__logo{width:min(205px,100%)}
.cm-footer__company p{font-size:12px;line-height:1.5;margin:14px 0 12px}
.cm-footer__social{gap:12px;font-size:11px}
.cm-footer__grid :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)),.cm-footer__services.audit-related :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:12px;margin-bottom:13px}
.cm-footer__services .audit-links li{margin-bottom:6px}
.cm-footer__services .audit-links a{font-size:12px;line-height:1.5}
.cm-footer__contact>a,.cm-footer__legal>a{font-size:12px;line-height:1.5;margin-bottom:8px}
.cm-footer__contact address{font-size:12px;line-height:1.55;margin-top:5px}
.cm-footer__bottom{padding:16px 0 19px;gap:12px;font-size:10px}
@media(max-width:1120px){
  .cm-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 30px}
}
@media(max-width:860px){
  .cm-footer__lead{padding:34px 0 30px;gap:18px;align-items:flex-start}
  .cm-footer__lead :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(38px,7.4vw,56px)}
}
@media(max-width:570px){
  .cm-footer__lead{padding:29px 0 29px}
  .cm-footer__lead :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(36px,10vw,52px)}
  .cm-footer__lead p{font-size:12px}
  .cm-footer__lead-cta{width:100%;justify-content:space-between}
  .cm-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px;padding:28px 0 30px}
  .cm-footer__grid :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)),.cm-footer__services.audit-related :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:11px;margin-bottom:12px}
  .cm-footer__services .audit-links a{font-size:11px}
  .cm-footer__contact>a,.cm-footer__legal>a,.cm-footer__contact address{font-size:11px}
  .cm-footer__bottom{padding:16px 0 18px;gap:6px;font-size:10px}
}

/* Keep navigation labels legible at compact widths. */
.cm-header__dropdown a,
.cm-footer__services .audit-links a,
.cm-footer__contact > a,
.cm-footer__legal > a,
.cm-footer__contact address,
.cm-footer__social { font-size: .875rem; }

.cm-header__toggle-label, .cm-footer__bottom { font-size: .8125rem; }
.cm-header__cta, .cm-footer__lead-cta { background: var(--cm-berry); }
.cm-header__cta:hover, .cm-footer__lead-cta:hover { background: #8e2040; }

/* Phase 3: distinct service and industry groups; preserve existing layout and motion. */
.cm-header__dropdown-kicker.cm-header__specialty-label{margin-top:16px}
.cm-header__dropdown .cm-header__branches a{font-size:.875rem}
@media (min-width:861px){
  .cm-header__dropdown{max-height:calc(100dvh - 120px);overflow-y:auto;overscroll-behavior:contain}
}
.cm-footer__services .cm-footer__all-services{display:inline-flex;min-height:44px;align-items:center;color:#eee;font-size:.875rem;text-decoration:underline;text-underline-offset:.2em}
.cm-header__link[aria-current=location]{color:#ff5b86;opacity:1}

/* Compact global project CTAs, retain a comfortable target height. */
.cm-header__cta,.cm-footer__lead-cta{min-width:0;padding:10px 16px;gap:12px;font-size:12px;min-height:44px;box-sizing:border-box;width:fit-content;max-width:100%}
.cm-footer__lead-cta span{font-size:16px}
@media(max-width:700px){.cm-footer__lead-cta{width:auto;align-self:flex-start}}

/* Slim non-sticky contact strip above the sticky main navigation. Native scroll removes it. */
.cm-contactbar{box-sizing:border-box;background:#1a1a1b;color:#e1dce0;font:400 12px/1.25 "Ubuntu",Arial,sans-serif;border-bottom:1px solid rgba(255,255,255,.1);position:relative;z-index:1}
.cm-contactbar *{box-sizing:border-box}
.cm-contactbar__inner{width:min(1380px,calc(100% - 76px));min-height:30px;margin:auto;display:flex;align-items:center;justify-content:flex-end;gap:0}
.cm-contactbar__link{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;min-height:28px;white-space:nowrap;color:inherit;text-decoration:none;transition:color .2s}
.cm-contactbar__link+ .cm-contactbar__link{border-left:1px solid rgba(255,255,255,.13)}
.cm-contactbar__link:first-child{padding-left:0}
.cm-contactbar__link:last-child{padding-right:0}
.cm-contactbar__link svg{flex:none;color:#ff7698}
.cm-contactbar__link:hover,.cm-contactbar__link:focus-visible{color:#fff}
.cm-contactbar__link:focus-visible{outline:2px solid #ff83a1;outline-offset:-2px}
@media(max-width:1120px){.cm-contactbar__inner{width:calc(100% - 44px)}}
@media(max-width:570px){
 .cm-contactbar__inner{width:calc(100% - 34px);min-height:34px;justify-content:space-between}
 .cm-contactbar__link{min-height:32px;padding:0 10px;gap:6px}
 .cm-contactbar__link:not(.cm-contactbar__phone){min-width:34px}
 .cm-contactbar__link:not(.cm-contactbar__phone) span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .cm-contactbar__link svg{width:16px;height:16px}
 .cm-contactbar__phone{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.cm-contactbar__link{transition:none}}

/* Brand layout V1: centered, evenly spaced contact strip; DOM order = visual order. */
.cm-contactbar__inner{justify-content:space-evenly;gap:clamp(6px,2.5vw,36px);max-width:1020px}
.cm-contactbar__link,.cm-contactbar__link:first-child,.cm-contactbar__link:last-child{padding-inline:clamp(4px,1vw,13px)}
.cm-contactbar__link+.cm-contactbar__link{border-left:0}
@media(max-width:570px){.cm-contactbar__inner{gap:4px;justify-content:space-evenly}.cm-contactbar__link,.cm-contactbar__link:first-child,.cm-contactbar__link:last-child{padding-inline:5px}}

/* Six contact links: preserve the slim bar and the visible phone number on narrow screens. */
@media(max-width:900px){.cm-contactbar__inner{gap:4px}.cm-contactbar__link:not(.cm-contactbar__phone) span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
@media(max-width:390px){.cm-contactbar__inner{width:calc(100% - 20px);gap:2px}.cm-contactbar__link,.cm-contactbar__link:first-child,.cm-contactbar__link:last-child{padding-inline:4px;gap:4px}.cm-contactbar__link:not(.cm-contactbar__phone){min-width:30px}}
