@font-face {
  font-family: "TightenCaps";
  src: url("Schriftarten/Hennigar.otf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #f4f2ed;
  --surface: #ffffff;
  --text: #151515;
  --muted: #696969;
  --border: #d7d4cd;
  --image-background: #e8e5de;
  --content-width: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
p {
  margin-top: 0;
}

/* Kopfbereich */

.site-header {
  position: relative;
  z-index: 10;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  min-height: 92px;
  padding: 20px 4%;

  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.logo {
  grid-column: 2;
  justify-self: center;

  font-family: "Syne", Arial, sans-serif;
  font-size: clamp(23px, 2.4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;

  text-decoration: none;
  text-transform: uppercase;

  transition:
    letter-spacing 250ms ease,
    transform 250ms ease,
    opacity 250ms ease;
}

.logo:hover {
  letter-spacing: 0.16em;
  transform: scale(1.02);
  opacity: 0.8;
}

.header-space,
.back-navigation {
  grid-column: 1;
  justify-self: start;
}

.navigation {
  grid-column: 3;
  justify-self: end;
}

.navigation a,
.back-navigation a {
  font-size: 14px;
  text-decoration: none;
}

.navigation a:hover,
.back-navigation a:hover,
.navigation a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Großes Bild auf der Startseite */

.hero-image {
  width: 100%;
  overflow: hidden;
  background: var(--image-background);
}

.hero-image img {
  width: 100%;
  height: min(88vh, 1000px);

  object-fit: cover;
  object-position: center;
}

/* Einleitung */

.introduction {
  width: min(90%, 1200px);
  margin: 0 auto;
  padding: 120px 0 150px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  max-width: 1050px;
  margin-bottom: 35px;

  font-size: clamp(58px, 9vw, 145px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

h2 {
  margin-bottom: 28px;

  font-size: clamp(42px, 6vw, 86px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.introduction-text {
  max-width: 650px;
  margin-bottom: 40px;

  color: var(--muted);
  font-size: 20px;
}

.button {
  display: inline-block;
  padding: 15px 24px;

  background: var(--text);
  color: #ffffff;

  text-decoration: none;

  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.button:hover {
  opacity: 0.78;
  transform: translateY(-2px);
}

/* Künstlerbereich und Kontakt */

.about-section,
.contact-section {
  width: min(90%, var(--content-width));
  margin: 0 auto;
  padding: 120px 0;

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

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.about-text {
  max-width: 650px;
  padding-top: 36px;

  color: var(--muted);
  font-size: 18px;
}

.contact-section {
  text-align: center;
}

.contact-section > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-link {
  display: inline-block;
  margin-top: 20px;

  font-size: clamp(24px, 4vw, 52px);
  text-underline-offset: 9px;
}

/* Galerieseite */

.gallery-page {
  width: min(92%, var(--content-width));
  margin: 0 auto;
}

.gallery-introduction {
  padding: 100px 0 75px;
  border-bottom: 1px solid var(--border);
}

.gallery-title {
  margin-bottom: 25px;
}

.gallery-description {
  max-width: 600px;
  margin-bottom: 0;

  color: var(--muted);
  font-size: 18px;
}

.full-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 90px 38px;

  padding: 85px 0 150px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 75vh;
  min-height: 520px;
  max-height: 950px;

  object-fit: contain;
  object-position: center;

  background: var(--image-background);

  transition:
    transform 350ms ease,
    opacity 350ms ease;
}

.gallery-item:hover img {
  transform: scale(1.015);
  opacity: 0.94;
}

/* Fußzeile */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;

  padding: 34px 5%;

  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  text-underline-offset: 4px;
}

/* Tablet */

@media (max-width: 900px) {
  .hero-image img {
    height: 70vh;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-text {
    padding-top: 0;
  }

  .gallery-item img {
    height: 60vh;
    min-height: 420px;
  }
}

/* Smartphone */

@media (max-width: 700px) {
  .site-header {
    min-height: 78px;
    padding: 18px 5%;
  }

  .logo {
    font-size: 18px;
    letter-spacing: 0.08em;
  }

  .navigation a,
  .back-navigation a {
    font-size: 13px;
  }

  .hero-image img {
    height: 62vh;
  }

  .introduction {
    padding: 80px 0 100px;
  }

  .about-section,
  .contact-section {
    padding: 85px 0;
  }

  .gallery-introduction {
    padding: 70px 0 50px;
  }

  .full-gallery {
    grid-template-columns: 1fr;
    gap: 65px;

    padding: 60px 0 100px;
  }

  .gallery-item img {
    height: auto;
    min-height: 0;
    max-height: 80vh;
  }

  .site-footer {
    flex-direction: column;
  }
}