#produkte {
  min-height: auto;
  display: block;
  align-content: normal;
  padding: 0;
}

.work-column {
  min-height: auto;
  display: block;
  align-content: normal;
  padding: 0;
  border-bottom: 0;
  min-width: 0;
}

/* produkte.html spezifische Stile */

.work-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.work-section-inner {
  width: 100%;
  max-width: 72ch;
  margin: 0 auto;
}

.produkte-hero {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.produkte-subheading {
  margin: 0;
  max-width: 24ch;
}

/* Sichtbare Haupt-Ueberschrift der Produkte-Seite – dezent gehalten */
.produkte-h1 {
  margin: 0 0 1rem;
}

.filmstrip-wrap {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 1.2rem 0 0;
  left: 50%;
  transform: translateX(-50%);
  container-type: inline-size;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 0;
  cursor: none;
  user-select: none;
  touch-action: none;
}

.filmstrip-wrap::before,
.filmstrip-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}

.filmstrip-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.filmstrip-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.filmstrip-inner {
  display: flex;
  gap: 0.55rem;
  will-change: transform;
  width: max-content;
}

.film-frame {
  flex: 0 0 clamp(170px, 23cqw, 300px);
  aspect-ratio: 16 / 9;
  border: 1px dashed #b0b0b0;
  color: var(--muted);
  background: linear-gradient(180deg, #ebebeb 0%, #f0f0f0 100%);
  text-decoration: none;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  transition: transform 220ms ease, box-shadow 220ms ease;
  transform-origin: center center;
}

.film-frame-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.72;
  filter: saturate(0.88) contrast(1.03);
}

.film-frame-title {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.25rem 0.45rem;
  border-radius: 3px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}


.film-frame:hover,
.film-frame:focus-visible {
  transform: scale(1.25);
  z-index: 3;
}

.film-frame:hover .film-frame-title,
.film-frame:focus-visible .film-frame-title {
  opacity: 1;
  transform: translateY(0);
}

.work-reference-item {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  padding: 0.75rem 0.95rem;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.work-reference-item .work-reference-extra {
  display: block;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  opacity: 0;
  transition: max-height 220ms ease, opacity 180ms ease;
}

.work-reference-item.is-expanded .work-reference-extra {
  max-height: 800px;
  opacity: 1;
}

.work-reference-item:not(.is-expanded):hover .work-reference-extra,
.work-reference-item:not(.is-expanded):focus-visible .work-reference-extra {
  max-height: 0.9em;
  opacity: 1;
}

.work-reference-item {
  cursor: pointer;
}



.work-reference-item.has-image {
  padding-right: 0.95rem;
}

.work-reference-float-image {
  float: right;
  width: 25%;
  max-width: 25%;
  margin: 0.15rem 0 0.55rem 0.75rem;
  border-radius: 0.35rem;
  overflow: hidden;
}

.work-reference-float-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.work-reference-main {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  overflow: auto;
}

.work-reference-service {
  margin: 0 0 0.2rem;
  word-break: break-word;
  overflow-wrap: break-word;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.work-reference-recipient {
  margin: 0.1rem 0;
  word-break: break-word;
  overflow-wrap: break-word;
  opacity: 1;
}

.work-reference-description {
  margin: 0.15rem 0;
  word-break: break-word;
  overflow-wrap: break-word;
  opacity: 1;
  max-height: none;
  overflow-y: visible;
  white-space: pre-line;
}


.work-reference-price {
  margin: 0.35rem 0 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.work-reference-request-button {
  display: inline-block;
  margin-top: 0.3rem;
}

.work-reference-link {
  display: inline-block;
  margin-top: 0.3rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  opacity: 1;
  pointer-events: auto;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.work-reference-link:hover,
.work-reference-link:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.work-reference-contact-copy {
  margin-top: 0.35rem;
  opacity: 1;
  pointer-events: auto;
}

.work-reference-contact-link {
  display: inline-block;
}

.work-reference-contact-link:hover,
.work-reference-contact-link:focus-visible {
  outline: none;
}

.video-modal-contact-copy {
  margin: 0.9rem 0 0;
  text-align: center;
}

.video-modal-contact-button {
  display: inline-block;
}

.video-modal-contact-button:hover,
.video-modal-contact-button:focus-visible {
  outline: none;
}

.work-reference-item.has-image .work-reference-main {
  transform: translateY(0);
}

.grandstand-image {
  width: auto;
  height: calc(var(--svg-base-height) * var(--svg-scale-steht));
  min-height: calc(var(--svg-min-base-height) * var(--svg-scale-steht));
  max-height: calc(var(--svg-base-height-max) * var(--svg-scale-steht));
  object-fit: contain;
  opacity: 0.9;
  display: block;
  margin: 0;
}

@media (max-width: 640px) {
  .filmstrip-wrap {
    width: calc(100vw - 2rem);
    left: 50%;
    transform: translateX(-50%);
  }

  .produkte-hero {
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.55rem;
  }

  .produkte-subheading {
    max-width: none;
    text-align: center;
  }

  .grandstand-image {
    height: calc(var(--svg-mobile-base-height) * var(--svg-scale-steht));
    min-height: calc(var(--svg-min-base-height) * var(--svg-scale-steht));
    max-height: calc(var(--svg-mobile-base-height-max) * var(--svg-scale-steht));
  }
}

.work-columns {
  margin-top: 0;
  padding-top: 0.35rem;
  align-items: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 1rem;
}

.work-column-heading {
  margin: 0 0 .35rem;
  cursor: default;
}

@media (min-width: 1401px) {
  .work-column + .work-column {
    border-left: 1px solid var(--line);
    padding-left: 1rem;
  }
}

@media (max-width: 1400px) {
  .work-columns {
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 0;
    padding: .2rem 0 0;
    gap: .35rem;
  }

  .work-column {
    border-top: 1px solid var(--line);
    padding-top: .35rem;
  }

  .work-column:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .work-column-heading {
    cursor: default;
    margin: 0;
  }

  .work-column .work-list {
    display: grid;
  }
}

@media (max-width: 680px) {
  .work-reference-item {
    flex-direction: column;
  }

  .work-reference-float-image {
    float: none;
    width: min(100%, 280px);
    max-width: min(100%, 280px);
    margin: 0.35rem 0 0.55rem auto;
  }
}
