:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #000000;
  --muted: #202020;
  --faint: #555555;
  --accent: #1f4f8f;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --left: 230px;
  --middle: 190px;
  --content: 780px;
  --gap: 44px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--ink);
  text-decoration: underline;
}

a[aria-current="true"] {
  color: var(--ink);
  font-weight: 600;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  translate: 0 -160%;
  background: #fff;
  padding: 8px 10px;
  z-index: 100;
}

.skip-link:focus {
  translate: 0;
}

.site-shell {
  display: grid;
  grid-template-columns: var(--left) var(--middle) minmax(0, var(--content));
  gap: var(--gap);
  width: min(calc(var(--left) + var(--middle) + var(--content) + 2 * var(--gap)), calc(100vw - 52px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.main-menu,
.sub-menu {
  position: sticky;
  top: 28px;
  align-self: start;
  min-width: 0;
}

.brand {
  display: block;
  margin-bottom: 108px;
}

.brand-logo {
  width: 142px;
  margin: 0;
}

.primary-menu,
.subnav-panel {
  display: grid;
  justify-items: start;
  max-width: 100%;
}

.menu-link {
  display: inline-block;
  padding: 0;
  font-weight: 600;
  line-height: 1;
}

.menu-major {
  font-size: 16px;
  letter-spacing: 0;
}

.menu-minor {
  font-size: 11px;
}

.menu-contact {
  font-size: 12px;
}

.menu-gap-medium {
  margin-top: 13px;
}

.menu-gap-large {
  margin-top: 16px;
}

.menu-gap-xlarge {
  margin-top: 28px;
}

.sub-menu {
  padding-top: 0;
}

.subnav-panel {
  gap: 5px;
}

.subnav-panel a {
  display: inline-block;
  padding: 2px 0;
  font-size: 22px;
  font-weight: 600;
}

.subnav-panel a[aria-current="true"] {
  font-style: italic;
}

.subnav-panel[hidden],
.content-pane[hidden] {
  display: none;
}

.content {
  min-width: 0;
  padding-top: 0;
}

.content-pane {
  max-width: 100%;
}

.tf-intro,
.tf-year-intro,
.tf-accordion {
  max-width: 680px;
}

.tf-year-intro {
  margin-bottom: 34px;
}

.tf-year-intro blockquote {
  margin: 18px 0;
  text-align: right;
}

.tf-funding-logo {
  width: min(118px, 28%);
  margin: 0;
}

.tf-funding-footer {
  display: flex;
  justify-content: flex-end;
  max-width: 680px;
  margin-top: 20px;
}

.tf-partner-logo {
  width: auto;
  max-width: 118px;
  max-height: 58px;
  margin: 0;
  object-fit: contain;
}

.tf-partner-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
}

.tf-accordion > details > .details-content {
  padding: 10px 0 8px;
}

.tf-accordion summary {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.tf-film-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 12px 0 18px;
}

.tf-film-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}

.tf-film-card img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: opacity 140ms ease;
}

.tf-film-card span {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  color: #fff;
  background: rgb(0 0 0 / 68%);
  opacity: 0;
}

.tf-film-card small {
  margin-bottom: 3px;
  font-size: 10px;
  text-transform: uppercase;
}

.tf-film-card:hover span,
.tf-film-card:focus-visible span {
  opacity: 1;
}

.tf-film-card:hover {
  text-decoration: none;
}

.tf-image-pair,
.tf-booklet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 12px 0 18px;
}

.tf-image-pair img,
.tf-booklet-grid img {
  width: 100%;
  margin: 0;
}

.tf-booklet-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zoom-image-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.zoom-image-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.image-lightbox {
  width: min(94vw, 1200px);
  max-width: none;
  max-height: 94vh;
  margin: auto;
  padding: 42px 18px 18px;
  border: 0;
  background: #fff;
}

.image-lightbox::backdrop {
  background: rgb(0 0 0 / 78%);
}

.image-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(94vh - 60px);
  margin: 0 auto;
}

.image-lightbox-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font: 400 28px/1 Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.tf-schedule {
  display: grid;
  gap: 22px;
}

.tf-schedule section,
.tf-schedule h5,
.tf-schedule p {
  margin: 0;
}

.tf-schedule h5 {
  font-size: 15px;
  font-weight: 600;
}

.tf-schedule p {
  line-height: 1.4;
}

.tf-obsolete-events {
  display: none;
}

#tf-2014 summary,
#tf-2014 details[open] summary {
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

#tf-2014 .tf-press .nested-details summary {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

#tf-2014 .tf-press .nested-details .original-content {
  line-height: 1.35;
}

#tf-2014 .tf-press .nested-details h5 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.tf-subaccordion summary,
.tf-subaccordion details[open] summary,
#tf-2014 .tf-texts .nested-details summary,
#tf-2014 .tf-texts .nested-details details[open] summary {
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.35;
  text-transform: none;
  text-decoration: none;
}

.tf-subaccordion .original-content,
#tf-2014 .tf-texts .nested-details .original-content {
  font-size: 15px;
  line-height: 1.35;
}

.tf-subaccordion .original-content p,
#tf-2014 .tf-texts .nested-details .original-content p {
  line-height: 1.35;
}

.tf-card-details {
  max-width: 320px;
  padding-left: 0;
}

.tf-card-details > details > summary.tf-film-card,
.tf-card-details > details[open] > summary.tf-film-card {
  width: 100%;
  font-size: inherit;
  font-style: normal;
  text-transform: none;
}

.tf-card-details > details > .details-content {
  padding-top: 14px;
}

.tf-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#dokumentarfilm .documentary-list > details:first-child {
  border-bottom: 1px solid var(--ink);
}

#tf-2017 .tf-accordion > details:last-child .original-content > img,
#tf-2015 .tf-accordion > details:last-child .original-content > img,
#tf-2014 .tf-team .original-content > img {
  width: 181px;
  height: 200px;
  max-width: 181px;
  object-fit: cover;
  object-position: center;
}

.year-list {
  display: grid;
  gap: 20px;
}

.year-list h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 400;
}

.year-list ul,
.details-list,
.entry-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.year-list li {
  color: var(--muted);
}

details {
  padding: 0 0 8px;
}

.details-list > details + details {
  border-top: 1px solid var(--ink);
  padding-top: 8px;
}

summary {
  width: fit-content;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  font-style: italic;
}

details p {
  max-width: 680px;
  margin: 4px 0 8px;
  color: var(--muted);
  line-height: 1.2;
}

.entry-list {
  margin: 8px 0 14px;
}

.nested-details {
  margin-top: 10px;
  padding-left: 16px;
}

.media-list {
  max-width: 680px;
}

.media-list iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 8px 0 18px;
  border: 0;
}

.media-list.media-stack {
  display: grid;
  gap: 20px;
}

.align-right {
  text-align: right;
}

.align-right iframe,
.align-right video,
.align-right img {
  margin-left: auto;
}

.project-images {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 10px 0 16px;
}

.cv-block {
  max-width: 680px;
}

.content-image {
  width: 220px;
  margin: 0 0 24px;
}

.text-block {
  max-width: 680px;
}

.text-block p,
.original-content p {
  margin: 0 0 8px;
  line-height: 1.2;
}

.current-list b {
  font-weight: 600;
}

.original-content b,
.original-content strong {
  font-weight: 600;
}

.original-content h4,
.original-content h5,
.original-content h6 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.original-content img {
  max-width: min(520px, 100%);
  margin: 10px 0 16px;
}

.original-content iframe {
  display: block;
  width: min(680px, 100%);
  aspect-ratio: 16 / 9;
  margin: 8px 0 18px;
  border: 0;
}

.original-content video {
  display: block;
  width: min(680px, 100%);
  aspect-ratio: 16 / 9;
  margin: 8px 0 18px;
}

.project-layout {
  display: grid;
  gap: 18px;
}

.project-layout p {
  margin-bottom: 0;
}

.project-section {
  display: grid;
  gap: 7px;
}

.compact-credits,
#spielfilm > .details-list > details:nth-child(3) .project-section:nth-of-type(4) {
  gap: 1px;
}

.compact-credits p,
#spielfilm > .details-list > details:nth-child(3) .project-section:nth-of-type(4) p,
#spielfilm > .details-list > details:nth-child(3) .project-section:nth-of-type(5) p,
#spielfilm > .details-list > details:nth-child(5) .original-content > p:nth-of-type(n + 3),
#spielfilm > .details-list > details:nth-child(6) .original-content > p:nth-of-type(n + 3):nth-of-type(-n + 10),
#spielfilm > .details-list > details:nth-child(7) .original-content > p:nth-of-type(n + 2):nth-of-type(-n + 7),
#spielfilm > .details-list > details:nth-child(8) .original-content > p:nth-of-type(n + 2):nth-of-type(-n + 7),
.documentary-list .original-content > p:nth-of-type(n + 2) {
  margin-bottom: 2px;
  line-height: 1.08;
}

#spielfilm > .details-list > details:nth-child(3) .project-section:nth-of-type(5) {
  gap: 1px;
}

.documentary-list,
.documentary-list .original-content {
  text-align: left;
}

.documentary-list .project-meta {
  text-align: right;
}

#spielfilm > .details-list > details:nth-child(4) .project-meta {
  margin-bottom: 22px;
}

#spielfilm > .details-list > details:nth-child(4) .original-content > h5 {
  margin-top: 24px;
}

.ostern-lead-image {
  width: 100%;
  max-width: 680px !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

#tf-2019 .tf-accordion > details:nth-child(4) .original-content > img:nth-of-type(1),
#tf-2019 .tf-accordion > details:nth-child(4) .original-content > img:nth-of-type(2) {
  width: 181px;
  height: 200px;
  object-fit: cover;
}

.project-break {
  margin-top: 10px;
}

.project-spacer {
  height: 2.4em;
}

.project-title-gap {
  margin-top: 8px;
}

.project-meta {
  text-align: right;
}

.credit-name {
  font-weight: 600;
}

.film-compact {
  line-height: 1.2;
}

.festival-logos {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 12px 0 16px;
}

.festival-logos img {
  width: auto;
  max-width: 115px;
  max-height: 72px;
  margin: 0;
}

.still-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}

.still-grid img {
  width: 100%;
  margin: 0;
}

.type-scale {
  font-family: var(--sans);
}

.type-scale p {
  margin: 0 0 8px;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .site-shell {
    grid-template-columns: 1fr;
    gap: 0;
    width: calc(100vw - 28px);
    padding-top: 12px;
    overflow-x: hidden;
  }

  .main-menu {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 8px 0 10px;
    background: #fff;
  }

  .brand {
    display: block;
    margin-bottom: 8px;
  }

  .brand-logo {
    width: 48px;
    margin: 0;
  }

  .primary-menu {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .menu-space {
    display: none;
  }

  .menu-link {
    flex: 0 0 auto;
  }

  .menu-gap-medium,
  .menu-gap-large,
  .menu-gap-xlarge {
    margin-top: 0;
  }

  .still-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tf-film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tf-booklet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tf-film-card span {
    opacity: 1;
    background: rgb(0 0 0 / 55%);
  }

  .sub-menu {
    position: sticky;
    top: 82px;
    z-index: 9;
    padding: 6px 0 10px;
    background: #fff;
  }

  .subnav-panel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .subnav-panel[hidden] {
    display: none;
  }

  .content {
    padding-top: 18px;
  }
}
