/* ====================================================
    Base
    - how it should look no matter where on the page
    - applied directly to element selectors
==================================================== */

/* inter-400 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../Fonts/inter-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../Fonts/inter-v19-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../Fonts/inter-v19-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../Fonts/inter-v19-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@view-transition {
  navigation: auto;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  color: var(--bs-dark);
}

ul {
  list-style-type: "-";
  padding-left: 0.6rem;
  li {
    padding-left: 0.3rem;
  }
}

a {
  color: #000;
}

b,
strong {
  font-weight: 600;
}

h3,
h4 {
  margin-bottom: 0.5rem;
}

/* Buttons
--------------------------------------------- */

.btn {
  font-weight: 500;
}
.btn[class*="btn-outline"] {
  position: relative;
  display: inline-flex;
  column-gap: 6px;
  align-items: center;
  background: linear-gradient(to left, var(--bs-btn-bg), var(--bs-btn-bg) 50%, var(--bs-btn-border-color) 50%) !important;
  overflow: hidden;
  background-size: 210% 100% !important;
  background-position: 100% 0% !important;
  transition: color 250ms, background-position 250ms;
  --bs-btn-active-color: var(--bs-btn-color);
  --bs-btn-hover-color: var(--bs-btn-color);
}
.btn[class*="btn-outline"]::after {
  content: "\F138";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 500 !important;
  transform: translateX(0px);
  transition: transform 400ms;
}
@media (hover: hover) {
  .btn[class*="btn-outline"]:hover {
    background-position: 0% 0% !important;
  }
  .btn.btn-outline-primary:hover {
    color: #FFF;
  }
  .btn.btn-outline-light:hover {
    color: var(--bs-primary);
  }
  .btn[class*="btn-outline"]:hover::after {
    transform: translateX(5px);
  }
}
.btn-primary {
  --bs-btn-color: #FFF;
  --bs-btn-hover-color: #FFF;
}
/* .btn-outline-primary {
  --bs-btn-active-border-color: var(var(--bs-btn-color));
} */

.btn > .bi {
  pointer-events: none;
}

button:focus:not(:focus-visible) {
  box-shadow: none;
}

/* ====================================================
    Layout
    - divides page into major components
==================================================== */

/* Header
--------------------------------------------- */

.navbar-brand {
  max-width: 110px;
  @media (min-width: 992px) {
    max-width: 120px;
  }
  @media (min-width: 1400px) {
    max-width: 200px;
  }
}

/* Navigation
--------------------------------------------- */

.navbar-toggler {
  width: 70px;
  height: 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin-block: 0.7rem;
  z-index: 1050;
}
.navbar-toggler {
  .dot {
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    transition: background-color 200ms ease, transform 200ms, width 200ms 150ms, height 200ms 150ms;
    pointer-events: none;
  }
  .dot.mid {
    position: relative;
    z-index: 2;
  }
  .dot.mid::before,
  .dot.mid::after {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -11px;
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--bs-primary);
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 200ms 150ms;
  }
  .dot.mid::after {
    transform: rotate(135deg);
  }
  &.active {
    .dot {
      background-color: #FFF;
    }
    .dot:not(.mid) {
      width: 5px;
      height: 5px;
    }
    .dot:not(.mid):first-child {
      transform: translateX(15px);
    }
    .dot:not(.mid):last-child {
      transform: translateX(-15px);
    }
    .dot.mid {
      width: 30px;
      height: 30px;
    }
    .dot.mid::before,
    .dot.mid::after {
      opacity: 1;
    }
  }
}
.navbar {
  ul {
    li {
      padding: 0;
    }
  }
  @media (max-width: 1199.99px) {
    .offcanvas-header {
      padding-top: 2.4rem;
      padding-right: 2.2rem;
      .btn-close {
        --bs-btn-close-color: #FFF;
        --bs-btn-close-opacity: 1;
        --bs-btn-close-bg: transparent;
      }
    }
    .offcanvas-body {
      padding-inline: 1.5rem;
    }
    .offcanvas {
      width: 100%;
    }
    .navbar-nav {
      flex-direction: row;
      flex-wrap: wrap;
      .nav-item {
        flex: 1 0 100%;
        &.spacer {
          + .nav-item,
          + .nav-item ~ .nav-item {
            flex: 0 1 auto;
          }
        }
        .nav-link {
          font-size: 1.2rem;
          &.active {
            color: #FFF;
            text-decoration: underline;
            text-underline-offset: 5px;
            text-decoration-thickness: 2px;
          }
        }
        .subnav-show,
        .subnav-hide {
          display: flex;
          align-items: center;
          box-shadow: none;
          border: none;
          color: #FFF;
        }
        .subnav-show {
          margin-right: 0.35rem;
          @media (min-width: 768px) {
            margin-right: 1.05rem;
          }
        }
        .subnav-hide {
          margin-left: -0.75rem;
          .menu-icon {
            padding-right: 0.5rem;
          }
        }
      }
      a {
        color: #FFF;
      }
      @media (min-width: 768px) {
        max-width: 696px;
        margin: 0 auto;
      }
      @media (min-width: 992px) {
        max-width: 936px;
      }
    }
  }
  @media (min-width: 1200px) {
    .nav-link {
      font-size: 1rem;
      line-height: 30px;
      position: relative;
      @media (min-width: 1400px) {
        font-size: 1.175rem;
      }
    }
    .nav-link:not(.nav-icon)::after {
      content: "";
      position: absolute;
      left: 1rem;
      bottom: 0;
      width: calc(100% - 2rem);
      height: 3px;
      background-color: var(--bs-primary);
      transform-origin: center;
      transform: scaleX(0);
      transition: transform 400ms;
    }
    .nav-link.active::after,
    .nav-link:hover::after {
      transform: scaleX(1);
    }
    .nav-item.has-sub:not(.no-hover):hover {
      > .subnav-container {
        height: auto;
        visibility: visible;
        transition-delay: 200ms;
        transition-duration: 400ms;
      }
    }
  }
}
.navbar.fixed-top + * {
  margin-top: 94px;
  @media (min-width: 1200px) {
    margin-top: 110px;
  }
}

/* subnav container  */

@media (max-width: 1199.99px) {
  .subnav-container {
    position: fixed;
    top: 5.5rem;
    left: 100%;
    z-index: 1;
    transition: left 200ms ease;
    width: 100%;
    height: calc(100% - 5.5rem);
    background-color: var(--bs-primary);
    overflow-y: auto;
    ul {
      list-style: none;
      padding: 0;
    }
    a {
      display: block;
      color: var(--bs-nav-link-color);
      text-decoration: none;
      .menu-icon {
        display: none;
      }
    }
    .sub-navigation {
      &.sub-main {
        @media (max-width: 575.99px) {
          .nav-link {
            font-size: 1rem;
          }
        }
        > li {
          margin-top: 1rem;
          > a {
            font-weight: 600;
          }
        }
        .sub-navigation {
          a {
            padding-block: 0.3rem;
          }
        }
      }
    }
  }
  .subnav-container.show {
    left: 0%;
  }
}

@media (min-width: 1200px) {
  .subnav-container {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background-color: var(--bs-primary);
    color: #FFF;
    height: 0;
    visibility: hidden;
    overflow: clip;
    interpolate-size: allow-keywords;
    transition-property: height visibility;
    transition-duration: 200ms;
    > div {
      max-height: calc(100svh - 110px);
      overflow-y: auto;
      padding-top: 2rem;
      padding-bottom: 3rem;
    }
    .subnav-main-link {
      flex: 1 0 30%;
    }
    ul {
      list-style: none;
      padding: 0;
    }
    .sub-navigation {
      flex: 1 0 70%;
      height: 100%;
      &.sub-main {
        columns: 2;
        column-gap: 2.5rem;
        > li {
          break-inside: avoid-column;
          padding-bottom: 2rem;
          > a {
            font-weight: 600;
          }
        } 
      }
      ul {
        break-inside: avoid;
      }
      a {
        display: flex;
        justify-content: space-between;
        padding-block: 3px;
        padding-left: 0 !important;
        border-bottom: 1px solid #FFF;
        font-size: 1.1rem;
        font-weight: 300;
        text-decoration: none;
        color: #FFF;
        transition: padding 250ms;
        break-inside: avoid;
        width: 100%;
        .menu-icon {
          opacity: 0;
          transform: translateX(-20px);
          transition: opacity 250ms, transform 250ms;
        }
      }
      a:hover,
      .active > a {
        padding-left: 0.75rem !important;
        .menu-icon {
          transform: translateX(0px);
          opacity: 1;
        }
      }
    }
  }

}

/* Body
--------------------------------------------- */

@media (max-width: 575px) {
  .lead {
    font-size: 1.15rem;
  }
}

/* Hero
--------------------------------------------- */

#hero {
  position: relative;
  .hero-inner::after {
    position: absolute;
    inset: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(#00000010, #00000090);
  }
  .hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block !important;
    img, picture, video {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
    }
  }
  .fullscreen .hero-image {
    position: relative;
    height: calc(100svh - 94px);
  }
  .hero-text {
    position: relative;
    max-width: 80%;
    margin: 0 auto;
    padding-block: 15vh;
    line-height: 1.35;
  }
  h1 {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 500;
  }
  @media (min-width: 580px) {
    h1 {
      font-size: 2.4rem;
      max-width: 20ch;
    }    
  }
  @media (min-width: 768px) {
    h1 {
      font-size: 3rem;
    }
  }
  @media (min-width: 992px) {
    h1 {
      font-size: 3.6rem;
    }
    .hero-text {
      max-width: 50%;
    }
  }
  @media (min-width: 1200px) {
    .fullscreen .hero-image {
      height: calc(100svh - 110px);
      min-height: 400px;
    }
  }
  @media (min-width: 1400px) {
    h1 {
      font-size: 4rem;
    }
  }
  @media (min-width: 1600px) {
    h1 {
      font-size: 4.4rem;
    }
  }
}

/* Main Sections
--------------------------------------------- */

#main-content {
  div[class*="container-"] {
    overflow-x: clip;
  }
  img {
    border-radius: 0.5rem;
    overflow: hidden;
  }
  > *:last-child {
    padding-bottom: 3.5rem;
  }
  @media (min-width: 1200px) {
    > *:last-child {
      padding-bottom: 5.5rem;
    }
  }
}

.bg-secondary + .bg-secondary {
  > div[class*="container-"] {
    position: relative;
    margin-top: 0 !important;
  }
  > div[class*="container-"]::before {
    position: absolute;
    content: "";
    width: calc(100% - calc(var(--bs-gutter-x)));
    height: 1px;
    top: 0;
    background-color: var(--bs-gray-500);
  }
}

/* Text
--------------------------------------------- */

.text-ele-wrap {
  background-color: #FFF;
}
.text-ele.inset .text-inner {
  max-width: 480px;
  @media (min-width: 1200px) {
    max-width: 570px;
  }
  @media (min-width: 1400px) {
    max-width: 660px;
  }
  margin: 0 auto;
}

/* Text & Image
--------------------------------------------- */

.text-image-ele {
  .text-img-wrap {
    @media (min-width: 992px) {
      max-width: 75%;
    }
  }
  .text-inner-wrap > *:last-child {
    margin-bottom: 0;
  }
}

.text-image-ele.two-images.bg-secondary {
  padding-bottom: 0 !important;
}
@media (max-width: 767px) {
  .text-image-ele.two-images + .bg-secondary,
  .text-image-ele.two-images.bg-secondary + .text-ele-wrap {
    margin-top: -6rem !important;
  }
  .text-image-ele.two-images + .bg-secondary .text-ele,
  .text-image-ele.two-images.bg-secondary + .text-ele-wrap .text-ele {
    padding-top: 6rem;
  }
}
@media (min-width: 768px) {
  .text-image-ele.two-images + .bg-secondary,
  .text-image-ele.two-images.bg-secondary + .text-ele-wrap {
    margin-top: max(calc(-1rem - 4vw), -4.5rem) !important;
  }
  .text-image-ele.two-images.second-image-left + .bg-secondary .text-ele,
  .text-image-ele.two-images.second-image-left.bg-secondary + .text-ele-wrap .text-ele {
    padding-top: 4.5rem;
  }
}

/* Teaser Box
--------------------------------------------- */

.teaser-box {
  aspect-ratio: 1/1;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  background-blend-mode: multiply;
  background-color: rgba(0,0,0,0.01);
  transition: background 600ms ease-in-out;
  container-type: inline-size;
  container-name: teaserbox;
  > a {
    display: flex;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-flow: column;
    color: #FFF;
    text-decoration: none;
    font-size: max(2rem, 1rem + 4cqi);
    line-height: 1.1;
    padding: 1rem;
    .title {
      opacity: 0;
      transform: translateY(30%);
      transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
    }
    .icon {
      opacity: 0;
      padding-top: 1rem;
      transition: opacity 300ms ease-in-out;
    }
  }
  &.text-box {
    background-color: var(--bs-primary);
    color: #FFF;
    .inner-wrap {
      display: flex;
      align-items: center;
      height: 100%;
      justify-content: center;
    }
    .text-wrap {
      width: 80%;
      .h2 {
        font-size: max(0.8rem, 0.6rem + 6cqi);
      }
    }
    @container teaserbox (width > 400px) {
      .text-wrap {
        width: 80%;
      }
    }
  }
}

@media (hover: hover) {
  .teaser-box:has(a):hover {
    background-color: var(--bs-primary);
    .title {
      opacity: 1;
      transform: translateY(0%);
      transition-delay: 100ms;
    }
    .icon {
      opacity: 1;
      transition-delay: 300ms;
    }
  }
}

@media (hover: none) {
  .teaser-box:has(a) {
    background-color: var(--bs-gray);
    .title {
      opacity: 1;
      transform: translateY(0%);
    }
    .icon {
      opacity: 1;
    }
  }
}

/* Card
--------------------------------------------- */

.card-ele {
  .inner-wrap {
    position: relative;
  }
  .text-wrap {
    .text > *:last-child {
      margin-bottom: 0;
    }
  }
  &.layout-1 {
    .inner-wrap {
      background-color: #FFF;
      box-shadow: 0px 3px 6px #00000029;
      border-radius: 0.5rem;
      text-align: center;
      padding: 1.5rem;
    }
  }
  &.has-link {
    .inner-wrap {
      container-type: inline-size;
    }
    @media (hover: hover) {
      .inner-wrap {
        background: linear-gradient(to left, #FFF, #FFF 50%, var(--bs-primary) 50%) !important;
        background-size: 210% 100% !important;
        background-position: 100% 0% !important;
        transition: color 400ms 100ms, background-position 400ms;
      }
    }
    .text-wrap {
      display: flex;
      text-align: left;
      align-items: center;
      height: 100%;
      .text {
        margin-right: auto;
        flex-shrink: 1;
      }
      .bi {
        font-size: 3rem;
        color: var(--bs-primary);
        margin-left: 1.5rem;
        transition: color 400ms, transform 400ms;
        flex-grow: 1;
        line-height: 1;
      }
    }
    @container (width < 400px) {
      .text-wrap {
        flex-direction: column;
        justify-content: space-between;
        .bi {
          align-self: flex-end;
          flex-grow: 0;
          margin-top: 1rem;
        }
      }
    }
    @media (hover: hover) {
      .inner-wrap:hover {
        background-position: 0% 0% !important;
        color: #FFF;
        transition: color 400ms, background-position 400ms 100ms;
        .text-wrap {
          .bi {
            color: #FFF;
            transform: translateX(5px);
          }
        }
      }
    }
  }
  img[src$=".svg"] {
    max-width: 100px;
  }
}

.contactcard {
  .team-ele {
    width: 100%;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0 !important;
    img {
      border-radius: 0 !important;
    }
    .text-wrap {
      background-color: #FFF;
      padding: 1.5rem 1rem;
      > *:first-child {
        margin-top: 0 !important;
      }
      > p:last-of-type {
        margin-bottom: 0 !important;
      }
      a.btn {
        display: none;
      }
    }
  }
  @media (max-width: 767px) {
    margin-top: 1.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--bs-gray-500);
    .team-ele {
      display: flex;
      .img-wrap {
        flex: 0 0 45%;
        img {
          object-fit: cover;
          height: 100%;
        }
      }
      .text-wrap {
        flex-grow: 1;
      }
    }
  }
}

/* Work
--------------------------------------------- */

.work-ele {
  .images-grid {
    display: grid;
    gap: 12px;
    .img-wrap {
      aspect-ratio: 4/3;
      background-size: cover;
      align-self: stretch;
      border-radius: 1rem;
      overflow: hidden;
      height: 100%;
      max-width: 100%;
    }
    @media (max-width: 767.99px) {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(2, 1fr);
      .img-0 {
        display: none;
      }
      .img-1,
      .img-2 {
        grid-row-start: 1;
      }
      .img-3,
      .img-4 {
        grid-row-start: 2;
      }
    }
    @media (min-width: 768px) and (max-width: 1199.99px) {
      grid-template-columns: repeat(6, 1fr);
      grid-template-rows: repeat(2, 1fr);
      .img-0 {
        grid-column: span 3 / span 3;
      }
      .img-1 {
        grid-column: span 3 / span 3;
        grid-column-start: 4;
      }
      .img-2,
      .img-3,
      .img-4 {
        grid-column: span 2 / span 2;
        grid-row-start: 2;
      }
      .img-3 {
        grid-column-start: 3;
      }
      .img-4 {
        grid-column-start: 5;
      }
    }
    @media (min-width: 1200px) {
      grid-template-columns: 2fr repeat(2, 1fr);
      grid-template-rows: repeat(2, 1fr);
      .img-0 {
        grid-row: span 2 / span 2;
      }
      .img-2 {
        grid-column-start: 3;
        grid-row-start: 1;
      }
      .img-3 {
        grid-column-start: 2;
        grid-row-start: 2;
      }
      .img-4 {
        grid-column-start: 3;
        grid-row-start: 2;
      }
    }
  }
}

/* Counting
--------------------------------------------- */

.counting {
  border-right: 1px solid var(--bs-dark);
  p {
    margin-bottom: 0;
    font-size: 80%;
  }
  .number {
    font-size: 340%;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 15px;
  }
}
.counting:nth-child(4n + 4) {
  border-right: none;
}
@media (max-width: 767px) {
  .counting {
    margin-bottom: var(--bs-gutter-x);
  }
  .counting:nth-child(2n + 2) {
    border-right: none;
  }
  .counting:last-child,
  .counting:nth-last-child(2) {
    margin-bottom: 0;
  }
}


/* News
--------------------------------------------- */

.news-page .news-article {
  .inner-wrap {
    box-shadow: 3px 3px 6px #00000029;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    height: 100%;
    .text-wrap {
      padding: 0.5rem 1.5rem 1rem 1.5rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      > a {
        margin-top: auto;
        align-self: flex-start;
      }
    }
  }
  img {
    border-radius: 0 !important;
  }
}
.news-cat {
  font-size: 70%;
}

.news-article-detail {
  .scroll-slider-wrap {
    background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-secondary) 70%, transparent 30%) !important;
  }
}

/* Projects
--------------------------------------------- */

.project-page {
  details.main-cat {
    border-top: 1px solid var(--bs-dark);
    summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 500;
    }
    .form-check {
      margin: 0;
      padding-block: 0.15rem;
    }
    .sub-cat {
      padding-left: 1.25rem;
    }
  }
  details.main-cat[open] {
    .bi {
      rotate: 90deg;
    }
  }
  details.main-cat:last-child {
    border-bottom: 1px solid var(--bs-dark);
  }

  #project-list.htmx-swapping {
    opacity: 0;
  }
  .loading {
    position: absolute;
    width: 100%;
    inset: 0;
    opacity: 0;
    transition: opacity 150ms ease;
    z-index: 1;
    background-color: var(--bs-secondary);
    pointer-events: none;
  }
  .loading.htmx-request {
    pointer-events: all;
    opacity: 1;
  }

  .project {
    .inner-wrap {
      background-color: #FFF;
      box-shadow: 0px 3px 6px #00000029;
      border-radius: 0.5rem;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .text-wrap {
      padding: 1rem 1.5rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      > a {
        margin-top: auto;
        align-self: flex-start;
      }
    }
  }
}

.project {
  .inner-wrap {
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
  }
  .text-wrap {
    padding: 1rem 0 0 0;
  }
  .project-cat {
    font-size: 0.8rem;
  }
}
.project-cat::after {
  content: " / ";
}
.project-cat:last-child::after {
  content: none;
}

.project-article-detail {
  .scroll-slider-wrap {
    background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-secondary) 70%, transparent 30%) !important;
  }

  .project-info {
    background-color: var(--bs-secondary);
    border-radius: 0.5rem;
    > div:not(:last-child) {
      border-bottom: 1px solid var(--bs-gray-500);
      margin-bottom: 1rem;
    }
  }
}


/* Scroll slider
--------------------------------------------- */

.scroll-slider {
  display: flex; 
  .scroll-container {
    position: relative;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    flex-grow: 1;
  }
  .scroll-container::-webkit-scrollbar { 
    display: none;
  }
  .scroll-container > * {
    scroll-snap-align: end;
  }
  .carousel-control-btn {
    opacity: 1;
    width: 10%;
    &[disabled="disabled"] {
      opacity: 0.2;
    }
  }
  &[data-slides="1"] .carousel-control-btn {
    display: none;
  }
  @media (min-width: 576px) {
    &[data-slides="2"] .carousel-control-btn {
      display: none;
    }
  }
  @media (min-width: 992px) {
    &[data-slides="3"] .carousel-control-btn {
      display: none;
    }
  }
}



/* Footer
--------------------------------------------- */

#page-footer > * {
  color: #FFF;
  a {
    color: #FFF !important;
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  p {
    margin-bottom: 0;
  }
  .col-auto:last-child > * {
    padding-right: 0 !important;
  }
  .footer-logo {
    width: 70px;
    padding-right: 0 !important;
    @media (min-width: 420px) {
        width: 110px;
    }
    @media (min-width: 992px) {
        width: 120px;
    }
    @media (min-width: 1400px) {
        width: 150px;
    }
  }
  @media (max-width: 767.99px) {
    .col-auto:nth-child(2) {
      margin-left: auto;
      > div {
        padding-inline: 0;
      }
    }
    .col-auto:nth-child(3) {
      order: 1;
      width: 100%;
      > div {
        border-top: 1px solid #FFF;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        padding-inline: 0;
      }
    }
    .col-auto:nth-child(4) {
      width: 100%;
    }
  }
  @media (min-width: 992px) {
    .col-auto > * {
      padding-right: 2rem;
    }
  }
  @media (min-width: 1200px) {
    .col-auto > * {
      padding-right: 5rem;
    }
  }
}

/* ====================================================
    Module
    - reusable, moveable components within layout
==================================================== */

.box-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}

/* Container Fluid
--------------------------------------------- */

.container-xxxl {
  max-width: 1400px;
}

/* Scrolled Pixel Anchor
--------------------------------------------- */

#scrolled-pixel-anchor {
    position: absolute;
    width: 1px;
    height: 1px;
    top: 100px;
    left: 0;
}

/* Parallax
--------------------------------------------- */

/* Barrierearmut: Animationen generell entschärfen */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* Keine Animation im Footer */
#page-footer [data-reveal] { transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }

/* Basis: unsichtbar bis im Viewport */
[data-reveal] {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease, filter .6s ease;
  will-change: opacity, transform, filter;
}

/* Im Viewport */
[data-reveal].is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
}

/* Varianten */
[data-reveal="fade-up"]     { transform: translate3d(0, 2rem, 0); }
[data-reveal="fade-down"]   { transform: translate3d(0,-2rem, 0); }
[data-reveal="slide-left"]  { transform: translate3d(2rem, 0, 0); }
[data-reveal="slide-right"] { transform: translate3d(-2rem,0, 0); }
[data-reveal="zoom-in"]     { transform: scale(.96); }
[data-reveal="blur-in"]     { filter: blur(6px); }

/* Stagger: vererbt Verzögerung an direkte Kinder */
[data-stagger] > *[data-reveal] { transition-delay: var(--reveal-delay, 0ms); }

/* general */

/* .par {
  animation-timeline: view();
  animation-duration: 1ms;
  animation-fill-mode: both;
  animation-range-start: cover;
  animation-range-end: contain 20svh;
}
div.par {
  animation-name: fade-up;
}
.img-wrap.par {
  animation-name: fade-scale-in;
} */

/* special */

/* #hero h1 {
  animation-timeline: view();
  animation-duration: 1ms;
  animation-timing-function: linear;
  animation-name: fade-out-down;
  animation-range-start: contain 5svh;
}

div.teaser-box {
  animation-name: fade-in;
} */

/* animations */

/* @keyframes fade-up {
  from { transform: translateY(50%); opacity: 0; }
  to   { transform: translateY(0%); opacity: 1; }
}
@keyframes fade-out-down {
  from { transform: translateY(0%); opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}
@keyframes fade-scale-in {
  from { scale: 0.8; opacity: 0; }
  to   { scale: 1; opacity: 1; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fade-scale-up {
  from { transform: translateY(30%); scale: 0.8; opacity: 0; }
  to   { transform: translateY(0%); scale: 1; opacity: 1; }
} */

/* Optional: reduzierte Bewegung respektieren */
/* @media (prefers-reduced-motion: reduce){
  .par{ animation: none; transform: none; }
} */

/* ====================================================
    State
    - how module will look in specific state
==================================================== */

/* When hover is supported
--------------------------------------------- */

@media (hover: hover) {

}

/* ====================================================
    Theme
    - defines colour scheme and typography
==================================================== */


/* Fonts
--------------------------------------------- */

/* Typography
--------------------------------------------- */