:root {
  color-scheme: dark;
  background: #000;
  color: #fff;
}
* { box-sizing: border-box }
body, h1 { margin: 0 }

.entry {
  --gap: clamp(8px, 1.5vmin, 20px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  grid-template-rows: minmax(0, 2.7fr) minmax(3rem, 1fr);
  gap: var(--gap);
  column-gap: calc(3 * var(--gap));
  padding: calc(3 * var(--gap));
  height: 100vh;
  height: 100svh;
  min-height: 10rem;
}
.entry-brand { grid-column: 1 / -1; min-height: 0 }
.entry-brand a, .entry-brand picture, .entry-brand img { display: block; width: 100%; height: 100% }
.entry a { position: relative; touch-action: manipulation }
.entry a:focus-visible { outline: 3px dashed currentColor; outline-offset: -5px; z-index: 1 }
.entry-brand a { background: #000; color: #fff }
.entry-brand picture { position: relative; pointer-events: none }
.brand-film {
  --film-mask: url("/media/titelzug-quer-maske.svg?v=214e54e422");
  --film-position: center 22%;
  --film-poster: url("/media/konzertloop-quer.webp?v=1cd3c508be");
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
  .brand-film {
    display: block;
    background: var(--film-poster) var(--film-position) / cover no-repeat;
    -webkit-mask: var(--film-mask) center / 100% 100% no-repeat;
    mask: var(--film-mask) center / 100% 100% no-repeat;
  }
}
.brand-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--film-position);
  opacity: 0;
}
.brand-film video.is-playing { opacity: 1 }
@media (max-aspect-ratio: 4/5) {
  .brand-film {
    --film-mask: url("/media/titelzug-hoch-maske.svg?v=a814e1a267");
    --film-poster: url("/media/konzertloop-hoch.webp?v=47a314d161");
  }
}
.entry-format {
  /* Keep the title row at its original size as the separator grows. */
  margin-block-start: calc(2 * var(--gap));
  display: block;
  overflow: clip;
  min-width: 0;
  min-height: 0;
  background: var(--middle);
  color: var(--dark);
}
.entry-format svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.flinta { --middle: #FF5C86; --pale: #EFD4FF; --dark: #4C2466 }
.diversity { --middle: #6094FF; --pale: #FCAE57; --dark: #2F295D }
@media (hover:hover) {
  .entry-format:hover { background: var(--pale) }
}
@media (orientation:portrait) {
  .entry { grid-template-rows: minmax(0, 1fr) clamp(5rem, 29vw, 25svh) }
}
@media (forced-colors:active) {
  .entry-brand a { forced-color-adjust: none }
  .brand-film { display: none }
  .entry-format { outline: 1px solid LinkText; color: LinkText }
}
