/* The original mark and the two actions share one mobile row. */
header.nx-mast .nx-action-label { font:inherit; color:inherit }
@media (max-width:880px) {
  header.nx-mast .brand { min-height:44px }
  header.nx-mast .nx-mast__action > span[aria-hidden] { display:none }
}
@media (max-width:360px) {
  header.nx-mast .nx-mast__action .nx-action-long { display:none }
}
/* Keep the rail links, separators, pause control and their touch targets. */
body :is(.s53-clients,.nx-shared-clients,.c51-clients) .nx-mark-surface[data-mark] {
  display:grid; place-items:center; box-sizing:border-box; padding:6px 10px;
  background:transparent!important;
}
body :is(.s53-clients,.nx-shared-clients,.c51-clients) [data-mark="gena"] { --mark-width:45px }
body :is(.s53-clients,.nx-shared-clients,.c51-clients) [data-mark="kraftwerk"] { --mark-width:102px; --ink-inset-left:4.26px; --ink-inset-right:4.26px }
body :is(.s53-clients,.nx-shared-clients,.c51-clients) [data-mark="putzig"] { --mark-width:93px }
body :is(.s53-clients,.nx-shared-clients,.c51-clients) [data-mark="schmalz"] { --mark-width:60px; --ink-inset-left:.48px; --ink-inset-right:.53px }
body :is(.s53-clients,.nx-shared-clients,.c51-clients) [data-mark="ts"] { --mark-width:120px }
body :is(.s53-clients,.nx-shared-clients,.c51-clients) [data-mark="imhof"] { --mark-width:116px }
body :is(.s53-clients,.nx-shared-clients,.c51-clients) .nx-mark-surface[data-mark] img[data-canonical-logo] {
  display:block; width:var(--mark-width); height:auto; max-width:100%; max-height:43px;
  padding:0!important; border:0; border-radius:0; box-shadow:none; background:transparent!important;
  object-fit:contain; opacity:1;
}
body :is(.s53-clients,.nx-shared-clients,.c51-clients) img[data-canonical-logo="imhof"] { filter:brightness(0) opacity(.87)!important }
body :is(.s53-clients,.nx-shared-clients,.c51-clients) img[data-canonical-logo="kraftwerk"] {
  filter:brightness(.38) saturate(2.8)!important;
}
/* The unchanged lime fill sits inside a contrasting green edge. */
body .nx-rating-stars svg path {
  stroke:#506018!important; stroke-width:1.7!important; stroke-linejoin:round; paint-order:fill stroke;
}
/* Each cell fits the 120px TS wordmark with 18px of clear space on either side. */
[data-rail55] { --logo-cell-width:156px }
body [data-rail55] .rail55 .rail55-group > a {
  display:flex; align-items:center; justify-content:center; flex:0 0 var(--logo-cell-width);
  width:var(--logo-cell-width); min-width:0; max-width:none; box-sizing:border-box;
  padding:2px 0; margin:0;
}
body [data-rail55="kunden"] .rail55-group > a.nx-mark-surface img[data-canonical-logo] {
  width:var(--mark-width); height:auto; max-width:none; max-height:none; flex:none;
  margin-inline:calc(0px - var(--ink-inset-left,0px)) calc(0px - var(--ink-inset-right,0px));
}
body [data-rail55] .rail55-group > a::after { transform:translate(50%,-50%) }
body [data-rail55] .rail55.rail55-moving .rail55-group {
  display:flex; flex:0 0 auto; width:max-content; flex-wrap:nowrap; gap:0;
}
body [data-rail55] .rail55:not(.rail55-moving) .rail55-group {
  display:flex; flex-wrap:wrap; justify-content:center; gap:0;
}
body [data-rail55] .rail55:not(.rail55-moving) .rail55-group > a { width:var(--logo-cell-width) }
body [data-rail55] .rail55:not(.rail55-moving) .rail55-group > a::after { content:none }
body [data-rail55="partner"] .rail55-group .nr-brand img {
  flex:none; width:var(--partner-width); max-width:none; height:auto; max-height:none; min-width:0;
}
[data-rail55="partner"] .nr-brand-ms { --partner-width:136px }
[data-rail55="partner"] .nr-brand-codetwo { --partner-width:132px }
[data-rail55="partner"] .nr-brand-dell { --partner-width:108px }
[data-rail55="partner"] .nr-brand-hornet { --partner-width:52px }
body [data-rail55="partner"] .rail55-group .nr-brand-ms img {
  margin-inline:-20.06px; clip-path:inset(28% 14.75%);
}
body [data-rail55="partner"] .rail55-group .nr-brand-codetwo img {
  margin-inline:-24.52px; clip-path:inset(24% 18.55%);
}
@media (max-width:760px) {
  [data-rail55="kunden"] .rail55-moving > .rail55-window { --rail-fade:4px }
}
/* An inset landscape crop alongside the IT project and customer quote. */
.s53 .s53-wash { background-color:#efecf5 }
.s53 .s53-feature:has(.nx-studio-photo) {
  padding:clamp(16px,2vw,28px); gap:clamp(20px,2.5vw,36px);
  grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr); align-items:center;
}
.s53 .s53-feature .s53-project-copy { padding:0 }
.s53 .s53-project-display:has(.nx-studio-photo) {
  position:relative; display:block; padding:0; width:100%; height:auto; min-height:0;
  aspect-ratio:1.8; max-height:255px; border-radius:10px; overflow:hidden; background:#e2dfe9;
}
.s53 .s53-project-display > .nx-studio-photo {
  position:absolute; inset:0; display:block; width:100%; height:100%; max-height:none;
  object-fit:cover; object-position:50% 84%; border:0; border-radius:0; box-shadow:none;
}
@media (max-width:780px) {
  .s53 .s53-feature:has(.nx-studio-photo) { grid-template-columns:minmax(0,1fr); gap:16px }
  .s53 .s53-project-display:has(.nx-studio-photo) { aspect-ratio:2.1; max-height:205px }
}
body .case53-media:has(.nx-studio-photo) .nx-preview-badge,
body .nr-proof-photo:has(.nx-studio-photo) .nx-preview-badge { display:none }
body .case53-card .case53-media[data-type] img.nx-studio-photo,
body .nr-proof-photo.nx-preview-surface>img.nx-studio-photo,
body .case53-story-stage .project55-expand img.nx-studio-photo {
  width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; padding:0; box-shadow:none;
}
body.stories53 .case53-story-stage[data-case-visual]>.case53-story-image:has(.nx-studio-photo),
body .stories53 .case53-story-stage[data-case-visual]>.case53-story-image:has(.nx-studio-photo) { aspect-ratio:16/9 }

/* Header artwork follows the contours of the original print master. */
@media (min-width:1180px) {
  header.nx-mast .brand > .n52-mark { width:78px; height:auto }
  header.nx-mast .brand .nx-claim-art { width:120px; height:auto }
}
header.nx-mast .nx-tel svg {
  display:block; flex:none; width:24px; height:24px;
  fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
}

/* Small illustrations share the heading's first line. Longer text can wrap beside them. */
#umfang .s51-tile h3.security-topic {
  display:grid;
  grid-template-columns:minmax(0,1fr) 24px;
  align-items:start;
  column-gap:14px;
  max-width:none;
}
#umfang .security-topic .security-symbol {
  display:block;
  position:static;
  width:24px;
  height:24px;
  margin:1px 0 0;
  padding:0;
  flex:none;
}

/* The route ends at the heading of the last step. */
#ablauf .m365-route {
  --route-gap:clamp(20px,3.5vw,54px);
  --route-line:#b6acc9;
  --route-mark:#675c78;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--route-gap);
  padding:0;
  margin:0;
  list-style:none;
}
#ablauf .m365-route > li {
  position:relative;
  min-width:0;
  list-style:none;
  margin:0;
  padding:24px 0 0;
}
#ablauf .m365-route > li::before {
  content:"";
  position:absolute;
  top:6px;
  left:5px;
  width:calc(100% + var(--route-gap));
  height:1px;
  background:var(--route-line);
}
#ablauf .m365-route > li:last-child::before { content:none }
#ablauf .m365-route > li::after {
  content:"";
  position:absolute;
  top:3px;
  left:1px;
  box-sizing:border-box;
  width:8px;
  height:8px;
  border:1.5px solid var(--route-mark);
  border-radius:50%;
  background:#fff;
}
#ablauf .m365-route > li:last-child::after {
  top:3px;
  left:-2px;
  border:solid var(--route-mark);
  border-width:1.5px 1.5px 0 0;
  border-radius:0;
  background:transparent;
  transform:rotate(45deg);
}
#ablauf .m365-route h3 { margin:0; font-size:clamp(1.2rem,1.55vw,1.4rem); line-height:1.26 }
#ablauf .m365-route p { margin:.55rem 0 0; color:var(--muted,#4c4953); line-height:1.55; max-width:40ch }
@media (max-width:760px) {
  #ablauf .m365-route { grid-template-columns:minmax(0,1fr); --route-gap:22px }
  #ablauf .m365-route > li { padding:0 0 0 26px }
  #ablauf .m365-route > li::before { top:12px; left:5px; width:1px; height:calc(100% + var(--route-gap)) }
  #ablauf .m365-route > li::after { top:8px; left:1.5px }
  #ablauf .m365-route > li:last-child::after { top:3px; left:1.5px; transform:rotate(135deg) }
}
#kontakt-start p.consultation-note {
  font-size:.875rem;
  line-height:1.45;
  font-weight:400;
  color:var(--muted,#4c4953);
  margin:8px 0 0;
}
