/* ========== Hero (Editorial: Text | Medien getrennt) ========== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(17rem, 0.92fr) minmax(0, 1.18fr);
  min-height: calc(100svh - var(--announce-h));
  color: var(--color-ink);
  overflow: clip;
  background:
    linear-gradient(160deg, #f7f3ec 0%, #efe8dc 55%, #e8dfd2 100%);
}

.hero__copy {
  display: grid;
  align-content: center;
  padding: calc(var(--header-h) + 2.5rem) clamp(1.25rem, 4vw, 3.5rem) 3rem;
  z-index: 2;
}

.hero__content {
  display: grid;
  gap: 1.15rem;
  width: min(100%, 28rem);
  max-width: 100%;
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(28, 24, 20, 0.72);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.hero__title span {
  display: block;
}

.hero__text {
  max-width: 24rem;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(28, 24, 20, 0.84);
}

.hero__cta {
  justify-self: start;
  margin-top: 0.35rem;
}

.hero__values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin-top: 0.85rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(28, 24, 20, 0.7);
}

.hero__value {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__value svg {
  width: 0.95rem;
  height: 0.95rem;
}

.hero__visual {
  position: relative;
  min-height: 100%;
  isolation: isolate;
  background: #d9cfc2;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(28, 24, 20, 0.08) 0%, transparent 35%),
    linear-gradient(180deg, transparent 55%, rgba(28, 24, 20, 0.28) 100%);
  pointer-events: none;
}

.hero__script {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 2;
  margin: 0;
  max-width: min(16rem, 70%);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(15rem, 0.88fr) minmax(0, 1.12fr);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__copy {
    order: 1;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 1.75rem;
  }

  .hero__visual {
    order: 2;
    min-height: clamp(18rem, 62vw, 28rem);
    aspect-ratio: 4 / 5;
    max-height: 70vh;
  }

  .hero__script {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2.2rem, 11vw, 2.8rem);
  }

  .hero__values {
    gap: 0.65rem 0.9rem;
  }

  .hero__visual {
    aspect-ratio: 3 / 4;
  }
}

/* ========== Categories ========== */
.categories {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.category-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  background: var(--color-sand);
  color: var(--color-white);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(28, 24, 20, 0.62) 100%);
  transition: background var(--duration) var(--ease);
}

.category-card__content {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.category-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 500;
}

.category-card__text {
  font-size: 0.82rem;
  opacity: 0.85;
}

.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: gap var(--duration) var(--ease);
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card:hover .category-card__overlay {
  background: linear-gradient(180deg, transparent 35%, rgba(28, 24, 20, 0.72) 100%);
}

.category-card:hover .category-card__link {
  gap: 0.65rem;
}

@media (max-width: 980px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .categories {
    overflow-x: clip;
  }

  .category-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.65rem;
    padding-bottom: 0.35rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
    max-width: 100%;
  }

  .category-grid::-webkit-scrollbar {
    display: none;
  }

  .category-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}

/* ========== Favorites / Neuheiten ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem) clamp(0.85rem, 2vw, 1.35rem);
}

.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(11rem, 18rem);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.product-rail .product-card {
  scroll-snap-align: start;
}

@media (min-width: 1100px) {
  .product-rail {
    grid-auto-flow: unset;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========== Shop the Look ========== */
.stl-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) 1.3fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.stl-copy {
  display: grid;
  gap: 0.85rem;
}

.stl-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-sand);
}

.stl-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stl-stage [data-stl-hotspots] {
  position: absolute;
  inset: 0;
}

.stl-hotspot {
  position: absolute;
  width: 2.75rem;
  height: 2.75rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: transparent;
  z-index: 2;
}

.stl-hotspot span {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  margin: auto;
  border-radius: 50%;
  background: var(--color-cream);
  box-shadow: 0 0 0 0.45rem rgba(250, 248, 244, 0.45);
  animation: stl-pulse 2.4s ease-in-out infinite;
}

@keyframes stl-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0.35rem rgba(250, 248, 244, 0.35);
  }
  50% {
    box-shadow: 0 0 0 0.65rem rgba(250, 248, 244, 0.15);
  }
}

.stl-card {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  width: min(92%, 18rem);
  padding: 0.75rem;
  background: rgba(247, 243, 236, 0.96);
  box-shadow: var(--shadow-soft);
}

.stl-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.stl-card strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-brown);
}

.stl-card p {
  margin: 0.15rem 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.stl-card a {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 860px) {
  .stl-layout {
    grid-template-columns: 1fr;
  }
}

/* ========== Journal ========== */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.35rem);
}

.journal-card {
  display: grid;
  gap: 0.75rem;
}

.journal-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--color-sand);
}

.journal-card span {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  color: var(--color-brown);
}

@media (max-width: 760px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== ADITA Moments (Editorial Grid – kein Text unter Medien) ========== */
.moments {
  overflow-x: clip;
}

.moments__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas:
    "media copy"
    "media secondary";
  column-gap: clamp(2.5rem, 5vw, 4.25rem);
  row-gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.moments__layout > * {
  min-width: 0;
  max-width: 100%;
}

.moments__media {
  grid-area: media;
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(46rem, 82vh);
  background: var(--color-sand);
  overflow: hidden;
  isolation: isolate;
}

.moments__copy {
  grid-area: copy;
  position: relative;
  z-index: auto;
  display: grid;
  gap: 0.9rem;
  align-content: start;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  padding-top: 0.15rem;
}

.moments__title {
  font-size: clamp(1.9rem, 3.4vw, 3.15rem);
  line-height: 1.08;
  max-width: 100%;
  overflow-wrap: break-word;
  hyphens: manual;
}

.moments__lead {
  margin-top: 0;
  max-width: 28rem;
}

.moments__copy .btn {
  justify-self: start;
  margin-top: 0.4rem;
}

.moments__secondary {
  grid-area: secondary;
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 22rem;
  background: var(--color-sand);
  overflow: hidden;
  isolation: isolate;
}

.moments__media img,
.moments__media video,
.moments__secondary img,
.moments__secondary video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Absolute Video-Shell-Medien strikt in ihrer Grid-Zelle halten */
.moments__media.video-shell,
.moments__secondary.video-shell {
  position: relative;
}

@media (max-width: 1024px) and (min-width: 801px) {
  .moments__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(1.75rem, 3.5vw, 2.75rem);
  }

  .moments__title {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  }
}

@media (max-width: 800px) {
  .moments__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "media"
      "secondary";
    row-gap: 1.5rem;
  }

  .moments__media {
    aspect-ratio: 4 / 5;
    max-height: none;
  }

  .moments__secondary {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .moments__title {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }
}

/* ========== Editorial ========== */
.editorial {
  padding-block: 0;
}

.editorial__frame {
  position: relative;
  min-height: clamp(28rem, 68vw, 40rem);
  overflow: hidden;
  background: var(--color-sand);
  color: var(--color-white);
}

.editorial__frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.02);
}

.editorial__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 24, 20, 0.55) 0%, rgba(28, 24, 20, 0.18) 58%, transparent 100%);
}

.editorial__content {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 1rem;
  width: min(100% - (var(--gutter) * 2), 28rem);
  margin-left: var(--gutter);
}

.editorial__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.05;
}

.editorial__title span {
  display: block;
}

.editorial__kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.9;
}

.editorial__cta {
  justify-self: start;
  margin-top: 0.5rem;
}

/* ========== Campaign ========== */
.campaign {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.campaign__frame {
  position: relative;
  aspect-ratio: 16 / 8.5;
  min-height: 22rem;
  color: var(--color-white);
}

.campaign__overlay {
  position: absolute;
  z-index: 2;
  inset: auto auto 8% 6%;
  display: grid;
  gap: 0.35rem;
}

.campaign__overlay h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  font-style: italic;
}

.campaign__overlay p {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

@media (max-width: 700px) {
  .campaign__frame {
    aspect-ratio: 4 / 5;
  }
}

/* ========== Lookbook ========== */
.lookbook__layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.lookbook__copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.lookbook__media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 18rem;
}

.lookbook-modal__media {
  aspect-ratio: 16 / 10;
  background: var(--color-sand);
}

.lookbook-modal__media img,
.lookbook-modal__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .lookbook__layout {
    grid-template-columns: 1fr;
  }
}

/* ========== Community ========== */
.community__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.community__copy {
  display: grid;
  gap: 1rem;
}

.community__handle {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-brown);
}

.community__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.community__grid a {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-sand);
}

.community__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.community__grid a:hover img {
  transform: scale(1.05);
}

@media (max-width: 860px) {
  .community__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .community__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
