/* ComTechSa 0.19.0 – konsolidierte Produktions-CSS */


/* ==========================================================================
   ComTechSa 0.16.0 – verbindliche Referenzumsetzung
   Keine neue Designrichtung. Diese Datei setzt ausschließlich den bereits
   freigegebenen Entwurf technisch um.
   ========================================================================== */

:root{
  --ref-orange:#ff5a0a;
  --ref-orange-dark:#e94c00;
  --ref-navy:#0b1c29;
  --ref-navy-2:#102432;
  --ref-text:#111923;
  --ref-muted:#56616d;
  --ref-line:#e5e8eb;
  --ref-green:#61bd36;
  --ref-shell:1280px;
}

html,body{overflow-x:hidden}
body{
  margin:0;
  background:#f5f5f5;
  color:var(--ref-text);
}

.cts-ref-shell{
  width:min(var(--ref-shell),calc(100% - 48px));
  margin-inline:auto;
  box-sizing:border-box;
}

/* Header */
.cts-ref-header-shell{
  position:sticky;
  top:0;
  z-index:5000;
  background:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,.09);
  border-radius:8px 8px 0 0;
}
.admin-bar .cts-ref-header-shell{top:32px}

.cts-ref-header{
  min-height:84px;
  display:grid;
  grid-template-columns:245px minmax(0,1fr) 138px;
  gap:28px;
  align-items:center;
  padding:0 40px;
}

.cts-ref-brand,
.cts-ref-footer-brand{
  display:block;
  background:url('../images/comtechsa-logo.png') left center/contain no-repeat;
  text-decoration:none;
}

.cts-ref-brand{
  width:235px;
  height:66px;
}

.cts-ref-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:34px;
}

.cts-ref-nav a{
  position:relative;
  padding:31px 0 27px;
  color:#111923;
  text-decoration:none;
  font-size:.91rem;
  font-weight:700;
  white-space:nowrap;
}

.cts-ref-nav a:hover,
.cts-ref-nav a:focus-visible{color:var(--ref-orange)}

.cts-ref-nav a:first-child{
  color:var(--ref-orange);
}

.cts-ref-nav a:first-child::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:22px;
  height:2px;
  background:var(--ref-orange);
}

.cts-ref-header-cta{
  display:inline-flex;
  min-height:42px;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:4px;
  background:var(--ref-orange);
  color:#fff;
  text-decoration:none;
  font-size:.82rem;
  font-weight:800;
}
.cts-ref-header-cta:hover{background:var(--ref-orange-dark)}

.cts-ref-menu-toggle{
  display:none;
}

/* Hero */
.cts-ref-hero{
  position:relative;
  min-height:326px;
  overflow:hidden;
  background-color:var(--ref-navy);
  background-image:
    linear-gradient(90deg,
      rgba(11,28,41,1) 0%,
      rgba(11,28,41,1) 34%,
      rgba(11,28,41,.93) 43%,
      rgba(11,28,41,.15) 58%,
      rgba(11,28,41,0) 70%
    ),
    url('../images/home-hero-approved-v2.jpg');
  background-position:left top,right center;
  background-repeat:no-repeat,no-repeat;
  background-size:100% 100%,auto 100%;
}

.cts-ref-hero-copy{
  width:430px;
  padding:50px 0 36px 110px;
  color:#fff;
  box-sizing:content-box;
}

.cts-ref-hero-copy h1{
  margin:0 0 16px;
  color:#fff;
  font-size:2.55rem;
  line-height:1.04;
  letter-spacing:-.025em;
  font-weight:800;
}
.cts-ref-hero-copy h1 span{color:var(--ref-orange)}
.cts-ref-hero-copy p{
  margin:0;
  color:#d2d8dd;
  font-size:.95rem;
  line-height:1.62;
}
.cts-ref-hero-actions{
  display:flex;
  gap:10px;
  margin-top:22px;
}
.cts-ref-btn{
  display:inline-flex;
  min-height:40px;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border-radius:3px;
  text-decoration:none;
  font-size:.78rem;
  font-weight:800;
}
.cts-ref-btn-primary{background:var(--ref-orange);color:#fff}
.cts-ref-btn-primary:hover{background:var(--ref-orange-dark)}
.cts-ref-btn-secondary{
  border:1px solid #87919a;
  color:#fff;
  background:rgba(0,0,0,.06);
}

/* Section titles */
.cts-ref-section-title{
  text-align:center;
  margin-bottom:16px;
}
.cts-ref-section-title h2{
  margin:0;
  color:var(--ref-text);
  font-size:1.55rem;
  line-height:1.15;
  letter-spacing:-.02em;
}
.cts-ref-section-title p{
  margin:5px 0 0;
  color:var(--ref-muted);
  font-size:.88rem;
}

/* Process */
.cts-ref-process{
  padding:12px 110px 22px;
  background:#fff;
  border-bottom:1px solid var(--ref-line);
}
.cts-ref-process-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:28px;
}
.cts-ref-process-step{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 48px 20px;
  gap:10px;
  align-items:center;
  min-width:0;
}
.cts-ref-process-step:last-child{
  grid-template-columns:34px minmax(0,1fr) 48px;
}
.cts-ref-step-num{
  width:34px;height:34px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:var(--ref-orange);
  color:#fff;
  font-weight:900;
}
.cts-ref-step-copy h3{
  margin:0 0 4px;
  font-size:.98rem;
}
.cts-ref-step-copy p{
  margin:0;
  color:#4f5963;
  font-size:.79rem;
  line-height:1.48;
}
.cts-ref-arrow{
  color:var(--ref-orange);
  font-size:1.4rem;
  text-align:center;
}

/* CSS line icons */
.cts-ref-line-icon{
  position:relative;
  width:42px;height:42px;
  color:var(--ref-orange);
}
.cts-ref-icon-chat::before{
  content:"";
  position:absolute;
  left:4px;top:8px;
  width:28px;height:21px;
  border:2px solid currentColor;
  border-radius:50%;
}
.cts-ref-icon-chat::after{
  content:"";
  position:absolute;
  left:9px;top:27px;
  width:10px;height:10px;
  border-left:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:skew(-25deg);
}
.cts-ref-icon-doc{
  border:2px solid currentColor;
  border-radius:2px;
  box-sizing:border-box;
  width:28px;height:36px;
  margin:3px 0 0 7px;
}
.cts-ref-icon-doc::before,
.cts-ref-icon-doc::after{
  content:"";
  position:absolute;
  left:13px;
  width:16px;
  border-top:2px solid currentColor;
}
.cts-ref-icon-doc::before{top:15px}
.cts-ref-icon-doc::after{top:23px}
.cts-ref-icon-rocket::before{
  content:"";
  position:absolute;
  left:11px;top:4px;
  width:20px;height:31px;
  border:2px solid currentColor;
  border-radius:55% 55% 45% 45%;
  transform:rotate(42deg);
}
.cts-ref-icon-rocket::after{
  content:"";
  position:absolute;
  left:8px;bottom:2px;
  width:13px;height:13px;
  border-left:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(-3deg);
}

/* Services */
.cts-ref-services{
  padding:12px 60px 10px;
  background:#fff;
  border-bottom:1px solid var(--ref-line);
}
.cts-ref-services-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
}
.cts-ref-service{
  min-height:156px;
  padding:13px 10px 12px;
  border:1px solid #dfe3e6;
  border-radius:4px;
  background:#fff;
  text-align:center;
  box-sizing:border-box;
}
.cts-ref-service-icon{
  position:relative;
  width:46px;height:46px;
  margin:0 auto 4px;
  color:var(--ref-orange);
}
.cts-ref-service h3{
  margin:0 0 6px;
  font-size:.81rem;
  line-height:1.18;
}
.cts-ref-service p{
  margin:0;
  color:#4f5963;
  font-size:.71rem;
  line-height:1.43;
}

/* service icon approximations, all CSS */
.cts-ref-service-icon-people::before,
.cts-ref-service-icon-people::after{
  content:"";
  position:absolute;
  border:2px solid currentColor;
  border-radius:50%;
}
.cts-ref-service-icon-people::before{width:14px;height:14px;left:15px;top:4px}
.cts-ref-service-icon-people::after{width:34px;height:20px;left:5px;top:23px;border-radius:18px 18px 4px 4px}
.cts-ref-service-icon-server::before{
  content:"";
  position:absolute;
  left:8px;top:6px;
  width:28px;height:32px;
  border:2px solid currentColor;
  border-radius:2px;
  box-shadow:0 8px 0 -6px currentColor,0 16px 0 -6px currentColor;
}
.cts-ref-service-icon-m365{
  display:flex;align-items:center;justify-content:center;
  font-size:2rem;font-weight:900;
}
.cts-ref-service-icon-shield::before{
  content:"";
  position:absolute;
  left:9px;top:4px;
  width:27px;height:34px;
  border:2px solid currentColor;
  border-radius:45% 45% 50% 50%;
}
.cts-ref-service-icon-shield::after{
  content:"";
  position:absolute;
  left:20px;top:13px;
  width:5px;height:10px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
}
.cts-ref-service-icon-backup::before{
  content:"↓";
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  font-size:2rem;font-weight:900;
}
.cts-ref-service-icon-web::before{
  content:"";
  position:absolute;
  left:5px;top:5px;
  width:34px;height:34px;
  border:2px solid currentColor;
  border-radius:50%;
}
.cts-ref-service-icon-web::after{
  content:"";
  position:absolute;
  left:13px;top:5px;
  width:18px;height:34px;
  border-left:2px solid currentColor;
  border-right:2px solid currentColor;
  border-radius:50%;
}

/* Projects */
.cts-ref-projects{
  padding:16px 110px;
  background:linear-gradient(135deg,var(--ref-navy),var(--ref-navy-2));
  color:#fff;
}
.cts-ref-projects-grid{
  display:grid;
  grid-template-columns:34% 66%;
  gap:42px;
  align-items:center;
}
.cts-ref-project-intro>span{
  display:block;
  margin-bottom:5px;
  color:var(--ref-orange);
  font-size:.72rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.cts-ref-project-intro h2{
  margin:0 0 7px;
  color:#fff;
  font-size:1.5rem;
}
.cts-ref-project-intro p{
  margin:0 0 12px;
  color:#d1d8de;
  font-size:.82rem;
  line-height:1.5;
}
.cts-ref-project-outline{
  display:inline-flex;
  min-height:34px;
  align-items:center;
  padding:0 14px;
  border:1px solid #71808b;
  border-radius:3px;
  color:#fff;
  text-decoration:none;
  font-size:.72rem;
  font-weight:800;
}
.cts-ref-kb-card{
  display:grid;
  grid-template-columns:78px 1fr 1.1fr;
  grid-template-rows:auto auto;
  gap:12px 18px;
  align-items:center;
  padding:12px 18px;
  border:1px solid #44545f;
  border-radius:5px;
  background:rgba(0,0,0,.10);
}
.cts-ref-kb-logo{
  grid-row:1 / 3;
  width:72px;height:72px;
  display:flex;align-items:center;justify-content:center;
  border-radius:10px;
  background:#162a36;
  color:var(--ref-green);
  font-size:3.5rem;
  font-weight:900;
}
.cts-ref-kb-copy h3{
  margin:0;
  color:#fff;
  font-size:1.45rem;
}
.cts-ref-kb-copy h3 span{color:var(--ref-green)}
.cts-ref-kb-copy p{
  margin:4px 0;
  color:#fff;
  font-size:.76rem;
}
.cts-ref-kb-copy small{color:#cbd3d9}
.cts-ref-kb-card ul{
  margin:0;padding:0;
  list-style:none;
  color:#fff;
  font-size:.72rem;
  line-height:1.6;
}
.cts-ref-kb-card li::before{
  content:"✓";
  margin-right:7px;
  color:var(--ref-green);
  font-weight:900;
}
.cts-ref-kb-button{
  grid-column:3;
  justify-self:stretch;
  min-height:33px;
  display:flex;align-items:center;justify-content:center;
  border-radius:3px;
  background:var(--ref-green);
  color:#fff;
  text-decoration:none;
  font-size:.72rem;
  font-weight:800;
}

/* Footer */
.cts-ref-footer-shell{
  background:#102430;
  border-radius:0 0 8px 8px;
  box-shadow:0 10px 30px rgba(0,0,0,.11);
}
.cts-ref-footer{
  min-height:68px;
  display:grid;
  grid-template-columns:220px minmax(0,1fr) 220px;
  gap:24px;
  align-items:center;
  padding:0 60px;
}
.cts-ref-footer-brand{
  width:180px;height:50px;
  filter:brightness(0) invert(1);
}
.cts-ref-footer-nav{
  display:flex;
  justify-content:center;
  gap:28px;
}
.cts-ref-footer-nav a{
  color:#fff;
  text-decoration:none;
  font-size:.71rem;
}
.cts-ref-footer-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  color:#fff;
  font-size:.68rem;
  line-height:1.35;
}
.cts-ref-footer-legal a{color:#b8c1c8;text-decoration:none}

/* Mobile nav and layout */
@media(max-width:960px){
  body{background:#fff}
  .cts-ref-shell{width:100%}

  .cts-ref-header-shell{border-radius:0}
  .cts-ref-header{
    min-height:72px;
    grid-template-columns:170px 1fr auto;
    gap:12px;
    padding:0 18px;
  }
  .cts-ref-brand{width:160px;height:54px}
  .cts-ref-header-cta{display:none}
  .cts-ref-menu-toggle{
    display:flex;
    width:42px;height:42px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    border:1px solid #dfe3e7;
    border-radius:5px;
    background:#fff;
    cursor:pointer;
  }
  .cts-ref-menu-toggle span:not(.screen-reader-text){
    display:block;
    width:20px;height:2px;
    background:var(--ref-navy);
  }
  .cts-ref-nav{
    position:fixed;
    inset:72px 0 0;
    z-index:9999;
    display:none;
    flex-direction:column;
    justify-content:flex-start;
    align-items:stretch;
    gap:0;
    padding:22px 20px;
    background:var(--ref-navy);
  }
  .cts-ref-nav.is-open{display:flex}
  .cts-ref-nav a{
    padding:16px 4px;
    border-bottom:1px solid rgba(255,255,255,.12);
    color:#fff!important;
    font-size:1.05rem;
  }
  .cts-ref-nav a:first-child::after{display:none}

  .cts-ref-hero{
    min-height:0;
    padding:0 18px 210px;
    background-image:
      linear-gradient(180deg,rgba(11,28,41,1) 0%,rgba(11,28,41,1) 54%,rgba(11,28,41,.92) 62%,rgba(11,28,41,.05) 78%,rgba(11,28,41,0) 100%),
      url('../images/home-hero-approved-v2.jpg');
    background-position:left top,center bottom;
    background-size:100% 100%,auto 210px;
  }
  .cts-ref-hero-copy{
    width:auto;
    padding:34px 0 30px;
  }
  .cts-ref-hero-copy h1{font-size:2.25rem}
  .cts-ref-hero-copy p br{display:none}
  .cts-ref-hero-actions{flex-direction:column}
  .cts-ref-btn{width:100%;box-sizing:border-box}

  .cts-ref-process{padding:24px 18px}
  .cts-ref-process-grid{grid-template-columns:1fr;gap:16px}
  .cts-ref-process-step,
  .cts-ref-process-step:last-child{
    grid-template-columns:34px minmax(0,1fr) 42px;
  }
  .cts-ref-arrow{display:none}

  .cts-ref-services{padding:24px 18px}
  .cts-ref-services-grid{grid-template-columns:1fr 1fr}
  .cts-ref-service{min-height:0}

  .cts-ref-projects{padding:28px 18px}
  .cts-ref-projects-grid{grid-template-columns:1fr;gap:20px}
  .cts-ref-kb-card{grid-template-columns:64px 1fr;grid-template-rows:auto auto auto}
  .cts-ref-kb-logo{grid-row:1;width:60px;height:60px;font-size:2.8rem}
  .cts-ref-kb-card ul{grid-column:1 / -1}
  .cts-ref-kb-button{grid-column:1 / -1}

  .cts-ref-footer-shell{border-radius:0}
  .cts-ref-footer{
    grid-template-columns:1fr;
    gap:12px;
    padding:20px 18px;
    text-align:center;
  }
  .cts-ref-footer-brand{margin-inline:auto}
  .cts-ref-footer-nav{flex-wrap:wrap;gap:10px 18px}
  .cts-ref-footer-copy{align-items:center}
}

@media(max-width:560px){
  .cts-ref-services-grid{grid-template-columns:1fr}
  .cts-ref-hero-copy h1{font-size:2rem}
}

@media(max-width:782px){
  .admin-bar .cts-ref-header-shell{top:46px}
}
@media(max-width:600px){
  .admin-bar .cts-ref-header-shell{top:0}
}


/* ==========================================================================
   0.17.0 – Full-width + Responsive Ausbau
   Die Referenz bleibt unverändert, wird aber auf die gesamte Viewport-Breite
   skaliert. Inneninhalte bleiben kontrolliert lesbar.
   ========================================================================== */

:root{
  --ref-content:1480px;
  --ref-gutter:clamp(24px,4vw,72px);
}

/* Die äußeren Designflächen laufen jetzt über die komplette Bildschirmbreite. */
.cts-ref-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border-radius:0!important;
}

/* Header */
.cts-ref-header-shell{
  width:100%!important;
  max-width:none!important;
  border-radius:0!important;
}
.cts-ref-header{
  width:min(var(--ref-content),calc(100% - (var(--ref-gutter) * 2)));
  margin-inline:auto;
  padding-inline:0;
  box-sizing:border-box;
}
.cts-ref-header-shell,
.cts-ref-footer-shell{
  box-shadow:none;
}

/* Hero auf volle Breite ziehen, Inhalt kontrolliert positionieren */
.cts-ref-hero{
  min-height:clamp(360px,27vw,500px);
  background-size:100% 100%,auto 100%;
  background-position:left top,right center;
}
.cts-ref-hero-copy{
  width:min(470px,38vw);
  margin-left:max(var(--ref-gutter),calc((100vw - var(--ref-content))/2));
  padding-left:0;
  padding-top:clamp(52px,5vw,82px);
  padding-bottom:clamp(46px,4.5vw,72px);
}
.cts-ref-hero-copy h1{
  font-size:clamp(2.75rem,3.5vw,4.4rem);
}
.cts-ref-hero-copy p{
  font-size:clamp(.98rem,1.1vw,1.14rem);
}

/* Gemeinsame Innenbreite für die nachfolgenden Abschnitte */
.cts-ref-process,
.cts-ref-services,
.cts-ref-projects{
  padding-left:max(var(--ref-gutter),calc((100vw - var(--ref-content))/2));
  padding-right:max(var(--ref-gutter),calc((100vw - var(--ref-content))/2));
}

/* Prozess etwas großzügiger auf großen Displays */
.cts-ref-process{
  padding-top:clamp(20px,2vw,34px);
  padding-bottom:clamp(26px,2.5vw,44px);
}
.cts-ref-process-grid{
  gap:clamp(32px,4vw,72px);
}
.cts-ref-step-copy p{
  font-size:clamp(.8rem,.8vw,.93rem);
}

/* Leistungen: sechs Karten sollen die verfügbare Desktopbreite wirklich nutzen */
.cts-ref-services{
  padding-top:clamp(20px,2vw,32px);
  padding-bottom:clamp(22px,2vw,34px);
}
.cts-ref-services-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:clamp(10px,1vw,18px);
}
.cts-ref-service{
  min-height:clamp(160px,13vw,205px);
  padding:clamp(14px,1.3vw,22px) clamp(10px,1vw,16px);
}
.cts-ref-service h3{
  font-size:clamp(.81rem,.85vw,.98rem);
}
.cts-ref-service p{
  font-size:clamp(.72rem,.72vw,.85rem);
}

/* Projektbereich auf voller Breite mit größerem KleinBüro-Panel */
.cts-ref-projects{
  padding-top:clamp(24px,2.4vw,42px);
  padding-bottom:clamp(24px,2.4vw,42px);
}
.cts-ref-projects-grid{
  grid-template-columns:minmax(300px,34%) minmax(0,66%);
  gap:clamp(36px,5vw,84px);
}
.cts-ref-kb-card{
  padding:clamp(16px,1.5vw,24px);
}

/* Footer ebenfalls full width, Inhalt bleibt ausgerichtet */
.cts-ref-footer-shell{
  width:100%!important;
  max-width:none!important;
}
.cts-ref-footer{
  width:min(var(--ref-content),calc(100% - (var(--ref-gutter) * 2)));
  margin-inline:auto;
  padding-inline:0;
  min-height:80px;
}

/* Unterseiten: Hintergrundflächen full width, Inhalte gleich ausrichten */
.cts-subhero,
.cts-subpage-section,
.cts-subpage-cta{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
}
.cts-subhero-inner,
.cts-subpage-inner,
.cts-subpage-cta-inner{
  width:min(var(--ref-content),calc(100% - (var(--ref-gutter) * 2)))!important;
  max-width:none!important;
  margin-inline:auto!important;
}

/* große Desktops */
@media(min-width:1700px){
  :root{--ref-content:1560px}
  .cts-ref-hero-copy{
    width:500px;
  }
}

/* Laptops / kleine Desktops */
@media(min-width:961px) and (max-width:1250px){
  :root{
    --ref-content:1160px;
    --ref-gutter:28px;
  }

  .cts-ref-header{
    grid-template-columns:210px minmax(0,1fr) 128px;
    gap:18px;
  }
  .cts-ref-brand{
    width:205px;
  }
  .cts-ref-nav{
    gap:20px;
  }
  .cts-ref-nav a{
    font-size:.84rem;
  }

  .cts-ref-hero-copy{
    width:410px;
  }
  .cts-ref-hero-copy h1{
    font-size:clamp(2.6rem,3.8vw,3.55rem);
  }

  .cts-ref-services-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* Tablets */
@media(max-width:960px){
  :root{
    --ref-content:100%;
    --ref-gutter:24px;
  }

  .cts-ref-header{
    width:100%;
    padding-inline:var(--ref-gutter);
  }

  .cts-ref-hero{
    padding-left:var(--ref-gutter);
    padding-right:var(--ref-gutter);
    padding-bottom:clamp(220px,44vw,360px);
    background-size:100% 100%,auto clamp(220px,44vw,360px);
  }
  .cts-ref-hero-copy{
    width:auto;
    margin-left:0;
    padding-top:42px;
    padding-bottom:34px;
  }
  .cts-ref-hero-copy h1{
    font-size:clamp(2.4rem,7vw,3.8rem);
  }

  .cts-ref-process,
  .cts-ref-services,
  .cts-ref-projects{
    padding-left:var(--ref-gutter);
    padding-right:var(--ref-gutter);
  }

  .cts-ref-services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .cts-ref-projects-grid{
    grid-template-columns:1fr;
  }

  .cts-ref-footer{
    width:100%;
    padding-inline:var(--ref-gutter);
  }

  .cts-subhero-inner,
  .cts-subpage-inner,
  .cts-subpage-cta-inner{
    width:calc(100% - (var(--ref-gutter) * 2))!important;
  }
}

/* Smartphones */
@media(max-width:640px){
  :root{--ref-gutter:18px}

  .cts-ref-header{
    min-height:68px;
  }
  .cts-ref-brand{
    width:150px;
    height:50px;
  }

  .cts-ref-hero{
    padding-bottom:190px;
    background-size:100% 100%,auto 190px;
    background-position:left top,center bottom;
  }
  .cts-ref-hero-copy{
    padding-top:32px;
    padding-bottom:26px;
  }
  .cts-ref-hero-copy h1{
    font-size:clamp(2rem,10vw,2.8rem);
  }

  .cts-ref-section-title{
    text-align:left;
  }

  .cts-ref-process-grid{
    gap:18px;
  }
  .cts-ref-process-step,
  .cts-ref-process-step:last-child{
    grid-template-columns:32px minmax(0,1fr);
  }
  .cts-ref-line-icon{
    display:none;
  }

  .cts-ref-services-grid{
    grid-template-columns:1fr;
  }
  .cts-ref-service{
    min-height:0;
    text-align:left;
  }
  .cts-ref-service-icon{
    margin-left:0;
  }

  .cts-ref-projects{
    padding-top:28px;
    padding-bottom:28px;
  }
  .cts-ref-kb-card{
    grid-template-columns:58px 1fr;
  }

  .cts-ref-footer{
    padding-top:22px;
    padding-bottom:22px;
  }
}

/* Sehr kleine Geräte */
@media(max-width:380px){
  :root{--ref-gutter:14px}
  .cts-ref-brand{width:138px}
  .cts-ref-hero-copy h1{font-size:1.9rem}
}


/* ==========================================================================
   0.17.1 – Sticky Header refinement
   ========================================================================== */

.cts-ref-header-shell{
  position:sticky!important;
  top:0!important;
  z-index:99990!important;
  background:#fff!important;
  box-shadow:0 6px 20px rgba(11,28,41,.08)!important;
  backdrop-filter:saturate(140%) blur(8px);
  -webkit-backdrop-filter:saturate(140%) blur(8px);
}

.admin-bar .cts-ref-header-shell{
  top:32px!important;
}

@media(max-width:782px){
  .admin-bar .cts-ref-header-shell{
    top:46px!important;
  }
}

@media(max-width:600px){
  .admin-bar .cts-ref-header-shell{
    top:0!important;
  }
}

/* verhindert, dass Sprungziele unter dem sticky Header verschwinden */
html{
  scroll-padding-top:110px;
}


/* 0.18.0 – approved branded hero */
.cts-ref-hero-branded{
  position:relative;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  aspect-ratio:1536/347;
  padding:0!important;
  background-image:url('../images/home-hero-comtechsa-branded.jpg')!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
}
.cts-ref-hero-accessible{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
@media(max-width:960px){
  .cts-ref-hero-branded{
    padding:0!important;
    aspect-ratio:1536/430;
    background-size:cover!important;
    background-position:center center!important;
  }
}
@media(max-width:640px){
  .cts-ref-hero-branded{
    aspect-ratio:4/3;
    background-size:auto 100%!important;
    background-position:38% center!important;
  }
}


/* ==========================================================================
   0.18.1 – Header, Hero-Hotspots, Icons und Mobile-Menü
   ========================================================================== */

/* 1) Desktop Sticky Header: fixed statt sticky, damit kein Parent-Overflow
      das Verhalten mehr verhindern kann. */
.cts-ref-header-shell{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  z-index:99999!important;
  background:#fff!important;
  box-shadow:0 6px 22px rgba(11,28,41,.10)!important;
}
body{
  padding-top:84px!important;
}
.admin-bar .cts-ref-header-shell{
  top:32px!important;
}
.admin-bar body{
  padding-top:84px!important;
}
html{
  scroll-padding-top:110px!important;
}

/* 2) Hero-Buttons im Bild wirklich klickbar */
.cts-ref-hero-branded{
  position:relative!important;
}
.cts-ref-hero-hotspot{
  position:absolute;
  z-index:10;
  display:block;
  border-radius:4px;
  background:transparent;
}
.cts-ref-hero-hotspot:focus-visible{
  outline:3px solid #fff;
  outline-offset:2px;
}
.cts-ref-hero-hotspot-services{
  left:10.2%;
  top:78.7%;
  width:10.0%;
  height:12.2%;
}
.cts-ref-hero-hotspot-contact{
  left:20.9%;
  top:78.7%;
  width:10.6%;
  height:12.2%;
}

/* 3) Saubere SVG-Icons */
.cts-ref-svg-icon,
.cts-ref-service-svg{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--ref-orange);
}
.cts-ref-svg-icon{
  width:46px;
  height:46px;
}
.cts-ref-svg-icon svg,
.cts-ref-service-svg svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
  overflow:visible;
}
.cts-ref-service-svg{
  width:48px;
  height:48px;
  margin:0 auto 7px;
}
.cts-ref-service-svg-m365{
  color:var(--ref-orange);
  font-size:2rem;
  font-weight:900;
}
.cts-ref-service-svg-m365 span{
  line-height:1;
}

/* alte CSS-Icon-Konstrukte vollständig neutralisieren */
.cts-ref-line-icon,
.cts-ref-service-icon{
  display:none!important;
}

/* 4) Mobiles Menü als echte weiße Ebene, nicht transparent über dem Inhalt */
@media(max-width:960px){
  body{
    padding-top:72px!important;
  }

  .cts-ref-header-shell{
    position:fixed!important;
    top:0!important;
  }

  .cts-ref-nav{
    position:fixed!important;
    top:72px!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:99998!important;
    display:none!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-items:stretch!important;
    gap:0!important;
    padding:18px 22px 28px!important;
    background:#fff!important;
    box-shadow:0 12px 30px rgba(11,28,41,.12)!important;
    overflow-y:auto!important;
  }
  .cts-ref-nav.is-open{
    display:flex!important;
  }
  .cts-ref-nav a{
    padding:15px 2px!important;
    border-bottom:1px solid #e7eaed!important;
    color:var(--ref-navy)!important;
    font-size:1.08rem!important;
    font-weight:750!important;
    background:#fff!important;
  }
  .cts-ref-nav a:first-child{
    color:var(--ref-orange)!important;
  }
  .cts-ref-nav a:first-child::after{
    display:none!important;
  }

  html.cts-menu-open,
  body.cts-menu-open{
    overflow:hidden!important;
  }

  .cts-ref-menu-toggle.is-open span:not(.screen-reader-text):nth-child(1){
    transform:translateY(6px) rotate(45deg);
  }
  .cts-ref-menu-toggle.is-open span:not(.screen-reader-text):nth-child(2){
    opacity:0;
  }
  .cts-ref-menu-toggle.is-open span:not(.screen-reader-text):nth-child(3){
    transform:translateY(-6px) rotate(-45deg);
  }
  .cts-ref-menu-toggle span:not(.screen-reader-text){
    transition:transform .16s ease,opacity .16s ease;
  }

  /* Hotspots auf Tablet passend zum Hero-Ausschnitt */
  .cts-ref-hero-hotspot-services{
    left:10.2%;
    top:78%;
    width:10%;
    height:13%;
  }
  .cts-ref-hero-hotspot-contact{
    left:20.9%;
    top:78%;
    width:11%;
    height:13%;
  }
}

@media(max-width:782px){
  .admin-bar .cts-ref-header-shell{
    top:46px!important;
  }
}

@media(max-width:600px){
  .admin-bar .cts-ref-header-shell{
    top:0!important;
  }
}

/* Auf Smartphones ist das Hero-Motiv stark gecroppt; dort echte sichtbare
   Buttons ergänzen wir bewusst nicht über ungenaue Hotspots. */
@media(max-width:640px){
  .cts-ref-hero-hotspot{
    display:none!important;
  }
}


/* ==========================================================================
   0.18.2 – Hero Mobile Scaling Hotfix
   Das freigegebene Motiv ist jetzt ein echtes responsives <img> und wird
   niemals mehr durch background-size/background-position abgeschnitten.
   ========================================================================== */

.cts-ref-hero-branded{
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  aspect-ratio:auto!important;
  padding:0!important;
  overflow:hidden!important;
  background:none!important;
}

.cts-ref-hero-img{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Alte Hero-background-Regeln vollständig neutralisieren. */
.cts-ref-hero-branded{
  background-image:none!important;
  background-size:auto!important;
  background-position:initial!important;
  background-repeat:no-repeat!important;
}

/* Hotspots skalieren prozentual mit dem Bild mit. */
.cts-ref-hero-hotspot{
  display:block!important;
  position:absolute!important;
  z-index:20!important;
}

/* Positionen bezogen auf das komplette freigegebene 1536x347-Motiv. */
.cts-ref-hero-hotspot-services{
  left:10.25%!important;
  top:78.1%!important;
  width:10.0%!important;
  height:12.5%!important;
}
.cts-ref-hero-hotspot-contact{
  left:20.95%!important;
  top:78.1%!important;
  width:10.65%!important;
  height:12.5%!important;
}

/* Tablet: Motiv bleibt vollständig sichtbar. */
@media(max-width:960px){
  .cts-ref-hero-branded{
    padding:0!important;
    aspect-ratio:auto!important;
  }
  .cts-ref-hero-img{
    width:100%!important;
    height:auto!important;
    object-fit:contain!important;
  }
}

/* Smartphone: ebenfalls vollständige Bildbreite, kein Cropping.
   Das Motiv wird nur proportional kleiner. */
@media(max-width:640px){
  .cts-ref-hero-branded{
    padding:0!important;
    aspect-ratio:auto!important;
    min-height:0!important;
  }

  .cts-ref-hero-img{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  /* Buttons bleiben klickbar, da die Hotspots mit dem Bild skalieren. */
  .cts-ref-hero-hotspot{
    display:block!important;
  }
}



/* ComTechSa 0.18.3 – authoritative mobile sticky header/menu */

@media (max-width: 960px) {

  html,
  body {
    overflow-x: hidden;
  }

  /* Fixed is used deliberately on mobile because it is more reliable than
     sticky inside WordPress/Gutenberg wrappers. */
  .cts-ref-header-shell {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 78px !important;
    z-index: 2147483000 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: 0 4px 18px rgba(11, 28, 41, .10) !important;
    border: 0 !important;
  }

  body {
    padding-top: 78px !important;
  }

  .cts-ref-header {
    width: 100% !important;
    height: 78px !important;
    min-height: 78px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .cts-ref-brand {
    display: block !important;
    flex: 0 1 300px !important;
    width: min(300px, calc(100vw - 100px)) !important;
    max-width: calc(100vw - 100px) !important;
    height: 60px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
  }

  .cts-ref-nav,
  .cts-ref-header-cta {
    display: none !important;
  }

  .cts-ref-menu-toggle {
    position: relative !important;
    z-index: 2147483002 !important;
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dce2e7 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #0b1c29 !important;
    cursor: pointer !important;
  }

  .cts-ref-burger-line {
    display: block !important;
    width: 24px !important;
    height: 3px !important;
    border-radius: 3px !important;
    background: #0b1c29 !important;
    transition: transform .18s ease, opacity .18s ease !important;
    transform-origin: center !important;
  }

  .cts-ref-menu-toggle.is-open .cts-ref-burger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg) !important;
  }

  .cts-ref-menu-toggle.is-open .cts-ref-burger-line:nth-child(2) {
    opacity: 0 !important;
  }

  .cts-ref-menu-toggle.is-open .cts-ref-burger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg) !important;
  }

  /* Completely separate menu layer. It is hidden with visibility/pointer-events
     instead of display so there is no flash or inherited layout contamination. */
  .cts-ref-mobile-panel {
    position: fixed !important;
    top: 78px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2147482999 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }

  .cts-ref-mobile-panel.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .cts-ref-mobile-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 18px 22px 28px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: #fff !important;
  }

  .cts-ref-mobile-nav a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 17px 4px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-bottom: 1px solid #e7ebee !important;
    background: #fff !important;
    color: #111923 !important;
    text-decoration: none !important;
    font-size: 1.08rem !important;
    line-height: 1.3 !important;
    font-weight: 750 !important;
  }

  .cts-ref-mobile-nav a:first-child {
    color: #ff5a0a !important;
  }

  .cts-ref-mobile-nav .cts-ref-mobile-cta {
    width: auto !important;
    margin-top: 22px !important;
    padding: 14px 18px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: #ff5a0a !important;
    color: #fff !important;
    text-align: center !important;
  }

  html.cts-mobile-menu-open,
  body.cts-mobile-menu-open {
    overflow: hidden !important;
    touch-action: none !important;
  }

  html {
    scroll-padding-top: 94px !important;
  }
}

/* WordPress admin bar offsets */
@media (min-width: 601px) and (max-width: 782px) {
  .admin-bar .cts-ref-header-shell {
    top: 46px !important;
  }

  .admin-bar .cts-ref-mobile-panel {
    top: 124px !important;
  }
}

@media (min-width: 783px) and (max-width: 960px) {
  .admin-bar .cts-ref-header-shell {
    top: 32px !important;
  }

  .admin-bar .cts-ref-mobile-panel {
    top: 110px !important;
  }
}

@media (max-width: 600px) {
  .admin-bar .cts-ref-header-shell {
    top: 0 !important;
  }

  .admin-bar .cts-ref-mobile-panel {
    top: 78px !important;
  }
}



/* ComTechSa 0.18.4 – authoritative icon cleanup */

/* Process icons must be plain line icons without any boxes, outlines,
   shadows, inherited button styling or background. */
.cts-ref-process .cts-ref-svg-icon,
.cts-ref-process .cts-ref-svg-icon:hover,
.cts-ref-process .cts-ref-svg-icon:focus,
.cts-ref-process .cts-ref-svg-icon:focus-visible,
.cts-ref-process .cts-ref-svg-icon:active {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  color: var(--ref-orange) !important;
  overflow: visible !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.cts-ref-process .cts-ref-svg-icon svg {
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* Service icons same treatment. */
.cts-ref-services .cts-ref-service-svg,
.cts-ref-services .cts-ref-service-svg:hover,
.cts-ref-services .cts-ref-service-svg:focus,
.cts-ref-services .cts-ref-service-svg:focus-visible,
.cts-ref-services .cts-ref-service-svg:active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 auto 8px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  color: var(--ref-orange) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.cts-ref-services .cts-ref-service-svg svg {
  width: 44px !important;
  height: 44px !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* Prevent any pseudo-element leftovers from old CSS icon experiments. */
.cts-ref-svg-icon::before,
.cts-ref-svg-icon::after,
.cts-ref-service-svg::before,
.cts-ref-service-svg::after {
  content: none !important;
  display: none !important;
}

/* Keep process alignment close to the approved reference. */
@media (min-width: 961px) {
  .cts-ref-process-step {
    grid-template-columns: 34px minmax(0,1fr) 48px 22px !important;
  }

  .cts-ref-process-step:last-child {
    grid-template-columns: 34px minmax(0,1fr) 48px !important;
  }
}

/* On mobile the icons sit below/alongside content without decorative boxes. */
@media (max-width: 960px) {
  .cts-ref-process .cts-ref-svg-icon {
    width: 42px !important;
    height: 42px !important;
  }

  .cts-ref-process .cts-ref-svg-icon svg {
    width: 38px !important;
    height: 38px !important;
  }
}




/* ==========================================================================
   0.19.0 – Konsolidierte Produktionsschicht
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

/* Mobile panel must NEVER participate in desktop layout. */
.cts-ref-mobile-panel {
  display: none;
}

/* Fixed header on desktop and mobile. */
.cts-ref-header-shell {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 2147483000 !important;
  background: #fff !important;
}

body {
  padding-top: 84px !important;
}

.admin-bar .cts-ref-header-shell {
  top: 32px !important;
}

html {
  scroll-padding-top: 108px !important;
}

/* Prevent WordPress block defaults from re-constraining our reference areas. */
.cts-ref-header,
.cts-ref-hero,
.cts-ref-process,
.cts-ref-services,
.cts-ref-projects,
.cts-ref-footer,
.cts-subhero-inner,
.cts-subpage-inner,
.cts-subpage-cta-inner {
  max-width: none !important;
}

/* Hero image remains proportional at every viewport size. */
.cts-ref-hero-branded {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: none !important;
}

.cts-ref-hero-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
}

/* Inline SVGs: final authoritative reset. */
.cts-ref-svg-icon,
.cts-ref-service-svg,
.cts-ref-svg-icon svg,
.cts-ref-service-svg svg {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Underpages: protect against mobile overflow and oversized Gutenberg typography. */
.cts-subhero,
.cts-subpage-section,
.cts-subpage-cta,
.cts-subhero-inner,
.cts-subpage-inner,
.cts-subpage-cta-inner {
  min-width: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.cts-subhero h1,
.cts-subpage-section h1,
.cts-subpage-section h2,
.cts-subpage-section h3 {
  max-width: 100% !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

img, svg {
  max-width: 100%;
}

/* Desktop nav only. */
@media (min-width: 961px) {
  .cts-ref-mobile-panel {
    display: none !important;
  }

  .cts-ref-menu-toggle {
    display: none !important;
  }
}

/* Tablet + Mobile authoritative layer */
@media (max-width: 960px) {
  body {
    padding-top: 78px !important;
  }

  .cts-ref-header-shell {
    height: 78px !important;
  }

  .cts-ref-header {
    height: 78px !important;
    min-height: 78px !important;
  }

  .cts-ref-mobile-panel {
    position: fixed !important;
    display: block !important;
    top: 78px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2147482999 !important;
    background: #fff !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow-y: auto !important;
  }

  .cts-ref-mobile-panel.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .cts-ref-nav,
  .cts-ref-header-cta {
    display: none !important;
  }

  .cts-ref-menu-toggle {
    display: flex !important;
  }

  html.cts-mobile-menu-open,
  body.cts-mobile-menu-open {
    overflow: hidden !important;
  }

  /* Hero clickable hotspots scale with real image. */
  .cts-ref-hero-hotspot {
    position: absolute !important;
    display: block !important;
  }

  /* Subpage spacing */
  .cts-subhero-inner,
  .cts-subpage-inner,
  .cts-subpage-cta-inner {
    width: calc(100% - 40px) !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 640px) {
  .cts-subhero-inner,
  .cts-subpage-inner,
  .cts-subpage-cta-inner {
    width: calc(100% - 36px) !important;
  }

  .cts-subhero h1 {
    font-size: clamp(2.05rem, 10vw, 2.8rem) !important;
    line-height: 1.07 !important;
  }

  .cts-subhero-lead {
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  /* process rows stay compact */
  .cts-ref-process-step,
  .cts-ref-process-step:last-child {
    grid-template-columns: 32px minmax(0,1fr) !important;
  }

  .cts-ref-process .cts-ref-svg-icon {
    display: none !important;
  }

  .cts-ref-arrow {
    display: none !important;
  }
}

/* WP admin bar offsets */
@media (min-width: 783px) {
  .admin-bar .cts-ref-header-shell {
    top: 32px !important;
  }
}

@media (min-width: 601px) and (max-width: 782px) {
  .admin-bar .cts-ref-header-shell {
    top: 46px !important;
  }
  .admin-bar .cts-ref-mobile-panel {
    top: 124px !important;
  }
}

@media (max-width: 600px) {
  .admin-bar .cts-ref-header-shell {
    top: 0 !important;
  }
  .admin-bar .cts-ref-mobile-panel {
    top: 78px !important;
  }
}


/* ==========================================================================
   0.20.0 – Responsive QA + Accessibility Hardening
   ========================================================================== */

:root{
  --cts-header-height-desktop:84px;
  --cts-header-height-mobile:78px;
}

/* Visible keyboard focus */
.cts-ref-header a:focus-visible,
.cts-ref-footer a:focus-visible,
.cts-ref-mobile-nav a:focus-visible,
.cts-ref-btn:focus-visible,
.cts-ref-project-outline:focus-visible,
.cts-ref-kb-button:focus-visible,
.cts-ref-hero-hotspot:focus-visible{
  outline:3px solid var(--ref-orange)!important;
  outline-offset:3px!important;
}

/* Skip link */
.cts-skip-link{
  position:fixed!important;
  left:16px!important;
  top:-100px!important;
  z-index:2147483647!important;
  padding:10px 14px!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#0b1c29!important;
  font-weight:800!important;
  text-decoration:none!important;
  box-shadow:0 5px 18px rgba(0,0,0,.16)!important;
}
.cts-skip-link:focus{
  top:12px!important;
}

/* Active navigation state added by navigation.js */
.cts-ref-nav a.is-current,
.cts-ref-footer-nav a.is-current,
.cts-ref-mobile-nav a.is-current{
  color:var(--ref-orange)!important;
}
.cts-ref-nav a.is-current::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:22px!important;
  height:2px!important;
  background:var(--ref-orange)!important;
}

/* Remove the old assumption that Startseite is always active. */
.cts-ref-nav a:first-child:not(.is-current){
  color:#111923!important;
}
.cts-ref-nav a:first-child:not(.is-current)::after{
  display:none!important;
}

/* Process and service areas must never overflow viewport */
.cts-ref-process-grid,
.cts-ref-services-grid,
.cts-ref-projects-grid,
.cts-ref-kb-card,
.cts-detail-grid,
.cts-project-facts-grid,
.cts-topic-grid{
  min-width:0!important;
}
.cts-ref-process-step,
.cts-ref-service,
.cts-ref-kb-copy,
.cts-ref-project-intro,
.cts-detail-card,
.cts-contact-channel{
  min-width:0!important;
}

/* Underpage text safety */
.cts-subhero h1,
.cts-subhero-lead,
.cts-detail-card h2,
.cts-detail-card p,
.cts-contact-channel h2,
.cts-contact-channel p,
.cts-legal-approved p{
  max-width:100%!important;
}

/* Tablet */
@media (min-width:641px) and (max-width:960px){
  .cts-ref-process-grid{
    grid-template-columns:1fr 1fr!important;
  }
  .cts-ref-process-step:last-child{
    grid-column:1 / -1!important;
    max-width:50%!important;
    justify-self:center!important;
  }

  .cts-ref-services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .cts-subhero h1{
    font-size:clamp(2.35rem,7vw,3.4rem)!important;
  }
}

/* Smartphone */
@media (max-width:640px){
  body{
    padding-top:var(--cts-header-height-mobile)!important;
  }

  .cts-ref-header-shell{
    height:var(--cts-header-height-mobile)!important;
  }

  .cts-ref-header{
    height:var(--cts-header-height-mobile)!important;
    min-height:var(--cts-header-height-mobile)!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }

  .cts-ref-brand{
    flex:0 1 auto!important;
    width:min(270px,calc(100vw - 92px))!important;
    height:58px!important;
  }

  .cts-ref-menu-toggle{
    flex:0 0 48px!important;
    width:48px!important;
    height:48px!important;
  }

  .cts-ref-mobile-panel{
    top:var(--cts-header-height-mobile)!important;
  }

  .cts-ref-mobile-nav{
    padding:14px 18px 28px!important;
  }

  .cts-ref-mobile-nav a{
    font-size:1rem!important;
    padding:15px 2px!important;
  }

  /* Hero remains fully visible and proportional. */
  .cts-ref-hero-img{
    width:100%!important;
    height:auto!important;
  }

  /* Avoid oversized typography seen in early mobile builds. */
  .cts-ref-section-title h2{
    font-size:clamp(1.6rem,7vw,2rem)!important;
    line-height:1.12!important;
  }
  .cts-ref-section-title p{
    font-size:.95rem!important;
    line-height:1.5!important;
  }

  .cts-ref-process{
    padding:24px 18px 26px!important;
  }
  .cts-ref-process-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:22px!important;
  }
  .cts-ref-process-step,
  .cts-ref-process-step:last-child{
    grid-column:auto!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    align-items:start!important;
    gap:12px!important;
  }
  .cts-ref-step-num{
    width:38px!important;
    height:38px!important;
    margin-top:2px!important;
  }
  .cts-ref-step-copy h3{
    font-size:1.12rem!important;
  }
  .cts-ref-step-copy p{
    font-size:.94rem!important;
    line-height:1.5!important;
  }

  .cts-ref-services{
    padding:24px 18px!important;
  }
  .cts-ref-services-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .cts-ref-service{
    display:grid!important;
    grid-template-columns:56px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:14px!important;
    text-align:left!important;
    padding:16px!important;
  }
  .cts-ref-service-svg{
    grid-row:1 / 3!important;
    margin:0!important;
    align-self:center!important;
  }
  .cts-ref-service h3{
    margin:0 0 4px!important;
    align-self:end!important;
    font-size:1rem!important;
  }
  .cts-ref-service p{
    margin:0!important;
    font-size:.88rem!important;
    line-height:1.45!important;
  }

  .cts-ref-projects{
    padding:28px 18px!important;
  }
  .cts-ref-projects-grid{
    gap:22px!important;
  }
  .cts-ref-project-intro h2{
    font-size:1.55rem!important;
  }
  .cts-ref-kb-card{
    padding:16px!important;
  }

  /* Underpages */
  .cts-subhero-inner{
    padding-top:34px!important;
    padding-bottom:38px!important;
  }
  .cts-subhero h1{
    font-size:clamp(2rem,9vw,2.7rem)!important;
    line-height:1.08!important;
  }
  .cts-subhero-lead{
    font-size:1rem!important;
  }

  .cts-detail-card,
  .cts-contact-channel,
  .cts-legal-approved{
    padding:18px!important;
  }
}

/* very small phones */
@media (max-width:380px){
  .cts-ref-header{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .cts-ref-brand{
    width:min(245px,calc(100vw - 78px))!important;
  }
  .cts-ref-menu-toggle{
    width:44px!important;
    height:44px!important;
  }
}


/* ==========================================================================
   0.20.1 – Mobile size reduction / compact responsive pass
   ========================================================================== */

@media (max-width: 640px) {
  :root{
    --cts-header-height-mobile:66px;
  }

  body{
    padding-top:var(--cts-header-height-mobile)!important;
    font-size:15px!important;
  }

  .cts-ref-header-shell{
    height:var(--cts-header-height-mobile)!important;
  }

  .cts-ref-header{
    height:var(--cts-header-height-mobile)!important;
    min-height:var(--cts-header-height-mobile)!important;
    padding:0 12px!important;
    gap:8px!important;
  }

  .cts-ref-brand{
    flex:0 1 auto!important;
    width:min(220px,calc(100vw - 76px))!important;
    max-width:calc(100vw - 76px)!important;
    height:48px!important;
  }

  .cts-ref-menu-toggle{
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
    border-radius:6px!important;
  }

  .cts-ref-burger-line{
    width:20px!important;
    height:2px!important;
    gap:4px!important;
  }

  .cts-ref-mobile-panel{
    top:var(--cts-header-height-mobile)!important;
  }

  .cts-ref-mobile-nav{
    padding:10px 14px 20px!important;
  }

  .cts-ref-mobile-nav a{
    padding:12px 2px!important;
    font-size:.94rem!important;
    line-height:1.25!important;
  }

  .cts-ref-mobile-nav .cts-ref-mobile-cta{
    margin-top:14px!important;
    padding:11px 14px!important;
    font-size:.92rem!important;
  }

  /* Hero smaller */
  .cts-ref-hero-img{
    width:100%!important;
    height:auto!important;
  }

  /* Reduce main section spacing */
  .cts-ref-process,
  .cts-ref-services,
  .cts-ref-projects{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  .cts-ref-process{
    padding-top:18px!important;
    padding-bottom:20px!important;
  }

  .cts-ref-services{
    padding-top:18px!important;
    padding-bottom:18px!important;
  }

  .cts-ref-projects{
    padding-top:22px!important;
    padding-bottom:22px!important;
  }

  .cts-ref-section-title{
    margin-bottom:12px!important;
  }

  .cts-ref-section-title h2{
    font-size:1.42rem!important;
    line-height:1.1!important;
  }

  .cts-ref-section-title p{
    font-size:.84rem!important;
    line-height:1.4!important;
    margin-top:4px!important;
  }

  .cts-ref-process-grid{
    gap:14px!important;
  }

  .cts-ref-process-step,
  .cts-ref-process-step:last-child{
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:10px!important;
  }

  .cts-ref-step-num{
    width:32px!important;
    height:32px!important;
    font-size:.9rem!important;
  }

  .cts-ref-step-copy h3{
    font-size:1rem!important;
    margin-bottom:3px!important;
  }

  .cts-ref-step-copy p{
    font-size:.84rem!important;
    line-height:1.42!important;
  }

  .cts-ref-services-grid{
    gap:9px!important;
  }

  .cts-ref-service{
    grid-template-columns:46px minmax(0,1fr)!important;
    column-gap:10px!important;
    padding:12px!important;
  }

  .cts-ref-service-svg{
    width:40px!important;
    height:40px!important;
  }

  .cts-ref-service-svg svg{
    width:36px!important;
    height:36px!important;
  }

  .cts-ref-service h3{
    font-size:.92rem!important;
    margin-bottom:2px!important;
  }

  .cts-ref-service p{
    font-size:.8rem!important;
    line-height:1.38!important;
  }

  .cts-ref-project-intro>span{
    font-size:.68rem!important;
  }

  .cts-ref-project-intro h2{
    font-size:1.35rem!important;
  }

  .cts-ref-project-intro p{
    font-size:.8rem!important;
  }

  .cts-ref-kb-card{
    padding:12px!important;
    gap:10px 12px!important;
  }

  .cts-ref-kb-logo{
    width:52px!important;
    height:52px!important;
    font-size:2.4rem!important;
  }

  .cts-ref-kb-copy h3{
    font-size:1.18rem!important;
  }

  .cts-ref-kb-copy p,
  .cts-ref-kb-copy small,
  .cts-ref-kb-card ul,
  .cts-ref-kb-button{
    font-size:.76rem!important;
  }

  .cts-ref-footer{
    padding:16px 14px!important;
    gap:10px!important;
  }

  .cts-ref-footer-brand{
    width:150px!important;
    height:42px!important;
  }

  .cts-ref-footer-nav{
    gap:8px 14px!important;
  }

  .cts-ref-footer-nav a{
    font-size:.7rem!important;
  }

  .cts-ref-footer-copy{
    font-size:.66rem!important;
  }

  /* Subpages more compact */
  .cts-subhero-inner,
  .cts-subpage-inner,
  .cts-subpage-cta-inner{
    width:calc(100% - 28px)!important;
  }

  .cts-subhero-inner{
    padding-top:28px!important;
    padding-bottom:30px!important;
  }

  .cts-subhero h1{
    font-size:clamp(1.7rem,8vw,2.25rem)!important;
    line-height:1.08!important;
    margin-bottom:10px!important;
  }

  .cts-subhero-kicker{
    font-size:.68rem!important;
    margin-bottom:6px!important;
  }

  .cts-subhero-lead{
    font-size:.92rem!important;
    line-height:1.48!important;
  }

  .cts-subpage-inner{
    padding-top:22px!important;
    padding-bottom:26px!important;
  }

  .cts-detail-card,
  .cts-contact-channel,
  .cts-legal-approved,
  .cts-contact-topics-approved,
  .cts-project-brief,
  .cts-about-page-note{
    padding:15px!important;
  }

  .cts-detail-card h2,
  .cts-contact-channel h2,
  .cts-contact-topics-approved h2,
  .cts-project-brief h2{
    font-size:1.12rem!important;
  }

  .cts-detail-card p,
  .cts-detail-card li,
  .cts-contact-channel p,
  .cts-legal-approved p,
  .cts-topic-grid span{
    font-size:.84rem!important;
    line-height:1.45!important;
  }

  .cts-topic-grid span{
    padding:10px!important;
  }
}

@media (max-width: 380px) {
  :root{
    --cts-header-height-mobile:62px;
  }

  .cts-ref-header{
    height:62px!important;
    min-height:62px!important;
    padding:0 10px!important;
  }

  .cts-ref-header-shell{
    height:62px!important;
  }

  .cts-ref-brand{
    width:min(195px,calc(100vw - 68px))!important;
    height:44px!important;
  }

  .cts-ref-menu-toggle{
    width:40px!important;
    height:40px!important;
  }

  .cts-ref-mobile-panel{
    top:62px!important;
  }

  .cts-subhero h1{
    font-size:1.62rem!important;
  }
}


/* ==========================================================================
   0.20.2 – Modernere, plastischere Icon-Sprache
   ========================================================================== */

.cts-ref-svg-icon,
.cts-ref-service-svg{
  position:relative!important;
  overflow:visible!important;
  filter:none!important;
}

.cts-ref-svg-icon svg,
.cts-ref-service-svg svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  overflow:visible!important;
}

.cts-ref-svg-icon{
  width:50px!important;
  height:50px!important;
}

.cts-ref-service-svg{
  width:52px!important;
  height:52px!important;
  margin-bottom:8px!important;
}

@media(max-width:640px){
  .cts-ref-service-svg{
    width:42px!important;
    height:42px!important;
  }
}


/* ==========================================================================
   0.21.0 – Responsive root fix + restrained icon system
   ========================================================================== */

/* Crisp, calm icons — no gradients, no drop shadows. */
.cts-ref-svg-icon,
.cts-ref-service-svg{
  color:var(--ref-orange)!important;
  background:#fff7f2!important;
  border:1px solid #ffe1d0!important;
  border-radius:14px!important;
  box-shadow:none!important;
  padding:9px!important;
}
.cts-ref-svg-icon{
  width:48px!important;
  height:48px!important;
}
.cts-ref-service-svg{
  width:50px!important;
  height:50px!important;
  margin-bottom:8px!important;
}
.cts-ref-svg-icon svg,
.cts-ref-service-svg svg{
  width:100%!important;
  height:100%!important;
  display:block!important;
  overflow:visible!important;
}

/* Desktop */
@media (min-width: 901px){
  .cts-ref-process-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:clamp(28px,3vw,56px)!important;
  }
  .cts-ref-services-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
}

/* Real mobile/tablet layout. Viewport meta makes this threshold reliable. */
@media (max-width: 900px){
  :root{
    --cts-header-height-mobile:64px;
  }

  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  body{
    padding-top:64px!important;
    font-size:15px!important;
  }

  .cts-ref-header-shell{
    height:64px!important;
  }
  .cts-ref-header{
    height:64px!important;
    min-height:64px!important;
    padding:0 14px!important;
  }
  .cts-ref-brand{
    width:min(210px,calc(100vw - 72px))!important;
    height:46px!important;
  }
  .cts-ref-menu-toggle{
    width:40px!important;
    height:40px!important;
    flex-basis:40px!important;
  }
  .cts-ref-burger-line{
    width:19px!important;
  }

  .cts-ref-mobile-panel{
    top:64px!important;
  }
  .cts-ref-mobile-nav{
    padding:8px 14px 18px!important;
  }
  .cts-ref-mobile-nav a{
    padding:11px 2px!important;
    font-size:.92rem!important;
  }
  .cts-ref-mobile-nav .cts-ref-mobile-cta{
    margin-top:12px!important;
    padding:10px 12px!important;
  }

  /* Homepage full width, but compact. */
  .cts-ref-process,
  .cts-ref-services,
  .cts-ref-projects{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .cts-ref-process{
    padding-top:18px!important;
    padding-bottom:20px!important;
  }
  .cts-ref-services{
    padding-top:18px!important;
    padding-bottom:18px!important;
  }
  .cts-ref-projects{
    padding-top:22px!important;
    padding-bottom:22px!important;
  }

  .cts-ref-section-title{
    margin-bottom:12px!important;
  }
  .cts-ref-section-title h2{
    font-size:clamp(1.35rem,5.8vw,1.75rem)!important;
    line-height:1.12!important;
    text-align:left!important;
  }
  .cts-ref-section-title p{
    font-size:.84rem!important;
    line-height:1.4!important;
    text-align:left!important;
  }

  .cts-ref-process-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .cts-ref-process-step,
  .cts-ref-process-step:last-child{
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr) 42px!important;
    gap:10px!important;
    align-items:center!important;
    max-width:none!important;
  }
  .cts-ref-step-num{
    width:30px!important;
    height:30px!important;
    font-size:.82rem!important;
  }
  .cts-ref-step-copy h3{
    font-size:.98rem!important;
    margin:0 0 2px!important;
  }
  .cts-ref-step-copy p{
    font-size:.82rem!important;
    line-height:1.4!important;
  }
  .cts-ref-arrow{
    display:none!important;
  }
  .cts-ref-svg-icon{
    width:40px!important;
    height:40px!important;
    padding:7px!important;
    border-radius:11px!important;
  }

  .cts-ref-services-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  .cts-ref-service{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    gap:2px 10px!important;
    min-height:0!important;
    text-align:left!important;
    padding:12px!important;
  }
  .cts-ref-service-svg{
    grid-row:1 / 3!important;
    width:40px!important;
    height:40px!important;
    padding:7px!important;
    margin:0!important;
    align-self:center!important;
    border-radius:11px!important;
  }
  .cts-ref-service h3{
    font-size:.92rem!important;
    margin:0!important;
    align-self:end!important;
  }
  .cts-ref-service p{
    font-size:.78rem!important;
    line-height:1.38!important;
    margin:0!important;
  }

  .cts-ref-projects-grid{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .cts-ref-kb-card{
    grid-template-columns:52px minmax(0,1fr)!important;
    gap:10px!important;
    padding:12px!important;
  }
  .cts-ref-kb-logo{
    width:48px!important;
    height:48px!important;
    font-size:2.1rem!important;
  }

  /* Underpages: compact, no giant type. */
  .cts-subhero-inner,
  .cts-subpage-inner,
  .cts-subpage-cta-inner{
    width:calc(100% - 32px)!important;
    margin-inline:auto!important;
  }
  .cts-subhero-inner{
    padding:26px 0 28px!important;
  }
  .cts-subhero h1{
    font-size:clamp(1.75rem,7.5vw,2.25rem)!important;
    line-height:1.08!important;
    margin:0 0 9px!important;
  }
  .cts-subhero-lead{
    font-size:.9rem!important;
    line-height:1.46!important;
  }
  .cts-subpage-inner{
    padding:22px 0 26px!important;
  }
  .cts-detail-grid,
  .cts-about-page-grid,
  .cts-about-values-grid,
  .cts-contact-page-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .cts-detail-card,
  .cts-contact-channel,
  .cts-legal-approved,
  .cts-contact-topics-approved,
  .cts-project-brief,
  .cts-about-page-note{
    padding:14px!important;
  }
  .cts-detail-card h2,
  .cts-contact-channel h2{
    font-size:1.08rem!important;
  }
  .cts-detail-card p,
  .cts-detail-card li,
  .cts-contact-channel p,
  .cts-legal-approved p{
    font-size:.82rem!important;
    line-height:1.43!important;
  }
}

@media (max-width: 380px){
  :root{
    --cts-header-height-mobile:60px;
  }
  body{
    padding-top:60px!important;
  }
  .cts-ref-header-shell,
  .cts-ref-header{
    height:60px!important;
    min-height:60px!important;
  }
  .cts-ref-brand{
    width:min(190px,calc(100vw - 66px))!important;
    height:42px!important;
  }
  .cts-ref-menu-toggle{
    width:38px!important;
    height:38px!important;
    flex-basis:38px!important;
  }
  .cts-ref-mobile-panel{
    top:60px!important;
  }
}
