

:root {
  --paper: #fbfaf7;
  --ink: #1d1d1b;
  --muted: #77746e;
  --line: rgba(29, 29, 27, .16);

  --sans:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* HEADER */

.site-header {
  min-height: 78px;
  padding: 24px 4vw 18px;

  display: flex;
  justify-content: space-between;
  align-items: baseline;

  gap: 30px;
}

.brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.015em;
}

.site-header nav {
  display: flex;
  gap: 28px;

  font-size: 12px;
}

.site-header nav a,
.footer-links a {
  opacity: .78;
  transition: opacity .2s ease;
}

.site-header nav a:hover,
.footer-links a:hover {
  opacity: 1;
}


/* HERO */

.hero {
  padding: 3vh 4vw 13vh;
}

.hero-art {
  display: block;

  width: min(88vw, 1500px);

  margin: 0 auto;
}

.hero-art img {
  width: 100%;

  max-height: 78vh;

  object-fit: contain;
}

.hero-caption {
  display: grid;

  grid-template-columns:
    1fr auto;

  gap: 24px;

  margin-top: 12px;

  color: var(--muted);

  font-size: 11px;
  line-height: 1.4;
}

.hero-intro-wrap {
  width: min(1120px, 88vw);

  margin:
    12vh auto 0;

  display: grid;

  grid-template-columns:
    minmax(140px, .7fr)
    2fr;

  gap: 8vw;

  align-items: start;
}

.eyebrow,
.section-kicker {
  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: .16em;

  color: var(--muted);
}

.hero-intro {
  max-width: 780px;

  font-size:
    clamp(
      24px,
      2.5vw,
      42px
    );

  line-height: 1.14;

  letter-spacing: -.03em;

  font-weight: 400;
}


/* SEKTIONEN */

.section {
  padding: 12vh 4vw;
}

.section-head {
  width: min(1120px, 88vw);

  margin:
    0 auto 9vh;

  display: grid;

  grid-template-columns:
    minmax(140px, .7fr)
    2fr;

  gap: 8vw;
}

.section-head h1,
.section-head h2 {
  margin: 0;

  font-size:
    clamp(
      34px,
      4.6vw,
      66px
    );

  line-height: 1;

  letter-spacing: -.045em;

  font-weight: 400;
}

.section-head p {
  max-width: 600px;

  margin: 24px 0 0;

  color: var(--muted);

  font-size: 14px;
}


/* WERKE */

.work-grid {
  width: min(1420px, 92vw);

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(
      12,
      minmax(0, 1fr)
    );

  gap:
    10vh 3vw;
}

.work-card {
  grid-column: span 5;
}

.work-card:nth-child(3n + 2) {
  grid-column:
    7 / span 6;

  margin-top: 9vh;
}

.work-card:nth-child(3n) {
  grid-column:
    2 / span 8;
}

.work-card img {
  width: 100%;

  max-height: 72vh;

  object-fit: contain;

  object-position:
    left bottom;

  transition:
    transform .35s ease;
}

.work-card:hover img {
  transform:
    scale(1.008);
}

.work-card-info {
  display: grid;

  grid-template-columns:
    1fr auto;

  gap: 18px;

  margin-top: 12px;

  align-items: baseline;
}

.work-title {
  font-size: 13px;

  font-weight: 500;
}

.work-small {
  color: var(--muted);

  font-size: 11px;

  text-align: right;
}

.section-link-wrap {
  width: min(1420px, 92vw);

  margin:
    6vh auto 0;
}

.text-link {
  display: inline-block;

  border-bottom:
    1px solid var(--ink);

  padding-bottom: 2px;

  font-size: 12px;
}


/* ÜBER */

.about-section {
  width: min(1220px, 90vw);

  margin: 0 auto;

  padding:
    14vh 0 16vh;

  border-top:
    1px solid var(--line);

  display: grid;

  grid-template-columns:
    5fr 7fr;

  gap: 8vw;

  align-items: start;
}

.about-section.no-image {
  grid-template-columns: 1fr;
}

.about-image img {
  width: 100%;

  max-height: 72vh;

  object-fit: cover;
}

.about-copy {
  max-width: 690px;
}

.about-copy h2,
.about-copy h1 {
  margin:
    18px 0 28px;

  font-size:
    clamp(
      34px,
      4.5vw,
      64px
    );

  line-height: 1.02;

  letter-spacing: -.04em;

  font-weight: 400;
}

.about-copy p {
  max-width: 600px;

  color: #494842;

  font-size: 16px;

  line-height: 1.65;
}


/* WERKDETAIL */

.detail {
  padding:
    4vh 4vw 13vh;
}

.detail-image {
  width: min(90vw, 1500px);

  margin: 0 auto;
}

.detail-image img {
  width: 100%;

  max-height: 82vh;

  object-fit: contain;
}

.detail-grid {
  width: min(1120px, 88vw);

  margin:
    7vh auto 0;

  display: grid;

  grid-template-columns:
    1.25fr 1fr;

  gap: 9vw;
}

.detail h1 {
  margin: 0;

  font-size:
    clamp(
      38px,
      5vw,
      70px
    );

  line-height: 1;

  letter-spacing: -.045em;

  font-weight: 400;
}

.detail-description {
  max-width: 620px;

  margin-top: 34px;

  color: #494842;

  font-size: 16px;

  line-height: 1.7;
}

.detail-data {
  border-top:
    1px solid var(--line);
}

.data-row {
  display: grid;

  grid-template-columns:
    120px 1fr;

  gap: 20px;

  padding:
    11px 0;

  border-bottom:
    1px solid var(--line);

  font-size: 12px;
}

.data-row span:first-child {
  color: var(--muted);
}

.detail-more {
  width: min(1280px, 90vw);

  margin:
    10vh auto 0;

  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 3vw;
}

.pager {
  width: min(1120px, 88vw);

  margin:
    10vh auto 0;

  padding-top: 18px;

  border-top:
    1px solid var(--line);

  display: flex;

  justify-content:
    space-between;

  gap: 30px;

  font-size: 12px;
}


/* STANDARDSEITEN */

.page-simple {
  width: min(900px, 88vw);

  margin: 0 auto;

  padding:
    10vh 0 18vh;
}

.page-simple h1 {
  margin:
    16px 0 48px;

  font-size:
    clamp(
      42px,
      6vw,
      76px
    );

  line-height: 1;

  letter-spacing: -.045em;

  font-weight: 400;
}

.page-simple p {
  max-width: 680px;

  font-size: 17px;

  line-height: 1.7;
}

.muted {
  color: var(--muted);
}


/* FOOTER */

.site-footer {
  padding:
    28px 4vw 34px;

  border-top:
    1px solid var(--line);

  display: grid;

  grid-template-columns:
    1fr 1fr auto;

  gap: 20px;

  color: var(--muted);

  font-size: 11px;
}

.footer-links {
  display: flex;

  gap: 20px;
}


/* MOBILE */

@media (max-width: 760px) {

  .site-header {
    padding:
      20px 5vw;

    align-items: flex-start;
  }

  .site-header nav {
    gap: 14px;
  }

  .hero {
    padding:
      2vh 5vw 10vh;
  }

  .hero-art {
    width: 100%;
  }

  .hero-caption {
    grid-template-columns: 1fr;

    gap: 3px;
  }

  .hero-intro-wrap,
  .section-head {
    width: 100%;

    grid-template-columns: 1fr;

    gap: 24px;
  }

  .hero-intro-wrap {
    margin-top: 8vh;
  }

  .section {
    padding:
      10vh 5vw;
  }

  .section-head {
    margin-bottom: 6vh;
  }

  .work-grid {
    width: 100%;

    display: block;
  }

  .work-card,
  .work-card:nth-child(n) {
    display: block;

    margin:
      0 0 10vh;
  }

  .work-card-info {
    grid-template-columns: 1fr;

    gap: 4px;
  }

  .work-small {
    text-align: left;
  }

  .section-link-wrap {
    width: 100%;
  }

  .about-section,
  .about-section.no-image {
    width: 90vw;

    grid-template-columns: 1fr;

    gap: 7vh;

    padding:
      10vh 0 12vh;
  }

  .detail {
    padding:
      2vh 5vw 10vh;
  }

  .detail-image {
    width: 100%;
  }

  .detail-grid {
    width: 100%;

    grid-template-columns: 1fr;

    gap: 6vh;
  }

  .detail-more {
    width: 100%;

    grid-template-columns: 1fr;
  }

  .pager {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;

    gap: 12px;

    padding:
      26px 5vw;
  }

}

