:root {
  --color-text: #26292b;
  --color-link: #26292b;
  --color-link-muted: #b7b7b7;
  --color-muted: #f2f0ef;
  --color-primary: #eaa9cb;
  --color-secondary: #d5ef72;
}

@font-face {
  font-family: "NectoMono";
  src:
    url("../fonts/NectoMono-Regular.woff2") format("woff2"),
    url("../fonts/NectoMono-Regular.woff") format("woff");
}

@font-face {
  font-family: "TGGirthyUltra";
  src:
    url("../fonts/TGGirthyUltraRegular.woff2") format("woff2"),
    url("../fonts/TGGirthyUltraRegular.woff") format("woff");
}

/* Visforms */
.visforms .uk-margin-small-top {
  margin-top: 5px !important;
}
.visforms .uk-margin-medium-top {
  margin-top: 0 !important;
}

.visforms .field6 .uk-margin-small-top {
  margin-top: 0 !important;
}

.visforms .uk-flex-center {
  justify-content: flex-start;
}

.visforms fieldset > div > div {
  position: relative;
}

.visforms .errorcontainer {
  position: absolute;
  top: 12px;
  right: 0;
  background: red;
  padding: 0 15px;
  line-height: 1;
}

.visforms .field5 .errorcontainer,
.visforms .field17 .errorcontainer {
  top: -18px;
}

.visforms .errorcontainer * {
  color: white !important;
  font-size: 11px;
  line-height: 1.9;
}

#system-message-container {
  position: fixed;
  width: 80%;
  max-width: 1200px;
  min-width: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
}

#system-message-container joomla-alert {
  border-radius: 0;
  border: none;
  background: var(--color-primary);
  color: white !important;
  padding: 35px 25px;
}

#system-message-container joomla-alert .joomla-alert--close {
  color: white !important;
  opacity: 1;
  font-weight: 300;
  font-size: 30px;
  line-height: 10px;
}

/* ------------------- */
/* .uk-panel, .uk-panel .el-content{height:100%}
    header{display: none !important}
    .uk-position-left{right:0} */
.story-step {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(30px);
  filter: blur(6px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s ease,
    visibility 0s linear 0.65s;
}

.story-step.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s ease,
    visibility 0s linear 0s;
}

html {
  scrollbar-width: none;
  overscroll-behavior: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  overscroll-behavior: none;
}

@media (prefers-reduced-motion: reduce) {
  .story-step {
    transition-duration: 0.01ms;
    transform: none;
    filter: none;
  }
}

/* Logo */
.logo.idle .uk-svg path {
  animation: logoColors 2s steps(1) infinite;
}

@keyframes logoColors {
  0% {
    fill: var(--color-secondary);
  }

  33.33% {
    fill: var(--color-primary);
  }

  66.66% {
    fill: var(--color-text);
  }

  100% {
    fill: var(--color-secondary);
  }
}

/* ---- */

/* PAGE 1 */
.vertical-green {
  position: absolute;
  bottom: 0px;
  right: -5px;
  width: 30px;
  height: 0px;
  background: var(--color-secondary);
  transition: all 2s linear 2s;
}

.vertical-pink {
  position: absolute;
  bottom: 0px;
  right: -5px;
  width: 30px;
  height: 0px;
  background: var(--color-primary);
  transition: all 2s linear;
}

.horizontal-line {
  position: absolute;
  bottom: 32px;
  left: 43px;
  width: 0;
  height: 23px;
  background: var(--color-text);
  transition: all 2s linear 1.3s;
}

.vertical-full.entered {
  height: 100vh !important;
}

.horizontal-full.entered {
  width: 100vw !important;
}

.l-img {
  position: absolute;
  bottom: 32px;
  left: 43px;
  height: 70px;
}

.h-img {
  position: absolute;
  bottom: 32px;
  right: 43px;
  opacity: 0;
  height: 70px;
  transition: all 0.1s linear 2s;
}

.box-over {
  background: var(--color-muted);
  position: absolute;
  bottom: 32px;
  left: 43px;
  height: 70px;
  width: 152.3px;
}

.box-over-end {
  background: var(--color-primary);
  position: absolute;
  bottom: 32px;
  right: 25px;
  height: 23px;
  width: 0px;
}

.box-over-end.entered {
  width: 25px;
  right: 0;
}

.box-over.entered {
  width: 0 !important;
  left: calc(43px + 152.3px);
}

.scroll-text {
  position: absolute;
  bottom: 62px;
  right: 50px;
  opacity: 0;
  transition: all 0.2s linear 3.5s;
  color: var(--color-link-muted);
}

.scroll-text.entered {
  opacity: 1;
  animation: blink 1.5s ease-in-out 3.7s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

/* PAGE 2 */
.vertical-green-left {
  position: absolute;
  bottom: 0px;
  left: -5px;
  width: 92px;
  height: 0px;
  background: var(--color-secondary);
  transition: all 2s linear;
}

.vertical-green-left.gray {
  background: var(--color-muted);
}

.vertical-green-left.pink {
  background: var(--color-primary);
}

.vertical-green-left.entered {
  height: 100vh !important;
}

.horizontal-line-left {
  position: absolute;
  bottom: 32px;
  left: 0px;
  width: 0;
  height: 23px;
  background: var(--color-text);
  transition: all 2s linear;
}

.horizontal-line-left.gray {
  background: var(--color-muted);
}

.horizontal-line-left.entered {
  width: 100vw !important;
}

.horizontal-last.entered {
  width: calc(100vw - 120px) !important;
}
.horizontal-kontakt.entered {
  background: var(--color-secondary);
  width: calc(100vw - 152px) !important;
}
.horizontal-impressum.entered {
  background: var(--color-text);
  width: calc(100vw - 152px) !important;
}
.horizontal-datenschutz.entered {
  background: var(--color-primary);
  width: calc(100vw - 152px) !important;
}

.h-img.entered {
  opacity: 1;
}

.box-over-left {
  position: absolute;
  bottom: 32px;
  left: 0px;
  width: 0;
  height: 23px;
  background: var(--color-primary);
  transition: all 2s linear;
}

.box-over-gray {
  position: absolute;
  bottom: 32px;
  left: 0px;
  width: 0;
  height: 23px;
  background: var(--color-primary);
  transition: all 2s linear;
}

.box-over-gray1 {
  position: absolute;
  bottom: 32px;
  left: 0px;
  width: 0;
  height: 23px;
  background: var(--color-muted);
  transition: all 2s linear;
}

.box-over-gray3 {
  position: absolute;
  bottom: 32px;
  left: 0px;
  width: 0;
  height: 23px;
  background: var(--color-link);
  transition: all 2s linear;
}
.box-over-gray4 {
  position: absolute;
  bottom: 32px;
  left: 0px;
  width: 0;
  height: 23px;
  background: var(--color-link);
  transition: all 2s linear;
}

.box-over-white {
  position: absolute;
  bottom: 125px;
  left: 0px;
  width: 0;
  height: 23px;
  background: #fff;
  transition: all 2s linear;
}

.box-over-white.entered,
.box-over-gray.entered,
.box-over-gray1.entered,
.box-over-gray3.entered,
.box-over-gray4.entered,
.box-over-left.entered {
  width: 87px !important;
}

@media (min-width: 960px) {
  .padding-left .uk-tile {
    padding-left: 190px;
    padding-top: 130px;
    padding-bottom: 120px;
  }
}

.bottom-block {
  position: absolute;
  bottom: 120px;
}

.bottom-block2 {
  position: absolute;
  bottom: 85px;
}

.right {
  right: 0;
}

.white-line {
  height: 23px;
  background: white;
  transition: all 2s linear;
  width: 0px;
  display: inline-block;
  position: absolute;
  bottom: 6px;
}
.text-line-white {
  position: absolute;
  width: 0px;
  background: white;
  height: min(1.1979vw, 2.5556vh);
  left: -70px;
  top: 110%;
  transition: all 1s linear;
}
.story-step.is-visible .text-line-white {
  width: calc(100% + 80px);
}

.is-visible .white-line {
  width: 70vw;
}

.w-1000 {
  max-width: 1102px;
}

.w-1200 {
  max-width: 1155px;
}

.grid-box .el-item {
  padding-top: 36px;
  padding-bottom: 36px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 1s ease;
}

.grid-box .el-item p:last-of-type {
  margin-bottom: 0;
}

.grid-box .el-item.active {
  background: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}

.grid-box .el-item.left {
  background: transparent;
  border: 1px solid var(--color-secondary);
}

@media (max-height: 900px) {
  .bottom-block {
    bottom: 100px;
  }
  .box-over-white {
    bottom: 105px;
  }
  .padding-left .uk-tile {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.text-pink {
  position: relative;
  z-index: 2;
  display: inline-block;
}

.text-pink::before {
  content: "";
  background: var(--color-primary);
  width: calc(100% + 25px);
  display: block;
  position: absolute;
  height: 100%;
  left: -10px;
  top: 0;
  z-index: -1;
}

.text-pink.l {
  z-index: 1;
}
.text-pink.l::before {
  width: calc(100% + 35px);
  left: -30px;
}

@media (min-width: 960px) {
  .padding-left .uk-tile-small {
    padding-left: 130px;
    padding-top: 38px;
    padding-bottom: 0;
  }
}

/* ------------------- */

/* Lenis CSS */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

a.uk-position-medium.uk-position-bottom-right.uk-position-z-index.uk-button.uk-button-primary {
  display: none !important;
}

@media (max-width: 639px) {
  /* Text */
  html,
  .uk-button {
    font-size: 13px;
  }

  .uk-text-small {
    font-size: 12px;
  }

  h1,
  .uk-h1 {
    font-size: 30px;
  }

  h2,
  .uk-h2 {
    font-size: 26px;
  }

  h3,
  .uk-h3,
  .uk-accordion-title {
    font-size: 22px;
  }

  h4,
  .uk-h4,
  .uk-text-large {
    font-size: 18px;
  }

  /* Spacing */
}
/* =========================================================
   DESKTOP / TABLET LANDSCAPE
   960px+
   ========================================================= */

@media (min-width: 960px) {
  /* TYPOGRAPHY */

  html {
    font-size: clamp(11px, min(0.88vw, 1.3333vh), 12px);
  }

  .uk-text-small {
    font-size: clamp(10px, min(0.8vw, 1.2222vh), 11px);
  }

  .uk-text-large {
    font-size: clamp(12px, min(0.95vw, 1.4444vh), 13px);
  }

  .uk-h1,
  h1 {
    font-size: clamp(60px, min(6.25vw, 13.3333vh), 85px);
  }

  .uk-h3,
  h3 {
    font-size: clamp(16px, min(1.25vw, 1.8889vh), 17px);
  }

  .uk-h2,
  h2 {
    font-size: clamp(20px, min(1.55vw, 2.3889vh), 21.5px);
  }

  /* WIDTHS */

  .uk-width-2xlarge {
    width: min(50.5208vw, 107.7778vh);
  }

  .uk-width-xlarge {
    width: min(44.0625vw, 94vh);
  }

  /* MARGINS */

  .uk-margin-medium-top {
    margin-top: min(1.9792vw, 4.2222vh) !important;
  }

  .uk-margin-bottom {
    margin-bottom: min(1.0417vw, 2.2222vh) !important;
  }

  .uk-margin-large-top {
    margin-top: min(3.6458vw, 7.7778vh) !important;
  }

  /* LINES / BOXES */

  .white-line,
  .box-over-white {
    height: min(1.1979vw, 2.5556vh);
  }

  /* TEAM IMAGE */

  .team-img img {
    height: min(29.4792vw, 62.8889vh);
    object-position: top center;
  }

  /* PARAGRAPHS */

  p {
    margin: 0 0 min(1.0417vw, 2.2222vh) 0;
  }

  * + p {
    margin-top: min(1.0417vw, 2.2222vh);
  }
}

/* =========================================================
   LARGE DESKTOP
   1360px+
   ========================================================= */

@media (min-width: 1360px) {
  html {
    font-size: min(max(12px, 0.78125vw), 1.66667vh);
  }

  .uk-text-small {
    font-size: min(max(11px, 0.67708vw), 1.44444vh);
  }

  .uk-text-large {
    font-size: min(max(13px, 0.88542vw), 1.88889vh);
  }

  .uk-h1,
  h1 {
    font-size: min(max(85px, 6.25vw), 13.3333vh);
  }

  .uk-h3,
  h3 {
    font-size: min(max(16px, 1.14583vw), 2.44444vh);
  }

  .uk-h2,
  h2 {
    font-size: min(max(21.5px, 1.5625vw), 3.33333vh);
  }
  .w-1000 {
    max-width: min(57.3958vw, 122.4444vh);
  }

  .w-1200 {
    max-width: min(60.1563vw, 128.3333vh);
  }
}
@media (min-width: 1600px) {
  .uk-container-large {
    max-width: 70vw;
  }
  .team-img img {
    width: 100%;
  }
}

@media (max-width: 959px) {
  .mobile-step {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(30px);
    filter: blur(6px);

    transition:
      opacity 0.65s ease,
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.65s ease,
      visibility 0s linear 0.65s;
  }

  .mobile-step.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
    filter: blur(0);

    transition:
      opacity 0.65s ease,
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.65s ease,
      visibility 0s linear 0s;
  }
}

@media (min-width: 1157px) and (max-width: 1359px) {
  .text-pink::before {
    width: calc(100% + 0px);
  }
}
