:root {
  --bg: #ffffff;
  --ink: #1c2226;
  --ink-soft: #5b656b;
  --hairline: rgba(28, 34, 38, 0.12);
  --accent: #3f6a80;
  --bg-translucent: rgba(255, 255, 255, 0.85);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

@keyframes revealUp {
  from { opacity: 0; transform: translateY(32px) scale(0.98); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes kineticWord {
  from { opacity: 0; transform: translateY(36px) rotate(2deg); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) rotate(0deg); filter: blur(0); }
}

.reveal-rail,
.reveal-content,
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  filter: blur(4px);
}
.reveal.is-visible .reveal-rail,
.reveal.is-visible.reveal-rail {
  animation: revealUp 1.1s cubic-bezier(0.16, 0.8, 0.24, 1) forwards;
}
.reveal.is-visible .reveal-content,
.reveal.is-visible.reveal-content {
  animation: revealUp 1.1s cubic-bezier(0.16, 0.8, 0.24, 1) 0.14s forwards;
}
.reveal.is-visible {
  animation: revealUp 1.1s cubic-bezier(0.16, 0.8, 0.24, 1) forwards;
}
.kinetic-word {
  display: inline-block;
  animation: kineticWord 0.9s cubic-bezier(0.16, 0.8, 0.24, 1) both;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 5vw;
  background: var(--bg-translucent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.logo {
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 300;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
  align-items: center;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.section {
  padding: 10vh 5vw;
}
.section-border { border-top: 1px solid var(--hairline); }
.catalog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 48px;
}
.rail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  height: fit-content;
}
.rail-tick {
  width: 22px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
h1 {
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
h2 {
  font-weight: 300;
  font-size: 34px;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.body-copy {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 64ch;
}
.body-copy p { margin: 0 0 1.1em; }
.body-copy p:last-child { margin-bottom: 0; }
.body-copy a { color: var(--accent); text-decoration: none; }
.body-copy a:hover { color: var(--ink); }
.body-copy strong { color: var(--ink); font-weight: 500; }

.hero {
  padding: 9vh 5vw 7vh;
}
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 56px;
  align-items: center;
}
.hero-text { flex: 1 1 260px; min-width: 220px; }
.hero-text .lede {
  font-size: 17px;
  line-height: 1.7;
  max-width: 46ch;
  color: var(--ink-soft);
  margin: 0;
}
.hero-slider {
  flex: 1 1 320px;
  max-width: 440px;
  min-width: 220px;
  width: 100%;
}
.slider-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  background: var(--bg);
  padding: 14px;
}
.slider-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.slider-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.slider-stage img.is-active { opacity: 1; }
.slider-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}
.slider-meta p,
.slider-meta span {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}
.slider-meta span {
  font-size: 11px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.media-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 56px;
  align-items: flex-start;
}
.portrait-slot,
.video-slot {
  flex: 0 1 300px;
  width: min(100%, 340px);
  max-width: 340px;
  padding: 14px;
  box-sizing: border-box;
}
.portrait-slot {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.portrait-slot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.video-slot { aspect-ratio: 9 / 16; background: var(--bg); }
.portrait-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--hairline);
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 24px;
}
.video-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}
.video-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-copy { flex: 2 1 380px; }

.site-footer {
  padding: 48px 5vw;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a,
.site-footer .copy {
  font-size: 11px;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--accent); }
.site-footer .copy {
  letter-spacing: 0.06em;
  text-transform: none;
}

/* Arbeiten page */
.page-intro {
  padding: 13vh 5vw 6vh;
  max-width: 1100px;
}
.page-intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.page-intro h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  max-width: 16ch;
  margin: 0;
}
.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 18px;
}
.gallery-head h2 { margin: 0; }
.gallery-count {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.masonry {
  columns: 3 320px;
  column-gap: 24px;
}
.masonry figure {
  margin: 0 0 24px;
  break-inside: avoid;
  cursor: zoom-in;
}
.masonry figure.is-framed {
  background: #fff;
}
.masonry figure.is-framed img {
  width: 100%;
  display: block;
  object-fit: contain;
}
.masonry figure:hover,
.kk-slide:hover { opacity: 0.9; }
.masonry figure:focus,
.kk-slide:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.carousel-wrap { position: relative; }
.kk-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.kk-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin: 0;
  cursor: zoom-in;
  border-radius: 0;
}
.kk-slide img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  border-radius: 0;
}
.kk-slide.is-framed { background: #fff; }
.kk-slide.is-framed img { object-fit: contain; }
.kk-slide:not(.is-framed) img { object-fit: cover; }
@media (min-width: 900px) {
  .kk-slide { flex: 0 0 calc((100% - 48px) / 3); }
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 1px solid var(--hairline);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn.prev { left: -18px; }
.carousel-btn.next { right: -18px; }
.carousel-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.92);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 800px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { right: 0; }
}
