/* RESET & BASE ------------------------------------------------------------- */

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: #0A0A0A;
  color: #f5f5f5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* LINKS -------------------------------------------------------------------- */

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

/* LAYOUT WRAPPER ----------------------------------------------------------- */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER ------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #151515;
}

.header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav__link {
  opacity: 0.7;
}

.nav__link:hover,
.nav__link:focus-visible {
  opacity: 1;
}

/* SECTIONS ----------------------------------------------------------------- */

.section {
  padding: 4.5rem 1.5rem;
}

.section--hero {
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.section__inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* TITLES ------------------------------------------------------------------- */

.section__title,
.series__title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 1.5rem;
}

.section__body {
  max-width: 720px;
  font-size: 0.96rem;
  color: #d6d6d6;
}

.section__body p + p {
  margin-top: 1rem;
}

/* HERO --------------------------------------------------------------------- */

.section--hero .section__inner {
  max-width: 1180px;
}

.section--hero {
  border-bottom: 1px solid #101010;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero__title {
  font-size: 1.9rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__claim {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  color: #e1e1e1;
}

.hero__text {
  max-width: 30rem;
  font-size: 0.98rem;
  color: #d0d0d0;
  margin-bottom: 2rem;
}

.hero__scroll-link {
  display: inline-block;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #f5f5f5;
}

.hero__figure {
  align-self: stretch;
}

.hero__image {
  width: 100%;
  border: none;
  background-color: #000;
}

/* PHILOSOPHY --------------------------------------------------------------- */

.section--philosophy {
  border-bottom: 1px solid #101010;
}

/* COLLECTIONS -------------------------------------------------------------- */

.section--collections {
  border-bottom: 1px solid #101010;
}

.collections__list {
  list-style: none;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.collections__item + .collections__item {
  margin-top: 0.5rem;
}

.collections__link {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.86rem;
  opacity: 0.8;
}

.collections__link:hover,
.collections__link:focus-visible {
  opacity: 1;
}

/* SERIES COMMON ------------------------------------------------------------ */

.section--series {
  border-bottom: 1px solid #101010;
}

.series__header {
  margin-bottom: 1rem;
}

.series__text {
  max-width: 720px;
  font-size: 0.96rem;
  color: #d6d6d6;
  margin-bottom: 2.5rem;
}

.series__text p + p {
  margin-top: 1rem;
}

.series__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.series__item {
  overflow: hidden;
}

.series__image {
  width: 100%;
  display: block;
  background-color: #000;
  transition: transform 0.25s ease-out;
}



.series__item:hover .series__image,
.series__item:focus-within .series__image {
  transform: scale(1.02);
}

/* SELECTED WORKS ----------------------------------------------------------- */

.section--selected {
  border-bottom: 1px solid #101010;
}

.selected__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.selected__item {
  overflow: hidden;
}

.selected__image {
  width: 100%;
  display: block;
  background-color: #000;
  transition: transform 0.25s ease-out;
}

.selected__item:hover .selected__image,
.selected__item:focus-within .selected__image {
  transform: scale(1.02);
}

/* ABOUT -------------------------------------------------------------------- */

.section--about .section__body {
  max-width: 520px;
}

/* FOOTER ------------------------------------------------------------------- */

.footer {
  margin-top: auto;
  border-top: 1px solid #101010;
  padding: 1.5rem 1.5rem 0;
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__branding {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.footer__copy {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: none;
  opacity: 0.7;
}

.footer__nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
}

.footer__link {
  opacity: 0.8;
}

.footer__link:hover,
.footer__link:focus-visible {
  opacity: 1;
}

.footer__image-wrap {
  border-top: 1px solid #101010;
  margin-top: 1rem;
}

.footer__image {
  width: 100%;
  display: block;
  height: auto;          /* kein Abschneiden */
  object-fit: contain;   /* vollständige Darstellung des Bildes */
}

/* RESPONSIVE --------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__figure {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .section--hero {
    padding-top: 5.5rem;
  }

  .series__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .selected__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.4rem;
  }

  .hero__claim {
    font-size: 0.9rem;
    letter-spacing: 0.16em;
  }

  .logo {
    font-size: 0.8rem;
  }
}

/* LIGHTBOX ----------------------------------------------------------------- */

.mw-body--no-scroll {
  overflow: hidden;
}

.mw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none; /* wird per JS auf flex gesetzt */
  align-items: center;
  justify-content: center;
  color: #f5f5f5;
}

.mw-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.mw-lightbox__content {
  position: relative;
  max-width: 96vw;
  max-height: 96vh;
  padding: 1.5rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.mw-lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mw-lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #000;
}

.mw-lightbox__caption {
  font-size: 0.8rem;
  color: #cccccc;
  max-width: 60ch;
}

.mw-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  border: none;
  background: transparent;
  color: #f5f5f5;
  font-size: 1.4rem;
  cursor: pointer;
}

.mw-lightbox__nav {
  border: none;
  background: transparent;
  color: #f5f5f5;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mw-lightbox__nav--prev {
  margin-right: 0.5rem;
}

.mw-lightbox__nav--next {
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .mw-lightbox__content {
    padding: 1.25rem;
  }

  .mw-lightbox__nav {
    font-size: 1.4rem;
  }

  .mw-lightbox__image {
    max-height: 70vh;
  }

  .footer__seo-text {
  max-width: 680px;
  margin: 2rem auto 3rem auto;
  padding: 0 1rem;
  color: #888;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer__seo-text p {
  margin: 0;
}
}
