/* General paperwork illustration. The default state is complete and needs no JavaScript. */
.paperwork-section {
  --pw-dark: #045a30;
  --pw-lime: #2de89a;
  font-family: 'MerKalku Inter', Inter, sans-serif;
  background: var(--pw-dark);
  color: #fff;
  padding-block: clamp(60px, 7vw, 96px) 48px;
  overflow: clip;
  isolation: isolate;
  scroll-margin-top: 20px;
}

.paperwork-section .paperwork-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 55px);
  align-items: center;
}

.paperwork-section .paperwork-copy {
  min-width: 0;
}

.paperwork-section .paperwork-eyebrow {
  color: #c5ead8;
  font-size: .875rem;
  font-weight: 550;
  letter-spacing: .045em;
  line-height: 1.65;
  margin-bottom: 28px;
}

.paperwork-section h2 {
  font-family: 'MerKalku Sora', Sora, sans-serif;
  color: #fff;
  font-size: clamp(3.5rem, 6.5vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .99;
  margin: 0 0 33px;
  max-width: 11.5ch;
  text-wrap: initial;
  overflow-wrap: normal;
}

.paperwork-section h2 > span {
  color: var(--pw-lime);
}

.paperwork-section .paperwork-lead {
  color: #d8ebe2;
  font-size: clamp(1.0625rem, 1.45vw, 1.2rem);
  line-height: 1.8;
  max-width: 40ch;
  margin: 0;
}

.paperwork-section .paperwork-scene {
  position: relative;
  min-width: 0;
  margin: 0;
}

.paperwork-section .paperwork-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1.14;
  max-width: 550px;
  margin-inline: auto;
}

.paperwork-section .paperwork-folder {
  position: absolute;
  inset: 9% 0 2%;
  background: #05703c;
  border: 1px solid #489d76;
  border-radius: 4px 13px 13px 13px;
  box-shadow: 0 20px 38px -25px #0009;
}

.paperwork-section .paperwork-folder::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -1px;
  width: 43%;
  height: 18px;
  border: 1px solid #489d76;
  border-bottom: 0;
  border-radius: 7px 16px 0 0;
  background: #05703c;
}

.paperwork-section .paperwork-folder > span {
  position: absolute;
  top: 10px;
  left: 6%;
  color: #e2f3e9;
  font-size: .875rem;
  line-height: 1.5;
}

.paperwork-section .paperwork-paper {
  position: absolute;
  width: 42.5%;
  height: 34%;
  border: 1px solid #dbe4df;
  border-radius: 3px 15px 3px 3px;
  background: #f7fbf9;
  color: #1c211f;
  box-shadow: 0 7px 17px #061a1d33;
  padding: 17px 16px;
  transform-origin: 50% 65%;
}

.paperwork-section .paperwork-paper--nachweise {
  left: 6%;
  top: 20%;
  --pw-scatter: translate(23%, 45%) rotate(-18deg);
}

.paperwork-section .paperwork-paper--referenzen {
  left: 51.5%;
  top: 20%;
  --pw-scatter: translate(-17%, 15%) rotate(11deg);
}

.paperwork-section .paperwork-paper--preisblatt {
  left: 6%;
  top: 57%;
  --pw-scatter: translate(12%, -14%) rotate(19deg);
}

.paperwork-section .paperwork-paper--formulare {
  left: 51.5%;
  top: 57%;
  --pw-scatter: translate(-19%, -30%) rotate(-11deg);
}

.paperwork-section .paperwork-paper-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.paperwork-section .paperwork-paper-heading svg {
  color: #05703c;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.paperwork-section .paperwork-paper-heading strong {
  font-size: clamp(.875rem, 1.25vw, 1.0625rem);
  font-weight: 650;
  letter-spacing: -.02em;
}

.paperwork-section .paperwork-paper-question {
  display: block;
  margin-top: 13px;
  font-size: .875rem;
  line-height: 1.5;
  color: #56685f;
}

.paperwork-section .paperwork-paper-lines {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.paperwork-section .paperwork-paper-lines i {
  display: block;
  height: 3px;
  width: 88%;
  border-radius: 2px;
  background: #dbe4df;
}

.paperwork-section .paperwork-paper-lines i:nth-child(2) {
  width: 67%;
}

.paperwork-section .paperwork-paper-lines i:nth-child(3) {
  width: 77%;
}

.paperwork-section .paperwork-paper-tab {
  position: absolute;
  top: -1px;
  right: 18px;
  width: 16px;
  height: 24px;
  background: #2de89a;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 77%, 0 100%);
}

.paperwork-section .paperwork-tray-label {
  position: relative;
  margin: 16px 0 0;
  color: #b9f5da;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.5;
}

.paperwork-section .paperwork-motion-toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #b9f5da;
}

.paperwork-section .paperwork-motion-toggle svg {
  display: block;
  width: 18px;
  height: 18px;
}

.paperwork-section .motion-icon-pause,
.paperwork-section .paperwork-motion-toggle[data-paused="true"] .motion-icon-play {
  display: inline-flex;
}

.paperwork-section .motion-icon-play,
.paperwork-section .paperwork-motion-toggle[data-paused="true"] .motion-icon-pause {
  display: none;
}

.paperwork-section .paperwork-motion-toggle:hover {
  color: #fff;
  border-color: #b9f5da66;
  background: #ffffff0d;
}

.paperwork-section .paperwork-motion-toggle:focus-visible {
  outline: 3px solid #2de89a;
  outline-offset: 5px;
}

.paperwork-section .paperwork-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 27px 40px;
  margin-top: 55px;
  padding-top: 31px;
  border-top: 1px solid #8fceb445;
}

.paperwork-section .paperwork-demo-copy {
  flex: 1;
  min-width: 0;
  max-width: 560px;
}

.paperwork-section .paperwork-demo-copy h3 {
  margin: 0;
  color: #f7fbf9;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.4;
  letter-spacing: -.025em;
}

.paperwork-section .paperwork-demo-copy p {
  margin: 18px 0 0;
  color: #d8ebe2;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 46ch;
}

.paperwork-section .paperwork-demo-outcomes {
  display: grid;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  color: #f7fbf9;
  font-size: 1rem;
  line-height: 1.5;
}

.paperwork-section .paperwork-demo-outcomes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.paperwork-section .paperwork-demo-outcomes svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #2de89a;
}

.paperwork-section .paperwork-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 1 400px;
  gap: 12px;
  max-width: 440px;
}

.paperwork-section .paperwork-action .button {
  width: 100%;
  font-size: 1rem;
  min-height: 54px;
  padding: 15px 25px;
  color: #123629;
  background: #2de89a;
  border-color: #2de89a;
  text-align: center;
}

.paperwork-section .paperwork-action .button:hover {
  background: #67efb7;
  border-color: #67efb7;
}

.paperwork-section .paperwork-action small {
  color: #d8ebe2;
  font-size: .875rem;
  line-height: 1.65;
}

@media (prefers-reduced-motion: no-preference) {
  .paperwork-section .is-playing .paperwork-paper {
    animation: paperwork-sort 2.2s cubic-bezier(.22, .7, .2, 1) both;
  }

  .paperwork-section .is-playing .paperwork-paper--referenzen {
    animation-delay: .1s;
  }

  .paperwork-section .is-playing .paperwork-paper--preisblatt {
    animation-delay: .2s;
  }

  .paperwork-section .is-playing .paperwork-paper--formulare {
    animation-delay: .3s;
  }

  .paperwork-section .is-playing .paperwork-folder {
    animation: paperwork-folder 2.2s ease-out both;
  }

  @keyframes paperwork-sort {
    0%, 100% { transform: none; }
    22%, 35% { transform: var(--pw-scatter); }
  }

  @keyframes paperwork-folder {
    0%, 100% { opacity: 1; transform: none; }
    22%, 35% { opacity: .45; transform: translateY(12px); }
  }
}

@media (max-width: 1050px) and (min-width: 761px) {
  .paperwork-section h2 {
    font-size: clamp(3.3rem, 6.4vw, 4.5rem);
  }

  .paperwork-section .paperwork-paper {
    padding: 13px 12px;
  }

  .paperwork-section .paperwork-paper-heading {
    gap: 5px;
  }

  .paperwork-section .paperwork-paper-heading svg {
    width: 17px;
    height: 17px;
  }

  .paperwork-section .paperwork-paper-question {
    margin-top: 9px;
  }

  .paperwork-section .paperwork-paper-lines {
    display: none;
  }

}

@media (max-width: 760px) {
  .paperwork-section {
    padding-block: 58px 37px;
  }

  .paperwork-section .paperwork-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .paperwork-section .paperwork-eyebrow {
    margin-bottom: 22px;
    max-width: 31ch;
  }

  .paperwork-section h2 {
    font-size: clamp(2.7rem, 10.9vw, 4.7rem);
    max-width: 12ch;
    margin-bottom: 25px;
  }

  .paperwork-section .paperwork-lead {
    font-size: 1.0625rem;
    max-width: 43ch;
  }

  .paperwork-section .paperwork-canvas {
    max-width: 460px;
    aspect-ratio: 1.04;
  }

  .paperwork-section .paperwork-paper {
    padding: 14px 12px;
  }

  .paperwork-section .paperwork-paper-heading strong {
    font-size: .9375rem;
  }

  .paperwork-section .paperwork-paper-question {
    margin-top: 11px;
  }

  .paperwork-section .paperwork-paper-lines {
    gap: 6px;
    margin-top: 12px;
  }

  .paperwork-section .paperwork-paper-tab {
    width: 12px;
    height: 18px;
    right: 12px;
  }


  .paperwork-section .paperwork-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
    margin-top: 31px;
    padding-top: 27px;
  }

  .paperwork-section .paperwork-action {
    flex-basis: auto;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 390px) {
  .paperwork-section .paperwork-canvas {
    aspect-ratio: .97;
  }

  .paperwork-section .paperwork-paper {
    padding: 12px 10px;
  }

  .paperwork-section .paperwork-paper-heading {
    gap: 4px;
  }

  .paperwork-section .paperwork-paper-heading svg {
    width: 15px;
    height: 15px;
  }

  .paperwork-section .paperwork-paper-heading strong {
    font-size: .875rem;
  }

  .paperwork-section .paperwork-paper-question {
    font-size: .875rem;
    margin-top: 8px;
    line-height: 1.4;
  }

  .paperwork-section .paperwork-paper-lines {
    display: none;
  }

  .paperwork-section .paperwork-paper-lines i:last-child {
    display: none;
  }

  .paperwork-section .paperwork-action .button {
    padding-inline: 17px;
  }
}
