* {
  box-sizing: border-box;
  margin: 0;
  
}

#maincontent, .page-main {
  padding-left: 0;
  padding-right: 0;
}

#maincontent {
  padding: 0;
}

p {
  margin: 0;
}

p + p {
  margin-top: 0;
}

body {
  margin: 0;
  background-color: #000000;
}

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

.b-image {
  background: url("../../../images/nd/v3/Placement Area3.png") center no-repeat,
    url("../../../images/nd/v3/Placement\ Area.jpg") center/cover no-repeat;
  width: 100%;
  height: 400px;
}

.b-wrapper:not(.heading) {
  background-color: #000000;
  margin-bottom: 7%;
}

.b-heading {
  width: 62.5%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 1.5%;
  border-bottom: 1px solid #4f4f4f;
  padding-bottom: 1.35%;
  margin-bottom: 7%;
  background-color: #000000;
}

.b-heading__textBig {
  font-family: 'Roboto-Bold';
  font-size: 24px;
  font-weight: bold;
  line-height: 14.5px;
  color: #ffffff;
}

.b-heading__textSmall {
  font-family: 'Roboto-Regular';
  font-size: 18px;
  font-weight: normal;
  line-height: 14.5px;
  color: #a3a3a3;
  padding-top: 4%;
}

.b-heading__button {
  width: 155px;
  height: 37px;
  border-radius: 18px;
  background: #fbba00;
  text-align: center;
  align-content: center;
  display: grid;
  font-family: 'Roboto-Bold';
  font-weight: bold;
  font-size: 12px;
}

.b-heading__buttonText {
  font-size: 12px;
  font-weight: bold;
  line-height: 20px;
  font-style: normal;
  text-align: left;
  color: #000000;
}

.b-main {
  display: flex;
  justify-content: space-between;
  width: 62.5%;
  margin: 0 auto;
  margin-top: 7%;
}

.b-main__reverse {
  display: flex;
  flex-direction: row-reverse;
}

img {
  max-width: 100%;
  height: auto;
}

.b-main__img {
  width: 100%;
}

.b-main__content {
  width: 100%;
}

.b-main__title {
  font-family: "Gilroy-Medium";
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin-left: 3%;
}

.b-main__text {
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  color: #ffffff;
  margin-left: 3%;
  margin-top: 2%;
  font-family: "Roboto-Light";
}

.b-main__title--right {
  margin-left: 0;
  margin-right: 6%;
}

.b-main__text--right {
  margin-left: 0;
  margin-right: 6%;
}

.b-main__img1,
.b-main__img2,
.b-main__img3 {
  background-image: url("../../../images/nd/v3/BG.png");
  border-radius: 5px;
}

.b-main__img1M,
.b-main__img2M,
.b-main__img3M {
  display: none;
}

.b-heading__textSmallM {
  display: none;
}

.b-heading__hr {
  display: none;
}

.section {
  /* height: 33vw; */
  width: 100vw;
  color: #fff;
  position: relative;
}

.section1 {
  /* height: 33vw; */
  justify-content: center;
  margin-top: 1em;
  text-align: center;
  display: grid;
}

.section2 {
  font-family: 'Roboto-Thin';
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* height: 33vw; */
  letter-spacing: 0.6px;
  margin-top: 2%;
}

.section3 {
  align-items: center;
  margin: 0 auto;
  text-align: left;
  display: grid;
  /* height: 10vw; */
  margin-top: 2%;
}

.section4 {
  justify-content: center;
  margin-top: 4%;
  /* height: 25vw; */
  display: flex;
  margin-bottom: 6%;
}

.gallery_row {
  display: flex;
  height: 100%;
  gap: 0.5em;
  align-items: center;
  width: 100%;
}

.gallery__column {
  flex: 14.28%;
  margin: auto;
  height: 100%;
}

.gallery__gallery {
  z-index: -1;
  /* height: 30vh; */
  width: 48.5vw;
  display: flex;
  align-items: center;
  margin: 0 auto;
  margin-top: 4.5%;
}

.background_image {
  position: absolute;
  z-index: -1;
  overflow: hidden;
  opacity: 0.5;
  top: -1em;
  align-items: center;
  width: 100%;
}

.nav_text {
  font-family: 'Roboto-Medium';
  display: grid;
  grid-template-columns: repeat(2, auto);
  margin: 0 20vw;
  margin-bottom: 4%;
  gap: 2.6vw;
  font-size: 14px;
  padding-top: 5.5%;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery__gallery img {
  clip-path: polygon(20% 0, 75% 3.5%, 75% 98.5%, 20% 100%);
  object-fit: cover;
  transform: scale(1.3);
  width: 100%;
  height: 14.5vw;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 99%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 99%);
  mask-repeat: no-repeat;
}

.b-detailsT__left {
  position: absolute;
  top: 11.5%;
  left: 18.8%;
}

.b-detailsT__title {
  margin: 2% auto;
  font-size: 28px;
  font-family: "Gilroy-Bold";
  text-align: center;
  width: 66.6%;
  /* height: 4vw; */
}

.b-detailsT__down {
  align-items: center;
  width: 100%;
  height: 100%;
}

table {
  /* max-width: 80%; */
  width: 63%;
  margin: 0 auto;
  font-family: "Roboto-Regular";
  /* font-size: 1em; */
  border: 1px solid #E5E5E5;
  border-spacing: 0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

ul.a {
  list-style-position: outside;
  list-style-type: none;
}

.a li:before {
  content: "-";
  margin-left: -10px;
  position: absolute;
}

td {
  width: 50%;
  padding: 14px 0px 11px 33px;
  text-align: left;
}

.bottom {
  border-bottom: 1px solid #E5E5E5;
}

/* .sublist {
  font-size: 12px !important;
} */

.tab_right {
  font-family: "Roboto-Bold";
  border-right: 1px solid #E5E5E5;
  font-weight: bold;
  width: 50%;
  padding: 1.5em 2em;
  font-size: 14px;
}

.tab_left {
  font-family: "Roboto-Bold";
  padding-bottom: 22px;
  line-height: 17px;
  font-weight: normal;
  font-size: 12px;
  border-left: 1px solid #E5E5E5;
  width: 50%;
  padding: 1.5em;
}
.tab_left--regular {
  font-family: "Roboto-Regular";
}

a {
  text-decoration: none;
  color: #fff;
}

.pop_up_modal {
  /* max-width: 66%; */
  width: 63%;
  margin: 0 auto;
  justify-content: left;
  font-size: 0.7em;
  flex-direction: column;
}

.diagrams {
  font-family: "Roboto-Light";
  text-decoration: underline;
  color: #fff;
}

#diagram-title {
  font-family: 'Gilroy-Medium';
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  text-transform: none;
  padding-top: 2em;
}

.table__paragraph {
  font-family: "Roboto-Regular";
  margin: 0.65%;
  font-size: 12px;
}
.section1__M {
  display: none;
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

.blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 3.7%;
  justify-content: center;
  border-radius: 5px;
  margin: 0 auto;
  overflow: hidden;
  width: 63%;
  /* height: 50%; */
  height: 250px;
  /* border-style: solid;
  border-color: rgba(62,62,62,0.36 );
  border-width: 2px; */
}

.block_left,
.block_right {
  width: 100%;
  height: 100%;
  position: relative;
  background: #3a3838;
  display: grid;
  overflow: hidden;
  z-index: 1;
  border-radius: 5px;
}

.block_left::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: transform 0.7s, filter 0.5s ease-out;
}

/* .block_left_img:hover {
  transform: scale(1.045);
  opacity: 1;
} */

.block_left_img {
  background: url(../../../images/nd/v3/Sonderentwicklungen.png);
  transition: transform 0.7s, filter 0.5s ease-in;
  height: 100%;
  object-fit: cover;
  /* opacity: 0.7; */
  position: absolute;
  width: 100%;
  object-position: right;
}
.block_right_img {
  background: url(../../../images/nd/v3/support_pic.png) no-repeat;
  width: 100%;
  background-position: 16px;
  background-position: bottom right;
  /* background-position-x: -31px; */
  transform: scale(1.1);
}
.block_right {
  background: #000000;
  background: radial-gradient(
    farthest-corner at 50% 95%,
    #000000 0%,
    #212121 100%
  );
}

.block_left:hover .block_left_img {
  transform: scale(1.045);
  opacity: 1;
}

/* .block_left_img {
  opacity: 0.7;
  transform-origin: right;
  width: 100%;
  height: 100%;
} */

#block_left_title {
  font-family: 'Gilroy-Medium';
  font-size: 23px;
  font-weight: 500;
  line-height: 45px;
  text-align: left;
  position: absolute;
  letter-spacing: 0.46px;
  top: 65%;
  left: 6%;
  z-index: 4;
  background-color: transparent;
}

#block_left_text {
  font-family: 'Roboto-Regular';
  position: absolute;
  font-size: 17px;
  line-height: 45px;
  font-weight: normal;
  top: 75%;
  left: 6%;
  background-color: transparent;
  color: #a3a3a3;
  letter-spacing: 0.34px;
  /* font-family: "Roboto"; */
}

.block_right_img {
  height: 100%;
  object-fit: cover;
  z-index: -1;
  /* width: 100%; */
  position: absolute;
  right: 0;
  bottom: 0;
  /* margin-right: 5%; */
}

.block_wrapper {
  width: 61%;
  margin-left: 6%;
}

.block_title1 {
  font-family: 'Gilroy-Medium';
  margin-top: 9.5%;
  font-size: 18px;
  font-weight: 500;
  background: transparent;
}

.block_title2 {
  font-family: 'Gilroy-Light';
  font-size: 16px;
  font-weight: 300;
}

.line {
  height: 1px;
  background: #707070;
  margin-top: 2%;
}

#block_right_telefon_title {
  font-family: 'Roboto-Light';
  margin-top: 9%;
  font-size: 12px;
  font-weight: 300;
}

#block_right_telefon_num {
  font-size: 18px;
  color: #fff;
  font-family: 'Roboto-Light';
}

#block_right_email_title {
  font-family: 'Roboto-Light';
  margin-top: 1.5%;
  font-size: 12px;
  color: #fff;
}

#block_right_email_txt {
  font-size: 18px;
  color: #fff;
  font-family: 'Roboto-Light';
}

@media (min-width: 280px) and (max-width: 654px) {
  .b-image {
    background: url("../../../images/nd/v3/Bühne_Border.png") center no-repeat,
      url("../../../images/nd/v3/Placement Area3.png") center no-repeat,
      url("../../../images/nd/v3/Placement\ Area.jpg") center/cover no-repeat;
    height: 600px;
    background-position: center;
    background-size: cover;
  }
  
  .b-heading {
    width: 90%;
    margin-top: -110px;
    background-color: transparent;
    border-bottom: none;
    flex-direction: column;
  }
  .b-heading__button {
    height: 33px;
    font-size: 11px;
    margin-top: 10px;
    width: 139px;
  }
  .b-heading__textBig {
    font-size: 16px;
    letter-spacing: 1.5px;
  }
  .b-heading__textSmallM {
    display: block;
    font-size: 14px;
    font-weight: normal;
    line-height: 14.5px;
    color: #ffffff;
    padding-top: 2%;
    letter-spacing: 0.2px;
  }
  .b-heading__textSmall {
    display: none;
  }
  .b-heading__hr {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #4f4f4f;
    margin-top: 0%;
  }
  .b-main {
    width: 87%;
    margin-top: 14%;
    flex-direction: column-reverse;
  }
  .b-main__text {
    font-size: 16px;
    line-height: 22px;
    margin-left: 0;
    margin-top: 4%;
    margin-bottom: 8%;
  }
  .b-main__title {
    margin-left: 0%;
    letter-spacing: 1px;
  }
  .b-main__right {
    float: right;
  }
  .b-main__title--right {
    margin-left: 0;
  }
  .b-main__text--right {
    margin-left: 0;
  }
  .b-imageTablet {
    display: block;
  }
  .b-main__img1M,
  .b-main__img2M,
  .b-main__img3M {
    background: url("../../../images/nd/v3/BG_P1_mobile.png") center/cover no-repeat;
    width: 100%;
    display: block;
    border-radius: 5px;
  }
  /* .b-main__img1M,
  .b-main__img2M,
  .b-main__img3M {
    display: block;
  } */
  .b-main__img1,
  .b-main__img2,
  .b-main__img3 {
    display: none;
  }

  .b-wrapper:not(.heading) {
    margin-bottom: 30%;
  }
  .pop_up_modal {
    /* max-width: 66%; */
    width: 90%;
    margin: 0 auto;
    justify-content: left;
    font-size: 12px;
    flex-direction: column;
  }
  .b-detailsT__title {
    margin: 8% auto;
  }
  .section1__M {
    display: block;
    background: url("../../../images/nd/v3/Background.png") center/cover no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 99%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 99%);
  }
  .section1 {
    display: none;
  }
  .gallery_row {
    display: flex;
    margin-top: 8%;
  }
  .nav_text {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: 12px;
    padding-top: 3.5%;
    letter-spacing: 0px;
    text-transform: uppercase;
  }
  .gallery__column {
    flex: 14.28%;
    margin: auto;
    height: 25%;
  }
  .vertical__text {
    writing-mode: tb;
    /* margin-top: 130%; */
    margin-top: 0.5em;
    margin-bottom: 0.5em;
  }
  .gallery__gallery {
    width: 80%;
    display: flex;
    /* justify-content: end; */
  }
  .gallery__gallery img {
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0% 100%);
    object-fit: cover;
    transform: scale(1);
    width: 50%;
    min-width: 100px;
    height: 200px;
    -webkit-mask-image: none;
    mask-image: none;
    mask-repeat: no-repeat;
    margin-top: 15%;
  }
  .gallery__left,
  .gallery__right {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
  }
  .gallery__right {
    align-self: center;
  }
  b {
    font-weight: normal;
  }
  .blocks {
    grid-template-columns: auto;
    height: 100%;
  }
  #block_right_email_txt {
    margin-bottom: 9.5%;
  }
  .blocks {
    display: flex;
    flex-direction: column;
    /* grid-template-columns: auto; */
    height: 100%;
    width: 90%;
  }
  .block_left_img {
    background: url(../../../images/nd/v3/Sonderentwicklungen.png);
    transition: none;
    height: 100%;
    object-fit: cover;
    /* opacity: 0.7; */
    position: absolute;
    width: 100%;
    object-position: right;
  }
  .block_right_img {
    background: url(../../../images/nd/v3/support_pic.png) no-repeat;
    width: 100%;
    background-position: 16px;
    background-position: bottom right;
    background-position-x: 1;
    transform: scale(.7);
    margin-right: -28%;
    margin-bottom: -5%;
    height: 120%;
  }
  .block_title1 {
    margin-top: 9.5%;
    font-size: 15px;
    font-weight: 500;
    background: transparent;
  }
  .block_title2 {
    font-size: 15px;
  }
  #block_right_email_title {
    font-size: 13px;
  }
  #block_right_email_txt {
    margin-bottom: 9.5%;
    font-size: 13px;
  }
  #block_right_telefon_title {
    font-size: 13px;
  }
  #block_right_telefon_num {
    font-size: 13px;
  }
  .block_left, .block_right {
    width: 100%;
    height: 200px;
    margin-bottom: 7%;
    position: relative;
    /* background: #3a3838; */
    /* display: grid; */
    overflow: hidden;
  }
  .block_left::after {
    transition: none;
  }
  .block_left_img {
    transition: none;
    /* opacity: 0.7; */
  }
  .block_left:hover .block_left_img {
    transform: none;
    opacity: 1;
  }
}

@media (min-width: 280px) and (max-width: 425px) {
  table {
    display: block;
    width: 100%;
    border: none;
    
  }
  tr {
    display: block;
  }
  th,
  td {
    display: inline-block;
    /* width: 50%; */
    box-sizing: border-box;
  }
  .tab_right {
    border-right: none;
    width: 90%;
    font-size: 24px;
    padding-bottom: 0 !important;
    padding-left: 37px;
  }
  .tab_left {
    border-left: none;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    padding-left: 37px;
    font-family: "Roboto-Regular";
  }
  .bottom {
    border-bottom: none;
  }
  tr {
    border-top: 1px solid #707070;
  }
  .section3 {
    margin-top: 3%;
    margin-bottom: 12%;
  }
  .table__paragraph {
    font-size: 14px;
  }
}

@media (min-width: 426px) and (max-width: 1023px) {
  table {
    width: 100%;
    margin: 0;
    border: 1px solid #E5E5E5;
    border-radius: 0px;
    border-left: none;
    border-right: none;
  }
  .tab_right {
    width: 30%;
  }
  .tab_left {
    width: 70%;
    padding: 1.5em;
  }
  .section3 {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  .table__paragraph {
    font-size: 12px;
  }
 }

@media (min-width: 655px) and (max-width: 1023px) {
  .b-image {
    background: url("../../../images/nd/v3/Bühne_Border.png") bottom/cover,
      url("../../../images/nd/v3/Placement\ Area3.png") center no-repeat,
      url("../../../images/nd/v3/Placement\ Area.jpg") center/cover no-repeat;
    height: 640px;
    /* background-position: right; */
    background-size: cover;
  }
  
  .b-heading {
    width: 95%;
    margin-top: -8%;
    /* margin-top: -9.5%; */
    background-color: transparent;
    border-bottom: none;
  }
  .b-heading__button {
    height: 35px;
    font-size: 12px;
  }
  .b-heading__textSmall {
    font-size: 16px;
  }
  .b-main {
    width: 95%;
    margin-top: 14%;
  }
  .b-main__text {
    font-size: 16px;
    line-height: 22px;
    margin-left: 7%;
    margin-top: 4%;
  }
  .b-main__title {
    margin-left: 7%;
    letter-spacing: 1px;
  }
  .b-main__right {
    float: right;
  }
  .b-main__title--right {
    margin-left: 0;
  }
  .b-main__text--right {
    margin-left: 0;
  }
  .b-imageTablet {
    display: block;
  }
  .b-main__img1M,
  .b-main__img2M,
  .b-main__img3M {
    background: url("../../../images/nd/v3/BG_P1_mobile.png") center/cover no-repeat;
    width: 94%;
    border-radius: 5px;
  }
  .b-heading__hr {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #4f4f4f;
    margin-top: -5.7%;
  }
  .b-main__img1M,
  .b-main__img2M,
  .b-main__img3M {
    display: block;
  }
  .b-main__img1,
  .b-main__img2,
  .b-main__img3 {
    display: none;
  }
  .gallery__gallery {
    z-index: -1;
    width: 95%;
    display: flex;
    align-items: center;
    margin: 0 auto;
    margin-top: 14.5%;
  }
  .nav_text {
    margin: 0 auto;
    width: 88%;
    font-size: 12px;
  }
  table {
    width: 100%;
    margin: 0;
    border: 1px solid #E5E5E5;
    border-radius: 0px;
    border-left: none;
    border-right: none;
  }

  .pop_up_modal {
    /* max-width: 66%; */
    width: 95%;
    margin: 0 auto;
    justify-content: left;
    font-size: 12px;
    flex-direction: column;
  }
  .b-detailsT__title {
    margin: 6% auto;
  }
  .block_right_img {
    background: url(../../../images/nd/v3/support_pic.png) no-repeat;
    width: 100%;
    background-position: 16px;
    background-position: bottom;
    background-position-x: 1;
    transform: scale(1);
  }
  .blocks {
    max-width: 95%;
    width: 95%;
    height: auto;
  }
  .block_left,
  .block_right {
    padding-bottom: 5%;
  }
  .background_imageBG {
    background: url(../../../images/nd/v3/Background.png);
  }
  .block_left::after {
    transition: none;
  }
  .block_left_img {
    transition: none;
    /* opacity: 0.7; */
  }
  .block_left:hover .block_left_img {
    transform: none;
    opacity: 1;
  }
}

@media (min-width: 1024px) and (max-width: 1400px) {
  .b-main__text {
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
  }
}

@media (min-width: 768px) {
  .page-main {
  max-width: 100vw !important;
  }
}

.pop_up_modal a {
  color:white;
  font-weight: 400;
  opacity: 0.7;
  font-size: 0.8rem;
  text-decoration:underline;
  cursor: pointer;
}

.pop_up_modal a:visited {
  color:white;
  font-weight: 400;
  opacity: 0.7;
  font-size: 0.8rem;
  text-decoration:underline;
  cursor: pointer;
}

.pop_up_modal a:hover {
  color:white;
  font-weight: 400;
  opacity: 0.7;
  font-size: 0.8rem;
  text-decoration:underline;
  cursor: pointer;
}

#diagramModal{
  padding: 0 18%;
  width: 100%;
  height: 100%;
}

#modal-btn-close {
  position: absolute;
  color: black;
  top: -0.5rem;
  right: -0.5rem;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  background-color: white;
  font-size: 3.2rem;
  font-weight: 300;
  text-align: center;
  border-radius: 25%;
  opacity: 1;
  cursor: pointer;
}

#diagramModal .modal-content {
  position: relative;
  background-color: rgba(0, 0, 0, 0.95);
  margin: auto;
  border: 1px solid white;
  width: 100%;
  height: 80%;
  border-radius: 15px;
  top: 10%;
}

#diagramModal #modal-img{
  max-width: 700px;
  min-width: 700px;
  padding: 0 0;
  margin: auto;
}

.modal-buttons {
  background-color: white;
  width:11rem;
  margin: 0 auto;
  border-radius:10px;
  display: inline-flex;
  flex-direction: row;
  justify-content:center;
  position: static;
  margin-bottom: 3rem;
  cursor: pointer;
}

.modal-button{
  background:transparent;
  border:none;
  width: 50%;
  padding: 2% 16%;
  font-size: 1.5rem;
  font-weight:300;
  scale: 1 1.8;
  color: #707070;
}

#button-previous{
  text-align:right;
}
#button-previous:hover{
  color:black;
}

#button-next{
  text-align:left;
}
#button-next:hover{
  color:black;
}

@media (max-width:1919px){
  #diagramModal #modal-img{
    max-width: 600px;
    min-width: 600px;
  }
}

@media (max-width:1023px) {
  #diagramModal{
    padding: 0 3%;
  }
  
  #diagramModal .modal-content {
    height: 90%;
    top: 5%;
  }
  
  #diagramModal #modal-img{
    max-width: 730px;
    min-width: 730px;
    padding: 0 6%;
    margin: auto;
  }
}

@media (max-width:767px) {
  #diagramModal{
    padding: 0 2%;
  }
  
  #diagramModal .modal-content {
    height: 90%;
    top: 5%;
  }
  
  #diagramModal #modal-img{
    padding: 0 5%;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }
}

@media (max-width:425px){
  #diagramModal{
    padding: 0 2%;
  }
  #diagramModal .modal-content {
    height: 74%;
    top: 3%;
  }
  #diagramModal #modal-img{
    margin-top: 25%;
    padding: 0 5%;
  }
}