:root{color-scheme:light;--ink:#082048;--muted:#565b66;--canvas:#f5f5f7;--blue:#245f9f;--red:#e2001a;--service:#327fb5;font:17px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--canvas);color:var(--ink);min-height:100svh;display:flex;flex-direction:column}
main{flex:1}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:.2em}
:focus-visible{outline:2px solid var(--blue);outline-offset:5px}
img{display:block;max-width:100%;object-fit:contain}
.wrap{width:min(100% - 48px,1080px);margin-inline:auto}
.skip{position:fixed;z-index:9;left:10px;top:10px;background:#fff;padding:8px 14px;transform:translateY(-150%)}
.skip:focus{transform:none}
.filters button{border-radius:999px;padding:8px 17px;background:#eaf2fb;color:#24568c;font-size:.88rem;font-weight:600}
.intro{text-align:center;padding:clamp(54px,8vw,95px) 0 clamp(36px,5vw,58px)}
h1,p{margin:0}
h1{font-size:clamp(2.2rem,6vw,3.85rem);line-height:1.05;letter-spacing:-.045em;text-wrap:balance;font-weight:650}
.intro p{margin:16px auto 0;color:var(--muted);max-width:48ch;text-wrap:balance}
footer{border-top:1px solid #dedee3;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-block:21px;color:var(--muted);font-size:.83rem}
footer div{display:flex;gap:16px}
footer a{color:inherit}
.careers{max-width:900px;padding-bottom:70px}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.filters[hidden]{display:none}
.filters button{cursor:pointer;border:1px solid #dbe1e8;font-family:inherit}
.filters button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
#count,.sources{color:var(--muted);font-size:.9rem}
.jobs{list-style:none;margin:10px 0 24px;padding:0;display:grid;gap:10px}
.jobs li{background:#fff;border:1px solid #e1e5eb;border-radius:16px;border-left:3px solid var(--accent)}
.jobs .brandschutz{--accent:#ae0015}
.jobs .services{--accent:#245f9f}
.jobs a{display:grid;gap:3px;padding:16px 20px;color:var(--ink)}
.jobs span{color:var(--accent);font-size:.86rem;font-weight:600}
.jobs strong{font-weight:620}

.group-home { background: #f1f0ec; color: #10243a; }
.directory { width: min(100% - 72px, 1380px); margin-inline: auto; }
.career-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 30px;
  border-bottom: 1px solid #bdc1c4;
  padding-block: clamp(26px, 4.5vw, 52px);
  margin-bottom: clamp(32px, 5vw, 66px);
}
.career-entry h2 { font-size: clamp(1.4rem, 3vw, 2.3rem); }
.career-entry a,.career-return { font-weight: 650; text-decoration: underline; text-underline-offset: .22em; }
.career-return { display: inline-block; margin-bottom: 20px; }
@media (max-width: 760px) {
  .directory,.wrap { width: calc(100% - 32px); }
  .entry-sign { min-height: 80px; }
  .entry-sign img { height: 45px; }
  .entry-sign span { white-space: normal; text-align: right; }
}
@media (max-width: 580px) {
  .brand-index { grid-template-columns: 1fr; }
  .brand-entry + .brand-entry { border-left: 0; }
  .entry-image { aspect-ratio: auto; min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-scope,.entry-image > img { transition: none; transform: none; }
}

html { scroll-behavior: smooth; }
.career-entry { display: block; padding-block: 0 32px; }
.job-section { max-width: 900px; margin: clamp(35px, 7vw, 78px) auto 0; }
.job-section h2 { margin-bottom: 20px; }

/* Full-height brand sequence */
.group-home { background: #eeefeb; }
main.directory { width: 100%; }
.story-stage { background: #142535; }
.scene { position: relative; min-height: 100svh; isolation: isolate; display: grid; align-items: end; }
.scene-image { position: absolute; inset: 0; overflow: hidden; z-index: -2; background: #142535; }
.scene-image img { width: 100%; height: 100%; object-fit: cover; }
.scene-group .scene-image img { object-position: 60% 50%; }
.scene-services .scene-image img { object-position: 54% center; }
.scene-copy {
  --accent: #686b68;
  --paper: #f3f1eb;
  width: min(530px, calc(100% - 36px));
  margin: 0 0 clamp(44px, 9vh, 120px) clamp(18px, 7vw, 118px);
  padding: clamp(16px, 3vw, 40px);
  background: var(--paper);
  border-left: 5px solid var(--accent);
  color: #10243a;
}
.scene-brandschutz .scene-copy { --accent: #b80019; --paper: #f5e8e7; }
.scene-services .scene-copy { --accent: #327fb5; --paper: #e6eff4; }
.scene-copy h1,.scene-copy h2 {
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 600 / 140;
  width: min(100%, 455px);
  margin: 0;
}
.scene-copy h1 img,.scene-copy h2 img { width: 100%; height: auto; }
.scene-group h1 img { width: calc(100% * 454 / 600); }
.scene-services h2 img { width: 85%; }
.scene-copy p {
  margin: 7px 0 15px;
  min-height: 3lh;
  max-width: 33ch;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.38;
}
.scene-career .scene-copy { --accent: #063467; --paper: #e9eef0; }
.scene-career h2 { font-size: clamp(1.5rem, 4vw, 2.65rem); line-height: 1; letter-spacing: -.045em; }
.scene-career .scene-image img { object-position: center 44%; }
.scene-copy a { color: #10243a; font-size: .88rem; font-weight: 650; text-decoration: underline; text-underline-offset: .25em; }
.story-progress { display: none; }
.story.is-motion { height: 460svh; }
.is-motion .story-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.is-motion .scene { position: absolute; inset: 0; min-height: 0; isolation: auto; }
.is-motion .scene-image { z-index: auto; clip-path: var(--image-clip, inset(0)); }
.is-motion .scene-image img { transform: translate(var(--image-x, 0%), var(--image-y, 0%)) scale(var(--image-scale, 1.1)); }
.is-motion .scene:not(.scene-group) .scene-image { clip-path: var(--image-clip, inset(100% 0 0)); }
.is-motion .scene-copy { position: relative; z-index: 3; opacity: var(--copy-opacity, 1); transform: translateY(var(--copy-offset, 0px)); }
.is-motion .scene:not(.is-active) .scene-copy { pointer-events: none; }
.is-motion .scene:not(.scene-group) .scene-copy { opacity: var(--copy-opacity, 0); }
.is-motion .story-progress { display: block; position: absolute; z-index: 4; height: 2px; bottom: 18px; left: clamp(18px, 7vw, 118px); right: clamp(18px, 7vw, 118px); background: #ffffff64; }
.story-progress span { display: block; height: 100%; background: white; transform: scaleX(var(--story-progress, 0)); transform-origin: left; }
.career-entry { width: min(100% - 72px, 1380px); margin: clamp(45px, 8vw, 105px) auto; }
@media (max-width: 750px) {
  .directory,.wrap,.career-entry { width: calc(100% - 36px); }
  .scene-copy { margin-left: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Open roles continue the visual language of the brand scenes. */
.career-entry { width: 100%; margin: 0; border: 0; padding: 0; background: #e9eef0; }
.job-section {
  max-width: none;
  margin: 0;
  padding: clamp(35px, 7vw, 92px) clamp(18px, 7vw, 118px) clamp(25px, 4vw, 48px);
  background: #e9eef0;
}
.job-section h2 { margin: 0 0 22px; font-size: clamp(2rem, 5.5vw, 4.5rem); line-height: 1.06; letter-spacing: -.045em; }
.jobs-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.jobs-controls { display: flex; gap: 8px; }
.jobs-controls[hidden] { visibility: hidden; }
.jobs-controls button {
  font: inherit;
  font-size: .85rem;
  font-weight: 650;
  padding: 6px 13px;
  border: 1px solid #aebcc8;
  background: #f7fafb;
  color: #10243a;
  cursor: pointer;
}
.jobs-controls button:disabled { opacity: .5; cursor: default; }
.jobs {
  grid-auto-flow: column;
  grid-auto-columns: clamp(255px, 32vw, 440px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-color: #708397 #d9e2e8;
  padding: 2px 2px 14px;
}
.jobs li {
  display: flex;
  min-height: clamp(240px, 20vw, 290px);
  border: 0;
  border-left: 5px solid var(--accent);
  border-radius: 0;
  background: #f5e8e7;
  scroll-snap-align: start;
}
.jobs li.services { background: #f3f8fb; }
.jobs a {
  width: 100%;
  padding: clamp(17px, 3vw, 29px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 10px;
  text-decoration: none;
}
.jobs a:focus-visible { outline-offset: -4px; }
.jobs strong { font-size: clamp(1.18rem, 2.1vw, 1.72rem); line-height: 1.16; letter-spacing: -.02em; }
.jobs .job-action { text-decoration: underline; text-underline-offset: .25em; }
.is-scroll-gallery { height: calc(var(--jobs-height) + var(--jobs-travel)); }
.is-scroll-gallery .job-section { position: sticky; top: 0; }
.is-scroll-gallery .jobs { scroll-snap-type: none; scrollbar-width: none; overflow-x: hidden; }
@media (max-width: 640px) { .jobs { grid-auto-columns: min(84%, 345px); } }

.jobs-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
}
.jobs-controls button:not(:disabled):hover { background: #e1eaf0; }

.location {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  margin-block: 0 clamp(32px, 5vw, 72px);
  width: calc(100% - 2 * clamp(18px, 7vw, 118px));
  background: #e9eef0;
  border-left: 5px solid #063467;
}
.location-copy { align-self: center; padding: clamp(24px, 5vw, 72px); }
.location h2 {
  margin: 0 0 22px;
  font-size: clamp(1.9rem, 4.5vw, 3.7rem);
  letter-spacing: -.045em;
  line-height: 1.05;
}
.location address { font-style: normal; margin-bottom: 20px; }
.location a { color: #10243a; font-weight: 650; text-decoration: underline; text-underline-offset: .25em; }
.location-map { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; background: #dce4e8; }
@media (max-width: 750px) {
  .location { grid-template-columns: 1fr; }
  .location-map { min-height: 300px; }
}

/* A subtle brand tint follows each photo through its scroll transition. */
.scene-group { --photo-tint: #606060; }
.scene-brandschutz { --photo-tint: #e2001a; }
.scene-services { --photo-tint: #327fb5; }
.scene-career { --photo-tint: #063467; }
.scene-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--photo-tint);
  opacity: .08;
  pointer-events: none;
}
