body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 255, 102, 0.1), transparent 34%),
    radial-gradient(circle at 50% 0%, rgba(0, 255, 102, 0.055), transparent 42%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.055), transparent 32%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 35%, transparent 88%);
  mask-image: linear-gradient(to bottom, black 0%, black 35%, transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 22%, rgba(0, 255, 102, 0.085), transparent 36%),
    linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.76));
}

main.jahr-page {
  min-height: 100vh;
  padding-top: 220px;
  padding-bottom: 80px;
  color: #fff;
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: transparent;
}

main.jahr-page::before {
  content: "";
  position: absolute;
  top: 200px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 105, 42, 0.18), transparent 28%),
    radial-gradient(circle at 18% 12%, rgba(0, 72, 30, 0.08), transparent 34%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.98), rgba(0, 0, 0, 0.99) 52%, #050505);
}

.jahr-page section {
  width: min(1050px, calc(100% - 48px));
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.jahr-hero {
  margin-top: 50px;
  margin-bottom: 100px;
}

.jahr-hero h1 {
  margin-bottom: 14px;
  text-transform: lowercase;
}

.jahr-text {
  max-width: 900px;
  font-size: 1rem;
  line-height: 1.6;
  color: #b5b5b5;
}

.module-list {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  margin-bottom: 50px;
}

.module-item {
  width: 100%;
  max-width: 1100px;
  padding: 8px 6px;
  margin-bottom: 15px;
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.module-item h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
  text-transform: lowercase;
  transition: color 0.25s ease;
}

.module-item p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #b5b5b5;
  transition: color 0.25s ease;
}

.module-item:hover {
  background: #fff;
}

.module-item:hover h2,
.module-item:hover p {
  color: #000;
}

@media (max-width: 768px) {
  main.jahr-page {
    padding: 125px 6% 60px;
  }

  main.jahr-page::before {
    top: 120px;
  }

  .jahr-page section {
    width: 100%;
  }

  .jahr-hero h1 {
    font-size: 2.2rem;
  }

  .jahr-text {
    font-size: 0.95rem;
  }

  .module-item {
    padding: 22px 18px;
  }
}

@media (max-width: 900px) {
  main.jahr-page {
    padding-top: 190px;
  }
}

@media (max-width: 600px) {
  main.jahr-page {
    padding: 162px 18px 56px;
  }

  main.jahr-page::before {
    top: 140px;
  }

  .jahr-hero {
    margin-top: 22px;
    margin-bottom: 62px;
  }

  .jahr-hero h1 {
    font-size: clamp(1.65rem, 8vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
  }

  .jahr-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .module-list {
    margin-top: 30px;
  }

  .module-item {
    padding: 18px 14px;
    margin-bottom: 12px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.025);
  }

  .module-item h2 {
    font-size: 1.12rem;
  }

  .module-item p {
    font-size: 0.9rem;
  }
}

@media (hover: none) {
  .module-item:hover {
    background: rgba(255, 255, 255, 0.025);
  }

  .module-item:hover h2 {
    color: #fff;
  }

  .module-item:hover p {
    color: #b5b5b5;
  }
}
