:root {
  --legacy-yellow: #f4b000;
  --legacy-yellow-strong: #ffbf00;
  --legacy-black: #0b0d0f;
  --legacy-charcoal: #171a1d;
  --legacy-steel: #30353a;
  --legacy-gray: #697077;
  --legacy-light: #f4f3ef;
  --legacy-white: #ffffff;
  --legacy-line: #dfe2e4;
  --legacy-radius: 18px;
  --legacy-shadow: 0 20px 55px rgba(0, 0, 0, .14);
  --legacy-shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--legacy-charcoal);
  background: var(--legacy-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.invisible {
  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;
}

.legacy-shell {
  width: var(--legacy-shell);
  margin-inline: auto;
}

.legacy-skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--legacy-yellow);
  color: var(--legacy-black);
  font-weight: 800;
  border-radius: 8px;
}

.legacy-skip-link:focus {
  transform: none;
}

/* Header: place an Image content element (logo) and a Navigation module in this slot. */
.legacy-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgb(0, 0, 0);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.legacy-site-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.legacy-site-header .content-image:first-child,
.legacy-site-header .legacy-header-logo {
  margin-right: auto;
}

.legacy-site-header .content-image:first-child img,
.legacy-site-header .legacy-header-logo img {
  width: min(250px, 44vw);
  height: auto;
}

.legacy-site-header nav ul,
.legacy-site-header .mod_navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.legacy-site-header nav a,
.legacy-site-header .mod_navigation a,
.legacy-site-header .mod_navigation strong {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .94rem;
}

.legacy-site-header nav a:hover,
.legacy-site-header nav a:focus-visible,
.legacy-site-header .mod_navigation a:hover,
.legacy-site-header .mod_navigation a:focus-visible,
.legacy-site-header .mod_navigation .active strong {
  color: var(--legacy-black);
  background: var(--legacy-yellow);
  outline: none;
}

/* Hero article: assign CSS class "legacy-hero" to the article.
   Put an image element first and a text element after it. */
.legacy-hero-slot {
  background: var(--legacy-black);
}

.legacy-hero {
  position: relative;
  min-height: clamp(560px, 72vh, 820px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
}

.legacy-hero>.inside {
  display: contents;
}

.legacy-hero .content-image:first-child,
.legacy-hero .legacy-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

.legacy-hero .content-image:first-child figure,
.legacy-hero .content-image:first-child picture,
.legacy-hero .content-image:first-child img,
.legacy-hero .legacy-hero__media figure,
.legacy-hero .legacy-hero__media picture,
.legacy-hero .legacy-hero__media img {
  width: 100%;
  height: 100%;
}

.legacy-hero .content-image:first-child img,
.legacy-hero .legacy-hero__media img {
  object-fit: cover;
  object-position: center 55%;
}

.legacy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 6, 8, .90) 0%, rgba(4, 6, 8, .72) 43%, rgba(4, 6, 8, .18) 78%),
    linear-gradient(0deg, rgba(4, 6, 8, .74) 0%, transparent 45%);
}

.legacy-hero .content-text,
.legacy-hero .legacy-hero__content {
  width: var(--legacy-shell);
  margin: 0 auto;
  padding: clamp(88px, 11vw, 150px) 0 72px;
  color: #fff;
}

.legacy-hero h1 {
  max-width: 920px;
  margin: 0 0 22px;
  line-height: .98;
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  letter-spacing: -.055em;
  text-wrap: balance;
}

.legacy-hero .rte {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.legacy-hero .rte p {
  margin: 0 0 24px;
}

.legacy-hero .rte strong {
  color: var(--legacy-yellow);
}

.legacy-hero .rte a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 12px 10px 0 0;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.legacy-hero .rte a:first-of-type {
  background: var(--legacy-yellow);
  border-color: var(--legacy-yellow);
  color: var(--legacy-black);
}

.legacy-hero .rte a:hover {
  transform: translateY(-1px);
}

/* Generic editable section: assign article class "legacy-section". */
.legacy-section {
  padding: clamp(68px, 8vw, 116px) 0;
}

.legacy-section>.inside {
  width: var(--legacy-shell);
  margin-inline: auto;
}

.legacy-section--light {
  background: var(--legacy-light);
}

.legacy-section--dark {
  color: #fff;
  background: var(--legacy-charcoal);
}

.legacy-section--black {
  color: #fff;
  background: var(--legacy-black);
}

.legacy-section h2 {
  max-width: 880px;
  margin: 0 0 22px;
  line-height: 1.02;
  font-size: clamp(2.15rem, 4.5vw, 4.4rem);
  letter-spacing: -.045em;
  text-wrap: balance;
}

.legacy-section .legacy-kicker {
  margin-bottom: 14px;
  color: var(--legacy-yellow);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legacy-section .legacy-lead {
  max-width: 830px;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  color: var(--legacy-gray);
}

.legacy-section--dark .legacy-lead,
.legacy-section--black .legacy-lead {
  color: #c9ced2;
}

/* Service cards. Put the elements inside an article with class "legacy-services".
   Each service is a Text element with class "legacy-service-card". */
.legacy-services>.inside {
  width: var(--legacy-shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.legacy-services>.inside>.content-headline,
.legacy-services>.inside>.content-text.legacy-lead {
  grid-column: 1 / -1;
}

.legacy-service-card {
  grid-column: span 4;
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--legacy-line);
  border-radius: var(--legacy-radius);
  background: #fff;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.legacy-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--legacy-shadow);
  border-color: rgba(244, 176, 0, .55);
}

.legacy-service-card h3 {
  margin: 0 0 14px;
  font-size: 1.28rem;
  line-height: 1.15;
}

.legacy-service-card p {
  margin: 0;
  color: #5f666b;
}

.legacy-service-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--legacy-yellow);
}

/* Feature band: article class legacy-proof. */
.legacy-proof {
  padding: 0;
  background: var(--legacy-black);
  color: #fff;
}

.legacy-proof>.inside {
  width: var(--legacy-shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}

.legacy-proof .content-text {
  padding: clamp(54px, 7vw, 90px) clamp(0px, 5vw, 70px) clamp(54px, 7vw, 90px) 0;
  align-self: center;
}

.legacy-proof .content-image {
  min-height: 470px;
}

.legacy-proof .content-image figure,
.legacy-proof .content-image picture,
.legacy-proof .content-image img {
  width: 100%;
  height: 100%;
}

.legacy-proof .content-image img {
  object-fit: cover;
}

.legacy-proof h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
}

.legacy-proof strong {
  color: var(--legacy-yellow);
}

/* Machinery/gallery. Use Contao's native Gallery element with class legacy-gallery. */
.legacy-gallery ul,
.legacy-gallery .gallery {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.legacy-gallery li {
  grid-column: span 4;
  overflow: hidden;
  border-radius: 14px;
  min-height: 260px;
}

.legacy-gallery li:nth-child(5n+1),
.legacy-gallery li:nth-child(5n+2) {
  grid-column: span 6;
}

.legacy-gallery figure,
.legacy-gallery picture,
.legacy-gallery img {
  width: 100%;
  height: 100%;
}

.legacy-gallery img {
  object-fit: cover;
  transition: transform .35s ease;
}

.legacy-gallery a:hover img {
  transform: scale(1.025);
}

/* Clients list: Text element with class legacy-clients; list stays editor-friendly in TinyMCE. */
.legacy-clients ul {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.legacy-clients li {
  padding: 15px 18px;
  border: 1px solid var(--legacy-line);
  border-radius: 12px;
  background: #fff;
  font-weight: 750;
}

/* CTA slot: place a Text element with headline, short copy and links. */
.legacy-cta-slot {
  padding: 56px 0;
  background: var(--legacy-yellow);
  color: var(--legacy-black);
}

.legacy-cta-slot>* {
  width: var(--legacy-shell);
  margin-inline: auto;
}

.legacy-cta-slot h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.legacy-cta-slot a {
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.legacy-site-footer {
  padding: 52px 0 28px;
  background: #08090a;
  color: #d4d7da;
}

.legacy-site-footer__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-areas:
    "logo company contact"
    "logo navigation contact"
    "bottom bottom bottom";
  gap: 24px 48px;
  align-items: start;
}

.legacy-footer-logo {
  grid-area: logo;
}

.legacy-footer-company {
  grid-area: company;
}

.legacy-footer-contact {
  grid-area: contact;
}

.legacy-footer-nav {
  grid-area: navigation;
}

.legacy-footer-bottom {
  grid-area: bottom;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.legacy-footer-logo img {
  width: min(320px, 100%);
  height: auto;
}

.legacy-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.legacy-footer-nav a {
  text-decoration: none;
}

@media (max-width: 800px) {
  .legacy-site-footer__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "company"
      "contact"
      "navigation"
      "bottom";
  }
}

.legacy-site-footer a {
  color: #fff;
}

.legacy-site-footer h2,
.legacy-site-footer h3 {
  color: #fff;
}

.legacy-site-footer .content-image img {
  width: min(300px, 76vw);
}

/* Forms (native Contao Form Generator). */
.legacy-main form {
  display: grid;
  gap: 16px;
}

.legacy-main label {
  font-weight: 750;
}

.legacy-main input,
.legacy-main textarea,
.legacy-main select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #bfc5c9;
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.legacy-main textarea {
  min-height: 150px;
  resize: vertical;
}

.legacy-main button,
.legacy-main input[type="submit"] {
  width: auto;
  min-height: 50px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--legacy-yellow);
  color: var(--legacy-black);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 900px) {
  .legacy-site-header__inner {
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
    gap: 10px;
  }

  .legacy-site-header .content-image:first-child img {
    width: 215px;
  }

  .legacy-site-header nav ul,
  .legacy-site-header .mod_navigation ul {
    justify-content: flex-start;
    gap: 2px;
  }

  .legacy-service-card {
    grid-column: span 6;
  }

  .legacy-proof>.inside {
    grid-template-columns: 1fr;
  }

  .legacy-proof .content-text {
    padding-right: 0;
  }

  .legacy-proof .content-image {
    min-height: 360px;
  }

  .legacy-gallery li,
  .legacy-gallery li:nth-child(n) {
    grid-column: span 6;
  }

  .legacy-clients ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  :root {
    --legacy-shell: min(100% - 28px, 1180px);
  }

  .legacy-hero {
    min-height: 620px;
  }

  .legacy-hero::before {
    background: linear-gradient(0deg, rgba(4, 6, 8, .92), rgba(4, 6, 8, .25) 85%);
  }

  .legacy-service-card {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .legacy-gallery li,
  .legacy-gallery li:nth-child(n) {
    grid-column: 1 / -1;
    min-height: 240px;
  }

  .legacy-clients ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   LEGACY FOOTER
   ========================================================= */

.legacy-site-footer {
  padding: 64px 0 28px;
  background: #08090a;
  color: #d4d7da;
}

.legacy-site-footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-areas:
    "logo company contact"
    "logo navigation contact"
    "bottom bottom bottom";
  column-gap: 56px;
  row-gap: 28px;
  align-items: start;
}

.legacy-footer-logo {
  grid-area: logo;
}

.legacy-footer-company {
  grid-area: company;
}

.legacy-footer-contact {
  grid-area: contact;
}

.legacy-footer-nav {
  grid-area: navigation;
}

.legacy-footer-bottom {
  grid-area: bottom;
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .9rem;
  color: #9da3a7;
}

.legacy-footer-logo img {
  width: min(280px, 100%);
  height: auto;
}

.legacy-site-footer h2,
.legacy-site-footer h3 {
  margin-top: 0;
  color: #fff;
}

.legacy-site-footer p {
  margin-top: 0;
}

.legacy-site-footer a {
  color: #fff;
  text-decoration: none;
}

.legacy-site-footer a:hover,
.legacy-site-footer a:focus-visible {
  color: var(--legacy-yellow);
}

.legacy-footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-footer-nav a,
.legacy-footer-nav strong {
  font-weight: 700;
}

@media (max-width: 900px) {

  .legacy-site-footer__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logo logo"
      "company contact"
      "navigation navigation"
      "bottom bottom";
  }
}

@media (max-width: 620px) {

  .legacy-site-footer__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "company"
      "contact"
      "navigation"
      "bottom";
    row-gap: 26px;
  }

  .legacy-footer-logo img {
    width: min(250px, 80vw);
  }

  /* =========================================================
   HEADER: LOGO + CLAIM + NAVIGATION
   ========================================================= */

  .legacy-site-header .content-image:first-child,
  .legacy-site-header .legacy-header-logo {
    margin-right: 0;
    flex: 0 0 auto;
  }

  .legacy-header-claim {
    flex: 0 0 auto;
    margin: 0;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 184, 0, .55);

    color: #060709;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .11em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .legacy-header-claim p {
    margin: 0;
  }

  .legacy-site-header .mod_navigation {
    margin-left: auto;
  }

  @media (max-width: 900px) {

    .legacy-site-header__inner {
      min-height: auto;
      padding-top: 12px;
      padding-bottom: 12px;
      flex-wrap: wrap;
      gap: 10px 16px;
    }

    .legacy-site-header .legacy-header-logo img,
    .legacy-site-header .content-image:first-child img {
      width: 190px;
    }

    .legacy-header-claim {
      font-size: .66rem;
      padding-left: 14px;
      letter-spacing: .08em;
      white-space: normal;
      max-width: 200px;
    }

    .legacy-site-header .mod_navigation {
      width: 100%;
      margin-left: 0;
    }
  }

  /* =========================================================
   LEGACY HEADER – definitive Konfiguration
   Logo | Claim | Navigation
   ========================================================= */

  .legacy-site-header__inner {
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 24px !important;

    min-height: 110px;
  }


  /* LOGO – Contao erzeugt tatsächlich id="legacy-header-logo" */

  #legacy-header-logo {
    margin: 0 !important;
    padding: 0 !important;
  }

  #legacy-header-logo img {
    display: block !important;
    width: 250px !important;
    max-width: 250px !important;
    height: auto !important;
  }


  /* CLAIM */

  .legacy-header-claim {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: relative !important;
    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 2px 0 2px 22px !important;

    overflow: visible !important;
    clip: auto !important;

    border-left: 2px solid #f4b000 !important;

    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase;

    white-space: nowrap !important;
  }

  .legacy-header-claim .rte {
    margin: 0 !important;
    padding: 0 !important;
  }

  .legacy-header-claim p {
    display: block !important;
    visibility: visible !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;
  }


  /* NAVIGATION */

  .legacy-site-header .mod_navigation {
    justify-self: end !important;
    margin: 0 !important;
  }

  @media (max-width: 1050px) {

    .legacy-site-header__inner {
      grid-template-columns: auto auto !important;
      row-gap: 14px !important;
      padding-top: 14px;
      padding-bottom: 14px;
    }

    #legacy-header-logo img {
      width: 210px !important;
      max-width: 210px !important;
    }

    .legacy-header-claim {
      font-size: 11px !important;
      white-space: normal !important;
    }

    .legacy-site-header .mod_navigation {
      grid-column: 1 / -1 !important;
      justify-self: stretch !important;
    }
  }

  @media (max-width: 600px) {

    .legacy-site-header__inner {
      grid-template-columns: 1fr !important;
      gap: 12px !important;
    }

    #legacy-header-logo img {
      width: 200px !important;
    }

    .legacy-header-claim {
      border-left: 0 !important;
      border-top: 1px solid rgba(244, 176, 0, .55) !important;

      padding: 9px 0 0 0 !important;

      font-size: 10px !important;
      letter-spacing: .08em !important;
    }

    .legacy-site-header .mod_navigation {
      grid-column: 1 !important;
    }
  }

  .legacy-site-header {
    background: #060709 !important;
  }

  /* ==========================================================
   LEGACY HEADER FINAL
   Desktop + Shrink on Scroll + Mobile
   ========================================================== */

  .legacy-site-header {
    position: sticky !important;
    top: 0;
    z-index: 1000;

    background: rgb(0, 0, 0) !important;
    border-bottom: 1px solid rgba(244, 176, 0, .22);

    transition:
      box-shadow .25s ease,
      background-color .25s ease;
  }


  /* ----------------------------------------------------------
   DESKTOP – normal
   ---------------------------------------------------------- */

  .legacy-site-header__inner {
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr) !important;

    align-items: center !important;
    column-gap: 24px !important;

    min-height: 108px !important;
    padding-top: 8px;
    padding-bottom: 8px;

    transition:
      min-height .25s ease,
      padding .25s ease,
      column-gap .25s ease;
  }


  /* LOGO */

  #legacy-header-logo {
    margin: 0 !important;
    padding: 0 !important;
  }

  #legacy-header-logo figure {
    margin: 0 !important;
  }

  #legacy-header-logo img {
    display: block !important;

    width: 250px !important;
    max-width: 250px !important;
    height: auto !important;

    transition:
      width .25s ease,
      max-width .25s ease;
  }


  /* CLAIM */

  .legacy-header-claim {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    margin: 0 !important;
    padding: 2px 0 2px 20px !important;

    border-left: 2px solid #f4b000;

    color: #fff !important;

    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;

    transition:
      font-size .25s ease,
      padding .25s ease,
      opacity .2s ease;
  }

  .legacy-header-claim .rte,
  .legacy-header-claim p {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
  }


  /* NAVIGATION */

  .legacy-site-header .mod_navigation {
    justify-self: end !important;
    margin: 0 !important;
    min-width: 0;
  }

  .legacy-site-header .mod_navigation ul.level_1 {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;

    gap: 6px;

    margin: 0;
    padding: 0;

    list-style: none;
  }

  .legacy-site-header .mod_navigation a,
  .legacy-site-header .mod_navigation strong {
    white-space: nowrap;

    transition:
      font-size .25s ease,
      padding .25s ease;
  }


  /* ==========================================================
   NACH DEM SCROLLEN
   ========================================================== */

  .legacy-site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  }

  .legacy-site-header.is-scrolled .legacy-site-header__inner {
    min-height: 68px !important;

    padding-top: 4px;
    padding-bottom: 4px;

    column-gap: 16px !important;
  }

  .legacy-site-header.is-scrolled #legacy-header-logo img {
    width: 165px !important;
    max-width: 165px !important;
  }

  .legacy-site-header.is-scrolled .legacy-header-claim {
    padding-left: 14px !important;

    font-size: 10px !important;
    letter-spacing: .07em;
  }

  .legacy-site-header.is-scrolled .mod_navigation a,
  .legacy-site-header.is-scrolled .mod_navigation strong {
    font-size: .88rem;
  }


  /* ==========================================================
   TABLET
   ========================================================== */

  @media (max-width: 1050px) {

    .legacy-site-header__inner {
      grid-template-columns: auto 1fr !important;
      grid-template-areas:
        "logo claim"
        "nav nav";

      min-height: auto !important;

      column-gap: 16px !important;
      row-gap: 8px;

      padding-top: 10px;
      padding-bottom: 8px;
    }

    #legacy-header-logo {
      grid-area: logo;
    }

    #legacy-header-logo img {
      width: 190px !important;
      max-width: 190px !important;
    }

    .legacy-header-claim {
      grid-area: claim;

      justify-self: start;

      font-size: 10px !important;
      white-space: normal;

      max-width: 250px;
    }

    .legacy-site-header .mod_navigation {
      grid-area: nav;

      justify-self: stretch !important;

      width: 100%;
    }

    .legacy-site-header .mod_navigation ul.level_1 {
      justify-content: center;
    }


    /* Tablet nach Scroll */

    .legacy-site-header.is-scrolled .legacy-header-claim {
      display: none !important;
    }

    .legacy-site-header.is-scrolled .legacy-site-header__inner {
      grid-template-columns: auto 1fr !important;
      grid-template-areas: "logo nav";

      min-height: 62px !important;

      padding-top: 5px;
      padding-bottom: 5px;

      row-gap: 0;
    }

    .legacy-site-header.is-scrolled #legacy-header-logo img {
      width: 145px !important;
      max-width: 145px !important;
    }

    .legacy-site-header.is-scrolled .mod_navigation {
      grid-area: nav;
    }

    .legacy-site-header.is-scrolled .mod_navigation ul.level_1 {
      justify-content: flex-end;
    }
  }


  /* ==========================================================
   SMARTPHONE
   ========================================================== */

  @media (max-width: 700px) {

    /*
     * Claim auf Smartphones ausblenden.
     * Firmenname/Claim kostet dort zu viel wertvolle Bildschirmhöhe.
     */

    .legacy-header-claim {
      display: none !important;
    }

    .legacy-site-header__inner,
    .legacy-site-header.is-scrolled .legacy-site-header__inner {
      grid-template-columns: 1fr !important;
      grid-template-areas:
        "logo"
        "nav";

      min-height: auto !important;

      row-gap: 5px !important;

      padding-top: 7px;
      padding-bottom: 5px;
    }

    #legacy-header-logo {
      grid-area: logo;

      justify-self: center;
    }

    #legacy-header-logo img {
      width: 165px !important;
      max-width: 165px !important;
    }

    .legacy-site-header.is-scrolled #legacy-header-logo img {
      width: 125px !important;
      max-width: 125px !important;
    }

    .legacy-site-header .mod_navigation,
    .legacy-site-header.is-scrolled .mod_navigation {
      grid-area: nav;

      width: 100%;

      overflow-x: auto;
      overflow-y: hidden;

      scrollbar-width: none;

      -webkit-overflow-scrolling: touch;
    }

    .legacy-site-header .mod_navigation::-webkit-scrollbar {
      display: none;
    }

    .legacy-site-header .mod_navigation ul.level_1,
    .legacy-site-header.is-scrolled .mod_navigation ul.level_1 {
      width: max-content;
      min-width: 100%;

      justify-content: center;

      gap: 2px;
    }

    .legacy-site-header .mod_navigation a,
    .legacy-site-header .mod_navigation strong,
    .legacy-site-header.is-scrolled .mod_navigation a,
    .legacy-site-header.is-scrolled .mod_navigation strong {
      display: block;

      padding: 5px 7px;

      font-size: .76rem;
      line-height: 1.2;
    }
  }


  /* Benutzer mit reduzierten Animationen */

  @media (prefers-reduced-motion: reduce) {

    .legacy-site-header,
    .legacy-site-header *,
    #legacy-header-logo img {
      transition: none !important;
    }
  }