body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #0a0a0a;
  color: #fafafa;
  line-height: 1.5;
}

/* ===== Wordmark ===== */
.hero {
  padding: 48px 24px 8px;
}
.hero h1 {
  font-size: clamp(3rem, 14vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 0.9;
}

/* ===== Galerie ===== */
.gallery-section {
  padding: 32px 24px 64px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px;
}
.gallery-item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #141414;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0);
}

/* ===== Carousel ===== */
.carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
  /* Volle Breite; Höhe skaliert mit der Breite, aber gedeckelt bei 720px,
     damit es auf großen/ultrabreiten Screens nicht riesig wird.
     object-fit: cover schneidet das Bild passend zu. */
  height: clamp(340px, 40vw, 720px);
  background: #0a0a0a;
  overflow: hidden;
}

/* Mobil: höher + Bild seitlich beschneiden */
@media (max-width: 640px) {
  .carousel {
    height: 68vh;
  }
}

.carousel-track {
  display: flex;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;            /* horizontales Wischen übernimmt das Skript */
  will-change: transform;
}
.carousel-track.dragging { cursor: grabbing; }

.slide {
  flex: 0 0 100%;
  height: 100%;
  display: block;
}

.slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* füllt den Bereich, schneidet bei Bedarf zu */
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Pfeil-Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 48px;
  height: 64px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}
.carousel-btn:hover { background: rgba(0, 0, 0, 0.75); }
.carousel-btn.prev { left: 0; border-radius: 0 6px 6px 0; }
.carousel-btn.next { right: 0; border-radius: 6px 0 0 6px; }

/* Punkte */
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* Bei nur einem Bild Pfeile/Punkte ausblenden */
.carousel-dots:has(.dot:only-child),
.carousel:has(.slide:only-child) .carousel-btn {
  display: none;
}
