@font-face {
  font-display: swap;
  font-family: "MayTec NeueHelvetica";
  font-style: normal;
  font-weight: 400;
  src: url("maytec-neue-helvetica-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "MayTec NeueHelvetica";
  font-style: normal;
  font-weight: 700;
  src: url("maytec-neue-helvetica-bold.woff2") format("woff2");
}

.maytec-catalog-shell {
  --maytec-blue: #006eb4;
  --maytec-blue-dark: #00578f;
  --maytec-blue-pale: #ebf5ff;
  --maytec-ink: #101111;
  --maytec-white: #fff;
}

:is(.maytec-header, .maytec-footer) {
  font-family: "MayTec NeueHelvetica", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: left;
}

:is(.maytec-header, .maytec-footer),
:is(.maytec-header, .maytec-footer) *,
:is(.maytec-header, .maytec-footer) *::before,
:is(.maytec-header, .maytec-footer) *::after {
  box-sizing: border-box;
}

:is(.maytec-header, .maytec-footer) a {
  color: inherit;
  text-decoration: none;
}

:is(.maytec-header, .maytec-footer) p {
  margin: 0;
}

:is(.maytec-header, .maytec-footer) :focus-visible {
  outline: 3px solid #ffb100;
  outline-offset: 3px;
}

.maytec-shell-inner {
  margin: 0 auto;
  max-width: 1400px;
  padding-inline: 0;
  width: 94.43%;
}

/* Header */

.maytec-header {
  background: var(--maytec-blue-pale) !important;
  border: 0 !important;
  color: var(--maytec-blue);
  display: block !important;
  position: relative !important;
  width: 100%;
  z-index: 40;
}

.maytec-header__inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 113px;
  padding-block: 20px;
}

.maytec-catalog-shell .maytec-header__brand {
  align-items: center;
  color: var(--maytec-blue) !important;
  display: inline-flex;
  min-width: 0;
}

.maytec-header__logo {
  display: block;
  flex: 0 0 auto;
  height: auto;
  width: 195px;
}

.maytec-header__title {
  border-left: 1px solid var(--maytec-blue);
  font-size: 18.5px;
  line-height: 1.2;
  margin-left: 22px;
  padding: 6px 0 6px 16px;
}

/* Shared "back to maytec.de" pill */

.maytec-catalog-shell .maytec-back-link {
  align-items: center;
  border: 1px solid var(--maytec-blue);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  gap: 8px;
  height: 38px;
  line-height: 1;
  padding: 0 18px;
  transition: background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out;
  white-space: nowrap;
}

/* NeueHelvetica's line box puts the glyphs about 2px above the arrow's centre. */
.maytec-back-link span {
  position: relative;
  top: 2px;
}

.maytec-back-link svg {
  display: block;
  height: 12px;
  width: 14px;
}

.maytec-catalog-shell .maytec-back-link--outline {
  background: transparent;
  color: var(--maytec-blue) !important;
}

.maytec-catalog-shell .maytec-back-link--outline:hover,
.maytec-catalog-shell .maytec-back-link--outline:focus-visible {
  background: var(--maytec-blue);
  color: var(--maytec-white) !important;
}

.maytec-catalog-shell .maytec-back-link--light {
  background: var(--maytec-blue-pale);
  border-color: var(--maytec-blue-pale);
  color: var(--maytec-blue) !important;
  height: 36px;
}

.maytec-catalog-shell .maytec-back-link--light:hover,
.maytec-catalog-shell .maytec-back-link--light:focus-visible {
  background: var(--maytec-white);
  border-color: var(--maytec-white);
  color: var(--maytec-blue-dark) !important;
}

/* Footer */

/* Two classes outrank the mobile platform rule `.body-padding footer`. */
.maytec-catalog-shell .maytec-footer {
  background: var(--maytec-blue) !important;
  border: 0;
  color: var(--maytec-white) !important;
  display: block !important;
  margin: 77px 0 0;
  padding: 0;
  text-align: left;
}

.maytec-footer__main {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 245px;
  padding: 32px 0 80px;
}

.maytec-footer__brand {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 58px auto;
}

.maytec-footer__brand img {
  display: block;
  height: 58px;
  width: 58px;
}

.maytec-footer__tagline {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  padding-top: 32px;
}

.maytec-footer__main .maytec-back-link {
  margin-top: 48px;
}

.maytec-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 17px;
}

.maytec-footer__legal-inner {
  align-items: center;
  display: flex;
  gap: 12px 32px;
  justify-content: space-between;
  min-height: 46px;
  padding-block: 12px;
}

.maytec-footer__copyright {
  display: flex;
  flex-wrap: wrap;
}

.maytec-footer__copyright span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.85);
  margin-left: 12px;
  padding-left: 12px;
}

.maytec-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.maytec-catalog-shell .maytec-footer__legal-links a {
  color: var(--maytec-white) !important;
}

.maytec-catalog-shell .maytec-footer__legal-links a:hover,
.maytec-catalog-shell .maytec-footer__legal-links a:focus-visible {
  color: #d7edff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .maytec-shell-inner {
    width: calc(100% - 32px);
  }

  .maytec-footer__main {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
    min-height: 0;
    padding: 32px 0 40px;
  }

  .maytec-footer__main .maytec-back-link {
    margin: 0 0 0 82px;
  }

  .maytec-footer__legal-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px 16px;
  }
}

@media (max-width: 640px) {
  .maytec-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding-block: 18px 16px;
  }

  .maytec-header__logo {
    width: 130px;
  }

  .maytec-header__title {
    font-size: 15px;
    margin-left: 14px;
    padding: 4px 0 4px 12px;
  }

  .maytec-catalog-shell .maytec-back-link {
    font-size: 12.5px;
    height: 36px;
    padding: 0 16px;
  }

  .maytec-catalog-shell .maytec-footer {
    margin-top: 56px;
  }

  .maytec-footer__brand {
    gap: 16px;
    grid-template-columns: 44px auto;
  }

  .maytec-footer__brand img {
    height: 44px;
    width: 44px;
  }

  .maytec-footer__tagline {
    font-size: 24px;
    padding-top: 22px;
  }

  .maytec-footer__main .maytec-back-link {
    margin-left: 60px;
  }

  .maytec-footer__copyright {
    display: grid;
    gap: 2px;
  }

  .maytec-footer__copyright span + span {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
  }

  .maytec-footer__legal-links {
    gap: 6px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maytec-catalog-shell *,
  .maytec-catalog-shell *::before,
  .maytec-catalog-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
