* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background-color: #FFFFFF;
  color: #1A1A1A;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #F1F2F3;
  border-bottom: 1px solid #B8B8B0;
  z-index: 100;
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 40px;
}

.site-nav a:first-child {
  justify-self: start;
}

.site-nav a {
  color: #1A1A1A;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-nav a:hover {
  text-decoration: underline;
}

.site-nav a:last-child {
  justify-self: end;
}

.site-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: normal;
  justify-self: center;
}

.page-wrapper {
  display: flex;
  padding-top: 70px;
  padding-left: clamp(100px, 5vw, 120px);
  gap: 60px;
}

.paper-column {
  width: 45%;
  height: calc(100vh - 70px);
  margin-top: 80px;
  overflow: hidden;
  position: sticky;
  top: 70px;
  background-color: #EAEAE3;
  max-width: 800;
}

.paper-track {
  will-change: transform;
}

.content-column {
  width: 55%;
  padding: 60px 40px;
}

.vita {
  max-width: 600px;
  margin-bottom: 400px;
  margin-top: 100px;
}

.vita h1 {
  font-size: clamp(1rem, 4vw, 1.0rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 80px;
  font-weight: 200;
}

.vita-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 4rem;
}

.work {
  margin-bottom: 120px;
  position: relative;
  margin-top: 100px;
}

.work h2 {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 1px;
  font-weight: normal;
  margin-bottom: 8px;
}

.work-meta {
  font-size: 0.8rem;
  color: #6B6B65;
  margin-bottom: 20px;
}

.work-text {
  font-size: 1rem;
  max-width: 400px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: none;
}

.work-image {
  max-width: clamp(200px, 30cqw, 600px);
  width: 100%;
  height: auto;
  /*transform: rotate(+4deg);*/
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15);
  margin: 40px;
  margin-top: 20px;
  margin-bottom: 200px;
}


.scroll-buffer {
  height: 250px;
}

.contact-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.contact-overlay.active {
  display: flex;
}

.card-wrapper {
  position: relative;
}

.business-card {
  position: relative;
  width: 450px;
  aspect-ratio: 1.75 / 1;
  background-color: #FFFFFF;
  background-image: url('bilder/Visitenkarte.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.card-line {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.2rem;
  color: #1A1A1A;
  margin-bottom: 12px;
  margin-left: 12px;
  font-weight: 450;
  display: block;
  text-decoration: none;
}

.contact-close {
  position: absolute;
  top: -2px;
  right: -50px;
  transform: translateY(-50%);
  border: none;
  color: #1A1A1A;
  background-color: #FFFFFF;
  font-size: 1.6rem;
  cursor: pointer;
  font-family: 'Courier New', Courier, monospace;
}

.card-line:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {

  .page-wrapper {
    flex-direction: column;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 60px;
  }

  .paper-column {
    display: none;
  }

  .content-column {
    width: 100%;
    padding: 10px 30px 60px 40px;
    position: relative;
    z-index: 1;
  }

  .vita {
    background-image: url('bilder/scans/Leer.jpg');
    background-repeat: repeat-y;
    background-size: 100% auto;
    padding: 12px 20px;
    min-height: 350px;
    margin-bottom: 0px;
  }

  .vita h1 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .vita-text {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .work {
    margin-bottom: 0px;
    margin-top: 0px;
    position: relative;
  }

  .work-text-wrap {
    background-image: url('bilder/scans/Leer.jpg');
    background-repeat: repeat-y;
    background-size: 100% auto;
    padding: 30px 30px;
    min-height: 350px;
    margin-bottom: 0px;
  }

  .work h2 {
    font-size: 0.85rem;
  }

  .work-meta {
    font-size: 0.65rem;
  }

  .work-text {
    font-size: 0.7rem;
    display: block;
  }

  .work-image-wrap {
    background-image: url('bilder/scans/Leer.jpg');
    background-repeat: repeat-y;
    background-size: 100% auto;
    padding: 30px 0px;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .work-image {
    max-width: 60%;
    margin: 0;
  }

  .card-wrapper {
    width: 60%;
  }

  .business-card {
    width: 100%;
    aspect-ratio: 1.75 / 1;
  }

  .contact-close {
    font-size: 1rem;
    top: -15px;
    right: -15px;
  }

.card-line {
  font-size: 0.7rem;



}

}

.paper-section {
  position: relative;
  container-type: inline-size;
}

.paper-strip {
  display: block;
  width: 100%;
  height: auto;
}

.paper-text {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  z-index: 1;
  padding: 6% 8%;
  font-size: clamp(0.5rem, 2.5cqw, 1rem);
  line-height: 1.7;
  color: #3A3A36;
}

.paper-heading {
  margin-bottom: 0px;
}

.paper-entry {
  margin-bottom: 30px;
  white-space: pre-wrap;
}
