.programm-main {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.programm-main p {
  padding: 0;
  margin: 0;
}

#desktop-layout {
  display: none;
}

#mobile-layout {
  display: block;
}

@media (width >=1024px) {
  #desktop-layout {
    display: flex !important;
  }

  #mobile-layout {
    display: none !important;
  }
}

.top-section {
  flex: none;
  position: relative;
  transition: opacity 0.3s ease-in-out;
}

.top-section.fade-out {
  opacity: 0;
}

.poster-container {
  position: relative;
  width: 100%;
  height: 17vh;
  background-color: #e0e0e0;
}

.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.loader-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(224 224 224 / 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.top-extra-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid black;
}

.dark-mode .top-extra-info {
  border-bottom: 1px solid white;
}

.top-extra-info p {
  font-size: 16px;
}

.extra-infos span {
  border: 2px solid black;
  border-radius: 100px;
  padding: 5px 5px;
  font-size: 10px;
  font-weight: 900;
  margin-left: 10px;
}

.dark-mode .extra-infos span {
  border: 2px solid white;
}

.movie-title {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-inline: 20px;
  font-size: clamp(18px, 2vw + 1rem, 26px);
  line-height: clamp(22px, 2vw + 0.5rem, 30px);
  font-family: "Fira Code";
  font-weight: 500;
}

.main-info-container {
  padding-inline: 20px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.main-info-tags {
  position: relative;
}

.main-info-tags p {
  margin: 0;
  white-space: nowrap;
}

.synopsis-wrapper {
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.synopsis-wrapper .full-text {
  display: block;
  max-width: 110ch;
}

.read-toggle {
  font-weight: bold;
  cursor: pointer;
  color: black;
  display: inline-block;
  margin-top: 5px;
}

.top-buttons-container {
  margin-bottom: 20px;
  margin-top: 20px;
  display: flex;
  gap: 20px;
  padding-inline: 20px;
}

.top-buttons-container button {
  width: 100%;
  padding: 5px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  border: 2px solid black;
  background: var(--clr-background);
  color: var(--clr-text);
}

.top-buttons-container button.ticket-btn {
  background: var(--clr-accent);
  color: #000;
}

.dark-mode .top-buttons-container button {
  border-color: white;
  color: white;
}

.dark-mode .top-buttons-container button.ticket-btn {
  background: var(--clr-accent);
  color: #000;
  border-color: white;
}

.weitere-vorstellungen {
  display: none;
}

.vorstellungen-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vorstellung-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

.vorstellung-item:last-child {
  border-bottom: none;
}

.vorstellung-date {
  font-size: 13px;
  font-weight: bold;
  min-width: 50px;
}

.vorstellung-time {
  font-size: 13px;
  font-weight: bold;
  flex: 1;
  text-align: center;
}

.vorstellung-ticket {
  background: var(--clr-accent);
  border: none;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
}

.bottom-section {
  flex: 1;
  margin-inline: 20px;
  border: 3px solid black;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
}

.movie-list-container {
  flex: 1;
  overflow-y: auto;
  transition: opacity 0.3s ease-in-out;
}

.movie-list-container.fade-out {
  opacity: 0;
}

.selector-row {
  display: flex;
  border-bottom: 2px solid #000;
}

.dark-mode .selector-row {
  border-bottom: 2px solid white;
}

.day {
  flex: 0 0 65px;
  border-right: 3px solid #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

.dark-mode .day {
  border-right: 3px solid white;
}

.day span:first-child {
  font-weight: bold;
}

.selector-movie-list {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.selector-movie-list-single {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  line-height: 1.5;
  cursor: pointer;
}

.selector-movie-list-single:not(:last-child) {
  position: relative;
  padding-bottom: 10px;
}

.selector-movie-list-single:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #e0e0e0;
}

.selector-movie-list-single h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.selector-movie-list-single.highlighted {
  background-color: var(--clr-accent);
}

.highlighted h3,
.highlighted .uhrzeit {
  font-weight: 900;
}

.uhrzeit {
  font-family: "Fira Code", monospace;
  font-size: .8rem;
  white-space: nowrap;
  margin-left: 10px;
}

.bottom-buttons-container {
  display: flex;
  border-top: 3px solid black;
}

.dark-mode .bottom-buttons-container {
  border-color: white;
}

.bottom-buttons-container button {
  flex: 1;
  padding: 10px;
  border: none;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  background-color: var(--clr-background);
  color: var(--clr-text);
  transition: background-color 0.2s, color 0.2s;
}

.bottom-buttons-container button:first-child {
  border-right: 3px solid black;
}

.dark-mode .bottom-buttons-container button:first-child {
  border-right: 3px solid white;
}

.bottom-buttons-container button.active {
  background-color: var(--clr-accent) !important;
  color: #000 !important;
}

.dark-mode .bottom-buttons-container button.active {
  background-color: var(--clr-accent) !important;
  color: #000 !important;
}

.dark-mode .bottom-buttons-container button:not(.active) {
  background-color: var(--clr-background) !important;

  color: white !important;
}

.selector-movie-list-single.highlighted {
  background-color: transparent;
  position: relative;
}

.selector-movie-list-single.highlighted::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--clr-accent);
  z-index: -1;
}

@media (width >=1024px) {
  #desktop-layout .programm-main {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  #desktop-layout {
    display: flex;
    padding-inline: 20px;
  }

  #desktop-layout .left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
  }

  #desktop-layout .right-content {
    width: 100%;
    max-height: 50vh;
  }

  #desktop-layout .right-content .poster-container {
    height: 100%;
    width: 100%;
  }

  #desktop-layout .right-content .poster {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  #desktop-layout .left-content .top-extra-info {
    padding: 0 0 10px;
    border-bottom: 2px solid black;
    margin-bottom: 0;
  }

  .dark-mode #desktop-layout .left-content .top-extra-info {
    border-bottom: 2px solid white;
  }

  #desktop-layout .left-content .movie-title {
    padding: 0;
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
  }

  #desktop-layout .left-content .main-info-container {
    padding: 0;
    flex-direction: row;
    gap: 15px;
    justify-content: space-between;
  }

  #desktop-layout .left-content .main-info-tags {
    width: auto;
    display: flex;
    gap: 30px;
  }

  #desktop-layout .left-content .main-info-tags p {
    font-size: 13px;
  }

  #desktop-layout .left-content .main-info-synopsis {
    font-size: 13px;
    line-height: 1.5;
  }

  #desktop-layout .left-content .top-buttons-container {
    padding: 0;
    margin: 0;
    gap: 10px;
    flex-direction: row;
  }

  #desktop-layout .left-content .top-buttons-container button {
    padding: 12px 24px;
    font-size: 14px;
    max-width: 200px;
    width: auto;
    flex: none;
  }

  .dark-mode #desktop-layout .left-content .top-buttons-container button {
    color: white;
    border-color: white;
  }

  .dark-mode #desktop-layout .left-content .top-buttons-container .btn--accent {
    color: black;
    border-color: white;
  }

  .top-section,
  .desktop-top {
    border: 0;
  }

  .desktop-top-row .main-info-container {
    display: flex;
    flex-direction: row;
  }

  #desktop-layout .main-info-tags {
    display: flex;
    gap: 30px;
    flex-direction: column;
  }

  .main-info-tags-desktop {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  #desktop-layout .main-info-container {
    display: flex;
    flex-direction: row;
  }

  #desktop-layout .weitere-vorstellungen {
    display: block;
    border-top: 2px solid black;
    padding-top: 15px;
    margin-top: auto;
  }

  #desktop-layout .weitere-vorstellungen h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
  }

  #desktop-layout .bottom-section {
    margin: 0 20px 20px;
    border: 3px solid black;
    display: flex;
  }

  #desktop-layout .movie-list-container {
    flex: 1;
    overflow-y: auto;
  }

  @media (width >=1200px) {
    #desktop-layout .left-content {
      gap: 25px;
    }

    #desktop-layout .left-content .movie-title {
      font-size: clamp(28px, 3vw, 42px);
    }

    #desktop-layout .weitere-vorstellungen h3 {
      font-size: 16px;
      margin-bottom: 15px;
    }
  }
}

@media (min-width: 1024px) {


  #desktop-layout .main-info-tags {
    flex: 0 0 300px;

    min-width: 250px;
    max-width: 350px;
    width: 300px;

  }


  #desktop-layout .main-info-tags-desktop {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
    align-items: center;
  }


  #desktop-layout .top-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }


  #desktop-layout .top-buttons-container .btn {
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }


  #desktop-layout .trailer-btn {
    flex-shrink: 1;
    min-width: 100px;
  }


  #desktop-layout .main-info-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
  }


  #desktop-layout .main-info-synopsis {
    flex: 1;
    min-width: 200px;
  }


  #desktop-layout .desktop-weitere-veranstaltungen {
    flex: 0 0 180px;
    min-width: 150px;
  }


  #desktop-layout .main-info-tags-desktop .duration-info,
  #desktop-layout .main-info-tags-desktop .fsk-info,
  #desktop-layout .main-info-tags-desktop .genre-info,
  #desktop-layout .main-info-tags-desktop .language-info {
    flex-shrink: 0;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
    margin-right: 8px;
  }


  #desktop-layout .main-info-tags-desktop .duration-info::after,
  #desktop-layout .main-info-tags-desktop .fsk-info::after,
  #desktop-layout .main-info-tags-desktop .genre-info::after,
  #desktop-layout .main-info-tags-desktop .language-info:not(:empty)::after {
    content: " |";
    color: #666;
    margin-left: 8px;
  }


  #desktop-layout .main-info-tags-desktop .last-tag::after {
    content: none !important;
    display: none !important;
  }


  #desktop-layout .main-info-tags-desktop {
    line-height: 1.5;
  }
}

@media (min-width: 1200px) {
  #desktop-layout .main-info-tags {
    flex: 0 0 320px;
    width: 320px;
  }
}

@media (min-width: 1024px) and (max-width: 1100px) {
  #desktop-layout .main-info-tags {
    flex: 0 0 280px;
    width: 280px;
  }

  #desktop-layout .top-buttons-container .btn {
    min-width: 110px;
    font-size: 13px;
    padding: 10px 16px;
  }
}

@media (min-width: 1024px) {
  .main-info-tags-desktop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    line-height: 1.5;
    gap: 0;
  }

  .main-info-tags-desktop .duration-info,
  .main-info-tags-desktop .fsk-info,
  .main-info-tags-desktop .genre-info,
  .main-info-tags-desktop .language-info {
    max-width: 200px;
  }


  .main-info-tags-desktop .duration-info,
  .main-info-tags-desktop .fsk-info,
  .main-info-tags-desktop .genre-info,
  .main-info-tags-desktop .language-info:not(:empty) {
    margin-right: 8px;
  }


  .main-info-tags-desktop .duration-info::after,
  .main-info-tags-desktop .fsk-info::after,
  .main-info-tags-desktop .genre-info::after,
  .main-info-tags-desktop .language-info:not(:empty)::after {
    content: " |";
    color: #666;
    margin-left: 8px;
  }


  .main-info-tags-desktop .last-tag::after {
    content: none !important;
    display: none !important;
  }

  .main-info-tags-desktop .language-info:empty {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .main-info-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
  }

  .main-info-tags-mobile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    line-height: 1.5;
    width: 100%;
    gap: 0;
  }

  .main-info-tags-mobile .duration-info,
  .main-info-tags-mobile .fsk-info,
  .main-info-tags-mobile .genre-info,
  .main-info-tags-mobile .language-info {
    display: inline-block;
    margin: 0;
  }


  .main-info-tags-mobile .duration-info,
  .main-info-tags-mobile .fsk-info,
  .main-info-tags-mobile .genre-info,
  .main-info-tags-mobile .language-info:not(:empty) {
    margin-right: 4px;
  }


  .main-info-tags-mobile .duration-info::after,
  .main-info-tags-mobile .fsk-info::after,
  .main-info-tags-mobile .genre-info::after,
  .main-info-tags-mobile .language-info:not(:empty)::after {
    content: " |";
    color: #666;
    margin-left: 4px;
  }


  .main-info-tags-mobile .last-tag::after {
    content: none !important;
    display: none !important;
  }

  .main-info-tags-mobile .language-info:empty {
    display: none !important;
  }


  .main-info-container .trailer-btn {
    display: inline-block;
    padding: 4px 12px;
    font-size: 13px;
    width: auto;
    max-width: 20%;
    min-width: 100px;
  }

  .main-info-synopsis {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
  }
}

#desktop-layout .desktop-bottom {
  align-items: stretch;
}

#desktop-layout .bottom-section {
  display: flex;
  flex-direction: column;
}

#desktop-layout .movie-list-container {
  flex: 1;
}

.selector-movie-list-single {
  margin: 0;
  padding: 10px;
}

.day {
  flex: 0 0 65px;
  border-right: 3px solid #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

.day span:first-child {
  font-weight: bold;
}

.uhrzeit {
  font-family: "Fira Code", monospace;
  font-size: .8rem;
  white-space: nowrap;
  margin-left: 10px;
}

.selector-movie-list-single.highlighted {
  background-color: var(--clr-accent);
  position: relative;
}

.dark-mode .selector-movie-list-single.highlighted {
  color: black;
}

.dark-mode .selector-movie-list-single.highlighted h3 .special-highlight {
  color: black;
}

.selector-movie-list-single.highlighted::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--clr-accent);
  z-index: -1;
}

@media (width <=1023px) {
  .poster {
    max-height: 70vh;
  }

  .bottom-section {
    max-height: 34vh;
  }

  .bottom-buttons-container {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background-color: var(--clr-background);
  }

  .movie-list-container {
    padding-bottom: 60px;
  }
}

@media (width >=1024px) {
  .poster {
    max-height: 80vh;
    object-fit: contain;
  }

  #desktop-layout .programm-main {
    display: flex;
    flex-direction: column;
  }

  #desktop-layout .desktop-bottom {
    flex: 1;
    display: flex;
    gap: 20px;
    max-height: 50vh;
  }

  #desktop-layout .bottom-section {
    flex: 1;
    margin: 0;
    border: 2px solid black;
    display: flex;
    flex-direction: column;
    max-height: 100%;
  }

  .dark-mode #desktop-layout .bottom-section {
    border: 2px solid white;
  }

  #desktop-layout .movie-list-container {
    height: calc(100% - 48px);
  }

  #desktop-layout .right-content {
    flex: 1;
    border-left: 2px solid black;
  }

  #desktop-layout .right-content .poster-container {
    height: 100%;
    width: 100%;
  }

  #desktop-layout .right-content .poster {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skeletor-loader {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.modal-overlay {
  backdrop-filter: blur(5px);
}

.selector-movie-list-single:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: black;
}

.checkbox-container {
  margin-top: 15px;
}

.synopsis-wrapper {
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.read-toggle {
  display: block;
  cursor: pointer;
  color: black;
  font-size: 13px;
}

.read-toggle:hover {
  text-decoration: none;
}

.fullscreen-poster-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(0 0 0 / 0%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
}

.fullscreen-poster-overlay.active {
  background: rgb(0 0 0 / 95%);
  opacity: 1;
}

.fullscreen-poster-image {
  object-fit: contain;
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
  cursor: default;
}

.fullscreen-poster-overlay.active .fullscreen-poster-image {
  opacity: 1;
  transform: scale(1);
}

.fullscreen-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgb(0 0 0 / 70%);
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: all 0.2s ease;
  opacity: 0;
}

.fullscreen-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  padding: 0;
  margin: 0;
}

@supports (-webkit-touch-callout: none) {
  .fullscreen-close-btn {
    top: env(safe-area-inset-top, 20px);
    right: env(safe-area-inset-right, 20px);
    width: 44px;

    height: 44px;
    font-size: 28px;
    background: rgb(0 0 0 / 80%);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 390px) and (max-height: 845px) {
  .fullscreen-close-btn {
    top: max(10px, env(safe-area-inset-top, 10px));
    right: max(10px, env(safe-area-inset-right, 10px));
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .fullscreen-hint {
    font-size: 11px;
    bottom: max(10px, env(safe-area-inset-bottom, 10px));
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    white-space: nowrap;
  }
}

.fullscreen-poster-overlay {
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.fullscreen-poster-image {
  max-width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));
  max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
}

.fullscreen-poster-overlay.active .fullscreen-close-btn {
  opacity: 1;
}

.fullscreen-close-btn:hover {
  background: rgb(255 255 255 / 90%);
  color: black;
  transform: scale(1.1);
}

.fullscreen-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(255 255 255 / 70%);
  font-size: 14px;
  text-align: center;
  background: rgb(0 0 0 / 50%);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease 0.5s;
}

.fullscreen-poster-overlay.active .fullscreen-hint {
  opacity: 1;
}

.fullscreen-poster-overlay.closing {
  background: rgb(0 0 0 / 0%);
  opacity: 0;
}

.fullscreen-poster-overlay.closing .fullscreen-poster-image {
  opacity: 0;
  transform: scale(0.9);
}

.fullscreen-poster-overlay.closing .fullscreen-close-btn,
.fullscreen-poster-overlay.closing .fullscreen-hint {
  opacity: 0;
}

.movie-additional-info {
  margin-top: 1rem;
}

@media (width <=768px) {
  .fullscreen-hint {
    font-size: 12px;
    bottom: 10px;
    padding: 6px 12px;
  }

  .fullscreen-close-btn {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .fullscreen-poster-image {
    max-width: 95vw;
    max-height: 70vh;
  }
}

@media (width <=768px) and (orientation: portrait) {
  .fullscreen-poster-image {
    max-width: 95vw;
    max-height: 60vh;
  }
}

@media (width <=768px) and (orientation: landscape) {
  .fullscreen-poster-image {
    max-width: 90vw;
    max-height: 85vh;
  }

  .fullscreen-hint {
    bottom: 5px;
    font-size: 11px;
  }
}

.special-highlight {
  font-weight: 900;
  color: #000;
  letter-spacing: 0.5px;
}

.dark-mode .special-highlight {
  color: white;
}

.dark-mode .special-highlight .highlighted {
  color: black;
}

.ticket-btn,
.trailer-btn {
  color: #000;
  -webkit-text-fill-color: #000;
  text-fill-color: #000;
}

.ticket-btn:focus,
.trailer-btn:focus {
  color: #000;
  -webkit-text-fill-color: #000;
}

.dark-mode .trailer-btn {
  border-color: white;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-fill-color: #fff;
}

.dark-mode .ticket-btn {
  color: black;
  -webkit-text-fill-color: black;
}

.dark-mode .ticket-btn:focus,
.trailer-btn:focus {
  color: #000;
  -webkit-text-fill-color: #000;
}

.dark-mode .bottom-section {
  border-color: white;
}

.btn.weitere-spielzeiten-btn {
  background-color: transparent;
  color: #000;
  border: 2px solid #000;
  transition: all 0.3s ease;
}

.btn.weitere-spielzeiten-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.btn.weitere-spielzeiten-btn.active,
.btn.weitere-spielzeiten-btn:active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.btn.weitere-spielzeiten-btn:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.btn.weitere-spielzeiten-btn.active:focus,
.btn.weitere-spielzeiten-btn:active:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@supports (-webkit-touch-callout: none) {

  .ticket-btn,
  .trailer-btn {
    color: #000;
    -webkit-text-fill-color: #000;
  }

  .btn.weitere-spielzeiten-btn {
    color: #000;
    -webkit-text-fill-color: #000;
  }

  .btn.weitere-spielzeiten-btn.active,
  .btn.weitere-spielzeiten-btn:active {
    color: #000;
    -webkit-text-fill-color: #000;
  }
}

.duration-info,
.fsk-info,
.genre-info,
.language-info {
  font-size: 13px;
  line-height: 1.5;
  font-family: inherit;
  white-space: normal;
  word-wrap: break-word;
  hyphens: auto;
}

.synopsis-wrapper,
.full-text,
.main-info-synopsis {
  font-size: 13px;
  line-height: 1.5;
}

.language-info:empty {
  display: none !important;
}

.desktop-vorstellungen-list {
  font-size: 13px;
}

.synopsis-wrapper {
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
}

.read-toggle {
  color: #000;

  cursor: pointer;
  font-weight: bold;
  margin: 0;

  display: inline-block;
  padding: 0;

}

.read-toggle:hover {
  text-decoration: underline;
}

.main-info-synopsis {
  transition: all 0.3s ease-in-out;
}

#desktop-layout .synopsis-wrapper,
#mobile-layout .synopsis-wrapper {
  transition: max-height 0.3s ease-in-out;
}

.trailer-modal-overlay {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.trailer-modal-overlay.active {
  opacity: 1;
}

.trailer-modal-overlay.closing {
  opacity: 0;
}

.trailer-modal-container {
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out;
}

.trailer-modal-overlay.active .trailer-modal-container {
  transform: scale(1);
}

.trailer-modal-overlay.closing .trailer-modal-container {
  transform: scale(0.8);
}

.fullscreen-poster-overlay {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.fullscreen-poster-overlay.active {
  opacity: 1;
}

.fullscreen-poster-overlay.closing {
  opacity: 0;
}

.fullscreen-poster-image {
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out;
}

.fullscreen-poster-overlay.active .fullscreen-poster-image {
  transform: scale(1);
}

.fullscreen-poster-overlay.closing .fullscreen-poster-image {
  transform: scale(0.8);
}

.modal-buttons button {
  padding: 1rem 2rem;
}

@media (min-width: 1024px) {
  #desktop-layout .poster-background-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  #desktop-layout .poster-background-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px);
    transform: scale(1.1);

    z-index: 1;
  }

  #desktop-layout .poster-foreground-container {
    position: relative;
    z-index: 2;
    background: transparent;
  }

  #desktop-layout .poster-foreground {
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
  }

  #desktop-layout .poster-foreground:hover {
    transform: scale(1.02);
  }


  #desktop-layout .poster-foreground-container,
  #desktop-layout .poster-foreground {
    cursor: pointer;
  }
}

#desktop-layout .poster-background-blur {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#desktop-layout .poster-background-blur,
#desktop-layout .poster-foreground {
  transition: opacity 0.3s ease;
}

#desktop-layout .poster-background-blur[style*="background-image"] {
  opacity: 1;
}

#desktop-layout .poster-background-blur:not([style*="background-image"]) {
  opacity: 0;
}

@media (max-width: 1023px) {
  .poster-container {
    position: relative;
    width: 100%;
    height: 17vh;
    background-color: #f0f0f0;
    overflow: hidden;
  }

  .poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
  }




  .poster.image-type-large {
    object-position: center 25%;
  }


  .poster.image-type-scene {
    object-position: center center;
    object-fit: cover;
  }


  .poster.image-type-poster {
    object-position: center 30%;
    object-fit: cover;
  }


  .poster.image-type-placeholder {
    object-fit: contain;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
  }


  .poster[src*="inland-empire"],
  .poster[src*="40873"] {
    object-position: center 20%;
  }

  .poster[src*="good-boy"],
  .poster[src*="78691"] {
    object-position: center 35%;
  }
}

@media (min-width: 1024px) {
  #desktop-layout .poster-foreground {
    object-fit: contain;
    object-position: center;
  }

  #desktop-layout .poster-background-blur {
    object-fit: cover;
    object-position: center;
  }
}

.image-debug-info {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 5px;
  font-size: 10px;
  border-radius: 3px;
  display: none;
}

.debug-mode .image-debug-info {
  display: block;
}

.main-description {
  margin-bottom: 1em;
}

.additional-description {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px solid #eee;
  font-style: italic;
  color: #666;
}

.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 1024px) {


  #desktop-layout .poster-foreground.image-type-poster,
  #desktop-layout .poster-foreground:not(.image-type-scene):not(.image-type-backdrop) {
    object-fit: contain !important;
    width: auto;
    height: 100%;
    max-width: 100%;
  }


  #desktop-layout .poster-foreground.image-type-scene,
  #desktop-layout .poster-foreground.image-type-backdrop {
    object-fit: cover !important;
    width: 100%;
    height: 100%;
  }


  #desktop-layout .poster-foreground-container .poster-foreground.image-type-poster,
  #desktop-layout .poster-foreground-container .poster-foreground:not(.image-type-scene):not(.image-type-backdrop) {
    object-fit: contain;
    width: auto;
    height: 100%;
    max-width: 100%;
  }


  #desktop-layout .poster-foreground-container .poster-foreground.image-type-scene,
  #desktop-layout .poster-foreground-container .poster-foreground.image-type-backdrop {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }


  #desktop-layout .poster-background-blur {
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.7);
    transform: scale(1.1);
  }
}

.poster-foreground,
.poster {
  background-color: transparent;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB2aWV3Qm94PSIwIDAgMSAxIiB4bWxucz0iaHR0cDovL3d3dy53My5rgvJTUU4AkglAAAAADUlIRFIAAAAQAAAAEAgGAAAAHp/Y9gAAAABJRU5ErkJggg==');
  background-repeat: no-repeat;
  background-size: cover;
}

.poster-foreground[src]:not([src=""]) {
  background-image: none;
}