@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --warm-white: #f6f3ec;
  --petrol: #204c4a;
  --petrol-dark: #142e2d;
  --green-pale: #dce8e3;
  --copper: #a65335;
  --copper-dark: #874129;
  --copper-light: #e6a07b;
  --white: #ffffff;
  --line: rgba(32, 76, 74, 0.28);
  --shell: 70rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(5rem, 9vw, 8.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--warm-white);
  color: var(--petrol);
  font-family: "Lato", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 0.2rem solid var(--petrol-dark);
  outline-offset: 0.22rem;
  box-shadow: 0 0 0 0.38rem var(--copper-light);
}

::selection {
  background: var(--copper-light);
  color: var(--petrol-dark);
}

.shell {
  width: min(100% - (2 * var(--pad)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border: 0.125rem solid var(--warm-white);
  background: var(--petrol-dark);
  color: var(--warm-white);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 236, 0.98);
  color: var(--petrol);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  min-height: 6.1rem;
}

.brand-link {
  display: inline-block;
  flex: 0 0 auto;
}

.brand-link img {
  width: 10.75rem;
  max-height: 4.25rem;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  gap: clamp(0.85rem, 2vw, 1.6rem);
  align-items: center;
  justify-content: center;
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav a,
.header-cta {
  text-decoration: none;
}

.site-nav a {
  border-bottom: 0.15rem solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--copper);
}

.header-cta {
  padding: 0.72rem 1rem;
  background: var(--copper);
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--copper-dark);
}

main section[id],
#seitenanfang {
  scroll-margin-top: 6.5rem;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(3.75rem, 8vw, 7.25rem) 0 0;
  overflow: visible;
}

.hero::before {
  position: absolute;
  z-index: 0;
  top: clamp(-18rem, -14vw, -10rem);
  right: clamp(-18rem, -12vw, -8rem);
  width: clamp(32rem, 52vw, 52rem);
  aspect-ratio: 1;
  background: var(--petrol);
  content: "";
  opacity: 0.06;
  pointer-events: none;
  transform: rotate(12deg);
  -webkit-mask: url("../logos/juper-Symbol.svg") center / contain no-repeat;
  mask: url("../logos/juper-Symbol.svg") center / contain no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(18rem, 0.62fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: end;
}

.eyebrow,
.aside-label,
.section-number,
.step-number {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1.8rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.eyebrow span {
  margin-inline: 0.4em;
  color: var(--copper);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 12.3ch;
  margin-bottom: 2rem;
  font-size: clamp(3rem, 6.3vw, 5.75rem);
  letter-spacing: -0.047em;
}

h1 span {
  color: var(--copper);
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.3rem, 4.6vw, 4.6rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.hero-lead {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.43rem);
}

.hero-invite {
  position: relative;
  padding: 2rem 0 0 2rem;
  border-top: 0.22rem solid var(--copper);
  border-left: 1px solid var(--line);
}

.hero-invite::before {
  position: absolute;
  top: -0.34rem;
  left: -0.34rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--copper);
  content: "";
}

.aside-label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-invite > p:not(.aside-label) {
  margin: 0;
  font-size: 1.06rem;
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.6rem;
}

.button,
.text-link,
.copy-button {
  font: inherit;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  padding: 0.78rem 1.15rem;
  align-items: center;
  justify-content: center;
  border: 0;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  background: var(--copper);
  color: var(--white);
}

.button--primary:hover {
  background: var(--copper-dark);
}

.button--disabled {
  border: 1px solid rgba(32, 76, 74, 0.34);
  background: transparent;
  color: inherit;
  cursor: not-allowed;
}

.text-link::after {
  margin-left: 0.35em;
  content: "↗";
  font-size: 0.82em;
}

.senders {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 1px;
  margin-top: clamp(4rem, 8vw, 7rem);
  background: var(--petrol);
}

.sender {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 1.25rem;
  align-items: center;
  min-height: 8.5rem;
  padding: 1.25rem;
  background: var(--green-pale);
}

.institution-logo {
  position: relative;
  width: 4.2rem;
  height: 4.2rem;
  overflow: hidden;
}

.institution-logo img {
  position: absolute;
  max-width: none;
}

.institution-logo--isa img {
  top: 0;
  left: 0;
  width: auto;
  height: 4.2rem;
}

.institution-logo--ministry img {
  top: -1.33rem;
  left: -1.33rem;
  width: auto;
  height: 6.76rem;
}

.sender p,
.footer-senders p {
  margin: 0;
}

.sender span,
.sender strong,
.footer-senders span,
.footer-senders strong {
  display: block;
}

.sender span,
.footer-senders span {
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sender strong,
.footer-senders strong {
  line-height: 1.35;
}

.section {
  padding-block: var(--section-space);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.section-number {
  margin: 0 0 2.25rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-number span {
  display: inline-block;
  margin-left: 0.85rem;
  padding-left: 0.85rem;
  border-left: 1px solid currentColor;
}

.section-intro h2 {
  max-width: 8ch;
}

.prose {
  max-width: 43rem;
}

.prose p,
.participate-copy > p,
.general-contact > p {
  max-width: 65ch;
  margin: 0 0 1.35rem;
}

.standfirst {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1.28;
}

.section--tinted {
  background: var(--green-pale);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading-row h2 {
  margin: 0;
}

.section-kicker {
  max-width: 38ch;
  margin: 0 0 0.65rem;
  font-size: 1.12rem;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: minmax(7rem, 0.36fr) minmax(0, 1fr);
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.4rem) 0;
  border-top: 1px solid rgba(32, 76, 74, 0.47);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(32, 76, 74, 0.47);
}

.step-number {
  color: var(--copper);
  font-size: 0.85rem;
  font-weight: 700;
}

.process-list h3 {
  max-width: 22ch;
}

.process-list p {
  max-width: 68ch;
  margin: 0;
}

.participate {
  position: relative;
  padding-block: var(--section-space);
  overflow: hidden;
  background: var(--petrol-dark);
  color: var(--warm-white);
}

.participate-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.section-number--light {
  color: var(--warm-white);
}

.claim {
  margin: 0 0 2.2rem;
  color: var(--copper-light);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
}

.participate-heading h2 {
  max-width: 9ch;
}

.participate-copy > p:first-child {
  font-size: 1.35rem;
  line-height: 1.42;
}

.contact-action {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-action--dark {
  border-color: rgba(246, 243, 236, 0.35);
}

.contact-action--dark .button--disabled {
  border-color: rgba(246, 243, 236, 0.48);
}

.action-note {
  margin: 0.7rem 0 1.5rem;
  font-size: 0.92rem;
}

.email-line {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  margin: 0.55rem 0;
  font-size: 0.95rem;
}

.email-line span {
  opacity: 0.72;
}

.email-line strong {
  font-weight: 700;
}

.copy-button {
  margin-top: 1rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.copy-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.copy-status {
  min-height: 1.6em;
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}

.contact-heading {
  align-items: start;
}

.contact-heading h2 {
  max-width: 13ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.status-panel {
  padding: 2rem;
  border-top: 0.25rem solid var(--copper);
  background: var(--green-pale);
}

.status-value {
  margin: 0 0 2rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.status-panel dl {
  margin: 0;
}

.status-panel dl div {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.status-panel dt {
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.status-panel dd {
  margin: 0;
}

.general-contact h3 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(4rem, 7vw, 6rem);
  background: var(--petrol-dark);
  color: var(--warm-white);
}

.site-footer::after {
  position: absolute;
  z-index: 0;
  right: clamp(-15rem, -10vw, -8rem);
  bottom: clamp(-18rem, -14vw, -11rem);
  width: clamp(30rem, 45vw, 45rem);
  aspect-ratio: 1;
  background: var(--warm-white);
  content: "";
  opacity: 0.075;
  pointer-events: none;
  transform: rotate(-10deg);
  -webkit-mask: url("../logos/juper-Symbol.svg") center / contain no-repeat;
  mask: url("../logos/juper-Symbol.svg") center / contain no-repeat;
}

.site-footer > .shell {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(11rem, 0.35fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.footer-brand img {
  width: 12rem;
  max-height: 5rem;
  object-fit: contain;
  object-position: left center;
}

.footer-top > p {
  max-width: 42ch;
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
}

.footer-senders {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.footer-bottom {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(246, 243, 236, 0.25);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
}

.legal-header {
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.legal-main {
  max-width: 50rem;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.legal-main h1 {
  max-width: none;
}

.legal-notice {
  margin: 2.5rem 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 0.25rem solid var(--copper);
  background: var(--green-pale);
}

.legal-notice p:last-child {
  margin-bottom: 0;
}

@media (max-width: 64rem) {
  .header-inner {
    grid-template-columns: auto 1fr;
    min-height: auto;
    padding-block: 1rem;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    order: 3;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(32, 76, 74, 0.25);
  }

  .header-cta {
    justify-self: end;
  }

  main section[id],
  #seitenanfang {
    scroll-margin-top: 13.5rem;
  }

  .hero-grid,
  .section-grid,
  .participate-grid {
    grid-template-columns: 1fr;
  }

  .hero-invite {
    max-width: 40rem;
  }

  .section-intro h2,
  .participate-heading h2 {
    max-width: 12ch;
  }
}

@media (max-width: 48rem) {
  body {
    font-size: 1rem;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1.25rem;
  }

  main section[id],
  #seitenanfang {
    scroll-margin-top: clamp(9.5rem, 26vw, 13.5rem);
  }

  .senders,
  .section-heading-row,
  .contact-grid,
  .footer-top,
  .footer-senders {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    gap: 2rem;
  }

  .process-list li {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 30rem) {
  .header-inner {
    gap: 0.85rem;
  }

  .brand-link img {
    width: 7.5rem;
    max-height: 3.25rem;
  }

  .header-cta {
    max-width: 9rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .site-nav {
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .hero {
    padding-top: 3rem;
  }

  .hero::before {
    top: -8rem;
    right: -13rem;
    width: 28rem;
    opacity: 0.045;
  }

  .hero-invite {
    padding-left: 1.35rem;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .site-footer::after {
    right: -11rem;
    bottom: -12rem;
    width: 27rem;
    opacity: 0.065;
  }

  .email-line {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .skip-link,
  .button,
  .copy-button {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .participate,
  .site-footer {
    background: #fff;
    color: #000;
  }
}
