@charset "UTF-8";

/* Editorial-Übersicht: Foto und Aufmacher teilen sich die verfügbare Browserhöhe. */
.editorials-page { color: #fff; }
.editorials-page :is(header, .menu-overlay, .login-overlay, .editorials-stage),
.editorials-page :is(header, .menu-overlay, .login-overlay, .editorials-stage) * {
  box-sizing: border-box;
}
:where(.editorials-page) :focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 5px;
}
.editorials-page #editorials-content { scroll-margin-top: 80px; }
.editorials-page .clearHeader { background-image: none; }
.editorials-page header :is(.menue-logo, .menue-button-container) {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}

.editorials-stage {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #000;
}
.editorials-stage-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 0 0 var(--image-radius) var(--image-radius);
}
.editorials-stage-picture {
  position: absolute;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  height: 80vh;
  height: 80dvh;
}
.editorials-stage-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.editorials-stage-visual::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.28), rgba(0,0,0,0.1) 60%, transparent);
  pointer-events: none;
}
.editorials-stage-topline {
  position: absolute;
  inset: 72px var(--site-gutter) auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.editorials-stage-marquee {
  position: absolute;
  top: calc(116px + clamp(32px, 3.2vw, 64px));
  z-index: 2;
  width: 100%;
}
.editorials-stage-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 25vh;
  min-height: 25dvh;
  padding: clamp(20px, 3vh, 48px) var(--site-gutter);
  background-color: #000;
}
.editorials-stage-title {
  margin: 0;
  font-size: var(--type-heading);
  font-weight: 700;
  line-height: 38px;
  overflow-wrap: anywhere;
}
.editorials-stage-credits {
  margin-top: 8px;
  font-size: var(--type-card);
  font-weight: 700;
  line-height: 1.3;
}
.editorials-stage-credits a { color: inherit; text-decoration: none; }
.editorials-stage-button { margin-top: clamp(20px, 3vh, 44px); }
.editorial-detail-page .editorials-stage-button { gap: 10px; }
.editorials-stage-button__icon {
  display: block;
  width: auto;
  height: 9px;
  flex-shrink: 0;
  filter: brightness(0);
  margin-top: -2px;
}

.editorials-page[data-motion-paused] .footer-marquee { animation-play-state: paused; }

/* Kleine Browserhöhen: Text und Schaltfläche behalten ihre lesbare Größe. */
@media (max-height: 600px) {
  .editorials-stage { grid-template-rows: minmax(180px, 1fr) auto; }
  .editorials-stage-content { padding-block: 12px; }
  .editorials-stage-button { margin-top: 16px; }
}
@media (max-height: 500px) {
  .editorials-stage-topline { top: 64px; }
  .editorials-stage-marquee { top: 104px; }
  .editorials-stage-content { padding-block: 8px; }
  .editorials-stage-button { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .editorials-page, .editorials-page * {
    scroll-behavior: auto;
    animation: none !important;
    transition: none !important;
  }
  .editorials-page .wow { visibility: visible !important; }
}
@media (forced-colors: active) {
  .editorials-page :focus-visible { outline-color: Highlight; }
}

/* Zwei quadratische Editorials je Zeile; die Bildtafeln stehen in style-v2.css. */
.editorials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.25vw, 24px);
  margin: clamp(32px, 3.2vw, 64px) var(--site-gutter) 50px;
}
.editorials-card { min-width: 0; }
.editorials-card-link > img { height: auto; aspect-ratio: 1 / 1; }
.editorials-card-info {
  width: 60%;
  min-height: 150px;
  gap: 20px;
  padding: 20px;
}
.editorials-card-info .editorial-card-title { font-size: var(--type-card); line-height: 1.2; }
.editorials-card-info .editorial-card-credits { font-size: var(--type-label); line-height: 20px; }

@media (max-width: 766px) {
  .editorials-card-info {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    min-height: 0;
    gap: 12px;
    padding: 16px;
  }
}
@media (max-width: 500px) {
  .editorials-card-info {
    right: 4px;
    bottom: 4px;
    left: 4px;
    gap: 6px;
    padding: 6px;
  }
}

/* Gemeinsames Layout für alle Editorial-Unterseiten. */
.editorial-detail-page #editorials-content,
.editorial-detail-page #editorials-content *,
.editorial-gallery,
.editorial-gallery * {
  box-sizing: border-box;
}
.editorial-detail-page { --text-muted-on-dark: rgba(255,255,255,0.25); }
:where(.editorial-detail-page) :where(h1, h2, h3, p, figure) { margin: 0; }
.editorial-detail-page .editorials-stage-credits { margin-top: 8px; }
.editorial-detail-page .editorials-stage-topline .breadcrumbs { min-width: 0; }
.editorial-detail-page .editorials-stage-topline .button-pause { flex-shrink: 0; }
.editorial-detail-page .editorials-stage-credits { max-width: 760px; }

.editorial-detail__story {
  margin: clamp(64px, 7vw, 120px) var(--site-gutter) 0;
}
.editorial-detail__intro {
  width: 60%;
  max-width: 920px;
  font-size: var(--type-heading);
  font-weight: 700;
  line-height: 38px;
  text-wrap: pretty;
}
.editorial-detail__crew {
  width: 60%;
  margin-top: 80px;
  color: var(--main-color);
  font-family: swear-text, serif;
  font-size: var(--type-card);
  line-height: 1.3;
  text-transform: uppercase;
}
.editorial-detail__crew h2 { font-size: inherit; line-height: inherit; }
.editorial-detail__crew ul { margin: 0; padding: 0; list-style: none; }
.editorial-detail__crew a { color: inherit; text-decoration: none; }
.editorial-detail__crew a:hover { text-decoration: underline; text-underline-offset: 4px; }
.editorial-detail__crew sup { margin-left: 5px; font-size: 11px; font-weight: 700; }
.editorial-detail__text {
  width: 60%;
  max-width: 920px;
  margin-top: 80px;
  color: rgba(255,255,255,0.8);
}
.editorial-detail__text p + p { margin-top: 30px; }
.editorial-detail__gallery-fallback { margin: 40px var(--site-gutter); line-height: 1.8; }
.editorial-detail__gallery-fallback a { color: var(--main-color); }

.editorial-detail__modules {
  display: grid;
  gap: 80px;
  margin: 180px var(--site-gutter) 0;
}
.editorial-detail-module {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(24px, 3vw, 48px);
  min-width: 0;
}
.editorial-detail-module[hidden] { display: none; }
.editorial-detail-module__picture,
.editorial-detail-module__content { min-width: 0; }
.editorial-detail-module__picture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--image-radius);
}
.editorial-detail-module__content { padding-top: 4px; }
.editorial-detail-module__content h2:not(.text-label) {
  font-size: var(--type-heading);
  font-weight: 700;
  line-height: 38px;
  overflow-wrap: anywhere;
}
.editorial-detail-module__content .editorial-detail-module__label {
  margin-bottom: 8px;
  color: rgba(255,255,255,0.25);
}
.editorial-detail-module__content > p:not(.text-label, .text-body) {
  max-width: 420px;
  font-size: var(--type-label);
  line-height: 1.6;
}
.editorial-detail-module__content > .text-body { max-width: 420px; margin-top: 16px; }
.editorial-detail-module__button,
.editorial-detail-module__actions { margin-top: 40px; }
.editorial-detail-module__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.editorial-detail-module__actions .editorial-detail-module__button { margin-top: 0; }
.editorial-detail-module__socials { display: flex; align-items: center; gap: 6px; }
.editorial-detail-module__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  text-decoration: none;
}
.editorial-detail-module__social-link img { display: block; width: 24px; height: 24px; }
.editorial-detail-module__social-link:hover { opacity: 0.75; }
.editorial-detail-module__social-link:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
}

/* Nur die Bilder laufen durch den Slider; die Modultexte bleiben außerhalb. */
.editorial-slider { position: relative; min-width: 0; }
.editorial-slider__viewport {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--image-radius);
}
.editorial-slider__viewport::-webkit-scrollbar { display: none; }
.editorial-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.editorial-slider__slide img { display: block; width: 100%; height: auto; }
.editorial-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.editorial-slider__controls[hidden] { display: none; }
.editorial-slider--backstage .editorial-slider__controls {
  position: absolute;
  inset: auto 16px 16px;
}
.editorial-detail__related { margin: 0 var(--site-gutter); }
.editorial-detail__related > h2 { color: rgba(255,255,255,0.25); }
.editorial-detail__related .editorials-grid { margin: 20px 0 0; }

/* Native Dialogführung hält die Galerie per Tastatur und Escape bedienbar. */
.editorial-gallery {
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 24px var(--site-gutter);
  border: 0;
  background: #000;
  color: #fff;
}
.editorial-gallery[open] { display: flex; flex-direction: column; gap: 24px; }
.editorial-gallery::backdrop { background: rgba(0,0,0,0.85); }
.editorial-gallery__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.editorial-gallery__header h2 { font-size: var(--type-heading); line-height: 38px; }
.editorial-gallery__header p { margin-top: 8px; font-size: var(--type-label); line-height: 1.4; }
.editorial-gallery__header .button-chrome { flex-shrink: 0; }
.editorial-slider--gallery { flex: 1; display: flex; flex-direction: column; gap: 20px; min-height: 0; }
.editorial-slider--gallery .editorial-slider__viewport { flex: 1; min-height: 0; border-radius: 0; }
.editorial-slider--gallery .editorial-slider__slide img { height: 100%; object-fit: contain; }
.editorial-gallery__slide--products { display: flex; flex-direction: column; gap: 12px; }
.editorial-gallery__photo { flex: 1; min-height: 0; }
.editorial-gallery__products { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.editorial-gallery :focus-visible { outline: 2px solid var(--main-color); outline-offset: 5px; }
.editorial-gallery .editorial-slider__viewport:focus-visible { outline-offset: -2px; }

@media (max-width: 766px) {
  /* Mehrzeilige Breadcrumbs schieben das Marquee nach unten, ohne sich zu überlagern. */
  .editorial-detail-page .editorials-stage-topline {
    position: relative;
    inset: auto;
    margin: 72px var(--site-gutter) 0;
  }
  .editorial-detail-page .editorials-stage-marquee {
    position: relative;
    top: auto;
    margin-top: clamp(32px, 3.2vw, 64px);
  }
  .editorial-detail__intro,
  .editorial-detail__crew,
  .editorial-detail__text { width: 100%; }
  .editorial-detail__text { margin-top: 56px; }
  .editorial-detail__crew { margin-top: 56px; }
  .editorial-detail__modules { margin-top: 112px; gap: 64px; }
  .editorial-detail-module { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .editorial-detail-module__button,
  .editorial-detail-module__actions { margin-top: 24px; }
  .editorial-gallery { padding-block: 16px; }
  .editorial-gallery__header { gap: 12px; }
  .editorial-gallery__header h2 { font-size: var(--type-card); line-height: 24px; }
}
@media (max-width: 766px) and (max-height: 500px) {
  .editorial-detail-page .editorials-stage-topline { margin-top: 64px; }
}
@media (forced-colors: active) {
  .editorial-detail-module__label,
  .editorial-detail__related > h2 { color: CanvasText; }
}
