@import "fontawesome-all.css";

/* nothing-you-could-do-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Nothing You Could Do';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/nothing-you-could-do-v19-latin-regular.woff2') format('woff2');
}

/* ! RESET */
* {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/* ! BASE STYLES */
html {
  font-size: 100%;
}

body {
  font-family: Arial, sans-serif;
  font-size: 1em;
  background: #1C1A1F;
  color: white;
}


/* ! LAYOUT STRUCTURE */
.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.left {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.right {
  width: 100%;
  background-color: #1C1A1F;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 3rem;
}

/* ! IMAGE SLIDER */
.left img.bg-slide {
  position: absolute;
  top: 3.2rem;
  left: 0;
  width: 100%;
  height: calc(100vh - 3.2rem);
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 1;
}

.left img.bg-slide.active {
  opacity: 1;
}


/* ! LOGO */
.logo {
  display: none;
}

.logo img {
  width: 100%;
  max-width: 25rem;
}

.mobile-logo {
  display: block;
  position: fixed;
  top: 0;
  width: 100%;
  height: 10.5rem;
  padding: 2rem 0.5rem;
  text-align: center;
  background: linear-gradient(
    to bottom,
    rgba(28, 26, 31, 1) 62%,
    rgba(28, 26, 31, 0.9) 66%,
    rgba(28, 26, 31, 0.05) 97%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 10;
  transition: all 0.5s ease-in-out;
}

.mobile-logo img {
  width: 290px;
  transition: all 0.5s ease-in-out;
}


/* ! LANGUAGE SWITCHER */
.lang-overlay-toggle {
  /* position: absolute;
  bottom: 0;
  right: 1.5rem; */
  z-index: 9997;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.05em;
  outline: none;
}

.lang-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26, 27, 33, 0.95);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease-in-out;
}

.lang-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.lang-inner {
  text-align: center;
}

.lang-item {
  display: block;
  font-size: 2rem;
  margin: 1rem 0;
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.lang-item:hover {
  transform: scale(1.05);
  color: #C96EC9;
}

.lang-item.active {
  color: #C96EC9;
}

.lang-close {
  margin-top: 2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
/* ! META */


.meta {
  margin: 5rem 0 1.5rem 0;
}

.nav__meta {

}

.meta .nav__meta ul {
  display: flex;
  padding: 0;
  list-style: none;
  width: 100%;
  justify-content: center;
}

.meta .nav__meta li:not(:last-child) {
margin-right: 1rem;
}

.nav__icon {
  text-align: center;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.nav__icon i {
  font-size: 1.5rem;
}

.meta a,
.meta a:link,
.meta a:visited {
  color: rgb(194, 194, 194);
}

.meta a:focus,
.meta a:hover,
.meta a:active {
  color: #C96EC9;
}

.meta .nav__icon a:not(:last-child) {
margin-right: 1rem;
}

.lang__button__text {
  margin-left: .2rem;
  font-size: 1.1rem;
  float: right;
  margin-top: .2rem;
}


.meta .nav-item.active {
  color: #C96EC9;
}


.scroll-hint {
  position: absolute;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.2rem;
  color: white;
  opacity: 0.8;
  animation: bounce 2s infinite;
  z-index: 2;
  display: block;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

@media (min-width: 1100px) {
  .scroll-hint {
    display: none;
  }
}


/* ! RESPONSIVE */
@media (min-width: 480px) {
  .left img.bg-slide {
    top: 8rem;
    height: calc(100vh - 8rem);
  }

  .mobile-logo {
    height: 13rem;
    padding: 2rem 0.5rem;
  }

  .mobile-logo img {
    width: 400px;
    max-width: unset;
  }
}

@media (min-width: 1100px) {

  html, body {
    height: 100%;
    overflow: hidden;
  }

  .layout {
    flex-direction: row;
  }

  .layout {
    height: 100vh;
    display: flex;
    flex-direction: row;
  }

  .left {
    flex-grow: 1;
    flex-basis: 0;
    height: 100vh;
  }

    .right {
      flex-basis: 28vw;
      max-width: 45rem;
      width: 100%;
      height: 100vh;

      /* HIER DER NEUE PART */
      overflow-y: auto;
      display: flex;
      flex-direction: column;

      /* Padding behalten */
      padding: 0;
    }


  .mobile-logo {
    display: none;
  }

  .logo {
    display: block;
    position: sticky;
    top: 0;
    padding: 2rem 2rem 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(28, 26, 31, 1) 60%, rgba(0, 0, 0, 0) 100%);
  }

  .left img.bg-slide {
    top: 0;
    height: 100vh;
  }

  .meta {
    margin: 3.5rem 0 1.5rem 0;
  }


  .greeting {
    margin-bottom: 3rem !important;
  }

}


/* ! CONTENT */
.content__main {
  width: 80%;
  margin: 0 auto;
  /* margin-bottom: 3rem; */
  font-size: 1.2rem;
  hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
  -webkit-hyphens: auto;
     -moz-hyphens: auto;
          hyphens: auto;
}

.content__main h1 {
  font-size: 1.7rem;
  max-width: 20rem;
  text-align: center;
  font-family: "Nothing you could do";
  margin: 0 auto 2.5rem;
}

.content__main p {
  text-align: center;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
  line-height: 1.6rem;
  font-size: 1.2rem;
  /* margin-bottom: 2rem; */
  margin-bottom: 1rem;
}

strong, b {
  font-weight: bold;
}

.u {
  border-bottom: 1px solid white;
  padding-bottom: .2rem;
  display: inline-block;
margin-bottom: .2rem;

}

.content__main a,
.content__main a:link,
.content__main a:visited {
  color: #C96EC9;
}

.content__main a:focus,
.content__main a:hover,
.content__main a:active {
  text-decoration: underline;
}

a.unset {
  color: inherit !important;
}

.offer {
  width: 15rem;
  text-align: center;
  margin: 0 auto;
}

.content__text {
  margin-bottom: 2.5rem;
}

.content__main :last-child {
  margin-bottom: 0;
}

.greeting {
  margin-bottom: 4rem;
}

.greeting p {
  text-align: center;
}

.open {
  margin-bottom: 2rem;
  text-align: center;
}

.open table {
  margin: auto;
  text-align: left;
}

.open table td {

}

.open table td:nth-child(2) {
  text-align: right;
  padding-left: 1.5rem;
}

.open p {
  text-align: center;
}

.adress p {
  text-align: center;
}

.main__info,
.main__info p {
  font-size: 1.1rem;
}

.meta__page .content__main,
.meta__page .content__main p {
  font-size: 1rem;
}

.meta__page .content__main p {
 line-height: 1.3rem;
}

.meta__page .content__main h1 {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  font-family: inherit;
}
