.industry-page {
  --industry-header-space: var(--notebook-header-height, 112px);
  --industry-yellow: #ffd344;
  --industry-accent: var(--industry-menu-accent);
  --industry-tint: color-mix(in srgb, var(--industry-accent) 12%, var(--white));
  --industry-gap: var(--compact-gap, clamp(32px, 4vw, 64px));
  --industry-cut: var(--compact-cut, clamp(30px, 2.5vw, 54px));
  --industry-ink-muted: color-mix(in srgb, var(--black) 46%, var(--muted));
  --industry-section-start: max(80px, var(--section-feature-start));
  --industry-section-end: max(84px, var(--section-feature-end));
  --industry-section-join: calc((var(--industry-section-start) + var(--industry-section-end)) / 3);
}
.industry-page .header:not(.is-scrolled) { background: transparent; }
.industry-page .header:not(.is-scrolled)::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 -48px;
  pointer-events: none;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--black) 80%, transparent),
    color-mix(in srgb, var(--black) 64%, transparent) var(--industry-header-space),
    transparent);
}
.about-page.industry-page .page-hero.service-hero {
  --page-hero-surface: var(--black);
  --page-hero-accent: var(--industry-accent);
  position: relative;
  isolation: isolate;
  overflow: clip;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(clamp(620px, 49vw, 900px) + var(--industry-header-space));
  padding-block: calc(var(--industry-section-start) + var(--industry-header-space)) var(--industry-section-end);
  color: var(--white);
}
.industry-page main {
  background: var(--white);
}
.industry-page .service-hero .page-hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(53vw, 880px);
}
.industry-page .service-hero :is(.about-label, .page-hero-lead) {
  color: color-mix(in srgb, var(--white) 84%, var(--black));
}
.industry-page .service-hero .industry-hero-icon {
  display: block;
  width: clamp(28px, 3vw, 46px);
  height: auto;
  margin-block-end: clamp(14px, 1.6vw, 24px);
}
.industry-title-accent {
  color: color-mix(in srgb, var(--industry-accent) 76%, var(--white));
}
.industry-page .service-hero h1 span { display: block; }
.industry-page .service-hero h1 { overflow-wrap: break-word; }
.industry-page .service-hero .page-hero-actions .cut-button {
  --button-hover-bg: var(--white);
  --button-hover-fg: var(--black);
  --button-hover-border: var(--white);
}
.industry-page .service-hero .page-hero-actions .cut-button.outline {
  --button-base-bg: transparent;
  --button-base-fg: var(--white);
  --button-base-border: color-mix(in srgb, var(--white) 75%, transparent);
}
.about-page.industry-page .page-hero.service-hero .industry-hero-image {
  position: absolute;
  inset-block: 0;
  inset-inline: 22% 0;
  z-index: 0;
  width: auto;
  height: 100%;
  max-width: none;
  clip-path: none;
}
.industry-hero-image::after {
  inset: 0;
  background: linear-gradient(90deg, var(--black), color-mix(in srgb, var(--black) 88%, transparent) 24%,
    color-mix(in srgb, var(--black) 68%, transparent) 48%, transparent 76%);
}
.industry-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.industry-hero-image img { object-position: 52% 43%; }

.industry-page .client-trust { padding-block-end: var(--industry-section-join); }
.industry-page .client-trust__intro { padding-block-start: var(--industry-section-start); }
.industry-page .client-trust__gallery { width: 100%; margin-inline: 0; }
.industry-section {
  padding: var(--industry-section-join) var(--gutter);
  background: var(--white);
  color: var(--black);
}
.industry-section h2 {
  font-size: clamp(48px, 3.4vw, 72px);
  line-height: 1.07;
  letter-spacing: -.05em;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.industry-section-copy { max-width: 44ch; }
.industry-lead {
  margin-top: 24px;
  color: var(--industry-ink-muted);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.5;
  text-wrap: pretty;
}

.industry-roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.15vw, 24px);
  padding: 0;
  margin: 0;
  list-style: none;
}
.industry-roles li {
  --role-color: var(--industry-accent);
  padding: var(--compact-padding, clamp(22px, 2vw, 42px));
  border-block-end: 3px solid var(--role-color);
  background: color-mix(in srgb, var(--role-color) 11%, var(--white));
  clip-path: polygon(0 0, calc(100% - var(--industry-cut)) 0, 100% var(--industry-cut), 100% 100%, 0 100%);
}
.industry-roles li:nth-child(2) { --role-color: var(--violet); }
.industry-roles li:nth-child(3) { --role-color: var(--green); }
.industry-roles li:nth-child(4) { --role-color: var(--industry-yellow); }
.industry-role-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--role-color) 65%, var(--black));
}
.industry-roles h3 {
  overflow-wrap: break-word;
  hyphens: auto;
  font-size: clamp(22px, 1.85vw, 32px);
  letter-spacing: -.035em;
  line-height: 1.15;
  text-wrap: balance;
}
.industry-roles p {
  margin-top: 12px;
  color: var(--industry-ink-muted);
  font-size: var(--compact-body, clamp(16px, 1.2vw, 20px));
  line-height: 1.45;
}
/* The sector story uses photographic spreads, not the directory's card grid. */
.industry-editorial {
  --industry-rule: color-mix(in srgb, var(--black) 20%, transparent);
  --industry-editorial-gap: clamp(32px, 6vw, 112px);
}
.industry-editorial .industry-photo-reveal { --enter-rise: 0px; --enter-scale: 1; }
.industry-photo-reveal::after { content: none; }
.industry-roles-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  grid-template-areas: "photos title" "photos roles";
  column-gap: var(--industry-editorial-gap);
  row-gap: var(--industry-gap);
  align-content: center;
  padding-block-end: var(--industry-section-end);
}
.industry-roles-section .industry-section-copy {
  grid-area: title;
  align-self: end;
  max-width: 100%;
}
.industry-roles-photos {
  grid-area: photos;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto;
  align-self: center;
  min-width: 0;
}
.industry-roles-photo {
  grid-area: 1 / 1 / 3 / 11;
  aspect-ratio: 5 / 6;
}
.industry-roles-photo img { object-position: 50% 50%; }
.industry-roles-detail {
  grid-area: 2 / 7 / 3 / -1;
  align-self: end;
  aspect-ratio: 4 / 3;
  margin-block-end: clamp(20px, 5vw, 76px);
  border: clamp(4px, .75vw, 10px) solid var(--white);
}
.industry-role-list, .industry-process-steps {
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.industry-role-list { grid-area: roles; }
.industry-role-list li { border-block: 1px solid var(--industry-rule); }
.industry-role-list li + li { border-block-start: 0; }
.industry-role-list li { padding-block: clamp(16px, 2vw, 32px); }
.industry-editorial :is(.industry-role-list, .industry-process) h3 {
  font-size: var(--compact-h3, clamp(24px, 2.1vw, 36px));
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.industry-editorial :is(.industry-role-list, .industry-process-steps) p {
  color: var(--industry-ink-muted);
  font-size: var(--compact-body, clamp(16px, 1.25vw, 20px));
  line-height: 1.5;
}
.industry-editorial :is(.industry-role-list, .industry-process-steps) p { margin-block-start: 8px; }

.industry-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  grid-template-areas: "photo photo" "intro brief";
  column-gap: var(--industry-editorial-gap);
  row-gap: var(--industry-section-start);
  padding-block: 0 var(--industry-section-end);
  background: var(--light);
}
.industry-context-photo {
  grid-area: photo;
  height: clamp(280px, 39vw, 740px);
  clip-path: none;
}
.industry-context-photo img { object-position: 50% 63%; }
.industry-page[data-industry-sector="elektrotechnik"] .industry-context-photo img { object-position: 50% top; }
.industry-context-copy { grid-area: intro; }
.industry-context .hero-actions { margin-block-start: clamp(24px, 3vw, 44px); }
.industry-brief {
  grid-area: brief;
  align-self: center;
  display: grid;
  margin: 0;
}
.industry-brief > div {
  border-block-start: 1px solid var(--industry-rule);
  padding-block: clamp(14px, 1.65vw, 28px);
}
.industry-brief > div:last-child { border-block-end: 1px solid var(--industry-rule); }
.industry-brief dt {
  font-size: var(--compact-label, clamp(17px, 1.4vw, 22px));
  font-weight: 650;
}
.industry-brief dd { margin: 6px 0 0; color: var(--industry-ink-muted); }

.industry-editorial .industry-process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: var(--industry-editorial-gap);
  padding-block: var(--industry-section-start) var(--industry-section-end);
  background: var(--black);
  color: var(--white);
}
.industry-process-photo {
  align-self: center;
  aspect-ratio: 6 / 5;
}
.industry-process-photo img { object-position: 72% center; }
.industry-process-steps {
  position: relative;
  isolation: isolate;
  margin-block: var(--industry-gap);
}
.industry-process-steps::before,
.industry-process-steps::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset-block: 36px;
  inset-inline-start: 17px;
  width: 1px;
  background: color-mix(in srgb, var(--white) 30%, transparent);
}
.industry-process-steps::after { background: var(--industry-accent); }
.industry-process-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 42px);
  padding-block: clamp(18px, 2.3vw, 40px);
  align-items: start;
}
.industry-step-number {
  display: grid;
  place-items: center;
  width: 36px;
  min-height: 32px;
  background: var(--black);
  color: color-mix(in srgb, var(--industry-accent) 76%, var(--white));
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.industry-editorial .industry-process-steps p {
  color: var(--muted);
  max-width: 45ch;
}
.industry-page .industry-process .cut-button {
  --button-base-bg: var(--industry-accent);
  --button-base-fg: var(--black);
  --button-base-border: var(--industry-accent);
  --button-hover-bg: var(--white);
  --button-hover-fg: var(--black);
  --button-hover-border: var(--white);
}
html.services-v2 .industry-editorial .business-solutions {
  padding-block: var(--industry-section-start) var(--industry-section-join);
}

@media (prefers-reduced-motion: no-preference) {
  .industry-photo-reveal.is-entering img {
    animation: industry-photo-enter .72s cubic-bezier(.22, 1, .36, 1) var(--enter-delay, 0ms) both;
  }
}
@keyframes industry-photo-enter {
  from { clip-path: inset(0 13% 0 0); scale: 1.05; }
  to { clip-path: inset(0); scale: 1; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .industry-process-steps::after {
      transform-origin: top;
      animation: industry-process-progress linear both;
      animation-timeline: view(block);
      animation-range: entry 10% cover 56%;
    }
  }
}
@keyframes industry-process-progress {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.industry-page .industry-closing {
  --message-surface: var(--industry-tint);
  padding-block: var(--industry-section-join) var(--industry-section-end);
}
.industry-closing .conversation-cta__message { grid-template-columns: minmax(0, 1fr); }
.industry-closing .conversation-cta__message-copy { gap: 0; }
.industry-closing h2 { hyphens: auto; overflow-wrap: anywhere; }
:where(.industry-closing) .conversation-cta__button { color: var(--black); }
.industry-closing .conversation-cta__button::before { background: var(--industry-accent); }
.industry-closing .conversation-cta__button:is(:hover, :focus-visible) { color: var(--industry-accent); }
.industry-closing .conversation-cta__bottom { flex-wrap: wrap; }
.industry-closing .conversation-cta__action { flex: 1; min-inline-size: min-content; }
.industry-closing .conversation-cta__arrow { margin-inline-start: auto; }

@media (min-width: 901px) {
  .industry-closing .conversation-cta__layout {
    grid-template-columns: minmax(0, 2.08fr) minmax(22rem, 1fr);
  }
}

.pricing-lead-dialog.industry-enquiry {
  --industry-enquiry-field-height: 48px;
  --industry-enquiry-group-gap: clamp(22px, 3vw, 36px);
  max-width: 720px;
  scroll-padding-block-start: 56px;
}
.industry-enquiry .pricing-lead-shell {
  display: block;
  min-height: 0;
  padding: clamp(20px, 3vw, 36px);
}
.industry-enquiry .pricing-lead-close {
  position: sticky;
  inset-block-start: 8px;
  inset-inline-end: auto;
  z-index: 10;
  margin-inline-start: auto;
  margin-block-end: -44px;
  background: var(--white);
}
.industry-enquiry .pricing-lead-close:hover { background: var(--light); }
.industry-enquiry .pricing-lead-heading { margin-block-end: var(--industry-enquiry-group-gap); }
.industry-enquiry .pricing-lead-heading h2 { padding-inline-end: 48px; }
.industry-enquiry .pricing-lead-description { margin-block: 8px 0; }

.industry-enquiry .about-form-fields { row-gap: clamp(16px, 1.8vw, 24px); }
.industry-enquiry-group-title {
  grid-column: 1 / -1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.industry-enquiry-group-title--vacancy { margin-block-start: 8px; }
.industry-enquiry .about-field > input:is([type="text"], [type="email"]),
.industry-enquiry .about-phone-control {
  min-block-size: var(--industry-enquiry-field-height);
}
.industry-enquiry .about-phone-control > :is(.about-phone-country, input[type="tel"]) {
  min-block-size: calc(var(--industry-enquiry-field-height) - 1px);
}
.industry-enquiry .candidate-form-submit { margin-block-start: var(--compact-padding, 24px); }

@media (900px < width <= 1350px) {
  .about-page.industry-page .page-hero.service-hero h1 { font-size: clamp(52px, 4.55vw, 62px); }
}
@media (max-width: 1250px) {
  .industry-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .industry-page { --industry-header-space: 88px; }
}
@media (max-width: 900px) {
  .industry-section h2 { font-size: var(--compact-h2); }
  .about-page.industry-page .page-hero.service-hero {
    min-height: 0;
    gap: var(--compact-gap);
    padding-block-start: 0;
  }
  .industry-page .service-hero .page-hero-copy { max-width: 740px; }
  .about-page.industry-page .page-hero.service-hero .industry-hero-image {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
  }
  .industry-hero-image::after {
    background: linear-gradient(180deg, transparent 74%, var(--black));
  }
  .industry-hero-image img {
    height: auto;
    aspect-ratio: 2 / 1;
    object-position: right 40%;
  }
}
@media (760px < width <= 900px) {
  .industry-closing .conversation-cta__layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .industry-editorial .solutions-intro .solutions-label { align-self: flex-start; }
}
@media (max-width: 760px) {
  .about-page.industry-page .page-hero.service-hero h1 { font-size: clamp(32px, 8.2vw, 62px); }
  .industry-hero-image img { aspect-ratio: 16 / 9; }
  .industry-roles-section, .industry-context, .industry-editorial .industry-process {
    grid-template-columns: minmax(0, 1fr);
  }
  .industry-roles-section { grid-template-areas: "title" "photos" "roles"; }
  .industry-roles-photo { aspect-ratio: 6 / 5; }
  .industry-context {
    grid-template-areas: "photo" "intro" "brief";
    row-gap: var(--industry-gap);
  }
  .industry-context-photo { height: auto; aspect-ratio: 4 / 3; }
  .industry-process-photo { aspect-ratio: 3 / 2; }
  .industry-role-icon { margin-block-end: 16px; }
}
@media (360px < width <= 760px) {
  .industry-page .site-footer__nav { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .industry-roles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .industry-closing h2,
  .industry-closing .conversation-cta__action { font-size: var(--compact-h2); }
  .industry-closing .conversation-cta__bottom { gap: 12px; }
  .industry-closing .conversation-cta__arrow { --arrow-size: 36px; }
}

.industry-feedback {
  display: grid;
  align-items: center;
  gap: var(--industry-gap);
  padding-block-end: var(--industry-section-end);
}
.industry-feedback .about-label { margin-bottom: 18px; }
.industry-feedback .reviews__card {
  position: relative;
  inset: auto;
  height: auto;
  min-height: 0;
  gap: var(--compact-gap, 30px);
  color: var(--white);
  transform: none;
  transition: none;
  will-change: auto;
}
.industry-feedback .reviews__quote { margin: 0; }
@media (min-width: 900px) {
  .industry-feedback { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
}
