.section--lina {
  background: linear-gradient(180deg, #fff, #f7fbfd 56%, #eef9f2);
}

section[id] {
  scroll-margin-top: 112px;
}

.stats-section {
  padding-bottom: 0;
}

.section--intro {
  padding-top: 90px;
  padding-bottom: 76px;
}

.section--light#erlebnis {
  padding-top: 36px;
}

.landmark {
  background:
    linear-gradient(90deg, rgba(8, 75, 134, .86) 0%, rgba(8, 75, 134, .64) 48%, rgba(8, 75, 134, .22) 100%),
    linear-gradient(0deg, rgba(8, 32, 50, .24), rgba(8, 75, 134, .06)),
    url("assets/climbing-tower-bg.jpg") right center / cover no-repeat;
}

.hero__content {
  width: min(620px, calc(100% - 40px));
}

.hero__lead {
  max-width: 590px;
}

.hero h1 sup {
  position: relative;
  top: -.45em;
  margin-left: .05em;
  font-size: .32em;
  line-height: 0;
}

.hero__support {
  max-width: 610px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1.05rem;
  font-weight: 650;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .32);
}

.hero__status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 22px 0 0;
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero__mascot {
  right: max(18px, calc((100vw - var(--max)) / 2 - 150px));
  width: auto;
  height: clamp(410px, 56vh, 580px);
  max-width: 48vw;
  max-height: 86%;
  object-position: right bottom;
}

.lina-intro {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
}

.lina-copy {
  align-self: center;
  padding: 30px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(18, 48, 74, .08);
}

.lina-logo {
  width: min(220px, 62%);
  margin: 0 0 24px;
}

.lina-copy h2 {
  font-size: clamp(2.25rem, 3vw, 2.85rem);
  line-height: 1.06;
  overflow-wrap: normal;
}

.lina-feature,
.lina-gallery button {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(18, 48, 74, .12);
  cursor: pointer;
}

.lina-feature {
  align-self: start;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.lina-gallery button {
  aspect-ratio: 16 / 10;
}

.lina-feature img,
.lina-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .34s, filter .22s;
}

.lina-feature img {
  aspect-ratio: auto;
}

.lina-feature span,
.lina-gallery span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  color: #fff;
  background: rgba(18, 48, 74, .78);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.lina-feature::after,
.lina-gallery button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(18, 48, 74, 0), rgba(18, 48, 74, .42));
  opacity: .82;
  transition: opacity .22s;
  pointer-events: none;
}

.lina-feature:hover,
.lina-feature:focus-visible,
.lina-gallery button:hover,
.lina-gallery button:focus-visible {
  border-color: rgba(11, 117, 187, .38);
  box-shadow: 0 28px 64px rgba(18, 48, 74, .2);
  outline: 0;
}

.lina-feature:hover img,
.lina-feature:focus-visible img,
.lina-gallery button:hover img,
.lina-gallery button:focus-visible img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.045);
}

.lina-feature:hover::after,
.lina-feature:focus-visible::after,
.lina-gallery button:hover::after,
.lina-gallery button:focus-visible::after {
  opacity: 1;
}

.lina-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.lina-gallery img {
  aspect-ratio: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 72px 84px;
  background: rgba(7, 24, 38, .88);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0;
}

.lightbox__figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #0c2438;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

.lightbox__figure figcaption {
  margin-top: 12px;
  color: #fff;
  font-weight: 850;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.lightbox__close {
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  width: 52px;
  height: 72px;
  font-size: 3rem;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 22px;
}

.lightbox__nav--next {
  right: 22px;
}

.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, .24);
  outline: 0;
}

body.is-lightbox-open {
  overflow: hidden;
}

.feature-card[role="button"] {
  cursor: pointer;
}

.feature-card[role="button"]:focus-visible {
  outline: 3px solid rgba(38, 168, 215, .42);
  outline-offset: 4px;
}

.feature-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(7, 24, 38, .86);
  backdrop-filter: blur(12px);
}

.feature-modal[hidden] {
  display: none;
}

.feature-modal__panel {
  position: relative;
  overflow: auto;
  width: min(1080px, 100%);
  max-height: calc(100svh - 68px);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .38);
}

.feature-modal__carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0c2438;
}

.feature-modal__carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0c2438;
}

.feature-modal__close,
.feature-modal__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(12, 36, 56, .58);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.feature-modal__close {
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  font-size: 1.9rem;
  line-height: 1;
}

.feature-modal__nav {
  top: 50%;
  width: 48px;
  height: 66px;
  font-size: 2.8rem;
  transform: translateY(-50%);
}

.feature-modal__nav--prev {
  left: 16px;
}

.feature-modal__nav--next {
  right: 16px;
}

.feature-modal__close:hover,
.feature-modal__close:focus-visible,
.feature-modal__nav:hover,
.feature-modal__nav:focus-visible {
  background: rgba(12, 36, 56, .78);
  outline: 0;
}

.feature-modal__counter {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 7px 10px;
  color: #fff;
  background: rgba(12, 36, 56, .72);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.feature-modal__body {
  padding: clamp(24px, 4vw, 42px);
}

.feature-modal__body .eyebrow {
  color: var(--orange);
}

.feature-modal__body h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  line-height: 1.04;
}

.feature-modal__text {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-top: 20px;
}

.feature-modal__text p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section--friends .section-copy p {
  max-width: 610px;
}

.friends-image {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.friends-image img {
  aspect-ratio: 5 / 4;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  transition: transform .28s, filter .2s;
}

.friends-image:hover,
.friends-image:focus-visible {
  border-color: rgba(11, 117, 187, .36);
  box-shadow: 0 30px 70px rgba(18, 48, 74, .18);
  transform: translateY(-3px);
  outline: 0;
}

.friends-image:hover img,
.friends-image:focus-visible img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.015);
}

.age-grid div {
  position: relative;
  overflow: hidden;
}

.age-grid div::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: var(--age-color);
}

.age-grid div:nth-child(1) {
  --age-color: #2f98d3;
  background: linear-gradient(90deg, rgba(47, 152, 211, .1), rgba(255, 255, 255, .78));
}

.age-grid div:nth-child(2) {
  --age-color: #2e8f62;
  background: linear-gradient(90deg, rgba(46, 143, 98, .1), rgba(255, 255, 255, .78));
}

.age-grid div:nth-child(3) {
  --age-color: #7a4a32;
  background: linear-gradient(90deg, rgba(122, 74, 50, .1), rgba(255, 255, 255, .78));
}

.age-grid div:nth-child(4) {
  --age-color: #e27a2e;
  background: linear-gradient(90deg, rgba(226, 122, 46, .12), rgba(255, 255, 255, .78));
}

.age-grid strong {
  color: var(--age-color);
}

.section--impact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 32, 50, .82), rgba(8, 75, 134, .68) 50%, rgba(8, 75, 134, .48)),
    linear-gradient(0deg, rgba(8, 32, 50, .58), rgba(8, 75, 134, .28)),
    url("assets/regional-impact-team.jpg") center / cover no-repeat;
}

.section--impact::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(5, 31, 52, .08);
}

.section--impact .container {
  position: relative;
  z-index: 1;
}

.section--impact .impact-item {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .24);
  backdrop-filter: blur(12px);
}

.section--impact .impact-item p {
  color: rgba(255, 255, 255, .78);
}

.form-privacy-note {
  max-width: 560px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.footer-grid {
  align-items: center;
}

.footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
}

.footer-legal button {
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  font-weight: 850;
  cursor: pointer;
}

.footer-legal button:hover,
.footer-legal button:focus-visible {
  color: var(--yellow);
  outline: 0;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(7, 24, 38, .86);
  backdrop-filter: blur(12px);
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal__panel {
  position: relative;
  overflow: auto;
  width: min(920px, 100%);
  max-height: calc(100svh - 68px);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .38);
}

.legal-modal__close {
  position: sticky;
  top: 16px;
  right: 16px;
  z-index: 2;
  float: right;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 16px 16px 0 0;
  color: #fff;
  background: rgba(12, 36, 56, .72);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.legal-modal__close:hover,
.legal-modal__close:focus-visible {
  background: rgba(12, 36, 56, .88);
  outline: 0;
}

.legal-modal__body {
  padding: clamp(28px, 5vw, 54px);
}

.legal-modal__body .eyebrow {
  color: var(--orange);
}

.legal-modal__body h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: normal;
}

.legal-modal__content {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.legal-modal__section {
  display: grid;
  gap: 10px;
}

.legal-modal__section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.legal-modal__content p,
.legal-modal__content li {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.62;
}

.legal-modal__content p {
  margin: 0;
  white-space: pre-line;
}

.legal-modal__content ul {
  margin: 0;
  padding-left: 1.25rem;
}

@media (max-width: 980px) {
  .section--intro {
    padding-bottom: 60px;
  }

  .section--light#erlebnis {
    padding-top: 60px;
  }

  .lina-intro {
    grid-template-columns: 1fr;
  }

  .lina-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lightbox {
    padding: 70px 22px;
  }

  .lightbox__nav {
    width: 44px;
    height: 60px;
    font-size: 2.4rem;
  }

  .lightbox__nav--prev {
    left: 10px;
  }

  .lightbox__nav--next {
    right: 10px;
  }

  .feature-modal {
    padding: 20px;
  }

  .feature-modal__panel {
    max-height: calc(100svh - 40px);
  }

  .footer-legal {
    width: 100%;
    margin-left: 0;
  }

  .legal-modal {
    padding: 20px;
  }

  .legal-modal__panel {
    max-height: calc(100svh - 40px);
  }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .hero__content {
    width: min(570px, calc(100% - 40px));
  }

  .hero__lead {
    max-width: 550px;
  }

  .hero__support {
    max-width: 550px;
  }

  .hero__mascot {
    right: 16px;
    height: clamp(360px, 48vh, 430px);
    max-width: 46vw;
  }
}

@media (min-width: 981px) and (max-width: 1100px) {
  .hero__content {
    width: min(500px, calc(100% - 40px));
  }

  .hero__mascot {
    height: clamp(330px, 44vh, 370px);
  }
}

@media (max-width: 760px) {
  .lina-copy {
    padding: 22px;
  }

  .lina-logo {
    width: min(190px, 78%);
    transform: translateX(-22px);
  }

  .lina-copy h2 {
    font-size: 2.25rem;
  }

  .lina-gallery {
    display: flex;
    gap: 12px;
    margin-right: -14px;
    margin-left: -14px;
    padding: 0 14px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .lina-gallery button {
    flex: 0 0 min(84%, 340px);
    scroll-snap-align: start;
  }

  .lightbox {
    padding: 68px 14px;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox__nav--prev {
    left: 14px;
  }

  .lightbox__nav--next {
    right: 14px;
  }

  .lightbox__figure img {
    max-height: 72vh;
  }

  .feature-modal {
    padding: 12px;
  }

  .feature-modal__panel {
    max-height: calc(100svh - 24px);
  }

  .feature-modal__carousel {
    aspect-ratio: 4 / 3;
  }

  .feature-modal__close {
    top: 10px;
    right: 10px;
  }

  .feature-modal__nav {
    width: 40px;
    height: 54px;
    font-size: 2.15rem;
  }

  .feature-modal__nav--prev {
    left: 10px;
  }

  .feature-modal__nav--next {
    right: 10px;
  }

  .feature-modal__body {
    padding: 22px;
  }

  .feature-modal__body h2 {
    font-size: 2.15rem;
  }

  .hero__support {
    font-size: 1rem;
  }

  .legal-modal {
    padding: 12px;
  }

  .legal-modal__panel {
    max-height: calc(100svh - 24px);
  }

  .legal-modal__close {
    top: 10px;
    right: 10px;
    margin: 10px 10px 0 0;
  }

  .legal-modal__body {
    padding: 22px;
  }

  .legal-modal__body h2 {
    font-size: clamp(1.55rem, 6.8vw, 1.9rem);
  }
}
