/* Nav Styles */

/* ///////////////////// */

/* -------------- */
/* DESKTOP */
/* TABLET */
/* MOBILE */
/* MINI-MOBILE */
/* -------------- */

/* DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Navigation
*/

/*
-----------------------------------------------------------------------------

01. Navigation

-----------------------------------------------------------------------------
*/

/* ***** Display */

.nav--desktop,
.nav--mobile {
  display: block;
}

/* ***** Nav-Wrap */

.nav--desktop .nav-wrap {
  width: auto;
  height: 0rem;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  background: var(--color__accent);
  overflow: visible;
  visibility: hidden;
}

.nav--desktop .nav-wrap__inner {
  max-width: 80em;
  margin: auto;
  height: 100%;
  width: 100%;
  padding: 0.6em 2em;
}

.nav--desktop .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ***** Nav-Styling */

.nav--desktop ul {
  padding-left: 0;
  margin: 0;
  list-style-type: none;
}

.nav--desktop ul.nav-list {
  padding: 0;
  margin: 1.2em 0;
  overflow: hidden;
}

.nav--desktop ul.nav-list li {
  margin-left: 1.5em;
  font-size: var(--fsize__h3);
  display: inline-block;
}

.nav--desktop a {
  color: var(--color__accent);
}

.nav--desktop a:hover,
.nav--desktop a.actual-parent,
.nav--desktop a.actual-site {
  color: var(--color__light);
}

/* ***** Nav-Wrap */
.nav--mobile {
  position: fixed;
}

.nav--mobile .nav-controls {
  position: fixed;
  top: 0;
  left: 0;
  height: 6rem;
  width: 100%;
  z-index: 101;
}

.nav--mobile .nav-wrap {
  z-index: 100;
  position: fixed;
  top: 0;
  border-bottom: 0;
  width: 100%;
  height: 100svh;
  box-shadow: 0 0 0.5em 0.125em rgb(0 0 0 / 10%);
  overflow: hidden;
  transition: width 0.5s ease;
  visibility: hidden;
}

.nav--mobile .nav-wrap__inner {
  margin: auto;
  height: 100%;
  width: var(--innerwrap__width);
}

.nav--mobile .logo-wrap {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  height: 3rem;

  visibility: hidden;
  opacity: 0;
}

.nav--mobile .logo-wrap svg {
  height: 100%;
  width: auto;
}

.nav--mobile .logo-wrap.neg g path {
  fill: var(--color__secondary);
}

.nav--mobile .logo-wrap.neg path {
  fill: var(--color__accent);
}

.nav--mobile ul {
  padding-left: 0;
  margin: 0;
  list-style-type: none;
}

.nav--mobile ul.nav-list {
  overflow: visible;
  width: 100%;
  left: 0;
  top: 0.625em;
  margin: 0;
  height: auto;
  padding: 0;
}

.text--reveal .reveal-wrap,
.nav--mobile .reveal-wrap {
  overflow: hidden;
  line-height: 1.2em;
  margin-top: -0.2em;
}

.home .text--reveal .reveal-wrap {
  line-height: 1em;
}

.nav--mobile ul.nav-list li {
  margin: 0.1em 0;
  line-height: 1em;
  display: block;
  font-family: "ES Klarheit Plakat", sans-serif;
  font-size: calc(var(--fsize__h1) * 0.65);
}

.nav--mobile ul.nav-list li:last-child {
  margin-bottom: 0;
}

.nav--mobile ul.nav-list li a,
.nav--mobile a {
  color: var(--color__secondary);
}

.nav-marker {
  width: 0.6em;
  height: 0.6em;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="93" height="64" viewBox="0 0 93 64" fill="none"><g clip-path="url(%23clip0_15928_454)"><path d="M76.3014 28.3701L0 63.7334C0.126027 63.8191 0.259931 63.8971 0.346574 63.9984L69.5826 40.4904L76.3014 28.3701Z" fill="black" /><path d="M93.0043 0L88.3492 12.323L19.7433 47.5849L93.0043 0Z" fill="black" /></g><defs><clipPath id="clip0_15928_454"><rect width="93" height="64" fill="white" /></clipPath></defs></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  display: inline-block;
  margin-left: 0.25em;
}

/* full nav overlay */
.nav-curtain {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
  width: 100vw;
  height: 101vh;
  top: 0;
  left: 0;
  z-index: -1;
}

/* individual bars */
.nav-bar {
  /* background: linear-gradient(171deg, #ffee19 6.99%, #ffd919 67.26%); */
  background-color: #ffee19;
  height: 130%;
  width: 101%;
}

/* ***** Nav-Wrap Trigger */

.nav--mobile .nav-trigger {
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  top: 0;
  position: fixed;
  height: 7rem;
  width: 6.75rem;
  cursor: pointer;
  z-index: 101;
}

.nav--mobile .nav-trigger span {
  position: absolute;
  left: 1.5625em;
  top: 2em;
  height: 0.3rem;
  width: 3.2rem;
  background: var(--color__secondary);
  transition: background 0.3s ease;
}

/* .nav--mobile.open .nav-trigger span {
  background: var(--color__primary);
} */

.nav--mobile .nav-trigger--bg {
  position: absolute;
  height: auto;
  width: 100%;
  pointer-events: none;
  top: 0;
  left: 0;
  filter: drop-shadow(0 4px 98.6px rgba(0, 0, 0, 0.35));
}

/* ***** Breadcrumb */

.breadcrumb .current-page {
  color: var(--color__error);
}

/* MINI-DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Navigation
*/

@media only screen and (max-width: 80em) {
  .nav--mobile ul.nav-list li {
    font-size: calc(var(--fsize__h1) * 0.5);
  }
}

/* TABLET //////////////////////////////////////////////////////////////// */
/*
01. Navigation
*/

@media only screen and (max-width: 55em) {
  /*
  -----------------------------------------------------------------------------

  01. Navigation

  -----------------------------------------------------------------------------
  */

  /* ***** Display */

  .nav--desktop {
    display: none;
  }

  .nav--mobile ul.nav-list li {
    font-size: calc(var(--fsize__h1) * 0.7);
  }
}

/* MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Navigation
*/

@media only screen and (max-width: 36em) {
  /*
  -----------------------------------------------------------------------------

  01. Navigation

  -----------------------------------------------------------------------------
  */

  .nav--mobile.open .nav-wrap {
    height: calc(var(--vh, 1vh) * 100);
  }

  .nav--mobile.open .nav-wrap:before {
    transform: translateY(100%);
  }

  .nav--mobile .nav-controls {
    top: unset;
    bottom: 0;
    background-color: black;
  }

  .nav--mobile .logo-wrap {
    visibility: visible;
    opacity: 1;
    left: var(--innerwrap__px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 999999;
  }

  .nav--mobile:not(.open) .logo-wrap.neg g path {
    fill: var(--color__accent);
  }

  .nav--mobile:not(.open) .logo-wrap.neg path {
    fill: var(--color__primary);
  }

  .nav--mobile .nav-trigger--bg {
    display: none;
  }

  .nav--mobile .nav-trigger {
    top: unset;
    bottom: 0;
  }

  .nav--mobile .nav-trigger span {
    background: var(--color__accent);
    top: 3.8rem;
  }

  .nav--mobile.open .nav-trigger span {
    background: var(--color__secondary);
  }

  .nav--mobile.open .nav-trigger span {
    background: var(--color__secondary);
  }

  .nav--mobile ul.nav-list {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .nav--mobile ul.nav-list li {
    font-size: calc(var(--fsize__h1) * 1.2);
  }
}

/* MINI-MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Navigation
*/

@media only screen and (max-width: 27em) {
  /*
  -----------------------------------------------------------------------------

  01. Navigation

  -----------------------------------------------------------------------------
  */

  /* ***** Nav-Wrap */

  /* ***** Nav-Styling */

  /* ***** Nav-Wrap Trigger */
}
