@font-face {
  font-family: "PP Neue Montreal";
  src: url("../fonts/PP_Neue_Montreal/PPNeueMontreal-Extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Times Newer Roman";
  src: url("../fonts/Times_Newer_Roman/TimesNewerRoman-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "PP Neue Montreal", Arial, sans-serif;
  --font-body: "Times Newer Roman", Times, serif;
}

::selection {
  background-color: #ff0099;
  color: #000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 20px;
  width: 100%;
  max-width: 100%;
}

@media screen and (max-width: 820px) {
  html {
    font-size: calc(17px + 6 * ((100vw - 320px) / 680));
  }
}

/* =========================
   FESTER WEISSER VERLAUF UNTEN
========================= */

.bottom-fade {
  position: fixed;
  inset: 0;

  z-index: 1;
  pointer-events: none;
}


/* Verlauf */

.bottom-fade::before {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0rem;

  height: 12rem;

  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.75) 20%,
    rgba(255, 255, 255, 0) 80%

  );
}


/* KOMPLETT weiße Fläche darunter */

.bottom-fade::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 0;

  background: #fff;
}

strong{
  font-family: var(--font-display);
  text-transform: uppercase;
}

/* =========================
   LOGO HEADER
========================= */

.site-logo {
  position: absolute;
  top: 1rem;
  left: 1rem;

  z-index: 100;

  display: block;

  transform-origin: top left;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.3s ease;
}

.site-logo img {
  width: auto;
  height: 1.3rem;
}

/* Desktop */

.site-logo .site-logo-desktop {
  display: block;
}

.site-logo .site-logo-mobile {
  display: none;

}

/* Mobile */

@media screen and (max-width: 48rem) {
  .site-logo .site-logo-desktop {
    display: none;
  }

  .site-logo .site-logo-mobile {
    display: block;
  }
}


/* =========================
   STARTSEITE
========================= */

.home {
  position: relative;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}


/* =========================
   HINTERGRUND
========================= */

.home-background {
  position: fixed;
  inset: 0;

  overflow: hidden;

  z-index: 2;
}

.home-background video,
.home-background img {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.home-background-desktop {
  display: block;
}

.home-background-mobile {
  display: none;
}


/* =========================
   MOBILE
========================= */

@media screen and (max-width: 48rem) {

  .home-background-desktop {
    display: none;
  }

  .home-background-mobile {
    display: block;
  }

  .home-background {
    top: 0;
    right: 0;
    bottom: -5rem;
    left: 0;
  }

}


/* =========================
   DATUM
========================= */

.home-date {
  position: fixed;

  top: 1.3rem;
  right: 1.5rem;

  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: flex-end;

  color: #000;

  font-family: var(--font-body);
  font-size: 6rem;
  line-height: 0.8;
  letter-spacing: -0.07em;

  text-align: right;

  white-space: nowrap;
}

.home-date-start {
  display: inline;
}

.home-date-separator {
  display: inline;
}

.home-date-end {
  display: inline;
}


/* =========================
   WORTMARKE
========================= */

.home-wordmark {
  position: fixed;

  top: 0;
  left: 0;

  z-index: 1;

  padding: 1rem;
}


/* Desktop */

.home-wordmark-desktop {
  display: block;

  width: 45vw;
  height: auto;
}

.home-wordmark-mobile {
  display: none;
}


/* =========================
   MENÜ HINWEIS
========================= */

.home-menu-wrapper {
  position: fixed;

  left: 50%;
  bottom: 1rem;

  transform: translateX(-50%);

  z-index: 1000;

  display: flex;
  flex-direction: column;
  align-items: center;

  pointer-events: none;

  mix-blend-mode: multiply;

  z-index: 2;
}

.home-menu-label {
  margin-bottom: 7.5rem;

  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.08em;

  color: #000;

  text-transform: uppercase;

  white-space: nowrap;
}

.home-menu-wrapper .menu-logo {
  position: static;

  transform: none;

  pointer-events: auto;
}


/* =========================
   MOBILE
========================= */

@media screen and (max-width: 48rem) {

  /* =========================
     DATUM OBEN MITTIG
  ========================= */

  .home-date {
    top: 1rem;
    left: 50%;
    right: auto;

    transform: translateX(-50%);

    width: max-content;

    display: flex;
    flex-direction: row;
    align-items: center;

    font-size: 3.6rem;
    line-height: 1;

    text-align: center;

    white-space: nowrap;
  }

  .home-date-start,
  .home-date-separator,
  .home-date-end {
    display: inline;
  }

  .home-date-separator {
    margin: 0 0.15em;
  }


  /* =========================
     MOBILE WORTMARKE
  ========================= */

  .home-wordmark {
    top: 4rem;
    left: 0;

    width: 100%;

    padding: 0 1rem;
  }

  .home-wordmark-desktop {
    display: none;
  }

  .home-wordmark-mobile {
    display: block;

    width: 100%;
    height: auto;
  }


  /* =========================
     MENÜ HINWEIS
  ========================= */

  .home-menu-label {
    margin-bottom: 8rem;
  }

}

/* UNTERSTÜTZER LINK UNTEN RECHTS */

.support-link {
  position: fixed;
  left: 1rem;
  bottom: 1rem;

  background-color: #000;

  padding: 0.5rem 1rem;
  border-radius: 10rem;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;

  z-index: 1;

  color: #fff;
  text-decoration: none;
  text-transform: uppercase;

  transition: transform 0.3s ease;

  z-index: 3;
}

.support-link:hover{
  transform: scale(1.1) translate(5%, -5%);
}

/* MOBILE */


.program-card-title,
.event-title,
.calendar-event-title {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;

  overflow-wrap: normal;
  word-break: normal;
}

/* =========================
   PROGRAMMSEITE
========================= */

.program-page {
  min-height: 100vh;
  padding: 1rem;

  color: #000;

  margin-bottom: 20rem;
}

.program-heading,
.event-back {
  display: block;
  margin-bottom: 2rem;

  text-align: right;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  color: #000;
  text-decoration: none;
  text-transform: uppercase;
}
/* =========================
   PROGRAMMSEITE
========================= */

.program-page {
  min-height: 100vh;

  padding: 1rem;
  margin-bottom: 20rem;

  color: #000;
}


/* =========================
   ÜBERSCHRIFT / ZURÜCK
========================= */

.program-heading,
.event-back {
  display: block;

  margin-bottom: 2rem;

  text-align: right;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  color: #000;
  text-decoration: none;
  text-transform: uppercase;
}


/* =========================
   PROGRAMMÜBERSICHT
========================= */

.program-grid {
  position: relative;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 1rem;

  width: 100%;

  align-items: start;
}


/* =========================
   PROGRAMMKARTE
========================= */

.program-card {
  position: relative;

  width: 100%;
  min-width: 0;

  height: auto;

  margin: 0;

  will-change: transform;
}


.program-card-link {
  display: block;

  width: 100%;

  color: inherit;
  text-decoration: none;
}


/* =========================
   BILD
========================= */

.program-card-image {
  position: relative;

  width: 100%;

  margin: 0;

  overflow: hidden;
}


.program-card-image img {
  display: block;

  width: 100%;
  max-width: 100%;

  height: auto;

  object-fit: cover;

  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}


.program-card-link:hover
.program-card-image img {
  transform: scale(1.02);
}


/* =========================
   PROGRAMMKARTE CONTENT
========================= */

.program-card-content {
  width: 100%;

  padding-top: 0.5rem;
}


/* =========================
   TITEL
========================= */

.program-card-title {
  margin: 0;

  min-width: 0;

  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.9;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: -0.025em;

  overflow-wrap: anywhere;
  word-break: normal;

  hyphens: auto;
  -webkit-hyphens: auto;
}


/* =========================
   DATUM + UHRZEIT
========================= */

.program-card-meta {
  margin-top: 0.25rem;

  font-family: var(--font-body);
  font-size: 3rem;
  line-height: 0.9;

  letter-spacing: -0.025em;
}


.program-card-date-block {
  display: block;
}


.program-card-date-block
+ .program-card-date-block {
  margin-top: 0.5rem;
}


.program-card-date {
  display: block;
}


.program-card-time {
  display: flex;

  align-items: flex-start;

  white-space: nowrap;
}


.program-card-time span {
  margin-top: 0.1em;
  margin-left: 0.1em;

  font-size: 0.45em;
  line-height: 1;
}


/* =========================
   BILDNACHWEIS
========================= */

.event-image,
.program-card-image {
  position: relative;
}


.image-credit {
  position: absolute;

  left: 0.5rem;
  bottom: 0.5rem;

  z-index: 2;

  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  font-weight: 800;

  color: #fff;

  text-transform: uppercase;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}


.event-image:hover
.image-credit,

.program-card-image:hover
.image-credit {
  opacity: 1;
  visibility: visible;
}


/* =========================
   DETAILSEITE
========================= */

.event-detail {
  width: 100%;
  min-width: 0;
}


/* =========================
   HEADER
========================= */

.event-header {
  position: relative;

  width: 100%;

  min-width: 0;
}


.event-title {
  max-width: calc(100% - 9rem);

  margin: 0;

  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.9;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: -0.025em;

  overflow-wrap: anywhere;
  word-break: normal;

  hyphens: auto;
  -webkit-hyphens: auto;
}


/* =========================
   TERMINE
========================= */

.event-date-row {
  display: flex;

  flex-wrap: wrap;

  align-items: flex-start;

  gap: 2rem 6rem;

  width: 100%;

  margin-top: 0.25rem;

  font-family: var(--font-body);
  font-size: 3rem;
  line-height: 0.85;

  letter-spacing: -0.025em;
}


.event-termin {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  flex: 0 0 auto;

  min-width: 0;
}


.event-date {
  display: block;
}


.event-time {
  display: flex;

  align-items: flex-start;

  white-space: nowrap;
}


.event-time span {
  margin-top: 0.1em;
  margin-left: 0.1em;

  font-size: 0.45em;
  line-height: 1;
}


/* =========================
   TICKET BUTTON
========================= */

.event-buy-button {
  position: relative;

  z-index: 2;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin-top: 2rem;

  padding: 0.5rem 1rem;

  border-radius: 999rem;

  background: #000;

  color: #fff;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-decoration: none;
  text-transform: uppercase;

  transition: transform 0.3s ease;
}


.event-buy-button:hover {
  transform: scale(1.08);
}


/* =========================
   INFORMATIONEN
========================= */

.event-information {
  display: grid;

  grid-template-columns:
    repeat(6, minmax(0, 1fr));

  gap: 1rem;

  width: 100%;

  margin-top: 3rem;
}


.event-info-item {
  min-width: 0;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}


.event-info-item h2,
.event-text-section h2 {
  margin: 0;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: -0.025em;
}


.event-info-item p {
  margin: 0;
}


/* =========================
   BILD + BESCHREIBUNG
========================= */

.event-main-content {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  align-items: start;

  gap: 1rem;

  width: 100%;

  margin-top: 3rem;
}


.event-image-column,
.event-text-column {
  min-width: 0;
}


.event-image {
  width: 100%;

  margin: 0;
}


.event-image img {
  display: block;

  width: 100%;
  max-width: 100%;

  height: auto;

  object-fit: cover;
}


/* =========================
   TEXTSPALTE
========================= */

.event-text-column {
  display: flex;

  flex-direction: column;

  gap: 2rem;
}


.event-text-section {
  min-width: 0;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.1;
}


.event-copy {
  min-width: 0;
}


.event-copy p {
  margin: 0;

  line-height: 1.1;
}


.event-copy p + p {
  margin-top: 1rem;
}


.event-copy a,
.event-info-item a {
  color: inherit;

  text-decoration: underline;
}


/* =========================
   LEERER ZUSTAND
========================= */

.program-empty {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}


/* =========================
   TABLET
========================= */

@media screen and (max-width: 70rem)
and (min-width: 48.01rem) {

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


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

}


/* =========================
   MOBILE
========================= */

@media screen and (max-width: 48rem) {

  /* -------------------------
     PROGRAMMSEITE
  ------------------------- */

  .program-page {
    margin-bottom: 12rem;

    overflow-x: clip;
  }


  /* -------------------------
     PROGRAMMÜBERSICHT
  ------------------------- */

  .program-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 2rem;

    width: 100%;

    height: auto !important;
  }


  .program-card {
    width: 100%;

    min-width: 0;

    margin: 0;

    transform: none !important;

    will-change: auto;
  }


  .program-card-link,
  .program-card-content,
  .program-card-image {
    width: 100%;

    min-width: 0;

    max-width: 100%;
  }


  .program-card-title,
  .program-card-meta {
    font-size: 3rem;
  }


  /* -------------------------
     DETAIL
  ------------------------- */

  .event-detail,
  .event-header,
  .event-main-content,
  .event-image-column,
  .event-text-column,
  .event-information,
  .event-info-item,
  .event-text-section,
  .event-copy {
    width: 100%;

    min-width: 0;

    max-width: 100%;
  }


  .event-title {
    max-width: 100%;

    font-size: 3.6rem;

    overflow-wrap: anywhere;

    word-break: normal;

    hyphens: auto;
    -webkit-hyphens: auto;
  }


  /* -------------------------
     TERMINE
  ------------------------- */

  .event-date-row {
    gap: 1rem 2rem;

    width: 100%;

    font-size: 3rem;
  }


  .event-termin {
    min-width: 0;

    max-width: 100%;
  }


  .event-time {
    max-width: 100%;

    white-space: nowrap;
  }


  /* -------------------------
     TICKET
  ------------------------- */

  .event-buy-button {
    display: inline-flex;

    margin-top: 1rem;
  }


  /* -------------------------
     INFORMATIONEN
  ------------------------- */

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

    gap: 2rem 1rem;
  }


  .event-info-item,
  .event-copy {
    overflow-wrap: anywhere;

    word-break: normal;

    hyphens: auto;
    -webkit-hyphens: auto;
  }


  /* -------------------------
     BILD + TEXT
  ------------------------- */

  .event-main-content {
    grid-template-columns: 1fr;

    gap: 2rem;

    margin-top: 3rem;
  }


  .event-image,
  .event-image img {
    width: 100%;

    max-width: 100%;
  }

}

/* =========================
   KALENDERSEITE
========================= */

.calendar-page {
  min-height: 100vh;
  padding: 1rem;
  margin-bottom: 16rem;

  background: #fff;
  color: #000;
}

.calendar-heading {
  margin-bottom: 3rem;

  text-align: right;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
}


/* =========================
   KALENDERTAG
========================= */

.calendar-day {
  margin-bottom: 5rem;
}

.calendar-day-title {
  margin: 0;
  padding-bottom: 0.5rem;

  border-bottom: 0.25rem solid #000;

  font-family: var(--font-body);
  font-size: 3rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.045em;
}


/* =========================
   KALENDEREINTRAG
========================= */

.calendar-event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;

  border-bottom: 1px solid #000;
}

.calendar-event-main {
  display: grid;
  grid-template-columns:
    minmax(12rem, 1fr)
    minmax(20rem, 2.2fr)
    minmax(9rem, 0.75fr);

  gap: 1rem;

  padding: 1rem 0;

  color: inherit;
  text-decoration: none;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}
/* 
.calendar-event-main:hover {
  background-color: #eee;
} */


/* =========================
   UHRZEIT
========================= */

.calendar-event-time {
  font-family: var(--font-body);
  font-size: 3rem;
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.calendar-time-range {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.calendar-time-start {
  white-space: nowrap;
}

.calendar-time-end,
.calendar-time-single {
  display: flex;
  align-items: flex-start;
  white-space: nowrap;
}

.calendar-time-end small,
.calendar-time-single small {
  margin-top: 0.08em;
  margin-left: 0.1em;

  font-size: 0.45em;
  line-height: 1;
  letter-spacing: -0.025em;
}


/* =========================
   TITEL UND COMPANY
========================= */

.calendar-event-title-column {
  min-width: 0;
}

.calendar-event-title {
  margin: 0;

  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.85;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.calendar-event-company {
  margin-top: 0.1rem;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}

.calendar-event-company p {
  margin: 0;
}


/* =========================
   TICKET
========================= */

.calendar-event-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  min-width: 9.5rem;

  padding-top: 1rem;
  padding-bottom: 1rem;
}

.calendar-ticket-heading {
  margin: 0;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
}

.calendar-event-price {
  margin-top: 0;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;

  text-align: left;
}

.calendar-event-price p {
  margin: 0;
}


/* =========================
   KAUFEN
========================= */

.calendar-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 0.75rem;

  padding: 0.5rem 1rem;

  border-radius: 10rem;

  background: #000;
  color: #fff;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-decoration: none;
  text-transform: uppercase;

  transition: transform 0.3s ease;
}

.calendar-buy-button:hover {
  transform: scale(1.1);
}

.calendar-event-genre {
  min-width: 0;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}

.calendar-event-genre h3 {
  margin: 0 0 0.1rem;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
}

.calendar-event-genre div {
  margin-right: 1rem;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
  word-break: break-word;
  hyphens: auto;
}


/* =========================
   LEERER ZUSTAND
========================= */

.calendar-empty {
  font-family: var(--font-body);
  font-size: 1.5rem;
}

@media screen and (max-width: 48rem) {

  .calendar-day {
    margin-bottom: 10rem;
  }

  .calendar-event {
    display: block;
    border-bottom: 1px solid #000;
    padding: 1rem 0;
  }

  .calendar-event-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
  }

  .calendar-event-time,
  .calendar-event-title,
  .calendar-event-company,
  .calendar-event-tickets {
    width: 100%;
  }

  .calendar-event-tickets {
    margin: 0;
  }

  .calendar-event-buy {
    position: static;

    display: block;

    margin-top: 1rem;
    padding: 0;
  }

  .calendar-event-price{
    padding-top: 0.5rem;
  }

  .calendar-buy-button {
    display: inline-flex;
    font-size: 2rem;
  }

}

/* =========================
   ARCHIV
========================= */

.archive-page{
    padding:1rem;
    margin-bottom:20rem;
}

.archive-heading{
    margin-bottom:2rem;

    text-align: right;

    font-family:var(--font-display);
    font-size:1.5rem;
    line-height:1;
    text-transform:uppercase;
}

.archive-year{
    margin-bottom:6rem;
}

.archive-title{
    font-family:var(--font-display);
    font-size:5rem;
    line-height:.9;
    letter-spacing: -0.025em;
    text-transform:uppercase;
}

.archive-credit{
    margin-bottom:1rem;

    font-family:var(--font-body);
    font-size:1.5rem;
    line-height:1;
}

/* Masonry */

.archive-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.archive-image{
    break-inside:avoid;
}

.archive-image img{
    display:block;
    width:100%;
    height:auto;
}

.archive-image-button {
  display: block;
  width: 100%;

  border: 0;
  padding: 0;
  background: transparent;

  cursor: pointer;
}

.archive-image-button img {
  display: block;
  width: 100%;
  height: auto;

  transition: transform 0.3s ease;
}

.archive-image-button:hover img {
  transform: scale(1.02);
}


/* =========================
   LIGHTBOX
========================= */

.archive-lightbox {
  position: fixed;
  inset: 0;

  z-index: 5000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 4rem;

  background: rgba(255, 255, 255, 0.96);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.3s;
}

.archive-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    opacity 0.3s ease,
    visibility 0s linear 0s;
}

.archive-lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
}

.archive-lightbox-image {
  display: block;

  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;

  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.archive-lightbox.is-open .archive-lightbox-image {
  transform: scale(1);
}

.archive-lightbox-close,
.archive-lightbox-prev,
.archive-lightbox-next {
  position: absolute;


  display: flex;
  align-items: center;
  justify-content: center;

  width: 3rem;
  height: 3rem;

  border: 0;
  border-radius: 50%;
  padding: 0;

  background-color: #000;

  cursor: pointer;
  z-index: 1001;

  transform: translate(0, 0) scale(1);

  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.archive-lightbox-close:hover {
  transform: translate(-10%, 10%) scale(1.3);
}

.archive-lightbox-prev:hover {
  transform: translate(20%, -30%) scale(1.3);
}

.archive-lightbox-next:hover {
  transform: translate(-20%, -30%) scale(1.3);
}

.archive-lightbox-close {
  top: 1rem;
  right: 1rem;

  width: 3rem;
  height: 3rem;

  border-radius: 50%;

  font-size: 2.5rem;
  line-height: 1;
}

.archive-lightbox-close img,
.archive-lightbox-prev img,
.archive-lightbox-next img {
  display: block;

  width: 65%;
  height: 65%;

  object-fit: contain;
}

.archive-lightbox-prev,
.archive-lightbox-next {
  top: 50%;

  width: 3rem;
  height: 3rem;

  border-radius: 50%;

  font-size: 1.5rem;
  line-height: 1;

  transform: translateY(-50%);
}

.archive-lightbox-prev {
  left: 1rem;
}

.archive-lightbox-next {
  right: 1rem;
}

body.lightbox-open {
  overflow: hidden;
}

@media screen and (max-width: 48rem) {
  .archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .archive-title{
    font-size: 3rem;
  }

  .archive-lightbox {
    padding: 4rem 1rem;
  }

  .archive-lightbox-prev,
  .archive-lightbox-next {
    top: auto;
    bottom: 1rem;

    transform: none;
  }

  .archive-lightbox-prev {
    left: 1rem;
  }

  .archive-lightbox-next {
    right: 1rem;
  }
}
/* =========================
   KONTAKT
========================= */

.contact-page {
  min-height: 100vh;

  padding: 1rem;
  margin-bottom: 20rem;

  color: #000;
}


/* =========================
   HEADING
========================= */

.contact-heading {
  margin-bottom: 4rem;

  text-align: right;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
}


/* =========================
   POSTADRESSE
========================= */

.contact-address {
  margin-bottom: 5rem;
}

.contact-address h2,
.contact-person h2 {
  margin: 0 0 0.2rem;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.contact-address-data {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}


/* =========================
   KONTAKTE
========================= */

.contact-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 1rem;

  align-items: start;
}

.contact-person {
  min-width: 0;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}

.contact-person-name {
  margin: 0;
}

.contact-person-email {
  display: inline-block;

  color: inherit;
  text-decoration: underline;

  overflow-wrap: anywhere;
}

.contact-mail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 0.5rem;

  padding: 0.4rem 0.9rem;

  border-radius: 999rem;

  background: #000;
  color: #fff;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-decoration: none;
  text-transform: uppercase;

  transform-origin: left center;
  transition: transform 0.3s ease;
}

.contact-mail-button:hover {
  transform: scale(1.1);
}


/* =========================
   TABLET
========================= */

@media screen and (max-width: 70rem) {

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

    row-gap: 3rem;
  }

}



/* =========================
   MOBILE
========================= */

@media screen and (max-width: 48rem) {

  .contact-page {
    margin-bottom: 12rem;
  }

  .contact-heading {
    margin-bottom: 3rem;
  }

  .contact-address {
    margin-bottom: 4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

}

/* =========================
   ÜBER UNS
========================= */

.about-page {
  min-height: 100vh;

  padding: 1rem;
  margin-bottom: 20rem;

  color: #000;
}


/* =========================
   HEADING
========================= */

.about-heading {
  margin-bottom: 2rem;

  text-align: right;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
}


/* =========================
   LAYOUT
========================= */

.about-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: start;
}


/* =========================
   LINKE SPALTE
========================= */

.about-main {
  min-width: 0;
}

.about-image {
  width: 100%;

  margin: 0 0 1rem;
}

.about-image img {
  display: block;

  width: 100%;
  height: auto;
}


/* =========================
   FLIESSTEXT
========================= */

.about-copy {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.1;
}

.about-copy p {
  margin: 0 0 1rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy a {
  color: inherit;

  text-decoration: underline;
}


/* =========================
   RECHTE SPALTE
========================= */

.about-sidebar {
  display: flex;

  flex-direction: column;

  gap: 2.5rem;

  min-width: 0;
}


/* =========================
   INFO BLOCK
========================= */

.about-info-block h2 {
  margin: 0 0 0.15rem;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  word-break: break-word;

  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.about-info-copy {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.1;
}

.about-info-copy p {
  margin: 0;
}

.about-info-copy a {
  color: inherit;

  text-decoration: underline;
}

.about-supporters-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 1rem;
  margin-top: 1rem;
}

.about-supporter-logo {
  width: 100%;
}

.about-supporter-logo img {
  display: block;

  width: auto;
  max-width: 100%;
  height: auto;

  max-height: 4rem;

  object-fit: contain;
  object-position: left center;
}


/* =========================
   TABLET
========================= */

@media screen and (max-width: 70rem) {

  .about-sidebar {
    gap: 2rem;
  }

}


/* =========================
   MOBILE
========================= */

@media screen and (max-width: 48rem) {

  .about-page {
    margin-bottom: 12rem;
  }

  .about-layout {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

  .about-sidebar {
    gap: 2rem;
  }

}



/* =========================
   BILDUNGSANGEBOT
========================= */

.education-page {
  min-height: 100vh;

  padding: 1rem;
  margin-bottom: 20rem;

  color: #000;
}


/* =========================
   HEADING
========================= */

.education-heading {
  margin-bottom: 2rem;

  text-align: right;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
}


/* =========================
   HERO
========================= */

.education-hero {
  width: 100vw;
  margin: -1rem;
}

.education-hero img {
  display: block;

  width: 100%;
  height: auto;
}


/* =========================
   TYPOGRAFIE
========================= */

.education-page h2 {
  margin: 0;

  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.9;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: -0.025em;

  hyphens: auto;
  -webkit-hyphens: auto;

  word-break: break-word;
}

.education-page h3 {
  margin: 0;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
}

.education-copy {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.1;
}

.education-copy p {
  margin: 0 0 1rem;
}

.education-copy p:last-child {
  margin-bottom: 0;
}

.education-copy a {
  color: inherit;
  text-decoration: underline;
}


/* =========================
   INTRO
========================= */

.education-intro {
  margin-bottom: 5rem;
}

.education-intro-title {
  max-width: 80rem;

  margin-bottom: 1rem !important;

  font-size: 4.5rem !important;
}


/* =========================
   SCHULANGEBOTE
========================= */

.education-school {
  padding-top: 1rem;
  margin-bottom: 6rem;

  border-top: 1px solid #000;
}

.education-section-title {
  margin-bottom: 0.5rem !important;
}

.education-school-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 2rem;
}


/* =========================
   ANGEBOTE
========================= */

.education-offer {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  align-items: start;

  gap: 1rem;

  padding: 1rem 0 5rem;

  border-top: 1px solid #000;
}

.education-offer-text {
  min-width: 0;

  padding-right: 1rem;
}

.education-offer-title {
  max-width: 95%;

  margin-bottom: 0.5rem !important;
}


/* =========================
   ANGEBOT BILD
========================= */

.education-offer-image {
  width: 100%;
  margin: 0;
}

.education-offer-image img {
  display: block;

  width: 100%;
  height: auto;
}


/* =========================
   BUTTONS
========================= */

.education-button,
.education-small-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin-top: 1rem;

  padding: 0.35rem 0.7rem;

  border: 0;
  border-radius: 999rem;

  background: #000;
  color: #fff;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-decoration: none;
  text-transform: uppercase;

  transition: transform 0.3s ease;
}

.education-button:hover,
.education-small-button:hover {
  transform: scale(1.08);
}


/* =========================
   INFOZEILE
========================= */

.education-info {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 2rem;

  padding: 1rem 0 5rem;

  border-top: 1px solid #000;
}

.education-info-item {
  min-width: 0;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}

.education-info-item p {
  margin: 0;
}


/* =========================
   UNTERRICHT
========================= */

.education-classroom {
  padding-bottom: 5rem;
}


/* =========================
   DATUM
========================= */

.education-event-date {
  margin-top: 0.5rem;

  font-family: var(--font-body);
  font-size: 3rem;
  line-height: 0.9;

  letter-spacing: -0.035em;
}


/* =========================
   META
========================= */

.education-meta {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 1rem;

  margin: 2rem 0;
}

.education-meta p {
  margin: 0;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}


/* =========================
   TEILNAHME / ANMELDUNG
========================= */

.education-registration {
  padding: 1rem 0 5rem;

  border-top: 1px solid #000;
}


/* Teilnahme-Text oben */

.education-registration-intro {
  width: 100%;

  margin-bottom: 1rem;
}


/* Zwei Buttons nebeneinander */

.education-registration-actions {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 2rem;
}


/* Ein Button + Text darunter */

.education-registration-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;
}


/* Button */

.education-registration-button {
  margin-top: 0;
}


/* kleiner Text unter Button */

.education-registration-note {
  margin: 0.15rem 0 0;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}


/* =========================
   KONTAKT
========================= */

.education-contact {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 2rem;

  padding-top: 1rem;

  border-top: 1px solid #000;
}

.education-contact-item h2 {
  margin-bottom: 0.5rem;

  font-size: 1.5rem;
}


/* =========================
   TABLET
========================= */

@media screen and (max-width: 70rem) {

  .education-intro-title {
    font-size: 3.6rem !important;
  }

}


/* =========================
   MOBILE
========================= */

@media screen and (max-width: 48rem) {

  .education-page {
    margin-bottom: 12rem;
  }


  /* INTRO */

  .education-intro {
    margin-bottom: 4rem;
  }

  .education-intro-title {
    max-width: none;
  }


  /* SCHULANGEBOTE */

  .education-school {
    margin-bottom: 4rem;
  }

  .education-school-grid {
    grid-template-columns: 1fr;

    gap: 1rem;
  }


  /* ANGEBOTE */

  .education-offer {
    grid-template-columns: 1fr;

    gap: 2rem;

    padding-bottom: 4rem;
  }

  .education-offer-text {
    padding-right: 0;
  }

  .education-offer-title {
    max-width: none;
  }


  /* INFO */

  .education-info {
    grid-template-columns: 1fr;

    gap: 2rem;

    padding-bottom: 4rem;
  }


  /* META */

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

    gap: 0.75rem;
  }


  /* TEILNAHME */

  .education-registration-actions {
    grid-template-columns:
      repeat(1, minmax(0, 1fr));

    gap: 1rem;
  }


  /* KONTAKT */

  .education-contact {
    grid-template-columns: 1fr;

    gap: 2rem;
  }

}


/* =========================
   FOOTER
========================= */

.site-footer {
  position: relative;

  border-top: 1px solid #000;
  margin: 1rem;
  padding-top: 1rem;

  padding-bottom: 10rem;

  /* padding: 1rem; */

  display: grid;
  grid-template-columns:
    minmax(15rem, 1.15fr)
    minmax(12rem, 1fr)
    minmax(12rem, 1fr)
    minmax(10rem, 0.8fr)
    auto;

  column-gap: 3rem;
  align-items: start;
  
  z-index: 2;

  background: #fff;
  color: #000;
}


/* =========================
   WORTMARKE UND ADRESSE
========================= */

.footer-brand {
  align-self: start;
}

.footer-wordmark {
  display: block;
  width: 20vw;
}

.footer-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-address {
  margin-top: 1.5rem;

  font-family: var(--font-body);
  font-size: 1.45rem;
  line-height: 0.95;
  font-style: normal;
  letter-spacing: -0.035em;
}


/* =========================
   FOOTER-LINKS
========================= */

.footer-main-menu,
.footer-meta-menu,
.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-main-menu a,
.footer-meta-menu a,
.footer-socials a,
.footer-language {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.025em;

  word-break: break-word;

  transition:
    font-size 0.25s ease,
    transform 0.25s ease;
}

.footer-main-menu a:hover,
.footer-meta-menu a:hover,
.footer-socials a:hover,
.footer-language:hover {
  font-size: 2rem;
}



.footer-language {
  align-self: start;
  justify-self: end;
}


/* =========================
   MOBILE
========================= */

@media screen and (max-width: 48rem) {

  .site-footer {
  
    display: grid;
    grid-template-columns:
      minmax(0, 1.35fr)
      minmax(8rem, 1fr);

    grid-template-rows: auto auto auto auto;
    align-content: end;
    align-items: start;

    column-gap: 1rem;
    row-gap: 1.75rem;
  }


  /* Linke Spalte */

  .footer-brand {
    grid-column: 1;
    grid-row: 1 / span 4;

    align-self: start;
  }

  .footer-wordmark {
    width: 45vw;
  }

  .footer-address {
    margin-top: 1rem;
    
  }


  /* Rechte Spalte */

  .footer-main-menu {
    display: none;
  }

  .footer-meta-menu {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-socials {
    grid-column: 2;
    grid-row: 2;

    margin: 0;
  }

  .footer-language {
    grid-column: 2;
    grid-row: 3;

    align-self: end;
    justify-self: start;
  }


  /* Menülogo unten mittig */

  .footer-menu-logo {
    left: 50%;
    bottom: 0.75rem;

    width: 5.5rem;
    height: 5.5rem;
  }
}

/* =========================
   FOOTER FÖRDERLOGOS
========================= */

.footer-supporters {
  grid-column: 1 / -1;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 3rem;

  align-items: center;

  padding-top: 2rem;
}

.footer-supporter-logo {
  display: flex;
  align-items: left;
  justify-content: left;

  min-width: 0;
}

.footer-supporter-logo img {
  display: block;

  max-width: 100%;
  max-height: 4.5rem;

  width: auto;
  height: auto;

  object-fit: contain;
}

@media screen and (max-width: 48rem) {

  .footer-supporters {
    grid-column: 1 / -1;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap:1.5rem;
    padding-top: 0;

  }

  .footer-supporter-logo img {
    max-height: 4rem;
  }

}

/* =========================
   IMPRESSUM / DATENSCHUTZ / COOKIES
========================= */

.legal-page {
  min-height: 100vh;

  padding: 1rem;
  margin-bottom: 20rem;

  color: #000;
}

.legal-heading {
  margin-bottom: 3rem;

  text-align: right;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
}

.legal-content {
  width: 100%;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}

.legal-content p {
  margin: 0 0 1.5rem;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  margin: 2rem 0 0;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.legal-content > h1:first-child,
.legal-content > h2:first-child,
.legal-content > h3:first-child {
  margin-top: 0;
}

.legal-content a {
  color: inherit;
  text-decoration: underline;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1.5rem 1.5rem;
}

.legal-content li {
  margin: 0;
}

@media screen and (max-width: 70rem) {

  .legal-content {
    width: 66.666%;
  }

}

@media screen and (max-width: 48rem) {

  .legal-page {
    margin-bottom: 12rem;
  }

  .legal-heading {
    margin-bottom: 3rem;
  }

  .legal-content {
    width: 100%;
  }

}

/* =========================
   NEWSLETTER
========================= */

.newsletter-page {
  min-height: 100vh;

  padding: 1rem;
  margin-bottom: 20rem;

  color: #000;
}

.newsletter-heading {
  margin-bottom: 4rem;

  text-align: right;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
}

.newsletter-content {
  width: 100%;
  max-width: 50rem;
}

.newsletter-copy {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}

.newsletter-copy p {
  margin: 0 0 1rem;
}

.newsletter-copy a {
  color: inherit;
  text-decoration: underline;
}


/* =========================
   FORMULAR
========================= */

.newsletter-form {
  margin-top: 3rem;
}

.newsletter-field {
  display: flex;
  flex-direction: column;

  width: 100%;
}

.newsletter-field label {
  margin-bottom: 0.25rem;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
}

.newsletter-field input {
  width: 100%;

  padding: 0.5rem 0;

  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;

  background: transparent;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;

  color: #000;

  outline: none;
}

.newsletter-field input::placeholder {
  color: #999;
}

.newsletter-field input:focus {
  border-bottom-width: 2px;
}


/* =========================
   BUTTON
========================= */

.newsletter-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 1rem;

  padding: 0.4rem 0.9rem;

  border: 0;
  border-radius: 999rem;

  background: #000;
  color: #fff;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;

  cursor: pointer;

  transition: transform 0.3s ease;
}

.newsletter-submit:hover {
  transform: scale(1.08);
}


/* =========================
   MOBILE
========================= */

@media screen and (max-width: 48rem) {

  .newsletter-page {
    margin-bottom: 12rem;
  }

  .newsletter-heading {
    margin-bottom: 3rem;
  }

  .newsletter-content {
    max-width: none;
  }

}

/* =========================
   ERROR
========================= */

.error-page {
  min-height: 100vh;

  padding: var(--page-padding);
  margin-bottom: var(--page-bottom-space);

  color: var(--color-black);
}

.error-content {
  min-height: 70vh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.error-code {
  margin: 0;

  font-family: var(--font-display);
  font-size: 12rem;
  line-height: 0.75;
  font-weight: 800;

  letter-spacing: -0.06em;
}

.error-text {
  margin-top: 2rem;

  max-width: 30rem;

  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}

.error-text p {
  margin: 0;
}

.error-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 2rem;

  padding: 0.5rem 1rem;

  border-radius: 10rem;

  background: #000;
  color: #fff;

  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-decoration: none;
  text-transform: uppercase;

  transition: font-size 0.3s ease;
}

.error-button:hover {
  font-size: 1.8rem;
}


/* MOBILE */

@media screen and (max-width: 48rem) {

  .error-page {
    margin-bottom: var(--page-bottom-space-mobile);
  }

  .error-code {
    font-size: 8rem;
  }

}

