/* bk Interferenzoptik | alle Styles für DE/EN, Start- und Unterseiten */
:root {
  --navy: #353c90;
  --accent: #f0c300;
  --ink: #23294f;
  --muted: #606b80;
  --line: #e1e4ee;
  --surface: #f4f5fa;
  --radius: 10px;
  --content-space: clamp(24px, 3.5vw, 55px);
  --max: 1360px;
  --shortcut-height: 101px;
  --utility-height: 43px;
  --nav-height: 74px;
  /* Gemeinsame Geometrie fuer Hauptnavigation und darunter ausgerichtete Megamenues.
     Die Textbreiten beziehen sich auf die vorhandenen Arial-Bold-Beschriftungen. */
  --nav-font-size: .86rem;
  --nav-quote-font-size: 1rem;
  --nav-gap: clamp(16px, 1.8vw, 32px);
  --nav-toggle-width: 18px;
  --nav-quote-padding: 22px;
  --nav-quote-arrow: 1.3rem;
  --arrow-gap: 10px;
  --nav-products-text: 5.62;
  --nav-services-text: 6.45;
  --nav-about-text: 7.78;
  --nav-quote-text: 9.28;
  --nav-products-width: calc(var(--nav-font-size) * var(--nav-products-text) + var(--nav-toggle-width));
  --nav-services-width: calc(var(--nav-font-size) * var(--nav-services-text) + var(--nav-toggle-width));
  --nav-about-width: calc(var(--nav-font-size) * var(--nav-about-text) + var(--nav-toggle-width));
  --nav-quote-width: calc(var(--nav-quote-font-size) * var(--nav-quote-text) + 2 * var(--nav-quote-padding) + var(--arrow-gap) + var(--nav-quote-arrow));
}
html[lang="en"] {
  --nav-services-text: 5.06;
  --nav-about-text: 5.12;
  --nav-quote-text: 9.83;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 110%;
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  overflow-x: clip;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  background: white;
  font: 1rem/1.55 Arial, Helvetica, sans-serif;
  overflow-wrap: anywhere;
}
body > main { flex: 1 0 auto; }
.utility-bar, .site-header, .footer { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.card { min-width: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.card:has(> .catalog__image) { box-shadow: 0 -3px 5px -3px rgb(0 0 0 / 10%); }
h1, h2, h3, p { margin-top: 0; }
h1 { overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 6 3 3; text-wrap: balance; }
@supports (text-fit: shrink) {
  h1 { text-fit: shrink; overflow-wrap: normal; hyphens: none; }
}
button, input { font: inherit; }
button { cursor: pointer; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible, .nav-choice:focus-visible ~ .nav-toggle { outline: 3px solid var(--focus-color, var(--navy)); outline-offset: 4px; }
.utility-bar, .site-header, .hero, .page-hero, .footer { --focus-color: var(--accent); }
.mega, .mobile-menu, .skip-link { --focus-color: var(--navy); }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 16px;
  color: var(--navy);
  background: white;
  transform: translateY(calc(-100% - 20px));
}
.skip-link:focus { transform: none; }
.container { width: min(var(--max), calc(100% - clamp(36px, 4vw, 64px))); margin-inline: auto; }
.eyebrow {
  margin-bottom: 22px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.breadcrumb ol { margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline; }
.breadcrumb a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--arrow-gap);
  font-weight: 700;
}
.icon-arrow {
  display: block;
  flex: none;
  width: 1em;
  line-height: 1.55;
  text-align: center;
}
.arrow-link .icon-arrow {
  font-size: 1.3em;
  transition: transform .2s;
}
.arrow-link:hover .icon-arrow { transform: translate(3px, -3px); }

/* Infoleiste scrollt weg; nur die Hauptnavigation ist sticky. */
.utility-bar { color: white; background: var(--navy); }

/* Utility-Inhalte rechts ausgerichtet, Sprachwahl ganz rechts. */
.utility {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  width: max-content;
  max-width: 100%;
  min-height: var(--utility-height);
  margin-left: auto;
  margin-right: 0;
  font-size: .66rem;
  line-height: 1;
}
.utility__items {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.65vw, 24px);
}
.utility__item {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  gap: 9px;
  white-space: nowrap;
}
.utility__item svg {
  width: 1.25em;
  height: 1.25em;
}
.utility__item svg,
.footer__location svg {
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Optischer Ausgleich der Arial-Schrift gegen die mittig ausgerichteten Grafiken. */
.utility__item > span { transform: translateY(1px); }
.utility a:hover { color: var(--accent); }

/* Beide Sprachen bleiben sichtbar. Die aktive Flagge ist vollfarbig. */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
}
.lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 24px;
}
.flag {
  display: block;
  width: 20px;
  height: 13px;
  border-radius: 1px;
}
.lang-option:not([aria-current]) .flag {
  filter: grayscale(1);
  opacity: .55;
  transition: filter .25s ease, opacity .25s ease;
}
.lang-option:not([aria-current]):is(:hover, :focus-visible) .flag { filter: none; opacity: 1; }
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  color: white;
  background: var(--navy);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-height);
}
.logo {
  --logo-full-width: 100px;
  --logo-inset: 8px;
  --logo-mark-width: calc(var(--logo-full-width) * 340 / 773);
  --logo-mark-height: calc(var(--logo-full-width) * 309 / 773);
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  width: calc(var(--logo-full-width) + 2 * var(--logo-inset));
  height: calc(var(--logo-full-width) * 393 / 773);
  min-width: 44px;
  min-height: 44px;
  padding-inline: var(--logo-inset);
  line-height: 1;
}
.logo__mark {
  flex: none;
  width: var(--logo-mark-width);
  height: var(--logo-mark-height);
  margin-inline-start: calc(var(--logo-full-width) * 246 / 773);
}
.logo__caption {
  position: absolute;
  left: var(--logo-inset);
  bottom: 0;
  width: var(--logo-full-width);
  height: calc(var(--logo-full-width) * 84 / 773);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Nach dem Scrollen: kompaktes Logo in unverändert hoher Hauptnavigation. */
.header-main > .logo {
  z-index: 2;
  transform-origin: 12% center;
}

/* Ohne JavaScript: größerer Startzustand, schrumpft während die Infoleiste wegscrollt. In Browsern ohne Scroll-Timeline bleibt die platzsparende Standardgröße erhalten. */
@media (width >= 48em) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll(root block)) {
    @keyframes compact-header-logo {
      from { transform: var(--logo-start-transform); }
      to { transform: translate(0, 0) scale(1); }
    }
    @keyframes center-header-mark {
      from { transform: translateY(calc(var(--logo-full-width) * -42 / 773)); }
      to { transform: translateY(0); }
    }
    @keyframes hide-header-caption {
      from { opacity: 1; visibility: visible; }
      to { opacity: 0; visibility: hidden; }
    }
    .site-header .header-main > .logo {
      /* Zwischen Infoleiste und Button-Unterkante einpassen; die linke Bildkante
         trotz 8px Innenabstand und 12% Transformationsursprung beibehalten. */
      --logo-fit-scale: min(var(--logo-start-scale, 1.98), 1.75);
      --logo-start-transform: translate(calc((var(--logo-start-scale, 1.98) - var(--logo-fit-scale)) * (var(--logo-inset) - 12%)), -20px) scale(var(--logo-fit-scale));
      /* Ohne Scrollstrecke ist die Timeline inaktiv: Startgröße beibehalten. */
      transform: var(--logo-start-transform);
      animation-name: compact-header-logo;
    }
    .site-header .logo__mark {
      transform: translateY(calc(var(--logo-full-width) * -42 / 773));
      animation-name: center-header-mark;
    }
    .site-header .logo__caption {
      opacity: 1;
      visibility: visible;
      animation-name: hide-header-caption;
    }
    .site-header :is(.header-main > .logo, .logo__mark, .logo__caption) {
      animation-duration: auto;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: scroll(root block);
      animation-range: 0px 43px;
    }
  }
}
.desktop-nav {
  display: flex;
  align-items: stretch;
  /* Equal visible space between categories and the quote CTA. */
  --nav-hover-padding: 14px;
  gap: var(--nav-gap);
  align-self: stretch;
  margin-left: auto;
  /* Gleicht den negativen Aussenabstand der ersten Hoverflaeche aus. */
  padding-left: var(--nav-hover-padding);
}
/* Der Header-CTA nutzt dieselbe .button-Basis wie alle Content-Buttons. */
.nav-quote {
  align-self: center;
  flex: none;
  white-space: nowrap;
  width: var(--nav-quote-width);
}
.desktop-nav .nav-quote {
  font-size: var(--nav-quote-font-size);
  padding-inline: var(--nav-quote-padding);
}
.desktop-nav .nav-quote .icon-arrow {
  font-size: var(--nav-quote-arrow);
}
/* Hover-Zone extends into the existing nav gaps without shifting the text or CTA. */
.nav-item {
  display: flex;
  align-items: stretch;
  padding-inline: var(--nav-hover-padding);
  margin-inline: calc(0px - var(--nav-hover-padding));
}
.nav-item--products { --nav-item-width: var(--nav-products-width); }
.nav-item--services { --nav-item-width: var(--nav-services-width); }
.nav-item--about { --nav-item-width: var(--nav-about-width); }
.nav-item:is(:hover, :has(:focus-visible), :has(.nav-choice:checked), :has(> .nav-trigger[aria-current="page"])) { background: #ffffff12; }
.nav-trigger {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  color: inherit;
  width: calc(var(--nav-item-width) - var(--nav-toggle-width));
  flex: none;
  font-size: var(--nav-font-size);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-item:is(:hover, :has(:focus-visible)) > :is(.nav-trigger, .nav-toggle),
.nav-choice:checked ~ :is(.nav-trigger, .nav-toggle),
.nav-trigger[aria-current="page"],
.nav-trigger[aria-current="page"] + .nav-toggle {
  color: var(--accent);
}
/* Link navigates; separate chevron opens the mega-menu on touch. */
.nav-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--nav-toggle-width);
  flex: none;
  padding: 0 0 0 7px;
  cursor: pointer;
}
.chevron,
.subnav > summary::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s;
}
.nav-item:is(:hover, :has(:focus-visible)) .chevron,
.nav-choice:checked ~ .nav-toggle .chevron,
.subnav[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

/* Desktop: Hover inklusive Megamenü als gemeinsamer Mausbereich. Touch: antippbare Radiobuttons. Keyboard: Focus-visible. */
.nav-choice {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background: transparent;
  cursor: default;
}
.mega {
  display: none;
  position: absolute;
  z-index: 3;
  top: 100%;
  inset-inline: 0;
  max-width: 100%;
  max-height: calc(100vh - var(--nav-height) - var(--utility-height));
  max-height: calc(100dvh - var(--nav-height) - var(--utility-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 40px 0 50px;
  color: var(--ink);
  background: white;
  box-shadow: 0 22px 40px #05112c30;
}
/* All three top-level categories share one desktop mega-menu interaction.
   Hover keeps the panel open while the pointer moves into it; the separate
   chevron remains available for touch, and keyboard focus opens the panel. */
@media (hover: hover) and (pointer: fine) {
  .nav-item:is(:hover, :has(:focus-visible)) > .mega { display: block; }
}
@media (width >= 48em) and (hover: none), (width >= 48em) and (pointer: coarse) {
  .nav-choice:checked ~ .mega { display: block; }
  .site-header:has(.nav-item .nav-choice:checked) .nav-backdrop { display: block; }
}
.mega__title {
  margin-bottom: 12px;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 700;
}
.mega__intro {
  color: var(--muted);
  font-size: .9rem;
}
.subnav { min-width: 0; border-bottom: 1px solid var(--line); }
.subnav > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  gap: 10px;
  font-weight: 700;
}
.subnav > summary::after {
  content: "";
  color: var(--navy);
  flex: 0 0 7px;
  margin-inline: 12.5px;
}
.subnav__title {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  align-self: stretch;
  padding-block: 8px;
  line-height: 1.35;
}
.subnav__links {
  display: grid;
  gap: 10px;
  padding: 3px 0 17px;
  color: var(--muted);
  font-size: .89rem;
}
.subnav__links a { line-height: 1.35; }
.subnav__links a:hover,
.mega__link:is(:hover, :focus-visible, [aria-current="page"]),
.subnav > summary:hover .subnav__title,
.subnav__title:is(:hover, :focus-visible),
.mobile-nav-link:is(:hover, :focus-visible, :active, [aria-current="page"]),
.mobile-group__links a:is(:hover, :focus-visible, :active, [aria-current]),
.mobile-nav-contact a:is(:hover, :focus-visible, :active) {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.mega__link {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.icon-arrow,
.nav-symbol-link,
.info-note__icon,
.table-scroll-cue,
.contact-icon {
  font-weight: 100;
}
.eyebrow,
.icon-arrow,
.nav-symbol-link,
.info-note__icon,
.table-scroll-cue,
.contact-icon,
.specification-list {
  font-variant-emoji: text;
}
.nav-symbol-link__text { font-weight: 400; }
.mega__link > .nav-symbol-link__text { font-weight: 700; }
/* Desktop: vier Eintraege je Spalte, zuerst von oben nach unten.
   Der Linkbereich bleibt im Dokumentfluss, auch wenn Bandpassbereiche aufklappen. */
@media (width >= 48em) {
  .mega__inner {
    --mega-columns: 1;
    --mega-rows: 4;
    --mega-gap: 26px;
    --mega-font-size: min(clamp(.7rem, 1.1vw, 1rem), calc((100cqw - 52px) / 48));
    --mega-width: calc(var(--mega-columns) * 16 * var(--mega-font-size) + (var(--mega-columns) - 1) * var(--mega-gap));
    --mega-align-offset: 0px;
    --mega-start: clamp(0px, calc(100cqw - var(--mega-offset) - var(--mega-align-offset)), max(0px, calc(100cqw - var(--mega-width))));
    --mega-heading-gap: max(24px, calc((100vw - 100%) / 2));
    display: flex;
    flex-wrap: wrap;
    gap: 24px var(--mega-heading-gap);
    align-items: flex-start;
    container-type: inline-size;
  }
  /* Beschreibung bis an den Sicherheitsabstand vor der ersten Linkspalte erweitern.
     Reicht der Platz nicht fuer beide Bereiche, setzt Flexbox die Links darunter. */
  .mega__heading {
    flex: 0 1 max(230px, calc(var(--mega-start) - var(--mega-heading-gap)));
    min-width: 0;
  }
  .mega__links {
    display: block;
    flex: 1 1 var(--mega-width);
    min-width: min(100%, var(--mega-width));
    max-width: 100%;
    font-size: var(--mega-font-size);
  }
  .mega__inner:has(> .mega__links--products) {
    --mega-columns: 3;
    --mega-rows: 5;
    --mega-align-offset: calc(16 * var(--mega-font-size) + var(--mega-gap));
    --mega-offset: calc(var(--nav-quote-width) + var(--nav-about-width) + var(--nav-services-width) + var(--nav-products-width) + 3 * var(--nav-gap));
  }
  .mega__inner:has(> .mega__links--services) {
    --mega-rows: 2;
    --mega-offset: calc(var(--nav-quote-width) + var(--nav-about-width) + var(--nav-services-width) + 2 * var(--nav-gap));
  }
  .mega__inner:has(> .mega__links--about) {
    --mega-offset: calc(var(--nav-quote-width) + var(--nav-about-width) + var(--nav-gap));
  }
  .mega__links > .mega__grid {
    display: grid;
    position: relative;
    /* Textkante: bei drei Spalten die mittlere, sonst die einzige Spalte. */
    left: clamp(0px, calc(100% - var(--mega-offset) - var(--mega-align-offset)), max(0px, calc(100% - var(--mega-width))));
    width: var(--mega-width);
    max-width: 100%;
    grid-template-columns: repeat(var(--mega-columns), minmax(0, 1fr));
    grid-template-rows: repeat(var(--mega-rows), max-content);
    grid-auto-flow: column;
    gap: 8px var(--mega-gap);
    align-content: start;
    align-items: start;
  }
  .mega__links .mega__link,
  .mega__links .subnav__title {
    white-space: nowrap;
    overflow-wrap: normal;
    font-size: inherit;
  }
  .mega__links .subnav__links {
    padding-inline-start: 16px;
    font-size: .9em;
  }
  /* Uebersicht und Glossar stehen in der ersten Zeile nebeneinander.
     Das Glossar reserviert auch die dritte Zelle, bleibt aber eine Spalte breit.
     Darunter folgen je vier Produktgruppen pro Spalte. */
  .mega__links .mega__link--intro {
    grid-column: 1;
    grid-row: 1;
    border-bottom: 0;
  }
  .mega__links .mega__link--intro + .mega__link--intro {
    grid-column: 2 / -1;
    width: calc((100% - var(--mega-gap)) / 2);
  }
  .mega__links--products > .mega__grid::before {
    content: "";
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: end;
    border-bottom: 1.5px solid var(--navy);
    opacity: .35;
    pointer-events: none;
  }
}
.menu-open, .mobile-menu-shell { display: none; }

/* Desktop: wachsende Hero-Höhe mit Obergrenze. Zoom erzeugt keinen erzwungenen Vollbildabschluss. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(710px, calc(100vh - var(--utility-height) - var(--nav-height) - var(--shortcut-height)));
  min-height: min(710px, calc(100dvh - var(--utility-height) - var(--nav-height) - var(--shortcut-height)));
  overflow: hidden;
  color: white;
  background: var(--navy);
}
/* Gemeinsamer Verlauf: oben exakt Navigationsblau, darunter sanfte Lichtakzente. */
.hero__art, .page-hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, var(--navy) 24px, transparent 45%),
    linear-gradient(110deg, rgb(41 48 122 / 98%) 0%, rgb(53 60 144 / 85%) 50%, rgb(53 60 144 / 50%) 100%),
    radial-gradient(ellipse at 90% 65%, rgb(147 158 230 / 85%), transparent 80%),
    var(--page-hero-image, none);
  background-position: center;
  background-size: cover;
}
.hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

/* Touch: native HTML Popover. Erster Tap auf die freie Hero-Fläche färbt die Filter,
   Tap außerhalb schließt den Popover wieder (ohne JavaScript oder Scrollanker). */
.hero__touch-trigger { display: none; }
.hero__touch-state:popover-open {
  position: fixed;
  inset: auto 0 0 auto;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
@media (hover: none), (pointer: coarse) {
  .hero__touch-trigger {
    display: block;
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    touch-action: pan-y;
    cursor: pointer;
  }
  /* Der transparente Text-Container darf den Tap auf die Filterfläche nicht abfangen.
     CTA-Links behalten ihre normale Interaktion. */
  .hero > .container { pointer-events: none; }
  .hero > .container a { pointer-events: auto; }
  .hero:has(.hero__touch-state:popover-open) .hero__cluster { filter: none; }
}

/* Grafik wird an die Content-Breite gebunden, inklusive der gedrehten Ecken. */
.hero__art-inner { position: relative; height: 100%; }

/* Kuehles, transparenteres Glas als Standard; Farben erst bei Hover. */
.hero__cluster {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(58%, 640px);
  aspect-ratio: 1.22 / 1;
  transform: translateY(-50%);
  filter: grayscale(1) sepia(.5) hue-rotate(170deg) saturate(2.6) brightness(1.18) opacity(.48);
  transition: filter .45s ease;
}
@media (hover: hover) and (pointer: fine) {
  .hero:hover .hero__cluster, .hero:focus-within .hero__cluster { filter: none; }
}
.hero__filter {
  position: absolute;
  display: block;
  box-shadow: 0 18px 38px #141d6338, inset 0 0 0 1px #ffffff3b;
}

/* Zwei deckungsgleiche quadratische Plattenflächen: die hintere ist leicht nach rechts/unten versetzt. Die Materialkante bleibt auch oben rechts intakt. */
.hero__filter--square {
  width: 43%;
  aspect-ratio: 1;
  top: 12%;
  right: 7%;
  border-radius: 1%;
  transform: rotate(-13deg);
  background: none;
  border: 0;
  box-shadow: none;
}
.hero__filter--square::before, .hero__filter--square::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.hero__filter--square::before {
  transform: translate(7px, -4px);
  background: linear-gradient(140deg, #9b344d, #bd4a65 60%, #622542);
  box-shadow: 7px 12px 26px #141d6342;
  border: 1px solid #ffb6bc5c;
}
.hero__filter--square::after {
  border: 1px solid #ffd1ca91;
  background: linear-gradient(140deg, #fb8585a8, #e64c62b0 45%, #df436da8 82%, #ffc0c070);
  box-shadow: inset 2px 2px 2px #ffd9d47a, inset -3px 0 2px #7829496b, 3px -2px 0 #902e50ac;
}
.hero__filter--middle, .hero__filter--front {
  aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(5px, .7vw, 10px) solid #17275dbe;
  box-shadow: 0 18px 32px #141d6347, inset 0 0 0 2px #d9eaff86, inset 0 10px 28px #ffffff28;
}
.hero__filter--middle {
  width: 41%;
  top: 25%;
  right: 27%;
  transform: perspective(700px) rotateY(-26deg) rotate(-10deg);
  background: linear-gradient(135deg, #fffad2ed, #dced9bd1 42%, #94c6a3ac 72%, #fff0b7cd);
}
.hero__filter--front {
  width: 36%;
  top: 43%;
  right: 53%;
  transform: perspective(700px) rotateY(-28deg) rotate(-11deg);
  background: linear-gradient(135deg, #ffe8a9f0, #f2b34edb 47%, #c77f47c2 90%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #353c90 4%, #353c90f1 34%, #353c9092 58%, #353c9012 74%, transparent 92%);
  opacity: .25;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(730px, 59%);
  padding: clamp(22px, 5vh, 70px) 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero h1 {
  margin: 0 0 25px;
  font-size: clamp(min(3.1rem, 10vw), 5.8vw, 6.15rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-hyphens: none;
  hyphens: none;
}

.hero__intro {
  max-width: 570px;
  margin-bottom: 30px;
  font-size: 1.12rem;
  line-height: 1.6;
  color: #f1f1ff;
}
.hero__intro p { margin-bottom: 0; }
.hero__intro p + p { margin-top: .4em; }
/* Bei niedrigen Desktop-Fenstern müssen Hero-Text und Shortcut-Leiste zusammen passen. */
@media (min-width: 901px) and (max-height: 850px) {
  .hero__content { padding-block: clamp(18px, 4vh, 48px); }
  .hero .eyebrow { margin-bottom: 15px; }
  .hero h1 { margin-bottom: 18px; font-size: clamp(min(2.7rem, 10vw), min(5.8vw, 9vh), 6.15rem); }
  .hero__intro { margin-bottom: 23px; line-height: 1.5; }
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--arrow-gap);
  padding: 8px 22px;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  transition: background .2s, transform .2s;
}
.button:hover, .button:focus-visible { background: #ffdc32; transform: translateY(-2px); }
.button .icon-arrow { font-size: 1.3rem; }
html[data-darkreader-scheme="dark"] .button {
  color: #fff;
  background: var(--ink);
  box-shadow: inset 0 0 0 2px var(--accent);
}
html[data-darkreader-scheme="dark"] .button:is(:hover, :focus-visible) { background: #303762; }

/* Referenzhinweis unter dem Startseiten-Hero. */
.shortcuts__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  min-height: var(--shortcut-height);
  padding-block: 20px;
}
.shortcuts strong { font-size: 1.02rem; }
.shortcut {
  display: inline-flex;
  gap: var(--arrow-gap);
  align-items: center;
  font-size: .89rem;
  font-weight: 700;
}
.shortcut .icon-arrow {
  color: var(--navy);
  font-size: 1.2rem;
  transition: transform .2s;
}
.shortcut:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
@media (prefers-reduced-motion: no-preference) {
  .shortcut:is(:hover, :focus-visible) .icon-arrow { transform: translateY(4px); }
}
/* Referenzlogos: responsives Raster */
.references, .legal-page, .company-content, .consultation-content, .glossary { padding-bottom: var(--content-space); }
.references h2 {
  scroll-margin-top: 14px;
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 3.8vw, 4.1rem);
  letter-spacing: -.05em;
  line-height: 1.12;
}
.references__intro { margin-bottom: 16px; color: var(--muted); font-size: 1.08rem; }
.references__industries {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 12px;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}
.references__industries li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: .94rem;
}
.references__logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.references__logo {
  display: grid;
  grid-template-rows: 78px minmax(2.5em, auto);
  align-items: center;
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}
.references__logo-media { display: block; width: 100%; height: 78px; min-width: 0; }
.references__logo-media img { width: 100%; height: 100%; object-fit: contain; }
.references__logo-name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 2.5em;
  padding-top: 8px;
  color: #cecece;
  font-size: .82rem;
  line-height: 1.25;
}
@media (min-width: 651px) and (max-width: 1100px) {
  .references__logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 901px) and (max-height: 650px) {
  .hero__content { padding-block: clamp(8px, 2vh, 16px); }
}

/* Footer – eine kompakte Zeile */
.footer {
  padding: 24px 0;
  color: #d2d5f3;
  background: var(--navy);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: .82rem;
}
.footer__identity,
.footer__location-group,
.footer__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__identity { flex-wrap: wrap; }
.footer__location { gap: 6px; }
.footer__location svg {
  width: 14px;
  height: 14px;
}
/* Die Links bleiben auch mobil eine zusammenhängende Gruppe. */
.footer__nav,
.footer__end {
  display: flex;
  align-items: center;
}
.footer__nav {
  flex-wrap: wrap;
}
.footer__end { height: 1lh; }
.footer__nav a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.footer__nav > a + a::before,
.footer__end > a:first-child::before {
  content: "|";
  margin-inline: 10px;
  color: #aeb5dd;
  line-height: 1;
}
.footer a:hover { color: var(--accent); }
.footer__scroll-up {
  flex: none;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 12px;
  border-radius: var(--radius);
  color: #fff;
  background: rgb(255 255 255 / 8%);
  font-size: 1.1rem;
  line-height: 1;
}
.footer__scroll-up:is(:hover, :focus-visible) { background: rgb(255 255 255 / 14%); }

/* Responsive Layout – Tablet & Mobile */
@media (max-width: 1100px) {
  .utility {
    font-size: .61rem;
  }
}

@media (min-width: 1101px) and (max-width: 1279px) {
  .site-header { --logo-start-scale: 1.75; }
}
@media (min-width: 1001px) and (max-width: 1100px) {
  .site-header { --logo-start-scale: 1.5; }
}
@media (width >= 48em) and (max-width: 1000px) {
  .site-header { --logo-start-scale: 1.08; }
}
/* Navigation nach Platzbedarf: normal ab 55em, kompakt ab 48em, darunter Burger.
   em beruecksichtigt die im Browser eingestellte Standardschriftgroesse. */
@media (48em <= width < 55em) {
  :root {
    --nav-font-size: .75rem;
    --nav-quote-font-size: .75rem;
    --nav-quote-padding: 11px;
    --nav-quote-arrow: .975rem;
  }
  .site-header { --logo-start-scale: 1.08; }
  .header-main > .logo { --logo-full-width: 90px; --logo-inset: 0px; }
  .desktop-nav .nav-quote { padding-block: 4px; }
}
@media (width < 48em) {
  :root {
    --utility-height: 0px;
    --nav-height: 58px;
  }
  html { scroll-padding-top: 62px; }
  body:has(#menu:target) { overflow: hidden; }
  .utility-bar { display: none; }
  .logo {
    --logo-mark-height: 36px;
    --logo-mark-width: calc(var(--logo-mark-height) * 340 / 309);
    width: var(--logo-mark-width);
    height: var(--logo-mark-height);
    padding-inline: 0;
  }
  .logo__mark { margin-inline-start: 0; }
  .logo__caption { display: none; }
  /* Wie beim 22px breiten Burger-Symbol innerhalb seiner 44px Klickfläche. */
  .header-main > .logo { margin-inline-start: 11px; }
  .desktop-nav, .site-header > .nav-choice { display: none; }
  .menu-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
  }
  .hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
  }
  .hamburger { position: relative; }
  .hamburger::before, .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .hamburger::before { top: -7px; }
  .hamburger::after { top: 7px; }
  /* Pure-CSS Drawer: Backdrop ist ein klickbarer Schließbereich. */
  .mobile-menu-shell {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: visibility .22s, opacity .22s;
  }
  .mobile-menu-shell:target {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
  }
  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    display: block;
    background: #0b103c9c;
  }
  .mobile-menu {
    --menu-inset: 22px;
    --menu-close-padding: 8px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(450px, 91vw);
    overflow: auto;
    overscroll-behavior: contain;
    color: var(--ink);
    background: #fff;
    box-shadow: -10px 0 30px #0b103c3d;
    transform: translateX(102%);
    transition: transform .26s ease;
  }
  .mobile-menu-shell:target .mobile-menu { transform: translateX(0); }
  .mobile-nav-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 var(--menu-inset);
    color: var(--navy);
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav-head .language-switch {
    margin-left: auto;
    margin-right: clamp(12px, 3vw, 20px);
    gap: 10px;
  }
  .menu-close {
    display: block;
    flex: none;
    padding: var(--menu-close-padding);
    font-size: 2rem;
    line-height: 1;
  }
  /* Inhalte folgen links der Bildmarke und rechts der sichtbaren Kante des X. */
  .mobile-menu__content {
    padding: 8px calc(var(--menu-inset) + var(--menu-close-padding) + .2rem) 28px var(--menu-inset);
  }
  .mobile-group { border-bottom: 1px solid var(--line); }
  .mobile-nav-link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    min-height: 66px;
  }
  .mobile-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 66px;
    gap: 12px;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 700;
  }
  .mobile-group > summary > .chevron {
    flex: none;
    margin-right: 2px;
    border-width: 2.5px;
  }
  .mobile-group > summary:is(:hover, :focus-within, :has(> .mobile-nav-link[aria-current="page"])),
  .mobile-group[open] > summary {
    color: var(--navy);
  }
  .mobile-group[open] > summary .chevron { transform: rotate(225deg); }
  .mobile-group__links {
    display: grid;
    gap: 0;
    padding: 0 0 16px 14px;
    font-weight: 400;
  }
  .mobile-group__links > a:not(:last-child),
  .mobile-subnav:not(:last-child) > summary,
  .mobile-subnav[open]:not(:last-child),
  .mobile-subnav__links > a:not(:last-child) { border-bottom: 1px solid var(--line); }
  .mobile-group__links a {
    display: block;
    padding: 11px 5px;
    color: var(--muted);
    font-size: .98rem;
  }
  .mobile-nav-quote {
    max-width: 100%;
    margin-top: 20px;
  }
  .mobile-nav-contact {
    display: grid;
    min-width: 0;
    gap: 4px;
    padding-top: 22px;
    font-size: .88rem;
    color: var(--muted);
  }
  .mobile-nav-contact .utility__item { min-height: 36px; white-space: normal; }
  .mobile-subnav > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 51px;
    gap: 12px;
  }
  .mobile-subnav__title {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 51px;
  }
  .mobile-subnav > summary .chevron { flex: none; margin-right: 2px; }
  .mobile-subnav[open] > summary .chevron { transform: rotate(225deg); }
  .mobile-subnav__links { display: grid; gap: 0; padding: 0 0 10px 16px; }
  .mobile-subnav__links a { padding: 8px 5px; font-size: .88rem; }
  .footer__nav, .footer__end { flex-grow: 1; }
  .footer__end { column-gap: 12px; }
  .footer__scroll-up { margin-left: auto; }
}

/* Inhaltslayout unabhaengig von der Navigationsdarstellung. */
@media (max-width: 900px) {
  :root { --shortcut-height: 131px; }
  .container { width: min(var(--max), calc(100% - 42px)); }
  .hero__cluster {
    width: min(72%, 500px);
  }
  .hero__content { width: min(580px, 85%); }
  .hero::after {
    background: linear-gradient(90deg, #353c90f7 5%, #353c90df 39%, #353c908a 74%, #353c9033 100%);
    opacity: 1;
  }
  .hero h1 { font-size: clamp(min(3.35rem, 15vw), 9vw, 5.8rem); }
  .shortcuts__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px 24px;
    padding: 25px 0;
  }
}
@media (max-width: 650px) {
  /* Auf Smartphones folgt die Hero-Höhe dem Text statt dem Viewport. */
  .hero { align-items: flex-start; min-height: 0; }
  .hero__cluster {
    top: 40%;
    width: min(100%, 390px);
    opacity: .6;
  }
  .hero::after {
    background: linear-gradient(90deg, #353c90f8 0%, #353c90e8 38%, #353c9094 72%, #353c9033 100%), linear-gradient(0deg, #353c90cc 0%, transparent 68%);
  }
  .hero__content { width: 100%; padding: clamp(44px, 7vh, 68px) 0 46px; }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero h1 {
    max-width: 510px;
    margin-bottom: 20px;
    font-size: clamp(min(3.05rem, 16vw), 13vw, 4.5rem);
  }
  .hero__intro { margin-bottom: 25px; font-size: .97rem; }
  .shortcuts__inner { gap: 13px; }
  .shortcut { justify-content: space-between; padding: 6px 0; }
  .references__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .references__logo { grid-template-rows: 68px minmax(2.5em, auto); }
  .references__logo-media { height: 68px; }
  .references__industries { margin-bottom: 30px; }
  .footer__bottom { align-items: flex-start; }
}

/* Der erste Bildschirm bleibt auch bei Browserzoom/niedriger Fensterhöhe kompakt. Bei extremem Zoom darf der Inhalt natürlich weiterfließen. */
@media (min-width: 901px) and (max-height: 560px) {
  .hero__content { padding-block: 8px; }
  .hero .eyebrow { margin-bottom: 8px; }
  .hero h1 { font-size: clamp(2.15rem, min(4.6vw, 8vh), 3.1rem); margin-bottom: 12px; }
  .hero__intro {
    font-size: 1.02rem;
    line-height: 1.35;
    margin-bottom: 14px;
  }
}
@media (min-width: 651px) and (max-width: 900px) {
  .hero__content { padding-block: clamp(18px, 4vh, 45px); }
}

/* Sehr starker Zoom: Tablet-Breite bei geringer CSS-Viewport-Hoehe. */
@media (min-width: 651px) and (max-width: 900px) and (max-height: 560px) {
  .hero__content { padding-block: 6px; }
  .hero .eyebrow { font-size: .68rem; margin-bottom: 7px; }
  .hero h1 { font-size: clamp(2.15rem, min(5.7vw, 9vh), 3rem); margin-bottom: 9px; }
  .hero__intro {
    font-size: .95rem;
    line-height: 1.32;
    margin-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Vollbreite Unterseiten-Heros; optionale Fotos ueber --page-hero-image. */
.page-hero { color: white; }
.page-hero--company { position: relative; isolation: isolate; }
.page-hero--company::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(100%, 1120px);
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgb(53 60 144 / 50%) 24px, transparent 55%),
    url("../img/title-bg/bg_company.jpg");
  background-position: center, center 35%;
  background-size: cover;
  background-blend-mode: normal, luminosity;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 64%, transparent);
  opacity: .45;
  pointer-events: none;
}
.page-hero__inner,
.company-intro,
.consultation-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 90px);
}
.page-hero__inner {
  align-items: center;
  padding-block: var(--content-space);
}
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}
/* Unternehmens-Hero: bisherige Höhe von zwei Titelzeilen beibehalten. */
.page-hero--company h1 { min-height: 2lh; }
.page-hero__text { max-width: 490px; color: #e6e9fb; font-size: 1.1rem; line-height: 1.6; }
.page-hero__text > :last-child { margin-bottom: 0; }
.page-hero + .container { padding-top: var(--content-space); }
@media (max-width: 900px) {
  .page-hero__inner, .company-intro, .consultation-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-hero__inner { gap: 28px; }
  .page-hero__text { font-size: 1rem; }
}

/* Unternehmensprofil: Einleitung und gemeinsame Kacheln. */
:is(.company-content, .consultation-content) .arrow-link { color: var(--navy); }
:is(.company-content, .consultation-content) > section + section { margin-top: var(--content-space); }
:is(.company-content, .consultation-content) > section > :last-child { margin-bottom: 0; }
:is(.company-content, .consultation-content) h2 { margin: 0 0 28px; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -.035em; }
.company-intro > h2 { margin-bottom: 0; }
.company-intro p { color: var(--muted); }
.company-intro p:last-child { margin-bottom: 0; }

/* Gemeinsame Sprungnavigation und Glossar-Definitionen. */
.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.jump-nav a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--navy);
  font-weight: 700;
}
.jump-nav a:is(:hover, :focus-visible, [aria-current="page"]) { background: var(--navy); border-color: var(--navy); color: var(--jump-active-color, white); }
.glossary__group {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.glossary__group:last-child { padding-bottom: 0; border-bottom: 0; }
.glossary__group h2 { margin: 0; color: var(--navy); font-size: clamp(1.6rem, 2.5vw, 2rem); line-height: 1.25; }
.glossary__group dl { min-width: 0; margin: 0; }
.glossary__group dl > div + div { margin-top: 28px; }
.glossary__group dt { margin-bottom: 12px; font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
.glossary__group dd { max-width: 78ch; margin: 0; color: var(--muted); }
.glossary__group dd > :last-child { margin-bottom: 0; }
.glossary__group, .glossary__group dl > div { scroll-margin-top: calc(var(--nav-height) + 24px); }
@media (max-width: 650px) {
  .glossary__group { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Legal pages share the site header, footer and typography. */
.legal-page { max-width: 80ch; padding-top: var(--content-space); }
.legal-page h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; letter-spacing: -.04em; }
.legal-page h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3; }
.legal-page :is(ol, ul) { padding-left: 1.5em; }
.legal-page address { font-style: normal; }
.legal-page dt { margin-top: 1rem; font-weight: 700; }
.legal-page dd { margin-left: 0; }
.legal-page section { margin-block: 44px; scroll-margin-top: calc(var(--nav-height) + 24px); }
.legal-page > :last-child, .legal-page section > :last-child { margin-bottom: 0; }
.legal-page section li + li { margin-top: .85em; }
.legal-toc { margin-block: 32px; padding: clamp(18px, 3vw, 28px); background: var(--surface); }
.legal-toc ol { margin-bottom: 0; }
.legal-toc li + li { margin-top: .4em; }
.legal-page a { text-decoration: underline; text-underline-offset: .2em; }
.legal-page a:hover { color: var(--navy); }

/* Product and service catalog pages */
.catalog { padding-block: var(--content-space); }
.catalog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.career-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); scroll-margin-top: calc(var(--nav-height) + 24px); }
.catalog__item, .catalog__body { padding: 28px; }
.catalog__item { scroll-margin-top: 110px; }
.catalog__item:has(> .catalog__image) { padding: 0; border: 1px solid var(--surface); }
.catalog__image {
  display: block;
  background: #fff;
}
.catalog__image, .catalog__image > img { height: auto; }
.catalog__image:focus-visible { outline-offset: -4px; }
.catalog__item h2, .catalog__title { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
.catalog__item p { color: var(--muted); font-size: .95rem; }
.catalog__item--inquiry .button { margin-top: 4px; }
.catalog__label { margin-bottom: 5px; font-weight: 700; }
.catalog__ranges { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 0; list-style: none; }
.catalog__ranges li { background: white; color: var(--ink); padding: 7px 7px; min-width: 96px; border: 1px solid var(--line); border-radius: 10px; font-size: .78rem; text-align: center; scroll-margin-top: 110px; }
.catalog__ranges a { display: block; }
.catalog__item h2 a:is(:hover, :focus-visible), .catalog__ranges a:is(:hover, :focus-visible) { color: var(--navy); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
.career-job { display: flex; flex-direction: column; }
.career-job h3 { margin: 24px 0 12px; font-size: 1rem; }
.career-job ul { margin: 0 0 20px; padding-left: 1.25em; color: var(--muted); font-size: .95rem; }
.career-job li + li { margin-top: 8px; }
.career-apply { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 24px; scroll-margin-top: calc(var(--nav-height) + 24px); }
.career-apply > div { flex: 1 1 360px; min-width: 0; }
.career-apply p:last-child { margin-bottom: 0; }
.career-apply p a { text-decoration: underline; text-underline-offset: .2em; }
.career-apply > .button { flex: 0 1 auto; max-width: 100%; }
@media (max-width: 1100px) {
  .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .catalog__grid { grid-template-columns: 1fr; gap: 14px; }
  .catalog__item, .catalog__body { padding: 24px; }
}

.text-link { color: var(--navy); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
.text-link:is(:hover, :focus-visible) { text-decoration-thickness: 2px; }
.consultation-intro { align-items: start; }
.consultation-intro > div > p, .consultation-content > section > p { color: var(--muted); }
.consultation-contact { border: 2px solid var(--accent); }
.contact-details { display: grid; gap: 10px; font-style: normal; font-weight: 700; }
.contact-details > div { display: flex; align-items: baseline; gap: .6em; }
.contact-icon { flex: none; width: 1em; color: var(--navy); font-family: Arial, Helvetica, "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", sans-serif; text-align: center; }
.specification-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.specification-list { margin: 0; font-size: .95rem; }
.specification-list > div + div { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.specification-list dt { position: relative; padding-left: 1.5em; font-weight: 700; }
.specification-list dt > [aria-hidden="true"] { position: absolute; left: 0; color: var(--navy); font-weight: 400; }
.specification-value { font-weight: 400; }
.specification-list dd { margin: 6px 0 0 1.5em; color: var(--muted); }
.specification-grid .catalog__item > :last-child { margin-bottom: 0; }

/* Section anchors: keep target headings clear of the sticky header. */
#OptischesVermessen, #Farbglasfilterbearbeitung, #referenzen, #references, #ueber-uns { scroll-margin-top: calc(var(--nav-height) + 14px); }

.product-content { --jump-active-color: var(--accent); padding-block: var(--content-space); }
.product-content > * + * { margin-top: var(--content-space); }
.product-content h2 { margin-bottom: 20px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.2; }
.product-content nav > h2 { font-size: 1rem; }
.product-summary { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); align-items: start; gap: clamp(24px, 4vw, 56px); }
.product-photo { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-photo img { height: auto; }
.product-spec-groups, .product-spec-codes { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px clamp(24px, 2.5vw, 40px); }
.product-specs, .product-spec-codes { width: max-content; min-width: 0; max-width: 100%; }
.product-specs { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, max-content); column-gap: 24px; margin: 0; }
.product-specs > div { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; padding-block: 10px; border-bottom: 1px solid var(--line); }
.product-specs > div:first-child { padding-top: 0; }
.product-specs dt { font-weight: 700; }
.product-specs dd { margin: 0; color: var(--muted); }
.product-curves { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
.product-curves figure { width: min(100%, 421px); margin: 0; }
.product-curves img { height: auto; }
.product-curves figcaption { margin-top: 8px; color: var(--muted); font-size: .9rem; text-align: center; }
.info-note { display: flex; align-items: flex-start; gap: 12px; margin-block: 0 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.info-note__icon { flex: none; color: var(--navy); font-size: 1.3rem; line-height: 1.3; }
.info-note p { margin: 0; }
.table-frame { display: flex; flex-direction: column; container: stock-table / inline-size; max-height: min(75vh, 900px); max-height: min(75dvh, 900px); margin: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.table-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: none; padding: 16px; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: var(--surface); font-weight: 700; }
.table-scroll-cue { display: none; flex: none; color: var(--navy); font-size: 1.5rem; line-height: 1; pointer-events: none; }
.table-scroll { min-height: 0; overflow: auto; overscroll-behavior-inline: contain; border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px); }
.table-heading, .stock-table { font-size: .9rem; line-height: 1.45; }
.stock-table { width: 100%; min-width: 30rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stock-table--wide { min-width: 60rem; }
.stock-table th, .stock-table td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.stock-table thead th { position: sticky; top: 0; z-index: 2; overflow-wrap: normal; color: var(--navy); background: var(--surface); }
.stock-table :is(th, td):first-child { white-space: nowrap; }
.stock-table thead th:first-child { left: 0; z-index: 3; }
.stock-table tbody tr { background: white; }
.stock-table tbody :is(th, td) { white-space: nowrap; }
.stock-table tbody :is(th, td):first-child { position: sticky; left: 0; z-index: 1; background: inherit; }
.stock-table tbody th { font-weight: 400; }
.stock-table tbody tr:nth-child(even) { background: #f8f9fc; }
.table-hint { margin-bottom: 12px; color: var(--muted); font-size: .85rem; }
@container stock-table (width < 60rem) {
  .table-frame:has(.stock-table--wide) .table-scroll-cue { display: block; }
}
@container stock-table (width < 30rem) {
  .table-scroll-cue { display: block; }
}
@media (prefers-reduced-motion: no-preference) {
  .table-scroll-cue { animation: table-scroll-nudge 1.6s ease-in-out 2; }
  @keyframes table-scroll-nudge {
    0%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(4px); }
  }
}
@media (hover: hover) and (pointer: fine) {
  .stock-table tbody tr:hover { background: #eceef9; }
}
@media (max-width: 900px) {
  .product-summary { grid-template-columns: minmax(0, 1fr); }
  .product-spec-groups { flex-direction: column; }
  .product-photo { width: min(100%, 450px); }
}
@media (max-width: 650px) {
  .product-specs { grid-template-columns: minmax(0, max-content); }
  .product-specs > div { row-gap: 4px; }
  .stock-table th, .stock-table td { padding: 10px 12px; }
  .info-note { padding: 16px; }
}
