:root {
  --bg: #f5f5f5;
  --text-main: #111111;
  --text-sub: #333333;
  --text-muted: #777777;
}

/* Reset */

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

html,
body {
  height: 100%;

  scrollbar-gutter: stable;

  
}

body {
  font-family: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  display: flex;          
  flex-direction: column;
}

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




/* Intro-Seite: Slide nach links beim Verlassen */

.page--intro {
  opacity: 1;
  will-change: opacity;
  transition: opacity 500ms ease;
}

.page--intro.fade-out {
  opacity: 0;
  pointer-events: none;
}






.intro-title {
  font-size: 100px;      /* oder was du willst */
  font-weight: 500;     /* falls du’s ein bisschen edler willst */
  letter-spacing: -0.2px;
  margin: 0;
  text-align: left;
  
}



@media (max-width: 700px) {
  .intro-title {
    font-size: 88px;
  }
}


.hero-arrow {
  margin-top: 0px;              /* so wie du’s magst */
  font-size: clamp(120px, 8vw, 88px);
  display: inline-block;
  animation: arrow-breathe 3.6s ease-in-out infinite;
  transform-origin: left center; /* wirkt wie ein Schub nach rechts */
  font-weight: 400;

}

/* Die Atmung */
@keyframes arrow-breathe {
  0%, 100% {
    transform: translateX(0px);

  }
  50% {
    transform: translateX(16px); /* ganz leichter „Schub“ */

  }
}

/* Respekt für Leute mit Motion-Sensitivity */
@media (prefers-reduced-motion: reduce) {
  .hero-arrow {
    animation: none;
    justify-content: space-around;
  }
}




a:hover {
  text-decoration: none;
}

/* Page Layout */

.page {
  max-width: 1120px;   /* was du dort benutzt */
  margin: 0 auto;
  padding: 64px 48px 64px;
  width: 100%;
  flex: 1;
  
  
}

@media (max-width: 640px) {
  .page {
    padding: 32px 16px 32px;   /* etwas weniger seitlich, aber Titel und Bilder bleiben aligned */
  }
}









/* Top Navigation – überall gleich */

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: right;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 16px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.top-left {
  font-weight: 400;
}

.top-right {
  display: flex;
  gap: 18px;
}


.top-right a:hover {
  color: var(--text-main);
}


/* Small Screens → mehr Innenabstand + etwas lockerer */
@media (max-width: 640px) {
  .top-bar {
    padding: 16px;    /* Abstand links/rechts */
    margin-bottom: 32px;
  }
  .top-right {
    gap: 14px;          /* kleineres Gap, damit es harmonisch bleibt */
  }
}



/* Landing / Home */

.center-block {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px;
}

.title-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.title {
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 0.6em;
}

.subtitle {
  font-weight: 300;
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text-sub);
}

/* Series-Intro (Work, Info, Archive-Intro) */

.series-header {
  max-width: 700px;    /* schmaler Textblock */
  margin: 16px;           /* NICHT auto, sonst zentriert er */
}


.series-title {
  font-weight: 500;
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 0.4em;
}

.series-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 1100px;
}

.series-image {
  margin-top: 60px;
  text-align: center;
}

.series-image img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}


/* Default: Desktop (3 columns) */
.work-list {
  margin-top: 64px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.work-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Tablet → 2 columns */
@media (max-width: 1024px) {
  .work-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

/* Mobile → 1 column */
@media (max-width: 640px) {
  .work-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.caption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Archive-Übersicht */

.archive-title {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.archive-description {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.archive-list {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 28px;
  max-width: 700px;
  margin-top: 32;
}

.archive-link {
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.archive-link:last-child {
  border-bottom: 0 solid rgba(0, 0, 0, 0.06);
}

.archive-heading {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
}

.archive-text {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 600px;
  line-height: 1.5;
}

.archive-link:hover .archive-heading {
  text-decoration: underline;
}

/* Archive-Label (Übersicht + Detailseiten + Footer-Tags) */

.archive-period {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Archive-Detailseiten: Masonry-Gallery */

.gallery {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  padding: 0 40px;
}

/* Default: Mobile → 2 Spalten */
.grid {
  column-count: 1;
  column-gap: 24px;
}

/* Tablet / Medium → 3 Spalten */
@media (min-width: 640px) {
  .grid {
    column-count: 2;
  }
}

/* Desktop → 4 Spalten */
@media (min-width: 1024px) {
  .grid {
    column-count: 3;
  }
}

.item {
  break-inside: avoid;
  margin-bottom: 24px;
}

.item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Info-Seite: Untertitel */

.section-title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  color: #000000;
}

/* Footer – einheitlich */
.footer {
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 88px;
  padding-bottom: 32px;
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: do;
  display: block;          /* kein flex */

}



/* Responsive Tweaks */

@media (max-width: 720px) {
  .page {
    padding: 16px 16px 16px;
  }

  .gallery {
    padding: 0 16px;     
  }

  .footer {
    flex-direction: column;
    gap: 4px;
  
  }

  .work-item {
    margin-bottom: 64px;
  }
}
