*,
*:before,
*:after {
  border: 0px;
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}

*::-webkit-scrollbar {
  width: 0 !important;
  background: transparent;
}

@font-face {
  font-family: "ITC";
  src: url("../font/itc-avant-garde-gothic-pro-book.woff2") format("woff2"),
    url("../font/itc-avant-garde-gothic-pro-book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

html,
body {
  font-family: "ITC", sans-serif;
  width: 100%;
  position: relative;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  margin: 0;
  padding: 0;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 2rem;
  min-width: 100vw;
}

html {
  overflow-x: hidden;
}

h1 {
  margin: 5rem 0 5rem 0;
  font-size: 3.6rem !important;
  font-weight: 700;
  line-height: 4.5rem !important;
}

h2 {
  margin: 0 0 1.5rem 0;
  min-width: 100%;
  font-size: 2.6rem;
  line-height: 3.6rem;
  font-weight: normal;
  text-align: center;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.3rem;
  margin: 0 0 10px 0;
}

img {
  display: block;
  width: 100%;
}

p {
  margin: 0 0 1rem 0;
}

main {
  min-height: 100vh;
  overflow-x: hidden;
  color: black;
}

main #slogan {
  margin: 40px 0 0 0;
  text-align: center;
  text-transform: uppercase;
}

main section {
  margin: 0 0 0px 0;
  padding: 0 0 0 0;
}

.container-fluid {
  margin: 0;
  padding: 0px;
}

div#wrapper {
  max-width: 100vw;
  min-width: 100vw;
}

.row > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.debug {
  outline: 1px solid red;
}

a:link {
  text-decoration: underline;
}

a:visited {
  text-decoration: none;
}

a:hover {
  font-weight: bold;
  font-style: normal;
  color: black;
}

a:active {
  text-decoration: none;
}

a {
  font-weight: bold;
  font-style: normal;
  color: black;
}

address {
  font-style: normal;
}

strong {
  font-weight: 700;
}

ul li {
  list-style: none;
}

footer {
  margin-left: 0px;
  padding: 80px;
  border-top: 1px solid black;
}

nav {
  position: relative;
  padding: 20px 0 20px 40px;

  border-top: 1px solid black;
  border-bottom: 1px solid black;
  min-width: 100%;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  list-style: none;
  color: black;
  text-transform: uppercase;
  line-height: 4.2rem;
  font-size: 2.6rem !important;
  font-weight: 400;
  text-decoration: none !important;
}

div#burger {
  width: 80px;
  height: 50px;
  display: none;
}

div#burger span {
  width: 60px;
  height: 4px;
  margin-bottom: 6px;
  background: black;
  display: block;
  cursor: pointer;
}

main section {
  min-width: 100%;
}

main .box {
  padding: 160px;
}

main article {
  margin: 0 0 0px 0;
}

main #News {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding-top: 120px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

main #News article {
  padding: 0px;
  background: none;
  min-width: 28%;
  max-width: 28%;
  margin: 0 0 40px 4%;

  opacity: 0;
  animation: fadeIn 2s forwards;
}

#News article div.text {
  padding: 10px;
  background: white;
  font-size: 0.8rem;
  line-height: 1.3rem;
  text-align: left;
}

#News article div.text h4 {
  font-size: 0.9rem;
  line-height: 1.3rem;
}

main #News button#more-news {
  background: none;
  min-height: 40px;
  min-width: 40px;
  overflow: none;
  position: relative;
  cursor: pointer;
}

#News button#more-news span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 3px;
  background-color: black;
  transform-origin: center;
}

#start img {
  margin-top: -105px;
}

#News button#more-news span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(90deg);
}

#News button#more-news span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(0deg);
}

#About {
  border-bottom: 1px solid black;
}

#About .text {
  text-align: center;
}

#Labels .gallery div {
  position: relative;
}

.gallery {
  display: block !important;
}

main .box {
  padding: 160px;
}

main .extra {
  padding: 0px !important;
}

#Labels .gallery-item {
  max-width: 25%;
  min-width: 25%;
}

#Labels .gallery img {
  min-width: 100%;
  display: block;
  padding: 0px;
}

#Labels .gallery button.open {
  position: absolute;
  right: 5px;
  bottom: 17px;
  height: 40px;
  width: 40px;
  background: none;
}

#Labels .gallery button.open span:nth-child(1) {
  position: absolute;
  right: 0px;
  top: 30px;
  height: 3px;
  width: 100%;
  color: black;
  rotate: 90deg;
}

#Labels .gallery button.open span {
  position: absolute;
  right: 0px;
  bottom: 7px;
  height: 3px;
  width: 100%;
  background: black;
}

#Labels .gallery > * {
  margin: 0px;
  padding: 0px;
  cursor: pointer;
}

.cover {
  margin: 0 0 50px 0;
}

.extra div {
  font-size: 0.8rem;
  line-height: 1.3rem;
  padding: 10px;
  text-align: left;
}

#modal {
  position: fixed;
  z-index: 20;
  background: white;
  max-width: 40vw;
  height: 70vh;
  top: 20%;

  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);

  padding: 50px;
  display: none;
  overflow: hidden;
}

#modal .modal-content {
  padding: 5px 5px 20px 5px;
  position: relative;
  overflow: scroll;
  height: 100%;
}

#modal h3 {
  margin: 0 0 40px 0;
  text-transform: uppercase;
}

#modal button#close {
  position: absolute;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
}

#modal button#close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 3px;
  background-color: black;
  transform-origin: center;
}

#modal button#close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

#modal button#close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal {
  display: none;
}

.border-right {
  border-right: 1px solid black;
}

.sidebar-wrapper {
  position: relative;
  width: 25%;
}

#sidebar {
  top: 0;
  height: 100vh;
  position: relative;

  position: fixed;
  top: 0;
  left: 0;
  bottom: 0; /* Vollhöhe */
  overflow-y: auto; /* Scrollbar falls Inhalt zu hoch */
  width: inherit; /* Breite von .sidebar-wrapper übernehmen */
}

#sidebar section {
  margin: 0px 0px 0px 0px;
}

#sidebar section div:first-child {
  padding: 50px 0px 50px 50px;
}

#sidebar #logo img {
  width: 60%;
  margin-left: 12%;
}

@media only screen and (max-width: 1600px) {
  html,
  body {
    font-family: "ITC", sans-serif;
    width: 100%;
    position: relative;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6rem;
    min-width: 100vw;
  }

  html {
    overflow-x: hidden;
  }

  h1 {
    margin: 5rem 0 5rem 0;
    font-size: 3rem !important;
    font-weight: 700;
    line-height: 4.5rem !important;
  }

  h2 {
    margin: 0 0 1.5rem 0;
    min-width: 100%;
    font-size: 2rem;
    line-height: 2.6rem;
    font-weight: normal;
    text-align: center;
  }

  h3 {
    font-size: 1.1rem;
  }

  h4 {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
  }
}

@media only screen and (max-width: 1100px) {
  #sidebar section#logo-wrapper {
    padding: 0px 0px 0px 0px !important;
  }

  #nav-wrapper {
    margin: 0px;
    padding: 0px !important;
  }

  #text {
    position: fixed;
    left: -100vw;
  }

  #text div {
    padding: 0px 20px 0px 20px !important;
  }
  div#burger {
    width: 50px;
    height: auto;
    display: block;
    margin-left: -30px;
  }

  nav ul {
    position: fixed;
    left: -100vw;
    padding: 20px 0 20px 20px;
  }
  nav {
    padding: 0px 0 0px 0px;
  }

  nav ul li a {
    list-style: none;
    color: black;
    text-transform: uppercase;
    line-height: 2.8rem;
    font-size: 1.6rem !important;
    font-weight: 400;
    text-decoration: none !important;
  }

  #start img {
    margin-top: 0px;
  }

  #Labels .gallery-item {
    max-width: 50%;
    min-width: 50%;
  }

  main #News article {
    padding: 0px;
    background: none;
    margin-left: 0%;
    min-width: 100%;
    max-width: 100%;
    position: relative !important;
  }

  main #News article .news-article {
    padding: 0px;
    background: none;

    position: relative !important;
  }

  main #News article:first-child {
    margin-top: 40px;
  }

  #News button#more-news {
    margin-bottom: 40px;
  }

  section {
    padding: 20px 0 20px 0 !important;
  }

  .sidebar-wrapper {
    position: relative;
    width: 100%;
  }
  h2 {
    margin: 0 0 1.5rem 0;
    min-width: 100%;
    font-size: 1.6rem;
    line-height: 2.6rem;
    font-weight: normal;
    text-align: left;
  }

  #modal {
    position: fixed;
    z-index: 20;
    background: white;
    min-width: 90vw;
    max-height: 90vh;

    top: 10%;

    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);

    padding: 10px;
    display: none;
  }

  #modal div {
    padding: 10px 10px 180px 10px;
  }

  .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }

  #sidebar {
    position: block;
    height: auto;
    position: relative;
  }

  div#wrapper {
    padding: 0 0px 0px 0px !important;
    margin: 0 0px 0px 0px !important;

    max-width: 100vw;
    min-width: 100vw;
  }

  .border-right {
    border-right: 0px solid black;
  }

  main .box {
    padding: 10px;
  }

  main {
    min-height: 100vh;
  }

  #About .text {
    text-align: left;
  }

  footer {
    padding: 40px 10px 40px 10px;
  }

  footer a {
    display: block;
  }

  .container-fluid {
    min-width: 100vw;
  }

  html,
  body {
    overflow: auto;
    font-size: 1.1rem;
    line-height: 1.7rem;
  }
}
